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/Exercises/Development/xml/CompleteBinaryTree.xml
<|file_sep|>current/Exercises/Development/xml/CompleteBinaryTree.xml
<|file_sep|>updated/Exercises/Development/xml/CompleteBinaryTree.xml | <?xml version='1.0' encoding='UTF-8'?>
<entry>
<id>http://algoviz.org/OpenDSA/Exercises/Development/CompleteBinaryTree.html</id>
<title type='text'>Complete Tree Exercise</title>
<description type='text'>Complete Tree Exercise</description>
<type>ka</type>
<width>950</width>
<height>550</height>
<author>
<name>OpenDSA<... | <|file_sep|>original/Exercises/Development/xml/CompleteBinaryTree.xml
<|file_sep|>current/Exercises/Development/xml/CompleteBinaryTree.xml
<|file_sep|>updated/Exercises/Development/xml/CompleteBinaryTree.xml
<?xml version='1.0' encoding='UTF-8'?>
<entry>
<id>http://algoviz.org/OpenDSA/Exercises/Development/CompleteBi... | bb7e2bb5000d5e5d606628a889afeedf42b0a25f | Exercises/Development/xml/CompleteBinaryTree.xml | Exercises/Development/xml/CompleteBinaryTree.xml | XML |
<|file_sep|>blo/__init__.py.diff
original:
updated:
import configparser
import optparse
<|file_sep|>original/blo/__init__.py
from .BloArticle import BloArticle
class Blo:
def __init__(self):
pass
if __name__ == '__main__':
# TODO: implement main routine of Blo.
# blo [-c config_file] markdown_fi... | import configparser
import optparse
from .BloArticle import BloArticle
class Blo:
def __init__(self):
pass
if __name__ == '__main__':
parser = optparse.OptionParser("usage: %prog [option] markdown_file.md")
parser.add_option("-c", "--config", dest="config_file",
default="./b... | <|file_sep|>blo/__init__.py.diff
original:
updated:
import configparser
import optparse
<|file_sep|>original/blo/__init__.py
from .BloArticle import BloArticle
class Blo:
def __init__(self):
pass
if __name__ == '__main__':
# TODO: implement main routine of Blo.
# blo [-c config_file] markdown_fi... | f2d2706c7943108c26357bcd9b6dfd92229ae7ce | blo/__init__.py | blo/__init__.py | Python |
<|file_sep|>original/test-requirements.txt
pytest==7.1.3
spur.local>=0.3.19,<0.4
tempman>=0.1.3,<0.2
<|file_sep|>current/test-requirements.txt
pytest==7.1.3
spur.local>=0.3.19,<0.4
tempman>=0.1.3,<0.2
<|file_sep|>updated/test-requirements.txt | pytest==6.1.2
spur.local>=0.3.19,<0.4
tempman>=0.1.3,<0.2 | <|file_sep|>original/test-requirements.txt
pytest==7.1.3
spur.local>=0.3.19,<0.4
tempman>=0.1.3,<0.2
<|file_sep|>current/test-requirements.txt
pytest==7.1.3
spur.local>=0.3.19,<0.4
tempman>=0.1.3,<0.2
<|file_sep|>updated/test-requirements.txt
pytest==6.1.2
spur.local>=0.3.19,<0.4
tempman>=0.1.3,<0.2 | 5b522b6637de2bc5cb551adb50960303da1b1a2c | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>original/docs/docker_build_docs.sh
docker build -t bifrost_docs -f Dockerfile .
mkdir -p out
docker run --rm -i --net=none -v $(pwd)/out:/data bifrost_docs /bin/bash -c "cp -r ./* /data/"
<|file_sep|>current/docs/docker_build_docs.sh
docker build -t bifrost_docs -f Dockerfile .
mkdir -p out
docker run --rm ... | docker build -t bifrost_docs -f Dockerfile .
mkdir -p html
docker run --rm -i --net=none -v $(pwd)/html:/data bifrost_docs /bin/bash -c "cp -r ./* /data/" | <|file_sep|>original/docs/docker_build_docs.sh
docker build -t bifrost_docs -f Dockerfile .
mkdir -p out
docker run --rm -i --net=none -v $(pwd)/out:/data bifrost_docs /bin/bash -c "cp -r ./* /data/"
<|file_sep|>current/docs/docker_build_docs.sh
docker build -t bifrost_docs -f Dockerfile .
mkdir -p out
docker run --rm ... | dd258796b70c60ce2736b995a6cd08c9b703f928 | docs/docker_build_docs.sh | docs/docker_build_docs.sh | Shell |
<|file_sep|>original/README.md
```
brew install go libgit2
```
*Configure dependencies:*
Make sure that `$GOPATH` is set. For more details see: `go help gopath`.
Also make sure that `$GOPATH/bin` is in your `$PATH`
*Install git-gb:*
```
go get github.com/vroy/git-gb
```
*Add a git alias:*
```
git config --global... | ## Installation
### Mac
*Install dependencies:*
```
brew install go libgit2
```
*Configure dependencies:*
Make sure that `$GOPATH` is set. For more details see: `go help gopath`.
Also make sure that `$GOPATH/bin` is in your `$PATH`
*Install git-gb:*
```
go get github.com/vroy/git-gb
``` | <|file_sep|>original/README.md
```
brew install go libgit2
```
*Configure dependencies:*
Make sure that `$GOPATH` is set. For more details see: `go help gopath`.
Also make sure that `$GOPATH/bin` is in your `$PATH`
*Install git-gb:*
```
go get github.com/vroy/git-gb
```
*Add a git alias:*
```
git config --global... | 32eab3e0cb51f0f57778f75408b2c8100b5b09e6 | README.md | README.md | Markdown |
<|file_sep|>original/lib/Action.js
}
get events() {
return App.events;
}
publish(ev, ...args) {
return App.events.publish(`${this.ns}.${ev}`, ...args);
}
get ns() {
return this._ns || "app";
}
set ns(namespace) {
this._ns = namespace;
}
static ... | get events() {
return App.events;
}
publish(ev, ...args) {
return App.events.publish(`${this.ns}.${ev}`, ...args);
}
get ns() {
return this._ns || "app";
}
set ns(namespace) {
this._ns = namespace;
}
static ns(key) { // Decorator for easily adding n... | <|file_sep|>original/lib/Action.js
}
get events() {
return App.events;
}
publish(ev, ...args) {
return App.events.publish(`${this.ns}.${ev}`, ...args);
}
get ns() {
return this._ns || "app";
}
set ns(namespace) {
this._ns = namespace;
}
static ... | c29048a94caf001b14d4a7bfe10c9f75a9eff45b | lib/Action.js | lib/Action.js | JavaScript |
<|file_sep|>CONTRIBUTING.md.diff
original:
Pull requests are greatly appreciated and are what makes opensource great. Here's a quick guide:
updated:
We'd love to accept your patches and contributions to this project. Pull requests are part of
what makes open source great. There are just a few small guidelines you need ... |
- Maintain the same code style as the rest of the project.
- Remove trailing whitespace. Many editors will do this automatically.
- Ensure any new files have [a trailing newline](https://stackoverflow.com/questions/5813311/no-newline-at-end-of-file)
## How to speed the merging of pull requests
* Describe your change... | <|file_sep|>CONTRIBUTING.md.diff
original:
Pull requests are greatly appreciated and are what makes opensource great. Here's a quick guide:
updated:
We'd love to accept your patches and contributions to this project. Pull requests are part of
what makes open source great. There are just a few small guidelines you need ... | 35533f9f9e032d8e1518858fdac6b8a6af86afe8 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/docker-compose.yml
version: "2"
services:
app:
build: .
image: keboola/elastic-writer
tty: true
stdin_open: true
app-tests:
image: keboola/elastic-writer
entrypoint: sh
command: -c 'sleep 10 && ./phpunit.sh'
tty: true
stdin_open: true
links:
- el... | version: "2"
services:
app:
build: .
image: keboola/elastic-writer
tty: true
stdin_open: true
volumes:
- ./:/code
links:
- elasticsearch13
- elasticsearch22
entrypoint: bash
app-tests:
image: keboola/elastic-writer
entrypoint: sh
command: -c 'sleep 10 && ... | <|file_sep|>original/docker-compose.yml
version: "2"
services:
app:
build: .
image: keboola/elastic-writer
tty: true
stdin_open: true
app-tests:
image: keboola/elastic-writer
entrypoint: sh
command: -c 'sleep 10 && ./phpunit.sh'
tty: true
stdin_open: true
links:
- el... | f0ea285e7651d7eba9e5d1c9a23011374ab9da2e | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/sahgutils/spatialtools.py
<|file_sep|>current/sahgutils/spatialtools.py
<|file_sep|>updated/sahgutils/spatialtools.py | """A collection of tools for spatial data and GIS tasks.
"""
def point_in_poly(pnt, poly):
"""Calculate whether a point lies inside a polygon
Algorithm is based on the ray-tracing procedure described at
http://geospatialpython.com/2011/01/point-in-polygon.html
Parameters
----------
pnt : seq... | <|file_sep|>original/sahgutils/spatialtools.py
<|file_sep|>current/sahgutils/spatialtools.py
<|file_sep|>updated/sahgutils/spatialtools.py
"""A collection of tools for spatial data and GIS tasks.
"""
def point_in_poly(pnt, poly):
"""Calculate whether a point lies inside a polygon
Algorithm is based on the ... | 42b651bd1a3d6994c6eb727ff8cc66e5699d9cd2 | sahgutils/spatialtools.py | sahgutils/spatialtools.py | Python |
<|file_sep|>test/fs/integration/vfs/CMakeLists.txt.diff
original:
set(MEMDISK memdisk.disk)
updated:
include($ENV{INCLUDEOS_PREFIX}/includeos/service.cmake)
<|file_sep|>original/test/fs/integration/vfs/CMakeLists.txt
if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
set(ENV{INCLUDEOS_PREFIX} /usr/local)
endif()
set(CMAKE_TOOL... |
if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
set(ENV{INCLUDEOS_PREFIX} /usr/local)
endif()
set(CMAKE_TOOLCHAIN_FILE $ENV{INCLUDEOS_PREFIX}/includeos/i686-elf-toolchain.cmake)
project (test_vfs)
set(SERVICE_NAME "VFS test")
set(BINARY "test_vfs")
set(MAX_MEM 128)
set(SOURCES
service.cpp
)
set(DRIVERS virtiobl... | <|file_sep|>test/fs/integration/vfs/CMakeLists.txt.diff
original:
set(MEMDISK memdisk.disk)
updated:
include($ENV{INCLUDEOS_PREFIX}/includeos/service.cmake)
<|file_sep|>original/test/fs/integration/vfs/CMakeLists.txt
if (NOT DEFINED ENV{INCLUDEOS_PREFIX})
set(ENV{INCLUDEOS_PREFIX} /usr/local)
endif()
set(CMAKE_TOOL... | c17b01ab7720e049245d028a692ba609abeebe1e | test/fs/integration/vfs/CMakeLists.txt | test/fs/integration/vfs/CMakeLists.txt | Text |
<|file_sep|>original/script/read_mbox.rb
<|file_sep|>current/script/read_mbox.rb
<|file_sep|>updated/script/read_mbox.rb | message = nil
count = 0
posts_count = Post.count
MailingList.transaction do
File.readlines(ARGV[0]).each do |line|
begin
if (line.match(/\AFrom /))
puts line
MailingListMailer.receive(message) if message.present?
message = ''
count = count + 1
else
message << l... | <|file_sep|>original/script/read_mbox.rb
<|file_sep|>current/script/read_mbox.rb
<|file_sep|>updated/script/read_mbox.rb
message = nil
count = 0
posts_count = Post.count
MailingList.transaction do
File.readlines(ARGV[0]).each do |line|
begin
if (line.match(/\AFrom /))
puts line
MailingLis... | c26aa6bb4023da7c5df302c99376a38499718e82 | script/read_mbox.rb | script/read_mbox.rb | Ruby |
<|file_sep|>storm/tests/conftest.py.diff
original:
updated:
import socket
<|file_sep|>storm/tests/conftest.py.diff
original:
from datadog_checks.dev.conditions import CheckCommandOutput
updated:
from datadog_checks.dev.conditions import WaitFor
def wait_for_thrift():
sock = socket.socket(socket.AF_INET, socket.S... | sock.close()
@pytest.fixture(scope='session')
def dd_environment():
compose_file = os.path.join(get_here(), 'compose', 'docker-compose.yaml')
# Build the topology jar to use in the environment
with docker_run(compose_file, build=True, service_name='topology-maker', sleep=15):
run_command(
... | <|file_sep|>storm/tests/conftest.py.diff
original:
updated:
import socket
<|file_sep|>storm/tests/conftest.py.diff
original:
from datadog_checks.dev.conditions import CheckCommandOutput
updated:
from datadog_checks.dev.conditions import WaitFor
def wait_for_thrift():
sock = socket.socket(socket.AF_INET, socket.S... | 24fd469296951fd8445e18d482a97ad5bb9108e7 | storm/tests/conftest.py | storm/tests/conftest.py | Python |
<|file_sep|>original/sources/FTB/infinity.json
"build": 2060
},
{
"version": "2.7.0",
"url": "https://s3.amazonaws.com/MCProHosting-Misc/FTB/FTB_Infinity_2.7.0.zip",
"build": 2070
},
... | "build": 2070
},
{
"version": "3.0.1",
"url": "https://s3.amazonaws.com/MCProHosting-Misc/FTB/FTB_Infinity_3.0.1.zip",
"build": 3003
},
{
"version": "3.0.2"... | <|file_sep|>original/sources/FTB/infinity.json
"build": 2060
},
{
"version": "2.7.0",
"url": "https://s3.amazonaws.com/MCProHosting-Misc/FTB/FTB_Infinity_2.7.0.zip",
"build": 2070
},
... | 4ad23259b377719248e54474a6574f21928f9eae | sources/FTB/infinity.json | sources/FTB/infinity.json | JSON |
<|file_sep|>original/modules/bilingual_generator/bilingual-preprocess.py
<|file_sep|>current/modules/bilingual_generator/bilingual-preprocess.py
<|file_sep|>updated/modules/bilingual_generator/bilingual-preprocess.py | import itertools
import codecs
d=[]
for entry in a.findall("ar"):
foo = [x.text.split(";") for x in entry if x.text]
if len(foo) == 2:
english,hindi = foo
english = [e.strip() for e in english ]
hindi = [h.strip() for h in hindi]
english = [e for e in english if not " " in... | <|file_sep|>original/modules/bilingual_generator/bilingual-preprocess.py
<|file_sep|>current/modules/bilingual_generator/bilingual-preprocess.py
<|file_sep|>updated/modules/bilingual_generator/bilingual-preprocess.py
import itertools
import codecs
d=[]
for entry in a.findall("ar"):
foo = [x.text.split(";") ... | 7f74911cf02c624afbb85e63dedde68cda2f53f6 | modules/bilingual_generator/bilingual-preprocess.py | modules/bilingual_generator/bilingual-preprocess.py | Python |
<|file_sep|>original/CHANGELOG.md
# Changelog
## 1.0.0 (2017-10-18)
This is the first stable release of `recoil/react`. There have been no changes
to the API since the `1.0.0-alpha.2` release. This package is being used in
production systems.
Please note that although this version is based on a "pre-release" tag of
... | # Changelog
## 1.0.1 (2018-04-06)
- **[FIX]** Handle `fwrite()` error conditions indicated by `0` return value ([#6](https://github.com/recoilphp/react#6))
## 1.0.0 (2017-10-18)
This is the first stable release of `recoil/react`. There have been no changes
to the API since the `1.0.0-alpha.2` release. This package ... | <|file_sep|>original/CHANGELOG.md
# Changelog
## 1.0.0 (2017-10-18)
This is the first stable release of `recoil/react`. There have been no changes
to the API since the `1.0.0-alpha.2` release. This package is being used in
production systems.
Please note that although this version is based on a "pre-release" tag of
... | d816f41180577cf815ef0e6a0655fc721a371da7 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/Microsoft.PowerShell_profile.ps1
$env:path += ";" + (Get-Item "Env:ProgramFiles(x86)").Value + "\Git\bin"
# Load posh-git example profile
. 'C:\tools\poshgit\dahlbyk-posh-git-95df787\profile.example.ps1'
# Load my posh-git profile using the dot-source notation
# . 'C:\Users\BigFont\Documents\Wind... | $env:path += ";" + (Get-Item "Env:ProgramFiles(x86)").Value + "\Git\bin"
# Load posh-git example profile
. 'C:\tools\poshgit\dahlbyk-posh-git-95df787\profile.example.ps1'
# Load my posh-git profile using the dot-source notation
# . 'C:\Users\BigFont\Documents\WindowsPowerShell\My.PoshGitProfile.ps1'
# Customize the ... | <|file_sep|>original/Microsoft.PowerShell_profile.ps1
$env:path += ";" + (Get-Item "Env:ProgramFiles(x86)").Value + "\Git\bin"
# Load posh-git example profile
. 'C:\tools\poshgit\dahlbyk-posh-git-95df787\profile.example.ps1'
# Load my posh-git profile using the dot-source notation
# . 'C:\Users\BigFont\Documents\Wind... | f5d4580505b921374d2732096f71a8a0f78d452f | Microsoft.PowerShell_profile.ps1 | Microsoft.PowerShell_profile.ps1 | PowerShell |
<|file_sep|>gblinks/cli.py.diff
original:
sys.exit(-1)
updated:
sys.exit(-2)
<|file_sep|>gblinks/cli.py.diff
original:
gblinks = Gblinks(path)
updated:
try:
gblinks = Gblinks(path)
<|file_sep|>gblinks/cli.py.diff
original:
if check:
check_broken_links(gblinks)
updated:
... | click.echo(json.dumps(link, sort_keys=True, indent=4))
@click.command()
@click.argument('path')
@click.option('--check/--no-check', default=False)
@click.option('--list/--no-list', default=False)
def main(path, check, list):
try:
gblinks = Gblinks(path)
if check:
check_broken_l... | <|file_sep|>gblinks/cli.py.diff
original:
sys.exit(-1)
updated:
sys.exit(-2)
<|file_sep|>gblinks/cli.py.diff
original:
gblinks = Gblinks(path)
updated:
try:
gblinks = Gblinks(path)
<|file_sep|>gblinks/cli.py.diff
original:
if check:
check_broken_links(gblinks)
updated:
... | f61ba51f92ff47716128bb9d607b4cb46e7bfa4b | gblinks/cli.py | gblinks/cli.py | Python |
<|file_sep|>original/sockshop/openapi/generate-server.sh
<|file_sep|>current/sockshop/openapi/generate-server.sh
<|file_sep|>updated/sockshop/openapi/generate-server.sh | #!/usr/bin/env bash
set -e
module=$1
output=$2
self=$(basename $0)
function help() {
echo "Usage: $self <json-spec-location-filename (should be under sockshop/openapi directory)> <server-code-output-location>"
}
if [[ "$module" == "" ]] || [[ "$output" == "" ]] ; then
help
exit 1
fi
fileUrl=https:/... | <|file_sep|>original/sockshop/openapi/generate-server.sh
<|file_sep|>current/sockshop/openapi/generate-server.sh
<|file_sep|>updated/sockshop/openapi/generate-server.sh
#!/usr/bin/env bash
set -e
module=$1
output=$2
self=$(basename $0)
function help() {
echo "Usage: $self <json-spec-location-filename (should ... | 96f1539853e14609adffa19273ec6896ea09fdee | sockshop/openapi/generate-server.sh | sockshop/openapi/generate-server.sh | Shell |
<|file_sep|>original/test/languages.coffee
<|file_sep|>current/test/languages.coffee
<|file_sep|>updated/test/languages.coffee | { getLanguage } = require '../src/languages'
exports["CSS comment types"] = (test) ->
lang = getLanguage('foo.css')
test.equal lang.checkType(' /* ** FOO bar -- **'), 'multistart'
test.equal lang.checkType(' ** FOO bar -- **/ '), 'multiend'
test.equal lang.checkType('/** FOO bar -- **/ '), 'single', "Multi li... | <|file_sep|>original/test/languages.coffee
<|file_sep|>current/test/languages.coffee
<|file_sep|>updated/test/languages.coffee
{ getLanguage } = require '../src/languages'
exports["CSS comment types"] = (test) ->
lang = getLanguage('foo.css')
test.equal lang.checkType(' /* ** FOO bar -- **'), 'multistart'
tes... | 86ebd820455239432170fa2431b390636ab52b13 | test/languages.coffee | test/languages.coffee | CoffeeScript |
<|file_sep|>original/app/views/home/index.html.erb
<p id="notice"><%= notice %></p>
<% if current_user == nil %>
<h1 class="center">Welcome</h1>
<div class="user_basics center">
<%= link_to 'Register', new_user_path, class: 'btn-large waves-effect waves-light block' %>
<%= link_to 'Login', login_path, clas... | <p id="notice"><%= notice %></p>
THIS IS THE VERSION I WANT TO BE USING
<% if current_user == nil %>
<h1 class="center">Welcome</h1>
<div class="user_basics center">
<%= link_to 'Register', new_user_path, class: 'btn-large waves-effect waves-light block' %>
<%= link_to 'Login', login_path, class: 'btn-larg... | <|file_sep|>original/app/views/home/index.html.erb
<p id="notice"><%= notice %></p>
<% if current_user == nil %>
<h1 class="center">Welcome</h1>
<div class="user_basics center">
<%= link_to 'Register', new_user_path, class: 'btn-large waves-effect waves-light block' %>
<%= link_to 'Login', login_path, clas... | 5aafdd8c94754f21dea19bd27b5ec9d0f7efe737 | app/views/home/index.html.erb | app/views/home/index.html.erb | HTML+ERB |
<|file_sep|>original/package.json
{
"name": "search-query-parser",
"version": "0.0.2",
"description": "Parser for advanced search query syntax",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git://github.com/retraceio/search-query-parser"
},
"ke... | {
"name": "search-query-parser",
"version": "0.0.2",
"description": "Parser for advanced search query syntax",
"main": "index.js",
"scripts": {
"test": "mocha -R spec"
},
"repository": {
"type": "git",
"url": "git://github.com/retraceio/search-query-parser"
},
"keywords": [
"search syn... | <|file_sep|>original/package.json
{
"name": "search-query-parser",
"version": "0.0.2",
"description": "Parser for advanced search query syntax",
"main": "index.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git://github.com/retraceio/search-query-parser"
},
"ke... | e991fac321b4def75a45bce0106769676ef77011 | package.json | package.json | JSON |
<|file_sep|>original/awesome_refresh_wallpaper.sh
<|file_sep|>current/awesome_refresh_wallpaper.sh
<|file_sep|>updated/awesome_refresh_wallpaper.sh | #!/bin/bash
# Author: Hersh Singh [hershdeep at gmail dot com]
# Description: Refreshes the wallpaper for Awesome window manager.
echo "gears.wallpaper.maximized(theme.wallpaper, 1, true)" |awesome-client | <|file_sep|>original/awesome_refresh_wallpaper.sh
<|file_sep|>current/awesome_refresh_wallpaper.sh
<|file_sep|>updated/awesome_refresh_wallpaper.sh
#!/bin/bash
# Author: Hersh Singh [hershdeep at gmail dot com]
# Description: Refreshes the wallpaper for Awesome window manager.
echo "gears.wallpaper.maximized(theme.w... | 552614b6f5a1312f0c0d5ae4b9b793b9433462e6 | awesome_refresh_wallpaper.sh | awesome_refresh_wallpaper.sh | Shell |
<|file_sep|>original/RELEASING.md
* Bump version number in `VERSION`
* Release the gem to rubygems.org: `rake all:release`
<|file_sep|>current/RELEASING.md
* Bump version number in `VERSION`
* Release the gem to rubygems.org: `rake all:release`
<|file_sep|>updated/RELEASING.md | * Bump version number in `VERSION`
* Release the gem to rubygems.org: `rake all:release`
* `git push` | <|file_sep|>original/RELEASING.md
* Bump version number in `VERSION`
* Release the gem to rubygems.org: `rake all:release`
<|file_sep|>current/RELEASING.md
* Bump version number in `VERSION`
* Release the gem to rubygems.org: `rake all:release`
<|file_sep|>updated/RELEASING.md
* Bump version number in `VERSION`
* Relea... | 2dcc57813b6aa6373d2e3d040873669e50f43afe | RELEASING.md | RELEASING.md | Markdown |
<|file_sep|>original/.forestry/front_matter/templates/team-member.yml
---
label: Team member
hide_body: false
fields:
- type: text
name: layout
label: layout
hidden: true
- type: text
name: name
label: Name
config:
required: true
- type: file
name: img
label: Profile picture
default: assets/img/pr... | ---
label: Team member
hide_body: false
fields:
- type: text
name: layout
label: layout
hidden: true
default: collection-item
- type: text
name: name
label: Name
config:
required: true
- type: file
name: img
label: Profile picture
default: assets/img/profile-placeholder.jpg
config:
maxSize... | <|file_sep|>original/.forestry/front_matter/templates/team-member.yml
---
label: Team member
hide_body: false
fields:
- type: text
name: layout
label: layout
hidden: true
- type: text
name: name
label: Name
config:
required: true
- type: file
name: img
label: Profile picture
default: assets/img/pr... | 132b4aa8e9bb260727a597b2e6e6633f123ddbca | .forestry/front_matter/templates/team-member.yml | .forestry/front_matter/templates/team-member.yml | YAML |
<|file_sep|>original/assets/javascripts/helpers/url.js.coffee
if (new HTTP.URI entity).hostname == TentStatus.config.domain_entity.hostname
"/posts/#{post.get('id')}"
else if entity.match /\.tent\.is/
"#{entity}/posts/#{post.get 'id'}"
else
"/posts/#{encodeURIComponent entity}/#{post.get(... |
if (new HTTP.URI entity).hostname == TentStatus.config.domain_entity.hostname
"/posts/#{post.get('id')}"
else if entity.match /\.tent\.is/
"#{entity}/posts/#{post.get 'id'}"
else
"/posts/#{encodeURIComponent entity}/#{post.get('id')}"
entityPostUrl: (entity, post_id) ->
return unle... | <|file_sep|>original/assets/javascripts/helpers/url.js.coffee
if (new HTTP.URI entity).hostname == TentStatus.config.domain_entity.hostname
"/posts/#{post.get('id')}"
else if entity.match /\.tent\.is/
"#{entity}/posts/#{post.get 'id'}"
else
"/posts/#{encodeURIComponent entity}/#{post.get(... | 610dc3f4422caea0ed59de66c964a607a2b021f2 | assets/javascripts/helpers/url.js.coffee | assets/javascripts/helpers/url.js.coffee | CoffeeScript |
<|file_sep|>original/nntools/tests/test_init.py
<|file_sep|>current/nntools/tests/test_init.py
<|file_sep|>updated/nntools/tests/test_init.py | def test_shape():
from nntools.init import Initializer
# Assert that all `Initializer` sublasses return the shape that
# we've asked for in `sample`:
for klass in Initializer.__subclasses__():
assert klass().sample((12, 23)).shape == (12, 23)
def test_normal():
from nntools.init import No... | <|file_sep|>original/nntools/tests/test_init.py
<|file_sep|>current/nntools/tests/test_init.py
<|file_sep|>updated/nntools/tests/test_init.py
def test_shape():
from nntools.init import Initializer
# Assert that all `Initializer` sublasses return the shape that
# we've asked for in `sample`:
for klass... | 8bd853402f532932f55d7e876b320c70155625af | nntools/tests/test_init.py | nntools/tests/test_init.py | Python |
<|file_sep|>original/bindings/python-examples/parses-quotes-en.txt
<|file_sep|>current/bindings/python-examples/parses-quotes-en.txt
<|file_sep|>updated/bindings/python-examples/parses-quotes-en.txt |
% This file contains tests involving the m4 quotes characters.
% In order to prevent dictionary malfunctions caused by unintended
% openings of m4 quotes, to introduce a line containing a backtic (`)
% protect it as follows:
%changequote(\,/)dnl
%Here a ` is used ...
%changequote dnl
Ithey have told of the soldiers' ... | <|file_sep|>original/bindings/python-examples/parses-quotes-en.txt
<|file_sep|>current/bindings/python-examples/parses-quotes-en.txt
<|file_sep|>updated/bindings/python-examples/parses-quotes-en.txt
% This file contains tests involving the m4 quotes characters.
% In order to prevent dictionary malfunctions caused by... | 4aba62805177eb8a38f62a5c8e5df005f4fc79c3 | bindings/python-examples/parses-quotes-en.txt | bindings/python-examples/parses-quotes-en.txt | Text |
<|file_sep|>flint/src/jp/oist/flint/rpc/Server.java.diff
original:
updated:
import java.net.InetAddress;
<|file_sep|>original/flint/src/jp/oist/flint/rpc/Server.java
import java.net.InetSocketAddress;
public class Server {
static final int PORT = 20465;
private final HttpServer mHttpServer;
public Serv... | import java.net.InetAddress;
import java.net.InetSocketAddress;
public class Server {
static final int PORT = 20465;
private final HttpServer mHttpServer;
public Server(ICallee callee) throws BindException, IOException {
InetSocketAddress isa = new InetSocketAddress(InetAddress.getLoopbackAddres... | <|file_sep|>flint/src/jp/oist/flint/rpc/Server.java.diff
original:
updated:
import java.net.InetAddress;
<|file_sep|>original/flint/src/jp/oist/flint/rpc/Server.java
import java.net.InetSocketAddress;
public class Server {
static final int PORT = 20465;
private final HttpServer mHttpServer;
public Serv... | e58647aaf0b3f2e9ebfdcc98206edd3e23680365 | flint/src/jp/oist/flint/rpc/Server.java | flint/src/jp/oist/flint/rpc/Server.java | Java |
<|file_sep|>installation/manual-installation/redhat/README.md.diff
original:
More information coming soon
updated:
Rocket.Chat has published a Certified Container Image with Redhat's Ceritifed Container Registry.
<|file_sep|>original/installation/manual-installation/redhat/README.md
# Installing Rocket.Chat on Redhat
... | # Installing Rocket.Chat on Redhat
Rocket.Chat has published a Certified Container Image with Redhat's Ceritifed Container Registry.
You can get started by reading [Rocket.Chat Tehnical Implementation Guide for our Certified Container](https://rocket.chat/docs/installation/manual-installation/redhat/Rocket.Chat%20Tec... | <|file_sep|>installation/manual-installation/redhat/README.md.diff
original:
More information coming soon
updated:
Rocket.Chat has published a Certified Container Image with Redhat's Ceritifed Container Registry.
<|file_sep|>original/installation/manual-installation/redhat/README.md
# Installing Rocket.Chat on Redhat
... | 4e6e32c8d08b75c5f6d537e08b1bb253579b4396 | installation/manual-installation/redhat/README.md | installation/manual-installation/redhat/README.md | Markdown |
<|file_sep|>original/_layouts/default.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include head.html %}
<body>
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collision... | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include head.html %}
<body class="theme-base-08">
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collisions with our real conte... | <|file_sep|>original/_layouts/default.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include head.html %}
<body>
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collision... | 33bbb6e263c5ed0b85a053d324ee1e3c5319cb1d | _layouts/default.html | _layouts/default.html | HTML |
<|file_sep|>original/src/Gtk/Perspex.Gtk/AssetLoader.cs
/// </exception>
public Stream Open(Uri uri)
{
var assembly = Assembly.GetEntryAssembly();
var resourceName = assembly.GetName().Name + ".g";
var manager = new ResourceManager(resourceName, assembly);
... | {
/// <summary>
/// Loads assets compiled into the application binary.
/// </summary>
public class AssetLoader : IAssetLoader
{
/// <summary>
/// Opens the resource with the requested URI.
/// </summary>
/// <param name="uri">The URI.</param>
/// <returns>A st... | <|file_sep|>original/src/Gtk/Perspex.Gtk/AssetLoader.cs
/// </exception>
public Stream Open(Uri uri)
{
var assembly = Assembly.GetEntryAssembly();
var resourceName = assembly.GetName().Name + ".g";
var manager = new ResourceManager(resourceName, assembly);
... | 52a135c3b1bb3497e3c99c144d37a5f47c3f5e3e | src/Gtk/Perspex.Gtk/AssetLoader.cs | src/Gtk/Perspex.Gtk/AssetLoader.cs | C# |
<|file_sep|>original/.bob.json
{
"build": "clean lint complexity test coverage test-integration doc",
"lint": {
"type": "jshint"
},
"complexity": {
"type": "plato"
},
"test": {
"type": "buster"
},
"coverage": {
"type": "buster-istanbul"
},
"test-integration": {
"type": "cmdt"
}... | "type": "jshint"
},
"complexity": {
"type": "plato"
},
"test": {
"type": "buster"
},
"coverage": {
"type": "buster-istanbul"
},
"test-integration": {
"type": "cmdt"
},
"doc": {
"type": "dox-foundation"
},
"site": {
"type": "gh-pages-cli"
}
} | <|file_sep|>original/.bob.json
{
"build": "clean lint complexity test coverage test-integration doc",
"lint": {
"type": "jshint"
},
"complexity": {
"type": "plato"
},
"test": {
"type": "buster"
},
"coverage": {
"type": "buster-istanbul"
},
"test-integration": {
"type": "cmdt"
}... | 2b05a53008927c5aeedea0f8853e206afde251d6 | .bob.json | .bob.json | JSON |
<|file_sep|>src/com/redhat/ceylon/common/tool/ToolMessages.java.diff
original:
import java.text.MessageFormat;
updated:
<|file_sep|>src/com/redhat/ceylon/common/tool/ToolMessages.java.diff
original:
class ToolMessages {
updated:
import com.redhat.ceylon.common.Messages;
class ToolMessages extends Messages {
<|file_se... | * PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License,
* along with this distribution; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
package com.red... | <|file_sep|>src/com/redhat/ceylon/common/tool/ToolMessages.java.diff
original:
import java.text.MessageFormat;
updated:
<|file_sep|>src/com/redhat/ceylon/common/tool/ToolMessages.java.diff
original:
class ToolMessages {
updated:
import com.redhat.ceylon.common.Messages;
class ToolMessages extends Messages {
<|file_se... | 89132dce0f4341c0dd2c6bdbdd02a89681162acd | src/com/redhat/ceylon/common/tool/ToolMessages.java | src/com/redhat/ceylon/common/tool/ToolMessages.java | Java |
<|file_sep|>original/CHANGELOG.md
1.2.2 / 2014-03-14
==================
* Add a `strict` option to fail on warnings.
1.2.1 / 2014-03-13
==================
* Add a `force` option.
* Add `/test/` directory to `.npmignore`.
* Add changelog.
* Update `grunt` dependency to v0.4.4.
* Update `grunt-contrib-jshi... | 1.2.3 / 2014-03-14
==================
* Refactor testing code.
* Don't need to use `chalk.bold` because `grunt.log.subhead` does the same thing.
* Color recommendations green.
* Added period to task info.
* Remove `unary` function.
* Move code inside the `module.exports` block.
* Output `grunt.log` messa... | <|file_sep|>original/CHANGELOG.md
1.2.2 / 2014-03-14
==================
* Add a `strict` option to fail on warnings.
1.2.1 / 2014-03-13
==================
* Add a `force` option.
* Add `/test/` directory to `.npmignore`.
* Add changelog.
* Update `grunt` dependency to v0.4.4.
* Update `grunt-contrib-jshi... | cbbaa660f9909576720cce4065d48aaf17113e7a | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/sts/util/socket_mux/pox_monkeypatcher.py
<|file_sep|>current/sts/util/socket_mux/pox_monkeypatcher.py
<|file_sep|>updated/sts/util/socket_mux/pox_monkeypatcher.py |
from server_socket_multiplexer import ServerMultiplexedSelect,ServerMockSocket
import select
import socket
# Note: Make sure that this module is loaded after all other modules except
# of_01
def launch():
# Server side:
# - Instantiate ServerMultipexedSelect (this will create a true
# socket for the pinger... | <|file_sep|>original/sts/util/socket_mux/pox_monkeypatcher.py
<|file_sep|>current/sts/util/socket_mux/pox_monkeypatcher.py
<|file_sep|>updated/sts/util/socket_mux/pox_monkeypatcher.py
from server_socket_multiplexer import ServerMultiplexedSelect,ServerMockSocket
import select
import socket
# Note: Make sure that th... | 87afc656e837d1d48fe050d69e793caa5f4a674d | sts/util/socket_mux/pox_monkeypatcher.py | sts/util/socket_mux/pox_monkeypatcher.py | Python |
<|file_sep|>recipes/dazz_db/meta.yaml.diff
original:
number: 0
updated:
number: 1
<|file_sep|>recipes/dazz_db/meta.yaml.diff
original:
md5: 0f5c57002df156122cd848c53483ddaa
url: https://github.com/thegenemyers/DAZZ_DB/archive/afc21d381431c97896d4d836e9a4dd6f8c5dda5d.tar.gz
updated:
md5: be7950d41f776b542d98ab... | source:
fn: dazz_db_V1.0p1.tar.gz
md5: be7950d41f776b542d98ab2376d92a25
url: https://github.com/thegenemyers/DAZZ_DB/archive/e31d4517ab9f4fad6571a351ba10f87db35b8bc8.tar.gz
requirements:
build:
- gcc # [not osx]
- llvm # [osx]
run:
- libgcc # [not osx]
test:
commands:
- fasta2DB ... | <|file_sep|>recipes/dazz_db/meta.yaml.diff
original:
number: 0
updated:
number: 1
<|file_sep|>recipes/dazz_db/meta.yaml.diff
original:
md5: 0f5c57002df156122cd848c53483ddaa
url: https://github.com/thegenemyers/DAZZ_DB/archive/afc21d381431c97896d4d836e9a4dd6f8c5dda5d.tar.gz
updated:
md5: be7950d41f776b542d98ab... | e9b93acb58453709494761498fe39ae39b57072f | recipes/dazz_db/meta.yaml | recipes/dazz_db/meta.yaml | YAML |
<|file_sep|>gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java.diff
original:
updated:
import org.junit.jupiter.api.extension.ExtensionContext.Store;
<|file_sep|>gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java.diff
original:
updated:
/** Key in the store for... | /** Optionally override the queue xml path for the GAEHelper */
public static void setQueueXmlPath(final ExtensionContext context, final String path) {
context.getStore(NAMESPACE).put(QUEUE_XML_PATH, path);
}
@Override
public void beforeEach(final ExtensionContext context) throws Exception {
final Store store... | <|file_sep|>gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java.diff
original:
updated:
import org.junit.jupiter.api.extension.ExtensionContext.Store;
<|file_sep|>gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java.diff
original:
updated:
/** Key in the store for... | 1570a9789530d83c373bd1ac7140b00be78288d9 | gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java | gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java | Java |
<|file_sep|>original/app/overrides/spree/home/index/replace_products_with_collections.html.erb.deface
<!-- replace '[data-hook='homepage_products']' -->
<div data-hook="homepage_collections">
<%= render :partial => 'spree/shared/collections', :locals => { :collection => @products } %>
</div>
<|file_sep|>current/app/o... | <!-- replace '[data-hook="homepage_products"]' -->
<div data-hook="homepage_collections">
<%= render :partial => 'spree/shared/collections', :locals => { :collection => @products } %>
</div> | <|file_sep|>original/app/overrides/spree/home/index/replace_products_with_collections.html.erb.deface
<!-- replace '[data-hook='homepage_products']' -->
<div data-hook="homepage_collections">
<%= render :partial => 'spree/shared/collections', :locals => { :collection => @products } %>
</div>
<|file_sep|>current/app/o... | 5fe909c192b929144857fbf30008954350f6607f | app/overrides/spree/home/index/replace_products_with_collections.html.erb.deface | app/overrides/spree/home/index/replace_products_with_collections.html.erb.deface | unknown |
<|file_sep|>original/Cargo.toml
repository = "https://github.com/svenstaro/bvh"
documentation = "https://docs.rs/crate/bvh"
keywords = ["bvh", "bounding", "volume", "sah", "aabb"]
license = "MIT"
[dependencies]
approx = "0.5"
rand = "0.8"
log = "0.4"
num = "0.4"
glam = "0.17"
[dev-dependencies]
proptest = "1.0"
obj-r... | repository = "https://github.com/svenstaro/bvh"
documentation = "https://docs.rs/crate/bvh"
keywords = ["bvh", "bounding", "volume", "sah", "aabb"]
license = "MIT"
[dependencies]
approx = "0.5"
rand = "0.8"
log = "0.4"
num = "0.4"
glam = "0.18"
[dev-dependencies]
proptest = "1.0"
obj-rs = "0.6"
float_eq = "0.6"
crite... | <|file_sep|>original/Cargo.toml
repository = "https://github.com/svenstaro/bvh"
documentation = "https://docs.rs/crate/bvh"
keywords = ["bvh", "bounding", "volume", "sah", "aabb"]
license = "MIT"
[dependencies]
approx = "0.5"
rand = "0.8"
log = "0.4"
num = "0.4"
glam = "0.17"
[dev-dependencies]
proptest = "1.0"
obj-r... | f6318465d41519b44a69fa1ee03a1f5bdd531990 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/test-compile.sh
<|file_sep|>current/test-compile.sh
<|file_sep|>updated/test-compile.sh | #!/bin/bash
(php ./bin/pharpiler compile -vvv || exit 1) && \
(mv pharpiler.phar pharpiler.run1.phar || exit 1) && \
(./pharpiler.run1.phar compile -vv || exit 1) && \
(mv pharpiler.phar pharpiler.run2.phar || exit 1) && \
(./pharpiler.run2.phar compile -vv || exit 1) && \
./pharpiler.phar --version | <|file_sep|>original/test-compile.sh
<|file_sep|>current/test-compile.sh
<|file_sep|>updated/test-compile.sh
#!/bin/bash
(php ./bin/pharpiler compile -vvv || exit 1) && \
(mv pharpiler.phar pharpiler.run1.phar || exit 1) && \
(./pharpiler.run1.phar compile -vv || exit 1) && \
(mv pharpiler.phar pharpiler.run2.phar |... | ccfe4799788da8522f6feb5c800252811fe66aa0 | test-compile.sh | test-compile.sh | Shell |
<|file_sep|>original/board/2008.11.txt
2008-October Olio Incubator status report
Olio has been incubating since September 2008.
Olio is a web 2.0 toolkit to help developers evaluate the suitability,
functionality and performance of various web technologies by implementing
a reasonably complex application in several... | 2008-December Olio Incubator status report
Olio has been incubating since September 2008.
Olio is a web 2.0 toolkit to help developers evaluate the suitability,
functionality and performance of various web technologies by implementing
a reasonably complex application in several different technologies.
The project ... | <|file_sep|>original/board/2008.11.txt
2008-October Olio Incubator status report
Olio has been incubating since September 2008.
Olio is a web 2.0 toolkit to help developers evaluate the suitability,
functionality and performance of various web technologies by implementing
a reasonably complex application in several... | 96191ac5bf7c44471f2ae4bf46f70828375b83e3 | board/2008.11.txt | board/2008.11.txt | Text |
<|file_sep|>metadata/com.ktprograms.ohmsnow.yml.diff
original:
updated:
- versionName: v0.1.3-beta
versionCode: 4
commit: v0.1.3-beta
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.ktprograms.ohmsnow.yml
gradle:
- yes
- versionName: v0.1.1-beta
versionCode: 2
... | gradle:
- yes
- versionName: v0.1.2-beta
versionCode: 3
commit: v0.1.2-beta
subdir: app
gradle:
- yes
- versionName: v0.1.3-beta
versionCode: 4
commit: v0.1.3-beta
subdir: app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: v0.1... | <|file_sep|>metadata/com.ktprograms.ohmsnow.yml.diff
original:
updated:
- versionName: v0.1.3-beta
versionCode: 4
commit: v0.1.3-beta
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.ktprograms.ohmsnow.yml
gradle:
- yes
- versionName: v0.1.1-beta
versionCode: 2
... | 2bc3c728a4c87484eb7cd14dacb11e31f1dce0d8 | metadata/com.ktprograms.ohmsnow.yml | metadata/com.ktprograms.ohmsnow.yml | YAML |
<|file_sep|>original/parity-reporter/README.md
Run Parity Trade Reporter with Java:
java -jar <executable> [-t] <configuration-file>
After starting, the trade reporter first replays trades that have taken place
before it started. Then it proceeds to display trades in real time.
By default, the trade reporter for... | java -jar <executable> [-t] <configuration-file>
After starting, the trade reporter first replays trades that have taken place
before it started. Then it proceeds to display trades in real time.
By default, the trade reporter formats its output for display. If the `-t`
option is given, it formats the output as ta... | <|file_sep|>original/parity-reporter/README.md
Run Parity Trade Reporter with Java:
java -jar <executable> [-t] <configuration-file>
After starting, the trade reporter first replays trades that have taken place
before it started. Then it proceeds to display trades in real time.
By default, the trade reporter for... | 2174e69ec16e097a5243bdd3ba995d8db4c8bf7a | parity-reporter/README.md | parity-reporter/README.md | Markdown |
<|file_sep|>original/gcn/metrics.py
import tensorflow as tf
def masked_softmax_cross_entropy(preds, labels, mask):
"""Softmax cross-entropy loss with masking."""
loss = tf.nn.softmax_cross_entropy_with_logits(logits=preds, lables=labels)
mask = tf.cast(mask, dtype=tf.float32)
mask /= tf.reduce_mean(ma... | import tensorflow as tf
def masked_softmax_cross_entropy(preds, labels, mask):
"""Softmax cross-entropy loss with masking."""
loss = tf.nn.softmax_cross_entropy_with_logits(logits=preds, labels=labels)
mask = tf.cast(mask, dtype=tf.float32)
mask /= tf.reduce_mean(mask)
loss *= mask
return tf.r... | <|file_sep|>original/gcn/metrics.py
import tensorflow as tf
def masked_softmax_cross_entropy(preds, labels, mask):
"""Softmax cross-entropy loss with masking."""
loss = tf.nn.softmax_cross_entropy_with_logits(logits=preds, lables=labels)
mask = tf.cast(mask, dtype=tf.float32)
mask /= tf.reduce_mean(ma... | 16553fd759e70d93824407f18cdea419703d85d4 | gcn/metrics.py | gcn/metrics.py | Python |
<|file_sep|>original/readme.md
This is the source repo for the QuickUI runtime.
The main QuickUI project home page is at http://quickui.org.
Build
-----
1. Install the packages which the build depends upon:
```
npm install
```
2. Build:
```
grunt
```
<|file_sep|>current/readme.md
This is the source re... | Notice
------
QuickUI is no longer under active development.
Many thanks to all who have supported this project. People interested in
component-based web user interface design and development should look at
HTML web components, for example those possible in the
[Polymer](http://polymer-project.org) framework.
About
--... | <|file_sep|>original/readme.md
This is the source repo for the QuickUI runtime.
The main QuickUI project home page is at http://quickui.org.
Build
-----
1. Install the packages which the build depends upon:
```
npm install
```
2. Build:
```
grunt
```
<|file_sep|>current/readme.md
This is the source re... | 8cc68b43f2a3941fe08a93252f0d136b11d93b72 | readme.md | readme.md | Markdown |
<|file_sep|>original/utils/test_sims.py
<|file_sep|>current/utils/test_sims.py
<|file_sep|>updated/utils/test_sims.py | import unittest
import random
import math
import sims
TRIALS = 1000 # number of trials to run per test case
MAX_DEGREE = 1.5 # max degree of freedom; refer to https://en.wikipedia.org/wiki/Pearson's_chi-squared_test
class TestCoinSim(unittest.TestCase):
def runTest(self):
# bad input
self.assertRaises(Exception... | <|file_sep|>original/utils/test_sims.py
<|file_sep|>current/utils/test_sims.py
<|file_sep|>updated/utils/test_sims.py
import unittest
import random
import math
import sims
TRIALS = 1000 # number of trials to run per test case
MAX_DEGREE = 1.5 # max degree of freedom; refer to https://en.wikipedia.org/wiki/Pearson's... | 374278b45dd8be76ef897881f61144ae79318827 | utils/test_sims.py | utils/test_sims.py | Python |
<|file_sep|>route-urls.js.diff
original:
updated:
var regexs = {};
<|file_sep|>original/route-urls.js
if (route.name) {
pathsByName[route.name] = path;
}
});
var path = function (name, params) {
var url = pathsByName[name] || "/";
angular.forEach(params || {}, ... | if (route.name) {
pathsByName[route.name] = path;
}
});
var regexs = {};
var path = function (name, params) {
var url = pathsByName[name] || "/";
angular.forEach(params || {}, function (value, key) {
var regex = regexs[key];
if (regex ==... | <|file_sep|>route-urls.js.diff
original:
updated:
var regexs = {};
<|file_sep|>original/route-urls.js
if (route.name) {
pathsByName[route.name] = path;
}
});
var path = function (name, params) {
var url = pathsByName[name] || "/";
angular.forEach(params || {}, ... | c56f979acc1fb4dc262d61c418f9513c778aeaa4 | route-urls.js | route-urls.js | JavaScript |
<|file_sep|>circle.yml.diff
original:
GOPATH: "${HOME}/.go_workspace:/usr/local/go_workspace:${HOME}/.go_project"
updated:
GOPATH: "${HOME}/.go_project"
<|file_sep|>circle.yml.diff
original:
- ln -s ${HOME}/libcalico-go ${HOME}/.go_project/src/github.com/tigera/
updated:
- mv ${HOME}/libcalico-go ${HOME... | - mkdir -p download
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
- sudo rm -rf /usr/local/go
- sudo tar -C /usr/local -xzf download/$GODIST
dependencies:
cache_directories:
- ~/download
checkout:
post:
- mkdir -p ${HOME}/.go_project/s... | <|file_sep|>circle.yml.diff
original:
GOPATH: "${HOME}/.go_workspace:/usr/local/go_workspace:${HOME}/.go_project"
updated:
GOPATH: "${HOME}/.go_project"
<|file_sep|>circle.yml.diff
original:
- ln -s ${HOME}/libcalico-go ${HOME}/.go_project/src/github.com/tigera/
updated:
- mv ${HOME}/libcalico-go ${HOME... | 59c8a62bd680bfaec2d1cc0efe6f9f7a17467df0 | circle.yml | circle.yml | YAML |
<|file_sep|>original/_posts/2015-06-07-heroku-rake-tasks.markdown
<|file_sep|>current/_posts/2015-06-07-heroku-rake-tasks.markdown
<|file_sep|>updated/_posts/2015-06-07-heroku-rake-tasks.markdown | ---
layout: post
title: "Heroku Rake tasks"
date: 2015-06-07 14:41:00
categories: general
---
In the project I’m currently working on, we use [Heroku][heroku] as infrasture provider. [Heroku][heroku] has its own command line operations to execute tasks like db backups, managing addons, etc.
Last March, ... | <|file_sep|>original/_posts/2015-06-07-heroku-rake-tasks.markdown
<|file_sep|>current/_posts/2015-06-07-heroku-rake-tasks.markdown
<|file_sep|>updated/_posts/2015-06-07-heroku-rake-tasks.markdown
---
layout: post
title: "Heroku Rake tasks"
date: 2015-06-07 14:41:00
categories: general
---
In the projec... | c84433e0034eb0f87e7e379209194c0a75ea3df1 | _posts/2015-06-07-heroku-rake-tasks.markdown | _posts/2015-06-07-heroku-rake-tasks.markdown | Markdown |
<|file_sep|>test/db.rb.diff
original:
DB.run("use #{DB.opts[:database]}") if DB.opts[:adapter] =~ /(impala|hive)/
updated:
if DB.database_type == :impala
# Make sure to issue USE statement for every new connection
ac = DB.pool.after_connect
DB.pool.after_connect = proc do |conn|
DB.send(:log_connection_execut... |
DB = Object.new.extend(Sequelizer).db unless defined?(DB)
if DB.database_type == :impala
# Make sure to issue USE statement for every new connection
ac = DB.pool.after_connect
DB.pool.after_connect = proc do |conn|
DB.send(:log_connection_execute, conn, "USE #{DB.opts[:database]}")
ac.call(conn) if ac
... | <|file_sep|>test/db.rb.diff
original:
DB.run("use #{DB.opts[:database]}") if DB.opts[:adapter] =~ /(impala|hive)/
updated:
if DB.database_type == :impala
# Make sure to issue USE statement for every new connection
ac = DB.pool.after_connect
DB.pool.after_connect = proc do |conn|
DB.send(:log_connection_execut... | 70bcb296398b90840f2c02731b26d005014304b0 | test/db.rb | test/db.rb | Ruby |
<|file_sep|>original/src/symbolicEngine/symbolicElement.cpp
#include "SymbolicEngine.h"
SymbolicElement::SymbolicElement(std::stringstream &dst, std::stringstream &src, uint64_t id)
{
//this->isTainted = !TAINTED;
this->source = new std::stringstream(src.str());
this->destination = new std::stringstream... |
#include "SymbolicEngine.h"
SymbolicElement::SymbolicElement(std::stringstream &dst, std::stringstream &src, uint64_t id)
{
this->isTainted = false;
this->source = new std::stringstream(src.str());
this->destination = new std::stringstream(dst.str());
this->expression = new std::stringstream();
*t... | <|file_sep|>original/src/symbolicEngine/symbolicElement.cpp
#include "SymbolicEngine.h"
SymbolicElement::SymbolicElement(std::stringstream &dst, std::stringstream &src, uint64_t id)
{
//this->isTainted = !TAINTED;
this->source = new std::stringstream(src.str());
this->destination = new std::stringstream... | 7bf9f5339cbab6555c5f171daa07851ff0e7502e | src/symbolicEngine/symbolicElement.cpp | src/symbolicEngine/symbolicElement.cpp | C++ |
<|file_sep|>website/source/layouts/_header.slim.diff
original:
a href='https://github.com/karolsluszniak' Karol Sluszniak
updated:
a href='https://cloudless.pl' Karol Sluszniak
<|file_sep|>original/website/source/layouts/_header.slim
#header
.main-area
.cell
.logo Cloudless Box
.author... | #header
.main-area
.cell
.logo Cloudless Box
.author
= 'by '
a href='https://cloudless.pl' Karol Sluszniak
.lead
.line One Chef cookbook to rule all your webservers.
.line One webserver to rule many webapps.
.line One way ticket out of Heroku.
.li... | <|file_sep|>website/source/layouts/_header.slim.diff
original:
a href='https://github.com/karolsluszniak' Karol Sluszniak
updated:
a href='https://cloudless.pl' Karol Sluszniak
<|file_sep|>original/website/source/layouts/_header.slim
#header
.main-area
.cell
.logo Cloudless Box
.author... | 67aeeaf53e5654f9d0439f246e7b51717d7b899f | website/source/layouts/_header.slim | website/source/layouts/_header.slim | Slim |
<|file_sep|>viper/parser/grammar.py.diff
original:
from .languages import SPPF, make_sppf
updated:
from .ast import ASTNode
from .languages import ParseTreeChar, make_sppf
<|file_sep|>viper/parser/grammar.py.diff
original:
def parse_rule(self, rule: str, lexemes: List[Lexeme]) -> SPPF:
updated:
def parse_rule(s... | from typing import List
class Grammar:
def __init__(self, grammar_filename: str):
self.file = grammar_filename
self.rules = linguify_grammar_file(self.file)
def parse_rule(self, rule: str, lexemes: List[Lexeme]) -> ASTNode:
lang = self.rules[rule]
sppf = make_sppf(lang, lexeme... | <|file_sep|>viper/parser/grammar.py.diff
original:
from .languages import SPPF, make_sppf
updated:
from .ast import ASTNode
from .languages import ParseTreeChar, make_sppf
<|file_sep|>viper/parser/grammar.py.diff
original:
def parse_rule(self, rule: str, lexemes: List[Lexeme]) -> SPPF:
updated:
def parse_rule(s... | 32587292baab9ed1d994fc1643d4bc004832a575 | viper/parser/grammar.py | viper/parser/grammar.py | Python |
<|file_sep|>original/tests/selenium/run-selenium-suite.sh.jinja
Xvfb :10 -ac &
export DISPLAY=:10
java -jar /usr/bin/selenium-server.jar -multiwindow -htmlSuite "*firefox" "{{pillar['directorzone']['selenium-test-url']}}" "{{pillar['directorzone']['selenium-test-root']}}/suite.html" "report.html" -debug
<|file_sep|>cur... | Xvfb :10 -ac &
export DISPLAY=:10
java -jar /usr/bin/selenium-server.jar -multiwindow -htmlSuite "*firefox" "{{pillar['directorzone']['selenium-test-url']}}" "{{pillar['directorzone']['selenium-test-root']}}/suite.html" "report.html" | <|file_sep|>original/tests/selenium/run-selenium-suite.sh.jinja
Xvfb :10 -ac &
export DISPLAY=:10
java -jar /usr/bin/selenium-server.jar -multiwindow -htmlSuite "*firefox" "{{pillar['directorzone']['selenium-test-url']}}" "{{pillar['directorzone']['selenium-test-root']}}/suite.html" "report.html" -debug
<|file_sep|>cur... | f0dc6126e74722240adfec81ff9887de86ef2d2a | tests/selenium/run-selenium-suite.sh.jinja | tests/selenium/run-selenium-suite.sh.jinja | HTML+Django |
<|file_sep|>original/package.json
{
"amd": {},
"volo": {
"baseUrl": "lib",
"dependencies": {
"domReady": "github:requirejs/domReady/2.0.1",
"webL10n": "github:sugarlabs/webL10n/master"
}
},
"devDependencies": {
"eslint": "^3.18.0",
"eslint-config-standard": "^7.1.0",
"eslint-... | {
"amd": {},
"volo": {
"baseUrl": "lib",
"dependencies": {
"domReady": "github:requirejs/domReady/2.0.1",
"webL10n": "github:sugarlabs/webL10n/master"
}
},
"devDependencies": {
"eslint": "^3.18.0",
"eslint-config-standard": "^7.1.0",
"eslint-plugin-promise": "^4.2.1",
"es... | <|file_sep|>original/package.json
{
"amd": {},
"volo": {
"baseUrl": "lib",
"dependencies": {
"domReady": "github:requirejs/domReady/2.0.1",
"webL10n": "github:sugarlabs/webL10n/master"
}
},
"devDependencies": {
"eslint": "^3.18.0",
"eslint-config-standard": "^7.1.0",
"eslint-... | 02079f68547c2164fba593e74b9d02aadaf9b4bb | package.json | package.json | JSON |
<|file_sep|>original/package.json
{
"name": "planer",
"version": "1.0.2",
"description": "Remove reply quotations from emails",
"main": "lib/planer.js",
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"scripts": {
"test": "mocha test/",
"compile": "coffee -o lib -c src"
},
"... | {
"name": "planer",
"version": "1.0.3",
"description": "Remove reply quotations from emails",
"main": "lib/planer.js",
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"scripts": {
"test": "mocha test/",
"compile": "coffee -o lib -c src"
},
"repository": {
"type": "git",
... | <|file_sep|>original/package.json
{
"name": "planer",
"version": "1.0.2",
"description": "Remove reply quotations from emails",
"main": "lib/planer.js",
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"scripts": {
"test": "mocha test/",
"compile": "coffee -o lib -c src"
},
"... | 570ca15a675ef6343792811830825c289a2ca651 | package.json | package.json | JSON |
<|file_sep|>original/configure_mac.sh
#!/bin/sh
brew install ruby python python3 node git tmux
# Symlink configurations
ln -s ~/Code/dotfiles/sublime_text/Preferences.sublime-settings ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Preferences.sublime-settings
ln -s ~/Code/dotfiles/.bash_profile ~/.bash... | #!/bin/sh
brew install ruby python python3 node git tmux
# Symlink configurations
ln -s ~/Code/dotfiles/sublime_text/Preferences.sublime-settings ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Preferences.sublime-settings
ln -s ~/Code/dotfiles/.bash_profile ~/.bash_profile
ln -s ~/Code/dotfiles/.bashrc... | <|file_sep|>original/configure_mac.sh
#!/bin/sh
brew install ruby python python3 node git tmux
# Symlink configurations
ln -s ~/Code/dotfiles/sublime_text/Preferences.sublime-settings ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/Preferences.sublime-settings
ln -s ~/Code/dotfiles/.bash_profile ~/.bash... | 256a5b548aca929a55a10d0c1a82c1dc67a236fa | configure_mac.sh | configure_mac.sh | Shell |
<|file_sep|>original/requirements-dev.txt
sphinx >=1.3
sphinx_rtd_theme
pytest >= 2.5
graphviz
flake8
pylint
coveralls
pytest-cov<2.6.0
wheel
black >= 20.0b0; python_version >= "3.6" and implementation_name == "cpython"
requests-mock
<|file_sep|>current/requirements-dev.txt
sphinx >=1.3
sphinx_rtd_theme
pytest >= 2.5
g... | sphinx >=1.3
sphinx_rtd_theme
pytest >= 2.5
graphviz
flake8
pylint
coveralls
pytest-cov<2.6.0
wheel
black >= 20.0b0; python_version >= "3.6" and implementation_name == "cpython"
requests-mock
twine | <|file_sep|>original/requirements-dev.txt
sphinx >=1.3
sphinx_rtd_theme
pytest >= 2.5
graphviz
flake8
pylint
coveralls
pytest-cov<2.6.0
wheel
black >= 20.0b0; python_version >= "3.6" and implementation_name == "cpython"
requests-mock
<|file_sep|>current/requirements-dev.txt
sphinx >=1.3
sphinx_rtd_theme
pytest >= 2.5
g... | 4e603490a5beba846d910efbbe5c36c13ea77467 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/install_ansible.sh
#!/usr/bin/env sh
set -xe
apt-get update
apt-get install software-properties-common python-software-properties
apt-add-repository ppa:ansible/ansible
apt-get update
# Don't use 2.0.0.1 because we hit https://github.com/ansible/ansible/issues/13763
#apt-get install ansible
apt-... | #!/usr/bin/env sh
set -xe
apt-get update
apt-get install software-properties-common python-software-properties
apt-add-repository ppa:ansible/ansible
apt-get update
# Don't use 2.0.0.1 because we hit https://github.com/ansible/ansible/issues/13763
#apt-get install ansible
apt-get install python-support python-jinja2... | <|file_sep|>original/install_ansible.sh
#!/usr/bin/env sh
set -xe
apt-get update
apt-get install software-properties-common python-software-properties
apt-add-repository ppa:ansible/ansible
apt-get update
# Don't use 2.0.0.1 because we hit https://github.com/ansible/ansible/issues/13763
#apt-get install ansible
apt-... | 61cf0ea8e784e6e370a27e9fda81c37cb6fe04e8 | install_ansible.sh | install_ansible.sh | Shell |
<|file_sep|>original/.github/workflows/ci.yml
matrix:
php: ['7.2', '7.3', '7.4']
name: PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
exten... | matrix:
php: ['7.2', '7.3', '7.4']
name: PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
extensions: amqp, mbstring
coverage: pcov
... | <|file_sep|>original/.github/workflows/ci.yml
matrix:
php: ['7.2', '7.3', '7.4']
name: PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}
exten... | b03c85782a9e1079f0c79d745a1421eb6444f223 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/client.js
var agent = window.navigator.userAgent,
index = agent.indexOf(name)
if (index < 0) { return false }
client.version = parseInt(agent.substr(index + name.length + 1))
client.name = name
return true
}
client.isIE = isClient('MSIE')
client.isFirefox = isClient('Firefo... | if (index < 0) { return false }
client.version = parseInt(agent.substr(index + name.length + 1))
client.name = name
return true
}
client.isIE = isClient('MSIE')
client.isFirefox = isClient('Firefox')
client.isWebkit = client.isWebKit = isClient('WebKit')
client.isChrome = isClient('Chrome')
clie... | <|file_sep|>original/client.js
var agent = window.navigator.userAgent,
index = agent.indexOf(name)
if (index < 0) { return false }
client.version = parseInt(agent.substr(index + name.length + 1))
client.name = name
return true
}
client.isIE = isClient('MSIE')
client.isFirefox = isClient('Firefo... | 5afbebd6633ba70b3ebdef3ce0adec6676a9b40f | client.js | client.js | JavaScript |
<|file_sep|>original/.github/workflows/publish_dev_artifact.yml
<|file_sep|>current/.github/workflows/publish_dev_artifact.yml
<|file_sep|>updated/.github/workflows/publish_dev_artifact.yml | # Workflow which builds .tar.gz and .whl development artifact on each push to
# trunk and stores it as a Github Actions workflow artifact
# NOTE: Those artifacts are not persisted long term and are mostly meant to be
# used for testing and similar
name: Publish dev release bundle
on:
workflow_run:
workflows:
... | <|file_sep|>original/.github/workflows/publish_dev_artifact.yml
<|file_sep|>current/.github/workflows/publish_dev_artifact.yml
<|file_sep|>updated/.github/workflows/publish_dev_artifact.yml
# Workflow which builds .tar.gz and .whl development artifact on each push to
# trunk and stores it as a Github Actions workflow... | 6d39c34532cf2138350b05d0eb329a603aa2534a | .github/workflows/publish_dev_artifact.yml | .github/workflows/publish_dev_artifact.yml | YAML |
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
3.
4.
**Expected behavior**
<!--- If you're suggesting a change/improvement, tell us how it should work -->
<!--- If danger is behaving incorrectly, please include a link to the spec or documentation that supports that your expected behavior is correct. -->
... | 3.
4.
**Expected behavior**
<!--- If you're suggesting a change/improvement, tell us how it should work -->
<!--- If danger is behaving incorrectly, please include a link to the spec or documentation that supports that your expected behavior is correct. -->
**Screenshots**
If applicable, add screenshots to help exp... | <|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
3.
4.
**Expected behavior**
<!--- If you're suggesting a change/improvement, tell us how it should work -->
<!--- If danger is behaving incorrectly, please include a link to the spec or documentation that supports that your expected behavior is correct. -->
... | d9246d26427759187266f0a314583854dd1a58e9 | .github/ISSUE_TEMPLATE/bug_report.md | .github/ISSUE_TEMPLATE/bug_report.md | Markdown |
<|file_sep|>maws.py.diff
original:
updated:
import importlib
<|file_sep|>original/maws.py
maws <command> <subcommand> help
''')
parser.add_argument('command', help='Command to run',
choices = ['help', 'ec2', 'sdb', 'route53', 'r53', 'rds',
'cloudformation', 'cfn' ])
parser.add_argument('--config',
help=... | maws <command> <subcommand> help
''')
parser.add_argument('command', help='Command to run',
choices = ['help', 'ec2', 'sdb', 'route53', 'r53', 'rds',
'cloudformation', 'cfn' ])
parser.add_argument('--config',
help='alternate config file to use (default: cloudconfig.yaml)',
action="store")
# parse_arg... | <|file_sep|>maws.py.diff
original:
updated:
import importlib
<|file_sep|>original/maws.py
maws <command> <subcommand> help
''')
parser.add_argument('command', help='Command to run',
choices = ['help', 'ec2', 'sdb', 'route53', 'r53', 'rds',
'cloudformation', 'cfn' ])
parser.add_argument('--config',
help=... | db4620130cf8444dec7c42bc1f907acdec89dfed | maws.py | maws.py | Python |
<|file_sep|>original/package.json
{
"name": "react-native-chart",
"version": "0.1.6",
"repository": {
"type": "git",
"url": "https://github.com/onefold/react-native-chart.git"
},
"main": "lib/index.js",
"author": "Hyun Cho <hyun@onefold.io> (http://onefold.io)",
"scripts": {
"compile": "./node... | {
"name": "react-native-chart",
"version": "0.1.7",
"repository": {
"type": "git",
"url": "https://github.com/onefold/react-native-chart.git"
},
"main": "lib/index.js",
"author": "Hyun Cho <hyun@onefold.io> (http://onefold.io)",
"scripts": {
"compile": "./node_modules/.bin/babel --presets es20... | <|file_sep|>original/package.json
{
"name": "react-native-chart",
"version": "0.1.6",
"repository": {
"type": "git",
"url": "https://github.com/onefold/react-native-chart.git"
},
"main": "lib/index.js",
"author": "Hyun Cho <hyun@onefold.io> (http://onefold.io)",
"scripts": {
"compile": "./node... | cc4c6d04906b7bf9238e811fe56aea5f100bdbbc | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
# Main dependencies
mozci==0.36.2
pulse_replay==0.2.0
# Required by pulse_replay
MozillaPulse==1.2.2
amqp==1.4.9
anyjson==0.3.3
kombu==3.0.33
pytz==2015.7
# Required by mozci
buildapi-client==0.3.0
ijson==2.2
keyring==6.0
progressbar==2.3
pushlog-client==0.5.0
redo==1.5
requests=... | # Main dependencies
mozci==0.37.0
pulse_replay==0.2.0
# Required by pulse_replay
MozillaPulse==1.2.2
amqp==1.4.9
anyjson==0.3.3
kombu==3.0.33
pytz==2015.7
# Required by mozci
buildapi-client==0.3.0
ijson==2.2
keyring==6.0
progressbar==2.3
pushlog-client==0.5.0
redo==1.5
requests==2.9.1
taskcluster==0.2.0
treeherder-c... | <|file_sep|>original/requirements.txt
# Main dependencies
mozci==0.36.2
pulse_replay==0.2.0
# Required by pulse_replay
MozillaPulse==1.2.2
amqp==1.4.9
anyjson==0.3.3
kombu==3.0.33
pytz==2015.7
# Required by mozci
buildapi-client==0.3.0
ijson==2.2
keyring==6.0
progressbar==2.3
pushlog-client==0.5.0
redo==1.5
requests=... | 9b2b5940af7640b52f741c82674b278f508e61be | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.md
# Usage
<i class="mtg mana-w"></i>
<i class="mtg mana-5"></i>
Hybrids
<i class="mtg hybrid"><span class="white"></span><span class="blue"></span></i>
<i class="mtg hybrid"><span class="mana-2"></span><span class="red"></span></i>
See http://htmlpreview.github.io/?https://github.c... | # Usage
<i class="mtg mana-w"></i>
<i class="mtg mana-5"></i>
Hybrids
<i class="mtg hybrid"><span class="white"></span><span class="blue"></span></i>
<i class="mtg hybrid"><span class="mana-2"></span><span class="red"></span></i>
See https://cdn.rawgit.com/jninnes/mtgicons/master/demo.html
# Contributions
Ma... | <|file_sep|>original/README.md
# Usage
<i class="mtg mana-w"></i>
<i class="mtg mana-5"></i>
Hybrids
<i class="mtg hybrid"><span class="white"></span><span class="blue"></span></i>
<i class="mtg hybrid"><span class="mana-2"></span><span class="red"></span></i>
See http://htmlpreview.github.io/?https://github.c... | cd227af01289be53eea986357c0a0f2795a7c26b | README.md | README.md | Markdown |
<|file_sep|>original/playbooks/deliverables/playbooks/manual/wordpress-install.yml
<|file_sep|>current/playbooks/deliverables/playbooks/manual/wordpress-install.yml
<|file_sep|>updated/playbooks/deliverables/playbooks/manual/wordpress-install.yml | # requires --extra-vars="target='host1:host2:group etc' package='somepackage'"
#
# This playbook searches through the yum history for the latest transaction
# involving a particular package. Once it finds it, it will undo that
# transaction.
- name: Install a new WordPress instance in Fedora's infrastructure.
hosts... | <|file_sep|>original/playbooks/deliverables/playbooks/manual/wordpress-install.yml
<|file_sep|>current/playbooks/deliverables/playbooks/manual/wordpress-install.yml
<|file_sep|>updated/playbooks/deliverables/playbooks/manual/wordpress-install.yml
# requires --extra-vars="target='host1:host2:group etc' package='somepa... | 2f24a84415f24989301705a41b5de05f1fb8cb05 | playbooks/deliverables/playbooks/manual/wordpress-install.yml | playbooks/deliverables/playbooks/manual/wordpress-install.yml | YAML |
<|file_sep|>app/controllers/srpm_all_bugs_controller.rb.diff
original:
updated:
# after_action :print_accessed_fields
<|file_sep|>original/app/controllers/srpm_all_bugs_controller.rb
class SrpmAllBugsController < ApplicationController
def index
@branch = Branch.find_by!(name: params[:branch])
@srpm = @bra... | class SrpmAllBugsController < ApplicationController
# after_action :print_accessed_fields
def index
@branch = Branch.find_by!(name: params[:branch])
@srpm = @branch.srpms.find_by!(name: params[:id])
@all_bugs = AllBugsForSrpm.new(@srpm).decorate
@opened_bugs = OpenedBugsForSrpm.new(@srpm).decorate
... | <|file_sep|>app/controllers/srpm_all_bugs_controller.rb.diff
original:
updated:
# after_action :print_accessed_fields
<|file_sep|>original/app/controllers/srpm_all_bugs_controller.rb
class SrpmAllBugsController < ApplicationController
def index
@branch = Branch.find_by!(name: params[:branch])
@srpm = @bra... | 665f11df44a16b965dae969891b1dd530999a266 | app/controllers/srpm_all_bugs_controller.rb | app/controllers/srpm_all_bugs_controller.rb | Ruby |
<|file_sep|>original/lib/tests/module.js
suite = Mocha.Suite.create(suite, module.slug);
tests = _.extend({
exists: function () {
return browser
.$('#' + module.slug).isDisplayed()
.should.eventually.be.ok;
},
'has a title': function () {
return browser
.$('#' + ... |
suite = Mocha.Suite.create(suite, module.slug);
tests = _.extend({
exists: function () {
return browser
.$('#' + module.slug).isDisplayed()
.should.eventually.be.ok;
},
'contains no error message': function () {
return browser
.hasElementByCssSelector('#' + modul... | <|file_sep|>original/lib/tests/module.js
suite = Mocha.Suite.create(suite, module.slug);
tests = _.extend({
exists: function () {
return browser
.$('#' + module.slug).isDisplayed()
.should.eventually.be.ok;
},
'has a title': function () {
return browser
.$('#' + ... | 570b04a2a5e299089830a43cf0f3a7d1ca392a89 | lib/tests/module.js | lib/tests/module.js | JavaScript |
<|file_sep|>original/.travis.yml
language: cpp
sudo: required
dist: trusty
compiler:
- gcc
os:
- linux
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y git
- sudo apt-get install -y libboost-all-dev
- sudo apt-get install -y libpqxx-3.1 libpqxx3-dev
- sudo apt-get install -y libconfig++
... | sudo: required
dist: trusty
compiler:
- gcc
os:
- linux
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y git
- sudo apt-get install -y libboost-all-dev
- sudo apt-get install -y libpqxx-3.1 libpqxx3-dev
- sudo apt-get install -y libconfig++
- sudo apt-get install -y cmake
- sudo apt... | <|file_sep|>original/.travis.yml
language: cpp
sudo: required
dist: trusty
compiler:
- gcc
os:
- linux
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y git
- sudo apt-get install -y libboost-all-dev
- sudo apt-get install -y libpqxx-3.1 libpqxx3-dev
- sudo apt-get install -y libconfig++
... | dc41c89639fae33f72e799f5cb2549f1cd2a8e0b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Form/UserForm.php
*
* @param string $name
* @param array|object $data
* @param ValidatorInterface $validator
* @param array $options
*/
public function __construct($title, $data, ValidatorInterface $validator, array $options = array())
{
$this->addOptio... | * Constructor.
*
* @param string $name
* @param array|object $data
* @param ValidatorInterface $validator
* @param array $options
*/
public function __construct($title, $data, ValidatorInterface $validator, array $options = array())
{
$this->addOption('theme');
... | <|file_sep|>original/Form/UserForm.php
*
* @param string $name
* @param array|object $data
* @param ValidatorInterface $validator
* @param array $options
*/
public function __construct($title, $data, ValidatorInterface $validator, array $options = array())
{
$this->addOptio... | f8064a2f2c1707bf73a3dc3b14498c0c12d24970 | Form/UserForm.php | Form/UserForm.php | PHP |
<|file_sep|>kovfig.py.diff
original:
loop_count = 10
phrase_model_file = path.join(
updated:
LOOP_COUNT = 10
PHRASE_MODEL_FILE = path.join(
<|file_sep|>kovfig.py.diff
original:
bigram_model_file = path.join(
updated:
BIGRAM_MODEL_FILE = path.join(
<|file_sep|>kovfig.py.diff
original:
"loop_count",
loop_... | # the number of loop for train IBM Model 2
LOOP_COUNT = 10
PHRASE_MODEL_FILE = path.join(
path.abspath(path.dirname(__file__)),
"phrase.model"
)
BIGRAM_MODEL_FILE = path.join(
path.abspath(path.dirname(__file__)),
"bigram.model"
)
if __name__ == '__main__':
print("{} = {}".format(
"LOOP_COU... | <|file_sep|>kovfig.py.diff
original:
loop_count = 10
phrase_model_file = path.join(
updated:
LOOP_COUNT = 10
PHRASE_MODEL_FILE = path.join(
<|file_sep|>kovfig.py.diff
original:
bigram_model_file = path.join(
updated:
BIGRAM_MODEL_FILE = path.join(
<|file_sep|>kovfig.py.diff
original:
"loop_count",
loop_... | fb1f03c7d46d9274f144a767830cf9c81078e8c8 | kovfig.py | kovfig.py | Python |
<|file_sep|>original/app/views/authentication/status.html.erb
<h3>Authenticate with Stack Exchange</h3>
<p>Associate your metasmoke account with your Stack Exchange account to provide feedback through the API.</p>
<% if current_user.stack_exchange_account_id.nil? %>
<%= link_to "Authenticate", identify_auth_url, cla... | <h3>Authenticate with Stack Exchange</h3>
<p>Associate your metasmoke account with your Stack Exchange account to provide feedback through the API.</p>
<% if current_user.stack_exchange_account_id.nil? %>
<%= link_to "Authenticate", identify_auth_url, class: "btn btn-success" %>
<% else %>
<h4><strong>You have alr... | <|file_sep|>original/app/views/authentication/status.html.erb
<h3>Authenticate with Stack Exchange</h3>
<p>Associate your metasmoke account with your Stack Exchange account to provide feedback through the API.</p>
<% if current_user.stack_exchange_account_id.nil? %>
<%= link_to "Authenticate", identify_auth_url, cla... | 88f66c8407bd5ca5443c77fdb3c2755261aa132b | app/views/authentication/status.html.erb | app/views/authentication/status.html.erb | HTML+ERB |
<|file_sep|>content.js.diff
original:
var previous = findHref("prev");
updated:
var prev = findHref("prev");
<|file_sep|>original/content.js
// The complete anchor HTML element (<a>).
var anchor = links[index];
// Not all anchors have text, rels or classes defined.
var rel = (anchor.rel !== undefined) ?... | // The complete anchor HTML element (<a>).
var anchor = links[index];
// Not all anchors have text, rels or classes defined.
var rel = (anchor.rel !== undefined) ? anchor.rel : '';
var text = (anchor.text !== undefined) ? anchor.text.toLowerCase() : '';
var class_name = (anchor.className !== und... | <|file_sep|>content.js.diff
original:
var previous = findHref("prev");
updated:
var prev = findHref("prev");
<|file_sep|>original/content.js
// The complete anchor HTML element (<a>).
var anchor = links[index];
// Not all anchors have text, rels or classes defined.
var rel = (anchor.rel !== undefined) ?... | 99a504052b88d736944dd507d36fa8e6b822660c | content.js | content.js | JavaScript |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2
env:
matrix:
- EMBER_VERSION="~> 1.8.0"
- EMBER_VERSION="~> 1.9.0"
- EMBER_VERSION="~> 1.10.0"
- EMBER_VERSION="~> 1.11.0"
- EMBER_VERSION="~> 1.12.0"
- EMBER_VERSION="~> 1.13.0"
- EMBER_VERSION="~> ... | language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2
env:
matrix:
- EMBER_VERSION="~> 1.8.0"
- EMBER_VERSION="~> 1.9.0"
- EMBER_VERSION="~> 1.10.0"
- EMBER_VERSION="~> 1.11.0"
- EMBER_VERSION="~> 1.12.0"
- EMBER_VERSION="~> 1.13.0"
- EMBER_VERSION="~> 2.0.0"
- EMBER_VERSION="~> 2.... | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.0.0
- 2.1
- 2.2
env:
matrix:
- EMBER_VERSION="~> 1.8.0"
- EMBER_VERSION="~> 1.9.0"
- EMBER_VERSION="~> 1.10.0"
- EMBER_VERSION="~> 1.11.0"
- EMBER_VERSION="~> 1.12.0"
- EMBER_VERSION="~> 1.13.0"
- EMBER_VERSION="~> ... | 9ad6fb342f96af5c40a164a45fcae93b356151e3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>common.py.diff
original:
class McGillException(Exception):
updated:
class error(Exception):
<|file_sep|>common.py.diff
original:
raise McGillException('McGill ID or PIN not provided.')
updated:
raise error('McGill ID or PIN not provided.')
<|file_sep|>original/common.py
'transcript': 'bz... | 'transcript': 'bzsktran.P_Display_Form?user_type=S&tran_type=V'
}
_base_url = 'https://banweb.mcgill.ca/pban1/%s'
urls = {k: _base_url % v for k,v in urls.items()}
browser = mechanize.Browser()
def login(sid=None, pin=None):
if sid is None:
sid = os.environ.get('MCGILL_SID', None)
if pin is None:
... | <|file_sep|>common.py.diff
original:
class McGillException(Exception):
updated:
class error(Exception):
<|file_sep|>common.py.diff
original:
raise McGillException('McGill ID or PIN not provided.')
updated:
raise error('McGill ID or PIN not provided.')
<|file_sep|>original/common.py
'transcript': 'bz... | 16c8f23cd6ad9f9a10592bb40d1a18eb2c673d34 | common.py | common.py | Python |
<|file_sep|>original/rest_framework_json_api/mixins.py
"""
Class Mixins.
"""
class MultipleIDMixin(object):
"""
Override get_queryset for multiple id support
"""
def get_queryset(self):
"""
Override :meth:``get_queryset``
"""
ids = dict(getattr(self.request, 'query_param... | """
Class Mixins.
"""
class MultipleIDMixin(object):
"""
Override get_queryset for multiple id support
"""
def get_queryset(self):
"""
Override :meth:``get_queryset``
"""
if hasattr(self.request, 'query_params'):
ids = dict(self.request.query_params).get('ids... | <|file_sep|>original/rest_framework_json_api/mixins.py
"""
Class Mixins.
"""
class MultipleIDMixin(object):
"""
Override get_queryset for multiple id support
"""
def get_queryset(self):
"""
Override :meth:``get_queryset``
"""
ids = dict(getattr(self.request, 'query_param... | 450e9415f90c92d64f814c363248db8250c5a8f2 | rest_framework_json_api/mixins.py | rest_framework_json_api/mixins.py | Python |
<|file_sep|>original/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.cache/bower
- $HOME/.gradle
- $HOME/.npm
- .gradle
<|file_sep|>current/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.cache/bower
- $HOME/.gradle
- $HOM... | language: java
sudo: false
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.cache/bower
- $HOME/.gradle
- $HOME/.npm
- .gradle
# some npm modules need a newer g++ compiler
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
env:
- CXX=g++-6 | <|file_sep|>original/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.cache/bower
- $HOME/.gradle
- $HOME/.npm
- .gradle
<|file_sep|>current/.travis.yml
language: java
sudo: false
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.cache/bower
- $HOME/.gradle
- $HOM... | a5e04c1168c9f396572876b7a48a299538e21d87 | .travis.yml | .travis.yml | YAML |
<|file_sep|>build/tasks/install-task.coffee.diff
original:
updated:
fs = require 'fs'
<|file_sep|>original/build/tasks/install-task.coffee
if process.platform is 'win32'
runas ?= require 'runas'
copyFolder = path.resolve 'script', 'copy-folder.cmd'
if runas('cmd', ['/c', copyFolder, shellAppDir, ... | grunt.log.error("Failed to copy #{shellAppDir} to #{installDir}")
createShortcut = path.resolve 'script', 'create-shortcut.cmd'
runas('cmd', ['/c', createShortcut, path.join(installDir, 'atom.exe'), 'Atom'])
else if process.platform is 'darwin'
rm installDir
mkdir path.dirname(insta... | <|file_sep|>build/tasks/install-task.coffee.diff
original:
updated:
fs = require 'fs'
<|file_sep|>original/build/tasks/install-task.coffee
if process.platform is 'win32'
runas ?= require 'runas'
copyFolder = path.resolve 'script', 'copy-folder.cmd'
if runas('cmd', ['/c', copyFolder, shellAppDir, ... | 3d8c916a726ff6b837aa865020fbe7d28289f0f0 | build/tasks/install-task.coffee | build/tasks/install-task.coffee | CoffeeScript |
<|file_sep|>api/loyalty-available.php.diff
original:
updated:
$points= (int)$person['points_available']; // might be NULL
<|file_sep|>original/api/loyalty-available.php
$person= person_load($db, $person_id);
if (!$person) {
die_jsonp("No such person.");
}
$q= "SELECT item_id, cost, code, name, retail_price
... | $person= person_load($db, $person_id);
if (!$person) {
die_jsonp("No such person.");
}
$points= (int)$person['points_available']; // might be NULL
$q= "SELECT item_id, cost, code, name, retail_price
FROM loyalty_reward
JOIN item ON item.id = item_id
WHERE cost <= $points
ORDER BY cost DESC... | <|file_sep|>api/loyalty-available.php.diff
original:
updated:
$points= (int)$person['points_available']; // might be NULL
<|file_sep|>original/api/loyalty-available.php
$person= person_load($db, $person_id);
if (!$person) {
die_jsonp("No such person.");
}
$q= "SELECT item_id, cost, code, name, retail_price
... | 5b8cce05ca27b66656227625caa2650f99df155f | api/loyalty-available.php | api/loyalty-available.php | PHP |
<|file_sep|>original/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml
<|file_sep|>current/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml
<|file_sep|>updated/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml | ---
meta:
author: "Christian S.J. Peron"
description: None
enabled: true
name: 942210.yaml
tests:
-
test_title: 942210-1
desc: "chained SQL injection"
stages:
-
stage:
input:
dest_addr: 127.0.0.1
headers:
Host: localhost
met... | <|file_sep|>original/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml
<|file_sep|>current/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml
<|file_sep|>updated/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml
---
meta:
author: "Christian S.J. Peron"
description: None
enabled: true
name... | e78213ce2edb88365a86a593cbe88c92e27f1ab9 | tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml | tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942210.yaml | YAML |
<|file_sep|>wiki/web/templates/layout/app.html.eex.diff
original:
<nav role="navigation">
<ul class="nav nav-pills pull-right">
<li><a href="http://www.phoenixframework.org/docs">Get Started</a></li>
</ul>
</nav>
updated:
<|file_sep|>original/wiki/web/templates/layout/ap... | <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Hello Wiki!</title>
<link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
</head>
<body>
<div class="container">
<header... | <|file_sep|>wiki/web/templates/layout/app.html.eex.diff
original:
<nav role="navigation">
<ul class="nav nav-pills pull-right">
<li><a href="http://www.phoenixframework.org/docs">Get Started</a></li>
</ul>
</nav>
updated:
<|file_sep|>original/wiki/web/templates/layout/ap... | d4c231f5a96c0f63bb531f22ee7e89708f176273 | wiki/web/templates/layout/app.html.eex | wiki/web/templates/layout/app.html.eex | HTML+EEX |
<|file_sep|>original/README.md
# MobTime
Mob timer written in JavaFX
For Timing Mob Sessions
### Use
Download the MacOSX or Windows installer, install and run
Default time in 7 minutes
Click center of screen to start timer
Toolbar
* Pause to pause current user
* Skip to skip to the next user
* Stop to stop rotate... | # MobTime
Mob timer written in JavaFX
For Timing Mob Sessions
### Build
Requires
* Maven 3.x
* JDK 1.8
* JavaFX SDK
To build a jar, run: mvn jfx:jar
To build native on Mac on Windows, run: mvn jfx:native
### Use
Download the MacOSX or Windows installer, install and run
Default time in 7 minutes
Click center of scre... | <|file_sep|>original/README.md
# MobTime
Mob timer written in JavaFX
For Timing Mob Sessions
### Use
Download the MacOSX or Windows installer, install and run
Default time in 7 minutes
Click center of screen to start timer
Toolbar
* Pause to pause current user
* Skip to skip to the next user
* Stop to stop rotate... | 1bd4d963a02552890a72ea1ac75e33b0ed6191e9 | README.md | README.md | Markdown |
<|file_sep|>original/crates/livesplit-auto-splitting/Cargo.toml
[package]
name = "livesplit-auto-splitting"
version = "0.1.0"
authors = ["Christopher Serr <christopher.serr@gmail.com>"]
edition = "2021"
[dependencies]
anyhow = { version = "1.0.45", default-features = false }
log = { version = "0.4.14", default-feature... | [package]
name = "livesplit-auto-splitting"
version = "0.1.0"
authors = ["Christopher Serr <christopher.serr@gmail.com>"]
edition = "2021"
[dependencies]
anyhow = { version = "1.0.45", default-features = false }
log = { version = "0.4.14", default-features = false }
proc-maps = { version = "0.2.0", default-features = ... | <|file_sep|>original/crates/livesplit-auto-splitting/Cargo.toml
[package]
name = "livesplit-auto-splitting"
version = "0.1.0"
authors = ["Christopher Serr <christopher.serr@gmail.com>"]
edition = "2021"
[dependencies]
anyhow = { version = "1.0.45", default-features = false }
log = { version = "0.4.14", default-feature... | 22ec9b8b80784b4b832ec0c9792194d1b7572316 | crates/livesplit-auto-splitting/Cargo.toml | crates/livesplit-auto-splitting/Cargo.toml | TOML |
<|file_sep|>original/checkstyle/install-git-hook.sh
<|file_sep|>current/checkstyle/install-git-hook.sh
<|file_sep|>updated/checkstyle/install-git-hook.sh | #!/bin/bash
#
# This scripts install git pre-commit hook that checks code
# conventions using checkstyle.
CHECKSTYLE_URL="https://sourceforge.net/projects/checkstyle/files/checkstyle/7.4/checkstyle-7.4-all.jar/download"
# get path absolute path to repository
CHECKSTYLE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &&... | <|file_sep|>original/checkstyle/install-git-hook.sh
<|file_sep|>current/checkstyle/install-git-hook.sh
<|file_sep|>updated/checkstyle/install-git-hook.sh
#!/bin/bash
#
# This scripts install git pre-commit hook that checks code
# conventions using checkstyle.
CHECKSTYLE_URL="https://sourceforge.net/projects/checksty... | 71a8268f78809ea4436790cea4d13be07c546ae2 | checkstyle/install-git-hook.sh | checkstyle/install-git-hook.sh | Shell |
<|file_sep|>original/snippet/example/python/sqlalchemy-orm-example.py
<|file_sep|>current/snippet/example/python/sqlalchemy-orm-example.py
<|file_sep|>updated/snippet/example/python/sqlalchemy-orm-example.py | # encoding: utf8
from __future__ import print_function
from sqlalchemy.orm import sessionmaker
from sqlalchemy import create_engine, Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class User(Base):
__tablename__ = 'users'
id = Column(Integer, prima... | <|file_sep|>original/snippet/example/python/sqlalchemy-orm-example.py
<|file_sep|>current/snippet/example/python/sqlalchemy-orm-example.py
<|file_sep|>updated/snippet/example/python/sqlalchemy-orm-example.py
# encoding: utf8
from __future__ import print_function
from sqlalchemy.orm import sessionmaker
from sqlalchem... | 027aa7152e3873c3bfa96c04e4d2ea0b6c345020 | snippet/example/python/sqlalchemy-orm-example.py | snippet/example/python/sqlalchemy-orm-example.py | Python |
<|file_sep|>original/README.md
# About
[](https://travis-ci.org/mnquintana/atom-about)
[](https://david-dm.org/mnquintana/atom-about)
Show useful information about Atom.
!... | # About
[](https://travis-ci.org/mnquintana/atom-about)
[](https://david-dm.org/mnquintana/atom-about)
Show useful information about Atom.
](https://travis-ci.org/mnquintana/atom-about)
[](https://david-dm.org/mnquintana/atom-about)
Show useful information about Atom.
!... | 742103bbc666364525fa1ce9713e50a07b9201e5 | README.md | README.md | Markdown |
<|file_sep|>src/cli.rs.diff
original:
updated:
--graphite-port=<p> The port graphite/carbon is running on [default: 2003].
--graphite-host=<p> The host graphite/carbon is running on [default: 127.0.0.1]
<|file_sep|>original/src/cli.rs
--console Enable the console backend.
--graphite ... | ";
/// Holds the parsed command line arguments
#[derive(RustcDecodable, Debug)]
pub struct Args {
pub flag_port: u16,
pub flag_admin_port: u16,
pub flag_flush_interval: u32,
pub flag_console: bool,
pub flag_graphite: bool,
pub flag_graphite_port: u32,
pub flag_graphite_host: String,
pub... | <|file_sep|>src/cli.rs.diff
original:
updated:
--graphite-port=<p> The port graphite/carbon is running on [default: 2003].
--graphite-host=<p> The host graphite/carbon is running on [default: 127.0.0.1]
<|file_sep|>original/src/cli.rs
--console Enable the console backend.
--graphite ... | 6217b4a5dd234d798dc05a476ec4397b39fba58d | src/cli.rs | src/cli.rs | Rust |
<|file_sep|>original/package.json
{
"name": "nTrapy",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app"
},
"dependencies": {
"express": "3.0.0rc5",
"jade": "*",
"gzippo": "*"
}
}
<|file_sep|>current/package.json
{
"name": "nTrapy",
"version": "0.0.1",
"private": t... | {
"name": "nTrapy",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app"
},
"dependencies": {
"express": "3.0.0rc5",
"jade": "*",
"gzippo": "*",
"connect-sqlite3": "*",
"connect-mysql": "*"
}
} | <|file_sep|>original/package.json
{
"name": "nTrapy",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node app"
},
"dependencies": {
"express": "3.0.0rc5",
"jade": "*",
"gzippo": "*"
}
}
<|file_sep|>current/package.json
{
"name": "nTrapy",
"version": "0.0.1",
"private": t... | 7ab9c7d3872f15d1c4a9db862c22a88d15d4a383 | package.json | package.json | JSON |
<|file_sep|>original/chapter10/wb_chapter10_ex07.pl
<|file_sep|>current/chapter10/wb_chapter10_ex07.pl
<|file_sep|>updated/chapter10/wb_chapter10_ex07.pl | #!C:\strawberry\perl\bin\perl.exe
# Using redo and a naked block, continually prompt a user to guess a secret
# number between 1 and 10
use 5.020;
use warnings;
my $num = int( 1 + rand 10 );
{
print "Guess the number: ";
chomp( my $guess = <STDIN> );
unless ( $guess =~ /\A\s*\d+\z/ ) {
print "En... | <|file_sep|>original/chapter10/wb_chapter10_ex07.pl
<|file_sep|>current/chapter10/wb_chapter10_ex07.pl
<|file_sep|>updated/chapter10/wb_chapter10_ex07.pl
#!C:\strawberry\perl\bin\perl.exe
# Using redo and a naked block, continually prompt a user to guess a secret
# number between 1 and 10
use 5.020;
use warnings;
... | 65ac0287b889f9628a5500f692b60920ca03c9fc | chapter10/wb_chapter10_ex07.pl | chapter10/wb_chapter10_ex07.pl | Perl |
<|file_sep|>original/src/to_ref.rs
fn to_ref(&'a self) -> Self::Ref {
&*self
}
}
impl<'a, T: 'a> ToRef<'a> for &'a mut T {
type Ref = &'a T;
fn to_ref(&'a self) -> Self::Ref {
&*self
}
}
impl<'a, T: 'a> ToMut<'a> for &'a mut T {
type Mut = &'a mut T;
fn to_mut(&'a mut se... | }
}
impl<'a, T: 'a> ToMut<'a> for &'a mut T {
type Mut = &'a mut T;
fn to_mut(&'a mut self) -> Self::Mut {
&mut *self
}
}
impl<'a> ToRef<'a> for () {
type Ref = ();
fn to_ref(&'a self) -> Self::Ref {
()
}
}
impl<'a> ToMut<'a> for () {
type Mut = (); | <|file_sep|>original/src/to_ref.rs
fn to_ref(&'a self) -> Self::Ref {
&*self
}
}
impl<'a, T: 'a> ToRef<'a> for &'a mut T {
type Ref = &'a T;
fn to_ref(&'a self) -> Self::Ref {
&*self
}
}
impl<'a, T: 'a> ToMut<'a> for &'a mut T {
type Mut = &'a mut T;
fn to_mut(&'a mut se... | e73a0a45291e6c46d0fdec5628daac0a4e562676 | src/to_ref.rs | src/to_ref.rs | Rust |
<|file_sep|>original/recipes/dcmstack/meta.yaml
build:
number: 0
script: python setup.py install
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- dcmstack
commands:
- python -c "import dcmstack;"
about:
home: http://dcmstack.readthedocs.io/
license: MIT
... | build:
number: 0
script: python setup.py install
requirements:
build:
- python
- setuptools
run:
- python
- pydicom
- nibabel
test:
imports:
- dcmstack
commands:
- python -c "import dcmstack;"
about:
home: http://dcmstack.readthedocs.io/ | <|file_sep|>original/recipes/dcmstack/meta.yaml
build:
number: 0
script: python setup.py install
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- dcmstack
commands:
- python -c "import dcmstack;"
about:
home: http://dcmstack.readthedocs.io/
license: MIT
... | a727648319a87d1c9fdada50a489c1ba2f3a37b3 | recipes/dcmstack/meta.yaml | recipes/dcmstack/meta.yaml | YAML |
<|file_sep|>original/README.md
# blog-musicasparamissa
Blog do site músicas para missa.
Agora com podcasts.
<|file_sep|>current/README.md
# blog-musicasparamissa
Blog do site músicas para missa.
Agora com podcasts.
<|file_sep|>updated/README.md | # blog-musicasparamissa
Blog do site músicas para missa.
Agora com podcasts... | <|file_sep|>original/README.md
# blog-musicasparamissa
Blog do site músicas para missa.
Agora com podcasts.
<|file_sep|>current/README.md
# blog-musicasparamissa
Blog do site músicas para missa.
Agora com podcasts.
<|file_sep|>updated/README.md
# blog-musicasparamissa
Blog do site músicas para missa.
Agora com podca... | 10dcf2dbc3a26504cb97f31f33842f37d8c728f8 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- make setup
services:
- mongodb
script:
- make test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- make setup
services:
- mongodb
scrip... | language: python
python:
- "2.7"
install:
- make setup
services:
- mongodb
script:
- make test | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- make setup
services:
- mongodb
script:
- make test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- make setup
services:
- mongodb
scrip... | b433c76508485c1d57831dd394b1c3668f1edcc4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test/helperfuncstest.py
<|file_sep|>current/test/helperfuncstest.py
<|file_sep|>updated/test/helperfuncstest.py | #!/usr/bin/python2.4
#
# Copyright (c) 2004-2005 rPath, Inc.
#
import testsuite
testsuite.setup()
from mint_rephelp import MintRepositoryHelper
from mint.userlevels import myProjectCompare
class ProjectTest(MintRepositoryHelper):
def testMyProjectCompare(self):
if not isinstance(myProjectCompare(('not te... | <|file_sep|>original/test/helperfuncstest.py
<|file_sep|>current/test/helperfuncstest.py
<|file_sep|>updated/test/helperfuncstest.py
#!/usr/bin/python2.4
#
# Copyright (c) 2004-2005 rPath, Inc.
#
import testsuite
testsuite.setup()
from mint_rephelp import MintRepositoryHelper
from mint.userlevels import myProjectCo... | 587b8b82de1bf407101b39fd18ef6626c3556547 | test/helperfuncstest.py | test/helperfuncstest.py | Python |
<|file_sep|>original/.travis.yml
---
language: perl
perl:
- "5.20"
- "5.24"
- "5.26"
addons:
apt:
packages:
- ffmpeg
<|file_sep|>current/.travis.yml
---
language: perl
perl:
- "5.20"
- "5.24"
- "5.26"
addons:
apt:
packages:
- ffmpeg
<|file_sep|>updated/.travis.yml | ---
language: perl
perl:
- "5.20"
- "5.24"
- "5.26"
sudo: true
install:
- sudo apt-get install ffmpeg | <|file_sep|>original/.travis.yml
---
language: perl
perl:
- "5.20"
- "5.24"
- "5.26"
addons:
apt:
packages:
- ffmpeg
<|file_sep|>current/.travis.yml
---
language: perl
perl:
- "5.20"
- "5.24"
- "5.26"
addons:
apt:
packages:
- ffmpeg
<|file_sep|>updated/.travis.yml
---
language: perl
... | 711077e402f732d6fae6d873bc16b99e362a7b2f | .travis.yml | .travis.yml | YAML |
<|file_sep|>misc/vim/ftplugin/go/fmt.vim.diff
original:
%!gofmt
updated:
silent %!gofmt
<|file_sep|>misc/vim/ftplugin/go/fmt.vim.diff
original:
%| " output errors returned by gofmt
" TODO(dchest): perhaps, errors should go to quickfix
updated:
let errors = []
for line in getli... | let tokens = matchlist(line, '^\(.\{-}\):\(\d\+\):\(\d\+\)\s*\(.*\)')
if !empty(tokens)
call add(errors, {"filename": @%,
\"lnum": tokens[2],
\"col": tokens[3],
\"text": ... | <|file_sep|>misc/vim/ftplugin/go/fmt.vim.diff
original:
%!gofmt
updated:
silent %!gofmt
<|file_sep|>misc/vim/ftplugin/go/fmt.vim.diff
original:
%| " output errors returned by gofmt
" TODO(dchest): perhaps, errors should go to quickfix
updated:
let errors = []
for line in getli... | 5ac065254921d24d6e5a67f298de06113f958a02 | misc/vim/ftplugin/go/fmt.vim | misc/vim/ftplugin/go/fmt.vim | VimL |
<|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff
original:
#Fri Apr 21 09:27:01 EEST 2017
updated:
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Fri Apr 21 09:27:01 EEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/di... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip | <|file_sep|>gradle/wrapper/gradle-wrapper.properties.diff
original:
#Fri Apr 21 09:27:01 EEST 2017
updated:
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Fri Apr 21 09:27:01 EEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/di... | d58203aead76ee8a0b8963fc0e692cc4e4b593d7 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/src/app/templates/app-render.js
, 'react-router': [false, ['Router', 'Route']] }) %>
<% if (append){%>let mountNode = document.createElement('div')
document.body.appendChild(mountNode)
<%} else {%>let mountNode = document.body
<%}%>
ReactDOM.render((
<Router>
<Route path="/" component={<%=... |
<% if (append){%>let mountNode = document.createElement('div')
document.body.appendChild(mountNode)
<%} else {%>let mountNode = document.body
<%}%>
ReactDOM.render((
<Router>
<Route path="/" component={<%= name %>}>
</Route>
</Router>
), mountNode)<%} else {%><%- imports(
{ 'react': ['React']
, ... | <|file_sep|>original/src/app/templates/app-render.js
, 'react-router': [false, ['Router', 'Route']] }) %>
<% if (append){%>let mountNode = document.createElement('div')
document.body.appendChild(mountNode)
<%} else {%>let mountNode = document.body
<%}%>
ReactDOM.render((
<Router>
<Route path="/" component={<%=... | f5208b2f00772d49285f8df41a6b46da207c8c1a | src/app/templates/app-render.js | src/app/templates/app-render.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.