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/defaults/main.yml
# proxy related parameters
docker_configure_proxy: no
docker_proxy_http: "http://proxy.tld:8080"
docker_proxy_https: "{{ docker_proxy_http }}"
docker_proxy_no_proxy:
- localhost
- 127.0.0.1
# CI parameters
docker_run_tests: no
# repository related parameters
docker_debia... |
# proxy related parameters
docker_configure_proxy: no
docker_proxy_http: "http://proxy.tld:8080"
docker_proxy_https: "{{ docker_proxy_http }}"
docker_proxy_no_proxy:
- localhost
- 127.0.0.1
# CI parameters
docker_run_tests: no
# repository related parameters
docker_debian_repository_key: https://apt.dockerpro... | <|file_sep|>original/defaults/main.yml
# proxy related parameters
docker_configure_proxy: no
docker_proxy_http: "http://proxy.tld:8080"
docker_proxy_https: "{{ docker_proxy_http }}"
docker_proxy_no_proxy:
- localhost
- 127.0.0.1
# CI parameters
docker_run_tests: no
# repository related parameters
docker_debia... | ebb72c98d80de10d58f02b45cfe5272fa43e9595 | defaults/main.yml | defaults/main.yml | YAML |
<|file_sep|>original/lib/timecrunch/cli.rb
require "thor"
module Timecrunch
class CLI < Thor
desc "start MINUTES", "Starts a new timer for MINUTES"
option :s, :banner => "seconds"
def start(minutes)
seconds = options[:s].to_i if options[:s]
minutes = minutes.to_i
times = {
:min... | require "thor"
module Timecrunch
class CLI < Thor
desc "start MINUTES", "Starts a new timer for MINUTES"
option :s, :banner => "seconds"
def start(minutes=0)
seconds = options[:s].to_i if options[:s]
minutes = minutes.to_i
times = {
:minutes => minutes,
:seconds => seco... | <|file_sep|>original/lib/timecrunch/cli.rb
require "thor"
module Timecrunch
class CLI < Thor
desc "start MINUTES", "Starts a new timer for MINUTES"
option :s, :banner => "seconds"
def start(minutes)
seconds = options[:s].to_i if options[:s]
minutes = minutes.to_i
times = {
:min... | 5b7f23809f396e6e1d28659a4d7227bd72cb3995 | lib/timecrunch/cli.rb | lib/timecrunch/cli.rb | Ruby |
<|file_sep|>original/index.js
options = Object(options);
var postcssCachedInstance = postcssCached();
var gulpPlugin = through.obj(function(file, encoding, callback) {
var fileOptions = Object(options);
fileOptions.from = file.path;
fileOptions.map = fileOptions.map || file.sourceMap;
try {
... | options = Object(options);
var postcssCachedInstance = postcssCached();
var gulpPlugin = through.obj(function(file, encoding, callback) {
var fileOptions = Object(options);
fileOptions.from = file.path;
fileOptions.map = fileOptions.map || file.sourceMap;
try {
var result = postcssCachedIn... | <|file_sep|>original/index.js
options = Object(options);
var postcssCachedInstance = postcssCached();
var gulpPlugin = through.obj(function(file, encoding, callback) {
var fileOptions = Object(options);
fileOptions.from = file.path;
fileOptions.map = fileOptions.map || file.sourceMap;
try {
... | cb91bd142484cab9585200dd19fcb6b69ed514c9 | index.js | index.js | JavaScript |
<|file_sep|>original/src/main/java/org/jsoftware/tjconsole/local/ProcessListManagerLoader.java
import com.sun.tools.attach.VirtualMachine;
/**
* Check if tools.jar is available
* Receive local java PIDs
* Try to load agent for JMX
* @author szalik
*/
public class ProcessListManagerLoader {
public static fina... |
import com.sun.tools.attach.VirtualMachine;
/**
* Check if tools.jar is available
* Receive local java PIDs
* Try to load agent for JMX
* @author szalik
*/
public class ProcessListManagerLoader {
public static final String LOCAL_PREFIX = "LOCAL:";
private static ProcessListManager processListManager;
... | <|file_sep|>original/src/main/java/org/jsoftware/tjconsole/local/ProcessListManagerLoader.java
import com.sun.tools.attach.VirtualMachine;
/**
* Check if tools.jar is available
* Receive local java PIDs
* Try to load agent for JMX
* @author szalik
*/
public class ProcessListManagerLoader {
public static fina... | a8563ac3fa61b4087bfeb36762aa0a630b278b34 | src/main/java/org/jsoftware/tjconsole/local/ProcessListManagerLoader.java | src/main/java/org/jsoftware/tjconsole/local/ProcessListManagerLoader.java | Java |
<|file_sep|>original/README.md
### Charrua DHCP Unix Server
[charrua-unix](http://www.github.com/haesbaert/charrua-unix) is an _ISC-licensed_
Unix DHCP daemon based on
[charrua-core](http://www.github.com/haesbaert/charrua-core).
[](https://travis-ci.or... | ### Charrua DHCP Unix Server
[charrua-unix](http://www.github.com/haesbaert/charrua-unix) is an _ISC-licensed_
Unix DHCP daemon based on
[charrua-core](http://www.github.com/haesbaert/charrua-core).
[](https://travis-ci.org/haesbaert/charrua-unix)
####... | <|file_sep|>original/README.md
### Charrua DHCP Unix Server
[charrua-unix](http://www.github.com/haesbaert/charrua-unix) is an _ISC-licensed_
Unix DHCP daemon based on
[charrua-core](http://www.github.com/haesbaert/charrua-core).
[](https://travis-ci.or... | ac917bea57a73cd58c7830600713aef245657c13 | README.md | README.md | Markdown |
<|file_sep|>original/less/forum/extension.less
}
summary {
cursor: pointer;
display: block;
}
}
.no-details {
details {
summary:before {
content: '► ';
}
&.open {
summary:before {
content: '▼ ';
}
}
}
}
<|file_sep|>current/less/forum/extension.less
}
s... | summary:focus {
outline: none;
}
summary {
cursor: pointer;
display: block;
}
}
.no-details {
details {
summary:before {
content: '► ';
}
&.open > summary:before {
content: '▼ ';
}
}
} | <|file_sep|>original/less/forum/extension.less
}
summary {
cursor: pointer;
display: block;
}
}
.no-details {
details {
summary:before {
content: '► ';
}
&.open {
summary:before {
content: '▼ ';
}
}
}
}
<|file_sep|>current/less/forum/extension.less
}
s... | 9efd34bd8291a3b77a055a88bf0896444601caa6 | less/forum/extension.less | less/forum/extension.less | Less |
<|file_sep|>original/composer.json
{
"name": "Anouar Abdessalam",
"email": "dtekind@gmail.com"
}
],
"require": {
"php": ">=5.3.0",
"illuminate/support": "~5.0",
"ext-curl": "*",
"ext-json": "*",
"paypal/rest-api-sdk-php": "1.3.0"
... | {
"name": "Anouar Abdessalam",
"email": "dtekind@gmail.com"
}
],
"require": {
"php": ">=5.3.0",
"illuminate/support": "~5.0",
"ext-curl": "*",
"ext-json": "*",
"paypal/rest-api-sdk-php": "1.11.0"
},
"require-dev":{
"... | <|file_sep|>original/composer.json
{
"name": "Anouar Abdessalam",
"email": "dtekind@gmail.com"
}
],
"require": {
"php": ">=5.3.0",
"illuminate/support": "~5.0",
"ext-curl": "*",
"ext-json": "*",
"paypal/rest-api-sdk-php": "1.3.0"
... | 2cbb84ce1d411ea8f273f051efa22516982dd83a | composer.json | composer.json | JSON |
<|file_sep|>.github/workflows/unity-build-cafemap.yml.diff
original:
activate:
updated:
build:
<|file_sep|>.github/workflows/unity-build-cafemap.yml.diff
original:
uses: webbertakken/unity-builder@1
updated:
uses: webbertakken/unity-builder@v1
<|file_sep|>.github/workflows/unity-build-cafemap.yml.di... | key: Library-CafeMap-Android
restore-keys: |
Library-CafeMap-
Library-
- name: Build for Android
uses: webbertakken/unity-builder@v1
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_UBUNTU }}
with:
projectPath: cafe-map/client/un... | <|file_sep|>.github/workflows/unity-build-cafemap.yml.diff
original:
activate:
updated:
build:
<|file_sep|>.github/workflows/unity-build-cafemap.yml.diff
original:
uses: webbertakken/unity-builder@1
updated:
uses: webbertakken/unity-builder@v1
<|file_sep|>.github/workflows/unity-build-cafemap.yml.di... | 63b68df9f3a8a94acdf73b7457ccf7dd5c65744d | .github/workflows/unity-build-cafemap.yml | .github/workflows/unity-build-cafemap.yml | YAML |
<|file_sep|>config/__init__.py.diff
original:
#TODO: format this to match the dicts generated by configparser from files.
updated:
<|file_sep|>config/__init__.py.diff
original:
# default database path is ../db/test.db relative to this file
"db_path": os.path.join(
os.path.dirname(os.path.dirname(__... | cfg_path = os.path.dirname(__file__)
filename = os.path.join(cfg_path, "config.ini")
cp = configparser.ConfigParser() #_CONFIG_DEFAULTS)
# read default values from dict
cp.read_dict(_CONFIG_DEFAULTS)
#TODO: use logging instead of print...
print("Using configuration file " + filename)
cp.read(file... | <|file_sep|>config/__init__.py.diff
original:
#TODO: format this to match the dicts generated by configparser from files.
updated:
<|file_sep|>config/__init__.py.diff
original:
# default database path is ../db/test.db relative to this file
"db_path": os.path.join(
os.path.dirname(os.path.dirname(__... | c15bbff2fbe9f4063ca0776262526e5270eefc1e | config/__init__.py | config/__init__.py | Python |
<|file_sep|>original/git/aliases.zsh
# Use `hub` as our git wrapper:
# http://defunkt.github.com/hub/
hub_path=$(which hub)
if (( $+commands[hub] ))
then
alias git=$hub_path
fi
# The rest of my fun git aliases
alias gl='git pull --prune'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset... | # Use `hub` as our git wrapper:
# http://defunkt.github.com/hub/
hub_path=$(readlink -f `which hub`)
if (( $+commands[hub] ))
then
alias git=$hub_path
fi
# The rest of my fun git aliases
alias gl='git pull --prune'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %C... | <|file_sep|>original/git/aliases.zsh
# Use `hub` as our git wrapper:
# http://defunkt.github.com/hub/
hub_path=$(which hub)
if (( $+commands[hub] ))
then
alias git=$hub_path
fi
# The rest of my fun git aliases
alias gl='git pull --prune'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset... | 2e59b107b947d5fc07a639283cbb92fde4751efd | git/aliases.zsh | git/aliases.zsh | Shell |
<|file_sep|>original/src/main/java/net/imagej/ops/views/DefaultFlatIterable.java
<|file_sep|>current/src/main/java/net/imagej/ops/views/DefaultFlatIterable.java
<|file_sep|>updated/src/main/java/net/imagej/ops/views/DefaultFlatIterable.java | package net.imagej.ops.views;
import net.imagej.ops.view.ViewOps;
import net.imagej.ops.view.ViewOps.FlatIterable;
import net.imglib2.IterableInterval;
import net.imglib2.RandomAccessibleInterval;
import net.imglib2.view.Views;
import org.scijava.plugin.Plugin;
@Plugin(type = ViewOps.FlatIterable.class, name = ViewO... | <|file_sep|>original/src/main/java/net/imagej/ops/views/DefaultFlatIterable.java
<|file_sep|>current/src/main/java/net/imagej/ops/views/DefaultFlatIterable.java
<|file_sep|>updated/src/main/java/net/imagej/ops/views/DefaultFlatIterable.java
package net.imagej.ops.views;
import net.imagej.ops.view.ViewOps;
import net... | 2a6fa77d7dfe3916f040e5860608b1aa42a6b5c6 | src/main/java/net/imagej/ops/views/DefaultFlatIterable.java | src/main/java/net/imagej/ops/views/DefaultFlatIterable.java | Java |
<|file_sep|>lib/active_merchant/billing/integrations/ipay88.rb.diff
original:
# The requery URL upon returning from iPay88
updated:
# The URL to POST your payment form to
<|file_sep|>lib/active_merchant/billing/integrations/ipay88.rb.diff
original:
"https://www.mobile88.com/epayment/enquiry.as... | def self.merchant_key=(key)
self.merch_key = key
end
# The URL to POST your payment form to
def self.service_url
"https://www.mobile88.com/epayment/entry.asp"
end
# The requery URL upon returning from iPay88
def self.entry_url
"http... | <|file_sep|>lib/active_merchant/billing/integrations/ipay88.rb.diff
original:
# The requery URL upon returning from iPay88
updated:
# The URL to POST your payment form to
<|file_sep|>lib/active_merchant/billing/integrations/ipay88.rb.diff
original:
"https://www.mobile88.com/epayment/enquiry.as... | 7101cd5ba95de9baf876d6af1d91680ccb6023cd | lib/active_merchant/billing/integrations/ipay88.rb | lib/active_merchant/billing/integrations/ipay88.rb | Ruby |
<|file_sep|>original/src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/impl/XpmFunctionReferenceImpl.kt
<|file_sep|>current/src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/impl/XpmFunctionReferenceImpl.kt
<|file_sep|>updated/src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/im... | /*
* Copyright (C) 2020 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | <|file_sep|>original/src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/impl/XpmFunctionReferenceImpl.kt
<|file_sep|>current/src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/impl/XpmFunctionReferenceImpl.kt
<|file_sep|>updated/src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/im... | 9a69725c113559f4551fd348d5b0fa385e53d481 | src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/impl/XpmFunctionReferenceImpl.kt | src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/function/impl/XpmFunctionReferenceImpl.kt | Kotlin |
<|file_sep|>original/metadata/com.enrico.filemanager.txt
Issue Tracker:https://github.com/enricocid/Storage-USB/issues
Auto Name:Storage & USB
Summary:Launch storage settings directly from the apps drawer
Description:
Storage-USB is a simple to launch storage settings from the apps drawer, without
having to go via the... | Issue Tracker:https://github.com/enricocid/Storage-USB/issues
Auto Name:Storage & USB
Summary:Launch storage settings directly from the apps drawer
Description:
Storage-USB is a simple to launch storage settings from the apps drawer, without
having to go via the normal way.
.
Repo Type:git
Repo:https://github.com/enr... | <|file_sep|>original/metadata/com.enrico.filemanager.txt
Issue Tracker:https://github.com/enricocid/Storage-USB/issues
Auto Name:Storage & USB
Summary:Launch storage settings directly from the apps drawer
Description:
Storage-USB is a simple to launch storage settings from the apps drawer, without
having to go via the... | 9d290464a895358400b89feb0a800bac960cd860 | metadata/com.enrico.filemanager.txt | metadata/com.enrico.filemanager.txt | Text |
<|file_sep|>original/requirements-dev.txt
-e .
ipython==5.1.0
ipdb==0.10.1
coverage==4.2
flake8==3.2.1
pytest==3.0.5
pytest-cov==2.4.0
mypy-lang==0.4.6
tox==2.4.1
wheel==0.29.0
docutils==0.12
<|file_sep|>current/requirements-dev.txt
-e .
ipython==5.1.0
ipdb==0.10.1
coverage==4.2
flake8==3.2.1
pytest==3.0.5
pytest-cov==... | -e .
ipython==5.1.0
ipdb==0.10.1
coverage==4.2
flake8==3.2.1
pytest==3.0.5
pytest-cov==2.4.0
mypy-lang==0.4.6
tox==2.4.1
wheel==0.29.0
docutils==0.13.1 | <|file_sep|>original/requirements-dev.txt
-e .
ipython==5.1.0
ipdb==0.10.1
coverage==4.2
flake8==3.2.1
pytest==3.0.5
pytest-cov==2.4.0
mypy-lang==0.4.6
tox==2.4.1
wheel==0.29.0
docutils==0.12
<|file_sep|>current/requirements-dev.txt
-e .
ipython==5.1.0
ipdb==0.10.1
coverage==4.2
flake8==3.2.1
pytest==3.0.5
pytest-cov==... | 4d8830aa506fc4bad14c23f24093d2c18d1c139e | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/requirements-test.txt
# test runs requirements (versions we'll be testing against) - automatically updated
pytest==7.1.3 # tests framework used
pytest-cov==4.0.0 # coverage reports to verify tests quality
coverage==6.5.0 # pytest-cov
-e .[tests]
<|file_sep|>current/requirements-test.txt
# test ru... | # test runs requirements (versions we'll be testing against) - automatically updated
pytest==7.2.0 # tests framework used
pytest-cov==4.0.0 # coverage reports to verify tests quality
coverage==6.5.0 # pytest-cov
-e .[tests] | <|file_sep|>original/requirements-test.txt
# test runs requirements (versions we'll be testing against) - automatically updated
pytest==7.1.3 # tests framework used
pytest-cov==4.0.0 # coverage reports to verify tests quality
coverage==6.5.0 # pytest-cov
-e .[tests]
<|file_sep|>current/requirements-test.txt
# test ru... | f32c8d0adf222569949d8c408413e8eb6ba09c3e | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>original/samples/gtkclipboard.lua
<|file_sep|>current/samples/gtkclipboard.lua
<|file_sep|>updated/samples/gtkclipboard.lua | #! /usr/bin/env lua
-- Gtk clipboard sample, adapted from Vala clipboard sample at
-- http://live.gnome.org/Vala/GTKSample#Clipboard
local lgi = require 'lgi'
local Gtk = lgi.Gtk
local Gdk = lgi.Gdk
local app = Gtk.Application { application_id = 'org.lgi.samples.gtkclipboard' }
function app:on_activate()
local e... | <|file_sep|>original/samples/gtkclipboard.lua
<|file_sep|>current/samples/gtkclipboard.lua
<|file_sep|>updated/samples/gtkclipboard.lua
#! /usr/bin/env lua
-- Gtk clipboard sample, adapted from Vala clipboard sample at
-- http://live.gnome.org/Vala/GTKSample#Clipboard
local lgi = require 'lgi'
local Gtk = lgi.Gtk
l... | 7a2ac2ddcc16df901fad3b9239822bad5471f62b | samples/gtkclipboard.lua | samples/gtkclipboard.lua | Lua |
<|file_sep|>original/views/members-table.php
<?hh // strict
final class :nucleus:members-table extends :x:element {
use XHPHelpers;
use XHPReact;
attribute :xhp:html-element;
protected function render(): XHPRoot {
// Self-explanatory :)
$this->constructReactInstance(
'MembersTable',
Map {... | <?hh // strict
final class :nucleus:members-table extends :x:element {
use XHPHelpers;
use XHPReact;
attribute :xhp:html-element;
protected function render(): XHPRoot {
$this->constructReactInstance(
'MembersTable',
Map {'someAttribute' => 'test' }
);
return <div id={$this->getID... | <|file_sep|>original/views/members-table.php
<?hh // strict
final class :nucleus:members-table extends :x:element {
use XHPHelpers;
use XHPReact;
attribute :xhp:html-element;
protected function render(): XHPRoot {
// Self-explanatory :)
$this->constructReactInstance(
'MembersTable',
Map {... | 232480fb5f82a5349db5ed0f9ee3644a5da9a873 | views/members-table.php | views/members-table.php | PHP |
<|file_sep|>app/controllers/checklists_controller.rb.diff
original:
result.concat(x.checklist.all_checklist_items)
updated:
if !x.checklist.nil?
result.concat(x.checklist.all_checklist_items)
end
<|file_sep|>original/app/controllers/checklists_controller.rb
def find_items
... |
def find_items
result = Array.new
@obj.pre_checklist_references.each do |x|
if !x.checklist.nil?
result.concat(x.checklist.all_checklist_items)
end
end
result.concat(@obj.all_checklist_items)
@obj.post_checklist_references.each do |x|
if !x.checklis... | <|file_sep|>app/controllers/checklists_controller.rb.diff
original:
result.concat(x.checklist.all_checklist_items)
updated:
if !x.checklist.nil?
result.concat(x.checklist.all_checklist_items)
end
<|file_sep|>original/app/controllers/checklists_controller.rb
def find_items
... | 00231e95cde8470f74164191b8536f06cd787e79 | app/controllers/checklists_controller.rb | app/controllers/checklists_controller.rb | Ruby |
<|file_sep|>original/org/gemoc/MoCC/solver/fr.inria.aoste.timesquare.ccslkernel.solver.extension.statemachine/build.properties
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
bin/
<|file_sep|>current/org/gemoc/MoCC/solver/fr.inria.aoste.timesquare... | source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml | <|file_sep|>original/org/gemoc/MoCC/solver/fr.inria.aoste.timesquare.ccslkernel.solver.extension.statemachine/build.properties
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
bin/
<|file_sep|>current/org/gemoc/MoCC/solver/fr.inria.aoste.timesquare... | 2d25afc52c61a47bafca1b9cf00aaf66e1139e39 | org/gemoc/MoCC/solver/fr.inria.aoste.timesquare.ccslkernel.solver.extension.statemachine/build.properties | org/gemoc/MoCC/solver/fr.inria.aoste.timesquare.ccslkernel.solver.extension.statemachine/build.properties | INI |
<|file_sep|>original/yoga-demos/yoga-demo-springmvc/src/main/java/org/skyscreamer/yoga/demo/test/controller/MetaDataController.java
<|file_sep|>current/yoga-demos/yoga-demo-springmvc/src/main/java/org/skyscreamer/yoga/demo/test/controller/MetaDataController.java
<|file_sep|>updated/yoga-demos/yoga-demo-springmvc/src/... | package org.skyscreamer.yoga.demo.test.controller;
import org.skyscreamer.yoga.metadata.MetaDataService;
import org.skyscreamer.yoga.metadata.TypeMetaData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Pat... | <|file_sep|>original/yoga-demos/yoga-demo-springmvc/src/main/java/org/skyscreamer/yoga/demo/test/controller/MetaDataController.java
<|file_sep|>current/yoga-demos/yoga-demo-springmvc/src/main/java/org/skyscreamer/yoga/demo/test/controller/MetaDataController.java
<|file_sep|>updated/yoga-demos/yoga-demo-springmvc/src/... | 946592f2e2b70cb094619bd2bbfad771464d52f3 | yoga-demos/yoga-demo-springmvc/src/main/java/org/skyscreamer/yoga/demo/test/controller/MetaDataController.java | yoga-demos/yoga-demo-springmvc/src/main/java/org/skyscreamer/yoga/demo/test/controller/MetaDataController.java | Java |
<|file_sep|>original/src/IssueFilter.jsx
import React from 'react';
export default class IssueFilter extends React.Component {
render() {
return (
<div>This is a placeholder for the Issue Filter.</div>
);
}
}
<|file_sep|>current/src/IssueFilter.jsx
import React from 'react';
export default class Is... | import React from 'react';
export default class IssueFilter extends React.Component { // eslint-disable-line
render() {
return (
<div>This is a placeholder for the Issue Filter.</div>
);
}
}
| <|file_sep|>original/src/IssueFilter.jsx
import React from 'react';
export default class IssueFilter extends React.Component {
render() {
return (
<div>This is a placeholder for the Issue Filter.</div>
);
}
}
<|file_sep|>current/src/IssueFilter.jsx
import React from 'react';
export default class Is... | aa66e1e9b51b962dec5c0dcd0cb76a90e045f552 | src/IssueFilter.jsx | src/IssueFilter.jsx | JSX |
<|file_sep|>metadata/de.hosenhasser.funktrainer.yml.diff
original:
updated:
- versionName: 1.3.1.2
versionCode: 46
commit: 1.3.1.2
subdir: app
gradle:
- yes
prebuild: sed -i -e '/enable true/d' build.gradle
ndk: r16b
<|file_sep|>original/metadata/de.hosenhasser.funktrainer.yml
RepoType... | - yes
prebuild: sed -i -e '/enable true/d' build.gradle
ndk: r16b
- versionName: 1.3.1.2
versionCode: 46
commit: 1.3.1.2
subdir: app
gradle:
- yes
prebuild: sed -i -e '/enable true/d' build.gradle
ndk: r16b
MaintainerNotes: |-
Upstream builds separate APKs for all tar... | <|file_sep|>metadata/de.hosenhasser.funktrainer.yml.diff
original:
updated:
- versionName: 1.3.1.2
versionCode: 46
commit: 1.3.1.2
subdir: app
gradle:
- yes
prebuild: sed -i -e '/enable true/d' build.gradle
ndk: r16b
<|file_sep|>original/metadata/de.hosenhasser.funktrainer.yml
RepoType... | a36f07e5b7516a69b269519b3e52bad336b26d13 | metadata/de.hosenhasser.funktrainer.yml | metadata/de.hosenhasser.funktrainer.yml | YAML |
<|file_sep|>original/requirements/common.txt
PyYAML==3.12
blinker==1.4
pika==0.11.2
six==1.11.0
sqlalchemy==1.2.2
<|file_sep|>current/requirements/common.txt
PyYAML==3.12
blinker==1.4
pika==0.11.2
six==1.11.0
sqlalchemy==1.2.2
<|file_sep|>updated/requirements/common.txt | PyYAML==3.12
blinker==1.4
pika==0.11.2
six==1.11.0
sqlalchemy==1.2.3 | <|file_sep|>original/requirements/common.txt
PyYAML==3.12
blinker==1.4
pika==0.11.2
six==1.11.0
sqlalchemy==1.2.2
<|file_sep|>current/requirements/common.txt
PyYAML==3.12
blinker==1.4
pika==0.11.2
six==1.11.0
sqlalchemy==1.2.2
<|file_sep|>updated/requirements/common.txt
PyYAML==3.12
blinker==1.4
pika==0.11.2
six==1.11.... | 8bd03320937f9cb30ffebaa1b6f41e6bb94627aa | requirements/common.txt | requirements/common.txt | Text |
<|file_sep|>recipes/treematching/meta.yaml.diff
original:
updated:
{% set git_tag = "5ebc2474d8720d87569cf414bd0275010edf8f19" %}
<|file_sep|>recipes/treematching/meta.yaml.diff
original:
git_url: https://github.com/LionelAuroux/treematching
git_tag: 5ebc2474d8720d87569cf414bd0275010edf8f19
updated:
url: https:/... | requirements:
host:
- pip
- python
run:
- python
test:
imports:
- treematching
requires:
- pip
commands:
- pip check
about:
home: https://github.com/LionelAuroux/treematching
license: GPL-2.0-Only
license_family: GPL
license_file: LICENSE
summary: "The module treematching a... | <|file_sep|>recipes/treematching/meta.yaml.diff
original:
updated:
{% set git_tag = "5ebc2474d8720d87569cf414bd0275010edf8f19" %}
<|file_sep|>recipes/treematching/meta.yaml.diff
original:
git_url: https://github.com/LionelAuroux/treematching
git_tag: 5ebc2474d8720d87569cf414bd0275010edf8f19
updated:
url: https:/... | ac8ec34778e8b265fb380a12214dda292b004184 | recipes/treematching/meta.yaml | recipes/treematching/meta.yaml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
install:
- uname -a
- sudo apt-get update -qq
- sudo apt-get install -qq curl protobuf-compiler libprotobuf-dev libncurses5 libc6
- sudo sh -c "curl -k https://raw.github.com/alavrik/piqi-binary/master/Linux-x86_64/piqi > ... | language: python
python:
- "2.6"
- "2.7"
install:
- uname -a
- sudo apt-get update -qq
- sudo apt-get install -qq curl protobuf-compiler libprotobuf-dev libncurses5 libc6
- sudo sh -c "curl -k https://raw.github.com/alavrik/piqi-binary/master/Linux-x86_64/piqi > /usr/bin/piqi"
- sudo chmod +... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
install:
- uname -a
- sudo apt-get update -qq
- sudo apt-get install -qq curl protobuf-compiler libprotobuf-dev libncurses5 libc6
- sudo sh -c "curl -k https://raw.github.com/alavrik/piqi-binary/master/Linux-x86_64/piqi > ... | 0d0bc1af1edadcb6e22bc345b66db6b28051d534 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.rst.diff
original:
.. image:: https://travis-ci.org/cdown/srt.svg?branch=develop
updated:
|travis| |coveralls|
.. |travis| image:: https://travis-ci.org/cdown/srt.svg?branch=develop
<|file_sep|>original/README.rst
pip install -U srt
To install the latest development version directly from GitHu... |
pip install -U git+https://github.com/cdown/srt.git@develop
Testing
-------
|travis| |coveralls|
.. |travis| image:: https://travis-ci.org/cdown/srt.svg?branch=develop
:target: https://travis-ci.org/cdown/srt
:alt: Test status
.. |coveralls| image:: https://coveralls.io/repos/cdown/srt/badge.svg?branch=dev... | <|file_sep|>README.rst.diff
original:
.. image:: https://travis-ci.org/cdown/srt.svg?branch=develop
updated:
|travis| |coveralls|
.. |travis| image:: https://travis-ci.org/cdown/srt.svg?branch=develop
<|file_sep|>original/README.rst
pip install -U srt
To install the latest development version directly from GitHu... | 53d891a4bf4a84215f304a6a1af28639dab7df27 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/recipes/micropip/meta.yaml
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- python >=3.7
- pip
run:
- python >=3.7
test:
imports:
- micropip
commands:
- pip check
requires:
- pip
about:
home: https://pypi.org/proje... | noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- python >=3.7
- pip
run:
- python >=3.7
# From https://github.com/pyodide/pyodide/blob/main/packages/micropip/meta.yaml#L16
- packaging
- pyparsing
test:
imports:
- micropip
commands:
... | <|file_sep|>original/recipes/micropip/meta.yaml
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0
requirements:
host:
- python >=3.7
- pip
run:
- python >=3.7
test:
imports:
- micropip
commands:
- pip check
requires:
- pip
about:
home: https://pypi.org/proje... | 0a40471263598c955213512b863c970daf2226d5 | recipes/micropip/meta.yaml | recipes/micropip/meta.yaml | YAML |
<|file_sep|>original/.forestry/front_matter/templates/home.yml
---
label: home
hide_body: true
is_partial: false
fields:
- type: image_gallery
name: images
label: Featured Image
pages:
- content/en/_index.md
<|file_sep|>current/.forestry/front_matter/templates/home.yml
---
label: home
hide_body: true
is_partial: fa... | ---
label: home
hide_body: true
is_partial: false
fields:
- type: image_gallery
name: images
label: Featured Image
- type: list
- type: select
name: featured_review
config:
source:
type: pages
section: reviews
label: Featured Review
description: Shows on left side below Linn's name
pages:
- ... | <|file_sep|>original/.forestry/front_matter/templates/home.yml
---
label: home
hide_body: true
is_partial: false
fields:
- type: image_gallery
name: images
label: Featured Image
pages:
- content/en/_index.md
<|file_sep|>current/.forestry/front_matter/templates/home.yml
---
label: home
hide_body: true
is_partial: fa... | 65db1122b68cffb533e608264a530f694799ea1b | .forestry/front_matter/templates/home.yml | .forestry/front_matter/templates/home.yml | YAML |
<|file_sep|>original/examples/missingmethod.py
<|file_sep|>current/examples/missingmethod.py
<|file_sep|>updated/examples/missingmethod.py | #!/usr/bin/python3
"""Send an invalid request with missing method member."""
from simpleclient import send_data_to_socket
EXAMPLE = {
"params": {
"filter": {
'store': 'catalog',
'schema': 'product',
'id': '704e418e-682d-4ade-99be-710f2208102e'
}
}
}
def m... | <|file_sep|>original/examples/missingmethod.py
<|file_sep|>current/examples/missingmethod.py
<|file_sep|>updated/examples/missingmethod.py
#!/usr/bin/python3
"""Send an invalid request with missing method member."""
from simpleclient import send_data_to_socket
EXAMPLE = {
"params": {
"filter": {
... | dcd02e0a7b626111bc0fc344df9f6fff2de832ae | examples/missingmethod.py | examples/missingmethod.py | Python |
<|file_sep|>.github/ISSUE_TEMPLATE/bug_report.md.diff
original:
Press `Ctrl+Shift+p` and run the action "Preferences: Open Settings (JSON)",
or press `SPC f e D` if key bindings work for you.
updated:
Press `Ctrl+Shift+p` and run the action "Preferences: Open Settings (JSON)"
<|file_sep|>original/.github/ISSUE_TEMPLAT... |
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
**Settings**
Press `Ctrl+Shift+p` and run the action "Preferences: Open Settings (JS... | <|file_sep|>.github/ISSUE_TEMPLATE/bug_report.md.diff
original:
Press `Ctrl+Shift+p` and run the action "Preferences: Open Settings (JSON)",
or press `SPC f e D` if key bindings work for you.
updated:
Press `Ctrl+Shift+p` and run the action "Preferences: Open Settings (JSON)"
<|file_sep|>original/.github/ISSUE_TEMPLAT... | 78c9aa707938e2347eed3c1b5ca65f9e35c1a50e | .github/ISSUE_TEMPLATE/bug_report.md | .github/ISSUE_TEMPLATE/bug_report.md | Markdown |
<|file_sep|>src/Database.php.diff
original:
updated:
use Singleton;
private $db;
<|file_sep|>src/Database.php.diff
original:
* Handler to SMF's database functions.
updated:
* Handler to ElkArte's database functions.
<|file_sep|>src/Database.php.diff
original:
* @return mixed The $smcFunc return value or fals... | * Handler to ElkArte's database functions.
*
* @example ModHelper\Database::query('', 'SELECT * FROM smf_themes', array());
* @param string $name The name (or key) of the $smcFunc you are calling.
* @param string $arguments This is an array of all arguments passed to the method.
* @return mixed The $db retu... | <|file_sep|>src/Database.php.diff
original:
updated:
use Singleton;
private $db;
<|file_sep|>src/Database.php.diff
original:
* Handler to SMF's database functions.
updated:
* Handler to ElkArte's database functions.
<|file_sep|>src/Database.php.diff
original:
* @return mixed The $smcFunc return value or fals... | 9845b24fc214eb569ebe6fcccf5a93b0623f79e0 | src/Database.php | src/Database.php | PHP |
<|file_sep|>byceps/blueprints/seating_admin/templates/seating_admin/area_index.html.diff
original:
updated:
{%- if area.image_filename %}
<|file_sep|>original/byceps/blueprints/seating_admin/templates/seating_admin/area_index.html
<tbody>
{%- for area in areas.items %}
<tr>
<td>
... | {%- for area in areas.items %}
<tr>
<td>
{{ area.title }}<br>
{{ area.slug|dim }}
</td>
<td>
{%- if area.image_filename %}
{{ area.image_filename }}<br>
{{ '%d × %d Pixel'|format(area.image_width, area.image_height)|dim }}
... | <|file_sep|>byceps/blueprints/seating_admin/templates/seating_admin/area_index.html.diff
original:
updated:
{%- if area.image_filename %}
<|file_sep|>original/byceps/blueprints/seating_admin/templates/seating_admin/area_index.html
<tbody>
{%- for area in areas.items %}
<tr>
<td>
... | 84b248982ad15d9af9df6f9b54bb86bd2501ccfa | byceps/blueprints/seating_admin/templates/seating_admin/area_index.html | byceps/blueprints/seating_admin/templates/seating_admin/area_index.html | HTML |
<|file_sep|>original/test/CMakeLists.txt
include_directories(
"${MAINFOLDER}/src/data"
"${MAINFOLDER}/src/dicom"
"${MAINFOLDER}/src/view"
"${MAINFOLDER}/src/gui"
"${MAINFOLDER}/src/processing"
)
file(GLOB_RECURSE test_SRCS *.cpp *.cxx *.cc *.C *.c *.h *.hpp)
set(test_LIBS ${Qt_LIBRARIES} ${Cerebra_LIBRARIE... | include_directories(
"${MAINFOLDER}/src/data"
"${MAINFOLDER}/src/dicom"
"${MAINFOLDER}/src/view"
"${MAINFOLDER}/src/gui"
"${MAINFOLDER}/src/processing"
)
file(GLOB_RECURSE test_SRCS *.cpp *.cxx *.cc *.C *.c *.h *.hpp)
set(test_LIBS ${Qt_LIBRARIES} ${Cerebra_LIBRARIES} vtkHybrid vtkCommon)
set(test_BIN ${PR... | <|file_sep|>original/test/CMakeLists.txt
include_directories(
"${MAINFOLDER}/src/data"
"${MAINFOLDER}/src/dicom"
"${MAINFOLDER}/src/view"
"${MAINFOLDER}/src/gui"
"${MAINFOLDER}/src/processing"
)
file(GLOB_RECURSE test_SRCS *.cpp *.cxx *.cc *.C *.c *.h *.hpp)
set(test_LIBS ${Qt_LIBRARIES} ${Cerebra_LIBRARIE... | 78be27a4003d218729cf48f4f9e1004599ad9f85 | test/CMakeLists.txt | test/CMakeLists.txt | Text |
<|file_sep|>original/source/services/dataContracts/dataContractsHelper/dataContractsHelper.service.ts
'use strict';
export interface IDataContractsHelper {
versionEndpoint(endpoint: string, versionNumber: number): string;
}
class DataContractsHelper implements IDataContractsHelper {
versionEndpoint(endpoint: string... | 'use strict';
export interface IDataContractsHelper {
versionEndpoint(endpoint: string, versionNumber: number): string;
}
class DataContractsHelper implements IDataContractsHelper {
versionEndpoint(endpoint: string, versionNumber: number): string {
let versionExpression: RegEx = /v[0-9]+/;
let endpointFragments... | <|file_sep|>original/source/services/dataContracts/dataContractsHelper/dataContractsHelper.service.ts
'use strict';
export interface IDataContractsHelper {
versionEndpoint(endpoint: string, versionNumber: number): string;
}
class DataContractsHelper implements IDataContractsHelper {
versionEndpoint(endpoint: string... | 5929280081f43dceffdb5ba24f724abd87f0ad9c | source/services/dataContracts/dataContractsHelper/dataContractsHelper.service.ts | source/services/dataContracts/dataContractsHelper/dataContractsHelper.service.ts | TypeScript |
<|file_sep|>original/.github/workflows/cleanup-pr-assets.yml
types: [closed]
jobs:
remove-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}.wiki
ref: main
token: ${{ secrets.GITHUB_TO... | types: [closed]
jobs:
remove-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}.wiki
ref: master
token: ${{ secrets.GITHUB_TOKEN }}
- name: Prune PR files
run: |
... | <|file_sep|>original/.github/workflows/cleanup-pr-assets.yml
types: [closed]
jobs:
remove-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: ${{ github.repository }}.wiki
ref: main
token: ${{ secrets.GITHUB_TO... | 919477b3e2d971a3960da7c51dc3c1f87466153f | .github/workflows/cleanup-pr-assets.yml | .github/workflows/cleanup-pr-assets.yml | YAML |
<|file_sep|>original/spec/views/batch/edit.html.erb_spec.rb
require 'spec_helper'
describe 'batch/edit.html.erb' do
let(:batch) { stub_model(Batch, id: '123') }
let(:generic_file) { stub_model(GenericFile, id: nil, depositor: 'bob', rights: ['']) }
let(:form) { Sufia::Forms::BatchEditForm.new(generic_file) }
... | require 'spec_helper'
describe 'batch/edit.html.erb' do
let(:batch) { Batch.create }
let(:generic_file) do
GenericFile.new(title: ['some title']).tap do |f|
f.apply_depositor_metadata("bob")
end
end
let(:form) { Sufia::Forms::BatchEditForm.new(generic_file) }
before do
allow(controller).to... | <|file_sep|>original/spec/views/batch/edit.html.erb_spec.rb
require 'spec_helper'
describe 'batch/edit.html.erb' do
let(:batch) { stub_model(Batch, id: '123') }
let(:generic_file) { stub_model(GenericFile, id: nil, depositor: 'bob', rights: ['']) }
let(:form) { Sufia::Forms::BatchEditForm.new(generic_file) }
... | c9e122e7953920f054da0664ca98f9861933dc18 | spec/views/batch/edit.html.erb_spec.rb | spec/views/batch/edit.html.erb_spec.rb | Ruby |
<|file_sep|>app/views/home/_beta.html.haml.diff
original:
%a{title:'Food buyers', href: '/food-buyers'} Food buyers
updated:
%a{href: "hello@openfoodnetwork.org".reverse, target: '_blank', mailto: true} Food buyers
<|file_sep|>original/app/views/home/_beta.html.haml
#beta
.row
.small-12.columns.... | #beta
.row
.small-12.columns.text-center
%h2 S'cuse us
%h5 while we get (more) awesome
%p Open Food Network (beta) is a new service that’s being built right now! Our food producers are currently based around Melbourne and Victoria, and we hope to expand OFN nationally very soon.
%p Want... | <|file_sep|>app/views/home/_beta.html.haml.diff
original:
%a{title:'Food buyers', href: '/food-buyers'} Food buyers
updated:
%a{href: "hello@openfoodnetwork.org".reverse, target: '_blank', mailto: true} Food buyers
<|file_sep|>original/app/views/home/_beta.html.haml
#beta
.row
.small-12.columns.... | c4cd15423c995b0b5fc94dcbfa67d19f887bcfbc | app/views/home/_beta.html.haml | app/views/home/_beta.html.haml | Haml |
<|file_sep|>src/components/nav.js.diff
original:
updated:
import { GitHubIcon } from './icons/GitHub'
<|file_sep|>src/components/nav.js.diff
original:
<div className="flex items-center justify-between py-8 text-gray-800">
updated:
<div className="flex items-center border-b justify-between py-8 text-gray-800">
... | </div>
</Link>
<MenuIcon
className="w-6 h-6 sm:hidden"
onClick={() => onClick((prevState) => !prevState)}
/>
<div className="hidden sm:flex space-x-4">
<Link
to="/projects"
className="font-bold text-gray-500 text-normal hover:underline"
... | <|file_sep|>src/components/nav.js.diff
original:
updated:
import { GitHubIcon } from './icons/GitHub'
<|file_sep|>src/components/nav.js.diff
original:
<div className="flex items-center justify-between py-8 text-gray-800">
updated:
<div className="flex items-center border-b justify-between py-8 text-gray-800">
... | 02dab375a6e1c06b84170f3a038ea6db8e5c342a | src/components/nav.js | src/components/nav.js | JavaScript |
<|file_sep|>lib/main.js.diff
original:
updated:
import languageRegistry from './language-registry';
<|file_sep|>lib/main.js.diff
original:
updated:
import workspace from './workspace';
<|file_sep|>original/lib/main.js
workspaceManager.setUpWorkspace();
workspaceManager.activateEventHandlers();
work... | activate() {
workspaceManager.setUpWorkspace();
workspaceManager.activateEventHandlers();
workspaceManager.activateCommandHandlers();
},
deactivate() {
workspaceManager.cleanUpWorkspace();
workspaceManager.deactivateEventHandlers();
workspaceManager.deactivateCommandHandlers();
worksp... | <|file_sep|>lib/main.js.diff
original:
updated:
import languageRegistry from './language-registry';
<|file_sep|>lib/main.js.diff
original:
updated:
import workspace from './workspace';
<|file_sep|>original/lib/main.js
workspaceManager.setUpWorkspace();
workspaceManager.activateEventHandlers();
work... | 7fc07e35df64869ccd86e4b4a3f956afdeef0f80 | lib/main.js | lib/main.js | JavaScript |
<|file_sep|>original/src/client/components/StickyHeader.js
}
onStickyChange() {
this.setState({isVisible: !this.state.isVisible});
}
render() {
const isVisible = this.state.isVisible;
return (
<Sticky onStickyStateChange={ this.onStickyChange.bind(this) } topOffset={ 200 }
... | isVisible: false
}
}
onStickyChange() {
this.setState({isVisible: !this.state.isVisible});
}
render() {
const isVisible = this.state.isVisible;
return (
<Sticky onStickyStateChange={ this.onStickyChange.bind(this) } topOffset={ 200 }
className={ isVisible ? 'visi... | <|file_sep|>original/src/client/components/StickyHeader.js
}
onStickyChange() {
this.setState({isVisible: !this.state.isVisible});
}
render() {
const isVisible = this.state.isVisible;
return (
<Sticky onStickyStateChange={ this.onStickyChange.bind(this) } topOffset={ 200 }
... | 681a4f361290f73d9f725b499b066f516c529947 | src/client/components/StickyHeader.js | src/client/components/StickyHeader.js | JavaScript |
<|file_sep|>original/README.md
barcode generator
=================
Simple playframwork app rendering barcodes
eg.: http://localhost:9000/9000006001/9000006015/%My20Barcode
Dependencies
============
* Add the barbecue-1.5-beta1 jar to your /lib folder
http://barbecue.sourceforge.net/
<|file_sep|>current/README.md
ba... | barcode generator
=================
Simple playframework app rendering barcodes
Request parameters are (see conf/routes) :
/{<[0-9]+>from}/{<[0-9]+>to}/{label}
eg.: http://localhost:9000/9000006001/9000006015/%My20Barcode
Dependencies
============
* Add the barbecue-1.5-beta1 jar to your /lib folder
http://barb... | <|file_sep|>original/README.md
barcode generator
=================
Simple playframwork app rendering barcodes
eg.: http://localhost:9000/9000006001/9000006015/%My20Barcode
Dependencies
============
* Add the barbecue-1.5-beta1 jar to your /lib folder
http://barbecue.sourceforge.net/
<|file_sep|>current/README.md
ba... | e8be44ed19b457b6fff5184d5f5b86d20247f1f6 | README.md | README.md | Markdown |
<|file_sep|>original/examples/src/org/jgrapes/examples/core/helloworld/Greeter.java
import org.jgrapes.core.Components;
import org.jgrapes.core.annotation.Handler;
import org.jgrapes.core.events.Start;
/**
* A component that displays "Hello World" on start.
*/
public class Greeter extends Component {
@Handler
... |
import org.jgrapes.core.Component;
import org.jgrapes.core.Components;
import org.jgrapes.core.annotation.Handler;
import org.jgrapes.core.events.Start;
/**
* A component that displays "Hello World" on start.
*/
public class Greeter extends Component {
@Handler
public void onStart(Start event) {
Sy... | <|file_sep|>original/examples/src/org/jgrapes/examples/core/helloworld/Greeter.java
import org.jgrapes.core.Components;
import org.jgrapes.core.annotation.Handler;
import org.jgrapes.core.events.Start;
/**
* A component that displays "Hello World" on start.
*/
public class Greeter extends Component {
@Handler
... | fcdca9a9aa8350c0077632acb02ad7fe3dac255e | examples/src/org/jgrapes/examples/core/helloworld/Greeter.java | examples/src/org/jgrapes/examples/core/helloworld/Greeter.java | Java |
<|file_sep|>original/src/Frontend/Core/Header/GoogleAnalytics.php
<|file_sep|>current/src/Frontend/Core/Header/GoogleAnalytics.php
<|file_sep|>updated/src/Frontend/Core/Header/GoogleAnalytics.php | <?php
namespace Frontend\Core\Header;
use Common\Cookie;
use Common\ModulesSettings;
final class GoogleAnalytics
{
/** @var ModulesSettings */
private $modulesSettings;
/**
* @param ModulesSettings $modulesSettings
*/
public function __construct(ModulesSettings $modulesSettings)
{
... | <|file_sep|>original/src/Frontend/Core/Header/GoogleAnalytics.php
<|file_sep|>current/src/Frontend/Core/Header/GoogleAnalytics.php
<|file_sep|>updated/src/Frontend/Core/Header/GoogleAnalytics.php
<?php
namespace Frontend\Core\Header;
use Common\Cookie;
use Common\ModulesSettings;
final class GoogleAnalytics
{
... | e4fc7bed5134c3a9b56e0e3c1de3d239d32bbca8 | src/Frontend/Core/Header/GoogleAnalytics.php | src/Frontend/Core/Header/GoogleAnalytics.php | PHP |
<|file_sep|>original/README.md
<h3 align="center">
<p>
Master:
<a href="https://travis-ci.org/nugato/nucms" title="Build status" target="_blank">
<img src="https://travis-ci.org/nugato/nucms.svg?branch=master" />
</a>
<br>
Dev:
<a href="https://travis-ci.... | <h3 align="center">
<p>
Master:
<a href="https://travis-ci.org/nugato/nucms" title="Build status" target="_blank">
<img src="https://travis-ci.org/nugato/nucms.svg?branch=master" />
</a>
<br>
Dev:
<a href="https://travis-ci.org/nugato/nucms" title="Build ... | <|file_sep|>original/README.md
<h3 align="center">
<p>
Master:
<a href="https://travis-ci.org/nugato/nucms" title="Build status" target="_blank">
<img src="https://travis-ci.org/nugato/nucms.svg?branch=master" />
</a>
<br>
Dev:
<a href="https://travis-ci.... | adf11a0a18bf0cb5dcbd679a6da508c350aa1684 | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.5.4
tox==2.3.1
coverage==4.0.3
Sphinx==1.4.1
cryptography==1.2.3
PyYAML==3.11
requests-mock==0.7.0
setuptools==21.1.0
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.5... | bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.5.4
tox==2.3.1
coverage==4.0.3
Sphinx==1.4.1
cryptography==1.2.3
PyYAML==3.11
requests-mock==1.0.0
setuptools==21.1.0 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.5.4
tox==2.3.1
coverage==4.0.3
Sphinx==1.4.1
cryptography==1.2.3
PyYAML==3.11
requests-mock==0.7.0
setuptools==21.1.0
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.5... | 8c4160309f5fad0048467258b8373d5506587fda | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/VindsidenToday/RHCTodayCell.swift
func configureSelectedBackgroundView() -> Void
{
let vibrancyView = UIVisualEffectView(effect: UIVibrancyEffect.notificationCenterVibrancyEffect())
vibrancyView.frame = self.contentView.bounds
let view = UIView(frame: vibrancyView.... | }
}
class RHCTodayCell: UITableViewCell
{
@IBOutlet weak var arrowImageView: UIImageView!
@IBOutlet weak var speedLabel: UILabel!
@IBOutlet weak var nameLabel: UILabel!
@IBOutlet weak var updatedLabel: UILabel!
@IBOutlet weak var unitLabel: UILabel!
func clearCell() {
self.arrowIm... | <|file_sep|>original/VindsidenToday/RHCTodayCell.swift
func configureSelectedBackgroundView() -> Void
{
let vibrancyView = UIVisualEffectView(effect: UIVibrancyEffect.notificationCenterVibrancyEffect())
vibrancyView.frame = self.contentView.bounds
let view = UIView(frame: vibrancyView.... | c238c168735283cfdf0e206e6f3eac7ea5560d29 | VindsidenToday/RHCTodayCell.swift | VindsidenToday/RHCTodayCell.swift | Swift |
<|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==3.2
factory-boy==3.2.0
Faker==5.6.1
flake8-docstrings==1.5.0
flake8==3.8.4
freezegun==1.0.0
isort==5.6.4
pytest-cov==2.10.1
pytest-django==4.1.0
pytest-factoryboy==2.0.3
pytest==6.2.0
<|file_sep|>current/requirements/dev.txt
-r base.txt
django-... | -r base.txt
django-debug-toolbar==3.2
factory-boy==3.2.0
Faker==5.6.1
flake8-docstrings==1.5.0
flake8==3.8.4
freezegun==1.0.0
isort==5.7.0
pytest-cov==2.10.1
pytest-django==4.1.0
pytest-factoryboy==2.0.3
pytest==6.2.0 | <|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==3.2
factory-boy==3.2.0
Faker==5.6.1
flake8-docstrings==1.5.0
flake8==3.8.4
freezegun==1.0.0
isort==5.6.4
pytest-cov==2.10.1
pytest-django==4.1.0
pytest-factoryboy==2.0.3
pytest==6.2.0
<|file_sep|>current/requirements/dev.txt
-r base.txt
django-... | 1425c8c815f99ff76874972074175730a0960327 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/scripts/debootstrap.env.sh
# Additional environment setting for debootstrap
cmd_subst="
/bin/mount=/bin/true
/sbin/devfs=/bin/true
/sbin/insserv=/bin/true
/sbin/ldconfig=/bin/true
/usr/bin/ischroot=/bin/true
/usr/bin/ldd=@bindir@/ldd.fakechroot
/usr/bin/mkfifo=/bin/true... | # Additional environment setting for debootstrap
cmd_subst="
/bin/mount=/bin/true
/sbin/devfs=/bin/true
/sbin/insserv=/bin/true
/sbin/ldconfig=/bin/true
/usr/bin/ischroot=/bin/true
/usr/bin/ldd=@bindir@/ldd.fakechroot
/usr/bin/mkfifo=/bin/true
/var/lib/dpkg/info/freebsd-utils.postinst=/... | <|file_sep|>original/scripts/debootstrap.env.sh
# Additional environment setting for debootstrap
cmd_subst="
/bin/mount=/bin/true
/sbin/devfs=/bin/true
/sbin/insserv=/bin/true
/sbin/ldconfig=/bin/true
/usr/bin/ischroot=/bin/true
/usr/bin/ldd=@bindir@/ldd.fakechroot
/usr/bin/mkfifo=/bin/true... | e5e28baa5fac40478f3fb8f92bc8fb03329abaab | scripts/debootstrap.env.sh | scripts/debootstrap.env.sh | Shell |
<|file_sep|>original/test/couch_mrview_ddoc_validation_tests.erl
<|file_sep|>current/test/couch_mrview_ddoc_validation_tests.erl
<|file_sep|>updated/test/couch_mrview_ddoc_validation_tests.erl | % Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the License. You may obtain a copy of
% the License at
%
% http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the ... | <|file_sep|>original/test/couch_mrview_ddoc_validation_tests.erl
<|file_sep|>current/test/couch_mrview_ddoc_validation_tests.erl
<|file_sep|>updated/test/couch_mrview_ddoc_validation_tests.erl
% Licensed under the Apache License, Version 2.0 (the "License"); you may not
% use this file except in compliance with the L... | 6343efd6768a3d4d4ff2c6e1b22200f4e4aaca3f | test/couch_mrview_ddoc_validation_tests.erl | test/couch_mrview_ddoc_validation_tests.erl | Erlang |
<|file_sep|>src/arachnida/core.clj.diff
original:
updated:
(require '[clojure.tools.cli :as cli])
<|file_sep|>src/arachnida/core.clj.diff
original:
updated:
(def cli-options
[["-h" "--help" "help" :id :help]
["-g" "--git" "fetch GIT statistic" :id :git]
["-s" "--server" "run... | (defn show-error
[]
(println "Unknown command line option!")
(show-help))
(defn start-server
[]
)
(defn -main
[& args]
(let [all-options (cli/parse-opts args cli-options)
options (all-options :options)
show-help? (options :help)
... | <|file_sep|>src/arachnida/core.clj.diff
original:
updated:
(require '[clojure.tools.cli :as cli])
<|file_sep|>src/arachnida/core.clj.diff
original:
updated:
(def cli-options
[["-h" "--help" "help" :id :help]
["-g" "--git" "fetch GIT statistic" :id :git]
["-s" "--server" "run... | 21604e1150f3a02108df6f0a0c690d18513c2a30 | src/arachnida/core.clj | src/arachnida/core.clj | Clojure |
<|file_sep|>original/requirements.txt
git+git://github.com/cuducos/django-simple-history.git@cuducos-missing-translations-in-pt-br
Django==1.11.4
brazilnum==0.8.8
dj-database-url==0.4.2
django-assets==0.12
django-bulk-update==2.2.0
django-cors-middleware==1.3.1
django-debug-toolbar==1.8
django-extensions==1.8.1
django-... | git+git://github.com/cuducos/django-simple-history.git@cuducos-missing-translations-in-pt-br
Django==1.11.4
brazilnum==0.8.8
dj-database-url==0.4.2
django-assets==0.12
django-bulk-update==2.2.0
django-cors-middleware==1.3.1
django-debug-toolbar==1.8
django-extensions==1.8.1
django-test-without-migrations==0.6
djangores... | <|file_sep|>original/requirements.txt
git+git://github.com/cuducos/django-simple-history.git@cuducos-missing-translations-in-pt-br
Django==1.11.4
brazilnum==0.8.8
dj-database-url==0.4.2
django-assets==0.12
django-bulk-update==2.2.0
django-cors-middleware==1.3.1
django-debug-toolbar==1.8
django-extensions==1.8.1
django-... | 486fb93c1dafe08975a122888ee2624721e4f51d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.2
- tip
before_install:
- sudo apt-get install graphicsmagick
- sudo apt-get install redis-server
- go get code.google.com/p/go.tools/cmd/cover
script:
- go test -v -cover ./...
- go test -v -run=Benchmark -bench=. -benchmem ./...
<|file_sep|>curren... | language: go
go:
- 1.2
- tip
before_install:
- sudo apt-get install graphicsmagick
- sudo apt-get install redis-server
- go get -v code.google.com/p/go.tools/cmd/cover
script:
- go test -v -cover ./...
- go test -v -run=Benchmark -bench=. -benchmem ./... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.2
- tip
before_install:
- sudo apt-get install graphicsmagick
- sudo apt-get install redis-server
- go get code.google.com/p/go.tools/cmd/cover
script:
- go test -v -cover ./...
- go test -v -run=Benchmark -bench=. -benchmem ./...
<|file_sep|>curren... | e5328745c0f47fd3c88c97b51f6b17a8a25c00d6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
import os
class ImportStdModule(TestBase):
mydir = TestBase.compute_mydir(__f... |
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
import os
class ImportStdModule(TestBase):
mydir = TestBase.compute_mydir(__file__)
# We only emulate a fake libc++ in this test and don't use the real libc++,
# but we still add the libc++ ... | <|file_sep|>original/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
import os
class ImportStdModule(TestBase):
mydir = TestBase.compute_mydir(__f... | c0b09cc5d1f51672e696364616552008c13b89c4 | packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py | packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py | Python |
<|file_sep|>original/app/views/root/_stylesheet.html.erb
<%
css_file = local_assigns[:css_file] || 'static'
%>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag css_file, integrity: false %><!--<![endif]-->
<!--[if IE 8]><%= stylesheet_link_tag "#{css_file}-ie8" %><script>var ieVersion = 8;</script><![endif]-->
<%= styl... | <%
css_file = local_assigns[:css_file] || 'static'
%>
<%= stylesheet_link_tag css_file, integrity: false %>
<!--[if lte IE 8]><%= stylesheet_link_tag "#{css_file}-ie8" %><script>var ieVersion = 8;</script><![endif]-->
<%= stylesheet_link_tag "#{css_file}-print", media: "print", integrity: false %> | <|file_sep|>original/app/views/root/_stylesheet.html.erb
<%
css_file = local_assigns[:css_file] || 'static'
%>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag css_file, integrity: false %><!--<![endif]-->
<!--[if IE 8]><%= stylesheet_link_tag "#{css_file}-ie8" %><script>var ieVersion = 8;</script><![endif]-->
<%= styl... | 74c967662782dc95a3729baf6458be606bfbe623 | app/views/root/_stylesheet.html.erb | app/views/root/_stylesheet.html.erb | HTML+ERB |
<|file_sep|>public/css/chef-browser.css.diff
original:
width: 33%;
updated:
<|file_sep|>original/public/css/chef-browser.css
}
/* copy of col-sm-4, without float:left */
#nav-search {
width: 33%;
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
footer {
bord... | }
/* copy of col-sm-4, without float:left */
#nav-search {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
@media (min-width: 768px) {
#nav-search {
width: 33.33333333333333%;
}
}
footer {
border-top: 1px solid #e5e5e5;
background-color: #f5f5f5... | <|file_sep|>public/css/chef-browser.css.diff
original:
width: 33%;
updated:
<|file_sep|>original/public/css/chef-browser.css
}
/* copy of col-sm-4, without float:left */
#nav-search {
width: 33%;
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
footer {
bord... | c5b999a547b8c755f2f03f7e5257a1fcd7fddf0b | public/css/chef-browser.css | public/css/chef-browser.css | CSS |
<|file_sep|>original/src/main/resources/plugin.yml
name: CrystalHello
main: com.crystalcraftmc.crystalhello.CrystalHello
version: 0.1
description: Have the server say hello when you type the command and hold an item!
authors: [jflory7, Jacc734, devastator10k]
website: http://crystalcraftmc.com
commands:
crystal:
... | name: CrystalHello
main: com.crystalcraftmc.crystalhello.CrystalHello
version: 0.1
description: Have the server say hello when you type the command and hold an item!
authors: [jflory7, Jacc734, devastator10k]
website: http://crystalcraftmc.com
commands:
crystal:
description: See if the server feels like saying h... | <|file_sep|>original/src/main/resources/plugin.yml
name: CrystalHello
main: com.crystalcraftmc.crystalhello.CrystalHello
version: 0.1
description: Have the server say hello when you type the command and hold an item!
authors: [jflory7, Jacc734, devastator10k]
website: http://crystalcraftmc.com
commands:
crystal:
... | 5966265dbd38b432fd912279bb65129fb5f425a5 | src/main/resources/plugin.yml | src/main/resources/plugin.yml | YAML |
<|file_sep|>original/tests/Pipe/Test/Util/ProcessorRegistryTest.php
<|file_sep|>current/tests/Pipe/Test/Util/ProcessorRegistryTest.php
<|file_sep|>updated/tests/Pipe/Test/Util/ProcessorRegistryTest.php | <?php
namespace Pipe\Test\Util;
use Pipe\Util\ProcessorRegistry;
class ProcessorRegistryTest extends \PHPUnit_Framework_TestCase
{
protected $registry;
function setup()
{
$this->registry = new ProcessorRegistry;
}
/**
* @test
* @expectedException \InvalidArgumentException
... | <|file_sep|>original/tests/Pipe/Test/Util/ProcessorRegistryTest.php
<|file_sep|>current/tests/Pipe/Test/Util/ProcessorRegistryTest.php
<|file_sep|>updated/tests/Pipe/Test/Util/ProcessorRegistryTest.php
<?php
namespace Pipe\Test\Util;
use Pipe\Util\ProcessorRegistry;
class ProcessorRegistryTest extends \PHPUnit_Fra... | dddaeaae70b5006ebe6524ec19608c8137d1bcdb | tests/Pipe/Test/Util/ProcessorRegistryTest.php | tests/Pipe/Test/Util/ProcessorRegistryTest.php | PHP |
<|file_sep|>original/bin/morning_seal.sh
#!/bin/bash
teams=(
content-tools
email
frontend-design
govuk-madetech
modelling-services
navigation
platform_support
publishing-frontend
reliability-engineering
servicemanual
taxonomy
)
for team in ${teams[*]}; do
./bin/seal.rb $team
done
<|file_sep|>c... | #!/bin/bash
teams=(
content-tools
email
frontend-design
govuk-madetech
modelling-services
platform_support
publishing-frontend
reliability-engineering
servicemanual
taxonomy
)
for team in ${teams[*]}; do
./bin/seal.rb $team
done | <|file_sep|>original/bin/morning_seal.sh
#!/bin/bash
teams=(
content-tools
email
frontend-design
govuk-madetech
modelling-services
navigation
platform_support
publishing-frontend
reliability-engineering
servicemanual
taxonomy
)
for team in ${teams[*]}; do
./bin/seal.rb $team
done
<|file_sep|>c... | 046a5d63f6555ccf13073ae502f3516a324caa32 | bin/morning_seal.sh | bin/morning_seal.sh | Shell |
<|file_sep|>original/zpr.py
@app.errorhandler(404)
def not_found(error):
return make_response(jsonify({'error': 'Not found'}), 404)
# @app.route('/zpr/job')
# def ls_test():
# return json.dumps(call('ls'))
@app.route('{a}/job/<backup_host>'.format(a=api_base), methods=['GET'])
def check_job(backup_host):
... |
@app.errorhandler(404)
def not_found(error):
return make_response(jsonify({'error': 'Not found'}), 404)
# @app.route('/zpr/job')
# def ls_test():
# return json.dumps(call('ls'))
@app.route('{a}/job/<backup_host>'.format(a=api_base), methods=['GET'])
def check_job(backup_host):
job = str(lib_zpr.check_zpr... | <|file_sep|>original/zpr.py
@app.errorhandler(404)
def not_found(error):
return make_response(jsonify({'error': 'Not found'}), 404)
# @app.route('/zpr/job')
# def ls_test():
# return json.dumps(call('ls'))
@app.route('{a}/job/<backup_host>'.format(a=api_base), methods=['GET'])
def check_job(backup_host):
... | 1e7c53398e6a4a72d4027524622b32ee1819f154 | zpr.py | zpr.py | Python |
<|file_sep|>original/sample-code/examples/python/android_web_view.py
<|file_sep|>current/sample-code/examples/python/android_web_view.py
<|file_sep|>updated/sample-code/examples/python/android_web_view.py | import os
import glob
import unittest
from time import sleep
from selenium import webdriver
class TestAndroidWebView(unittest.TestCase):
def setUp(self):
app = os.path.abspath(
glob.glob(os.path.join(os.path.dirname(__file__),
'../../apps/WebViewDemo/target'... | <|file_sep|>original/sample-code/examples/python/android_web_view.py
<|file_sep|>current/sample-code/examples/python/android_web_view.py
<|file_sep|>updated/sample-code/examples/python/android_web_view.py
import os
import glob
import unittest
from time import sleep
from selenium import webdriver
class TestAndroidWeb... | 4cab8d8de1d72e662bb1116773b4196ffb44dac5 | sample-code/examples/python/android_web_view.py | sample-code/examples/python/android_web_view.py | Python |
<|file_sep|>test/integration/regression/304-age.test.js.diff
original:
.expect("Age", 0);
updated:
.expect("Age", "0");
<|file_sep|>test/integration/regression/304-age.test.js.diff
original:
describe("Request with a If-None-Match value which is the different to the ETag", function() {
updated:
describe("Reque... | });
});
});
describe("Request with a If-None-Match value which is different to the ETag", function() {
it(`responds with a 200 and an Age reset to 0`, function() {
this.timeout(30000);
return request(host)
.get("/v3/polyfill.min.js")
.expect(200)
.then(response => {
const eTag = response.headers[... | <|file_sep|>test/integration/regression/304-age.test.js.diff
original:
.expect("Age", 0);
updated:
.expect("Age", "0");
<|file_sep|>test/integration/regression/304-age.test.js.diff
original:
describe("Request with a If-None-Match value which is the different to the ETag", function() {
updated:
describe("Reque... | 4ebf35a6d67551d8ecb9dbdc104ff769e97aebaa | test/integration/regression/304-age.test.js | test/integration/regression/304-age.test.js | JavaScript |
<|file_sep|>original/ci/set-pipeline.sh
<|file_sep|>current/ci/set-pipeline.sh
<|file_sep|>updated/ci/set-pipeline.sh | #!/bin/bash -eu
if ! which lpass > /dev/null 2>&1
then
echo "must have lastpass CLI installed" >&2
exit 1
fi
ssh_key=$(lpass show "Shared-London Services"/london-ci/git-ssh-key --notes)
fly -t london set-pipeline \
--pipeline rabbitmq-upgrade-preparation \
--config pipeline.yml \
--var git-private-ke... | <|file_sep|>original/ci/set-pipeline.sh
<|file_sep|>current/ci/set-pipeline.sh
<|file_sep|>updated/ci/set-pipeline.sh
#!/bin/bash -eu
if ! which lpass > /dev/null 2>&1
then
echo "must have lastpass CLI installed" >&2
exit 1
fi
ssh_key=$(lpass show "Shared-London Services"/london-ci/git-ssh-key --notes)
fly -t ... | d9cb453f5c9f2191395beb90c6aa14c5dc0ecb8d | ci/set-pipeline.sh | ci/set-pipeline.sh | Shell |
<|file_sep|>connectors/kafka/src/test/java/forklift/integration/ConsumerActionTests.java.diff
original:
updated:
<|file_sep|>connectors/kafka/src/test/java/forklift/integration/ConsumerActionTests.java.diff
original:
listener.shutdown();
updated:
timeouts++;
if (sentMessageIds.equ... | });
// Start the consumer.
c1.listen();
sentMessageIds.add(producer.send("message2"));
final Consumer c2 = new Consumer(StringConsumer.class, forklift);
// Shutdown the consumer after all the messages have been processed.
timeouts = 0;
c2.setOutOfMessage... | <|file_sep|>connectors/kafka/src/test/java/forklift/integration/ConsumerActionTests.java.diff
original:
updated:
<|file_sep|>connectors/kafka/src/test/java/forklift/integration/ConsumerActionTests.java.diff
original:
listener.shutdown();
updated:
timeouts++;
if (sentMessageIds.equ... | 98293cf90ccef769fa63072d031fd61e5db4128a | connectors/kafka/src/test/java/forklift/integration/ConsumerActionTests.java | connectors/kafka/src/test/java/forklift/integration/ConsumerActionTests.java | Java |
<|file_sep|>original/README.md
# raspimjpg
Test of dirt simple mjpg streamer for the Raspberry Pi
See
https://github.com/silvanmelchior/userland/tree/master/host_applications/linux/apps/raspicam
for raspimjpeg and raspistill which are programs that I wish that I could have
used. This one is based on raspimjpeg.
<|fil... | # raspimjpg
Test of dirt simple mjpg streamer for the Raspberry Pi
See
https://github.com/silvanmelchior/userland/tree/master/host_applications/linux/apps/raspicam
for raspimjpeg and raspistill which are programs that I wish that I could have
used. This one is based on raspimjpeg.
## Installation
If you're using Ra... | <|file_sep|>original/README.md
# raspimjpg
Test of dirt simple mjpg streamer for the Raspberry Pi
See
https://github.com/silvanmelchior/userland/tree/master/host_applications/linux/apps/raspicam
for raspimjpeg and raspistill which are programs that I wish that I could have
used. This one is based on raspimjpeg.
<|fil... | 570d72605ca87998e4d348f141798a71b93ec585 | README.md | README.md | Markdown |
<|file_sep|>original/StarEngine/jni/Input/GestureManager.h
#pragma once
#ifdef _WIN32
#else
#include <android_native_app_glue.h>
#endif
#include <vector>
#include "BaseGesture.h"
namespace star
{
struct WinInputState;
class GestureManager {
public:
GestureManager();
~GestureManager();
void Update(const Conte... | #pragma once
#ifdef _WIN32
#else
#include <android_native_app_glue.h>
#endif
#include <vector>
#include "BaseGesture.h"
namespace star
{
struct WinInputState
// [COMMENT] Gesture-Tags
// Gestures should also be given a user-defined tag
// when added to the the manager.
// this way the user can look them up by ... | <|file_sep|>original/StarEngine/jni/Input/GestureManager.h
#pragma once
#ifdef _WIN32
#else
#include <android_native_app_glue.h>
#endif
#include <vector>
#include "BaseGesture.h"
namespace star
{
struct WinInputState;
class GestureManager {
public:
GestureManager();
~GestureManager();
void Update(const Conte... | fee691d90d9df4376b6ffffb6516d8a817025c93 | StarEngine/jni/Input/GestureManager.h | StarEngine/jni/Input/GestureManager.h | C |
<|file_sep|>original/frontend/src/components/castlist/CastListItem.js
class CastListItem extends React.Component {
static propTypes = {
role: PropTypes.string.isRequired,
displayRole: PropTypes.bool.isRequired,
person: PropTypes.object.isRequired,
};
renderAvatar() {
const ... | class CastListItem extends React.Component {
static propTypes = {
role: PropTypes.string.isRequired,
displayRole: PropTypes.bool.isRequired,
person: PropTypes.object.isRequired,
};
renderAvatar() {
const { person } = this.props;
const initial = (person.name[0] || '?... | <|file_sep|>original/frontend/src/components/castlist/CastListItem.js
class CastListItem extends React.Component {
static propTypes = {
role: PropTypes.string.isRequired,
displayRole: PropTypes.bool.isRequired,
person: PropTypes.object.isRequired,
};
renderAvatar() {
const ... | d1deb7540e1f5a2f53b4026c188e8ad0af5a4f55 | frontend/src/components/castlist/CastListItem.js | frontend/src/components/castlist/CastListItem.js | JavaScript |
<|file_sep|>plugins/CMakeLists.txt.diff
original:
updated:
if (NOT DISABLE_BLOCKVAULT_CLIENT_SERVER)
<|file_sep|>original/plugins/CMakeLists.txt
add_subdirectory(chain_api_plugin)
add_subdirectory(producer_plugin)
add_subdirectory(producer_api_plugin)
add_subdirectory(history_plugin)
add_subdirectory(history_api_plug... | add_subdirectory(history_api_plugin)
add_subdirectory(state_history_plugin)
add_subdirectory(trace_api_plugin)
add_subdirectory(signature_provider_plugin)
add_subdirectory(resource_monitor_plugin)
add_subdirectory(wallet_plugin)
add_subdirectory(wallet_api_plugin)
add_subdirectory(txn_test_gen_plugin)
add_subdirectory(... | <|file_sep|>plugins/CMakeLists.txt.diff
original:
updated:
if (NOT DISABLE_BLOCKVAULT_CLIENT_SERVER)
<|file_sep|>original/plugins/CMakeLists.txt
add_subdirectory(chain_api_plugin)
add_subdirectory(producer_plugin)
add_subdirectory(producer_api_plugin)
add_subdirectory(history_plugin)
add_subdirectory(history_api_plug... | 810cba716665a64b45a30c35401e4856a1525928 | plugins/CMakeLists.txt | plugins/CMakeLists.txt | Text |
<|file_sep|>original/uber/templates/emails/dealers/dealer_received.txt
Dear {{ group.leader.full_name }},
Thank you for submitting an application for {{ group.name }} to appear in the {{ c.EVENT_NAME }} Marketplace this coming {{ event_dates() }}! We'll be reviewing all applications, and will let you know as soon as ... | Dear {{ group.leader.full_name }},
Thank you for submitting an application for {{ group.name }} to appear in the {{ c.EVENT_NAME }} Marketplace this coming {{ event_dates() }}! We'll be reviewing all applications, and will let you know as soon as possible if yours have been approved. Please understand that due to th... | <|file_sep|>original/uber/templates/emails/dealers/dealer_received.txt
Dear {{ group.leader.full_name }},
Thank you for submitting an application for {{ group.name }} to appear in the {{ c.EVENT_NAME }} Marketplace this coming {{ event_dates() }}! We'll be reviewing all applications, and will let you know as soon as ... | 68234f18fc78ea2a7950bd22302d661bc54336dc | uber/templates/emails/dealers/dealer_received.txt | uber/templates/emails/dealers/dealer_received.txt | Text |
<|file_sep|>original/api.txt
<|file_sep|>current/api.txt
<|file_sep|>updated/api.txt | GET:
/wait/[PID]/[EID]
/see/hand/[PID]
/see/trick/[PID]
/see/contracts/[PID]
/see/last_trick/[PID]
/see/scores/[PID]
POST:
/bid/[PID]
/pass/[PID]
/coinche/[PID]
/play/[PID]
/join
Parameters:
contract: (Suit,Contract_type)
card: (Suit,Rank)
| <|file_sep|>original/api.txt
<|file_sep|>current/api.txt
<|file_sep|>updated/api.txt
GET:
/wait/[PID]/[EID]
/see/hand/[PID]
/see/trick/[PID]
/see/contracts/[PID]
/see/last_trick/[PID]
/see/scores/[PID]
POST:
/bid/[PID]
/pass/[PID]
/coinche/[PID]
/play/[PID]
/join
Parameters:
contract: (Suit,Contract_type)
card: (... | 63c1e2525d7e5b92d78a6df4ac755c62a9aa3553 | api.txt | api.txt | Text |
<|file_sep|>templates/author.html.diff
original:
<h1>
{{ author }}
updated:
<h1>{{ author }}</h1>
<ul class="post-meta-list">
{% if author_page.cv %}
<li class="post-meta-item">
<a href="{{ SITEURL }}/static/cv/{{ author_page.cv }}">
CV
</a>
</li>... | </li>
{% endif %}
{% if author_page %}
{% for s, link in author_page.metadata.items() %}
{% if s.startswith('service__') %}
{% set service = s[9:] %}
<li class="post-meta-item">
<a href="{{ link }}"><i class="fa fa-{{ service }}"></i></a>
... | <|file_sep|>templates/author.html.diff
original:
<h1>
{{ author }}
updated:
<h1>{{ author }}</h1>
<ul class="post-meta-list">
{% if author_page.cv %}
<li class="post-meta-item">
<a href="{{ SITEURL }}/static/cv/{{ author_page.cv }}">
CV
</a>
</li>... | 03b174596e43dc34b95834aa894cde065561052f | templates/author.html | templates/author.html | HTML |
<|file_sep|>original/ravenjs/ravenjs-tests.ts
try {
throwsError();
} catch(e) {
Raven.captureException(e);
Raven.captureException(e, {tags: { key: "value" }});
}
Raven.context(throwsError);
Raven.context({tags: { key: "value" }}, throwsError);
setTimeout(Raven.wrap(throwsError), 1000);
Raven.wrap({logger... |
try {
throwsError();
} catch(e) {
Raven.captureException(e);
Raven.captureException(e, {tags: { key: "value" }});
}
Raven.context(throwsError);
Raven.context({tags: { key: "value" }}, throwsError);
setTimeout(Raven.wrap(throwsError), 1000);
Raven.wrap({logger: "my.module"}, throwsError)();
Raven.setUser... | <|file_sep|>original/ravenjs/ravenjs-tests.ts
try {
throwsError();
} catch(e) {
Raven.captureException(e);
Raven.captureException(e, {tags: { key: "value" }});
}
Raven.context(throwsError);
Raven.context({tags: { key: "value" }}, throwsError);
setTimeout(Raven.wrap(throwsError), 1000);
Raven.wrap({logger... | 03aeef911ff3b195c65c64e0ebf6bf493f8c45f8 | ravenjs/ravenjs-tests.ts | ravenjs/ravenjs-tests.ts | TypeScript |
<|file_sep|>original/src/client/resources/stylesheets/tabs/manager.less
.section {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
border-bottom: 1px solid @tabSeparationColor;
border-right: 1px solid @tabSeparationColor;
&.dragover {
.opac... |
.section {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
border-bottom: 1px solid @tabSeparationColor;
border-right: 1px solid @tabSeparationColor;
&.dragover {
opacity: 0.6;
}
.tabs-header {
position: absolut... | <|file_sep|>original/src/client/resources/stylesheets/tabs/manager.less
.section {
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
border-bottom: 1px solid @tabSeparationColor;
border-right: 1px solid @tabSeparationColor;
&.dragover {
.opac... | 9f3712d9afb1e841d51a6aa0b23abc3c95f4ebe2 | src/client/resources/stylesheets/tabs/manager.less | src/client/resources/stylesheets/tabs/manager.less | Less |
<|file_sep|>README.md.diff
original:
mvn eclipse:clean followed by mvn eclipse:eclipse
updated:
```
mvn eclipse:clean
mvn eclipse:eclipse
```
<|file_sep|>original/README.md
# cesmaccloud
How to generate bundle.zip used on AWS Elastic Beanstalk:
```
jar cMf bundle.zip src conf Procfile Buildfile pom.xml
```
## E... | ## Eclipse configuration
In the root path of the project use the follows commands :
```
mvn eclipse:clean
mvn eclipse:eclipse
```
# Endpoints
## Get all todos
**Request**:
```GET: /todo```
**Response**
``` | <|file_sep|>README.md.diff
original:
mvn eclipse:clean followed by mvn eclipse:eclipse
updated:
```
mvn eclipse:clean
mvn eclipse:eclipse
```
<|file_sep|>original/README.md
# cesmaccloud
How to generate bundle.zip used on AWS Elastic Beanstalk:
```
jar cMf bundle.zip src conf Procfile Buildfile pom.xml
```
## E... | c39cf934b1ddc743c93b470696d5e009ad458482 | README.md | README.md | Markdown |
<|file_sep|>original/src/server/routes/api.js
import express from 'express';
import cors from 'cors';
export const router = express.Router();
const {APP_WEB_BASE_PATH} = process.env;
router.get('/nav', cors(), (req, res) => {
res.send([
{
"href": `${APP_WEB_BASE_PATH}`,
"text": "H... | import express from 'express';
import cors from 'cors';
export const router = express.Router();
const {APP_WEB_BASE_PATH} = process.env;
router.get('/nav', cors(), (req, res) => {
res.send([
{
"href": `${APP_WEB_BASE_PATH}/`,
"text": "Home",
"rel": "home"
},
... | <|file_sep|>original/src/server/routes/api.js
import express from 'express';
import cors from 'cors';
export const router = express.Router();
const {APP_WEB_BASE_PATH} = process.env;
router.get('/nav', cors(), (req, res) => {
res.send([
{
"href": `${APP_WEB_BASE_PATH}`,
"text": "H... | c46a1f6657bb2440d4dd0660f709b2376f5be542 | src/server/routes/api.js | src/server/routes/api.js | JavaScript |
<|file_sep|>original/build/docker-images.sh
#!/bin/bash
set -ev
if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then
echo "Skipping docker build on php7.0"
exit 0;
fi
TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
docker build -t weinstein/app -f deploy/app.docker .
docker bui... | #!/bin/bash
set -ev
if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then
echo "Skipping docker build on php7.0"
exit 0;
fi
BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
TAG=`if [ "$BRANCH" == "master" ]; then echo "latest"; else echo $BRANCH ; fi`
docker build -t weinstein/app -f deploy/app.docker .
docker build -t... | <|file_sep|>original/build/docker-images.sh
#!/bin/bash
set -ev
if [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then
echo "Skipping docker build on php7.0"
exit 0;
fi
TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
docker build -t weinstein/app -f deploy/app.docker .
docker bui... | 8ddefe14d70592b3253260f438394d5135a77821 | build/docker-images.sh | build/docker-images.sh | Shell |
<|file_sep|>original/validation-test/compiler_crashers/28226-swift-iterativetypechecker-processinheritedprotocols.swift
<|file_sep|>current/validation-test/compiler_crashers/28226-swift-iterativetypechecker-processinheritedprotocols.swift
<|file_sep|>updated/validation-test/compiler_crashers/28226-swift-iterativetype... | // RUN: not --crash %target-swift-frontend %s -parse
// REQUIRES: asserts
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
protocol A{typealias e:A protocol A:a
protocol a:c}struct c<I:A | <|file_sep|>original/validation-test/compiler_crashers/28226-swift-iterativetypechecker-processinheritedprotocols.swift
<|file_sep|>current/validation-test/compiler_crashers/28226-swift-iterativetypechecker-processinheritedprotocols.swift
<|file_sep|>updated/validation-test/compiler_crashers/28226-swift-iterativetype... | 23633828dfc15dc7e0a5ba815a340e5c09f16f14 | validation-test/compiler_crashers/28226-swift-iterativetypechecker-processinheritedprotocols.swift | validation-test/compiler_crashers/28226-swift-iterativetypechecker-processinheritedprotocols.swift | Swift |
<|file_sep|>original/appveyor.yml
version: 1.0.{build}
skip_tags: true
configuration: Release
before_build:
- cmd: nuget restore
build:
verbosity: detailed
after_build:
- cmd: Scripts\GoRepack.cmd
artifacts:
- path: Scripts\Output\*.exe
name: droppackage
deploy:
- provider: GitHub
auth_token:
secure: CMLxtDi0... | version: 1.0.{build}
skip_tags: true
configuration: Release
before_build:
- cmd: nuget restore
build:
verbosity: minimal
after_build:
- cmd: Scripts\GoRepack.cmd
artifacts:
- path: Scripts\Output\*.exe
name: droppackage
deploy:
- provider: GitHub
auth_token:
secure: CMLxtDi0SaeuWVHdknn/e+aHOvIy9DanPxnrSLEeuwi... | <|file_sep|>original/appveyor.yml
version: 1.0.{build}
skip_tags: true
configuration: Release
before_build:
- cmd: nuget restore
build:
verbosity: detailed
after_build:
- cmd: Scripts\GoRepack.cmd
artifacts:
- path: Scripts\Output\*.exe
name: droppackage
deploy:
- provider: GitHub
auth_token:
secure: CMLxtDi0... | d9994ae80aa23698844b5ec8c06339e87e0cfa20 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/fastats/_version.py
# This is the authoritative version number which should be used everywhere,
# including setup, packaging, documentation generation etc.
#
# Normally, this should be available as fastats.__version__
VERSION = '2017.1.3rc0'
<|file_sep|>current/fastats/_version.py
# This is the aut... | # This is the authoritative version number which should be used everywhere,
# including setup, packaging, documentation generation etc.
#
# Normally, this should be available as fastats.__version__
VERSION = '2017.1rc0'
| <|file_sep|>original/fastats/_version.py
# This is the authoritative version number which should be used everywhere,
# including setup, packaging, documentation generation etc.
#
# Normally, this should be available as fastats.__version__
VERSION = '2017.1.3rc0'
<|file_sep|>current/fastats/_version.py
# This is the aut... | 9f8d134585a423773a6122c7312c1d88c6203867 | fastats/_version.py | fastats/_version.py | Python |
<|file_sep|>original/db/migrate/20120130001501_add_fields_to_project.rb
<|file_sep|>current/db/migrate/20120130001501_add_fields_to_project.rb
<|file_sep|>updated/db/migrate/20120130001501_add_fields_to_project.rb | class AddFieldsToProject < ActiveRecord::Migration
def self.up
add_column :projects, :person_id, :integer
add_column :projects, :group_id, :integer
add_column :projects, :visibility_id, :integer
add_column :projects, :changeability_id, :integer
add_index :projects, :person_id
add_index :proje... | <|file_sep|>original/db/migrate/20120130001501_add_fields_to_project.rb
<|file_sep|>current/db/migrate/20120130001501_add_fields_to_project.rb
<|file_sep|>updated/db/migrate/20120130001501_add_fields_to_project.rb
class AddFieldsToProject < ActiveRecord::Migration
def self.up
add_column :projects, :person_id, :... | 7c26bb6f8f39e78fa14c752443ae32d27604aff9 | db/migrate/20120130001501_add_fields_to_project.rb | db/migrate/20120130001501_add_fields_to_project.rb | Ruby |
<|file_sep|>original/.travis.yml
env:
- TOXENV=docs
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32
- TOXENV=py33
- TOXENV=pypy
install:
- sudo apt-get install subversion bzr mercurial
- echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc
- git config --global user.email "python-virtu... |
env:
- TOXENV=docs
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32
- TOXENV=py33
- TOXENV=pypy
install:
- "if [[ $TOXENV == 'pypy' ]]; then sudo add-apt-repository -y ppa:pypy/ppa; fi"
- "if [[ $TOXENV == 'pypy' ]]; then sudo apt-get -y update && sudo apt-get -y install pypy; fi"
# This is required becaus... | <|file_sep|>original/.travis.yml
env:
- TOXENV=docs
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32
- TOXENV=py33
- TOXENV=pypy
install:
- sudo apt-get install subversion bzr mercurial
- echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc
- git config --global user.email "python-virtu... | c40e16d75c74c255cea983ea23b9e90889c1ca9c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/NumberFormatter.php
public function formatPercent($value, $decimals = null);
/**
* Formats a decimal number as a currency value.
*
* @param float $value
* @param string $currencyCode ISO3 code of the currency
*
* @return string
*/
public function... | public function formatPercent($value, $decimals = null);
/**
* Formats a decimal number as a currency value.
*
* @param float $value
* @param string $currencyCode ISO3 code of the currency
*
* @return string
*/
public function formatCurrency($value, $currencyCode = '');
... | <|file_sep|>original/src/NumberFormatter.php
public function formatPercent($value, $decimals = null);
/**
* Formats a decimal number as a currency value.
*
* @param float $value
* @param string $currencyCode ISO3 code of the currency
*
* @return string
*/
public function... | 321b3abff807a043a07297175921858debd6c26b | src/NumberFormatter.php | src/NumberFormatter.php | PHP |
<|file_sep|>original/migrations/m171028_033342_bbass_splatnet.php
<|file_sep|>current/migrations/m171028_033342_bbass_splatnet.php
<|file_sep|>updated/migrations/m171028_033342_bbass_splatnet.php | <?php
/**
* @copyright Copyright (C) 2015-2017 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@bouhime.com>
*/
use app\components\db\Migration;
class m171028_033342_bbass_splatnet extends Migration
{
public function safeUp()
{
$this... | <|file_sep|>original/migrations/m171028_033342_bbass_splatnet.php
<|file_sep|>current/migrations/m171028_033342_bbass_splatnet.php
<|file_sep|>updated/migrations/m171028_033342_bbass_splatnet.php
<?php
/**
* @copyright Copyright (C) 2015-2017 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master... | 16f732e4138ce6088cb9a7109fa9c576990cbceb | migrations/m171028_033342_bbass_splatnet.php | migrations/m171028_033342_bbass_splatnet.php | PHP |
<|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Pushificator</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</he... | <!DOCTYPE html>
<html>
<head>
<title>Pushificator</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="ale... | <|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Pushificator</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</he... | 63a298355c077cee7c6f311bbeff452f3243973c | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/test/Verifier/metadata-function-dbg.ll
<|file_sep|>current/test/Verifier/metadata-function-dbg.ll
<|file_sep|>updated/test/Verifier/metadata-function-dbg.ll | ; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s
; CHECK: function declaration may not have a !dbg attachment
declare !dbg !4 void @f1()
define void @f2() !dbg !4 {
unreachable
}
; CHECK: function must have a single !dbg attachment
define void @f3() !dbg !4 !dbg !4 {
unreachable
}
; CHECK-NOT... | <|file_sep|>original/test/Verifier/metadata-function-dbg.ll
<|file_sep|>current/test/Verifier/metadata-function-dbg.ll
<|file_sep|>updated/test/Verifier/metadata-function-dbg.ll
; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s
; CHECK: function declaration may not have a !dbg attachment
declare !dbg !4... | f4a0ddf968262184a3efadbc4045479434e4c42c | test/Verifier/metadata-function-dbg.ll | test/Verifier/metadata-function-dbg.ll | LLVM |
<|file_sep|>original/README.md
# fish-bowling [](https://travis-ci.org/pholls/fish_bowling)
## Dev Bootcamp Final Project
### Contributors
* Kim T. Tran
* [@kimtran27](https://github.com/kimtran27)
* Pat Holland
* [@pholls](https://g... | # fish-bowling [](https://travis-ci.org/sea-otters-2017/fish_bowling)
## Dev Bootcamp Final Project
### Contributors
* Kim T. Tran
* [@kimtran27](https://github.com/kimtran27)
* Pat Holland
* [@pholls](https://github.com/pho... | <|file_sep|>original/README.md
# fish-bowling [](https://travis-ci.org/pholls/fish_bowling)
## Dev Bootcamp Final Project
### Contributors
* Kim T. Tran
* [@kimtran27](https://github.com/kimtran27)
* Pat Holland
* [@pholls](https://g... | 138fd72d86ed6ac7933e7e04a8edba050b9ed5ee | README.md | README.md | Markdown |
<|file_sep|>server.js.diff
original:
if (e.name !== 'HttpError')
updated:
if (e.name === 'HttpError') {
// Send 200 so that Slack will display the message
res.status(200).json({text: 'Error: ' + e.message});
} else {
<|file_sep|>original/server.js
l.debug('Got incoming msg to IRC: ', req.body)... | })
.then(function(result) {
if (result && result.sent)
l.verbose('IRC message sent to IRC server');
res.status(200).end();
}, function error (e) {
if (e.name === 'HttpError') {
// Send 200 so that Slack will display the message
res.status(200).json({text: 'Error: ' + e.message});
... | <|file_sep|>server.js.diff
original:
if (e.name !== 'HttpError')
updated:
if (e.name === 'HttpError') {
// Send 200 so that Slack will display the message
res.status(200).json({text: 'Error: ' + e.message});
} else {
<|file_sep|>original/server.js
l.debug('Got incoming msg to IRC: ', req.body)... | 9e104db2e1eea685f0f50e8a46b2a91c3b5b2755 | server.js | server.js | JavaScript |
<|file_sep|>original/README.md
[GraphViz]: http://www.graphviz.org/
A .NET wrapper for [GraphViz][].
# Example
```csharp
Graph graph = Graph.Undirected
.Add(EdgeStatement.For("a", "b"))
.Add(EdgeStatement.For("a", "c"));
IRenderer renderer = new Renderer(graphVizBin);
using (Stream file = File.Open("graph.pn... |
A .NET wrapper for [GraphViz][].
# Example
```csharp
Graph graph = Graph.Undirected
.Add(EdgeStatement.For("a", "b"))
.Add(EdgeStatement.For("a", "c"));
IRenderer renderer = new Renderer(graphVizBin);
using (Stream file = File.Open("graph.png"))
{
await renderer.RunAsync(
graph, file,
Ren... | <|file_sep|>original/README.md
[GraphViz]: http://www.graphviz.org/
A .NET wrapper for [GraphViz][].
# Example
```csharp
Graph graph = Graph.Undirected
.Add(EdgeStatement.For("a", "b"))
.Add(EdgeStatement.For("a", "c"));
IRenderer renderer = new Renderer(graphVizBin);
using (Stream file = File.Open("graph.pn... | 8ff38149ce921f17cfbb182dc69eaf8d2e5efb67 | README.md | README.md | Markdown |
<|file_sep|>original/app/models/event.rb
class Event < ActiveRecord::Base
belongs_to :user, polymorphic: true
belongs_to :exercise
belongs_to :file
end
<|file_sep|>current/app/models/event.rb
class Event < ActiveRecord::Base
belongs_to :user, polymorphic: true
belongs_to :exercise
belongs_to :file
end
<|fil... | class Event < ActiveRecord::Base
belongs_to :user, polymorphic: true
belongs_to :exercise
belongs_to :file
validates :category, presence: true
validates :data, presence: true
end | <|file_sep|>original/app/models/event.rb
class Event < ActiveRecord::Base
belongs_to :user, polymorphic: true
belongs_to :exercise
belongs_to :file
end
<|file_sep|>current/app/models/event.rb
class Event < ActiveRecord::Base
belongs_to :user, polymorphic: true
belongs_to :exercise
belongs_to :file
end
<|fil... | d528baceadd8270eb09453186d9619017c4ff482 | app/models/event.rb | app/models/event.rb | Ruby |
<|file_sep|>original/db/migrations/20180505050000_update_m_country_taiwan_china.sql
<|file_sep|>current/db/migrations/20180505050000_update_m_country_taiwan_china.sql
<|file_sep|>updated/db/migrations/20180505050000_update_m_country_taiwan_china.sql | -- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
BEGIN;
UPDATE `m_country` SET name_ja='台湾(台湾省/中華民国)' WHERE id = 158;
UPDATE `m_country` SET name_ja='中華人民共和国' WHERE id = 156;
COMMIT;
-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
BEGIN;
UPDATE `m_count... | <|file_sep|>original/db/migrations/20180505050000_update_m_country_taiwan_china.sql
<|file_sep|>current/db/migrations/20180505050000_update_m_country_taiwan_china.sql
<|file_sep|>updated/db/migrations/20180505050000_update_m_country_taiwan_china.sql
-- +goose Up
-- SQL in section 'Up' is executed when this migration ... | 181910f5337028419f9dbd90bc56facce8580803 | db/migrations/20180505050000_update_m_country_taiwan_china.sql | db/migrations/20180505050000_update_m_country_taiwan_china.sql | SQL |
<|file_sep|>nservicebus/serialization/index.md.diff
original:
The default serializer is XmlSerializer. In order to use another one configure the endpoint accordingly, e.g.
```
configuration.UseSerialization<JsonSerializer>();
```
updated:
## Supported Serializers
<|file_sep|>nservicebus/serialization/index.md.diff
orig... | ---
NServiceBus takes instances of .net objects (messages, events and commands) and then sens/receives them over a specified [Transport](/nservicebus/transports/). As part of this the object need to be serialized and deserialized. To achieve this NServiceBus uses "Serializers".
## Supported Serializers
- [XmlSeriali... | <|file_sep|>nservicebus/serialization/index.md.diff
original:
The default serializer is XmlSerializer. In order to use another one configure the endpoint accordingly, e.g.
```
configuration.UseSerialization<JsonSerializer>();
```
updated:
## Supported Serializers
<|file_sep|>nservicebus/serialization/index.md.diff
orig... | eb2c76cdb16ba781205b58ed235ea93c182425c6 | nservicebus/serialization/index.md | nservicebus/serialization/index.md | Markdown |
<|file_sep|>src/app/core/local-storage/local-storage.service.ts.diff
original:
updated:
import { AbstractStorageService } from '../AbstractStorageService'
<|file_sep|>src/app/core/local-storage/local-storage.service.ts.diff
original:
declare const RSVP: any
updated:
<|file_sep|>src/app/core/local-storage/local-stora... | }
get (name: string): Promise<any> {
return this.instance.get(name)
}
put (name: string, object: any): Promise<string> {
return this.instance.put(name, object)
}
isReachable (): Promise<boolean> {
return Promise.resolve(true)
}
getDocuments (): Promise<any[]> {
const docs = [
{... | <|file_sep|>src/app/core/local-storage/local-storage.service.ts.diff
original:
updated:
import { AbstractStorageService } from '../AbstractStorageService'
<|file_sep|>src/app/core/local-storage/local-storage.service.ts.diff
original:
declare const RSVP: any
updated:
<|file_sep|>src/app/core/local-storage/local-stora... | 1993daa08d4d836869ee9eff10020d49d547c533 | src/app/core/local-storage/local-storage.service.ts | src/app/core/local-storage/local-storage.service.ts | TypeScript |
<|file_sep|>original/requirements.txt
# requirements for freckle package
#
# To use:
# pip install -r requirements.txt
#
httplib2==0.7.7
iso8601==0.1.4
pyyaml==3.10
<|file_sep|>current/requirements.txt
# requirements for freckle package
#
# To use:
# pip install -r requirements.txt
#
httplib2==0.7.7
iso8601==0.1.4
py... | # requirements for freckle package
#
# To use:
# pip install -r requirements.txt
#
httplib2==0.9
iso8601==0.1.4
pyyaml==3.10 | <|file_sep|>original/requirements.txt
# requirements for freckle package
#
# To use:
# pip install -r requirements.txt
#
httplib2==0.7.7
iso8601==0.1.4
pyyaml==3.10
<|file_sep|>current/requirements.txt
# requirements for freckle package
#
# To use:
# pip install -r requirements.txt
#
httplib2==0.7.7
iso8601==0.1.4
py... | 4b19fd4cda34738a49772dc420bf8f7887aa49ae | requirements.txt | requirements.txt | Text |
<|file_sep|>molecule/default/converge.yml.diff
original:
updated:
vars:
graylog_install_elasticsearch: False
graylog_install_mongodb: False
graylog_install_nginx: False
graylog_install_java: False
graylog_not_testing: False
es_major_version: "5.x"
es_... | - "server_name graylog"
- |
location / {
proxy_pass http://localhost:9000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_request_headers ... | <|file_sep|>molecule/default/converge.yml.diff
original:
updated:
vars:
graylog_install_elasticsearch: False
graylog_install_mongodb: False
graylog_install_nginx: False
graylog_install_java: False
graylog_not_testing: False
es_major_version: "5.x"
es_... | e44c083ee52af44e0153b741149adf95a31bb1ee | molecule/default/converge.yml | molecule/default/converge.yml | YAML |
<|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.22.0
pyyaml>=4.2b1
pandas==1.3.5
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.22.0
pyyaml>=4.2b1
pandas==1.3.5
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
tables==3.6.1
<|file_sep|>u... | numpy==1.22.0
pyyaml>=4.2b1
pandas==1.3.5
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
tables==3.7.0 | <|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.22.0
pyyaml>=4.2b1
pandas==1.3.5
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.22.0
pyyaml>=4.2b1
pandas==1.3.5
scipy==1.7.3
astropy==5.0
matplotlib==3.5.1
tables==3.6.1
<|file_sep|>u... | 6352f261946bff23164383c715b755d92288d5c1 | sweetercat/data/requirements.txt | sweetercat/data/requirements.txt | Text |
<|file_sep|>original/clock.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'clock'
s.summary = 'Clock interface with support for dependency configuration for real and null object implementations'
s.version = '0.0.2.0'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.ema... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'clock'
s.summary = 'Clock interface with support for dependency configuration for real and null object implementations'
s.version = '0.0.3.0'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.c... | <|file_sep|>original/clock.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'clock'
s.summary = 'Clock interface with support for dependency configuration for real and null object implementations'
s.version = '0.0.2.0'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.ema... | 9bc91f2e4423011ed1542f7ff758474c442c29a1 | clock.gemspec | clock.gemspec | Ruby |
<|file_sep|>original/appveyor.yml
version: '{build}'
image: Visual Studio 2017
environment:
NUGETAPIKEY:
secure: kU8Nrdjnh6k58FzkmCIcyY0InF2YOSoef9u7ot1Uo3jABM6/Xd3VXaCU7/Rfnktn
BUILD_BOT_PASSWORD:
secure: wJ9JVS5hSAp9ItYlHKxTPg==
build_script:
- ps: .\build.ps1 --target=NuGetPublish """--trigger=$env:APPVE... | version: '{build}'
image: Visual Studio 2017
environment:
NUGETAPIKEY:
secure: Ev6JfzK7FYZzsR4ALWtJs95U98Pa9FxgMxECDA0LGNidWwULyKoQIKYQwMVZ1s0U
BUILD_BOT_PASSWORD:
secure: wJ9JVS5hSAp9ItYlHKxTPg==
build_script:
- ps: .\build.ps1 --target=NuGetPublish """--trigger=$env:APPVEYOR_REPO_TAG_NAME""" "--nugetApiKe... | <|file_sep|>original/appveyor.yml
version: '{build}'
image: Visual Studio 2017
environment:
NUGETAPIKEY:
secure: kU8Nrdjnh6k58FzkmCIcyY0InF2YOSoef9u7ot1Uo3jABM6/Xd3VXaCU7/Rfnktn
BUILD_BOT_PASSWORD:
secure: wJ9JVS5hSAp9ItYlHKxTPg==
build_script:
- ps: .\build.ps1 --target=NuGetPublish """--trigger=$env:APPVE... | 486e410fc491b296fe20b4772424a726a9e50880 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/package.json
"name": "kata",
"version": "1.0.0",
"description": "Front end application for programming challenge implemented in AngularJS",
"main": "index.js",
"scripts": {
"test": "karma start"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/SonofNun15/... | "repository": {
"type": "git",
"url": "git+ssh://git@github.com/SonofNun15/angular-kata.git"
},
"keywords": [
"kata"
],
"author": "Josh Graber",
"license": "MIT",
"bugs": {
"url": "https://github.com/SonofNun15/angular-kata/issues"
},
"homepage": "https://github.com/SonofNun15/angular-... | <|file_sep|>original/package.json
"name": "kata",
"version": "1.0.0",
"description": "Front end application for programming challenge implemented in AngularJS",
"main": "index.js",
"scripts": {
"test": "karma start"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/SonofNun15/... | 9e44b9f2f7be636e801c2f9fa2fb149d5a6df156 | package.json | package.json | JSON |
<|file_sep|>original/package.json
{
"name": "readline-async",
"version": "0.0.1",
"description": "An extension of Node's readline `Interface` with asynchronicity.",
"main": "readlineAsync.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
... | {
"name": "readline-async",
"version": "0.0.1",
"description": "An extension of Node's readline `Interface` with asynchronicity.",
"main": "readlineAsync.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"doc": "node ./doc/parse.js"
},
"repository": {
"type": "git",
... | <|file_sep|>original/package.json
{
"name": "readline-async",
"version": "0.0.1",
"description": "An extension of Node's readline `Interface` with asynchronicity.",
"main": "readlineAsync.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
... | ae1ba3ad998c9319b78d0a14db7572914adbcc7c | package.json | package.json | JSON |
<|file_sep|>original/app/views/languages/_about.erb
<%= md docs["about"] %>
<h3>Try It!</h3>
<p>
If you've downloaded the <a href='/cli'>command-line client</a> and have <%= track.language %> installed
on your machine, then go ahead and fetch the first problem.
</p>
<%= syntax "exercism #{track.id} #{track.problem... | <%= md docs["about"] %>
<h3>Try It!</h3>
<p>
If you've downloaded the <a href='/cli'>command-line client</a> and have <%= track.language %> installed
on your machine, then go ahead and fetch the first problem.
</p>
<%= syntax "exercism fetch #{track.id} #{track.problems.first.slug}", "plain" %>
<p>
In order to ... | <|file_sep|>original/app/views/languages/_about.erb
<%= md docs["about"] %>
<h3>Try It!</h3>
<p>
If you've downloaded the <a href='/cli'>command-line client</a> and have <%= track.language %> installed
on your machine, then go ahead and fetch the first problem.
</p>
<%= syntax "exercism #{track.id} #{track.problem... | 734e0551458e22f6c5d1d52b14aec7492d261e1b | app/views/languages/_about.erb | app/views/languages/_about.erb | HTML+ERB |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.