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/fuzzer/tasks.py
import time
import driller.config as config
import logging
l = logging.getLogger("fuzzer.tasks")
backend_url = "redis://%s:%d" % (config.REDIS_HOST, config.REDIS_PORT)
app = Celery('fuzzer', broker=config.BROKER_URL, backend=backend_url)
@app.task
def drill(binary, input, fuzz_bi... | import time
import driller.config as config
import logging
l = logging.getLogger("fuzzer.tasks")
backend_url = "redis://%s:%d" % (config.REDIS_HOST, config.REDIS_PORT)
app = Celery('fuzzer', broker=config.BROKER_URL, backend=backend_url)
@app.task
def fuzz(binary):
binary_path = os.path.join(config.BINARY_DIR, ... | <|file_sep|>original/fuzzer/tasks.py
import time
import driller.config as config
import logging
l = logging.getLogger("fuzzer.tasks")
backend_url = "redis://%s:%d" % (config.REDIS_HOST, config.REDIS_PORT)
app = Celery('fuzzer', broker=config.BROKER_URL, backend=backend_url)
@app.task
def drill(binary, input, fuzz_bi... | 4fa22298598add3541baf8ac4b3636eb4c64b9ec | fuzzer/tasks.py | fuzzer/tasks.py | Python |
<|file_sep|>gatsby-browser.js.diff
original:
if (props.layout) {
return null
}
updated:
<|file_sep|>original/gatsby-browser.js
import React from 'react'
import ComponentRenderer from './src/components/component-renderer-with-pagination'
export const replaceComponentRenderer = ({ props, loader }) => {
if (... | import React from 'react'
import ComponentRenderer from './src/components/component-renderer-with-pagination'
export const replaceComponentRenderer = ({ props, loader }) => {
return <ComponentRenderer {...props} loader={loader} />
}
| <|file_sep|>gatsby-browser.js.diff
original:
if (props.layout) {
return null
}
updated:
<|file_sep|>original/gatsby-browser.js
import React from 'react'
import ComponentRenderer from './src/components/component-renderer-with-pagination'
export const replaceComponentRenderer = ({ props, loader }) => {
if (... | b8ccdea2458feba31ff0355c9c38c334b08ba1bb | gatsby-browser.js | gatsby-browser.js | JavaScript |
<|file_sep|>original/static/js/front.js
m('.jumbotron', [
m('h1', [
m('a[href="//getthat.email"]', 'Get That Email')
])
])
])
]);
};
getThat.emailSelectBtn = function() {
return m('button.btn.btn-default.dropdown-toggle[type="b... | m('.jumbotron', [
m('h1', [
m('a[href="//getthat.email"]', 'Get That Email')
])
])
])
]);
};
getThat.emailSelectBtn = function() {
return m('button.btn.btn-default.dropdown-toggle[type="button"][data-toggle="dropdown"][style="b... | <|file_sep|>original/static/js/front.js
m('.jumbotron', [
m('h1', [
m('a[href="//getthat.email"]', 'Get That Email')
])
])
])
]);
};
getThat.emailSelectBtn = function() {
return m('button.btn.btn-default.dropdown-toggle[type="b... | 56ce928e45d2b614d88926645747cb40125a49f5 | static/js/front.js | static/js/front.js | JavaScript |
<|file_sep|>original/box.json
{
"chmod": "0755",
"directories": ["src"],
"extract": false,
"compression": "GZ",
"files": [
"vendor/autoload.php"
],
"finder": [
{
"name": "*.php",
"in": "vendor/composer"
},
{
"name": "*.php",... | {
"chmod": "0755",
"directories": ["src"],
"extract": false,
"files": [
"vendor/autoload.php"
],
"finder": [
{
"name": "*.php",
"in": "vendor/composer"
},
{
"name": "*.php",
"in": "vendor/d11wtq/boris/lib"
},... | <|file_sep|>original/box.json
{
"chmod": "0755",
"directories": ["src"],
"extract": false,
"compression": "GZ",
"files": [
"vendor/autoload.php"
],
"finder": [
{
"name": "*.php",
"in": "vendor/composer"
},
{
"name": "*.php",... | 824bc507f7ed53638dfa091dd5807dab3db36624 | box.json | box.json | JSON |
<|file_sep|>original/src/main/java/com/github/pedrovgs/problem47/ReturnChange.java
<|file_sep|>current/src/main/java/com/github/pedrovgs/problem47/ReturnChange.java
<|file_sep|>updated/src/main/java/com/github/pedrovgs/problem47/ReturnChange.java | /*
* Copyright (C) 2014 Pedro Vicente Gómez Sánchez.
*
* 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 ... | <|file_sep|>original/src/main/java/com/github/pedrovgs/problem47/ReturnChange.java
<|file_sep|>current/src/main/java/com/github/pedrovgs/problem47/ReturnChange.java
<|file_sep|>updated/src/main/java/com/github/pedrovgs/problem47/ReturnChange.java
/*
* Copyright (C) 2014 Pedro Vicente Gómez Sánchez.
*
* Licensed un... | db527c3c0c25f459a3a55b066713ca040639eb67 | src/main/java/com/github/pedrovgs/problem47/ReturnChange.java | src/main/java/com/github/pedrovgs/problem47/ReturnChange.java | Java |
<|file_sep|>original/TerminationChecker.scala
package leon
package termination
import purescala.Definitions._
import purescala.Expressions._
import purescala.DefOps._
abstract class TerminationChecker(val context: LeonContext, initProgram: Program) extends LeonComponent {
val program = {
val (pgm, _) = replace... |
package leon
package termination
import purescala.Definitions._
import purescala.Expressions._
import purescala.DefOps._
abstract class TerminationChecker(val context: LeonContext, initProgram: Program) extends LeonComponent {
val program = {
val (pgm, _) = replaceFunDefs(initProgram){ fd => Some(fd.duplicate(... | <|file_sep|>original/TerminationChecker.scala
package leon
package termination
import purescala.Definitions._
import purescala.Expressions._
import purescala.DefOps._
abstract class TerminationChecker(val context: LeonContext, initProgram: Program) extends LeonComponent {
val program = {
val (pgm, _) = replace... | c2e2128e4c02a6dc0bb4222694ac338228f7f821 | TerminationChecker.scala | TerminationChecker.scala | Scala |
<|file_sep|>spec/joystick_events_spec.rb.diff
original:
updated:
before :each do
@event = JoystickAxisMoved.new
end
<|file_sep|>spec/joystick_events_spec.rb.diff
original:
JoystickAxisMoved.new.should respond_to(:joystick_id)
updated:
@event.should respond_to(:joystick_id)
<|file_sep|>spec/joystick_ev... | it "should have an axis number" do
@event.should respond_to(:axis)
end
it "should accept positive integers for axis number"
it "should reject all except positive integers for axis number"
it "axis number should be read-only"
it "should have a value" do
@event.should respond_to(:value)
end
it... | <|file_sep|>spec/joystick_events_spec.rb.diff
original:
updated:
before :each do
@event = JoystickAxisMoved.new
end
<|file_sep|>spec/joystick_events_spec.rb.diff
original:
JoystickAxisMoved.new.should respond_to(:joystick_id)
updated:
@event.should respond_to(:joystick_id)
<|file_sep|>spec/joystick_ev... | 0cd1c0d0af56325b71799ae4b6704d5f83a25756 | spec/joystick_events_spec.rb | spec/joystick_events_spec.rb | Ruby |
<|file_sep|>original/common/base_clusterinfo.h
<|file_sep|>current/common/base_clusterinfo.h
<|file_sep|>updated/common/base_clusterinfo.h | /*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2021 gatecat <gatecat@ds0.me>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all c... | <|file_sep|>original/common/base_clusterinfo.h
<|file_sep|>current/common/base_clusterinfo.h
<|file_sep|>updated/common/base_clusterinfo.h
/*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2021 gatecat <gatecat@ds0.me>
*
* Permission to use, copy, modify, and/or distribute this software for a... | e1717bd771f51e3a2c370ffa64d50de6b8ee6ca6 | common/base_clusterinfo.h | common/base_clusterinfo.h | C |
<|file_sep|>README.md.diff
original:
make
updated:
make env
<|file_sep|>original/README.md
Environment
-----------
Create a virtualenv:
make
Run the server and open a web browser:
make launch # Ctrl+C to stop the server
Restart a stopped server:
make run # Ctrl+C to stop the server
Run sta... | * virtualenv: https://pypi.python.org/pypi/virtualenv
Environment
-----------
Create a virtualenv:
make env
Run the server and open a web browser:
make launch # Ctrl+C to stop the server
Restart a stopped server:
make run # Ctrl+C to stop the server
Run static analysis and tests:
make pep8
... | <|file_sep|>README.md.diff
original:
make
updated:
make env
<|file_sep|>original/README.md
Environment
-----------
Create a virtualenv:
make
Run the server and open a web browser:
make launch # Ctrl+C to stop the server
Restart a stopped server:
make run # Ctrl+C to stop the server
Run sta... | b3c67df7facfaadb73536a1d661f0bf3f925b2f3 | README.md | README.md | Markdown |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # Universal Windows Platform
# Build a Universal Windows Platform project using Visual Studio.
# Add steps that test and distribute an app, save build artifacts, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: 'Source\Zafiro.sln'
buildPlatform: 'x86|x64|AR... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# Universal Windows Platform
# Build a Universal Windows Platform project using Visual Studio.
# Add steps that test and distribute an app, save build artifacts, and more:
# https://aka.ms/yaml
tr... | 7e513e7b69478d5df8eeb6610c7cbce55cdda0ea | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/packages/br/brick-dropdownmenu.yaml
<|file_sep|>current/packages/br/brick-dropdownmenu.yaml
<|file_sep|>updated/packages/br/brick-dropdownmenu.yaml | homepage: https://github.com/mlang/brick-dropdownmenu#readme
changelog-type: markdown
hash: 0a93c07c690740e669e6aa2d2d1b9c346aad452e2e166e59b3b9da5e7b5af1e5
test-bench-deps: {}
maintainer: mlang@blind.guru
synopsis: A drop-down menu widget for brick.
changelog: ! '# Changelog for brick-dropdownmenu
## 0.1.0
Ini... | <|file_sep|>original/packages/br/brick-dropdownmenu.yaml
<|file_sep|>current/packages/br/brick-dropdownmenu.yaml
<|file_sep|>updated/packages/br/brick-dropdownmenu.yaml
homepage: https://github.com/mlang/brick-dropdownmenu#readme
changelog-type: markdown
hash: 0a93c07c690740e669e6aa2d2d1b9c346aad452e2e166e59b3b9da5e7... | 3f63578650161a6ef3b4ffb2a9fd3231555dc3b1 | packages/br/brick-dropdownmenu.yaml | packages/br/brick-dropdownmenu.yaml | YAML |
<|file_sep|>original/lib/Everyman/Neo4j/Command/Batch/Commit.php
* Return the data to pass
*
* @return mixed
*/
protected function getData()
{
$operations = $this->batch->getOperations();
$data = array();
foreach ($operations as $op) {
if ($op->reserve()) {
$command = $op->getCommand();
$data... | * Return the data to pass
*
* @return mixed
*/
protected function getData()
{
$operations = $this->batch->getOperations();
$data = array();
foreach ($operations as $op) {
if ($op->reserve()) {
$opData = $op->getCommand()->getData();
foreach ($opData as $datum) {
$data[] = $datum;
}
... | <|file_sep|>original/lib/Everyman/Neo4j/Command/Batch/Commit.php
* Return the data to pass
*
* @return mixed
*/
protected function getData()
{
$operations = $this->batch->getOperations();
$data = array();
foreach ($operations as $op) {
if ($op->reserve()) {
$command = $op->getCommand();
$data... | 7ea797441db82c426475827b3b076d807af7bfad | lib/Everyman/Neo4j/Command/Batch/Commit.php | lib/Everyman/Neo4j/Command/Batch/Commit.php | PHP |
<|file_sep|>original/package.js
Package.describe({
name: 'toystars:elasticsearch-sync',
version: '0.0.9',
// Brief, one-line summary of the package.
summary: 'ElasticSearch utility wrapper for mongoDB integration and sync',
// URL to the Git repository containing the source code for this package.
git: 'http... | Package.describe({
name: 'toystars:elasticsearch-sync',
version: '0.1.0',
// Brief, one-line summary of the package.
summary: 'ElasticSearch utility wrapper for mongoDB integration and sync',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/toystars/elastics... | <|file_sep|>original/package.js
Package.describe({
name: 'toystars:elasticsearch-sync',
version: '0.0.9',
// Brief, one-line summary of the package.
summary: 'ElasticSearch utility wrapper for mongoDB integration and sync',
// URL to the Git repository containing the source code for this package.
git: 'http... | 08ed95deff7b3f217f97ca92521daa9307cf4e55 | package.js | package.js | JavaScript |
<|file_sep|>build-distribution.sh.diff
original:
updated:
mkdir -p distribution/RealmIntroExample/app/libs
<|file_sep|>original/build-distribution.sh
#!/usr/bin/env bash
echo "Building the annotation processor"
./gradlew realm-annotation-processor:assemble
echo "Building Realm"
./gradlew realm:assemble
echo "Copyin... | #!/usr/bin/env bash
echo "Building the annotation processor"
./gradlew realm-annotation-processor:assemble
echo "Building Realm"
./gradlew realm:assemble
echo "Copying files to the distribution folder"
cp realm-annotations-processor/build/libs/realm-annotations-processor-0.80.jar distribution
cp realm/build/outputs/... | <|file_sep|>build-distribution.sh.diff
original:
updated:
mkdir -p distribution/RealmIntroExample/app/libs
<|file_sep|>original/build-distribution.sh
#!/usr/bin/env bash
echo "Building the annotation processor"
./gradlew realm-annotation-processor:assemble
echo "Building Realm"
./gradlew realm:assemble
echo "Copyin... | 7751c82048c27b014fbc3e88f7452c64743d5a40 | build-distribution.sh | build-distribution.sh | Shell |
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
# Generated file, please do not edit - Version values used in build-init templates
junit=4.12
slf4j=1.7.25
scala=2.12
kotlin=1.3.11
scala-library=2.12.8
commons-math=3.6.1
groovy=2.5.4
spock=1... | # Generated file, please do not edit - Version values used in build-init templates
junit=4.12
slf4j=1.7.25
scala=2.12
kotlin=1.3.20
scala-library=2.12.8
commons-math=3.6.1
groovy=2.5.4
spock=1.2-groovy-2.5
scala-xml=1.1.1
testng=6.14.3
guava=27.0.1-jre
scalatest=3.0.5 | <|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
# Generated file, please do not edit - Version values used in build-init templates
junit=4.12
slf4j=1.7.25
scala=2.12
kotlin=1.3.11
scala-library=2.12.8
commons-math=3.6.1
groovy=2.5.4
spock=1... | 89493a02beb4844f61cf9a6043bece5df8ea66a4 | subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties | subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties | INI |
<|file_sep|>spec/rrj/rrj_requests_spec.rb.diff
original:
let(:request_info) { transaction.message_template_ask }
updated:
let(:request_info) { transaction.ask }
<|file_sep|>spec/rrj/rrj_requests_spec.rb.diff
original:
let(:response_info) { transaction.message_template_response(request_info) }
updated:
l... | expect(request_info.class).to eq Hash
end
let(:response_info) { transaction.response(request_info) }
it 'ask a response to info request' do
expect(response_info.class).to eq Hash
end
let(:create) { transaction.ask('create') }
it 'send a request create' do
expect(create.class)... | <|file_sep|>spec/rrj/rrj_requests_spec.rb.diff
original:
let(:request_info) { transaction.message_template_ask }
updated:
let(:request_info) { transaction.ask }
<|file_sep|>spec/rrj/rrj_requests_spec.rb.diff
original:
let(:response_info) { transaction.message_template_response(request_info) }
updated:
l... | c96a87947e3768b0d1f6fa236908080ba3538430 | spec/rrj/rrj_requests_spec.rb | spec/rrj/rrj_requests_spec.rb | Ruby |
<|file_sep|>SSPSolution/SSPSolution/DoorEntity.cpp.diff
original:
this->SyncComponents();
updated:
<|file_sep|>original/SSPSolution/SSPSolution/DoorEntity.cpp
this->SyncComponents();
return 0;
}
int DoorEntity::React(int entityID, EVENT reactEvent)
{
if (reactEvent == EVENT::BUTTON_PRESSED)
{
if (!this->m_is... | }
int DoorEntity::React(int entityID, EVENT reactEvent)
{
if (reactEvent == EVENT::BUTTON_PRESSED)
{
if (!this->m_isOpened)
{
this->m_isOpened = true;
this->m_pComp->PC_rotation = DirectX::XMVectorSet(0.f, 3.f, 0.f, 0.f);
}
else
{
this->m_isOpened = false;
this->m_pComp->PC_rotation = DirectX:... | <|file_sep|>SSPSolution/SSPSolution/DoorEntity.cpp.diff
original:
this->SyncComponents();
updated:
<|file_sep|>original/SSPSolution/SSPSolution/DoorEntity.cpp
this->SyncComponents();
return 0;
}
int DoorEntity::React(int entityID, EVENT reactEvent)
{
if (reactEvent == EVENT::BUTTON_PRESSED)
{
if (!this->m_is... | f3f85f7373a64abdb03821f6e13416c58ec68ca1 | SSPSolution/SSPSolution/DoorEntity.cpp | SSPSolution/SSPSolution/DoorEntity.cpp | C++ |
<|file_sep|>original/test/index.js
describe('read only operation', function () {
it('db.getCollectionNames', function (done) {
db.getCollectionNames()
.then(function (names) {
assert(names.indexOf('contents') != -1)
assert(names.indexOf('headers') != -1)
assert(names.indexOf('history... | assert(names.indexOf('topics') != -1)
})
.nodeify(done)
})
it('db.collection("name").find().limit(10)', function (done) {
db.collection('headers').find().limit(10)
.then(function (headers) {
assert(Array.isArray(headers))
assert(headers.length === 10)
})
.no... | <|file_sep|>original/test/index.js
describe('read only operation', function () {
it('db.getCollectionNames', function (done) {
db.getCollectionNames()
.then(function (names) {
assert(names.indexOf('contents') != -1)
assert(names.indexOf('headers') != -1)
assert(names.indexOf('history... | 263e6691ad0cda4c2adaee1aca584316fedcf382 | test/index.js | test/index.js | JavaScript |
<|file_sep|>original/S06-macros/errors.t
use v6;
use Test;
use experimental :macros;
#L<S06/"Macros">
plan 2;
#RT #115506
eval-lives-ok
'macro pathological { AST.new }; pathological();',
"macro returning AST.new doesn't blow up";
#RT #115504
{
try EVAL 'macro ma { die 1 }; ma';
is $!, 1, "die-ing i... | use v6;
use Test;
use experimental :macros;
#L<S06/"Macros">
plan 2;
#RT #115506
lives-ok
{ EVAL 'macro pathological { AST.new }; pathological();' },
"macro returning AST.new doesn't blow up";
#RT #115504
{
try EVAL 'macro ma { die 1 }; ma';
is $!, 1, "die-ing inside a macro dies normally.";
}
# v... | <|file_sep|>original/S06-macros/errors.t
use v6;
use Test;
use experimental :macros;
#L<S06/"Macros">
plan 2;
#RT #115506
eval-lives-ok
'macro pathological { AST.new }; pathological();',
"macro returning AST.new doesn't blow up";
#RT #115504
{
try EVAL 'macro ma { die 1 }; ma';
is $!, 1, "die-ing i... | 4b0efddbf945cb4aff40989dcd3188b4a2bed61c | S06-macros/errors.t | S06-macros/errors.t | Perl |
<|file_sep|>original/.circleci/config.yml
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
... | steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: ./gradlew dependencies --depend... | <|file_sep|>original/.circleci/config.yml
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
... | 63bf819628f3ee5d4f081916fd0e78ed5e302bd8 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install tox-travis
- pip install "tox>=1.8"
- pip install coverage coveralls
branches:
only:
- master
- develop
script:
- tox -r
after_success:
- coverage report
- coveralls
<|f... | - pip install "tox>=1.8"
- pip install coverage coveralls
branches:
only:
- master
- develop
script:
- tox -r
after_success:
- coverage report
- coveralls
deploy:
provider: pypi
user: nnsnodnb
password:
secure: KUYph32t7nTkF1wZxnpIjG9FsQnnWkomM1gLi1GFC3TbRWQEKu7HzvhXvh8Vm7XsUFTih56wyAEflJD8zCg... | <|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- pip install tox-travis
- pip install "tox>=1.8"
- pip install coverage coveralls
branches:
only:
- master
- develop
script:
- tox -r
after_success:
- coverage report
- coveralls
<|f... | acf2221c621a9e9f4db4c176eb086933122d4485 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/clean_files_bogus.sql
<|file_sep|>current/clean_files_bogus.sql
<|file_sep|>updated/clean_files_bogus.sql | -- This script will mark all executables as bogus, and then will delete
-- all orphan fsobjects and large objects. Run it as follows:
-- psql -tq -U username database < clean_files_bogus.sql
CREATE OR REPLACE FUNCTION print_table_size(tbl VARCHAR, pref VARCHAR) RETURNS VOID AS $$
DECLARE
table_size VARCHAR;
BEGI... | <|file_sep|>original/clean_files_bogus.sql
<|file_sep|>current/clean_files_bogus.sql
<|file_sep|>updated/clean_files_bogus.sql
-- This script will mark all executables as bogus, and then will delete
-- all orphan fsobjects and large objects. Run it as follows:
-- psql -tq -U username database < clean_files_bogus.s... | 221695cf2cf548c207f52706909540b0fa93eef9 | clean_files_bogus.sql | clean_files_bogus.sql | SQL |
<|file_sep|>original/README.md
### Setup Vagrant
- `vagrant up`
- `vagrant ssh`
- `cd /vagrant`
### Running Rake tests
Setup vagrant then run `bundle exec rake`
### Running the app in dev
Setup vagrant then run `bundle exec puma -p 9201 -e development`. Verify it is running by doing `curl localhost:9201` and you ... |
Setup vagrant then run `bundle exec puma -p 9201 -e development`. Verify it is running by doing `curl localhost:9201` and you should get a 404.
## Routes ##
Check using `curl localhost:9201/<route>`
- `/xdb` - XDB node status
- `/zk` - ZK node status
- `/zk/monit_should_restart` - ZK node status for triggering a M... | <|file_sep|>original/README.md
### Setup Vagrant
- `vagrant up`
- `vagrant ssh`
- `cd /vagrant`
### Running Rake tests
Setup vagrant then run `bundle exec rake`
### Running the app in dev
Setup vagrant then run `bundle exec puma -p 9201 -e development`. Verify it is running by doing `curl localhost:9201` and you ... | 8b4f179ef5cb59268f8ad18c20fdcf99940f0fd7 | README.md | README.md | Markdown |
<|file_sep|>build.sh.diff
original:
mono .nuget/NuGet.exe install Paket3 -OutputDirectory packages -Prerelease -ExcludeVersion
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
updated:
mono .nuget/NuGet.exe install Paket -OutputDirectory packages -Prerelease -ExcludeVersion
if [ $? -ne 0 ]; then
exit 1
<|fi... | #!/bin/bash
mono .nuget/NuGet.exe install Paket -OutputDirectory packages -Prerelease -ExcludeVersion
if [ $? -ne 0 ]; then
exit 1
fi
mono packages/Paket/tools/Paket.exe install
if [ $? -ne 0 ]; then
exit 1
fi
mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx | <|file_sep|>build.sh.diff
original:
mono .nuget/NuGet.exe install Paket3 -OutputDirectory packages -Prerelease -ExcludeVersion
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
updated:
mono .nuget/NuGet.exe install Paket -OutputDirectory packages -Prerelease -ExcludeVersion
if [ $? -ne 0 ]; then
exit 1
<|fi... | db4bd777daccffa95457147fac138f3008075e2b | build.sh | build.sh | Shell |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-9.1.7.0
- jruby-head
before_install:
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
r... | language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby
- jruby-head
before_install:
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
| <|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-9.1.7.0
- jruby-head
before_install:
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
r... | 278680f40fac69dab4021cdc811b07de1600f047 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
requests==2.18.4
pyramid==1.9.1
six==1.11.0
<|file_sep|>current/requirements.txt
requests==2.18.4
pyramid==1.9.1
six==1.11.0
<|file_sep|>updated/requirements.txt | requests==2.18.4
pyramid==1.9.2
six==1.11.0 | <|file_sep|>original/requirements.txt
requests==2.18.4
pyramid==1.9.1
six==1.11.0
<|file_sep|>current/requirements.txt
requests==2.18.4
pyramid==1.9.1
six==1.11.0
<|file_sep|>updated/requirements.txt
requests==2.18.4
pyramid==1.9.2
six==1.11.0 | 7f25d84235f604f98a7261535ba22b7033e97314 | requirements.txt | requirements.txt | Text |
<|file_sep|>CHANGELOG.md.diff
original:
# Monday May 23rd
updated:
# Tag 1.0.8
## Monday May 23rd
<|file_sep|>CHANGELOG.md.diff
original:
updated:
* Change to the change log to focus on tags rather than dates.
<|file_sep|>original/CHANGELOG.md
# Monday May 23rd
* Corrected typo in GridFieldHailFetchButton message.
* ... | # Tag 1.0.8
## Monday May 23rd
* Corrected typo in GridFieldHailFetchButton message.
* Corrected typos in the README.
* Change to the change log to focus on tags rather than dates.
## Thursday April 21th
* Make specify a HailHolder in the SiteConfig optional.
* Added Change Log
* Add the extra installer-name attribu... | <|file_sep|>CHANGELOG.md.diff
original:
# Monday May 23rd
updated:
# Tag 1.0.8
## Monday May 23rd
<|file_sep|>CHANGELOG.md.diff
original:
updated:
* Change to the change log to focus on tags rather than dates.
<|file_sep|>original/CHANGELOG.md
# Monday May 23rd
* Corrected typo in GridFieldHailFetchButton message.
* ... | a612cecea89b03ff8bd0ddaa30dd987111581bdc | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/metadata/com.money.manager.ex.txt
* Account, payee, category, currency management
* Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Re... | * Account, payee, category, currency management
* Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Repo:https://github.com/moneymanagerex/android-money-mana... | <|file_sep|>original/metadata/com.money.manager.ex.txt
* Account, payee, category, currency management
* Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Re... | 18ec266d71f61246103176c5d9b700dedaedc5cb | metadata/com.money.manager.ex.txt | metadata/com.money.manager.ex.txt | Text |
<|file_sep|>RELEASE_NOTES.txt.diff
original:
updated:
* DDLSHELL-16. Fix link to layout definition language.
<|file_sep|>RELEASE_NOTES.txt.diff
original:
updated:
* DDLSHELL-14. COUNTER schema spec should have null schema value.
<|file_sep|>original/RELEASE_NOTES.txt
Kiji Schema She... | Kiji Schema Shell Release Notes
Version 1.0.0-rc4
* DDLSHELL-16. Fix link to layout definition language.
* SCHEMA-197. Update layout protocol to 'layout-1.1'.
* DDLSHELL-11. Add Client API object to enable programmatic access.
See org.kiji.schema.shell.api.Client.
* DDLSHELL... | <|file_sep|>RELEASE_NOTES.txt.diff
original:
updated:
* DDLSHELL-16. Fix link to layout definition language.
<|file_sep|>RELEASE_NOTES.txt.diff
original:
updated:
* DDLSHELL-14. COUNTER schema spec should have null schema value.
<|file_sep|>original/RELEASE_NOTES.txt
Kiji Schema She... | e71b5365da05458e6b6447c2bbcac79466f42b1c | RELEASE_NOTES.txt | RELEASE_NOTES.txt | Text |
<|file_sep|>app/views/layouts/_navbar.html.erb.diff
original:
<input type="text" class="form-control" placeholder="Search by name">
updated:
<input type="text" class="form-control" placeholder="Search by full name">
<|file_sep|>original/app/views/layouts/_navbar.html.erb
<span class="icon-ba... | <span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">=CodeEquality=</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<form class="navbar-form navbar-right" role="search">
<div class="... | <|file_sep|>app/views/layouts/_navbar.html.erb.diff
original:
<input type="text" class="form-control" placeholder="Search by name">
updated:
<input type="text" class="form-control" placeholder="Search by full name">
<|file_sep|>original/app/views/layouts/_navbar.html.erb
<span class="icon-ba... | e901b1b042cf65953ccc3d434c22f7d52a8477a8 | app/views/layouts/_navbar.html.erb | app/views/layouts/_navbar.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yaml
<|file_sep|>current/.travis.yaml
<|file_sep|>updated/.travis.yaml | language: python
install:
- pip install tox
script:
- tox
env:
- TOXENV=py26-django1.4,
- TOXENV=py26-django1.5,
- TOXENV=py26-django1.6,
- TOXENV=py27-django1.4,
- TOXENV=py27-django1.5,
- TOXENV=py27-django1.6,
- TOXENV=py33-django1.5,
- TOXENV=py33-django1.6,
- TOXENV=coverage | <|file_sep|>original/.travis.yaml
<|file_sep|>current/.travis.yaml
<|file_sep|>updated/.travis.yaml
language: python
install:
- pip install tox
script:
- tox
env:
- TOXENV=py26-django1.4,
- TOXENV=py26-django1.5,
- TOXENV=py26-django1.6,
- TOXENV=py27-django1.4,
- TOXENV=py27-django1.5,
- TOXENV=py27-... | 0bdf795d64225d4b68ce14502b46bfb9b1f3ece2 | .travis.yaml | .travis.yaml | YAML |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
coverage==4.2
django-coverage-plugin==1.3.1
Sphinx==1.4.5
django-extensions==1.7.5
Werkzeug==0.11.11
django-test-plus==1.0.15
factory_boy==2.7.0
django-debug-toolbar==1.5
# improved REPL
ipdb==0.10.1
pytest-django==2.9.1
... | # Local development dependencies go here
-r base.txt
coverage==4.2
django-coverage-plugin==1.3.1
Sphinx==1.4.5
django-extensions==1.7.5
Werkzeug==0.11.11
django-test-plus==1.0.15
factory_boy==2.7.0
django-debug-toolbar==1.5
# improved REPL
ipdb==0.10.1
pytest-django==2.9.1
pytest-sugar==0.8.0 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
coverage==4.2
django-coverage-plugin==1.3.1
Sphinx==1.4.5
django-extensions==1.7.5
Werkzeug==0.11.11
django-test-plus==1.0.15
factory_boy==2.7.0
django-debug-toolbar==1.5
# improved REPL
ipdb==0.10.1
pytest-django==2.9.1
... | bf5d4d9610387b7f8db4e4a652ffe18b6fa83584 | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/shenfun/optimization/__init__.py
from functools import wraps
from . import cython
try:
from . import numba
except ModuleNotFoundError:
numba = None
def optimizer(func):
"""Decorator used to wrap calls to optimized versions of functions."""
from shenfun.config import config
mod ... | from functools import wraps
from . import cython
try:
from . import numba
except ModuleNotFoundError:
numba = None
def optimizer(func):
"""Decorator used to wrap calls to optimized versions of functions."""
from shenfun.config import config
mod = 'cython'
verbose = False
try:
mod = ... | <|file_sep|>original/shenfun/optimization/__init__.py
from functools import wraps
from . import cython
try:
from . import numba
except ModuleNotFoundError:
numba = None
def optimizer(func):
"""Decorator used to wrap calls to optimized versions of functions."""
from shenfun.config import config
mod ... | d487e8d74d8bbbadf003cd128f80868cc5651d21 | shenfun/optimization/__init__.py | shenfun/optimization/__init__.py | Python |
<|file_sep|>original/test/claw/CMakeLists.txt
# List of test directories
add_subdirectory(kcache1) # assign cache
add_subdirectory(kcache2) # assign cache with init clause
add_subdirectory(kcache3) # assign cache with init clause and data cache
add_subdirectory(kcache4) # assign cache with init, data and private clause... | # List of test directories
add_subdirectory(call1)
add_subdirectory(kcache1) # assign cache
add_subdirectory(kcache2) # assign cache with init clause
add_subdirectory(kcache3) # assign cache with init clause and data cache
add_subdirectory(kcache4) # assign cache with init, data and private clauses | <|file_sep|>original/test/claw/CMakeLists.txt
# List of test directories
add_subdirectory(kcache1) # assign cache
add_subdirectory(kcache2) # assign cache with init clause
add_subdirectory(kcache3) # assign cache with init clause and data cache
add_subdirectory(kcache4) # assign cache with init, data and private clause... | f88f1c541cd77e4c840cb8bcbf512197ff64bacd | test/claw/CMakeLists.txt | test/claw/CMakeLists.txt | Text |
<|file_sep|>original/src/main/java/esiptestbed/mudrod/metadata/pre/Example.java
public class Example extends DiscoveryStepAbstract {
public Example(Map<String, String> config, ESDriver es) {
super(config, es);
// TODO Auto-generated constructor stub
}
@Override
public void execute() {
// TODO Auto-generated... | public Example(Map<String, String> config, ESDriver es) {
super(config, es);
// TODO Auto-generated constructor stub
}
@Override
public void execute() {
// TODO Auto-generated method stub
System.out.println("*****************Step 1: Example******************");
startTime=System.currentTimeMillis();
es.... | <|file_sep|>original/src/main/java/esiptestbed/mudrod/metadata/pre/Example.java
public class Example extends DiscoveryStepAbstract {
public Example(Map<String, String> config, ESDriver es) {
super(config, es);
// TODO Auto-generated constructor stub
}
@Override
public void execute() {
// TODO Auto-generated... | 85be577ee440fee986f4be3ac8a3ac2a56c23445 | src/main/java/esiptestbed/mudrod/metadata/pre/Example.java | src/main/java/esiptestbed/mudrod/metadata/pre/Example.java | Java |
<|file_sep|>README.md.diff
original:
updated:
Quick Notes on Operation
------------------------
<|file_sep|>original/README.md
Python Tools for Forensics and Data Recovery
============================================
This work is based off ideas from the book "Python Forensics" by Chet Hosmer and published by Elsevie... | Python Tools for Forensics and Data Recovery
============================================
This work is based off ideas from the book "Python Forensics" by Chet Hosmer and published by Elsevier (ISBN: 978-0-12-418676-7).
This work is a complete rewrite of much of his work including some new functionality.
Quick Notes... | <|file_sep|>README.md.diff
original:
updated:
Quick Notes on Operation
------------------------
<|file_sep|>original/README.md
Python Tools for Forensics and Data Recovery
============================================
This work is based off ideas from the book "Python Forensics" by Chet Hosmer and published by Elsevie... | 77568b96614a81a4922c21be08d14820fef3fff7 | README.md | README.md | Markdown |
<|file_sep|>src/shm/main.go.diff
original:
func Shift(xs []float64, x float64) {
updated:
func Shift(xs []Vector, x Vector) {
<|file_sep|>src/shm/main.go.diff
original:
type Integrator func(xs, vs []float64, a, dt float64)
updated:
type Integrator func(xs, vs []Vector, a Vector, dt float64)
<|file_sep|>src/shm/main.go.... | v := vs[0].Plus(a.Scale(dt))
x := xs[0].Plus(v.Scale(dt))
Shift(vs, v)
Shift(xs, x)
}
// Performs a step of a Verlet integrator
//
// Note that v[0] will not be calculated until the next step
func Verlet(xs, vs []Vector, a Vector, dt float64) {
xNext := xs[0].Scale(2).Minus(xs[1]).Plus(a.Scale(dt * dt))
vs[0] ... | <|file_sep|>src/shm/main.go.diff
original:
func Shift(xs []float64, x float64) {
updated:
func Shift(xs []Vector, x Vector) {
<|file_sep|>src/shm/main.go.diff
original:
type Integrator func(xs, vs []float64, a, dt float64)
updated:
type Integrator func(xs, vs []Vector, a Vector, dt float64)
<|file_sep|>src/shm/main.go.... | 295dcb8ae51ee9d2a1395b16a18036aa7ba48d51 | src/shm/main.go | src/shm/main.go | Go |
<|file_sep|>original/contrib/dnsmasq/99-origin-dns.sh
<|file_sep|>current/contrib/dnsmasq/99-origin-dns.sh
<|file_sep|>updated/contrib/dnsmasq/99-origin-dns.sh | #!/bin/bash -x
# This NetworkManager dispatcher script replicates the functionality of
# NetworkManager's dns=dnsmasq however, rather than hardcoding the listening
# address and /etc/resolv.conf to 127.0.0.1 it pulls the IP address from the
# interface that owns the default route. This enables us to then configure po... | <|file_sep|>original/contrib/dnsmasq/99-origin-dns.sh
<|file_sep|>current/contrib/dnsmasq/99-origin-dns.sh
<|file_sep|>updated/contrib/dnsmasq/99-origin-dns.sh
#!/bin/bash -x
# This NetworkManager dispatcher script replicates the functionality of
# NetworkManager's dns=dnsmasq however, rather than hardcoding the li... | 107d28f8ec9b0b41b834aafbedd1e60a1588c1b4 | contrib/dnsmasq/99-origin-dns.sh | contrib/dnsmasq/99-origin-dns.sh | Shell |
<|file_sep|>original/maphper/datasource/dateinjector.php
class DateInjector {
private $processCache;
public function replaceDates($obj, $reset = true) {
//prevent infinite recursion, only process each object once
if ($reset) $this->processCache = new \SplObjectStorage();
if (is_object($obj) && $this->processCa... | class DateInjector {
private $processCache;
public function replaceDates($obj, $reset = true) {
//prevent infinite recursion, only process each object once
if ($reset) $this->processCache = new \SplObjectStorage();
if (is_object($obj) && $this->processCache->contains($obj)) return $obj;
else if (is_object($o... | <|file_sep|>original/maphper/datasource/dateinjector.php
class DateInjector {
private $processCache;
public function replaceDates($obj, $reset = true) {
//prevent infinite recursion, only process each object once
if ($reset) $this->processCache = new \SplObjectStorage();
if (is_object($obj) && $this->processCa... | c30ee21d347e5628680ee2e3cbd58f834d67556e | maphper/datasource/dateinjector.php | maphper/datasource/dateinjector.php | PHP |
<|file_sep|>original/test/CodeGen/X86/zext-inreg-1.ll
; RUN: llvm-as < %s | llc -march=x86 | not grep and
; These tests differ from the ones in zext-inreg-0.ll in that
; on x86-64 they do require and instructions.
; These should use movzbl instead of 'and 255'.
; This related to not having ZERO_EXTEND_REG node.
defi... | ; RUN: llvm-as < %s | llc -march=x86 | not grep and
; These tests differ from the ones in zext-inreg-0.ll in that
; on x86-64 they do require and instructions.
; These should use movzbl instead of 'and 255'.
; This related to not having ZERO_EXTEND_REG node.
define i64 @l(i64 %d) nounwind {
%e = add i64 %d,... | <|file_sep|>original/test/CodeGen/X86/zext-inreg-1.ll
; RUN: llvm-as < %s | llc -march=x86 | not grep and
; These tests differ from the ones in zext-inreg-0.ll in that
; on x86-64 they do require and instructions.
; These should use movzbl instead of 'and 255'.
; This related to not having ZERO_EXTEND_REG node.
defi... | 865db4566e84b788e5738fec462804a779223b8b | test/CodeGen/X86/zext-inreg-1.ll | test/CodeGen/X86/zext-inreg-1.ll | LLVM |
<|file_sep|>original/.travis.yml
- SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=tests/example --file-root=$PWD"
matrix:
- STATE=couchdb2
- STATE=couchdb2.source
- STATE=couchdb2.configure
- STATE=couchdb2.deps
- STATE=couchdb2.install
- STATE=couchdb2.user
before_instal... | - SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=tests/example --file-root=$PWD"
matrix:
- STATE=couchdb2
- STATE=couchdb2.source
- STATE=couchdb2.configure
- STATE=couchdb2.deps
- STATE=couchdb2.install
- STATE=couchdb2.user
before_install:
- wget https://packages.erla... | <|file_sep|>original/.travis.yml
- SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=tests/example --file-root=$PWD"
matrix:
- STATE=couchdb2
- STATE=couchdb2.source
- STATE=couchdb2.configure
- STATE=couchdb2.deps
- STATE=couchdb2.install
- STATE=couchdb2.user
before_instal... | c949588d756d2123a930e77c6b3037c79fb06c35 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/modules/canbus/conf/canbus_conf.pb.txt
vehicle_parameter {
brand: GEM
max_steer_angle: 470.0
max_steer_angle_spd: 500.0
min_steer_angle_spd: 100.0
max_acc: 5.0
min_acc: -5.0
max_brake_pressure: 7.0
max_enable_fail_attempt: 5
driving_mode: COMPLETE_AUTO_DRIVE
}
can_card_parameter ... | vehicle_parameter {
brand: GEM
max_steer_angle: 630.0
max_steer_angle_spd: 229.0
min_steer_angle_spd: 229.0
max_acc: 1.18
min_acc: -4.5
max_brake_pressure: 7.0
max_enable_fail_attempt: 5
driving_mode: COMPLETE_AUTO_DRIVE
}
can_card_parameter {
brand: SOCKET_CAN_RAW
type: PCI_CARD
channel_id: CH... | <|file_sep|>original/modules/canbus/conf/canbus_conf.pb.txt
vehicle_parameter {
brand: GEM
max_steer_angle: 470.0
max_steer_angle_spd: 500.0
min_steer_angle_spd: 100.0
max_acc: 5.0
min_acc: -5.0
max_brake_pressure: 7.0
max_enable_fail_attempt: 5
driving_mode: COMPLETE_AUTO_DRIVE
}
can_card_parameter ... | 562d6651790bbe027ad8cd273bc61d7a18133866 | modules/canbus/conf/canbus_conf.pb.txt | modules/canbus/conf/canbus_conf.pb.txt | Text |
<|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '2.6'
env:
global:
- secure: CNMxMTOQQ9MPjDiovmwBgNVugdglzU9WaZ6N/rNE0qyby892YmZuhdmWrm08zH07peIdTtvbX4RHXTY36PcU6tyfRwcYGKCowkJnxzfczXuYwQC5ItLGl79BvQe+0k0N7+3hmNUCe895tKhvCJZwl8nrhnFCDh4hKg69F5qIleE=
- secure: CHvcWYrSd/0WVQSeVSYQ/73j5RJi7uQik... | language: python
python:
- '2.7'
- '2.6'
env:
global:
- secure: TVFg6VDgzyE8VjPQVepE2JTXNbjpCBiiB3tF+rtjwzinnyPaesJ/a1P4XazzdP98Yjx1BPUxvB5kR0uDhseoUOGnZ0F5oeAr44sXZ1itGyANmFsF+cTK/zU2Ov7j+8deDypBxvgOad/LzAE0wihgNFpFopCPs0OdaBn7pfBiv40=
- secure: dAgkutD1GS4VhlRF6tmC0MoKUTakIaFcaQ8vKBQzW9Z5Q+Knjmuwx4iArc73kByg5T... | <|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '2.6'
env:
global:
- secure: CNMxMTOQQ9MPjDiovmwBgNVugdglzU9WaZ6N/rNE0qyby892YmZuhdmWrm08zH07peIdTtvbX4RHXTY36PcU6tyfRwcYGKCowkJnxzfczXuYwQC5ItLGl79BvQe+0k0N7+3hmNUCe895tKhvCJZwl8nrhnFCDh4hKg69F5qIleE=
- secure: CHvcWYrSd/0WVQSeVSYQ/73j5RJi7uQik... | b49be7deeabbaad0b3bbe8c5ce98d190af342898 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
--no-commit Omit the git pull/add/commit/push skip
updated:
--no-commit Omit the git pull/add/commit/push step.
<|file_sep|>original/README.md
```sh
$ go run scraper.go [OPTIONS]
```
- If you choose, you can build first, then run:
```sh
$ go build scr... | $ go run scraper.go [OPTIONS]
```
- If you choose, you can build first, then run:
```sh
$ go build scraper.go
$ ./scraper [OPTIONS]
```
- Command line flags:
```
--no-commit Omit the git pull/add/commit/push step.
--verbose Get detailed logging output.
--diff Run git d... | <|file_sep|>README.md.diff
original:
--no-commit Omit the git pull/add/commit/push skip
updated:
--no-commit Omit the git pull/add/commit/push step.
<|file_sep|>original/README.md
```sh
$ go run scraper.go [OPTIONS]
```
- If you choose, you can build first, then run:
```sh
$ go build scr... | 8b1e8e5b6817ef7154dc95114321302bc00d7ab0 | README.md | README.md | Markdown |
<|file_sep|>app/components/Separator/styles.js.diff
original:
shadowRadius: 4,
updated:
shadowRadius: 1,
<|file_sep|>original/app/components/Separator/styles.js
backgroundColor: colors.grey,
opacity: 0.5,
},
shadow: {
backgroundColor: colors.greyOpacity,
...Platform.select({
io... | backgroundColor: colors.grey,
opacity: 0.5,
},
shadow: {
backgroundColor: colors.greyOpacity,
...Platform.select({
ios: {
shadowOpacity: 0.9,
shadowRadius: 1,
shadowOffset: {
height: 0.5,
width: 0,
},
},
android: {
elevati... | <|file_sep|>app/components/Separator/styles.js.diff
original:
shadowRadius: 4,
updated:
shadowRadius: 1,
<|file_sep|>original/app/components/Separator/styles.js
backgroundColor: colors.grey,
opacity: 0.5,
},
shadow: {
backgroundColor: colors.greyOpacity,
...Platform.select({
io... | 6d2bfaa51b816843ff038f5502b495328c92e129 | app/components/Separator/styles.js | app/components/Separator/styles.js | JavaScript |
<|file_sep|>tools/telemetry/telemetry/internal/platform/profiler/android_screen_recorder_profiler.py.diff
original:
updated:
from telemetry.core import util
<|file_sep|>original/tools/telemetry/telemetry/internal/platform/profiler/android_screen_recorder_profiler.py
# Copyright 2013 The Chromium Authors. All rights re... | # Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import subprocess
from telemetry.core import util
from telemetry.internal.platform import profiler
from telemetry.internal.backends.chrome import ... | <|file_sep|>tools/telemetry/telemetry/internal/platform/profiler/android_screen_recorder_profiler.py.diff
original:
updated:
from telemetry.core import util
<|file_sep|>original/tools/telemetry/telemetry/internal/platform/profiler/android_screen_recorder_profiler.py
# Copyright 2013 The Chromium Authors. All rights re... | 4687e306797e96c85165fabea3ad1fc005469aa1 | tools/telemetry/telemetry/internal/platform/profiler/android_screen_recorder_profiler.py | tools/telemetry/telemetry/internal/platform/profiler/android_screen_recorder_profiler.py | Python |
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
import wsgiservice
setup(
name='WsgiService',
version=wsgiservice.__version__,
description="A lean WSGI framework for easy creation of REST services",
author=", ".join(wsgiservice.__author__),
url='http://github.com/pneff/wsgi... | from setuptools import setup, find_packages
import wsgiservice
setup(
name='WsgiService',
version=wsgiservice.__version__,
description="A lean WSGI framework for easy creation of REST services",
long_description=open('README').read(),
author=", ".join(wsgiservice.__author__),
url='http://github.... | <|file_sep|>original/setup.py
from setuptools import setup, find_packages
import wsgiservice
setup(
name='WsgiService',
version=wsgiservice.__version__,
description="A lean WSGI framework for easy creation of REST services",
author=", ".join(wsgiservice.__author__),
url='http://github.com/pneff/wsgi... | 3a4ff183940f3af7e3ec7cfe491f7d60409f5fea | setup.py | setup.py | Python |
<|file_sep|>original/packages/pr/primitive-foreign.yaml
<|file_sep|>current/packages/pr/primitive-foreign.yaml
<|file_sep|>updated/packages/pr/primitive-foreign.yaml | homepage: https://github.com/haskell-primitive/primitive-ffi
changelog-type: markdown
hash: 194a02c3465fbc8eed5dd2f22f7d5d22201b3a33b873358c221028b1b3f4b8dc
test-bench-deps:
primitive-foreign: -any
base: -any
QuickCheck: -any
primitive: -any
maintainer: chessai <chessai1996@gmail.com>
synopsis: using the `Prim`... | <|file_sep|>original/packages/pr/primitive-foreign.yaml
<|file_sep|>current/packages/pr/primitive-foreign.yaml
<|file_sep|>updated/packages/pr/primitive-foreign.yaml
homepage: https://github.com/haskell-primitive/primitive-ffi
changelog-type: markdown
hash: 194a02c3465fbc8eed5dd2f22f7d5d22201b3a33b873358c221028b1b3f4... | 044a2a3090289eebba2c5307a589cd3e6cebefbb | packages/pr/primitive-foreign.yaml | packages/pr/primitive-foreign.yaml | YAML |
<|file_sep|>original/false-positive.txt
The fact that @merrittwhitley can Instagram me but not text me back.... haha I expect nothing less. #Cool #IllJustWait #MyBestFriendIsSlow
one less lonely girl is my song
There's going to be one less lonely girl
"@TBHJustUgly: Dating Tip: People in wheelchairs are less likely to ... | The fact that @merrittwhitley can Instagram me but not text me back.... haha I expect nothing less. #Cool #IllJustWait #MyBestFriendIsSlow
one less lonely girl is my song
There's going to be one less lonely girl
"@TBHJustUgly: Dating Tip: People in wheelchairs are less likely to run away from you" @Kelly21Nash
“@ThatGu... | <|file_sep|>original/false-positive.txt
The fact that @merrittwhitley can Instagram me but not text me back.... haha I expect nothing less. #Cool #IllJustWait #MyBestFriendIsSlow
one less lonely girl is my song
There's going to be one less lonely girl
"@TBHJustUgly: Dating Tip: People in wheelchairs are less likely to ... | d75722d39acc1fbd5037d649de62e9e78805706b | false-positive.txt | false-positive.txt | Text |
<|file_sep|>original/.github/workflows/lock-closed-issues.yml
<|file_sep|>current/.github/workflows/lock-closed-issues.yml
<|file_sep|>updated/.github/workflows/lock-closed-issues.yml | name: Lock Closed Issues
on:
schedule:
- cron: "0 0 * * *"
permissions:
issues: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-inactive-days: "14"
#issue-comment: |
... | <|file_sep|>original/.github/workflows/lock-closed-issues.yml
<|file_sep|>current/.github/workflows/lock-closed-issues.yml
<|file_sep|>updated/.github/workflows/lock-closed-issues.yml
name: Lock Closed Issues
on:
schedule:
- cron: "0 0 * * *"
permissions:
issues: write
jobs:
action:
runs-on: ubuntu-l... | 84c1f3f06c2daf67821a880896d8bcb3f155637e | .github/workflows/lock-closed-issues.yml | .github/workflows/lock-closed-issues.yml | YAML |
<|file_sep|>original/core/exceptions.py
A limit was exceeded for the specific request
"""
pass
class ProviderLimitExceeded(Exception):
"""
A limit was exceeded for the specific provider
"""
pass
class ProviderNotActive(Exception):
"""
The provider that was requested is not activ... | A limit was exceeded for the specific request
"""
pass
class ProviderLimitExceeded(Exception):
"""
A limit was exceeded for the specific provider
"""
pass
class ProviderNotActive(Exception):
"""
The provider that was requested is not active
"""
def __init__(self, provide... | <|file_sep|>original/core/exceptions.py
A limit was exceeded for the specific request
"""
pass
class ProviderLimitExceeded(Exception):
"""
A limit was exceeded for the specific provider
"""
pass
class ProviderNotActive(Exception):
"""
The provider that was requested is not activ... | a378649f85f0bc55060ad0238e426f587bc2ff1a | core/exceptions.py | core/exceptions.py | Python |
<|file_sep|>original/lib/viewpoint/spws/types/document_library.rb
<|file_sep|>current/lib/viewpoint/spws/types/document_library.rb
<|file_sep|>updated/lib/viewpoint/spws/types/document_library.rb | =begin
This file is part of ViewpointSPWS; the Ruby library for Microsoft Sharepoint Web Services.
Copyright © 2011 Dan Wanek <dan.wanek@gmail.com>
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 Li... | <|file_sep|>original/lib/viewpoint/spws/types/document_library.rb
<|file_sep|>current/lib/viewpoint/spws/types/document_library.rb
<|file_sep|>updated/lib/viewpoint/spws/types/document_library.rb
=begin
This file is part of ViewpointSPWS; the Ruby library for Microsoft Sharepoint Web Services.
Copyright © 2011 D... | d84004a4951d3a3e01f36bae96b5de4a6ed9b1d5 | lib/viewpoint/spws/types/document_library.rb | lib/viewpoint/spws/types/document_library.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "skatejs-web-components",
"description": "",
"jsnext:main": "src/index.js",
"main": "dist/index.js",
"scripts": {
"prepublish": "sk-bundle",
"test": "exit 0"
},
"keywords": [
"components",
"custom",
"custom-elements",
"elements",
"web... | {
"name": "skatejs-web-components",
"description": "",
"jsnext:main": "src/index.js",
"main": "dist/index.js",
"scripts": {
"prepublish": "sk-bundle",
"test": "sk-tests"
},
"keywords": [
"components",
"custom",
"custom-elements",
"elements",
"web",
"web-components"
],
"... | <|file_sep|>original/package.json
{
"name": "skatejs-web-components",
"description": "",
"jsnext:main": "src/index.js",
"main": "dist/index.js",
"scripts": {
"prepublish": "sk-bundle",
"test": "exit 0"
},
"keywords": [
"components",
"custom",
"custom-elements",
"elements",
"web... | 41df080855933e9e7e8843385e456e4e1e916bdf | package.json | package.json | JSON |
<|file_sep|>original/readme.txt
javascript, unpack scripts packed by the popular Dean Edward's packer,
as well as deobfuscate scripts processed by javascriptobfuscator.com.
You are free to use this in any way you want, in case you find this
useful or working for you.
To beautify from the command-line you ca... | javascript, unpack scripts packed by the popular Dean Edward's packer,
as well as deobfuscate scripts processed by javascriptobfuscator.com.
You are free to use this in any way you want, in case you find this
useful or working for you.
To beautify from the command-line you can use provided beautify-cl.js
... | <|file_sep|>original/readme.txt
javascript, unpack scripts packed by the popular Dean Edward's packer,
as well as deobfuscate scripts processed by javascriptobfuscator.com.
You are free to use this in any way you want, in case you find this
useful or working for you.
To beautify from the command-line you ca... | 602d5ddd8842234c11084b732328670e299006dd | readme.txt | readme.txt | Text |
<|file_sep|>original/spec/spec_helper.rb
true
end
end
end
require File.expand_path('spec/spec_helper') if File.exists?(File.expand_path('spec/spec_helper.rb'))
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::D... | true
end
end
end
require File.expand_path('spec/spec_helper') if File.exists?(File.expand_path('spec/spec_helper.rb'))
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, timeout: 120)
end
Dir[Fil... | <|file_sep|>original/spec/spec_helper.rb
true
end
end
end
require File.expand_path('spec/spec_helper') if File.exists?(File.expand_path('spec/spec_helper.rb'))
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::D... | ced55be816f250190db782bd9a19d0695c5e1f5a | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/packages/VariantEval.xml
<?xml version="1.0" encoding="UTF-8"?>
<package name="VariantEval">
<executable name="VariantEval">
<main-class name="org.broadinstitute.sting.gatk.CommandLineGATK" />
<resource-bundle file="StingText.properties" />
<dependencies>
<class name="org.broadi... | <?xml version="1.0" encoding="UTF-8"?>
<package name="VariantEval">
<executable name="VariantEval">
<main-class name="org.broadinstitute.sting.gatk.CommandLineGATK" />
<resource-bundle file="StingText.properties" />
<dependencies>
<class name="org.broadinstitute.sting.gatk.walkers.varianteval.Varian... | <|file_sep|>original/packages/VariantEval.xml
<?xml version="1.0" encoding="UTF-8"?>
<package name="VariantEval">
<executable name="VariantEval">
<main-class name="org.broadinstitute.sting.gatk.CommandLineGATK" />
<resource-bundle file="StingText.properties" />
<dependencies>
<class name="org.broadi... | ea117957b92d9152065c130e118f9489a12bf48b | packages/VariantEval.xml | packages/VariantEval.xml | XML |
<|file_sep|>original/src/views/emails/eventSubmission.md
Please review a new event submission to joind.in:
*Title:* [title]
*Contact:* [contact_name]
*Date:* [date]
*Description:* [description]
View all pending submissions here: [https://joind.in/event/pending](https://joind.in/event/pending)
[count]
<|file_sep|>... | Please review a new event submission to joind.in:
*Title:* [title]
*Contact:* [contact_name]
*Date:* [date]
*Description:* [description]
View all pending submissions here: [https://m.joind.in/event/pending](https://m.joind.in/event/pending)
[count]
| <|file_sep|>original/src/views/emails/eventSubmission.md
Please review a new event submission to joind.in:
*Title:* [title]
*Contact:* [contact_name]
*Date:* [date]
*Description:* [description]
View all pending submissions here: [https://joind.in/event/pending](https://joind.in/event/pending)
[count]
<|file_sep|>... | a03031ca88f073717184a9f70df549faa7ad6f33 | src/views/emails/eventSubmission.md | src/views/emails/eventSubmission.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
pytest==3.5.0
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3... | pip==10.0.0
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
pytest==3.5.0
pyaudio==0.2.11 | <|file_sep|>original/requirements_dev.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.2
cryptography==2.2.2
PyYAML==3.12
pytest==3.5.0
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==9.0.3
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3... | 0c92237969aab31add00d6e747a045a28d615fee | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/deploy/manifests/beta/multi.yml
- government-organisation
- government-service
- internal-drainage-board
- local-authority-eng
- local-authority-nir
- local-authority-sct
- local-authority-type
- principal-local-authority
- prison-estate
- registration-distri... | - government-service
- internal-drainage-board
- local-authority-eng
- local-authority-nir
- local-authority-sct
- local-authority-type
- principal-local-authority
- prison-estate
- registration-district
- statistical-geography
- statistical-geography-county-eng
- statist... | <|file_sep|>original/deploy/manifests/beta/multi.yml
- government-organisation
- government-service
- internal-drainage-board
- local-authority-eng
- local-authority-nir
- local-authority-sct
- local-authority-type
- principal-local-authority
- prison-estate
- registration-distri... | be9631fda82a6099bd9ba72cb39e61cf3ede0f15 | deploy/manifests/beta/multi.yml | deploy/manifests/beta/multi.yml | YAML |
<|file_sep|>lib/Witti/FileConverter/Engine/Convert/LibreOffice.php.diff
original:
updated:
protected $cmd_source_safe = FALSE;
<|file_sep|>lib/Witti/FileConverter/Engine/Convert/LibreOffice.php.diff
original:
updated:
$help = "";
<|file_sep|>lib/Witti/FileConverter/Engine/Convert/LibreOffice.php.diff
original:... | $help .= "sudo apt-get install libreoffice\n";
return $help;
}
return parent::getHelpInstallation();
}
public function getVersionInfo() {
$info = array(
'LibreOffice' => $this->shell($this->cmd . " --version")
);
$info["LibreOffice"] = preg_replace('@LibreOffice *@si', ''... | <|file_sep|>lib/Witti/FileConverter/Engine/Convert/LibreOffice.php.diff
original:
updated:
protected $cmd_source_safe = FALSE;
<|file_sep|>lib/Witti/FileConverter/Engine/Convert/LibreOffice.php.diff
original:
updated:
$help = "";
<|file_sep|>lib/Witti/FileConverter/Engine/Convert/LibreOffice.php.diff
original:... | 9ef62234734dc8682b4dc89c32414a149a0ffedd | lib/Witti/FileConverter/Engine/Convert/LibreOffice.php | lib/Witti/FileConverter/Engine/Convert/LibreOffice.php | PHP |
<|file_sep|>original/composer.json
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Alessio",
"email": "alessio@oneofftech.xyz"
}
],
"require": {
"php": ">=7.2.5",
"nothingworks/blade-svg": ">=0.3.4",
"illuminate/supp... | "type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Alessio",
"email": "alessio@oneofftech.xyz"
}
],
"require": {
"php": ">=7.2.5",
"nothingworks/blade-svg": "~0.3.4",
"illuminate/support": "6.*|7.*",
"illuminate... | <|file_sep|>original/composer.json
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Alessio",
"email": "alessio@oneofftech.xyz"
}
],
"require": {
"php": ">=7.2.5",
"nothingworks/blade-svg": ">=0.3.4",
"illuminate/supp... | 3c4904b8c1130d379d90601b7bf405cad33dcafd | composer.json | composer.json | JSON |
<|file_sep|>original/src/app/config.ts
import isElectron from './utils/is_electron';
export default {
ga: 'UA-41432833-6',
add_query_depth_limit: 3,
max_windows: 10,
default_language: 'en',
languages: { en: 'English', fr: 'French' },
query_history_depth: isElectron ? 25 : 7,
themes: ['light', 'dark']
};
... | import isElectron from './utils/is_electron';
export default {
ga: 'UA-41432833-6',
add_query_depth_limit: 3,
max_windows: 10,
default_language: 'en',
languages: { en: 'English', fr: 'French', es: 'Español' },
query_history_depth: isElectron ? 25 : 7,
themes: ['light', 'dark']
}; | <|file_sep|>original/src/app/config.ts
import isElectron from './utils/is_electron';
export default {
ga: 'UA-41432833-6',
add_query_depth_limit: 3,
max_windows: 10,
default_language: 'en',
languages: { en: 'English', fr: 'French' },
query_history_depth: isElectron ? 25 : 7,
themes: ['light', 'dark']
};
... | a7915ba895f0fc5bb13d4fb14b55066fa60f775c | src/app/config.ts | src/app/config.ts | TypeScript |
<|file_sep|>osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs.diff
original:
using osu.Game.Rulesets.Osu.Beatmaps;
updated:
<|file_sep|>osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs.diff
original:
updated:
Beatmap.Disabled = true;
<|file_sep|>original/osu.Game.Tests/Visual/Editing/TestScene... | public TestSceneTimingScreen()
{
editorBeatmap = new EditorBeatmap(CreateBeatmap(new OsuRuleset().RulesetInfo));
}
[BackgroundDependencyLoader]
private void load()
{
Beatmap.Value = CreateWorkingBeatmap(editorBeatmap.PlayableBeatmap);
... | <|file_sep|>osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs.diff
original:
using osu.Game.Rulesets.Osu.Beatmaps;
updated:
<|file_sep|>osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs.diff
original:
updated:
Beatmap.Disabled = true;
<|file_sep|>original/osu.Game.Tests/Visual/Editing/TestScene... | 1dd354120b1013759d210e49902e08393c6d18b9 | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs | C# |
<|file_sep|>original/views/pulsar/v2/helpers/tabs.html.twig
<|file_sep|>current/views/pulsar/v2/helpers/tabs.html.twig
<|file_sep|>updated/views/pulsar/v2/helpers/tabs.html.twig | {%- macro list(tabs) -%}
{% import '@pulsar/pulsar/v2/helpers/html.html.twig' as html %}
<ul class="tabs__list">
{%- for tab in tabs -%}
<li class="{% if tab.active is defined and tab.active == tab.id %}is-active{% endif %}{% if tab.hidden is defined and tab.hidden == true %} hide{% endif %}">
... | <|file_sep|>original/views/pulsar/v2/helpers/tabs.html.twig
<|file_sep|>current/views/pulsar/v2/helpers/tabs.html.twig
<|file_sep|>updated/views/pulsar/v2/helpers/tabs.html.twig
{%- macro list(tabs) -%}
{% import '@pulsar/pulsar/v2/helpers/html.html.twig' as html %}
<ul class="tabs__list">
{%- for tab in... | 2da22455ce09ba66451a378c6840115095c55c58 | views/pulsar/v2/helpers/tabs.html.twig | views/pulsar/v2/helpers/tabs.html.twig | Twig |
<|file_sep|>original/line-selections/README.md
# Line selections
Line selections commands.
***
## [select the N first lines](select-N-first-lines/README.md)
## [select lines N to M](select-lines-N-to-M/README.md)
## [select lines N to EOF](select-lines-N-to-EOF/README.md)
## [select lines N and M](select-lines-N-... | # Line selections
Line selections commands.
***
## [select the N first lines](select-N-first-lines/README.md)
## [select the N last lines](select-N-last-lines/README.md)
## [select lines N to M](select-lines-N-to-M/README.md)
## [select lines N to EOF](select-lines-N-to-EOF/README.md)
## [select lines N and M](s... | <|file_sep|>original/line-selections/README.md
# Line selections
Line selections commands.
***
## [select the N first lines](select-N-first-lines/README.md)
## [select lines N to M](select-lines-N-to-M/README.md)
## [select lines N to EOF](select-lines-N-to-EOF/README.md)
## [select lines N and M](select-lines-N-... | 3195db6f8f16004f3a4b6210c033c07827c8be75 | line-selections/README.md | line-selections/README.md | Markdown |
<|file_sep|>original/src/main/java/Client.java
<|file_sep|>current/src/main/java/Client.java
<|file_sep|>updated/src/main/java/Client.java | import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Comparator;
public class Client {
public static void main(String[] args) throws IOException {
Files.walk(Paths.get("traces"))
.filter(Files::isRegularFile) ... | <|file_sep|>original/src/main/java/Client.java
<|file_sep|>current/src/main/java/Client.java
<|file_sep|>updated/src/main/java/Client.java
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Comparator;
public class Client {
publi... | 124dd976a442f48ea05cfb264ce5542e82ee3a42 | src/main/java/Client.java | src/main/java/Client.java | Java |
<|file_sep|>original/tests/test_vector2_dot.py
<|file_sep|>current/tests/test_vector2_dot.py
<|file_sep|>updated/tests/test_vector2_dot.py | from ppb_vector import Vector2
from math import isclose, sqrt
import pytest # type: ignore
from hypothesis import assume, given, note
from utils import floats, vectors
@given(x=vectors(), y=vectors())
def test_dot_commutes(x: Vector2, y: Vector2):
assert x * y == y * x
MAGNITUDE=1e10
@given(x=vectors(max_magn... | <|file_sep|>original/tests/test_vector2_dot.py
<|file_sep|>current/tests/test_vector2_dot.py
<|file_sep|>updated/tests/test_vector2_dot.py
from ppb_vector import Vector2
from math import isclose, sqrt
import pytest # type: ignore
from hypothesis import assume, given, note
from utils import floats, vectors
@given(... | 7b9f255799252f56c149583b41535b7a85b326e6 | tests/test_vector2_dot.py | tests/test_vector2_dot.py | Python |
<|file_sep|>original/app/views/time_slots/new.html.erb
<% title "New Time Slot" %>
<h2>Add New Time Slot</h2>
<% if current_user.is_admin_of?(@department) %>
<p>
<%= check_box_tag :repeating_event, false, false, onclick: "$('.toggle_me').toggle()" %> Repeating event?
</p>
<% end %>
<div class="... | <% title "New Time Slot" %>
<% if current_user.is_admin_of?(@department) %>
<p>
<%= check_box_tag :repeating_event, false, false, onclick: "$('.toggle_me').toggle()" %> Repeating event?
</p>
<% end %>
<div class="toggle_me">
<%= form_for @time_slot do |f| %>
<%= f.error_messages %>
... | <|file_sep|>original/app/views/time_slots/new.html.erb
<% title "New Time Slot" %>
<h2>Add New Time Slot</h2>
<% if current_user.is_admin_of?(@department) %>
<p>
<%= check_box_tag :repeating_event, false, false, onclick: "$('.toggle_me').toggle()" %> Repeating event?
</p>
<% end %>
<div class="... | cff6281155104eb548924f05f3da2316e95fddf2 | app/views/time_slots/new.html.erb | app/views/time_slots/new.html.erb | HTML+ERB |
<|file_sep|>original/README.md
getAwesomeness() is a simple consolidated viewer for curated awesome resource list hosted on Github. Big honors to those awesome curators!
## Rational
As a developer, we need check out these resources pretty often, and we want to save our time and have a better bookmarking experience. W... |
getAwesomeness() is a simple consolidated viewer for curated awesome resource list hosted on Github. Big honors to those awesome curators!
## Rational
As a developer, we need check out these resources pretty often, and we want to save our time and have a better bookmarking experience. With that in mind, getAwesomenes... | <|file_sep|>original/README.md
getAwesomeness() is a simple consolidated viewer for curated awesome resource list hosted on Github. Big honors to those awesome curators!
## Rational
As a developer, we need check out these resources pretty often, and we want to save our time and have a better bookmarking experience. W... | 0c3e8603b72b55763d5d37c0ae1a5a38a8ea1487 | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==21.0.1
bumpversion==0.6.0
wheel==0.36.2
watchdog==2.0.2
flake8==3.9.0
tox==3.23.0
coverage==5.5
Sphinx==3.5.2
sphinx-rtd-theme==0.5.1
cryptography==3.4.6
PyYAML==5.4.1
pytest==6.2.2
pytest-cov==2.11.1
pytest-runner==5.3.0
codecov==2.1.11
matplotlib==3.3.4
<|file_sep|>curr... |
pip==21.0.1
bumpversion==0.6.0
wheel==0.36.2
watchdog==2.0.2
flake8==3.9.0
tox==3.23.0
coverage==5.5
Sphinx==3.5.3
sphinx-rtd-theme==0.5.1
cryptography==3.4.6
PyYAML==5.4.1
pytest==6.2.2
pytest-cov==2.11.1
pytest-runner==5.3.0
codecov==2.1.11
matplotlib==3.3.4 | <|file_sep|>original/requirements_dev.txt
pip==21.0.1
bumpversion==0.6.0
wheel==0.36.2
watchdog==2.0.2
flake8==3.9.0
tox==3.23.0
coverage==5.5
Sphinx==3.5.2
sphinx-rtd-theme==0.5.1
cryptography==3.4.6
PyYAML==5.4.1
pytest==6.2.2
pytest-cov==2.11.1
pytest-runner==5.3.0
codecov==2.1.11
matplotlib==3.3.4
<|file_sep|>curr... | 785f7b1603362bdfd933a8c77821f376094671ef | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/src/problems/FindMinInRotatedSortedArray.java
<|file_sep|>current/src/problems/FindMinInRotatedSortedArray.java
<|file_sep|>updated/src/problems/FindMinInRotatedSortedArray.java | package problems;
public class FindMinInRotatedSortedArray {
public int findMin(int[] num) {
if (num == null || num.length == 0)
return 0;
return findMinHelper(num, 0, num.length - 1);
}
int findMinHelper(int[] A, int l, int r) {
if (r - l <= 1)
return Math... | <|file_sep|>original/src/problems/FindMinInRotatedSortedArray.java
<|file_sep|>current/src/problems/FindMinInRotatedSortedArray.java
<|file_sep|>updated/src/problems/FindMinInRotatedSortedArray.java
package problems;
public class FindMinInRotatedSortedArray {
public int findMin(int[] num) {
if (num == nu... | 6a595e3baf76c30db923ca5f65ecce6915814ae2 | src/problems/FindMinInRotatedSortedArray.java | src/problems/FindMinInRotatedSortedArray.java | Java |
<|file_sep|>original/packages/utils/src/customisations/bool.ts
case 'boolean':
return value;
case 'number':
return !!value;
case 'string':
switch (value.toLowerCase()) {
case '1':
case 'true':
case name:
return true;
case '0':
case 'false':
case '':
return false;
}... | case 'boolean':
return value;
case 'number':
return !!value;
case 'string':
switch (value.toLowerCase()) {
case '1':
case 'true':
case name.toLowerCase():
return true;
case '0':
case 'false':
case '':
return false;
}
}
return defaultValue;
} | <|file_sep|>original/packages/utils/src/customisations/bool.ts
case 'boolean':
return value;
case 'number':
return !!value;
case 'string':
switch (value.toLowerCase()) {
case '1':
case 'true':
case name:
return true;
case '0':
case 'false':
case '':
return false;
}... | 7ba8c01e6613859740cedd9dbdd77909566e3f49 | packages/utils/src/customisations/bool.ts | packages/utils/src/customisations/bool.ts | TypeScript |
<|file_sep|>ui/views/home.html.diff
original:
<md-card ng-if='!controller.categories'>
updated:
<md-card ng-if='controller.categoryList.length == 0'>
<|file_sep|>original/ui/views/home.html
<md-card ng-if='!controller.categories'>
<img ng-src="./images/zenith-television.jpg" class="md-card-image" alt="No Content He... | <md-card ng-if='controller.categoryList.length == 0'>
<img ng-src="./images/zenith-television.jpg" class="md-card-image" alt="No Content Header" />
<md-card-content>
<p>Welcome to Farnsworth. To get started, add some categories
and tiles.</p>
</md-card-content>
<md-card-actions layout="r... | <|file_sep|>ui/views/home.html.diff
original:
<md-card ng-if='!controller.categories'>
updated:
<md-card ng-if='controller.categoryList.length == 0'>
<|file_sep|>original/ui/views/home.html
<md-card ng-if='!controller.categories'>
<img ng-src="./images/zenith-television.jpg" class="md-card-image" alt="No Content He... | fdb33ced6bbe4060df05f51d149ca4421218a5c3 | ui/views/home.html | ui/views/home.html | HTML |
<|file_sep|>source/stylesheets/components/_footer.sass.diff
original:
align-items: center
display: flex
justify-content: space-between
updated:
display: block
<|file_sep|>source/stylesheets/components/_footer.sass.diff
original:
display: flex
updated:
display: block
width: 100%
<|file_sep|>s... | &:last-child
margin-right: 0
&__info
background-color: get-color(rumba)
color: get-color((color: dark, opacity: .4))
font-size: 14px
font-style: italic
padding: 15px
text-align: center
+media($breakpoint-normal)
&__content
align-items: center
display: flex
j... | <|file_sep|>source/stylesheets/components/_footer.sass.diff
original:
align-items: center
display: flex
justify-content: space-between
updated:
display: block
<|file_sep|>source/stylesheets/components/_footer.sass.diff
original:
display: flex
updated:
display: block
width: 100%
<|file_sep|>s... | 2a9869016bd08a5a0c8dc90a5ae6cb4ed15a89ab | source/stylesheets/components/_footer.sass | source/stylesheets/components/_footer.sass | Sass |
<|file_sep|>original/README.md
# Tampermonkey scripts
A repo containing the user scripts I have created for use with [tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en).
<|file_sep|>current/README.md
# Tampermonkey scripts
A repo containing the user scripts I ha... | # Tampermonkey scripts
A repo containing the user scripts I have created for use with [tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en).
#### Updates
The scripts will be accessible from http://monkey.absalon.is - installing from there should enable updates of... | <|file_sep|>original/README.md
# Tampermonkey scripts
A repo containing the user scripts I have created for use with [tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en).
<|file_sep|>current/README.md
# Tampermonkey scripts
A repo containing the user scripts I ha... | f4223ca46927560d8805c8ad1683da45866aaff0 | README.md | README.md | Markdown |
<|file_sep|>original/config/initializers/stripe.rb
Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_TEST_PUBLISHABLE_KEY'],
:secret_key => ENV['STRIPE_TEST_SECRET_KEY']
}
Stripe.api_key = Rails.configuration.stripe[:secret_key]
<|file_sep|>current/config/initializers/stripe.rb
Rails.configuratio... | if Rails.env.production?
Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_PUBLISHABLE_KEY'],
:secret_key => ENV['STRIPE_SECRET_KEY']
}
else
Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_TEST_PUBLISHABLE_KEY'],
:secret_key => ENV['STRIPE_TEST_SECRET_KEY']
... | <|file_sep|>original/config/initializers/stripe.rb
Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_TEST_PUBLISHABLE_KEY'],
:secret_key => ENV['STRIPE_TEST_SECRET_KEY']
}
Stripe.api_key = Rails.configuration.stripe[:secret_key]
<|file_sep|>current/config/initializers/stripe.rb
Rails.configuratio... | 7c16bcd1f943b8fefe01738cc2121e1a1df3d7a4 | config/initializers/stripe.rb | config/initializers/stripe.rb | Ruby |
<|file_sep|>original/composer.json
{
"name": "m12/neos-nodetype-slickcarousel",
"type": "typo3-flow-plugin",
"description": "Slick carousel for Neos CMS",
"license": ["MIT"],
"authors": [
{ "name": "Marcin Ryzycki", "role": "Developer", "email": "marcin@m12.io", "homepage": "http://m12.io" }... | {
"name": "m12/neos-nodetype-slickcarousel",
"type": "typo3-flow-plugin",
"description": "Slick carousel for Neos CMS",
"license": ["MIT"],
"authors": [
{ "name": "Marcin Ryzycki", "role": "Developer", "email": "marcin@m12.io", "homepage": "http://m12.io" }
],
"require": {
"t... | <|file_sep|>original/composer.json
{
"name": "m12/neos-nodetype-slickcarousel",
"type": "typo3-flow-plugin",
"description": "Slick carousel for Neos CMS",
"license": ["MIT"],
"authors": [
{ "name": "Marcin Ryzycki", "role": "Developer", "email": "marcin@m12.io", "homepage": "http://m12.io" }... | 8e9c70c462bca3ae2fc250bcf9a0fe3464f4dc37 | composer.json | composer.json | JSON |
<|file_sep|>original/packages/isomorphic-unfetch/index.js
function r(m){return m && m.default || m;}
module.exports = global.fetch = global.fetch || (
typeof process=='undefined' ? r(require('unfetch')) : (function(url, opts) {
return r(require('node-fetch'))(url.replace(/^\/\//g,'https://'), opts);
})
);
<|file_se... | function r(m){return m && m.default || m;}
module.exports = global.fetch = global.fetch || (
typeof process=='undefined' ? r(require('unfetch')) : (function(url, opts) {
return r(require('node-fetch'))(String(url).replace(/^\/\//g,'https://'), opts);
})
); | <|file_sep|>original/packages/isomorphic-unfetch/index.js
function r(m){return m && m.default || m;}
module.exports = global.fetch = global.fetch || (
typeof process=='undefined' ? r(require('unfetch')) : (function(url, opts) {
return r(require('node-fetch'))(url.replace(/^\/\//g,'https://'), opts);
})
);
<|file_se... | fb13c71e63d51daac12c7341a3478fb772a9f652 | packages/isomorphic-unfetch/index.js | packages/isomorphic-unfetch/index.js | JavaScript |
<|file_sep|>.github/workflows/ruby.yml.diff
original:
name: '${{ matrix.os }}: ${{ matrix.ruby }}'
updated:
<|file_sep|>original/.github/workflows/ruby.yml
push:
schedule:
- cron: '0 0 1 * *' # at 00:00 on the 1st of every month
jobs:
test:
name: '${{ matrix.os }}: ${{ matrix.ruby }}'
strategy:
... | push:
schedule:
- cron: '0 0 1 * *' # at 00:00 on the 1st of every month
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest ]
ruby: [ 2.4, 2.5, 2.6, 2.7, '3.0', ruby-head, jruby, truffleruby ]
exclude:
- os: windows-latest
... | <|file_sep|>.github/workflows/ruby.yml.diff
original:
name: '${{ matrix.os }}: ${{ matrix.ruby }}'
updated:
<|file_sep|>original/.github/workflows/ruby.yml
push:
schedule:
- cron: '0 0 1 * *' # at 00:00 on the 1st of every month
jobs:
test:
name: '${{ matrix.os }}: ${{ matrix.ruby }}'
strategy:
... | 49beb4f53458262ebdfec8e7bb10b96ff45874c6 | .github/workflows/ruby.yml | .github/workflows/ruby.yml | YAML |
<|file_sep|>original/gcsweb.k8s.io/deployment.yaml
template:
metadata:
labels:
app: gcsweb
spec:
terminationGracePeriodSeconds: 30
containers:
- name: gcsweb
image: gcr.io/google_containers/gcsweb-amd64:v1.0.4
args:
- -b=kubernetes-jenkins
... | template:
metadata:
labels:
app: gcsweb
spec:
terminationGracePeriodSeconds: 30
containers:
- name: gcsweb
image: gcr.io/google_containers/gcsweb-amd64:v1.0.4
args:
- -b=istio-prow
- -b=kubernetes-jenkins
- -b=kubernetes... | <|file_sep|>original/gcsweb.k8s.io/deployment.yaml
template:
metadata:
labels:
app: gcsweb
spec:
terminationGracePeriodSeconds: 30
containers:
- name: gcsweb
image: gcr.io/google_containers/gcsweb-amd64:v1.0.4
args:
- -b=kubernetes-jenkins
... | 4196a842ccf00f32699122d78353862531693de2 | gcsweb.k8s.io/deployment.yaml | gcsweb.k8s.io/deployment.yaml | YAML |
<|file_sep|>source/core.js.diff
original:
return this.library;
updated:
return Promise;
<|file_sep|>source/core.js.diff
original:
this.defer = this.library[config.defer];
updated:
constructor.defer = this.library[config.defer];
<|file_sep|>source/core.js.diff
original:
this.defer = function() {
upda... | var config = this.getConfig();
if(!this.isNative && config.defer) {
constructor.defer = this.library[config.defer];
} else {
//TODO: Promise inspection capability
//https://github.com/petkaantonov/bluebird/blob/master/API.md#inspect---promiseinspection
var defer = function() {
var fulfill, r... | <|file_sep|>source/core.js.diff
original:
return this.library;
updated:
return Promise;
<|file_sep|>source/core.js.diff
original:
this.defer = this.library[config.defer];
updated:
constructor.defer = this.library[config.defer];
<|file_sep|>source/core.js.diff
original:
this.defer = function() {
upda... | 9e0d1d10ed22c6ba865d962b7549402aeb593659 | source/core.js | source/core.js | JavaScript |
<|file_sep|>original/AUTHORS.rst
Dotfiles is written and maintained by Jon Bernard and various contributors:
Development
```````````
- Jon Bernard <jbernard@tuxion.com>
Patches and Suggestions
```````````````````````
- Anaël Beutot
- Remco Wendt <remco@maykinmedia.nl>
- Sebastian Rahlf
- Reinout van Rees <reinout@... | Dotfiles is written and maintained by Jon Bernard and various contributors:
Development
```````````
- Jon Bernard <jbernard@tuxion.com>
Patches and Suggestions
```````````````````````
- Anaël Beutot
- Remco Wendt <remco@maykinmedia.nl>
- Sebastian Rahlf
- Reinout van Rees <reinout@vanrees.org>
- Daniel Harding | <|file_sep|>original/AUTHORS.rst
Dotfiles is written and maintained by Jon Bernard and various contributors:
Development
```````````
- Jon Bernard <jbernard@tuxion.com>
Patches and Suggestions
```````````````````````
- Anaël Beutot
- Remco Wendt <remco@maykinmedia.nl>
- Sebastian Rahlf
- Reinout van Rees <reinout@... | 78913b2ce0437a006b4e1567989ee018a636400a | AUTHORS.rst | AUTHORS.rst | reStructuredText |
<|file_sep|>package.json.diff
original:
"version": "1.2.3",
updated:
"version": "1.2.4",
<|file_sep|>original/package.json
"license": "MIT",
"bugs": {
"url": "https://github.com/octoblu/meshblu-authenticator-core/issues"
},
"homepage": "https://github.com/octoblu/meshblu-authenticator-core",
"dependen... | "license": "MIT",
"bugs": {
"url": "https://github.com/octoblu/meshblu-authenticator-core/issues"
},
"homepage": "https://github.com/octoblu/meshblu-authenticator-core",
"dependencies": {
"bcrypt": "^0.8.1",
"coffee-script": "^1.9.1",
"debug": "^2.1.2",
"lodash": "^3.3.1",
"meshblu": "... | <|file_sep|>package.json.diff
original:
"version": "1.2.3",
updated:
"version": "1.2.4",
<|file_sep|>original/package.json
"license": "MIT",
"bugs": {
"url": "https://github.com/octoblu/meshblu-authenticator-core/issues"
},
"homepage": "https://github.com/octoblu/meshblu-authenticator-core",
"dependen... | affcf35c80116416c83bc01d475bfe065561f29c | package.json | package.json | JSON |
<|file_sep|>packages/ho/hoauth2-tutorial.yaml.diff
original:
hash: 30a4a4bb24534123b420c86155f352ab672a70c574d7fdb817c0e6ee234cebdc
updated:
hash: a812079a9735eef844871602e0da3575b4a0efffc98966d2fe2681fd6717e5b8
<|file_sep|>packages/ho/hoauth2-tutorial.yaml.diff
original:
updated:
- 0.1.1
<|file_sep|>original/packages... | hoauth2-tutorial: -any
bytestring: '>=0.9 && <0.12'
wai: ^>=3.2
base: '>=4.5 && <5'
hoauth2: ^>=2.5
text: '>=0.11 && <1.3'
uri-bytestring: '>=0.2.3 && <0.4'
transformers: ^>=0.5
http-conduit: '>=2.1 && <2.4'
scotty: '>=0.10.0 && <0.13'
http-types: '>=0.11 && <0.13'
aeson: '>=2.0 && <2.2'
all-ver... | <|file_sep|>packages/ho/hoauth2-tutorial.yaml.diff
original:
hash: 30a4a4bb24534123b420c86155f352ab672a70c574d7fdb817c0e6ee234cebdc
updated:
hash: a812079a9735eef844871602e0da3575b4a0efffc98966d2fe2681fd6717e5b8
<|file_sep|>packages/ho/hoauth2-tutorial.yaml.diff
original:
updated:
- 0.1.1
<|file_sep|>original/packages... | 856d5a3b22ca22b563fb79d32a485b6146fe5c01 | packages/ho/hoauth2-tutorial.yaml | packages/ho/hoauth2-tutorial.yaml | YAML |
<|file_sep|>original/app/views/layouts/application.html.haml
!!! 5
%html{ lang: 'ja' }
%head
%script{ type: 'text/javascript',
src: 'http://maps.googleapis.com/maps/api/js?libraries=places&sensor=true' }
%meta{ charset: 'utf-8' }
= wicked_pdf_stylesheet_link_tag 'custom','plans'
%title S... | !!! 5
%html{ lang: 'ja' }
%head
%script{ type: 'text/javascript',
src: 'http://maps.googleapis.com/maps/api/js?libraries=places&sensor=true' }
%meta{ charset: 'utf-8' }
= stylesheet_link_tag 'custom'
%title SharePla
%meta{ name: 'viewport', content: 'width=device-width, initial-scale... | <|file_sep|>original/app/views/layouts/application.html.haml
!!! 5
%html{ lang: 'ja' }
%head
%script{ type: 'text/javascript',
src: 'http://maps.googleapis.com/maps/api/js?libraries=places&sensor=true' }
%meta{ charset: 'utf-8' }
= wicked_pdf_stylesheet_link_tag 'custom','plans'
%title S... | 936b7a29cd773294bc67135e80c0bb02f371f230 | app/views/layouts/application.html.haml | app/views/layouts/application.html.haml | Haml |
<|file_sep|>Applications/ctkSimplePythonShell/Testing/Python/CMakeLists.txt.diff
original:
derivedQWidgetTest.py
updated:
<|file_sep|>Applications/ctkSimplePythonShell/Testing/Python/CMakeLists.txt.diff
original:
IF(CTK_LIB_Widgets)
updated:
# Since QTimer is part of QtCore and is used in both 'ctkWidgetsTest.py' an... | wrappedSlotTest.py
)
# Since QTimer is part of QtCore and is used in both 'ctkWidgetsTest.py' and 'derivedQWidgetTest.py',
# these two tests should be included only if CTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTCORE is ON
IF(CTK_LIB_Widgets AND CTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTCORE)
LIST(APPEND... | <|file_sep|>Applications/ctkSimplePythonShell/Testing/Python/CMakeLists.txt.diff
original:
derivedQWidgetTest.py
updated:
<|file_sep|>Applications/ctkSimplePythonShell/Testing/Python/CMakeLists.txt.diff
original:
IF(CTK_LIB_Widgets)
updated:
# Since QTimer is part of QtCore and is used in both 'ctkWidgetsTest.py' an... | 4a06f92f4c185948d35c15227c4075748a87fd16 | Applications/ctkSimplePythonShell/Testing/Python/CMakeLists.txt | Applications/ctkSimplePythonShell/Testing/Python/CMakeLists.txt | Text |
<|file_sep|>original/metadata/com.xargsgrep.portknocker.txt
Description:
A basic port knocker client. Also includes a widget and the ability to choose an
application to launch after knocking.
.
Repo Type:git
Repo:https://github.com/xargsgrep/PortKnocker.git
Build:1.0.3,4
commit=ba2bbcb21ebdef214c86
subdir=Por... | Repo Type:git
Repo:https://github.com/xargsgrep/PortKnocker.git
Build:1.0.3,4
commit=ba2bbcb21ebdef214c86
subdir=PortKnocker
Build:1.0.7,8
commit=204cc365b758dca2f7
subdir=app
gradle=yes
Build:1.0.8,9
commit=edd19a9b56f846466330d9feb17e5052ea5350ee
subdir=app
gradle=yes
Auto Update M... | <|file_sep|>original/metadata/com.xargsgrep.portknocker.txt
Description:
A basic port knocker client. Also includes a widget and the ability to choose an
application to launch after knocking.
.
Repo Type:git
Repo:https://github.com/xargsgrep/PortKnocker.git
Build:1.0.3,4
commit=ba2bbcb21ebdef214c86
subdir=Por... | 14048f3267ed5cc0471360cf0dc9b673e6602947 | metadata/com.xargsgrep.portknocker.txt | metadata/com.xargsgrep.portknocker.txt | Text |
<|file_sep|>original/unlock/admin/hello.py
<|file_sep|>current/unlock/admin/hello.py
<|file_sep|>updated/unlock/admin/hello.py | from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
@app.route("/hitmehard")
def ttol():
import pyaudio
import unlock
# yous a do your business here...
return str(dir(unlock))
if __name__ == "__main__":
app.run() | <|file_sep|>original/unlock/admin/hello.py
<|file_sep|>current/unlock/admin/hello.py
<|file_sep|>updated/unlock/admin/hello.py
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
@app.route("/hitmehard")
def ttol():
import pyaudio
import unlock
# yous a do your bu... | bfcab239099e2e2ad28dde3cab886e0081664868 | unlock/admin/hello.py | unlock/admin/hello.py | Python |
<|file_sep|>original/README.md
====================
Usage
-----
- clone the repo
- if you don't have npm/node set up, install that first
- run `npm install` to get the dependencies
- place rustdoc_ng output files in input/<version>/<crate>.json where version must match tags on your git repo
- run `./build.sh` to buil... | **NOTE: rustdoc_web has been merged into mainline [rust](https://github.com/mozilla/rust). This repo is now defunct and serves as a historical note.** | <|file_sep|>original/README.md
====================
Usage
-----
- clone the repo
- if you don't have npm/node set up, install that first
- run `npm install` to get the dependencies
- place rustdoc_ng output files in input/<version>/<crate>.json where version must match tags on your git repo
- run `./build.sh` to buil... | 17d80be80e168e01f1ee8d8143bd488082f634e7 | README.md | README.md | Markdown |
<|file_sep|>original/league/templates/league/match_enter_success.html
</ul>
<h2>New match entered</h2>
<h3>{{ match }}</h3>
<p>The player statistics have changed as following:</p>
<ul>
{% for player in player_list %}
<li>{{ player.name }} ({% cycle 'Attacker' 'Defender' %})</li>
<ul>
<li>rank: {{ player... | </ul>
<h2>New match entered</h2>
<h3>{{ match }}</h3>
<p>The player statistics have changed as following:</p>
<ul>
{% for player in player_list %}
<li>{{ player.name }} ({% cycle 'Attacker' 'Defender' %})</li>
<ul>
<li>rank: {{ player.old_rank|floatformat:2 }}
→ {{ player.rank|floatform... | <|file_sep|>original/league/templates/league/match_enter_success.html
</ul>
<h2>New match entered</h2>
<h3>{{ match }}</h3>
<p>The player statistics have changed as following:</p>
<ul>
{% for player in player_list %}
<li>{{ player.name }} ({% cycle 'Attacker' 'Defender' %})</li>
<ul>
<li>rank: {{ player... | a7b882774d64655937d12b29eff5f556e67de053 | league/templates/league/match_enter_success.html | league/templates/league/match_enter_success.html | HTML |
<|file_sep|>original/mkdocs.yml
- markdown.extensions.admonition:
- markdown.extensions.footnotes:
- pymdownx.superfences:
preserve_tabs: true
- pymdownx.highlight:
linenums_style: pymdownx-inline
- pymdownx.inlinehilite:
- pymdownx.escapeall:
hardbreak: True
nbsp: True
- pymdownx.... | - markdown.extensions.footnotes:
- pymdownx.superfences:
preserve_tabs: true
- pymdownx.highlight:
linenums_style: pymdownx-inline
- pymdownx.inlinehilite:
- pymdownx.escapeall:
hardbreak: True
nbsp: True
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.progressbar:
- ... | <|file_sep|>original/mkdocs.yml
- markdown.extensions.admonition:
- markdown.extensions.footnotes:
- pymdownx.superfences:
preserve_tabs: true
- pymdownx.highlight:
linenums_style: pymdownx-inline
- pymdownx.inlinehilite:
- pymdownx.escapeall:
hardbreak: True
nbsp: True
- pymdownx.... | 1e2660fc45c582e51a2680c4c9e8423a9cb1e990 | mkdocs.yml | mkdocs.yml | YAML |
<|file_sep|>README.md.diff
original:
Some of the tools implemented in the project can be called from the command line. For this there is a convenience shell script called `run.sh`, which you call with the name of the tool and any command-line arguments. Example:
updated:
Some of the tools implemented in the project can... | [http://alt.qcri.org/semeval2014/task8/](http://alt.qcri.org/semeval2014/task8/)
## Downloading
The project is currently only available via Git. We plan to make a download available when the software has stabilized.
## Building
After checking out the project from the repository, you should be able to build it using... | <|file_sep|>README.md.diff
original:
Some of the tools implemented in the project can be called from the command line. For this there is a convenience shell script called `run.sh`, which you call with the name of the tool and any command-line arguments. Example:
updated:
Some of the tools implemented in the project can... | b43ebdd8bced2c5d7d026f76547129c2beb13feb | README.md | README.md | Markdown |
<|file_sep|>original/console/src/assets/configuration-examples/kubernetes/mongoose-pravega/mongoose-pravega-service.yml
apiVersion: v1
kind: Service
metadata:
labels:
app: mongoose-pravega
name: mongoose-pravega-svc
spec:
ports:
# NOTE: Exposting ports
- name: mongoose-pravega-port
# NOTE: Remote ... | apiVersion: v1
kind: Service
metadata:
labels:
app: mongoose-pravega
name: mongoose-pravega-svc
spec:
ports:
# NOTE: Exposting ports
- name: mongoose-pravega-port
# NOTE: Remote API Port
port: 9999
targetPort: 9999
selector:
app: mongoose-pravega
type: LoadBalancer
sessionAff... | <|file_sep|>original/console/src/assets/configuration-examples/kubernetes/mongoose-pravega/mongoose-pravega-service.yml
apiVersion: v1
kind: Service
metadata:
labels:
app: mongoose-pravega
name: mongoose-pravega-svc
spec:
ports:
# NOTE: Exposting ports
- name: mongoose-pravega-port
# NOTE: Remote ... | 5f8e66c5f5c3196f0866fc2d531b8284e617c7e5 | console/src/assets/configuration-examples/kubernetes/mongoose-pravega/mongoose-pravega-service.yml | console/src/assets/configuration-examples/kubernetes/mongoose-pravega/mongoose-pravega-service.yml | YAML |
<|file_sep|>original/backend/timestamp-microservice/src/stringChecker.js
const checkString = (string) => {
if (typeof string == 'string') {
if (isNaN(Date.parse(string)) == false) {
const unix = Date.parse(string) / 1000;
const natural = (new Date(string)).toDateString();
return { unix, natural ... | const checkString = (string) => {
if (typeof string == 'string') {
if (isNaN(Date.parse(string)) == false) {
const unix = Date.parse(string) / 1000;
const natural = (new Date(string)).toDateString();
return { unix, natural };
} else if (isNaN((new Date(1000 * parseInt(string))).getHours()) =... | <|file_sep|>original/backend/timestamp-microservice/src/stringChecker.js
const checkString = (string) => {
if (typeof string == 'string') {
if (isNaN(Date.parse(string)) == false) {
const unix = Date.parse(string) / 1000;
const natural = (new Date(string)).toDateString();
return { unix, natural ... | eb14f4c1c070bb158500548bdd4ff1145cdc5c50 | backend/timestamp-microservice/src/stringChecker.js | backend/timestamp-microservice/src/stringChecker.js | JavaScript |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '10'
- '12'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js... | sudo: false
language: node_js
node_js:
- '12'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '10'
- '12'
branches:
only:
- master
- travis-ci
install:
- npm install --no-package-lock --no-save
- npm install -g nyc prove
script:
- nyc npm test
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js... | cfb91be5fd812d311fa3b85c51a2dd9cde329801 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/js/api.js.diff
original:
var ref = firebaseRef.child('notes');
updated:
var noteRef = firebaseRef.child('notes');
<|file_sep|>src/js/api.js.diff
original:
ref.on('child_added', (snapshot) => {
updated:
noteRef.on('child_added', (snapshot) => {
<|file_sep|>src/js/api.js.diff
original:
ref.on(... |
stop() {
noteRef.off('child_added');
noteRef.off('child_removed');
noteRef.off('child_changed');
},
createNote(data) {
noteRef.push(data);
},
deleteNote(name) {
noteRef.child(name).remove();
},
updateNote(name, data) {
noteRef.child(name).update(data);
},
};
export default A... | <|file_sep|>src/js/api.js.diff
original:
var ref = firebaseRef.child('notes');
updated:
var noteRef = firebaseRef.child('notes');
<|file_sep|>src/js/api.js.diff
original:
ref.on('child_added', (snapshot) => {
updated:
noteRef.on('child_added', (snapshot) => {
<|file_sep|>src/js/api.js.diff
original:
ref.on(... | 5c67a13bd8167183720cb8d39ff9e5630d8398e3 | src/js/api.js | src/js/api.js | JavaScript |
<|file_sep|>original/requirements.txt
robotframework==3.1
robotframework-seleniumlibrary==3.3.1
robotframework-debuglibrary==1.1.4
Selenium==3.141.0
factory_boy==2.11.1
pytest==4.0.2
pytest-django==3.4.4
psycopg2==2.7.6.1
mock==2.0.0
zest.releaser==6.15.3
twine==1.12.1
requests==2.21.0
urllib3==1.24.1
<|file_sep|>curre... | robotframework==3.1
robotframework-seleniumlibrary==3.3.1
robotframework-debuglibrary==1.1.4
Selenium==3.141.0
factory_boy==2.11.1
pytest==4.0.2
pytest-django==3.4.5
psycopg2==2.7.6.1
mock==2.0.0
zest.releaser==6.15.3
twine==1.12.1
requests==2.21.0
urllib3==1.24.1 | <|file_sep|>original/requirements.txt
robotframework==3.1
robotframework-seleniumlibrary==3.3.1
robotframework-debuglibrary==1.1.4
Selenium==3.141.0
factory_boy==2.11.1
pytest==4.0.2
pytest-django==3.4.4
psycopg2==2.7.6.1
mock==2.0.0
zest.releaser==6.15.3
twine==1.12.1
requests==2.21.0
urllib3==1.24.1
<|file_sep|>curre... | 95e12c5e035517064948556eb251a646f5733a42 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/middleware/auth-check.js
// get the last part from a authorization header string like "bearer token-value"
const token = req.headers.authorization.split(' ')[1];
// decode the token using a secret key-phrase
return jwt.verify(token, process.env.JWT_SECRET, (err, decoded) => {
// the 4... | // decode the token using a secret key-phrase
return jwt.verify(token, process.env.JWT_SECRET, (err, decoded) => {
// the 401 code is for unauthorized status
if (err) { return res.status(401).end(); }
const userId = decoded.sub;
// check if a user exists
return User.findById(userId, (userErr, ... | <|file_sep|>original/middleware/auth-check.js
// get the last part from a authorization header string like "bearer token-value"
const token = req.headers.authorization.split(' ')[1];
// decode the token using a secret key-phrase
return jwt.verify(token, process.env.JWT_SECRET, (err, decoded) => {
// the 4... | 26738215105448bbe044864ffc6ebf15435995f3 | middleware/auth-check.js | middleware/auth-check.js | JavaScript |
<|file_sep|>original/_config.yml
description: > # this means to ignore newlines until "baseurl:"
Open Infrastructure Services, LLC provides IT infrastructure consulting
services. Founded by Jeff McCune, an experienced Linux systems administrator
and software developer with over a 10 years of industry experience.... | description: > # this means to ignore newlines until "baseurl:"
Open Infrastructure Services, LLC provides IT infrastructure consulting
services. Founded by Jeff McCune, an experienced Linux systems administrator
and software developer with over a 10 years of industry experience.
Specializing in Puppet, servic... | <|file_sep|>original/_config.yml
description: > # this means to ignore newlines until "baseurl:"
Open Infrastructure Services, LLC provides IT infrastructure consulting
services. Founded by Jeff McCune, an experienced Linux systems administrator
and software developer with over a 10 years of industry experience.... | 7afb473c006d2c102a02ebae7671d46bdcfae8ed | _config.yml | _config.yml | YAML |
<|file_sep|>package.json.diff
original:
updated:
"peerDependencies": {
"rtc-signaller": "^1"
},
<|file_sep|>original/package.json
"rtc-core": "~0.7.1",
"cog": "^0.5.3",
"async": "^0.6.2"
},
"devDependencies": {
"tape": "^2.12.2",
"uuid": "~1.4.1",
"messenger-memory": "^1.0.0",
"... | "rtc-core": "~0.7.1",
"cog": "^0.5.3",
"async": "^0.6.2"
},
"peerDependencies": {
"rtc-signaller": "^1"
},
"devDependencies": {
"tape": "^2",
"uuid": "^1",
"messenger-memory": "^1",
"rtc-media": "^1",
"zuul": "^1"
},
"scripts": {
"test": "zuul -- test/all.js",
"ge... | <|file_sep|>package.json.diff
original:
updated:
"peerDependencies": {
"rtc-signaller": "^1"
},
<|file_sep|>original/package.json
"rtc-core": "~0.7.1",
"cog": "^0.5.3",
"async": "^0.6.2"
},
"devDependencies": {
"tape": "^2.12.2",
"uuid": "~1.4.1",
"messenger-memory": "^1.0.0",
"... | 9d29a12bf628e60a5120259530b6a8ed054e962f | package.json | package.json | JSON |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.