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/scripts/dump_passim.sh
<|file_sep|>current/scripts/dump_passim.sh
<|file_sep|>updated/scripts/dump_passim.sh | #!/bin/bash
eval "$(docopts -V - -h - : "$@" <<EOF
Usage: dump_passim [options]
-d, --database=DATABASE MongoDB database to use
-D, --directory=DIR Directory where dump will be stored
-p, --petitpois-dir=DIR Petitpois source directory
-u, --petitpois-url=URL Petitpois URL
-l,... | <|file_sep|>original/scripts/dump_passim.sh
<|file_sep|>current/scripts/dump_passim.sh
<|file_sep|>updated/scripts/dump_passim.sh
#!/bin/bash
eval "$(docopts -V - -h - : "$@" <<EOF
Usage: dump_passim [options]
-d, --database=DATABASE MongoDB database to use
-D, --directory=DIR Directory where du... | ff138479c26dcf543bbfaf6fc015ab4a27321bbf | scripts/dump_passim.sh | scripts/dump_passim.sh | Shell |
<|file_sep|>original/app/views/layouts/body/_navbar.html.erb
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="<%= active?(home_pa... | <span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="<%= active?(home_path) %>">
<%= link_to "Home", home_path %>
<... | <|file_sep|>original/app/views/layouts/body/_navbar.html.erb
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="<%= active?(home_pa... | 98399a9db97db746637f3ccfc4ae3b641d013ed2 | app/views/layouts/body/_navbar.html.erb | app/views/layouts/body/_navbar.html.erb | HTML+ERB |
<|file_sep|>original/ansible/playbooks/selinux.yaml
<|file_sep|>current/ansible/playbooks/selinux.yaml
<|file_sep|>updated/ansible/playbooks/selinux.yaml | ---
- hosts: all
tasks:
- name: Disable SELinux for current session
command: setenforce 0
- name: Disable SELinux persistently
command: sed -i 's/enforcing/permissive/g' /etc/selinux/config
| <|file_sep|>original/ansible/playbooks/selinux.yaml
<|file_sep|>current/ansible/playbooks/selinux.yaml
<|file_sep|>updated/ansible/playbooks/selinux.yaml
---
- hosts: all
tasks:
- name: Disable SELinux for current session
command: setenforce 0
- name: Disable SELinux persistently
command: sed -i 's/enfo... | a5e38590a11a77267392f74700ea80ee937799f9 | ansible/playbooks/selinux.yaml | ansible/playbooks/selinux.yaml | YAML |
<|file_sep|>original/composer.json
{
"name": "unl/unl_cache_lite",
"description": "a speedy and safe caching library",
"autoload": {
"psr-0": { "UNL_Cache_Lite": "src/" }
}
}
<|file_sep|>current/composer.json
{
"name": "unl/unl_cache_lite",
"description": "a speedy and safe caching libra... | {
"name": "unl/unl_cache_lite",
"description": "a speedy and safe caching library",
"autoload": {
"psr-0": { "UNL_Cache_Lite": "" }
}
} | <|file_sep|>original/composer.json
{
"name": "unl/unl_cache_lite",
"description": "a speedy and safe caching library",
"autoload": {
"psr-0": { "UNL_Cache_Lite": "src/" }
}
}
<|file_sep|>current/composer.json
{
"name": "unl/unl_cache_lite",
"description": "a speedy and safe caching libra... | 3c13c32bf7e746b7c93ac8ccc93d96b5b6b4349c | composer.json | composer.json | JSON |
<|file_sep|>original/views/themes/preview.jade
html
head
title= theme + ' preview'
link(rel='stylesheet', href='/stylesheets/style.css')
body
script#webkite-results(type='application/javascript').
var webkiteConfig = {
theme : "iago/#{theme}",
style : "light",
... | html
head
title= theme + ' preview'
link(rel='stylesheet', href='/stylesheets/style.css')
body
script#webkite-results(type='application/javascript').
var webkiteConfig = {
theme : "iago/#{theme}",
style : "light",
datasetId : "e5582c49-8f7f-41ae-b17f-2f2... | <|file_sep|>original/views/themes/preview.jade
html
head
title= theme + ' preview'
link(rel='stylesheet', href='/stylesheets/style.css')
body
script#webkite-results(type='application/javascript').
var webkiteConfig = {
theme : "iago/#{theme}",
style : "light",
... | e9fe479a6226a394dd726ae5627b7c571e472ef1 | views/themes/preview.jade | views/themes/preview.jade | Jade |
<|file_sep|>original/Cargo.toml
[package]
name = "mio"
version = "0.2.0"
authors = ["Carl Lerche <me@carllerche.com>"]
[dependencies]
nix = "0.2.0"
log = "0.2.3"
time = "0.1.16"
bytes = "0.1.1"
[dev-dependencies]
env_logger = "0.2.2"
[[test]]
name = "test"
path = "test/test.rs"
<|file_sep|>current/Cargo.toml
[pack... | [package]
name = "mio"
version = "0.2.0"
authors = ["Carl Lerche <me@carllerche.com>"]
[dependencies]
nix = "0.2.0"
log = "0.2.3"
time = "0.1.16"
bytes = "0.1.2"
[dev-dependencies]
env_logger = "0.2.2"
[[test]]
name = "test"
path = "test/test.rs" | <|file_sep|>original/Cargo.toml
[package]
name = "mio"
version = "0.2.0"
authors = ["Carl Lerche <me@carllerche.com>"]
[dependencies]
nix = "0.2.0"
log = "0.2.3"
time = "0.1.16"
bytes = "0.1.1"
[dev-dependencies]
env_logger = "0.2.2"
[[test]]
name = "test"
path = "test/test.rs"
<|file_sep|>current/Cargo.toml
[pack... | a080f1f00d14214748edc2e28da8e632f6235adf | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/hammerspoon/events.lua
function handler(type)
if type == hs.caffeinate.watcher.screensDidSleep then
return setMuted(true)
end
if type == hs.caffeinate.watcher.screensDidUnlock then
return setMuted(false)
end
end
hs.caffeinate.watcher.new(handler):start()
<|file_sep|... | function handler(type)
if type == hs.caffeinate.watcher.screensDidLock then
return setMuted(true)
end
if type == hs.caffeinate.watcher.screensDidUnlock then
return setMuted(false)
end
end
hs.caffeinate.watcher.new(handler):start() | <|file_sep|>original/hammerspoon/events.lua
function handler(type)
if type == hs.caffeinate.watcher.screensDidSleep then
return setMuted(true)
end
if type == hs.caffeinate.watcher.screensDidUnlock then
return setMuted(false)
end
end
hs.caffeinate.watcher.new(handler):start()
<|file_sep|... | a93937f8eb4ac5f5cd6aa601c33174b2a712f14b | hammerspoon/events.lua | hammerspoon/events.lua | Lua |
<|file_sep|>original/scripts/bugzilla.coffee
QS = require 'querystring'
Cheerio = require 'cheerio'
module.exports = (robot) ->
domain = 'http://bugs.sfolab.ibm.com'
makePath = (bug) ->
'/bugzilla/show_bug.cgi?id=' + bug
robot.respond /bug #?(\d+)/i, (msg) ->
bug = msg.match[1]
params =
... |
QS = require 'querystring'
Cheerio = require 'cheerio'
module.exports = (robot) ->
domain = 'http://bugs.sfolab.ibm.com'
makePath = (bug) ->
'/bugzilla/show_bug.cgi?id=' + bug
robot.hear /hubot bug #?(\d+)/i, (msg) ->
bug = msg.match[1]
params =
Bugzilla_login: process.env.BUGZILLA_USE... | <|file_sep|>original/scripts/bugzilla.coffee
QS = require 'querystring'
Cheerio = require 'cheerio'
module.exports = (robot) ->
domain = 'http://bugs.sfolab.ibm.com'
makePath = (bug) ->
'/bugzilla/show_bug.cgi?id=' + bug
robot.respond /bug #?(\d+)/i, (msg) ->
bug = msg.match[1]
params =
... | c1cba12fdf18d7e64ca844ae77a1626836d9bae6 | scripts/bugzilla.coffee | scripts/bugzilla.coffee | CoffeeScript |
<|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
Sphinx==1.6.3
tox==2.8.0
flake8==3.4.1
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watch... | -r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
Sphinx==1.6.3
tox==2.8.1
flake8==3.4.1
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12 | <|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
Sphinx==1.6.3
tox==2.8.0
flake8==3.4.1
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watch... | abb3d7f281909748105fe2d18f50b72d7f59b760 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/thumborizeme/settings.py
import os
# REDIS
REDIS_HOST = '127.0.0.1'
REDIS_PORT = 6379
HOST = os.environ.get('HOST', 'http://localhost:9000')
THUMBOR_HOST = os.environ.get('HOST', 'http://localhost:8001')
<|file_sep|>current/thumborizeme/settings.py
import os
# REDIS
REDIS_HOST = '127.0.0.1'
REDI... | import os
# REDIS
REDIS_HOST = os.environ.get('REDIS_URL', '127.0.0.1')
REDIS_PORT = os.environ.get('REDIS_PORT', 6379)
HOST = os.environ.get('HOST', 'http://localhost:9000')
THUMBOR_HOST = os.environ.get('HOST', 'http://localhost:8001') | <|file_sep|>original/thumborizeme/settings.py
import os
# REDIS
REDIS_HOST = '127.0.0.1'
REDIS_PORT = 6379
HOST = os.environ.get('HOST', 'http://localhost:9000')
THUMBOR_HOST = os.environ.get('HOST', 'http://localhost:8001')
<|file_sep|>current/thumborizeme/settings.py
import os
# REDIS
REDIS_HOST = '127.0.0.1'
REDI... | 1aaa2034020297fe78c2a0e12b713b835e13a156 | thumborizeme/settings.py | thumborizeme/settings.py | Python |
<|file_sep|>original/app/views/root_taxons/show.html.erb
<%= display_header title: @content_item.title,
breadcrumbs: [:root_taxons, @content_item.title] %>
<p>
Taxonomy branches:
<% GovukTaxonomy::Branches.new.all.each do |root_taxon| %>
<% if root_taxon['content_id'] == @content_item.content_id ... | <%= display_header title: @content_item.title,
breadcrumbs: [:root_taxons, @content_item.title] do %>
<% %w[bubbles].each do |viz| %>
<a href="<%= root_taxon_path(params[:id], viz: viz) %>"
class="btn btn-lg <%= viz == params[:viz] ? 'btn-primary' : 'btn-default' %>"
role="button... | <|file_sep|>original/app/views/root_taxons/show.html.erb
<%= display_header title: @content_item.title,
breadcrumbs: [:root_taxons, @content_item.title] %>
<p>
Taxonomy branches:
<% GovukTaxonomy::Branches.new.all.each do |root_taxon| %>
<% if root_taxon['content_id'] == @content_item.content_id ... | d159c2bfec29a41a315e7acc2011cee6800b933a | app/views/root_taxons/show.html.erb | app/views/root_taxons/show.html.erb | HTML+ERB |
<|file_sep|>original/Source/Projects/Core/Properties/AssemblyInfo.cs
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assemb... | [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the ty... | <|file_sep|>original/Source/Projects/Core/Properties/AssemblyInfo.cs
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assemb... | 5bdd0277b7ed936d389f9024b499996d2117212b | Source/Projects/Core/Properties/AssemblyInfo.cs | Source/Projects/Core/Properties/AssemblyInfo.cs | C# |
<|file_sep|>original/chapter08/chapter08_ex05.pl
<|file_sep|>current/chapter08/chapter08_ex05.pl
<|file_sep|>updated/chapter08/chapter08_ex05.pl | #!C:\strawberry\perl\bin\perl.exe
# Match and capture word that ends with letter 'a' and the up to five next
# characters; display contents of both captures; use named captures
use 5.020;
use warnings;
while (<>) { # take one input line at a time
chomp;
if (/\b(?<name>\w*a)\b(?<nextchar>.{0,5})/) {
... | <|file_sep|>original/chapter08/chapter08_ex05.pl
<|file_sep|>current/chapter08/chapter08_ex05.pl
<|file_sep|>updated/chapter08/chapter08_ex05.pl
#!C:\strawberry\perl\bin\perl.exe
# Match and capture word that ends with letter 'a' and the up to five next
# characters; display contents of both captures; use named capt... | bcd1ae0c8d00d389a17d5d8fbe7741cb8f2837f3 | chapter08/chapter08_ex05.pl | chapter08/chapter08_ex05.pl | Perl |
<|file_sep|>original/.travis.yml
language: objective-c
xcode_workspace: Anna.xcworkspace
xcode_scheme: Anna_iOS_Tests
<|file_sep|>current/.travis.yml
language: objective-c
xcode_workspace: Anna.xcworkspace
xcode_scheme: Anna_iOS_Tests
<|file_sep|>updated/.travis.yml | language: objective-c
xcode_workspace: Anna.xcworkspace
xcode_scheme: Anna_iOS_Tests
before_install:
- gem install cocoapods | <|file_sep|>original/.travis.yml
language: objective-c
xcode_workspace: Anna.xcworkspace
xcode_scheme: Anna_iOS_Tests
<|file_sep|>current/.travis.yml
language: objective-c
xcode_workspace: Anna.xcworkspace
xcode_scheme: Anna_iOS_Tests
<|file_sep|>updated/.travis.yml
language: objective-c
xcode_workspace: Anna.xcworkspa... | 0d9477b76ca4b85b577fd0d4ccb42b531f802ec8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml | name: CMake
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
BUILD_SHARED_LIBS: ["ON", "OFF"]
ENABLE_DTLS: ["ON", "OFF"]
ENABLE_TCP: ["ON", "OFF"]
DTLS_BACKEND: ["openssl", "gnutls", "mbedtls", "tinydtls"]
... | <|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml
name: CMake
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
BUILD_SHARED_LIBS: ["ON", "O... | 5bcb0a15780f825c83566da4ea1e4fd1b3e60745 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/init-minerva-db.sh
export MINERVA_DB_NAME=minerva
export PGDATABASE=$MINERVA_DB_NAME
gosu postgres create-minerva-database
echo 'minerva.trigger_mark_modified = on' >> /var/lib/postgresql/data/postgresql.conf
<|file_sep|>current/init-minerva-db.sh
export MINERVA_DB_NAME=minerva
export PGDATABASE=... | export MINERVA_DB_NAME=minerva
export PGDATABASE=$MINERVA_DB_NAME
create-minerva-database
echo 'minerva.trigger_mark_modified = on' >> /var/lib/postgresql/data/postgresql.conf | <|file_sep|>original/init-minerva-db.sh
export MINERVA_DB_NAME=minerva
export PGDATABASE=$MINERVA_DB_NAME
gosu postgres create-minerva-database
echo 'minerva.trigger_mark_modified = on' >> /var/lib/postgresql/data/postgresql.conf
<|file_sep|>current/init-minerva-db.sh
export MINERVA_DB_NAME=minerva
export PGDATABASE=... | 5b77f10cfebb0fc924f1e0a2aa1404ecd23b0844 | init-minerva-db.sh | init-minerva-db.sh | Shell |
<|file_sep|>original/mockups/tale-publishing/notes-20180221-ndahm.rst
<|file_sep|>current/mockups/tale-publishing/notes-20180221-ndahm.rst
<|file_sep|>updated/mockups/tale-publishing/notes-20180221-ndahm.rst | # Notes from 2018-02 All Hands Meeting Discussion
On 2018-02-21, during our 2018 All Hands Meeting at Notre Dame, we discussed publishing Tales for 2-3 hours.
Bryce Mecum took hand-written notes while he presented the contents of ./README.rst_ and then created this document to save those notes for the rest of the team... | <|file_sep|>original/mockups/tale-publishing/notes-20180221-ndahm.rst
<|file_sep|>current/mockups/tale-publishing/notes-20180221-ndahm.rst
<|file_sep|>updated/mockups/tale-publishing/notes-20180221-ndahm.rst
# Notes from 2018-02 All Hands Meeting Discussion
On 2018-02-21, during our 2018 All Hands Meeting at Notre D... | 3455ca8a5ab1f3923cd7cf6575137d081af8ff5e | mockups/tale-publishing/notes-20180221-ndahm.rst | mockups/tale-publishing/notes-20180221-ndahm.rst | reStructuredText |
<|file_sep|>original/build/tasks/build-release/build.js
done(false);
}
try {
var path = require('path'),
exec = require('child_process').exec,
fs = require('fs');
process.stdout.write('Installng PHP dependencies with Composer... ');
exec(
'composer install --prefer-dist --no-dev',
{
cwd: path.... | done(false);
}
try {
var path = require('path'),
exec = require('child_process').exec,
fs = require('fs');
process.stdout.write('Installng PHP dependencies with Composer... ');
exec(
'composer install --prefer-dist --no-dev',
{
cwd: workFolder
},
function(error, stdout, stderr) {
if(... | <|file_sep|>original/build/tasks/build-release/build.js
done(false);
}
try {
var path = require('path'),
exec = require('child_process').exec,
fs = require('fs');
process.stdout.write('Installng PHP dependencies with Composer... ');
exec(
'composer install --prefer-dist --no-dev',
{
cwd: path.... | e7f5b60a8066a91b0f835752f0e363c2ea95f6ef | build/tasks/build-release/build.js | build/tasks/build-release/build.js | JavaScript |
<|file_sep|>original/features/actions/built-in/verify-process-output/verify-process-output.feature
```
node server.js
```
</a>
<a textrun="verify-process-output">
```
one
three
```
</a>
<a textrun="stop-process">
Stop the current process by hitti... | ```
node server.js
```
</a>
<a textrun="verify-process-output">
```
one
three
```
</a>
<a textrun="stop-process">
Stop the current process by hitting Ctrl-C
</a>
"""
When running text-run
Then it signals:
| FILENAME | ve... | <|file_sep|>original/features/actions/built-in/verify-process-output/verify-process-output.feature
```
node server.js
```
</a>
<a textrun="verify-process-output">
```
one
three
```
</a>
<a textrun="stop-process">
Stop the current process by hitti... | 7f2d1b30b38bb940f5e520041eb540664e1ff80d | features/actions/built-in/verify-process-output/verify-process-output.feature | features/actions/built-in/verify-process-output/verify-process-output.feature | Cucumber |
<|file_sep|>original/.travis.yml
script: "bundle exec rspec spec"
before_install:
- gem install bundler
notifications:
email:
- john.crepezzi@gmail.com
branches:
only:
- master
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
<|file_sep|>current/.travis.yml
script: "bundle exec rspec spec"
before_install:
- gem i... | email:
- john.crepezzi@gmail.com
branches:
only:
- master
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
- ruby-head
env:
- RAILS_VERSION='~> 3.2'
- RAILS_VERSION='~> 4.2'
- RAILS_VERSION='~> 5.0'
matrix:
exclude:
- rvm: 1.9.3
env: RAILS_VERSION='~> 5.0'
- rvm: 2.0 | <|file_sep|>original/.travis.yml
script: "bundle exec rspec spec"
before_install:
- gem install bundler
notifications:
email:
- john.crepezzi@gmail.com
branches:
only:
- master
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
<|file_sep|>current/.travis.yml
script: "bundle exec rspec spec"
before_install:
- gem i... | dcf6a5ef1fe838c7a05f8a865f707f884db2b8df | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup.py
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='rq-scheduler',
version='0.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['rq_scheduler'],
url='https://github.com/ui/rq-scheduler',
license='MIT',
description='Provid... | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='rq-scheduler',
version='0.1.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['rq_scheduler'],
url='https://github.com/ui/rq-scheduler',
license='MIT',
description='Provides job scheduling capabiliti... | <|file_sep|>original/setup.py
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='rq-scheduler',
version='0.1',
author='Selwin Ong',
author_email='selwin.ong@gmail.com',
packages=['rq_scheduler'],
url='https://github.com/ui/rq-scheduler',
license='MIT',
description='Provid... | a3fb6a02a2c039fe53326ab7bf974efa1df0c2fe | setup.py | setup.py | Python |
<|file_sep|>original/src/usage.txt
Usage: phantomjs [options] script.[js|coffee] [script argument [script argument ...]]
Options:
--version Prints out PhantomJS version
--config=/path/to/config Specifies path to a JSON-formatted config file.
--load-images=[yes|no] ... |
Usage: phantomjs [options] script.[js|coffee] [script argument [script argument ...]]
Options:
--version Prints out PhantomJS version
--config=/path/to/config Specifies path to a JSON-formatted config file.
--load-images=[yes|no] Loads all inlined images (def... | <|file_sep|>original/src/usage.txt
Usage: phantomjs [options] script.[js|coffee] [script argument [script argument ...]]
Options:
--version Prints out PhantomJS version
--config=/path/to/config Specifies path to a JSON-formatted config file.
--load-images=[yes|no] ... | e67428382193d21d752b334e2e154312aa2e4440 | src/usage.txt | src/usage.txt | Text |
<|file_sep|>metadata/protect.babysleepsounds.txt.diff
original:
updated:
Build:0.4.1,5
commit=v0.4.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/protect.babysleepsounds.txt
Repo:https://github.com/brarcher/baby-sleep-sounds
Build:0.1,1
commit=v0.1
subdir=app
gradle=yes
Build:0.2,2
... | gradle=yes
Build:0.2,2
commit=v0.2
subdir=app
gradle=yes
Build:0.3,3
commit=v0.3
subdir=app
gradle=yes
Build:0.4.1,5
commit=v0.4.1
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:0.4.1
Current Version Code:5 | <|file_sep|>metadata/protect.babysleepsounds.txt.diff
original:
updated:
Build:0.4.1,5
commit=v0.4.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/protect.babysleepsounds.txt
Repo:https://github.com/brarcher/baby-sleep-sounds
Build:0.1,1
commit=v0.1
subdir=app
gradle=yes
Build:0.2,2
... | 32ef6fb5c46cf97d4832d555054c541084001b5c | metadata/protect.babysleepsounds.txt | metadata/protect.babysleepsounds.txt | Text |
<|file_sep|>app/views/sequences/index.html.haml.diff
original:
= will_paginate @official_activities
updated:
= will_paginate @sequences
<|file_sep|>original/app/views/sequences/index.html.haml
%li / All Sequences
%ul#new-menu
%li#desc-toggle= toggle_all 'sequence descriptions'
%li#collection_filter=... | %li / All Sequences
%ul#new-menu
%li#desc-toggle= toggle_all 'sequence descriptions'
%li#collection_filter= collection_filter_tag @filter
.buttons-menu
- if can? :create, Sequence
%a{ :href => new_sequence_path }
%button=t("NEW_SEQUENCE_BUTTON")
#official_listing_heading.pagination_heading
%h... | <|file_sep|>app/views/sequences/index.html.haml.diff
original:
= will_paginate @official_activities
updated:
= will_paginate @sequences
<|file_sep|>original/app/views/sequences/index.html.haml
%li / All Sequences
%ul#new-menu
%li#desc-toggle= toggle_all 'sequence descriptions'
%li#collection_filter=... | df2bd118e5472cbf7d7ae6f0988fb3ec165ce00c | app/views/sequences/index.html.haml | app/views/sequences/index.html.haml | Haml |
<|file_sep|>lib/simpleReporter.js.diff
original:
updated:
var state = {
pass: 0,
fail: 0,
}
<|file_sep|>lib/simpleReporter.js.diff
original:
updated:
state.pass++;
<|file_sep|>lib/simpleReporter.js.diff
original:
updated:
state.fail++;
<|file_sep|>original/lib/simpleReporter.js
var through ... |
module.exports = through(function(data) {
process.stdout.clearLine();
process.stdout.cursorTo(0);
if(data.pass) {
state.pass++;
process.stdout.write("PASS " + path.basename(data.file));
} else {
state.fail++;
data.attrs.file = data.file;
process.stdout.write("FA... | <|file_sep|>lib/simpleReporter.js.diff
original:
updated:
var state = {
pass: 0,
fail: 0,
}
<|file_sep|>lib/simpleReporter.js.diff
original:
updated:
state.pass++;
<|file_sep|>lib/simpleReporter.js.diff
original:
updated:
state.fail++;
<|file_sep|>original/lib/simpleReporter.js
var through ... | 413e1fdc8387a8fb2712aa08d3d4de0609db180f | lib/simpleReporter.js | lib/simpleReporter.js | JavaScript |
<|file_sep|>original/src/DbLite.Test/project.json
"testRunner": "xunit",
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": [
"dotnet5.6",
"portable-net451+w... |
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": [
"dotnet5.6",
"portable-net451+win8"
]
}
},
"runtimes": {
"win10-x64": {},
"win81-x6... | <|file_sep|>original/src/DbLite.Test/project.json
"testRunner": "xunit",
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": [
"dotnet5.6",
"portable-net451+w... | e68833f198c995385eedf40027d6e82edb23aca8 | src/DbLite.Test/project.json | src/DbLite.Test/project.json | JSON |
<|file_sep|>original/app/views/items/index.html.erb
This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", new_item_path %>.
<% @items.each do |item| %>
<p><%= link_to item.name, item_path(item) %></p>
<% end %>
<|file_sep|>current/app/views/items/in... | This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", new_item_path %>.
<% @items.each do |item| %>
<p><%= link_to item.name, item_path(item) %></p>
<img src="<%= item.image %>" height="100" width="100">
<% end %> | <|file_sep|>original/app/views/items/index.html.erb
This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", new_item_path %>.
<% @items.each do |item| %>
<p><%= link_to item.name, item_path(item) %></p>
<% end %>
<|file_sep|>current/app/views/items/in... | 41bbe7be4c80d82ffdb45ef9417e6b3d2645ac88 | app/views/items/index.html.erb | app/views/items/index.html.erb | HTML+ERB |
<|file_sep|>original/chrome/test/data/purify/unit_tests.exe.gtest.txt
# issue 9897
ExtensionContentScriptInjectTest.Simple
# issue 12661
ExtensionsServiceTest.InstallExtension
# issue 15276
CompactLangDetTest.*
# issue 17370
FirefoxImporterTest.Firefox3NSS3Decryptor
# issue 18122
DnsMasterTest.MassiveConcurrentLook... |
# issue 12661
ExtensionsServiceTest.InstallExtension
# issue 15276
CompactLangDetTest.*
# issue 17370
FirefoxImporterTest.Firefox3NSS3Decryptor
# issue 18122
DnsMasterTest.MassiveConcurrentLookupTest
# issue 19834
SpellCheckTest.*
# issue 21401
ResourceDispatcherHostTest.TooManyOutstandingRequests
# issue 22252
... | <|file_sep|>original/chrome/test/data/purify/unit_tests.exe.gtest.txt
# issue 9897
ExtensionContentScriptInjectTest.Simple
# issue 12661
ExtensionsServiceTest.InstallExtension
# issue 15276
CompactLangDetTest.*
# issue 17370
FirefoxImporterTest.Firefox3NSS3Decryptor
# issue 18122
DnsMasterTest.MassiveConcurrentLook... | ed4660ca5d0886fcb8c1bd16b1f125b4c2288092 | chrome/test/data/purify/unit_tests.exe.gtest.txt | chrome/test/data/purify/unit_tests.exe.gtest.txt | Text |
<|file_sep|>original/src/www/index.html
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Material UI Example</title>
<meta name="description" content="Google's material design UI components built with React.">
<meta name="... | <!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Material-UI Example</title>
<meta name="description" content="Google's material design UI components built with React.">
<meta name="viewport" content="width=device-width, i... | <|file_sep|>original/src/www/index.html
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Material UI Example</title>
<meta name="description" content="Google's material design UI components built with React.">
<meta name="... | 39c03a83cf6067c1f301543a064a50c7b2a68181 | src/www/index.html | src/www/index.html | HTML |
<|file_sep|>original/client/views/lotto/lotto_add.js
Template.lottoAdd.created = function() {
Session.set('lottoAddErrors', {});
};
Template.lottoAdd.rendered = function() {
this.find('input[name=date]').valueAsDate = new Date();
};
Template.lottoAdd.helpers({
errorMessage: function(field) {
return Session.g... | Template.lottoAdd.created = function() {
Session.set('lottoAddErrors', {});
};
Template.lottoAdd.rendered = function() {
this.find('#date').valueAsDate = moment().day(5).toDate();
};
Template.lottoAdd.helpers({
errorMessage: function(field) {
return Session.get('lottoAddErrors')[field];
},
errorClass: fu... | <|file_sep|>original/client/views/lotto/lotto_add.js
Template.lottoAdd.created = function() {
Session.set('lottoAddErrors', {});
};
Template.lottoAdd.rendered = function() {
this.find('input[name=date]').valueAsDate = new Date();
};
Template.lottoAdd.helpers({
errorMessage: function(field) {
return Session.g... | 103ae46c7fb9251fccfca39e0ae345e9c1fce9f6 | client/views/lotto/lotto_add.js | client/views/lotto/lotto_add.js | JavaScript |
<|file_sep|>original/README.md
# Skink
Skink is Capybara's smaller, more primitive companion. Button-clicking
and JavaScript are beyond Skink's intellectual abilities, but Skink is
happy to help test your REST API.
<|file_sep|>current/README.md
# Skink
Skink is Capybara's smaller, more primitive companion. Button-cli... | Skink
=====
[](http://travis-ci.org/toddthomas/skink)
Skink is Capybara's smaller, more primitive companion. Button-clicking
and JavaScript are beyond Skink's intellectual abilities, but Skink is
happy to help test your REST API. | <|file_sep|>original/README.md
# Skink
Skink is Capybara's smaller, more primitive companion. Button-clicking
and JavaScript are beyond Skink's intellectual abilities, but Skink is
happy to help test your REST API.
<|file_sep|>current/README.md
# Skink
Skink is Capybara's smaller, more primitive companion. Button-cli... | 96ab83377751eb3673a7d4fe624357d3f97d681f | README.md | README.md | Markdown |
<|file_sep|>original/src/Task/ResqueTask.php
*
*/
protected function configure()
{
$this->setName('resque:run')->setDescription('Fires up resque');
}
/**
* @param InputInterface $input
* @param OutputInterface $output
*
* @return int|null|void
*/
protected... | {
/**
*
*/
protected function configure()
{
$this->setName('resque:run')->setDescription('Fires up resque');
}
/**
* @param InputInterface $input
* @param OutputInterface $output
*
* @return int|null|void
*/
protected function execute(InputInterface $i... | <|file_sep|>original/src/Task/ResqueTask.php
*
*/
protected function configure()
{
$this->setName('resque:run')->setDescription('Fires up resque');
}
/**
* @param InputInterface $input
* @param OutputInterface $output
*
* @return int|null|void
*/
protected... | 494c39ad65542c01b034441ee049c9bee2c3ac49 | src/Task/ResqueTask.php | src/Task/ResqueTask.php | PHP |
<|file_sep|>original/db/data_migration/20121213094644_index_fatality_notices.rb
<|file_sep|>current/db/data_migration/20121213094644_index_fatality_notices.rb
<|file_sep|>updated/db/data_migration/20121213094644_index_fatality_notices.rb | fatality_notice_data = [FatalityNotice].map(&:search_index).sum([])
p fatality_notice_data
Rummageable.index(fatality_notice_data, Whitehall.government_search_index_name)
Rummageable.commit(Whitehall.government_search_index_name) | <|file_sep|>original/db/data_migration/20121213094644_index_fatality_notices.rb
<|file_sep|>current/db/data_migration/20121213094644_index_fatality_notices.rb
<|file_sep|>updated/db/data_migration/20121213094644_index_fatality_notices.rb
fatality_notice_data = [FatalityNotice].map(&:search_index).sum([])
p fatality_n... | 5262e61e47270752a1517f4b945a8a4870ef1e98 | db/data_migration/20121213094644_index_fatality_notices.rb | db/data_migration/20121213094644_index_fatality_notices.rb | Ruby |
<|file_sep|>packages/he/hedgehog-fn.yaml.diff
original:
hash: 0579dbe37064e6c5c69c032e48e27ce99362d37558d87f23caf1c8d99d4b2975
updated:
hash: 61ad7f2a563825a037decfc0c3301f6d83b8d8ec16296f9b7a411b8a5e5567a7
<|file_sep|>original/packages/he/hedgehog-fn.yaml
0.5
* Initial release
'
basic-deps:
base: ! '>=4.8 && ... | 0.5
* Initial release
'
basic-deps:
base: ! '>=4.8 && <5'
hedgehog: ==0.6.*
contravariant: ! '>=1.4 && <1.6'
transformers: ! '>=0.4.2 && <0.6'
hedgehog-fn: -any
all-versions:
- '0.5'
- '0.6'
author: Isaac Elliott
latest: '0.6'
description-type: haddock
description: ! 'Generating shrinkable, showable fu... | <|file_sep|>packages/he/hedgehog-fn.yaml.diff
original:
hash: 0579dbe37064e6c5c69c032e48e27ce99362d37558d87f23caf1c8d99d4b2975
updated:
hash: 61ad7f2a563825a037decfc0c3301f6d83b8d8ec16296f9b7a411b8a5e5567a7
<|file_sep|>original/packages/he/hedgehog-fn.yaml
0.5
* Initial release
'
basic-deps:
base: ! '>=4.8 && ... | 077e4054b687fe00f8197ca1c1f5f75bfb04cd72 | packages/he/hedgehog-fn.yaml | packages/he/hedgehog-fn.yaml | YAML |
<|file_sep|>original/.circleci/config.yml
- run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote
- run:
name: Installing SUDO
command: 'apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*... | - run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote
- run:
name: Installing SUDO
command: 'apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*'
- run:
name: Installing ... | <|file_sep|>original/.circleci/config.yml
- run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote
- run:
name: Installing SUDO
command: 'apt-get update && apt-get install -y sudo && rm -rf /var/lib/apt/lists/*... | 63ab1b1e2718f029d14b32087f07324b6d2f539b | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/config/post_deploy_actions.bash
echo "------> Installing nodejs $NODE_VERSION"
(
cd "$NODE_DIR"
curl -# "$NODE_DOWNLOAD_URL" | tar xz --strip-components=1
)
}
if [ ! -e ../node/bin/node ]; then
# node isn't installed, install it.
install_node
elif [ "`../node/bi... | install_node
elif [ "`../node/bin/node -v`" != "$NODE_VERSION" ]; then
# node is installed but isn't the correct version, install it.
install_node
# rebuild npm modules for the new node version
../node/bin/npm rebuild || true
fi
export PATH="$NODE_DIR/bin:$PATH"
export GEM_HOME=../gems
if [ ! -f... | <|file_sep|>original/config/post_deploy_actions.bash
echo "------> Installing nodejs $NODE_VERSION"
(
cd "$NODE_DIR"
curl -# "$NODE_DOWNLOAD_URL" | tar xz --strip-components=1
)
}
if [ ! -e ../node/bin/node ]; then
# node isn't installed, install it.
install_node
elif [ "`../node/bi... | 6e416f762584e78b917327e16ca24982d371cfde | config/post_deploy_actions.bash | config/post_deploy_actions.bash | Shell |
<|file_sep|>original/_posts/2014-11-21-adb-connect-Android-device-over-wireless.md
<|file_sep|>current/_posts/2014-11-21-adb-connect-Android-device-over-wireless.md
<|file_sep|>updated/_posts/2014-11-21-adb-connect-Android-device-over-wireless.md | ---
title: "adb connect Android device over wireless"
description: "Android Debug Bridge(`adb`) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. Even better, you can do it without cable."
layout: post
tags: android, adb, logcat
category: tech, dev... | <|file_sep|>original/_posts/2014-11-21-adb-connect-Android-device-over-wireless.md
<|file_sep|>current/_posts/2014-11-21-adb-connect-Android-device-over-wireless.md
<|file_sep|>updated/_posts/2014-11-21-adb-connect-Android-device-over-wireless.md
---
title: "adb connect Android device over wireless"
description: "And... | 07634b8a47aa845ad549ba5802ff5a1a0f38c4ca | _posts/2014-11-21-adb-connect-Android-device-over-wireless.md | _posts/2014-11-21-adb-connect-Android-device-over-wireless.md | Markdown |
<|file_sep|>src/test/codegen/ffi-returns-twice.rs.diff
original:
updated:
pub fn bar() { unsafe { foo() } }
<|file_sep|>src/test/codegen/ffi-returns-twice.rs.diff
original:
// CHECK-LABEL: @foo()
// CHECK: attributes #1 = { {{.*}}returns_twice{{.*}} }
#[no_mangle]
#[ffi_returns_twice]
pub fn foo()... | // compile-flags: -C no-prepopulate-passes
#![crate_type = "lib"]
#![feature(ffi_returns_twice)]
pub fn bar() { unsafe { foo() } }
extern {
#[ffi_returns_twice] pub fn foo();
}
// CHECK: declare void @foo(){{.*}}#1{{.*}}
// CHECK: attributes #1 = { {{.*}}returns_twice{{.*}} } | <|file_sep|>src/test/codegen/ffi-returns-twice.rs.diff
original:
updated:
pub fn bar() { unsafe { foo() } }
<|file_sep|>src/test/codegen/ffi-returns-twice.rs.diff
original:
// CHECK-LABEL: @foo()
// CHECK: attributes #1 = { {{.*}}returns_twice{{.*}} }
#[no_mangle]
#[ffi_returns_twice]
pub fn foo()... | 76403e574231ae54dc7ccf227750af907ea13db3 | src/test/codegen/ffi-returns-twice.rs | src/test/codegen/ffi-returns-twice.rs | Rust |
<|file_sep|>original/.travis.yml
os: linux
language: node_js
node_js:
- '10'
- '11'
- '14'
cache: yarn
script: yarn ci
jobs:
include:
- stage: deploy
if: tag IS present
node_js: '14'
script: yarn build
before_deploy:
- cd dist
deploy:
provider: npm
skip_cleanup:... | os: linux
language: node_js
node_js:
- '10'
- '11'
- '14'
- '15'
cache: yarn
script: yarn ci
jobs:
include:
- stage: deploy
if: tag IS present
node_js: '14'
script: yarn build
before_deploy:
- cd dist
deploy:
provider: npm
skip_cleanup: true
email: "ijpi... | <|file_sep|>original/.travis.yml
os: linux
language: node_js
node_js:
- '10'
- '11'
- '14'
cache: yarn
script: yarn ci
jobs:
include:
- stage: deploy
if: tag IS present
node_js: '14'
script: yarn build
before_deploy:
- cd dist
deploy:
provider: npm
skip_cleanup:... | 6e6657bd7e66dfa4ee98097e2c1edde67a33053e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.forestry/front_matter/templates/data-socials.yml
is_partial: false
fields:
- type: field_group_list
name: socials
label: Socials
description: Social and online accounts
fields:
- type: text
name: title
label: Title
description: e.g. Facebook
config:
required: true
... | - type: field_group_list
name: socials
label: Socials
description: Social and online accounts
fields:
- type: text
name: title
label: Title
description: e.g. Facebook
config:
required: true
- type: text
label: URL
name: url
description: e.g. https://facebook.com/username
... | <|file_sep|>original/.forestry/front_matter/templates/data-socials.yml
is_partial: false
fields:
- type: field_group_list
name: socials
label: Socials
description: Social and online accounts
fields:
- type: text
name: title
label: Title
description: e.g. Facebook
config:
required: true
... | 03e2c50c1896955bb65ecaf696702fe47be82af0 | .forestry/front_matter/templates/data-socials.yml | .forestry/front_matter/templates/data-socials.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
install: "pip install tox>=2.0"
script: "tox -e lint,py27,py33,py34"
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
install: "pip install tox>=2.0"
script: "tox -e lint,py27,py33,py34"
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.7"
install: "pip install tox>=2.0"
script: "tox -e lint,py27,py33,py34,docs,build" | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
install: "pip install tox>=2.0"
script: "tox -e lint,py27,py33,py34"
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
install: "pip install tox>=2.0"
script: "tox -e lint,py27,py33,py34"
<|file_sep|>updated/.travis.yml
language: pytho... | f6f37e4bab9530037d4c3c2c9f3b94e6e0824461 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/onyx/state/state_extensions.clj
(ns onyx.state.state-extensions)
(defmulti initialise-log
(fn [log-type event]
log-type))
(defmulti close-log
(fn [log]
(type log)))
;; For onyx to implement
;; We can implement log storage for Kafka and maybe ZK (if small data is used and we gc)... | (ns onyx.state.state-extensions)
(defmulti initialise-log
(fn [log-type event]
log-type))
(defmulti close-log
(fn [log event]
(type log)))
;; For onyx to implement
;; We can implement log storage for Kafka and maybe ZK (if small data is used and we gc)
(defmulti store-log-entry
"Store state update [... | <|file_sep|>original/src/onyx/state/state_extensions.clj
(ns onyx.state.state-extensions)
(defmulti initialise-log
(fn [log-type event]
log-type))
(defmulti close-log
(fn [log]
(type log)))
;; For onyx to implement
;; We can implement log storage for Kafka and maybe ZK (if small data is used and we gc)... | 61b136b60b9b1bff7ade1a47d191dcd230a92296 | src/onyx/state/state_extensions.clj | src/onyx/state/state_extensions.clj | Clojure |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
sudo: false
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
install:
- composer self-update
- composer update $COMPOSER_OPTS
script:
- phpunit tests
- ./tests/lint.sh
<|file_sep|>current/.travis.yml
language: php
ph... | language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
sudo: false
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
install:
- composer self-update
- composer update $COMPOSER_OPTS
script:
- phpunit tests
- ./tests/lint.sh | <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
sudo: false
env:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest"
install:
- composer self-update
- composer update $COMPOSER_OPTS
script:
- phpunit tests
- ./tests/lint.sh
<|file_sep|>current/.travis.yml
language: php
ph... | dd90e9b671ec1053c303ab039fd572ba47b989a9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# Autocomplete package [](https://travis-ci.org/atom/autocomplete)
**This package has been replaced in Atom core with [autocomplete-plus](https://github.com/atom/autocomplete-plus)**
View and insert possible compl... | # Autocomplete (Deprecated) [](https://travis-ci.org/atom/autocomplete)
**This package has been replaced in Atom core with [autocomplete-plus](https://github.com/atom/autocomplete-plus)**
View and insert possible completions in the editor using... | <|file_sep|>original/README.md
# Autocomplete package [](https://travis-ci.org/atom/autocomplete)
**This package has been replaced in Atom core with [autocomplete-plus](https://github.com/atom/autocomplete-plus)**
View and insert possible compl... | f9f2b31a25b97bb420add50aba4ba0147801215f | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# Core-Catcher [](https://travis-ci.org/Haskell-Praxis/core-catcher)
A multiplayer game server and frontend, written in Haskell and Elm.
## Setup Frontend
It is required to install the programming lang... | # Core-Catcher [](https://travis-ci.org/Haskell-Praxis/core-catcher)
A multiplayer game server and frontend, written in Haskell and Elm.
## Setup Frontend
It is required to install the programming language elm for the frontend.
To do t... | <|file_sep|>original/README.md
# Core-Catcher [](https://travis-ci.org/Haskell-Praxis/core-catcher)
A multiplayer game server and frontend, written in Haskell and Elm.
## Setup Frontend
It is required to install the programming lang... | 6f1223c0ee268eb8e38391c83b596b70f00f4d6c | README.md | README.md | Markdown |
<|file_sep|>original/app/src/main/java/com/commit451/gitlab/api/MoshiProvider.kt
package com.commit451.gitlab.api
import com.commit451.gitlab.api.converter.DashDateAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.Rfc3339DateJsonAdapter
import java.util.*
object MoshiProvider {
val moshi: Moshi b... | package com.commit451.gitlab.api
import com.commit451.gitlab.api.converter.DashDateAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.Rfc3339DateJsonAdapter
import java.util.*
object MoshiProvider {
val moshi: Moshi by lazy {
Moshi.Builder()
.add(DashDateAdapter())
... | <|file_sep|>original/app/src/main/java/com/commit451/gitlab/api/MoshiProvider.kt
package com.commit451.gitlab.api
import com.commit451.gitlab.api.converter.DashDateAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.Rfc3339DateJsonAdapter
import java.util.*
object MoshiProvider {
val moshi: Moshi b... | 6a4802c8ce0664ac186084fe170c4a7c251cc075 | app/src/main/java/com/commit451/gitlab/api/MoshiProvider.kt | app/src/main/java/com/commit451/gitlab/api/MoshiProvider.kt | Kotlin |
<|file_sep|>kraller/kraller.py.diff
original:
updated:
"""
Don't invoke this directly in production. This is for development only.
Use a WSGI webserver such as Gunicorn to serve this in production.
"""
<|file_sep|>original/kraller/kraller.py
"""
Kraller
An application to allow signups for accounts on a server with a... | Kraller
An application to allow signups for accounts on a server with a key.
"""
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return 'Hello from ACM@CWRU'
"""
Don't invoke this directly in production. This is for development only.
Use a WSGI webserver such as Gunicorn to serve ... | <|file_sep|>kraller/kraller.py.diff
original:
updated:
"""
Don't invoke this directly in production. This is for development only.
Use a WSGI webserver such as Gunicorn to serve this in production.
"""
<|file_sep|>original/kraller/kraller.py
"""
Kraller
An application to allow signups for accounts on a server with a... | ec1058fc1576b7a47af2d00b5b9e60e71dc6dc6b | kraller/kraller.py | kraller/kraller.py | Python |
<|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]... | # This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel... | <|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]... | 6dea627fdfaf3038fc054456992ba1fc3709b4dc | db/seeds.rb | db/seeds.rb | Ruby |
<|file_sep|>original/packages/ha/HangmanAscii.yaml
<|file_sep|>current/packages/ha/HangmanAscii.yaml
<|file_sep|>updated/packages/ha/HangmanAscii.yaml | homepage: https://github.com/pylover/hangman-ascii
changelog-type: markdown
hash: ec629c318fdf4fdab2e4aba2d45c4c72784302c786dfae431b2c6f624cf08f4d
test-bench-deps: {}
maintainer: vahid.mardani@gmail.com
synopsis: Yet another Hangman game.
changelog: |
# Revision history for hangman-game
## 0.1.0.0 -- YYYY-mm-dd
... | <|file_sep|>original/packages/ha/HangmanAscii.yaml
<|file_sep|>current/packages/ha/HangmanAscii.yaml
<|file_sep|>updated/packages/ha/HangmanAscii.yaml
homepage: https://github.com/pylover/hangman-ascii
changelog-type: markdown
hash: ec629c318fdf4fdab2e4aba2d45c4c72784302c786dfae431b2c6f624cf08f4d
test-bench-deps: {}
... | 7f5a66fe03e3952bfd4b3047620dcd4944d23c14 | packages/ha/HangmanAscii.yaml | packages/ha/HangmanAscii.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
- "3.3"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- "3.6"
<|file_sep|>.travis.yml.diff
original:
updated:
- python: "3.6"
<|file_sep|>original/.travis.yml
- "3.3"
- "3.4"
- "3.5"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
- ... | - "3.4"
- "3.5"
- "3.6"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
- python: "3.6"
- python: "3.5"
- python: "3.4"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install flake8 coveralls coverage
before_script:
- touch RE... | <|file_sep|>.travis.yml.diff
original:
- "3.3"
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- "3.6"
<|file_sep|>.travis.yml.diff
original:
updated:
- python: "3.6"
<|file_sep|>original/.travis.yml
- "3.3"
- "3.4"
- "3.5"
- "nightly"
matrix:
allow_failures:
- python: "nightly"
- ... | 245b7ea8d8e60072728c02edea92052b4d560d4c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/server/src/validator.md
<|file_sep|>current/server/src/validator.md
<|file_sep|>updated/server/src/validator.md | # Text Validation
The purpose of the validator functions are to help with checking a document for spelling errors.
## Enhancements
### Selective Validation
#### Problem Statement
There are some files or file types where we only want to spell check strings or comments.
#### Challenges
- How to specify which files ... | <|file_sep|>original/server/src/validator.md
<|file_sep|>current/server/src/validator.md
<|file_sep|>updated/server/src/validator.md
# Text Validation
The purpose of the validator functions are to help with checking a document for spelling errors.
## Enhancements
### Selective Validation
#### Problem Statement
T... | cfcd6fecd6b2560103a83b9a4d3a883dad525a4e | server/src/validator.md | server/src/validator.md | Markdown |
<|file_sep|>original/_config.yml
name: Android Design Patterns
markdown: redcarpet
pygments: true
permalink: /:year/:month/:title.html
<|file_sep|>current/_config.yml
name: Android Design Patterns
markdown: redcarpet
pygments: true
permalink: /:year/:month/:title.html
<|file_sep|>updated/_config.yml | name: Android Design Patterns
markdown: redcarpet
pygments: true
relative_permalinks: false
permalink: /:year/:month/:title.html | <|file_sep|>original/_config.yml
name: Android Design Patterns
markdown: redcarpet
pygments: true
permalink: /:year/:month/:title.html
<|file_sep|>current/_config.yml
name: Android Design Patterns
markdown: redcarpet
pygments: true
permalink: /:year/:month/:title.html
<|file_sep|>updated/_config.yml
name: Android D... | 308dcd3ed196155c42f098a347e69199ad2a8a56 | _config.yml | _config.yml | YAML |
<|file_sep|>package.json.diff
original:
"version": "1.1.3",
updated:
"version": "1.1.4",
<|file_sep|>package.json.diff
original:
"mocha": "~1",
updated:
"mocha": ">= 1.0.0 < 3.0.0",
<|file_sep|>original/package.json
"url": "git://github.com/elliotf/mocha-sinon.git"
},
"author": "Elliot Foster",
"l... | "url": "git://github.com/elliotf/mocha-sinon.git"
},
"author": "Elliot Foster",
"license": "MIT",
"devDependencies": {
"chai": "~1",
"mocha": ">= 1.0.0 < 3.0.0",
"sinon": "~1",
"mocha-phantomjs": "~3.3.2",
"phantomjs": "~1.9.7-3",
"chicken-little": "~0.1.2",
"sinon-chai": "~2.5.0... | <|file_sep|>package.json.diff
original:
"version": "1.1.3",
updated:
"version": "1.1.4",
<|file_sep|>package.json.diff
original:
"mocha": "~1",
updated:
"mocha": ">= 1.0.0 < 3.0.0",
<|file_sep|>original/package.json
"url": "git://github.com/elliotf/mocha-sinon.git"
},
"author": "Elliot Foster",
"l... | cfc60fc983b2d1e93139549b82406737a7e4202b | package.json | package.json | JSON |
<|file_sep|>src/lwc/gsResources/gsResources.css.diff
original:
updated:
margin-bottom: 1rem;
font-size: 16pt;
<|file_sep|>src/lwc/gsResources/gsResources.css.diff
original:
margin-bottom: 1rem;
updated:
<|file_sep|>src/lwc/gsResources/gsResources.css.diff
original:
border-top: solid 1px #b5b5b5;
updat... | }
.container .resource-list .resource-item span {
text-align: left;
}
.container .resource-list .resource-item a {
text-align: right;
font-weight: bold;
}
.container .link > a {
color: #006DDC;
font-size: 16pt;
font-weight: 400;
}
.container .label > span {
font-size: 16pt;
font-weig... | <|file_sep|>src/lwc/gsResources/gsResources.css.diff
original:
updated:
margin-bottom: 1rem;
font-size: 16pt;
<|file_sep|>src/lwc/gsResources/gsResources.css.diff
original:
margin-bottom: 1rem;
updated:
<|file_sep|>src/lwc/gsResources/gsResources.css.diff
original:
border-top: solid 1px #b5b5b5;
updat... | 34cd45490e0d8d9908d704872f7e26b152511fdb | src/lwc/gsResources/gsResources.css | src/lwc/gsResources/gsResources.css | CSS |
<|file_sep|>src/Nether.Web/Features/Leaderboard/LeaderboardGetResponseModel.cs.diff
original:
return new LeaderboardEntry { Gamertag = score.Gamertag, Score = score.Score };
updated:
return new LeaderboardEntry
{
Gamertag = score.Gamertag,
... | {
Gamertag = score.Gamertag,
Score = score.Score,
Rank = score.Rank
};
}
/// <summary>
/// Gamertag
/// </summary>
public string Gamertag { get; set; }
//... | <|file_sep|>src/Nether.Web/Features/Leaderboard/LeaderboardGetResponseModel.cs.diff
original:
return new LeaderboardEntry { Gamertag = score.Gamertag, Score = score.Score };
updated:
return new LeaderboardEntry
{
Gamertag = score.Gamertag,
... | 012596e5ca88b2f46a3e485f50b9c614ab3b4e20 | src/Nether.Web/Features/Leaderboard/LeaderboardGetResponseModel.cs | src/Nether.Web/Features/Leaderboard/LeaderboardGetResponseModel.cs | C# |
<|file_sep|>original/chrome/browser/resources/print_preview.js
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var localStrings = new LocalStrings();
/**
* Window onload handler, sets up the page.... | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var localStrings = new LocalStrings();
/**
* Window onload handler, sets up the page.
*/
function load() {
$('cancel-button').addEventListener('c... | <|file_sep|>original/chrome/browser/resources/print_preview.js
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var localStrings = new LocalStrings();
/**
* Window onload handler, sets up the page.... | 700610e9881e6d19aaef5a8c6257b4cd6679f326 | chrome/browser/resources/print_preview.js | chrome/browser/resources/print_preview.js | JavaScript |
<|file_sep|>original/PullToRefresh.podspec
<|file_sep|>current/PullToRefresh.podspec
<|file_sep|>updated/PullToRefresh.podspec | Pod::Spec.new do |s|
s.name = "PullToRefresh"
s.version = "0.0.1"
s.summary = "A simple CollectionViewController with UIRefreshControl"
s.description = <<-DESC
A simple CollectionViewController with UIRefreshControl for iOS.
DESC
s.homepage = "https://github.com/hirohisa/PullToRef... | <|file_sep|>original/PullToRefresh.podspec
<|file_sep|>current/PullToRefresh.podspec
<|file_sep|>updated/PullToRefresh.podspec
Pod::Spec.new do |s|
s.name = "PullToRefresh"
s.version = "0.0.1"
s.summary = "A simple CollectionViewController with UIRefreshControl"
s.description = <<-DESC
A... | 55108911c6c587190bcd1bbcb550c9ccce65cf52 | PullToRefresh.podspec | PullToRefresh.podspec | Ruby |
<|file_sep|>original/app/resources/assets/sass/app.scss
// @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
.sidebar-menu > li > a > .ra {
display: inline-block;
width: 20px;
}
.btn-app > .ra {
font-size: 20px;
display: block;
}
.btn-app.btn-block {
margin: 0;
}
.box-body > p:last-child... | // @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
.sidebar-menu > li > a > .ra {
display: inline-block;
width: 20px;
}
.btn-app > .ra {
font-size: 20px;
display: block;
}
.btn-app.btn-block {
margin: 0;
}
.box-body > p:last-child,
.box-footer > p:last-child {
margin-bottom: 0;
} | <|file_sep|>original/app/resources/assets/sass/app.scss
// @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
.sidebar-menu > li > a > .ra {
display: inline-block;
width: 20px;
}
.btn-app > .ra {
font-size: 20px;
display: block;
}
.btn-app.btn-block {
margin: 0;
}
.box-body > p:last-child... | 38b1e8968419257775120465fe21920cf2c975df | app/resources/assets/sass/app.scss | app/resources/assets/sass/app.scss | SCSS |
<|file_sep|>original/jobs/data/repolist.txt
# List of repositories that are under control of JIT CI
# Place one element per line in <org>/<project> format
# Example: dotnet/coreclr
# This file is currently non-functional
dotnet/buildtools
dotnet/corefx
Microsoft/xunit-performance
<|file_sep|>current/jobs/data/repolist... | # List of repositories that are under control of JIT CI
# Place one element per line in <org>/<project> format
# Example: dotnet/coreclr
# This file is currently non-functional
dotnet/buildtools
dotnet/codeformatter
dotnet/corefx
Microsoft/xunit-performance | <|file_sep|>original/jobs/data/repolist.txt
# List of repositories that are under control of JIT CI
# Place one element per line in <org>/<project> format
# Example: dotnet/coreclr
# This file is currently non-functional
dotnet/buildtools
dotnet/corefx
Microsoft/xunit-performance
<|file_sep|>current/jobs/data/repolist... | 7799a46eae492a705d3fc8cad3190762eb8ed687 | jobs/data/repolist.txt | jobs/data/repolist.txt | Text |
<|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt
# Fail for unknown reason; see http://crbug.com/67599
CertVerifierTest.*
X509CertificateTest.IntermediateCARequireExplicitPolicy
# Time out, see http://crbug.com/68482
SSLServerSocketTest.*
X509CertificateTest.TestKnownRoot
# CHECK ... | ClientSocketPoolBaseTest.CancelPendingSocketAtSocketLimit
# See http://crbug.com/51145
HttpNetworkTransactionTest.*
HttpNetworkLayerTest.GET
# Single-threaded and relatively slow - no reason to test
# See http://crbug.com/59642
CookieMonsterTest.GarbageCollectionTriggers
# Fail for unknown reason; see http://crbug.c... | <|file_sep|>original/tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt
# Fail for unknown reason; see http://crbug.com/67599
CertVerifierTest.*
X509CertificateTest.IntermediateCARequireExplicitPolicy
# Time out, see http://crbug.com/68482
SSLServerSocketTest.*
X509CertificateTest.TestKnownRoot
# CHECK ... | e11e56c9dff5f348191b639cbc0358022be9d9f9 | tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt | tools/valgrind/gtest_exclude/net_unittests.gtest-tsan_win32.txt | Text |
<|file_sep|>src/app/layout/navbar/navbar.directive.js.diff
original:
creationDate: '='
updated:
creationDate: '&'
<|file_sep|>original/src/app/layout/navbar/navbar.directive.js
creationDate: '='
},
controller: NavbarController,
controllerAs: 'vm',
bindToController: ... | creationDate: '&'
},
controller: NavbarController,
controllerAs: 'vm',
bindToController: true
};
return directive;
}
}
class NavbarController {
constructor (moment) {
'ngInject';
// "this.creation" is avaible by directive option "bindToController: true"
this.... | <|file_sep|>src/app/layout/navbar/navbar.directive.js.diff
original:
creationDate: '='
updated:
creationDate: '&'
<|file_sep|>original/src/app/layout/navbar/navbar.directive.js
creationDate: '='
},
controller: NavbarController,
controllerAs: 'vm',
bindToController: ... | 21163974abab3345d2892b783994494f88da2d18 | src/app/layout/navbar/navbar.directive.js | src/app/layout/navbar/navbar.directive.js | JavaScript |
<|file_sep|>README.md.diff
original:
updated:
# Introduction
<|file_sep|>README.md.diff
original:
# RDL Typesig Documentation
# Updated 05-21-2014
updated:
# Typesigs
<|file_sep|>README.md.diff
original:
updated:
# RDL Quick Reference
<|file_sep|>original/README.md
"( arg0, arg1, … argN ) { Annotation } -> Type" ###... | ## Type Syntax
"… Class" ### Standard Type Definition
"… :sym" ### Symbol
"… %any" ### Type Placeholder (Any Type)
"… %bool" ### Boolean Value (TrueClass and FalseClass)
"… Type0 OR Type1" ### Union Types
# RDL Quick Reference
| API call | Meaning |
| --- | --- |
| `spec` | a |
| `keyword` |
| `dsl` |
| `arg` |
| `p... | <|file_sep|>README.md.diff
original:
updated:
# Introduction
<|file_sep|>README.md.diff
original:
# RDL Typesig Documentation
# Updated 05-21-2014
updated:
# Typesigs
<|file_sep|>README.md.diff
original:
updated:
# RDL Quick Reference
<|file_sep|>original/README.md
"( arg0, arg1, … argN ) { Annotation } -> Type" ###... | 1550ea8bd2a89b42c6aabc16a95cb1be9a46d309 | README.md | README.md | Markdown |
<|file_sep|>original/engine/core/source/org/pentaho/reporting/engine/classic/core/modules/misc/datafactory/sequence/SequenceDataFactoryBundle.properties
# Foundation.
#
# You should have received a copy of the GNU Lesser General Public License along with this
# program; if not, you can obtain a copy at http://www.gnu.o... | # Foundation.
#
# You should have received a copy of the GNU Lesser General Public License along with this
# program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
# or from the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Th... | <|file_sep|>original/engine/core/source/org/pentaho/reporting/engine/classic/core/modules/misc/datafactory/sequence/SequenceDataFactoryBundle.properties
# Foundation.
#
# You should have received a copy of the GNU Lesser General Public License along with this
# program; if not, you can obtain a copy at http://www.gnu.o... | a6c1b0bed3439df4c24071e4d3f506efb1a3d058 | engine/core/source/org/pentaho/reporting/engine/classic/core/modules/misc/datafactory/sequence/SequenceDataFactoryBundle.properties | engine/core/source/org/pentaho/reporting/engine/classic/core/modules/misc/datafactory/sequence/SequenceDataFactoryBundle.properties | INI |
<|file_sep|>lib/hpcloud/commands/securitygroups/rules/remove.rb.diff
original:
map %w(securitygroups:rules:revoke, securitygroups:rules:delete securitygroups:rules:del) => 'securitygroups:rules:remove'
updated:
map %w(securitygroups:rules:revoke securitygroups:rules:delete securitygroups:rules:del) => 'secu... |
map %w(securitygroups:rules:revoke securitygroups:rules:delete securitygroups:rules:del) => 'securitygroups:rules:remove'
desc "securitygroups:rules:remove <sec_group_name> <rule_id>", "remove a rule from the security group"
long_desc <<-DESC
Remove a rule by specifying its id, from the security g... | <|file_sep|>lib/hpcloud/commands/securitygroups/rules/remove.rb.diff
original:
map %w(securitygroups:rules:revoke, securitygroups:rules:delete securitygroups:rules:del) => 'securitygroups:rules:remove'
updated:
map %w(securitygroups:rules:revoke securitygroups:rules:delete securitygroups:rules:del) => 'secu... | 1bbc57bba3e1fed538c21df87620f6aea5d8783b | lib/hpcloud/commands/securitygroups/rules/remove.rb | lib/hpcloud/commands/securitygroups/rules/remove.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- 2.1
- 2.2
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
... | rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
sudo: false | <|file_sep|>.travis.yml.diff
original:
updated:
- 2.1
- 2.2
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
... | 3f72ed948fca6b116fbdbb7da5fcf8da99e7a15e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/routes.rb
Rails.application.routes.draw do
resources :comments
resources :progress_updates
resources :projects
devise_for :users
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
resources :users, only: [:show, :index] ... | Rails.application.routes.draw do
resources :comments
resources :progress_updates, :path => 'updates'
resources :projects
devise_for :users
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
resources :users, only: [:show, :index]
root "applic... | <|file_sep|>original/config/routes.rb
Rails.application.routes.draw do
resources :comments
resources :progress_updates
resources :projects
devise_for :users
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
resources :users, only: [:show, :index] ... | f6cee1ae1fedea9bf7d5bd57267d3cb4d58318fb | config/routes.rb | config/routes.rb | Ruby |
<|file_sep|>original/app/views/settings/types/_image.html.erb
<div class="row">
<div class="col-sm-6">
<%= f.input :value, as: :image, label: false, input_html: { field_name: 'setting_value', img_src: @setting.value, path_only: true } %>
</div>
<div class="col-sm-6">
<%= f.input :value, label: 'Image URL'... | <div class="image-to-path-wrapper">
<div class="row">
<div class="col-sm-6">
<%= f.input :value, as: :image, label: false, input_html: { field_name: 'setting_value', img_src: @setting.value, path_only: true } %>
</div>
<div class="col-sm-6">
<%= f.input :value, label: 'Image URL', readonly: tr... | <|file_sep|>original/app/views/settings/types/_image.html.erb
<div class="row">
<div class="col-sm-6">
<%= f.input :value, as: :image, label: false, input_html: { field_name: 'setting_value', img_src: @setting.value, path_only: true } %>
</div>
<div class="col-sm-6">
<%= f.input :value, label: 'Image URL'... | 9b6e9bb18c5fbce33685c64f58c9bf199b97804a | app/views/settings/types/_image.html.erb | app/views/settings/types/_image.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- rbx-19mode
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.1
- rbx | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- rbx-19mode
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.1
- rbx | 223935d7bd92d6f2dea15f044302f608a2511fda | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/problems/show.haml
- content_for :javascript do
!= map_javascript_include_tags
- if @problem.location
#map-col
#map
:javascript
var problem_lat = #{@problem.location.lat};
var problem_lon = #{@problem.location.lon};
jQuery(document).ready(function(){
problem_init... | - content_for :javascript do
!= map_javascript_include_tags
- if @problem.location
#map-col
#map
:javascript
var areaStops = #{location_stops_js([@problem.location])}
jQuery(document).ready(function(){
area_init();
});
.problem-info
%h3= @problem.subject
%p.problem-desc... | <|file_sep|>original/app/views/problems/show.haml
- content_for :javascript do
!= map_javascript_include_tags
- if @problem.location
#map-col
#map
:javascript
var problem_lat = #{@problem.location.lat};
var problem_lon = #{@problem.location.lon};
jQuery(document).ready(function(){
problem_init... | 4ba047287e8a010473de3aeb929396e0f0f2e360 | app/views/problems/show.haml | app/views/problems/show.haml | Haml |
<|file_sep|>original/tools/circleci/images.yml
trusty:
base_image: buildpack-deps:trusty-scm
extra_packages: python-virtualenv postgresql-9.3
xenial:
base_image: buildpack-deps:xenial-scm
extra_packages: virtualenv postgresql-9.5
<|file_sep|>current/tools/circleci/images.yml
trusty:
base_image: buildpack-dep... | trusty:
base_image: buildpack-deps:trusty-scm
extra_packages: python-virtualenv postgresql-9.3
xenial:
base_image: buildpack-deps:xenial-scm
extra_packages: virtualenv postgresql-9.5
bionic:
base_image: buildpack-deps:bionic-scm
extra_packages: postgresql-10 | <|file_sep|>original/tools/circleci/images.yml
trusty:
base_image: buildpack-deps:trusty-scm
extra_packages: python-virtualenv postgresql-9.3
xenial:
base_image: buildpack-deps:xenial-scm
extra_packages: virtualenv postgresql-9.5
<|file_sep|>current/tools/circleci/images.yml
trusty:
base_image: buildpack-dep... | 69f8b7e8dfa47bb719bba4f1d1c11b15c106706f | tools/circleci/images.yml | tools/circleci/images.yml | YAML |
<|file_sep|>original/src/personalisation/migrations/0008_devicerule.py
<|file_sep|>current/src/personalisation/migrations/0008_devicerule.py
<|file_sep|>updated/src/personalisation/migrations/0008_devicerule.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-04-20 15:47
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import modelcluster.fields
class Migration(migrations.Migration):
dependencies = [
('personalisation', '0007_dayrule'... | <|file_sep|>original/src/personalisation/migrations/0008_devicerule.py
<|file_sep|>current/src/personalisation/migrations/0008_devicerule.py
<|file_sep|>updated/src/personalisation/migrations/0008_devicerule.py
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-04-20 15:47
from __future__ import unicode_lit... | bcd4ebd31f915825eb135420d56231e380589c5b | src/personalisation/migrations/0008_devicerule.py | src/personalisation/migrations/0008_devicerule.py | Python |
<|file_sep|>original/test-requirements.txt
pytest==3.0.0
pytest-sugar==0.7.1
watchdog==0.8.3
<|file_sep|>current/test-requirements.txt
pytest==3.0.0
pytest-sugar==0.7.1
watchdog==0.8.3
<|file_sep|>updated/test-requirements.txt | pytest==3.0.0
pytest-sugar==0.7.1
watchdog==0.8.3
pre-commit==0.8.2
pytest-asyncio==0.4.1 | <|file_sep|>original/test-requirements.txt
pytest==3.0.0
pytest-sugar==0.7.1
watchdog==0.8.3
<|file_sep|>current/test-requirements.txt
pytest==3.0.0
pytest-sugar==0.7.1
watchdog==0.8.3
<|file_sep|>updated/test-requirements.txt
pytest==3.0.0
pytest-sugar==0.7.1
watchdog==0.8.3
pre-commit==0.8.2
pytest-asyncio==0.4.1 | d031a18340356fe9cc932eb51c949e73975d8b9e | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/README.md
Make sure you are in the `master` branch before making changes. This is the default branch so git should put you there automatically.
Before submitting a pull request, view the docs locally to check that the content and layout are correct. The docs are built using [jekyll](https://jekyll... | Assuming you don't already have [Bundler](http://bundler.io/) installed, you will first need to do:
gem install bundler
The above command may require `sudo`.
Then run:
bundle install
bundle exec jekyll server --incremental
This will build the docs and make them available at [localhost:4000](http:... | <|file_sep|>original/README.md
Make sure you are in the `master` branch before making changes. This is the default branch so git should put you there automatically.
Before submitting a pull request, view the docs locally to check that the content and layout are correct. The docs are built using [jekyll](https://jekyll... | 19058b25495550debc8858000931b154f9fdef55 | README.md | README.md | Markdown |
<|file_sep|>original/CHANGELOG.md
Change Log
==========
Version 1.2.0 *(In Development)*
--------------------------------
* Allow zero for one argument to `resize()` which will scale according to
aspect ratio.
* Fix: Do not mutate input image URLs. Thumbor 3.0 now supports full URLs in
the request.
Version ... | Change Log
==========
Version 1.2.0 *(2013-06-19)*
----------------------------
* Allow zero for one argument to `resize()` which will scale according to
aspect ratio.
* Fix: Do not mutate input image URLs. Thumbor 3.0 now supports full URLs in
the request.
Version 1.1.2 *(2013-03-05)*
---------------------... | <|file_sep|>original/CHANGELOG.md
Change Log
==========
Version 1.2.0 *(In Development)*
--------------------------------
* Allow zero for one argument to `resize()` which will scale according to
aspect ratio.
* Fix: Do not mutate input image URLs. Thumbor 3.0 now supports full URLs in
the request.
Version ... | 2260c1a30b3e9f0d239a553272756d77934af396 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/.travis.yml
php:
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.3.1/setup' -O - | php
- echo "use=." > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezo... | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.3.1/setup' -O - | php
- echo "use=." > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezone=Europe/Berlin" >... | <|file_sep|>original/.travis.yml
php:
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- wget 'https://github.com/xp-framework/xp-runners/releases/download/v5.3.1/setup' -O - | php
- echo "use=." > xp.ini
- echo "[runtime]" >> xp.ini
- echo "date.timezo... | 083f83e023e195ea31529075a3426c005adae849 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/weekly.yml
python3-psutil
python3-wcwidth
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: black python3-isort
task: make -f Makefile fmt-ci
- dependencies: shfmt
task: make -f Makefile... | python3-psutil
python3-wcwidth
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: black python3-isort
task: make -f Makefile fmt-ci
- dependencies: shfmt
task: make -f Makefile fmt-shell-ci
- dependencies: yamllint
... | <|file_sep|>original/.github/workflows/weekly.yml
python3-psutil
python3-wcwidth
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: black python3-isort
task: make -f Makefile fmt-ci
- dependencies: shfmt
task: make -f Makefile... | 6c8cebd5d0a8cd443d2c1d48ebd00a3d1c552b7d | .github/workflows/weekly.yml | .github/workflows/weekly.yml | YAML |
<|file_sep|>original/requirements-dev.txt
-e .
coverage==4.3.2
flake8==3.2.1
isort==4.2.5
mccabe==0.5.3
pydocstyle==1.1.1
pep8==1.7.0
pep8-naming==0.4.1
pre-commit==0.10.1
py==1.4.32
pytest==3.0.5
pytest-django==3.1.2
tox==2.5.0
<|file_sep|>current/requirements-dev.txt
-e .
coverage==4.3.2
flake8==3.2.1
isort==4.2.5
mc... | -e .
coverage==4.3.3
flake8==3.2.1
isort==4.2.5
mccabe==0.5.3
pydocstyle==1.1.1
pep8==1.7.0
pep8-naming==0.4.1
pre-commit==0.10.1
py==1.4.32
pytest==3.0.5
pytest-django==3.1.2
tox==2.5.0 | <|file_sep|>original/requirements-dev.txt
-e .
coverage==4.3.2
flake8==3.2.1
isort==4.2.5
mccabe==0.5.3
pydocstyle==1.1.1
pep8==1.7.0
pep8-naming==0.4.1
pre-commit==0.10.1
py==1.4.32
pytest==3.0.5
pytest-django==3.1.2
tox==2.5.0
<|file_sep|>current/requirements-dev.txt
-e .
coverage==4.3.2
flake8==3.2.1
isort==4.2.5
mc... | 2b8cf95cb83a5f1f1ddbde221070cdfc822f4e02 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/segments/virtual_env.py
import os
def add_virtual_env_segment():
env = os.getenv('VIRTUAL_ENV')
if env is None:
return
env_name = os.path.basename(env)
bg = Color.VIRTUAL_ENV_BG
fg = Color.VIRTUAL_ENV_FG
powerline.append(' %s ' % env_name, fg, bg)
add_virtual_env_... | import os
def add_virtual_env_segment():
env = os.getenv('VIRTUAL_ENV') or os.getenv('CONDA_ENV_PATH')
if env is None:
return
env_name = os.path.basename(env)
bg = Color.VIRTUAL_ENV_BG
fg = Color.VIRTUAL_ENV_FG
powerline.append(' %s ' % env_name, fg, bg)
add_virtual_env_segment() | <|file_sep|>original/segments/virtual_env.py
import os
def add_virtual_env_segment():
env = os.getenv('VIRTUAL_ENV')
if env is None:
return
env_name = os.path.basename(env)
bg = Color.VIRTUAL_ENV_BG
fg = Color.VIRTUAL_ENV_FG
powerline.append(' %s ' % env_name, fg, bg)
add_virtual_env_... | 8a28dee1bc3ca8ec83705cc431768ef18be7798c | segments/virtual_env.py | segments/virtual_env.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "8"
env:
- MONGODB_VERSION="2.6.12"
- MONGODB_VERSION="3.0.15"
- MONGODB_VERSION="3.2.16"
- MONGODB_VERSION="3.4.7"
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB_VERSION}.tgz -O /tmp/mongodb.... | language: node_js
sudo: false
node_js:
- "8"
env:
- MONGODB_VERSION="3.2.16"
- MONGODB_VERSION="3.4.7"
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB_VERSION}.tgz -O /tmp/mongodb.tgz
- tar -xvf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-${MON... | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "8"
env:
- MONGODB_VERSION="2.6.12"
- MONGODB_VERSION="3.0.15"
- MONGODB_VERSION="3.2.16"
- MONGODB_VERSION="3.4.7"
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-${MONGODB_VERSION}.tgz -O /tmp/mongodb.... | 3c8fd67e16e420de0408e8cb044eb95405af65de | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Resources/service_template.php.twig
*/
private ${{ argument.variable }};
{% endfor %}
/**
* {{ class_name }} constructor.
*
{% for argument in arguments %}
* @param {{ argument.type }} ${{ argument.variable }}
{% endfor %}
*/
public function __construct(
{% for... | */
private ${{ argument.variable }};
{% endfor %}
/**
* {{ class_name }} constructor.
*
{% for argument in arguments %}
* @param {{ argument.type }} ${{ argument.variable }}
{% endfor %}
*/
public function __construct(
{% for argument in arguments %}
{{ argument.hint }}{{ a... | <|file_sep|>original/Resources/service_template.php.twig
*/
private ${{ argument.variable }};
{% endfor %}
/**
* {{ class_name }} constructor.
*
{% for argument in arguments %}
* @param {{ argument.type }} ${{ argument.variable }}
{% endfor %}
*/
public function __construct(
{% for... | dc6b02b93672668d201c7b1689c1be7fb6fe8157 | Resources/service_template.php.twig | Resources/service_template.php.twig | Twig |
<|file_sep|>original/rock.bro
export {
const sensor_id = "sensor001-001" &redef;
}
# Load integration with Snort on ROCK
@load ./frameworks/files/unified2-integration
# Load integration with FSF
@load ./frameworks/files/extract2fsf
# Load file extraction
@load ./frameworks/files/extraction
redef FileExtract::prefi... | @load ./frameworks/files/unified2-integration
# Load integration with FSF
@load ./frameworks/files/extract2fsf
# Load file extraction
@load ./frameworks/files/extraction
redef FileExtract::prefix = "/data/bro/logs/extract_files/";
redef FileExtract::default_limit = 1048576000;
# Configure Kafka output
# Bro Kafka Ou... | <|file_sep|>original/rock.bro
export {
const sensor_id = "sensor001-001" &redef;
}
# Load integration with Snort on ROCK
@load ./frameworks/files/unified2-integration
# Load integration with FSF
@load ./frameworks/files/extract2fsf
# Load file extraction
@load ./frameworks/files/extraction
redef FileExtract::prefi... | 7c13d10966d8f1aa3fde9fb9fe1ff04ddaeb3165 | rock.bro | rock.bro | Bro |
<|file_sep|>original/pom.xml
<|file_sep|>current/pom.xml
<|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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ca.intelliware</groupId>
<artifactId>myproject</a... | <|file_sep|>original/pom.xml
<|file_sep|>current/pom.xml
<|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/maven-v4_0_0.xsd">
<modelVersion>... | 3cc475612e253881824b8a85be80fd8df40ae52a | pom.xml | pom.xml | XML |
<|file_sep|>original/_pages/sponsorship.html
---
layout: default
title: Sponsor Us!
permalink: /sponsorship
stylesheets:
- sponsorship
---
<main>
<h1>Sponsor our team!</h1>
<p>Without our generous sponsors, we would not have the opportunity to get the most out of this wonderful program. The funds and other assi... | ---
layout: default
title: Sponsor Us!
permalink: /sponsorship
stylesheets:
- sponsorship
---
<main>
<h1>Sponsor our team!</h1>
<p>Without our generous sponsors, we would not have the opportunity to get the most out of this wonderful program. The funds and other assistance provided by people like you helps our ... | <|file_sep|>original/_pages/sponsorship.html
---
layout: default
title: Sponsor Us!
permalink: /sponsorship
stylesheets:
- sponsorship
---
<main>
<h1>Sponsor our team!</h1>
<p>Without our generous sponsors, we would not have the opportunity to get the most out of this wonderful program. The funds and other assi... | 56212f6aa4ff8227412776a919dcca747b68569e | _pages/sponsorship.html | _pages/sponsorship.html | HTML |
<|file_sep|>original/py-requirements/prod.txt
-r base.txt
gunicorn==19.7.0
raven==6.0.0
sendgrid==3.6.3
sendgrid-django==4.0.4
<|file_sep|>current/py-requirements/prod.txt
-r base.txt
gunicorn==19.7.0
raven==6.0.0
sendgrid==3.6.3
sendgrid-django==4.0.4
<|file_sep|>updated/py-requirements/prod.txt | -r base.txt
gunicorn==19.7.1
raven==6.0.0
sendgrid==3.6.3
sendgrid-django==4.0.4 | <|file_sep|>original/py-requirements/prod.txt
-r base.txt
gunicorn==19.7.0
raven==6.0.0
sendgrid==3.6.3
sendgrid-django==4.0.4
<|file_sep|>current/py-requirements/prod.txt
-r base.txt
gunicorn==19.7.0
raven==6.0.0
sendgrid==3.6.3
sendgrid-django==4.0.4
<|file_sep|>updated/py-requirements/prod.txt
-r base.txt
gunicor... | 76ce9191a31a73867cb53283c2e960ed9d50d14e | py-requirements/prod.txt | py-requirements/prod.txt | Text |
<|file_sep|>original/test/Constraints/sr5252.swift
<|file_sep|>current/test/Constraints/sr5252.swift
<|file_sep|>updated/test/Constraints/sr5252.swift | // RUN: %target-typecheck-verify-swift
protocol P {}
class Helper {}
class Base {}
class Sub<T>: Base {}
// The superclass constraint was the culprit.
func foo<T: Helper & P>(base: Base, arg: T) {
_ = base as? Sub<T>
} | <|file_sep|>original/test/Constraints/sr5252.swift
<|file_sep|>current/test/Constraints/sr5252.swift
<|file_sep|>updated/test/Constraints/sr5252.swift
// RUN: %target-typecheck-verify-swift
protocol P {}
class Helper {}
class Base {}
class Sub<T>: Base {}
// The superclass constraint was the culprit.
func foo<T: H... | 6260b4508a1786c6dc723cfff01c5be72d9b82e1 | test/Constraints/sr5252.swift | test/Constraints/sr5252.swift | Swift |
<|file_sep|>original/S11-compunit/compunit-dependencyspecification.t
use v6;
use Test;
plan 6;
throws-like { CompUnit::DependencySpecification.new }, X::Attribute::Required,
throws-like { CompUnit::DependencySpecification.new(:short-name(1)) }, X::TypeCheck::Assignment;
ok my $ds = CompUnit::DependencySpecification.n... | use v6;
use Test;
plan 6;
dies-ok { CompUnit::DependencySpecification.new };
dies-ok { CompUnit::DependencySpecification.new(:short-name(1)) };
ok my $ds = CompUnit::DependencySpecification.new(:short-name<Foo>);
is $ds.version-matcher, True;
is $ds.auth-matcher, True;
is $ds.api-matcher, True;
# vim: ft=perl6 | <|file_sep|>original/S11-compunit/compunit-dependencyspecification.t
use v6;
use Test;
plan 6;
throws-like { CompUnit::DependencySpecification.new }, X::Attribute::Required,
throws-like { CompUnit::DependencySpecification.new(:short-name(1)) }, X::TypeCheck::Assignment;
ok my $ds = CompUnit::DependencySpecification.n... | d89dc5b4b4488430d58df2bd036a87638b04ef50 | S11-compunit/compunit-dependencyspecification.t | S11-compunit/compunit-dependencyspecification.t | Perl |
<|file_sep|>original/kafka/values.yaml
enabled: false
image:
repositry: rbrndt/kafka-prometheus
tag: latest
pullPolicy: IfNotPresent
port: 7204
image:
repository: monasca/kafka
tag: 0.9.0.1-2.11
pullPolicy: IfNotPresent
topic_config: segment.ms=900000
service:
type: ClusterIP
port: 9092
reso... | enabled: false
image:
repositry: rbrndt/kafka-prometheus
tag: latest
pullPolicy: IfNotPresent
port: 7204
image:
repository: monasca/kafka
tag: 0.9.0.1-2.11
pullPolicy: IfNotPresent
topic_config: segment.ms=900000,retention.ms=86400000
service:
type: ClusterIP
port: 9092
resources:
requests... | <|file_sep|>original/kafka/values.yaml
enabled: false
image:
repositry: rbrndt/kafka-prometheus
tag: latest
pullPolicy: IfNotPresent
port: 7204
image:
repository: monasca/kafka
tag: 0.9.0.1-2.11
pullPolicy: IfNotPresent
topic_config: segment.ms=900000
service:
type: ClusterIP
port: 9092
reso... | 81a8c7b6cd50ad6dd113071e871ecdca21ee8eb1 | kafka/values.yaml | kafka/values.yaml | YAML |
<|file_sep|>original/public/css/application.css
.site-header {
background-image: url("/images/background.jpg");
}
<|file_sep|>current/public/css/application.css
.site-header {
background-image: url("/images/background.jpg");
}
<|file_sep|>updated/public/css/application.css | .site-header {
background-image: url("/images/background.jpg");
}
.thumb-button {
display: inline-block;
}
.comment-area-separator-question {
margin-top: 12px;
border-bottom: 2px solid #337ab7;
}
.comment-area-separator-answer {
margin-top: 12px;
border-bottom: 2px solid #e3e3e3;
}
.question-detail {
... | <|file_sep|>original/public/css/application.css
.site-header {
background-image: url("/images/background.jpg");
}
<|file_sep|>current/public/css/application.css
.site-header {
background-image: url("/images/background.jpg");
}
<|file_sep|>updated/public/css/application.css
.site-header {
background-image: url("/i... | e0e26e9e63f522cf1df15d5f1ca49f4314b0a1a3 | public/css/application.css | public/css/application.css | CSS |
<|file_sep|>original/Cpp/gtest.cpp
<|file_sep|>current/Cpp/gtest.cpp
<|file_sep|>updated/Cpp/gtest.cpp | #if (defined(__GNUC__) && (__GNUC__ > (major) || __GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
# define <+FILE_CAPITAL+>_AVAILABLE_GCC_WARNING_PRAGMA
#endif
#ifdef <+FILE_CAPITAL+>_AVAILABLE_GCC_WARNING_PRAGMA
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Weffc++"
# if __cplusplus >= 201103L
... | <|file_sep|>original/Cpp/gtest.cpp
<|file_sep|>current/Cpp/gtest.cpp
<|file_sep|>updated/Cpp/gtest.cpp
#if (defined(__GNUC__) && (__GNUC__ > (major) || __GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
# define <+FILE_CAPITAL+>_AVAILABLE_GCC_WARNING_PRAGMA
#endif
#ifdef <+FILE_CAPITAL+>_AVAILABLE_GCC_WARNING_PRAGM... | 1dafc6b7fa79f3d3b25e2ce6994182e6b95abd7d | Cpp/gtest.cpp | Cpp/gtest.cpp | C++ |
<|file_sep|>original/packages/@sanity/cli/src/versionRanges.js
export default {
// Dependencies for a default Sanity installation
core: {
'@sanity/base': '^0.0.23',
'@sanity/components': '^0.0.27',
'@sanity/default-layout': '^0.0.4',
'@sanity/default-login': '^0.0.2',
'@sanity/desk-tool': '^0.1.... | export default {
// Dependencies for a default Sanity installation
core: {
'@sanity/base': '^0.0.23',
'@sanity/components': '^0.0.27',
'@sanity/core': '^0.0.1',
'@sanity/default-layout': '^0.0.4',
'@sanity/default-login': '^0.0.2',
'@sanity/desk-tool': '^0.1.9',
'react': '^15.3.0',
'... | <|file_sep|>original/packages/@sanity/cli/src/versionRanges.js
export default {
// Dependencies for a default Sanity installation
core: {
'@sanity/base': '^0.0.23',
'@sanity/components': '^0.0.27',
'@sanity/default-layout': '^0.0.4',
'@sanity/default-login': '^0.0.2',
'@sanity/desk-tool': '^0.1.... | 8a0ab7f3231c95567a690d0b0324c1bd38535242 | packages/@sanity/cli/src/versionRanges.js | packages/@sanity/cli/src/versionRanges.js | JavaScript |
<|file_sep|>original/functions/inline-policy.fish
<|file_sep|>current/functions/inline-policy.fish
<|file_sep|>updated/functions/inline-policy.fish | function inline-policy --argument document
if test -z "$document"
stderr "usage: inline-policy <document>"
return (false)
end
echo $document | grep -q '\.json$'
end | <|file_sep|>original/functions/inline-policy.fish
<|file_sep|>current/functions/inline-policy.fish
<|file_sep|>updated/functions/inline-policy.fish
function inline-policy --argument document
if test -z "$document"
stderr "usage: inline-policy <document>"
return (false)
end
echo $document ... | d888067572b89d0fa3915ad34cbd1ac855587dc9 | functions/inline-policy.fish | functions/inline-policy.fish | fish |
<|file_sep|>original/app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java
<|file_sep|>current/app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java
<|file_sep|>updated/app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java | package com.abhi.fyberdemo;
import android.support.test.espresso.assertion.ViewAssertions;
import android.support.test.rule.ActivityTestRule;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso... | <|file_sep|>original/app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java
<|file_sep|>current/app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java
<|file_sep|>updated/app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java
package com.abhi.fyberdemo;
import... | 27f1bf3730602c9bc7af7252942595584a996531 | app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java | app/src/androidTest/java/com/abhi/fyberdemo/MainActivityEspressoTest.java | Java |
<|file_sep|>original/doc/CMakeLists.txt
cmake_minimum_required (VERSION 2.8)
message ("-- Configuring man pages")
set (man_FILES task-color.5 task-faq.5 task-sync.5 task-tutorial.5 task.1 taskrc.5)
foreach (man_FILE ${man_FILES})
configure_file (
${CMAKE_CURRENT_SOURCE_DIR}/man/${man_FILE}.in
${CMAKE_CURRENT_... | cmake_minimum_required (VERSION 2.8)
message ("-- Configuring man pages")
set (man_FILES task-color.5 task-faq.5 task-sync.5 task-tutorial.5 task.1 taskrc.5)
foreach (man_FILE ${man_FILES})
configure_file (
man/${man_FILE}.in
man/${man_FILE})
endforeach (man_FILE)
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DI... | <|file_sep|>original/doc/CMakeLists.txt
cmake_minimum_required (VERSION 2.8)
message ("-- Configuring man pages")
set (man_FILES task-color.5 task-faq.5 task-sync.5 task-tutorial.5 task.1 taskrc.5)
foreach (man_FILE ${man_FILES})
configure_file (
${CMAKE_CURRENT_SOURCE_DIR}/man/${man_FILE}.in
${CMAKE_CURRENT_... | f3967e7d97709c9addc8feb5efaec4ed82a3b902 | doc/CMakeLists.txt | doc/CMakeLists.txt | Text |
<|file_sep|>myvoice/templates/accounts/login.html.diff
original:
updated:
{% comment %}
{# TODO - implement "Remember me" functionality #}
<|file_sep|>original/myvoice/templates/accounts/login.html
{% load static from staticfiles %}
{% block title %}Login{% endblock title %}
{% block content %}
<div cl... |
{% block content %}
<div class="container main-header">
<form class="form-signin" role="form" method="post" action="{% url 'login' %}">
{% csrf_token %}
<input type="text" class="form-control" name="username"
placeholder="username" required autofocus>
<input type="password" name="p... | <|file_sep|>myvoice/templates/accounts/login.html.diff
original:
updated:
{% comment %}
{# TODO - implement "Remember me" functionality #}
<|file_sep|>original/myvoice/templates/accounts/login.html
{% load static from staticfiles %}
{% block title %}Login{% endblock title %}
{% block content %}
<div cl... | 0a0f7949cac89f67116342a361e7665a1bb1cf17 | myvoice/templates/accounts/login.html | myvoice/templates/accounts/login.html | HTML |
<|file_sep|>original/tests/test_server.py
<|file_sep|>current/tests/test_server.py
<|file_sep|>updated/tests/test_server.py | import os
import time
import pytest
import requests
import json
import yaml
HERE = os.path.dirname(os.path.abspath(__file__))
@pytest.fixture()
def sess():
sess = requests.Session()
sess.headers = {
'Content-Type': 'application/json'
}
return sess
| <|file_sep|>original/tests/test_server.py
<|file_sep|>current/tests/test_server.py
<|file_sep|>updated/tests/test_server.py
import os
import time
import pytest
import requests
import json
import yaml
HERE = os.path.dirname(os.path.abspath(__file__))
@pytest.fixture()
def sess():
sess = requests.Session()
... | f6f13b4ff52fbe9346e9f60ba054b305da122d36 | tests/test_server.py | tests/test_server.py | Python |
<|file_sep|>original/spec/support/login.rb
module SpecSupport
module Login
def mock_logged_in_user
controller.session[::Login::SESSION_KEY] =
create(:person, email: 'test.user@digital.justice.gov.uk').id
end
def current_user
Person.where(email: 'test.user@digital.moj.gov.uk').first
... | module SpecSupport
module Login
def mock_logged_in_user
controller.session[::Login::SESSION_KEY] =
create(:person, email: 'test.user@digital.justice.gov.uk').id
end
def current_user
Person.where(email: 'test.user@digital.justice.gov.uk').first
end
def omni_auth_log_in_as(emai... | <|file_sep|>original/spec/support/login.rb
module SpecSupport
module Login
def mock_logged_in_user
controller.session[::Login::SESSION_KEY] =
create(:person, email: 'test.user@digital.justice.gov.uk').id
end
def current_user
Person.where(email: 'test.user@digital.moj.gov.uk').first
... | 1e85c1fc703d6aa43dd44d1a4c6e3a276aac43b4 | spec/support/login.rb | spec/support/login.rb | Ruby |
<|file_sep|>original/server/src/main/twirl/views/tags/_asset.scala.html
@(path: String)(implicit config: play.api.Configuration)@{config.getString("application.cdn").getOrElse("") + routes.Assets.versioned(path)}
<|file_sep|>current/server/src/main/twirl/views/tags/_asset.scala.html
@(path: String)(implicit config: pla... | @(path: String)(implicit config: play.api.Configuration)@{
config.getOptional[String]("application.cdn").getOrElse("") + routes.Assets.versioned(path)
} | <|file_sep|>original/server/src/main/twirl/views/tags/_asset.scala.html
@(path: String)(implicit config: play.api.Configuration)@{config.getString("application.cdn").getOrElse("") + routes.Assets.versioned(path)}
<|file_sep|>current/server/src/main/twirl/views/tags/_asset.scala.html
@(path: String)(implicit config: pla... | bbf9adf073f079bc5493a46b9fce9c6baaead057 | server/src/main/twirl/views/tags/_asset.scala.html | server/src/main/twirl/views/tags/_asset.scala.html | HTML |
<|file_sep|>original/build/build.js
'fs',
'util',
'path',
'node-sass',
'rollup-pluginutils'
],
plugins: [
babel({
runtimeHelpers: true
})
]
}).then((bundle) => {
bundle.write({
dest: 'dist/rollup-plugin-sass.cjs.js',
for... | 'fs',
'util',
'path',
'node-sass',
'rollup-pluginutils'
],
plugins: [
babel({
runtimeHelpers: true
})
]
}).then(function (bundle) {
bundle.write({
dest: 'dist/rollup-plugin-sass.cjs.js',
format: 'cjs'
});
bundle.... | <|file_sep|>original/build/build.js
'fs',
'util',
'path',
'node-sass',
'rollup-pluginutils'
],
plugins: [
babel({
runtimeHelpers: true
})
]
}).then((bundle) => {
bundle.write({
dest: 'dist/rollup-plugin-sass.cjs.js',
for... | 77e033f68bc06a8b522ab1d13c43473cc22e6911 | build/build.js | build/build.js | JavaScript |
<|file_sep|>original/spec/lib/looples_array_spec.rb
expect(list2).to eql list
end
end
describe 'recurse_each_with_index' do
it 'shows the right index' do
list2 = []
la.recurse_each_with_index do |_, i|
list2 << i
end
expect(list2).to eql(0...la.size).to_a
end
end... | expect(list2).to eql list
end
end
describe 'recurse_each_with_index' do
it 'shows the right index' do
list2 = []
la.recurse_each_with_index do |_, i|
list2 << i
end
expect(list2).to eql((0...la.size).to_a)
end
end
describe 'rmap' do
it 'returns an empty Lo... | <|file_sep|>original/spec/lib/looples_array_spec.rb
expect(list2).to eql list
end
end
describe 'recurse_each_with_index' do
it 'shows the right index' do
list2 = []
la.recurse_each_with_index do |_, i|
list2 << i
end
expect(list2).to eql(0...la.size).to_a
end
end... | 6ef50a4653dc9d55e04ca05631b2e1c399f87c99 | spec/lib/looples_array_spec.rb | spec/lib/looples_array_spec.rb | Ruby |
<|file_sep|>example_configs.sh.diff
original:
echo WARNING: this will remove /etc/lithos from the system
echo ... hoping you run this in virtual machine
echo ... but let you think 10 seconds
updated:
echo WARNING: This Command will remove /etc/lithos from the system
echo ... hopefully you run this in a virtual machine
... | sudo -k
echo Copying examples/py into the system
echo WARNING: This Command will remove /etc/lithos from the system
echo ... hopefully you run this in a virtual machine
echo ... but let you think for 10 seconds
for i in $(seq 10 -1 0); do echo -n "$i \r"; sleep 1; done;
echo Okay proceeding...
sudo rsync -av --delete... | <|file_sep|>example_configs.sh.diff
original:
echo WARNING: this will remove /etc/lithos from the system
echo ... hoping you run this in virtual machine
echo ... but let you think 10 seconds
updated:
echo WARNING: This Command will remove /etc/lithos from the system
echo ... hopefully you run this in a virtual machine
... | 19a080d3cc1ba6b4866d9bd6b25e6871f10590ea | example_configs.sh | example_configs.sh | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.