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/composer.json
"license": "BSD-3-Clause",
"authors": [
{
"name": "Julián Gutiérrez",
"email": "juliangut@gmail.com",
"homepage": "http://juliangut.com"
}
],
"require": {
"php": ">=5.4",
"slim/slim": "~2.5",
"... | "license": "BSD-3-Clause",
"authors": [
{
"name": "Julián Gutiérrez",
"email": "juliangut@gmail.com",
"homepage": "http://juliangut.com"
}
],
"require": {
"php": ">=5.4",
"slim/slim": "~2.4.3",
"doctrine/orm": "~2.4"
},
... | <|file_sep|>original/composer.json
"license": "BSD-3-Clause",
"authors": [
{
"name": "Julián Gutiérrez",
"email": "juliangut@gmail.com",
"homepage": "http://juliangut.com"
}
],
"require": {
"php": ">=5.4",
"slim/slim": "~2.5",
"... | 24688e943d817e4cd4b91079b986bbb948d8e5e2 | composer.json | composer.json | JSON |
<|file_sep|>original/requirements-test.txt
# Testing
coverage==4.5.3 # Test coverage
flake8==3.6.0 # Python linting
mock==2.0.0 # Test mocks
codecov==2.0.15 # Test coverage reporting
<|file_sep|>current/requirements-test.txt
# Testing
coverage==4... | # Testing
coverage==4.5.3 # Test coverage
flake8==3.7.7 # Python linting
mock==2.0.0 # Test mocks
codecov==2.0.15 # Test coverage reporting | <|file_sep|>original/requirements-test.txt
# Testing
coverage==4.5.3 # Test coverage
flake8==3.6.0 # Python linting
mock==2.0.0 # Test mocks
codecov==2.0.15 # Test coverage reporting
<|file_sep|>current/requirements-test.txt
# Testing
coverage==4... | 76b8ab57cbc6966b4d3ea7d9a21ac0cde568bb8e | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>original/vendor/eventlet-0.9.15/eventlet/convenience.py
# The history of this repository has been rewritten to erase the vendor/ directory
# Below is the md5sum and size of the file that was in the original commit
bde0e3a3a15c9bbb8d96f4d8a370d8c7
5753
<|file_sep|>current/vendor/eventlet-0.9.15/eventlet/conv... | # The history of this repository has been rewritten to erase the vendor/ directory
# Below is the md5sum and size of the file that was in the original commit
5b7615cc9b13cf39cfa39db53e86977a
5751 | <|file_sep|>original/vendor/eventlet-0.9.15/eventlet/convenience.py
# The history of this repository has been rewritten to erase the vendor/ directory
# Below is the md5sum and size of the file that was in the original commit
bde0e3a3a15c9bbb8d96f4d8a370d8c7
5753
<|file_sep|>current/vendor/eventlet-0.9.15/eventlet/conv... | 5f4155201afa92f048f28b9cd53681a6bc7966ab | vendor/eventlet-0.9.15/eventlet/convenience.py | vendor/eventlet-0.9.15/eventlet/convenience.py | Python |
<|file_sep|>services/backend/src/main/resources/application.properties.diff
original:
spring.datasource.url=jdbc:mysql://localhost/elshelves_test
updated:
spring.datasource.url=jdbc:mysql://localhost/elshelves_test?useUnicode=yes&characterEncoding=UTF-8
<|file_sep|>original/services/backend/src/main/resources/applicati... | multipart.maxFileSize=10000000
multipart.maxRequestSize=10000000
spring.jpa.hibernate.ddl-auto=update
flyway.baseline-on-migrate=true
logging.level.org.hibernate=DEBUG
logging.level.org.marsik.elshelves.backend.services=DEBUG
spring.datasource.url=jdbc:mysql://localhost/elshelves_test?useUnicode=yes&characterEncodin... | <|file_sep|>services/backend/src/main/resources/application.properties.diff
original:
spring.datasource.url=jdbc:mysql://localhost/elshelves_test
updated:
spring.datasource.url=jdbc:mysql://localhost/elshelves_test?useUnicode=yes&characterEncoding=UTF-8
<|file_sep|>original/services/backend/src/main/resources/applicati... | eb1a860853d6f9faaaf4ca50467eb93c004723be | services/backend/src/main/resources/application.properties | services/backend/src/main/resources/application.properties | INI |
<|file_sep|>original/bower.json
{
"name": "bower-bootswatch-paper",
"version": "3.2.0",
"main": "less/paper.less",
"keywords": [
"paper",
"bootstrap",
"twitter",
"bootswatch",
"less",
"css",
"flat",
"ui",
"theme"
],
"ignore": [
"**/.*",
"node_modules",
"compon... | {
"name": "bower-bootswatch-paper",
"version": "3.2.0",
"main": "css/paper.css",
"keywords": [
"paper",
"bootstrap",
"twitter",
"bootswatch",
"less",
"css",
"flat",
"ui",
"theme"
],
"ignore": [
"**/.*",
"node_modules",
"components"
],
"dependencies": { | <|file_sep|>original/bower.json
{
"name": "bower-bootswatch-paper",
"version": "3.2.0",
"main": "less/paper.less",
"keywords": [
"paper",
"bootstrap",
"twitter",
"bootswatch",
"less",
"css",
"flat",
"ui",
"theme"
],
"ignore": [
"**/.*",
"node_modules",
"compon... | 37cb38b227c6d85102d3a1b4382c8f8c6fc8a3b4 | bower.json | bower.json | JSON |
<|file_sep|>original/asw2016-demo/asw2016-demo-webapp-student/src/main/java/de/asw/courses/web2016/demo/backend/servlet/handoff/EingabeServlet.java
<|file_sep|>current/asw2016-demo/asw2016-demo-webapp-student/src/main/java/de/asw/courses/web2016/demo/backend/servlet/handoff/EingabeServlet.java
<|file_sep|>updated/asw... | package de.asw.courses.web2016.demo.backend.servlet.handoff;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.... | <|file_sep|>original/asw2016-demo/asw2016-demo-webapp-student/src/main/java/de/asw/courses/web2016/demo/backend/servlet/handoff/EingabeServlet.java
<|file_sep|>current/asw2016-demo/asw2016-demo-webapp-student/src/main/java/de/asw/courses/web2016/demo/backend/servlet/handoff/EingabeServlet.java
<|file_sep|>updated/asw... | 27e072303fc9b5aa0d41ae9e3cf26cef40918e06 | asw2016-demo/asw2016-demo-webapp-student/src/main/java/de/asw/courses/web2016/demo/backend/servlet/handoff/EingabeServlet.java | asw2016-demo/asw2016-demo-webapp-student/src/main/java/de/asw/courses/web2016/demo/backend/servlet/handoff/EingabeServlet.java | Java |
<|file_sep|>cluster/manifests/kube2iam/daemonset.yaml.diff
original:
timeoutSeconds: 1
updated:
timeoutSeconds: 3
<|file_sep|>original/cluster/manifests/kube2iam/daemonset.yaml
hostPort: 8181
name: http
securityContext:
privileged: true
livenessProbe:
... | hostPort: 8181
name: http
securityContext:
privileged: true
livenessProbe:
httpGet:
path: /healthz
port: 8181
timeoutSeconds: 3
readinessProbe:
httpGet:
path: /healthz
port: 8181
... | <|file_sep|>cluster/manifests/kube2iam/daemonset.yaml.diff
original:
timeoutSeconds: 1
updated:
timeoutSeconds: 3
<|file_sep|>original/cluster/manifests/kube2iam/daemonset.yaml
hostPort: 8181
name: http
securityContext:
privileged: true
livenessProbe:
... | 893e132845146740dfacb84bea20104b61fc2d8a | cluster/manifests/kube2iam/daemonset.yaml | cluster/manifests/kube2iam/daemonset.yaml | YAML |
<|file_sep|>original/tests/SapiServerTest.php
<|file_sep|>current/tests/SapiServerTest.php
<|file_sep|>updated/tests/SapiServerTest.php | <?php
namespace Jivoo\Http;
use Jivoo\TestCase;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
class SapiServerTest extends TestCase
{
public function testListen()
{
$server = $this->getMock('Jivoo\Http\SapiServer', ['serve']);
$response1 = new M... | <|file_sep|>original/tests/SapiServerTest.php
<|file_sep|>current/tests/SapiServerTest.php
<|file_sep|>updated/tests/SapiServerTest.php
<?php
namespace Jivoo\Http;
use Jivoo\TestCase;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
class SapiServerTest extends TestCase
{
pu... | 62e27ba7d3f1040f28bcf072009684b577b81b10 | tests/SapiServerTest.php | tests/SapiServerTest.php | PHP |
<|file_sep|>original/test/CodeGen/Generic/switch-lower-feature.ll
<|file_sep|>current/test/CodeGen/Generic/switch-lower-feature.ll
<|file_sep|>updated/test/CodeGen/Generic/switch-lower-feature.ll | ; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$5 | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$6 | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 -o - | grep 1024 | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 -o - | grep 1023 | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc ... | <|file_sep|>original/test/CodeGen/Generic/switch-lower-feature.ll
<|file_sep|>current/test/CodeGen/Generic/switch-lower-feature.ll
<|file_sep|>updated/test/CodeGen/Generic/switch-lower-feature.ll
; RUN: llvm-as < %s | llc -march=x86 -o - | grep \$5 | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 -o - | grep ... | b3b29dfe7a501a8dcf7e2ccdd76c560bfb0858c6 | test/CodeGen/Generic/switch-lower-feature.ll | test/CodeGen/Generic/switch-lower-feature.ll | LLVM |
<|file_sep|>app/controllers/application_controller.rb.diff
original:
protect_from_forgery with: :null_session
updated:
# protect_from_forgery with: :null_session
<|file_sep|>original/app/controllers/application_controller.rb
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_s... | # Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
# protect_from_forgery with: :null_session
# Add this before action to force CAS Authentication on all controllers + actions
before_action CASClient::Frameworks::Rails::Filter, unless: :skip_login?
# Add... | <|file_sep|>app/controllers/application_controller.rb.diff
original:
protect_from_forgery with: :null_session
updated:
# protect_from_forgery with: :null_session
<|file_sep|>original/app/controllers/application_controller.rb
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_s... | 7f2448a0f6d859eb212d28f8dd26442739a1d1d6 | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>testem.js.diff
original:
'PhantomJS'
updated:
'Chrome'
<|file_sep|>original/testem.js
/* eslint-env node */
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'PhantomJS'
],
launch_in_dev: [
'PhantomJS',
'Chrome'
]
};
<|file_s... | /* eslint-env node */
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome'
],
launch_in_dev: [
'Chrome'
]
}; | <|file_sep|>testem.js.diff
original:
'PhantomJS'
updated:
'Chrome'
<|file_sep|>original/testem.js
/* eslint-env node */
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'PhantomJS'
],
launch_in_dev: [
'PhantomJS',
'Chrome'
]
};
<|file_s... | 634bd061c23511c2b5d0098bf95df4394183cedf | testem.js | testem.js | JavaScript |
<|file_sep|>original/mycomputers-workstation-development/tools/chocolateyInstall.ps1
<|file_sep|>current/mycomputers-workstation-development/tools/chocolateyInstall.ps1
<|file_sep|>updated/mycomputers-workstation-development/tools/chocolateyInstall.ps1 | $packageName = "myvm-development"
$ErrorActionPreference = "Stop"
Write-Output "Installing .Net 3.x Framework..."
Enable-WindowsOptionalFeature -All -FeatureName NetFx3 -Online
Write-Output "Installing Windows Container Support..."
Enable-WindowsOptionalFeature -All -FeatureName Containers -Online -NoRestart
Writ... | <|file_sep|>original/mycomputers-workstation-development/tools/chocolateyInstall.ps1
<|file_sep|>current/mycomputers-workstation-development/tools/chocolateyInstall.ps1
<|file_sep|>updated/mycomputers-workstation-development/tools/chocolateyInstall.ps1
$packageName = "myvm-development"
$ErrorActionPreference = "Stop... | 536eae4156622ed1f2db598ce16dd9f7e4bdbc75 | mycomputers-workstation-development/tools/chocolateyInstall.ps1 | mycomputers-workstation-development/tools/chocolateyInstall.ps1 | PowerShell |
<|file_sep|>original/lib/serum/global_bindings.ex
@moduledoc false
_moduledocp = """
Provides an interface to an Agent which stores site-wide
template variable bindings.
"""
use Agent
def start_link(_args) do
Agent.start_link(fn -> {%{}, []} end, name: __MODULE__)
end
@spec load(map()) :: :ok
... | @moduledoc false
_moduledocp = """
Provides an interface to an Agent which stores site-wide
template variable bindings.
"""
use Agent
def start_link(_args) do
Agent.start_link(fn -> {%{args: []}, [args: []]} end, name: __MODULE__)
end
@spec load(map()) :: :ok
def load(%{} = map) do
Agent... | <|file_sep|>original/lib/serum/global_bindings.ex
@moduledoc false
_moduledocp = """
Provides an interface to an Agent which stores site-wide
template variable bindings.
"""
use Agent
def start_link(_args) do
Agent.start_link(fn -> {%{}, []} end, name: __MODULE__)
end
@spec load(map()) :: :ok
... | c387e9441008ea94143b8b752e132c9e6645b254 | lib/serum/global_bindings.ex | lib/serum/global_bindings.ex | Elixir |
<|file_sep|>original/check/CMakeLists.txt
include(FindCHECK)
if(${CHECK_FOUND})
add_definitions(${CHECK_DEFINITIONS})
include_directories(${CHECK_INCLUDE_DIR})
macro(add_target_with_test CHECK_NAME)
add_executable(${CHECK_NAME} ${CHECK_NAME}.c)
target_link_libraries(${CHECK_NAME} ${CHECK_LIBRARIES})
add_te... | include(FindCHECK)
if(${CHECK_FOUND})
add_definitions(${CHECK_DEFINITIONS})
include_directories(${CHECK_INCLUDE_DIR})
macro(add_target_with_test CHECK_NAME)
add_executable(${CHECK_NAME} ${CHECK_NAME}.c)
target_link_libraries(${CHECK_NAME} ${CHECK_LIBRARIES})
add_test(${CHECK_NAME} ${EXECUTABLE_OUTPUT_PATH}... | <|file_sep|>original/check/CMakeLists.txt
include(FindCHECK)
if(${CHECK_FOUND})
add_definitions(${CHECK_DEFINITIONS})
include_directories(${CHECK_INCLUDE_DIR})
macro(add_target_with_test CHECK_NAME)
add_executable(${CHECK_NAME} ${CHECK_NAME}.c)
target_link_libraries(${CHECK_NAME} ${CHECK_LIBRARIES})
add_te... | 54292af592c6380bacaee69b4b21b1e6fa2c3be4 | check/CMakeLists.txt | check/CMakeLists.txt | Text |
<|file_sep|>original/rally_api.gemspec
Gem::Specification.new do |s|
s.name = "rally_api"
s.version = RallyAPI::VERSION
s.authors = ["Dave Smith"]
s.email = ["dsmith@rallydev.com"]
s.homepage = "https://github.com/RallyTools/RallyRestToolkitForRuby"
s.summary = "A wrapper for the... | Gem::Specification.new do |s|
s.name = "rally_api"
s.version = RallyAPI::VERSION
s.authors = ["Dave Smith"]
s.email = ["dsmith@rallydev.com"]
s.homepage = "https://github.com/RallyTools/RallyRestToolkitForRuby"
s.summary = "A wrapper for the Rally Web Services API using json"
s... | <|file_sep|>original/rally_api.gemspec
Gem::Specification.new do |s|
s.name = "rally_api"
s.version = RallyAPI::VERSION
s.authors = ["Dave Smith"]
s.email = ["dsmith@rallydev.com"]
s.homepage = "https://github.com/RallyTools/RallyRestToolkitForRuby"
s.summary = "A wrapper for the... | 6007ed0a46b50736bf93e84984642189b862fe21 | rally_api.gemspec | rally_api.gemspec | Ruby |
<|file_sep|>docs/release-source/release/examples/run-test.sh.diff
original:
updated:
<|file_sep|>docs/release-source/release/examples/run-test.sh.diff
original:
cd "$SCRIPT_DIR/.."
updated:
SINON_ROOT="$SCRIPT_DIR/../../../.."
cd "$SINON_ROOT"
<|file_sep|>original/docs/release-source/release/examples/run-test.sh
#!/... | #!/bin/bash
# Link 'sinon' to local development dir
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SINON_ROOT="$SCRIPT_DIR/../../../.."
cd "$SINON_ROOT"
npm link
# Install examples project and link to local sinon folder
cd "$SCRIPT_DIR"
rm -r node_modules 2>/dev/null
npm install --ignore-scripts
npm l... | <|file_sep|>docs/release-source/release/examples/run-test.sh.diff
original:
updated:
<|file_sep|>docs/release-source/release/examples/run-test.sh.diff
original:
cd "$SCRIPT_DIR/.."
updated:
SINON_ROOT="$SCRIPT_DIR/../../../.."
cd "$SINON_ROOT"
<|file_sep|>original/docs/release-source/release/examples/run-test.sh
#!/... | 0e1ed1290c0904f077e5a7ec4b7da0bc5b0fdc90 | docs/release-source/release/examples/run-test.sh | docs/release-source/release/examples/run-test.sh | Shell |
<|file_sep|>original/composer.json
{
"name": "nigel/demander-container-plugin",
"description": "A mediator for nigelgreenway/demander using league/container",
"type": "lib",
"license": "MIT",
"authors": [
{
"name": "Nigel Greenway",
"homepage": "http://futurepixels.co... | {
"name": "nigelgreenway/demander-container-plugin",
"description": "A mediator for nigelgreenway/demander using league/container",
"type": "lib",
"license": "MIT",
"authors": [
{
"name": "Nigel Greenway",
"homepage": "http://futurepixels.co.uk",
"email": ... | <|file_sep|>original/composer.json
{
"name": "nigel/demander-container-plugin",
"description": "A mediator for nigelgreenway/demander using league/container",
"type": "lib",
"license": "MIT",
"authors": [
{
"name": "Nigel Greenway",
"homepage": "http://futurepixels.co... | 665e9e1824cec3cae773198ab5b2b4b185ea1d7e | composer.json | composer.json | JSON |
<|file_sep|>original/app/templates/_menu.html
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="/">Skeleton</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
</ul>
<section class="top-bar-section">
<ul class="right">
<l... | <nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="/">{{ config.APP_NAME }}</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
</ul>
<section class="top-bar-section">
<ul class="right">
<li><a data-content="One" href="/on... | <|file_sep|>original/app/templates/_menu.html
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="/">Skeleton</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
</ul>
<section class="top-bar-section">
<ul class="right">
<l... | 96e2cf3058b2ac8f801e19e4172ab654739de1c6 | app/templates/_menu.html | app/templates/_menu.html | HTML |
<|file_sep|>original/composer.json
{
"name": "Omnipay Contributors",
"homepage": "https://github.com/thephpleague/omnipay-rabobank/contributors"
}
],
"autoload": {
"psr-4": { "Omnipay\\Rabobank\\" : "src/" }
},
"require": {
"php": "^5.6|^7",
... | {
"name": "Omnipay Contributors",
"homepage": "https://github.com/thephpleague/omnipay-rabobank/contributors"
}
],
"autoload": {
"psr-4": { "Omnipay\\Rabobank\\" : "src/" }
},
"require": {
"php": "^5.6|^7",
"omnipay/common": "^3.0.2"
},... | <|file_sep|>original/composer.json
{
"name": "Omnipay Contributors",
"homepage": "https://github.com/thephpleague/omnipay-rabobank/contributors"
}
],
"autoload": {
"psr-4": { "Omnipay\\Rabobank\\" : "src/" }
},
"require": {
"php": "^5.6|^7",
... | e5f0a529442017a745a76e6b09ad3d0d9f0f6fbb | composer.json | composer.json | JSON |
<|file_sep|>original/world/world.cpp
return keyState[keyCode];
}
void World::keyEvent(int keyCode, bool pressed) {
if (keyCode < SDLK_LAST) {
keyState[keyCode] = pressed;
}else {
std::cerr << "Key code out of range "<<keyCode<<"\n";
}
}
void World::tick() {
for (auto &obj : objec... | return keyState[keyCode];
}
void World::keyEvent(int keyCode, bool pressed) {
if (keyCode < SDLK_LAST) {
keyState[keyCode] = pressed;
}else {
std::cerr << "Key code out of range "<<keyCode<<"\n";
}
}
void World::tick() {
physics.Step(0.0166666, 1, 1);
for (auto &obj : objects... | <|file_sep|>original/world/world.cpp
return keyState[keyCode];
}
void World::keyEvent(int keyCode, bool pressed) {
if (keyCode < SDLK_LAST) {
keyState[keyCode] = pressed;
}else {
std::cerr << "Key code out of range "<<keyCode<<"\n";
}
}
void World::tick() {
for (auto &obj : objec... | b5092b1aa8914490a7dd6c24d8416dec65396d93 | world/world.cpp | world/world.cpp | C++ |
<|file_sep|>src/messages/webpackConfigNotFound.js.diff
original:
updated:
const chalk = require("chalk");
<|file_sep|>original/src/messages/webpackConfigNotFound.js
/**
* Copyright 2017-present, Callstack.
* All rights reserved.
*
* webpackConfigNotFound.js
*
* @flow
*/
const dedent = require("dedent");
modu... | * All rights reserved.
*
* webpackConfigNotFound.js
*
* @flow
*/
const dedent = require("dedent");
const chalk = require("chalk");
module.exports = ({ path }: { path: string }) => dedent`
Webpack config wasn't found at ${path}.
Make sure you have appropriate webpack.config.js.
You can copy the f... | <|file_sep|>src/messages/webpackConfigNotFound.js.diff
original:
updated:
const chalk = require("chalk");
<|file_sep|>original/src/messages/webpackConfigNotFound.js
/**
* Copyright 2017-present, Callstack.
* All rights reserved.
*
* webpackConfigNotFound.js
*
* @flow
*/
const dedent = require("dedent");
modu... | 349d7fb3df739b690abe249080bef6de31a45fcf | src/messages/webpackConfigNotFound.js | src/messages/webpackConfigNotFound.js | JavaScript |
<|file_sep|>original/cookbooks/fish/files/.config/fish/conf.d/aliases.fish
## Aliases
alias vi="nvim"
alias vim="nvim"
alias git="hub"
alias sudo="sudo -E "
alias diff="colordiff -u"
alias ctags="/usr/local/bin/ctags"
alias deckset="open -a Deckset"
alias rm="rm -i"
alias zatsu="memo edit zatsu.md"
alias ls="exa"
alias... | ## Aliases
alias vi="nvim"
alias vim="nvim"
alias git="hub"
alias diff="colordiff -u"
alias ctags="/usr/local/bin/ctags"
alias deckset="open -a Deckset"
alias rm="rm -i"
alias zatsu="memo edit zatsu.md"
alias ls="exa"
alias ghqg="$GOPATH/bin/get -shallow -unshallow ghq"
## Abbreviations
abbr -a b "bundle"
abbr -a v "v... | <|file_sep|>original/cookbooks/fish/files/.config/fish/conf.d/aliases.fish
## Aliases
alias vi="nvim"
alias vim="nvim"
alias git="hub"
alias sudo="sudo -E "
alias diff="colordiff -u"
alias ctags="/usr/local/bin/ctags"
alias deckset="open -a Deckset"
alias rm="rm -i"
alias zatsu="memo edit zatsu.md"
alias ls="exa"
alias... | 2c2b32e6c954ca82ff87ecb0b160401067493aa3 | cookbooks/fish/files/.config/fish/conf.d/aliases.fish | cookbooks/fish/files/.config/fish/conf.d/aliases.fish | fish |
<|file_sep|>original/.travis.yml
language: java
before_script:
- psql -U postgres -c "create user test with password 'test';"
- psql -c 'create database test owner test;' -U postgres
script: ant -lib lib test
jdk:
- openjdk7
- openjdk6
<|file_sep|>current/.travis.yml
language: java
before_script:
- psql -... | language: java
before_script:
- psql -U postgres -c "create user test with password 'test';"
- psql -c 'create database test owner test;' -U postgres
script: ant -lib lib test
jdk:
- openjdk7
- openjdk6
- oraclejdk7
- oraclejdk8 | <|file_sep|>original/.travis.yml
language: java
before_script:
- psql -U postgres -c "create user test with password 'test';"
- psql -c 'create database test owner test;' -U postgres
script: ant -lib lib test
jdk:
- openjdk7
- openjdk6
<|file_sep|>current/.travis.yml
language: java
before_script:
- psql -... | fdb2e3757e6fc7a3679af0ec4cb210c83e300486 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/coffeedomain/setup.py
from setuptools import setup, find_packages
if __name__ == '__main__':
setup(name='sphinxcontrib-coffee',
version='0.1.0',
license='BSD',
author="Stephen Sugden",
author_email="glurgle@gmail.com",
description='Sphinx exten... | from setuptools import setup, find_packages
if __name__ == '__main__':
setup(name='sphinxcontrib-coffee',
version='0.1.1',
license='BSD',
author="Stephen Sugden",
author_email="glurgle@gmail.com",
description='Sphinx extension to add CoffeeScript support',
... | <|file_sep|>original/coffeedomain/setup.py
from setuptools import setup, find_packages
if __name__ == '__main__':
setup(name='sphinxcontrib-coffee',
version='0.1.0',
license='BSD',
author="Stephen Sugden",
author_email="glurgle@gmail.com",
description='Sphinx exten... | e95f2c986f407e0c6f65ef1cd37bdefa98a01213 | coffeedomain/setup.py | coffeedomain/setup.py | Python |
<|file_sep|>original/app/assets/utensils/print/_print.sass
page-break-inside: avoid
thead
display: table-header-group
tr, img
page-break-inside: avoid
img
max-width: 100% !important
@page
margin: 0.5cm
p, h2, h3
orphans: 3
widows: 3
h2, h3
page-break-after: avoid
<|fil... |
tr, img
page-break-inside: avoid
img
max-width: 100% !important
@page
margin: 0.5cm
p, h2, h3
orphans: 3
widows: 3
h2, h3
page-break-after: avoid
.no-print,
.upgrade-notifications
display: none !important
| <|file_sep|>original/app/assets/utensils/print/_print.sass
page-break-inside: avoid
thead
display: table-header-group
tr, img
page-break-inside: avoid
img
max-width: 100% !important
@page
margin: 0.5cm
p, h2, h3
orphans: 3
widows: 3
h2, h3
page-break-after: avoid
<|fil... | 231e07d160ef4716f43b493c2b47b1dd52e128f0 | app/assets/utensils/print/_print.sass | app/assets/utensils/print/_print.sass | Sass |
<|file_sep|>public/app/filters/commentFilters.js.diff
original:
var answers = comment.author.answers;
if (!answers) {
updated:
if (!comment.author || !comment.author.answers) {
<|file_sep|>original/public/app/filters/commentFilters.js
angular.module('commentFilters', []).filter('authorCssClass', function () {
re... | angular.module('commentFilters', []).filter('authorCssClass', function () {
return function (comment, question) {
if (!comment.author || !comment.author.answers) {
return;
}
var answers = comment.author.answers;
for (var i = 0; i < answers.length; i++) {
if (answers[i].question == question._id) {
if ... | <|file_sep|>public/app/filters/commentFilters.js.diff
original:
var answers = comment.author.answers;
if (!answers) {
updated:
if (!comment.author || !comment.author.answers) {
<|file_sep|>original/public/app/filters/commentFilters.js
angular.module('commentFilters', []).filter('authorCssClass', function () {
re... | c7c6c015fe0bc4184d8dbe3b3ac3cf45fbb1efb0 | public/app/filters/commentFilters.js | public/app/filters/commentFilters.js | JavaScript |
<|file_sep|>original/site/layouts/partials/popover-root.html
<a class="navbar-link{{ if hasPrefix .c.RelPermalink .h }} currentLink{{ end }}" href="{{ .h }}">{{ .n }}</a>
<|file_sep|>current/site/layouts/partials/popover-root.html
<a class="navbar-link{{ if hasPrefix .c.RelPermalink .h }} currentLink{{ end }}" href="{{... | <a class="navbar-link{{ if hasPrefix .c.RelPermalink .h }} currentLink{{ end }}" href="{{ .h }}">{{ .n }}▼</a> | <|file_sep|>original/site/layouts/partials/popover-root.html
<a class="navbar-link{{ if hasPrefix .c.RelPermalink .h }} currentLink{{ end }}" href="{{ .h }}">{{ .n }}</a>
<|file_sep|>current/site/layouts/partials/popover-root.html
<a class="navbar-link{{ if hasPrefix .c.RelPermalink .h }} currentLink{{ end }}" href="{{... | d44d090384e767d359139341ac4e538ebd35b1f3 | site/layouts/partials/popover-root.html | site/layouts/partials/popover-root.html | HTML |
<|file_sep|>original/src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java
<|file_sep|>current/src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java
<|file_sep|>updated/src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java | /*
* (C) Copyright 2022 Boni Garcia (https://bonigarcia.github.io/)
*
* 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 requir... | <|file_sep|>original/src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java
<|file_sep|>current/src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java
<|file_sep|>updated/src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java
/*
* (C) Copyright 2022 Boni Garcia (htt... | 41d82f3de6056edec0def90061194f9231b11745 | src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java | src/test/java/io/github/bonigarcia/wdm/test/opera/OperaOptionsTest.java | Java |
<|file_sep|>original/src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs
using ChessDotNet;
using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public interface IGameRepoForSocketHandlers
{
Game Get(string id)... | using ChessDotNet;
using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public interface IGameRepoForSocketHandlers
{
Game Get(string id);
void RegisterMove(Game subject, Move move);
void RegisterGameOutcome(Game subject, stri... | <|file_sep|>original/src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs
using ChessDotNet;
using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public interface IGameRepoForSocketHandlers
{
Game Get(string id)... | 8f386040c0e8b595b36c3002f36edb0037cea6c8 | src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs | src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs | C# |
<|file_sep|>original/src/lib.rs
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! Support code for encoding and decoding types.
/*
Core encoding and decoding interfaces.
*/
#![crate_type = "rlib"]
#![crate_type = "dylib"]
#![doc(html_logo_url = "http://www.rust-... | // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! Support code for encoding and decoding types.
#![feature(macro_rules, default_type_params, slicing_syntax, globs)]
// test harness access
#[cfg(test... | <|file_sep|>original/src/lib.rs
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! Support code for encoding and decoding types.
/*
Core encoding and decoding interfaces.
*/
#![crate_type = "rlib"]
#![crate_type = "dylib"]
#![doc(html_logo_url = "http://www.rust-... | 8b5ca90e166e20fc93e1af7ca4f213825139f767 | src/lib.rs | src/lib.rs | Rust |
<|file_sep|>original/metadata/br.usp.ime.retrobreaker.txt
Summary:Simple brick breaker game
Description:
Simple brick breaker game with a retro style, e.g. no textures but plain
colors and simple animations. It features sound effects for all possible
game events, a score multiplier and four brick types: Normal (white),... | game events, a score multiplier and four brick types: Normal (white),
explive (red), strong (gray) and moving bricks (green). Levels are random
generated and three difficult settings are available.
.
Repo Type:git
Repo:https://github.com/m45t3r/retrobreaker.git
Build:1.0.1,2
commit=v1.0.1
subdir=RetroBreaker
... | <|file_sep|>original/metadata/br.usp.ime.retrobreaker.txt
Summary:Simple brick breaker game
Description:
Simple brick breaker game with a retro style, e.g. no textures but plain
colors and simple animations. It features sound effects for all possible
game events, a score multiplier and four brick types: Normal (white),... | e553b6dd255af25bce3c7dadbefd4345b25af4be | metadata/br.usp.ime.retrobreaker.txt | metadata/br.usp.ime.retrobreaker.txt | Text |
<|file_sep|>original/test/blank_test.rb
end
end
class EmptyFalse
def empty?
nil
end
end
BLANK = [ EmptyTrue.new, nil, false, '', ' ', " \n\t \r ", ' ', "\u00a0", [], {} ]
NOT = [ EmptyFalse.new, Object.new, true, 0, 1, 'a', [nil], { nil => 0 } ]
# extracted tests from rails/activesupport
# See : http... | end
end
class EmptyFalse
def empty?
nil
end
end
BLANK = [ EmptyTrue.new, nil, false, '', ' ', " \n\t \r ", ' ', "\u00a0", [], {} ]
NOT = [ EmptyFalse.new, Object.new, true, 0, 1, 'a', [nil], { nil => 0 }, Time.now ]
# extracted tests from rails/activesupport
# See : https://github.com/rails/rails/blo... | <|file_sep|>original/test/blank_test.rb
end
end
class EmptyFalse
def empty?
nil
end
end
BLANK = [ EmptyTrue.new, nil, false, '', ' ', " \n\t \r ", ' ', "\u00a0", [], {} ]
NOT = [ EmptyFalse.new, Object.new, true, 0, 1, 'a', [nil], { nil => 0 } ]
# extracted tests from rails/activesupport
# See : http... | 68770b0cd92bf99d38f8800ba3cf20cc935d9e4d | test/blank_test.rb | test/blank_test.rb | Ruby |
<|file_sep|>db/migrate/20150429184013_create_fitness_professional_profiles.rb.diff
original:
t.references :user
updated:
t.references :user, index: true
<|file_sep|>original/db/migrate/20150429184013_create_fitness_professional_profiles.rb
t.text :client_space_descrip
t.text :independent_facili... | t.text :independent_facility_descrip
t.text :membership_facility_descrip
t.text :private_facility_descrip
t.text :credentials
t.text :goals, array: true, default: []
t.text :goal_specifics
t.text :medical_conditions, array: true, default: []
t.text :orthopedic_injury_expe... | <|file_sep|>db/migrate/20150429184013_create_fitness_professional_profiles.rb.diff
original:
t.references :user
updated:
t.references :user, index: true
<|file_sep|>original/db/migrate/20150429184013_create_fitness_professional_profiles.rb
t.text :client_space_descrip
t.text :independent_facili... | f164938eaacdaf37e4fb34a9d4ea1d0d5d5ab562 | db/migrate/20150429184013_create_fitness_professional_profiles.rb | db/migrate/20150429184013_create_fitness_professional_profiles.rb | Ruby |
<|file_sep|>original/develop_requirements.txt
ansible==2.8.0
pip==19.1
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.6
tox==3.12.1
coverage==4.5.3
Sphinx==2.0.0
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.3.1
<|file_sep|>current/develop_requirements.txt
ansible==2.8.0
pip==19.1
wheel==0.33.4
watchdog==0.9.0
... | ansible==2.8.0
pip==19.1
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.6
tox==3.12.1
coverage==4.5.3
Sphinx==2.1.0
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.3.1 | <|file_sep|>original/develop_requirements.txt
ansible==2.8.0
pip==19.1
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.6
tox==3.12.1
coverage==4.5.3
Sphinx==2.0.0
twine==1.12.1
rstcheck==3.3.1
pycodestyle==2.5.0
pylint==2.3.1
<|file_sep|>current/develop_requirements.txt
ansible==2.8.0
pip==19.1
wheel==0.33.4
watchdog==0.9.0
... | 75aac9a293c46924b069f978f7a93a1dcc93a16a | develop_requirements.txt | develop_requirements.txt | Text |
<|file_sep|>original/Cheat-sheet_Git.md
<|file_sep|>current/Cheat-sheet_Git.md
<|file_sep|>updated/Cheat-sheet_Git.md | # Cheat-sheet Git
## Create branch
### Create local branch
```bash
$ git branch branchName
```
### Create remte branch (on Github for example)
```bash
$ git push origin branchName
```
## Remove branch
### Remove local branch
```bash | <|file_sep|>original/Cheat-sheet_Git.md
<|file_sep|>current/Cheat-sheet_Git.md
<|file_sep|>updated/Cheat-sheet_Git.md
# Cheat-sheet Git
## Create branch
### Create local branch
```bash
$ git branch branchName
```
### Create remte branch (on Github for example)
```bash
$ git push origin branchName
```
## Remove ... | d2578a7274f87223af0b1b3485119d167ec36a36 | Cheat-sheet_Git.md | Cheat-sheet_Git.md | Markdown |
<|file_sep|>vendor/assets/javascripts/geofsh.js.diff
original:
var errorCallback, getPosition, hideAddressAndZip, hideGeoLoc, successCallback;
updated:
var geolocError, getPosition, hideAddressAndZip, hideGeoLoc, geolocSuccess;
<|file_sep|>vendor/assets/javascripts/geofsh.js.diff
original:
successCallback = funct... | return "Geolocation Unsuccessful";
};
hideGeoLoc = function() {
return $('.geoloc-hide').parent().hide();
};
getPosition = function() {
if (navigator.geolocation) {
return navigator.geolocation.getCurrentPosition(geolocSuccess, geolocError);
} else {
hideGeoLoc();
return "Geolocat... | <|file_sep|>vendor/assets/javascripts/geofsh.js.diff
original:
var errorCallback, getPosition, hideAddressAndZip, hideGeoLoc, successCallback;
updated:
var geolocError, getPosition, hideAddressAndZip, hideGeoLoc, geolocSuccess;
<|file_sep|>vendor/assets/javascripts/geofsh.js.diff
original:
successCallback = funct... | 72688cd96a101fd22294682be1077fb7d4a821e4 | vendor/assets/javascripts/geofsh.js | vendor/assets/javascripts/geofsh.js | JavaScript |
<|file_sep|>original/rack-authenticate.gemspec
Gem::Specification.new do |s|
s.name = "rack-authenticate"
s.version = Rack::Authenticate::VERSION
s.authors = ["Myron Marston"]
s.email = ["myron.marston@gmail.com"]
s.homepage = ""
s.summary = %q{A rack middleware that authenticate... | Gem::Specification.new do |s|
s.name = "rack-authenticate"
s.version = Rack::Authenticate::VERSION
s.authors = ["Myron Marston"]
s.email = ["myron.marston@gmail.com"]
s.homepage = ""
s.summary = %q{A rack middleware that authenticates requests either using basic auth or via signe... | <|file_sep|>original/rack-authenticate.gemspec
Gem::Specification.new do |s|
s.name = "rack-authenticate"
s.version = Rack::Authenticate::VERSION
s.authors = ["Myron Marston"]
s.email = ["myron.marston@gmail.com"]
s.homepage = ""
s.summary = %q{A rack middleware that authenticate... | aa66df6c0b2a807e9f14e2bc44ad78fb35ca5991 | rack-authenticate.gemspec | rack-authenticate.gemspec | Ruby |
<|file_sep|>original/lib/specinfra/command/base/mail_alias.rb
class Specinfra::Command::Base::MailAlias < Specinfra::Command::Base
class << self
def check_is_aliased_to(recipient, target)
target = "[[:space:]]#{target}"
"getent aliases #{escape(recipient)} | grep -- #{escape(target)}$"
end
end
e... | class Specinfra::Command::Base::MailAlias < Specinfra::Command::Base
class << self
def check_is_aliased_to(mail_alias, recipient)
recipient = "[[:space:]]#{recipient}"
"getent aliases #{escape(mail_alias)} | grep -- #{escape(recipient)}$"
end
def add(mail_alias, recipient)
"echo #{mail_... | <|file_sep|>original/lib/specinfra/command/base/mail_alias.rb
class Specinfra::Command::Base::MailAlias < Specinfra::Command::Base
class << self
def check_is_aliased_to(recipient, target)
target = "[[:space:]]#{target}"
"getent aliases #{escape(recipient)} | grep -- #{escape(target)}$"
end
end
e... | d32e840cae25d9a606bf97da72cf2991e4d14249 | lib/specinfra/command/base/mail_alias.rb | lib/specinfra/command/base/mail_alias.rb | Ruby |
<|file_sep|>original/olympiad/bestfit.py
<|file_sep|>current/olympiad/bestfit.py
<|file_sep|>updated/olympiad/bestfit.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2014 Fabian M.
#
# 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... | <|file_sep|>original/olympiad/bestfit.py
<|file_sep|>current/olympiad/bestfit.py
<|file_sep|>updated/olympiad/bestfit.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2014 Fabian M.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with... | f888799f4c88952f3ee77578fc1aface8eb4b067 | olympiad/bestfit.py | olympiad/bestfit.py | Python |
<|file_sep|>original/tests/regression/31-ikind-aware-ints/09-signed-negate.c
<|file_sep|>current/tests/regression/31-ikind-aware-ints/09-signed-negate.c
<|file_sep|>updated/tests/regression/31-ikind-aware-ints/09-signed-negate.c | //PARAM: --disable ana.int.interval --enable ana.int.wrap_on_signed_overflow
#include <assert.h>
int main(){
int a = 0;
// maximum value for long long
signed long long s = 9223372036854775807;
assert(s > 9223372036854775806);
signed long long t = s + 2;
// Signed overflow - The following asse... | <|file_sep|>original/tests/regression/31-ikind-aware-ints/09-signed-negate.c
<|file_sep|>current/tests/regression/31-ikind-aware-ints/09-signed-negate.c
<|file_sep|>updated/tests/regression/31-ikind-aware-ints/09-signed-negate.c
//PARAM: --disable ana.int.interval --enable ana.int.wrap_on_signed_overflow
#include <as... | 3b78d640bae703c1c5c88c8e87f313d30f58249b | tests/regression/31-ikind-aware-ints/09-signed-negate.c | tests/regression/31-ikind-aware-ints/09-signed-negate.c | C |
<|file_sep|>original/GitVersion.yml
ignore:
commits-before: 2017-01-01T00:00:00
<|file_sep|>current/GitVersion.yml
ignore:
commits-before: 2017-01-01T00:00:00
<|file_sep|>updated/GitVersion.yml | ignore:
commits-before: 2017-01-01T00:00:00
legacy-semver-padding: 3 | <|file_sep|>original/GitVersion.yml
ignore:
commits-before: 2017-01-01T00:00:00
<|file_sep|>current/GitVersion.yml
ignore:
commits-before: 2017-01-01T00:00:00
<|file_sep|>updated/GitVersion.yml
ignore:
commits-before: 2017-01-01T00:00:00
legacy-semver-padding: 3 | fdb5645fe4e1daa8dead3fc272515a40f09c65f9 | GitVersion.yml | GitVersion.yml | YAML |
<|file_sep|>original/stack.yaml
flags: {}
packages:
- '.'
- location:
git: https://github.com/adscib/haskell-chart
commit: 021e5b2ce5b0ddb7c8a71569f8708330068fbf4a
subdirs:
- chart
extra-dep: true
extra-deps: []
resolver: lts-7.7
<|file_sep|>current/stack.yaml
flags: {}
packages:
- '.'
- location:
g... | flags: {}
packages:
- '.'
# - location:
# git: https://github.com/adscib/haskell-chart
# commit: 021e5b2ce5b0ddb7c8a71569f8708330068fbf4a
# subdirs:
# - chart
# extra-dep: true
extra-deps: []
resolver: lts-7.7 | <|file_sep|>original/stack.yaml
flags: {}
packages:
- '.'
- location:
git: https://github.com/adscib/haskell-chart
commit: 021e5b2ce5b0ddb7c8a71569f8708330068fbf4a
subdirs:
- chart
extra-dep: true
extra-deps: []
resolver: lts-7.7
<|file_sep|>current/stack.yaml
flags: {}
packages:
- '.'
- location:
g... | fc387b816ef168cff7c96ebc9304ed8042ce6844 | stack.yaml | stack.yaml | YAML |
<|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json | {
"name": "playpal",
"version": "1.0.0",
"description": "A collection of tools to enable a Test Driven Development (TDD) workflow for solving toy problems.",
"main": "gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "http... | <|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json
{
"name": "playpal",
"version": "1.0.0",
"description": "A collection of tools to enable a Test Driven Development (TDD) workflow for solving toy problems.",
"main": "gulpfile.js",
"scripts": {
"test": "e... | a49dd846099b467cf54fe0ff0c92c96b3df75c44 | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
argcomplete==1.8.2
base58==0.2.4
botocore==1.5.36
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.2
kappa==0.6.0
lambda-packages==0.14.2
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.... | argcomplete==1.8.2
base58==0.2.4
botocore==1.5.37
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.2
kappa==0.6.0
lambda-packages==0.14.2
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.11.2
troposphere>=1.9.0
Werkzeug==0.12... | <|file_sep|>original/requirements.txt
argcomplete==1.8.2
base58==0.2.4
botocore==1.5.36
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.2
kappa==0.6.0
lambda-packages==0.14.2
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.... | 1cd751b30ea901a097a3a3ba9937f286cabc654f | requirements.txt | requirements.txt | Text |
<|file_sep|>source/_header.html.erb.diff
original:
<li><%= link_to 'Speakers & talks', '/speakers' %></li>
updated:
<li><%= link_to 'Speakers', '/speakers' %></li>
<|file_sep|>original/source/_header.html.erb
<nav class="top-bar">
<ul class="title-area">
<li class="name"><h1><a href="/">RuLu... | <nav class="top-bar">
<ul class="title-area">
<li class="name"><h1><a href="/">RuLu</a></h1></li>
<li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
</ul>
<section class="top-bar-section">
<ul class="left">
<li><%= link_to 'Speakers', '/speakers' %></li>
... | <|file_sep|>source/_header.html.erb.diff
original:
<li><%= link_to 'Speakers & talks', '/speakers' %></li>
updated:
<li><%= link_to 'Speakers', '/speakers' %></li>
<|file_sep|>original/source/_header.html.erb
<nav class="top-bar">
<ul class="title-area">
<li class="name"><h1><a href="/">RuLu... | e6e1c7958af293ef023be20c620aa7279db8d51c | source/_header.html.erb | source/_header.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.5
- 2.3.1
services:
- redis-server
script:
- bundle exec rake spec && bundle exec codeclimate-test-reporter
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.5
- 2.3.1
services:
- redis-server
script:
- bundle... | language: ruby
rvm:
- 2.1.10
- 2.2.5
- 2.3.1
- 2.4.0
services:
- redis-server
script:
- bundle exec rake spec && bundle exec codeclimate-test-reporter | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.5
- 2.3.1
services:
- redis-server
script:
- bundle exec rake spec && bundle exec codeclimate-test-reporter
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.5
- 2.3.1
services:
- redis-server
script:
- bundle... | dadfe7b613a3a0ff53b68ca871238116644d7b5a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/functional/CMakeLists.txt
add_executable(fdb_functional_test
fdb_functional_test.cc
${GETTIMEOFDAY_VS})
target_link_libraries(fdb_functional_test forestdb)
add_executable(fdb_extended_test
fdb_extended_test.cc
${ROOT_UTILS}/time_uti... | add_executable(fdb_functional_test
fdb_functional_test.cc
${ROOT_UTILS}/time_utils.cc
${GETTIMEOFDAY_VS})
target_link_libraries(fdb_functional_test forestdb)
add_executable(fdb_extended_test
fdb_extended_test.cc
${ROOT_UTILS}/time_utils.cc
... | <|file_sep|>original/tests/functional/CMakeLists.txt
add_executable(fdb_functional_test
fdb_functional_test.cc
${GETTIMEOFDAY_VS})
target_link_libraries(fdb_functional_test forestdb)
add_executable(fdb_extended_test
fdb_extended_test.cc
${ROOT_UTILS}/time_uti... | 64aea6f1bae45332dfb4c69f092fdaa774db311b | tests/functional/CMakeLists.txt | tests/functional/CMakeLists.txt | Text |
<|file_sep|>original/readme.md
# Registro Navale
An example project that demonstrates how to create a hypermedia API using Django
REST framework and document it using Gherkin tests, developed for
[PyCon Sette](https://www.pycon.it).
[**Read the documentation at Relish**](http://www.relishapp.com/jcassee/registronaval... | # Registro Navale [](https://travis-ci.org/jcassee/registronavale)
An example project that demonstrates how to create a hypermedia API using Django
REST framework and document it using Gherkin tests, developed for
[PyCon Sette](https://www.pycon.it).
[*... | <|file_sep|>original/readme.md
# Registro Navale
An example project that demonstrates how to create a hypermedia API using Django
REST framework and document it using Gherkin tests, developed for
[PyCon Sette](https://www.pycon.it).
[**Read the documentation at Relish**](http://www.relishapp.com/jcassee/registronaval... | 627d6709f5a68ef3a7bf3b95030a6642d2c9c14f | readme.md | readme.md | Markdown |
<|file_sep|>original/tests/unit/mixins/sl-component-input-id-test.js
import mixinUnderTest from 'sl-ember-components/mixins/sl-component-input-id';
import { module, test } from 'qunit';
module( 'Unit | Mixin | sl component input id' );
test( 'Successfully mixed', function( assert ) {
const testObject = Ember.Obje... | import mixinUnderTest from 'sl-ember-components/mixins/sl-component-input-id';
import { module, test } from 'qunit';
module( 'Unit | Mixin | sl component input id' );
test( 'Successfully mixed', function( assert ) {
const testObject = Ember.Object.extend( mixinUnderTest );
const subject = testObject.create();... | <|file_sep|>original/tests/unit/mixins/sl-component-input-id-test.js
import mixinUnderTest from 'sl-ember-components/mixins/sl-component-input-id';
import { module, test } from 'qunit';
module( 'Unit | Mixin | sl component input id' );
test( 'Successfully mixed', function( assert ) {
const testObject = Ember.Obje... | 0e908fb19fc892bcde4d7e98a942781f390cef50 | tests/unit/mixins/sl-component-input-id-test.js | tests/unit/mixins/sl-component-input-id-test.js | JavaScript |
<|file_sep|>original/.github/workflows/merge-bot.yml
check_suite:
types:
- completed
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- name: Merge me!
uses: ridedott/merge-me-action@v2.9.102
with:
# Depending on branch protection rules, a manuall... | check_suite:
types:
- completed
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- name: Merge me!
uses: ridedott/merge-me-action@v2.9.110
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` env... | <|file_sep|>original/.github/workflows/merge-bot.yml
check_suite:
types:
- completed
jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- name: Merge me!
uses: ridedott/merge-me-action@v2.9.102
with:
# Depending on branch protection rules, a manuall... | 5c5c765a1a1af0172bfe74009f89d9c68a8ba311 | .github/workflows/merge-bot.yml | .github/workflows/merge-bot.yml | YAML |
<|file_sep|>original/8/crypto_randomBytes-base64-substr.js
<|file_sep|>current/8/crypto_randomBytes-base64-substr.js
<|file_sep|>updated/8/crypto_randomBytes-base64-substr.js | var crypto = require('crypto');
var buf = crypto.randomBytes(16);
var cut_bufhex = buf.toString('base64').substr(0, 8);
console.log('Have %d bytes of random string by base64: ', cut_bufhex.length, cut_bufhex); | <|file_sep|>original/8/crypto_randomBytes-base64-substr.js
<|file_sep|>current/8/crypto_randomBytes-base64-substr.js
<|file_sep|>updated/8/crypto_randomBytes-base64-substr.js
var crypto = require('crypto');
var buf = crypto.randomBytes(16);
var cut_bufhex = buf.toString('base64').substr(0, 8);
console.log('Have %d b... | 6e3a476f9233db96aa5ee636fe22acfc42d7bd6f | 8/crypto_randomBytes-base64-substr.js | 8/crypto_randomBytes-base64-substr.js | JavaScript |
<|file_sep|>original/data/pldm_variables.py
<|file_sep|>current/data/pldm_variables.py
<|file_sep|>updated/data/pldm_variables.py | #!/usr/bin/python
r"""
Contains PLDM-related constants.
"""
PLDM_TYPE_BASE = '00'
PLDM_TYPE_PLATFORM = '02'
PLDM_TYPE_BIOS = '03'
PLDM_TYPE_OEM = '3F'
PLDM_BASE_CMD = {
'GET_TID': '2',
'GET_PLDM_VERSION': '3',
'GET_PLDM_TYPES': '4',
'GET_PLDM_COMMANDS': '5'}
PLDM_SUCCESS = '00'
PLDM_ERROR = '01'
PL... | <|file_sep|>original/data/pldm_variables.py
<|file_sep|>current/data/pldm_variables.py
<|file_sep|>updated/data/pldm_variables.py
#!/usr/bin/python
r"""
Contains PLDM-related constants.
"""
PLDM_TYPE_BASE = '00'
PLDM_TYPE_PLATFORM = '02'
PLDM_TYPE_BIOS = '03'
PLDM_TYPE_OEM = '3F'
PLDM_BASE_CMD = {
'GET_TID': ... | 70e14187ecd2567894e5e8183341a63835d6839c | data/pldm_variables.py | data/pldm_variables.py | Python |
<|file_sep|>original/program_document/program_result_view.xml
<field name="arch" type="xml">
<notebook>
<page name="documents" string="Documents">
<button name="%(document_multiple_records.action_view_document)s"
type="action"
string="Add"
... | <field name="arch" type="xml">
<notebook>
<page name="documents" string="Documents">
<button name="%(document_multiple_records.action_view_document)s"
type="action"
string="Add"
class="oe_edit_only"/>
<field na... | <|file_sep|>original/program_document/program_result_view.xml
<field name="arch" type="xml">
<notebook>
<page name="documents" string="Documents">
<button name="%(document_multiple_records.action_view_document)s"
type="action"
string="Add"
... | c8c0e2180ebd0a5f2a7a23fa2a5e0981ef8ebbc8 | program_document/program_result_view.xml | program_document/program_result_view.xml | XML |
<|file_sep|>keymaps/simple-align.cson.diff
original:
'atom-workspace':
updated:
'.platform-darwin':
<|file_sep|>original/keymaps/simple-align.cson
# Keybindings require three things to be fully defined: A selector that is
# matched against the focused element, the keystroke and the command to
# execute.
#
# Below is a ... | # Keybindings require three things to be fully defined: A selector that is
# matched against the focused element, the keystroke and the command to
# execute.
#
# Below is a basic keybinding which registers on all platforms by applying to
# the root workspace element.
# For more detailed documentation see
# https://ato... | <|file_sep|>keymaps/simple-align.cson.diff
original:
'atom-workspace':
updated:
'.platform-darwin':
<|file_sep|>original/keymaps/simple-align.cson
# Keybindings require three things to be fully defined: A selector that is
# matched against the focused element, the keystroke and the command to
# execute.
#
# Below is a ... | 635bbbb07005be82f03f85c48864132670af265a | keymaps/simple-align.cson | keymaps/simple-align.cson | CoffeeScript |
<|file_sep|>css/dashboard.css.diff
original:
font-size: .7em;
updated:
font-size: .5em;
<|file_sep|>original/css/dashboard.css
.project {
border-top: 1px solid #000;
clear: left;
}
.status {
display: inline-block;
float: right;
font-weight: bold;
font-size: .7em;
color: white;
padding: 5px 10px;
}
... | .project {
border-top: 1px solid #000;
clear: left;
}
.status {
display: inline-block;
float: right;
font-weight: bold;
font-size: .5em;
color: white;
padding: 0 5px;
margin-top: -11.466px;
}
.status.planning {
background-color: gray;
}
.status.alpha {
background-color: lightblue;
}
.s... | <|file_sep|>css/dashboard.css.diff
original:
font-size: .7em;
updated:
font-size: .5em;
<|file_sep|>original/css/dashboard.css
.project {
border-top: 1px solid #000;
clear: left;
}
.status {
display: inline-block;
float: right;
font-weight: bold;
font-size: .7em;
color: white;
padding: 5px 10px;
}
... | 5ebe20cf6b5c0a6e15ec15b35b81b367a48daaa6 | css/dashboard.css | css/dashboard.css | CSS |
<|file_sep|>original/proto/modules/drive_to_point.proto
optional bool getConfiguration = 87;
optional Configuration configuration = 88;
}
message Targets {
repeated double longitudes = 1 [packed = true];
repeated double latitudes = 2 [packed = true];
repeated double radiuses = 3 [packed = true];
}
... | optional bool getConfiguration = 87;
optional Configuration configuration = 88;
}
message Targets {
repeated double longitudes = 1 [packed = true];
repeated double latitudes = 2 [packed = true];
repeated double radiuses = 3 [packed = true];
}
message Location {
optional double x = 1;
optio... | <|file_sep|>original/proto/modules/drive_to_point.proto
optional bool getConfiguration = 87;
optional Configuration configuration = 88;
}
message Targets {
repeated double longitudes = 1 [packed = true];
repeated double latitudes = 2 [packed = true];
repeated double radiuses = 3 [packed = true];
}
... | dc919ef33b69226ae5cadb49b237d552a7d6aa89 | proto/modules/drive_to_point.proto | proto/modules/drive_to_point.proto | Protocol Buffer |
<|file_sep|>original/DeclarativeLayout/Classes/HashSet.swift
Courtesy of the Swift Algorithm Club: https://github.com/raywenderlich/swift-algorithm-club/blob/master/Hash%20Set/HashSet.swift
Slightly modified to fit my needs. Whether a hashset should allow you to get an element from it that is equal to another element... | Courtesy of the Swift Algorithm Club: https://github.com/raywenderlich/swift-algorithm-club/blob/master/Hash%20Set/HashSet.swift
Slightly modified to fit my needs. Whether a hashset should allow you to get an element from it that is equal to another element is an academic debate I don't feel like having.
Sure, I cou... | <|file_sep|>original/DeclarativeLayout/Classes/HashSet.swift
Courtesy of the Swift Algorithm Club: https://github.com/raywenderlich/swift-algorithm-club/blob/master/Hash%20Set/HashSet.swift
Slightly modified to fit my needs. Whether a hashset should allow you to get an element from it that is equal to another element... | e057effae50f248f8a70e91bd0d556c7e0ed9cf7 | DeclarativeLayout/Classes/HashSet.swift | DeclarativeLayout/Classes/HashSet.swift | Swift |
<|file_sep|>original/versebot/regex.py
"""
VerseBot for reddit
By Matthieu Grieger
regex.py
Copyright (c) 2015 Matthieu Grieger (MIT License)
"""
import re
def find_verses(message_body):
""" Uses regex to search comment body for verse quotations. Returns
a list of matches if found, None otherwise. """
... | """
VerseBot for reddit
By Matthieu Grieger
regex.py
Copyright (c) 2015 Matthieu Grieger (MIT License)
"""
import re
def find_verses(message_body):
""" Uses regex to search comment body for verse quotations. Returns
a list of matches if found, None otherwise. """
regex = (r"(?<=\[)(?P<book>[\d\w\s]+)... | <|file_sep|>original/versebot/regex.py
"""
VerseBot for reddit
By Matthieu Grieger
regex.py
Copyright (c) 2015 Matthieu Grieger (MIT License)
"""
import re
def find_verses(message_body):
""" Uses regex to search comment body for verse quotations. Returns
a list of matches if found, None otherwise. """
... | 8a83c67c76d2a96fc9a70f2057787efcd9250e0e | versebot/regex.py | versebot/regex.py | Python |
<|file_sep|>original/web/_foot.rd
=begin html
=end
<|file_sep|>current/web/_foot.rd
=begin html
=end
<|file_sep|>updated/web/_foot.rd | =begin html
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2913796-1";
urchinTracker();
</script>
=end | <|file_sep|>original/web/_foot.rd
=begin html
=end
<|file_sep|>current/web/_foot.rd
=begin html
=end
<|file_sep|>updated/web/_foot.rd
=begin html
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2913796-1";
urchinTracker();
</script... | ceaff3f2e6803ffead8e1cc4c2579d123dba7b30 | web/_foot.rd | web/_foot.rd | R |
<|file_sep|>src/Modules/Database.php.diff
original:
updated:
public function __construct($config = 'database', $item = 'default')
<|file_sep|>original/src/Modules/Database.php
<?php
namespace \werx\Core\Modules;
use \werx\Core\Model;
use \werx\Core\WerxApp;
use \werx\Core\Database;
class Database extends Module
{... | <?php
namespace \werx\Core\Modules;
use \werx\Core\Model;
use \werx\Core\WerxApp;
use \werx\Core\Database;
class Database extends Module
{
public function __construct($config = 'database', $item = 'default')
public function handle(WerxApp $app)
{
$app->config->load($config, true);
Database::init($app->config... | <|file_sep|>src/Modules/Database.php.diff
original:
updated:
public function __construct($config = 'database', $item = 'default')
<|file_sep|>original/src/Modules/Database.php
<?php
namespace \werx\Core\Modules;
use \werx\Core\Model;
use \werx\Core\WerxApp;
use \werx\Core\Database;
class Database extends Module
{... | f5bc2caedc5d05562ec67514bb31bb49154412b2 | src/Modules/Database.php | src/Modules/Database.php | PHP |
<|file_sep|>original/tests/ice40/run-test.sh
#!/usr/bin/env bash
set -e
{
echo "all::"
for x in *.ys; do
echo "all:: run-$x"
echo "run-$x:"
echo " @echo 'Running $x..'"
echo " @../../yosys -ql ${x%.ys}.log $x -w 'Yosys has only limited support for tri-state logic at the moment.'"
done
for s in *.sh; do
if [ "$s" !... | #!/usr/bin/env bash
set -e
{
echo "all::"
for x in *.ys; do
echo "all:: run-$x"
echo "run-$x:"
echo " @echo 'Running $x..'"
echo " @../../yosys -ql ${x%.ys}.log -w 'Yosys has only limited support for tri-state logic at the moment.' $x"
done
for s in *.sh; do
if [ "$s" != "run-test.sh" ]; then
echo "all:: run-$s"... | <|file_sep|>original/tests/ice40/run-test.sh
#!/usr/bin/env bash
set -e
{
echo "all::"
for x in *.ys; do
echo "all:: run-$x"
echo "run-$x:"
echo " @echo 'Running $x..'"
echo " @../../yosys -ql ${x%.ys}.log $x -w 'Yosys has only limited support for tri-state logic at the moment.'"
done
for s in *.sh; do
if [ "$s" !... | 7f0eec8270dbef06e3e6970af20dae2d6f89f6b9 | tests/ice40/run-test.sh | tests/ice40/run-test.sh | Shell |
<|file_sep|>original/Test/Executor/TestExecutor.sh
<|file_sep|>current/Test/Executor/TestExecutor.sh
<|file_sep|>updated/Test/Executor/TestExecutor.sh | TestExecutor(){
executeTest(){
group=${1}
shift
tests=(${@})
for test in ${tests[@]}; do
if [[ $(${group} test.${test}) == FAIL ]]; then
echo ${group}_test.${test}
fi
done
}
${@}
} | <|file_sep|>original/Test/Executor/TestExecutor.sh
<|file_sep|>current/Test/Executor/TestExecutor.sh
<|file_sep|>updated/Test/Executor/TestExecutor.sh
TestExecutor(){
executeTest(){
group=${1}
shift
tests=(${@})
for test in ${tests[@]}; do
if [[ $(${group} test.${test}) == FAIL ]]; then
echo ${group}... | a6e869f63536bf664cf4b9cc73e6f3be87dfd271 | Test/Executor/TestExecutor.sh | Test/Executor/TestExecutor.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- go: "1.11.x"
env: GO111MODULE=off
- go: "1.11.x"
env: GO111MODULE=on
- go: "1.12.x"
env: GO111MODULE=off
- go: "1.12.x"
env: GO111MODULE=on
updated:
<|file_sep|>original/.travis.yml
language: go
os: linux
jobs:
include:
- go: "1.10... | language: go
os: linux
jobs:
include:
- go: "1.10.x"
- go: "1.13.x"
env: GO111MODULE=off
- go: "1.13.x"
env: GO111MODULE=on
- go: "1.14.x"
env: GO111MODULE=off
- go: "1.14.x"
env: GO111MODULE=on
- go: master
env: GO111MODULE=on
- go: master
env: GO111MO... | <|file_sep|>.travis.yml.diff
original:
- go: "1.11.x"
env: GO111MODULE=off
- go: "1.11.x"
env: GO111MODULE=on
- go: "1.12.x"
env: GO111MODULE=off
- go: "1.12.x"
env: GO111MODULE=on
updated:
<|file_sep|>original/.travis.yml
language: go
os: linux
jobs:
include:
- go: "1.10... | f654a9112bbeac49ca2cd45bfbe11533c4666cf8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/examples/to-do/template.html
<template name=tasks>
<article><!--{#} = current index -->
<input id={#} onclick=toggle type=checkbox>
<label for={#}>{task}</label>
<button onclick=remove>Remove</button>
</article>
</template>
<menu>
<button onclick=comp... |
<template name=tasks>
<article><!--{#} = current index -->
<input id={#} onclick=toggle type=checkbox>
<label for={#}>{task}</label>
<button onclick=remove>Remove</button>
</article>
</template>
<menu>
<button onclick=complete>Complete</button>
<label for=all data-... | <|file_sep|>original/examples/to-do/template.html
<template name=tasks>
<article><!--{#} = current index -->
<input id={#} onclick=toggle type=checkbox>
<label for={#}>{task}</label>
<button onclick=remove>Remove</button>
</article>
</template>
<menu>
<button onclick=comp... | 0b4dc38940c754ebde6006f5b570bd30b50b69d5 | examples/to-do/template.html | examples/to-do/template.html | HTML |
<|file_sep|>original/env/galaxy/group_vars/toolshedservers/vars.yml
---
toolshedservers_group_packages:
- htop
- strace
- dstat
- tmux
toolshedservers_group_authorized_key_users: "{{ vault_toolshedservers_group_authorized_key_users }}"
toolshedservers_group_groups:
- name: shed
gid: 899
system: yes... | ---
toolshedservers_group_packages:
- htop
- strace
- dstat
- tmux
- vim
- tmpwatch
toolshedservers_group_authorized_key_users: "{{ vault_toolshedservers_group_authorized_key_users }}"
toolshedservers_group_groups:
- name: shed
gid: 899
system: yes
- name: gxsrc
gid: 898
system: yes
... | <|file_sep|>original/env/galaxy/group_vars/toolshedservers/vars.yml
---
toolshedservers_group_packages:
- htop
- strace
- dstat
- tmux
toolshedservers_group_authorized_key_users: "{{ vault_toolshedservers_group_authorized_key_users }}"
toolshedservers_group_groups:
- name: shed
gid: 899
system: yes... | 10c2e922154509ee59ee8e6db87c5b04b256928a | env/galaxy/group_vars/toolshedservers/vars.yml | env/galaxy/group_vars/toolshedservers/vars.yml | YAML |
<|file_sep|>original/contrib/examples/rules/sample_rule_with_webhook_unicode_name.yaml
---
name: "sample_rule_with_webhook_你好"
pack: "examples"
description: "Sample rule dumping webhook payload to a file. 你好吗"
enabled: true
trigger:
type: "core.st2.webhook"
parameters:
u... | ---
name: "unicode_rule_with_webhook_你好"
pack: "examples"
description: "Sample rule dumping webhook payload to a file. 你好吗"
enabled: true
trigger:
type: "core.st2.webhook"
parameters:
url: "unicode"
criteria:
trigger.body.name:
pattern: "st2"
... | <|file_sep|>original/contrib/examples/rules/sample_rule_with_webhook_unicode_name.yaml
---
name: "sample_rule_with_webhook_你好"
pack: "examples"
description: "Sample rule dumping webhook payload to a file. 你好吗"
enabled: true
trigger:
type: "core.st2.webhook"
parameters:
u... | f3a92b1d8ca1a13ef6c3aba68b299a1d2b1bfbcf | contrib/examples/rules/sample_rule_with_webhook_unicode_name.yaml | contrib/examples/rules/sample_rule_with_webhook_unicode_name.yaml | YAML |
<|file_sep|>original/digital-logsheets-res/php/validator/ValidatorUtility.php
<?php
class ValidatorUtility {
public static function isInteger($value) {
return filter_var($value, FILTER_VALIDATE_INT) !== false;
}
public static function doesFieldExist($field) {
retur... | <?php
class ValidatorUtility {
public static function isInteger($value) {
return filter_var($value, FILTER_VALIDATE_INT) !== false;
}
public static function doesFieldExist($field) {
if (is_null($field)) {
return false;
}
if ... | <|file_sep|>original/digital-logsheets-res/php/validator/ValidatorUtility.php
<?php
class ValidatorUtility {
public static function isInteger($value) {
return filter_var($value, FILTER_VALIDATE_INT) !== false;
}
public static function doesFieldExist($field) {
retur... | 56cf3eaa614234f1ec3615afb647285edc5a7476 | digital-logsheets-res/php/validator/ValidatorUtility.php | digital-logsheets-res/php/validator/ValidatorUtility.php | PHP |
<|file_sep|>original/documentation/sections/literate.md
## Literate CoffeeScript
Besides being used as an ordinary programming language, CoffeeScript may also be written in “literate” mode. If you name your file with a `.litcoffee` extension, you can write it as a Markdown document — a document that also happens to be... | ## Literate CoffeeScript
Besides being used as an ordinary programming language, CoffeeScript may also be written in “literate” mode. If you name your file with a `.litcoffee` extension, you can write it as a Markdown document — a document that also happens to be executable CoffeeScript code. The compiler will treat a... | <|file_sep|>original/documentation/sections/literate.md
## Literate CoffeeScript
Besides being used as an ordinary programming language, CoffeeScript may also be written in “literate” mode. If you name your file with a `.litcoffee` extension, you can write it as a Markdown document — a document that also happens to be... | fc42b3ed24f9a30e9adb344fb3d5b3f2b495b4cc | documentation/sections/literate.md | documentation/sections/literate.md | Markdown |
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt
Django==1.10.6
django-environ==0.4.1
psycopg2==2.7
whitenoise==3.3.0
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/base.txt
Django==1.10.6
django-environ==0.4.1
psycopg2==2.7
whitenoise==3.3.0
<|file_sep|>updated/{{cookiecutter.repo_nam... | Django==1.10.6
django-environ==0.4.1
psycopg2==2.7.1
whitenoise==3.3.0 | <|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt
Django==1.10.6
django-environ==0.4.1
psycopg2==2.7
whitenoise==3.3.0
<|file_sep|>current/{{cookiecutter.repo_name}}/requirements/base.txt
Django==1.10.6
django-environ==0.4.1
psycopg2==2.7
whitenoise==3.3.0
<|file_sep|>updated/{{cookiecutter.repo_nam... | 4afa5cddefaaafcf55c9385e24dffb9dba89b0ba | {{cookiecutter.repo_name}}/requirements/base.txt | {{cookiecutter.repo_name}}/requirements/base.txt | Text |
<|file_sep|>original/.github/workflows/php-qa.yml
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Check syntax error in sources
run: find ./src/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1... | uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Check syntax error in sources
run: find ./src/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1 -P 4 -- php -l
- name: Install dep... | <|file_sep|>original/.github/workflows/php-qa.yml
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Check syntax error in sources
run: find ./src/ ./tests/ -type f -name '*.php' -print0 | xargs -0 -L 1... | 6a1d044b8acf7d8cfce67e723cb754a6aedc17f1 | .github/workflows/php-qa.yml | .github/workflows/php-qa.yml | YAML |
<|file_sep|>config/application.rb.diff
original:
updated:
# Setup configuration settings
<|file_sep|>config/application.rb.diff
original:
updated:
# simple method to require files by path
<|file_sep|>original/config/application.rb
Application.configure do |config|
config.root = [File.dirname(__FILE__), ".."].join(... | config.root = [File.dirname(__FILE__), ".."].join("/")
config.env = ActiveSupport::StringInquirer.new(ENV['RACK_ENV'] || "development")
end
Bundler.require :default, Application.config.env
# Load specific environments
specific_environment = "../environments/#{Application.config.env}.rb"
require specific_environm... | <|file_sep|>config/application.rb.diff
original:
updated:
# Setup configuration settings
<|file_sep|>config/application.rb.diff
original:
updated:
# simple method to require files by path
<|file_sep|>original/config/application.rb
Application.configure do |config|
config.root = [File.dirname(__FILE__), ".."].join(... | 2f807d1cf1a8a2cbcc2354db2959a9faa77b9683 | config/application.rb | config/application.rb | Ruby |
<|file_sep|>original/README.md
# Scheman::Rails
Rails plugin for Scheman.
## Usage
```ruby
# Gemfile
gem "scheman-rails"
```
```sh
# Write your database schema into db/schema.sql
$ echo '
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`created_at` datetime DEFAULT NUL... | # Scheman::Rails
Rails plugin for [Scheman](https://github.com/r7kamura/scheman).
## Usage
```ruby
# Gemfile
gem "scheman-rails"
```
```sh
# Write your database schema into db/schema.sql
$ echo '
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`created_at` datetime DEF... | <|file_sep|>original/README.md
# Scheman::Rails
Rails plugin for Scheman.
## Usage
```ruby
# Gemfile
gem "scheman-rails"
```
```sh
# Write your database schema into db/schema.sql
$ echo '
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`created_at` datetime DEFAULT NUL... | 29dc4d2c8bbe73a5d01d5343879b0eae47bf5635 | README.md | README.md | Markdown |
<|file_sep|>package.js.diff
original:
updated:
api.addFiles('common/common.js');
<|file_sep|>original/package.js
});
Package.onUse(function(api) {
api.versionsFrom('1.0.2.1');
api.use('nooitaf:colors@0.0.2');
api.addFiles('server/server.js', ['server']);
api.addFiles('server/monitor.js', ['server']);
ap... | });
Package.onUse(function(api) {
api.versionsFrom('1.0.2.1');
api.use('nooitaf:colors@0.0.2');
api.addFiles('common/common.js');
api.addFiles('server/server.js', ['server']);
api.addFiles('server/monitor.js', ['server']);
api.addFiles('client/client.js', ['client']);
api.export(['UserPresence'], ['se... | <|file_sep|>package.js.diff
original:
updated:
api.addFiles('common/common.js');
<|file_sep|>original/package.js
});
Package.onUse(function(api) {
api.versionsFrom('1.0.2.1');
api.use('nooitaf:colors@0.0.2');
api.addFiles('server/server.js', ['server']);
api.addFiles('server/monitor.js', ['server']);
ap... | f637441d7debbaa97dfb0a4552475d84b0edcbc3 | package.js | package.js | JavaScript |
<|file_sep|>original/core/db/migrate/20140804185157_add_default_to_shipment_cost.rb
<|file_sep|>current/core/db/migrate/20140804185157_add_default_to_shipment_cost.rb
<|file_sep|>updated/core/db/migrate/20140804185157_add_default_to_shipment_cost.rb | class AddDefaultToShipmentCost < ActiveRecord::Migration
def up
change_column :spree_shipments, :cost, :decimal, precision: 10, scale: 2, default: 0.0
Spree::Shipment.where(cost: nil).update_all(cost: 0)
end
def down
change_column :spree_shipments, :cost, :decimal, precision: 10, scale: 2
end
end | <|file_sep|>original/core/db/migrate/20140804185157_add_default_to_shipment_cost.rb
<|file_sep|>current/core/db/migrate/20140804185157_add_default_to_shipment_cost.rb
<|file_sep|>updated/core/db/migrate/20140804185157_add_default_to_shipment_cost.rb
class AddDefaultToShipmentCost < ActiveRecord::Migration
def up
... | 942a65667d3cf1f229b13b5083f5d68507f87b74 | core/db/migrate/20140804185157_add_default_to_shipment_cost.rb | core/db/migrate/20140804185157_add_default_to_shipment_cost.rb | Ruby |
<|file_sep|>original/zsh/keka.zsh
<|file_sep|>current/zsh/keka.zsh
<|file_sep|>updated/zsh/keka.zsh | # Keka provides a CLI
KEKABIN="/Applications/Keka.app/Contents/MacOS/Keka"
if [[ -f $KEKABIN ]]; then
keka() {
if [ $# -eq 0 ]; then
$KEKABIN -h;
else
$KEKABIN "$@";
fi
}
fi
| <|file_sep|>original/zsh/keka.zsh
<|file_sep|>current/zsh/keka.zsh
<|file_sep|>updated/zsh/keka.zsh
# Keka provides a CLI
KEKABIN="/Applications/Keka.app/Contents/MacOS/Keka"
if [[ -f $KEKABIN ]]; then
keka() {
if [ $# -eq 0 ]; then
$KEKABIN -h;
else
$KEKABIN "$@";
... | 3837e07684c5d3d012b4b99633f1c565965ab3aa | zsh/keka.zsh | zsh/keka.zsh | Shell |
<|file_sep|>original/lib/trot/live_reload.ex
@doc false
def init(opts), do: opts
@doc false
def call(conn, [env: :dev]), do: reload |> check_reload(conn)
def call(conn, _opts), do: conn
@doc """
Recompiles any modules that have changed.
"""
def reload, do: Mix.Tasks.Compile.Elixir.run([])
defp ch... | @doc false
def init(opts), do: opts
@doc false
def call(conn, [env: :dev]), do: reload |> check_reload(conn)
def call(conn, _opts), do: conn
@doc """
Recompiles any modules that have changed.
"""
def reload, do: Mix.Tasks.Compile.Elixir.run([])
defp check_reload(:ok, conn) do
location = "/" <... | <|file_sep|>original/lib/trot/live_reload.ex
@doc false
def init(opts), do: opts
@doc false
def call(conn, [env: :dev]), do: reload |> check_reload(conn)
def call(conn, _opts), do: conn
@doc """
Recompiles any modules that have changed.
"""
def reload, do: Mix.Tasks.Compile.Elixir.run([])
defp ch... | 51ff54efdf7443f7a6967ceb8939d7fed4701665 | lib/trot/live_reload.ex | lib/trot/live_reload.ex | Elixir |
<|file_sep|>original/test/Transforms/LICM/2003-05-02-LoadHoist.ll
<|file_sep|>current/test/Transforms/LICM/2003-05-02-LoadHoist.ll
<|file_sep|>updated/test/Transforms/LICM/2003-05-02-LoadHoist.ll | ; This testcase tests for a problem where LICM hoists loads out of a loop
; despite the fact that calls to unknown functions may modify what is being
; loaded from. Basically if the load gets hoisted, the subtract gets turned
; into a constant zero.
;
; RUN: as < %s | opt -licm -load-vn -gcse -instcombine | llvm-dis... | <|file_sep|>original/test/Transforms/LICM/2003-05-02-LoadHoist.ll
<|file_sep|>current/test/Transforms/LICM/2003-05-02-LoadHoist.ll
<|file_sep|>updated/test/Transforms/LICM/2003-05-02-LoadHoist.ll
; This testcase tests for a problem where LICM hoists loads out of a loop
; despite the fact that calls to unknown functi... | bc8e9c6f56bfa7b7bef437742be8c3036934a757 | test/Transforms/LICM/2003-05-02-LoadHoist.ll | test/Transforms/LICM/2003-05-02-LoadHoist.ll | LLVM |
<|file_sep|>original/features/step_definitions/lockfile_steps.rb
Given 'lockfile' do |content|
create_file expand('$tmp').to_lockfile_path, expand(content)
end
Given /^I delete lockfile$/ do
delete_path expand('$tmp').to_lockfile_path
end
Then 'I get lockfile' do |content|
# For some reason, Cucumber drops the ... | Given 'lockfile' do |content|
create_file expand('$tmp').to_lockfile_path, expand(content)
end
Given /^I delete lockfile$/ do
delete_path expand('$tmp').to_lockfile_path
end
Then 'I get lockfile' do |content|
# For some reason, Cucumber drops the last newline from every docstring...
File.open(expand('$tmp').t... | <|file_sep|>original/features/step_definitions/lockfile_steps.rb
Given 'lockfile' do |content|
create_file expand('$tmp').to_lockfile_path, expand(content)
end
Given /^I delete lockfile$/ do
delete_path expand('$tmp').to_lockfile_path
end
Then 'I get lockfile' do |content|
# For some reason, Cucumber drops the ... | aef8bb3a2c87a8d5af32e921fb493efc9d47a3fd | features/step_definitions/lockfile_steps.rb | features/step_definitions/lockfile_steps.rb | Ruby |
<|file_sep|>original/bin/requirements.txt
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
coverage==5.3
google-api-core==1.23.0
google-api-python-client==1.12.5
google-auth==1.23.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.2
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
oauth2client==4.1.... | cachetools==4.1.1
certifi==2020.11.8
chardet==3.0.4
coverage==5.3
google-api-core==1.23.0
google-api-python-client==1.12.5
google-auth==1.23.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.2
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
oauth2client==4.1.3
oauthlib==3.1.0
protobuf==3.13.0
pyasn1=... | <|file_sep|>original/bin/requirements.txt
cachetools==4.1.1
certifi==2020.6.20
chardet==3.0.4
coverage==5.3
google-api-core==1.23.0
google-api-python-client==1.12.5
google-auth==1.23.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.2
googleapis-common-protos==1.52.0
httplib2==0.18.1
idna==2.10
oauth2client==4.1.... | e623dd9323bd5919df17be5eb4ff1ae4ba250f0f | bin/requirements.txt | bin/requirements.txt | Text |
<|file_sep|>planetstack/openstack_observer/steps/sync_images.py.diff
original:
images_path = Config().observer_images_directory
updated:
images_path = Config().observer_images_directory
<|file_sep|>planetstack/openstack_observer/steps/sync_images.py.diff
original:
for f in os.listdir(images_pa... | filename = os.path.join(images_path, f)
if os.path.isfile(filename):
available_images[f] = filename
images = Image.objects.all()
image_names = [image.name for image in images]
for image_name in available_images:
#remove file exten... | <|file_sep|>planetstack/openstack_observer/steps/sync_images.py.diff
original:
images_path = Config().observer_images_directory
updated:
images_path = Config().observer_images_directory
<|file_sep|>planetstack/openstack_observer/steps/sync_images.py.diff
original:
for f in os.listdir(images_pa... | 746c3a55b5935199a293f05d042c0029029d970a | planetstack/openstack_observer/steps/sync_images.py | planetstack/openstack_observer/steps/sync_images.py | Python |
<|file_sep|>original/README.md

Symfony basic project
====
Base
A Symfony project created on November 30, 2015, 2:34 pm.
## Installation
git clone ...
composer install
npm install
./node_modules/grunt-cli/b... | [](https://github.com/carloscmaleno/php-symfony-basic)
Symfony basic project
====
Base
A Symfony project created on November 30, 2015, 2:34 pm.
## Installation
git clone ...
composer install
npm install
./n... | <|file_sep|>original/README.md

Symfony basic project
====
Base
A Symfony project created on November 30, 2015, 2:34 pm.
## Installation
git clone ...
composer install
npm install
./node_modules/grunt-cli/b... | 9afac40244fa02e9e8001bc4028f4eb7f7e50692 | README.md | README.md | Markdown |
<|file_sep|>packages/se/serialize-instances.yaml.diff
original:
hash: f95554330e4ab10ef1c1a3f291f41ce19bfa4be3c056466a410fbc0f980977c9
updated:
hash: a26cae4775872fec683af20fbeacb8daf81e320800f6851c8bfe018a8c34fdaa
<|file_sep|>original/packages/se/serialize-instances.yaml
homepage: ''
changelog-type: ''
hash: f95554330... | homepage: ''
changelog-type: ''
hash: a26cae4775872fec683af20fbeacb8daf81e320800f6851c8bfe018a8c34fdaa
test-bench-deps: {}
maintainer: simon.hudon@gmail.com
synopsis: Instances for Serialize of cereal
changelog: ''
basic-deps:
cereal: ! '>=0.4 && <0.6'
base: ! '>=4.8 && <4.10'
unordered-containers: -any
semigro... | <|file_sep|>packages/se/serialize-instances.yaml.diff
original:
hash: f95554330e4ab10ef1c1a3f291f41ce19bfa4be3c056466a410fbc0f980977c9
updated:
hash: a26cae4775872fec683af20fbeacb8daf81e320800f6851c8bfe018a8c34fdaa
<|file_sep|>original/packages/se/serialize-instances.yaml
homepage: ''
changelog-type: ''
hash: f95554330... | 57c78a6b9b945c791a58d9325d7a7d26048e7e2d | packages/se/serialize-instances.yaml | packages/se/serialize-instances.yaml | YAML |
<|file_sep|>GATEWAY/README.md.diff
original:
Setup guide:
updated:
#Setup guide:
<|file_sep|>GATEWAY/README.md.diff
original:
Clone project
updated:
Clone the project
`$ cd tiles-rapIoT/GATEWAY`
<|file_sep|>original/GATEWAY/README.md
Setup guide:
Clone project
`$ npm install`
`$ ionic run browser`
<|file_sep|>cu... | #Setup guide:
Clone the project
`$ cd tiles-rapIoT/GATEWAY`
`$ npm install`
## Running the app
Now there are a few possible ways to run the app. The simplest is to run the ionic lab which gives you a collective view of how the app will look on different mobile platforms. This is done by running:
`$ ionic serve -... | <|file_sep|>GATEWAY/README.md.diff
original:
Setup guide:
updated:
#Setup guide:
<|file_sep|>GATEWAY/README.md.diff
original:
Clone project
updated:
Clone the project
`$ cd tiles-rapIoT/GATEWAY`
<|file_sep|>original/GATEWAY/README.md
Setup guide:
Clone project
`$ npm install`
`$ ionic run browser`
<|file_sep|>cu... | b3fff08529c8f2a1f82990120b333945d0506b2b | GATEWAY/README.md | GATEWAY/README.md | Markdown |
<|file_sep|>setup.py.diff
original:
updated:
from os import path
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
<|file_sep|>setup.py.diff
original:
version="1.3.... | # read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="simple_slack_bot",
packages=["simple_slack_bot"], # this must be the same as the name above
v... | <|file_sep|>setup.py.diff
original:
updated:
from os import path
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
<|file_sep|>setup.py.diff
original:
version="1.3.... | 7c4476fe79da06be5aa89f9a6580c36d11411384 | setup.py | setup.py | Python |
<|file_sep|>jsmpp/src/main/java/org/jsmpp/session/connection/socket/SSLSocketConnectionFactory.java.diff
original:
updated:
private static final SSLSocketConnectionFactory connFactory = new SSLSocketConnectionFactory();
<|file_sep|>jsmpp/src/main/java/org/jsmpp/session/connection/socket/SSLSocketConnectionFactory.ja... | * -Djavax.net.ssl.trustStoreType=PKCS12
*/
public class SSLSocketConnectionFactory implements ConnectionFactory {
private static final SSLSocketConnectionFactory connFactory = new SSLSocketConnectionFactory();
private SocketFactory socketFactory;
public SSLSocketConnectionFactory() {
socketFactory = SSLSo... | <|file_sep|>jsmpp/src/main/java/org/jsmpp/session/connection/socket/SSLSocketConnectionFactory.java.diff
original:
updated:
private static final SSLSocketConnectionFactory connFactory = new SSLSocketConnectionFactory();
<|file_sep|>jsmpp/src/main/java/org/jsmpp/session/connection/socket/SSLSocketConnectionFactory.ja... | ff211ceaa9a8aab3f711a33849429e50429a6f5f | jsmpp/src/main/java/org/jsmpp/session/connection/socket/SSLSocketConnectionFactory.java | jsmpp/src/main/java/org/jsmpp/session/connection/socket/SSLSocketConnectionFactory.java | Java |
<|file_sep|>original/lib/billing/definition.go
}
// DefaultFields returns the default fields used for making tables of Definitions
func (d Definition) DefaultFields(f output.Format) string {
return "Name, Value, UpdateGroupReq"
}
// PrettyPrint writes the Definition in a human-readable form at the given detail level... | }
// DefaultFields returns the default fields used for making tables of Definitions
func (d Definition) DefaultFields(f output.Format) string {
return "Name, Value, UpdateGroupReq"
}
// PrettyPrint writes the Definition in a human-readable form at the given detail level to wr
func (d Definition) PrettyPrint(wr io.Wr... | <|file_sep|>original/lib/billing/definition.go
}
// DefaultFields returns the default fields used for making tables of Definitions
func (d Definition) DefaultFields(f output.Format) string {
return "Name, Value, UpdateGroupReq"
}
// PrettyPrint writes the Definition in a human-readable form at the given detail level... | 6fc6051df671c52e0aeec24a96dbe2570e3af9cc | lib/billing/definition.go | lib/billing/definition.go | Go |
<|file_sep|>Prototypes/VariableCodeBlock/DragDrop_jQuery_UI.html.diff
original:
updated:
#draggableHelper { width: 300px; height: 300px; background: yellow; }
<|file_sep|>Prototypes/VariableCodeBlock/DragDrop_jQuery_UI.html.diff
original:
snap: '#content'
updated:
sn... | $( init );
function init() {
$('#makeMeDraggable').draggable({
containment: '#content',
cursor: 'move',
snap: '#content',
helper: myHelper
});
}
f... | <|file_sep|>Prototypes/VariableCodeBlock/DragDrop_jQuery_UI.html.diff
original:
updated:
#draggableHelper { width: 300px; height: 300px; background: yellow; }
<|file_sep|>Prototypes/VariableCodeBlock/DragDrop_jQuery_UI.html.diff
original:
snap: '#content'
updated:
sn... | 21c26fff958d8f12608420c49de5c9b6b8d0eb14 | Prototypes/VariableCodeBlock/DragDrop_jQuery_UI.html | Prototypes/VariableCodeBlock/DragDrop_jQuery_UI.html | HTML |
<|file_sep|>original/Rocket.Chat/Controllers/Base/BaseViewController.swift
}
navigationController?.redrawNavigationBar()
}
func willBePushed(animated: Bool) {
updateNavigationBarTransparency()
}
func willBePopped(animated: Bool) {
let controller = navigationController?... | }
navigationController?.redrawNavigationBar()
}
func willBePushed(animated: Bool) {
updateNavigationBarTransparency()
}
func willBePopped(animated: Bool) {
if let controller = navigationController?.topViewController as? BaseViewController {
controller.updat... | <|file_sep|>original/Rocket.Chat/Controllers/Base/BaseViewController.swift
}
navigationController?.redrawNavigationBar()
}
func willBePushed(animated: Bool) {
updateNavigationBarTransparency()
}
func willBePopped(animated: Bool) {
let controller = navigationController?... | 7e1f2d078633967b88b2dab68a205b2c327bfd02 | Rocket.Chat/Controllers/Base/BaseViewController.swift | Rocket.Chat/Controllers/Base/BaseViewController.swift | Swift |
<|file_sep|>original/chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamController.java
* and returns the result to Android.
*/
public final class BeamController {
/**
* If the device has NFC, construct a BeamCallback and pass it to Android.
*
* @param activity Activity that is sending out... | * and returns the result to Android.
*/
public final class BeamController {
/**
* If the device has NFC, construct a BeamCallback and pass it to Android.
*
* @param activity Activity that is sending out beam messages.
* @param provider Provider that returns the URL that should be shared.
... | <|file_sep|>original/chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamController.java
* and returns the result to Android.
*/
public final class BeamController {
/**
* If the device has NFC, construct a BeamCallback and pass it to Android.
*
* @param activity Activity that is sending out... | 2af423f68fbcd51366b90ba953ead51b16f0b85b | chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamController.java | chrome/android/java/src/org/chromium/chrome/browser/nfc/BeamController.java | Java |
<|file_sep|>original/sentry-core/sentry-core-model-indexer/src/test/java/org/apache/sentry/core/indexer/TestIndexer.java
<|file_sep|>current/sentry-core/sentry-core-model-indexer/src/test/java/org/apache/sentry/core/indexer/TestIndexer.java
<|file_sep|>updated/sentry-core/sentry-core-model-indexer/src/test/java/org/a... | package org.apache.sentry.core.indexer;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, ... | <|file_sep|>original/sentry-core/sentry-core-model-indexer/src/test/java/org/apache/sentry/core/indexer/TestIndexer.java
<|file_sep|>current/sentry-core/sentry-core-model-indexer/src/test/java/org/apache/sentry/core/indexer/TestIndexer.java
<|file_sep|>updated/sentry-core/sentry-core-model-indexer/src/test/java/org/a... | 155d8d630b3e369b2563edd0ec0ffca7fce6cc45 | sentry-core/sentry-core-model-indexer/src/test/java/org/apache/sentry/core/indexer/TestIndexer.java | sentry-core/sentry-core-model-indexer/src/test/java/org/apache/sentry/core/indexer/TestIndexer.java | Java |
<|file_sep|>packages/ca/call-stack.yaml.diff
original:
hash: dc369179410fd39542efde04778d1c4a18a015b3cf4b1703d9c88e07d58ece20
updated:
hash: ac44d2c00931dc20b01750da8c92ec443eb63a7231e8550188cb2ac2385f7feb
<|file_sep|>packages/ca/call-stack.yaml.diff
original:
updated:
filepath: -any
<|file_sep|>packages/ca/call-sta... | hash: ac44d2c00931dc20b01750da8c92ec443eb63a7231e8550188cb2ac2385f7feb
test-bench-deps:
base: ==4.*
nanospec: -any
filepath: -any
call-stack: -any
maintainer: Simon Hengel <sol@typeful.net>
synopsis: Use GHC call-stacks in a backward compatible way
changelog: ''
basic-deps:
base: ==4.*
all-versions:
- 0.1.0
-... | <|file_sep|>packages/ca/call-stack.yaml.diff
original:
hash: dc369179410fd39542efde04778d1c4a18a015b3cf4b1703d9c88e07d58ece20
updated:
hash: ac44d2c00931dc20b01750da8c92ec443eb63a7231e8550188cb2ac2385f7feb
<|file_sep|>packages/ca/call-stack.yaml.diff
original:
updated:
filepath: -any
<|file_sep|>packages/ca/call-sta... | 0503a4d8fbbe6028d37108216eed41a7f87dfef5 | packages/ca/call-stack.yaml | packages/ca/call-stack.yaml | YAML |
<|file_sep|>original/app/styles/_authenticate.scss
}
button {
color: #fff;
font-size: 14px;
background: #8abc57;
border: 1px solid #5e902b;
padding: 5px 10px;
border-radius: 2px;
width: 100%;
line-height: 32px;
box-shadow: inset 0 0 2px rgba(#fff, .4);
margin-bottom: 10px;
... |
button {
color: #fff;
font-size: 14px;
background: #8abc57;
border: 1px solid #5e902b;
padding: 5px 10px;
border-radius: 2px;
width: 100%;
line-height: 32px;
box-shadow: inset 0 0 2px rgba(#fff, .4);
margin-bottom: 10px;
transition: background .3s ease;
height: auto;
... | <|file_sep|>original/app/styles/_authenticate.scss
}
button {
color: #fff;
font-size: 14px;
background: #8abc57;
border: 1px solid #5e902b;
padding: 5px 10px;
border-radius: 2px;
width: 100%;
line-height: 32px;
box-shadow: inset 0 0 2px rgba(#fff, .4);
margin-bottom: 10px;
... | b63cd244efb612073c61ea2fcb6cfaa4954c9727 | app/styles/_authenticate.scss | app/styles/_authenticate.scss | SCSS |
<|file_sep|>original/goci-core/goci-db-binding/src/main/java/db/migration/V2_1_2_012__Migrate_or_to_beta_for_non_standard_unit_case_02.java
<|file_sep|>current/goci-core/goci-db-binding/src/main/java/db/migration/V2_1_2_012__Migrate_or_to_beta_for_non_standard_unit_case_02.java
<|file_sep|>updated/goci-core/goci-db-b... | package db.migration;
import org.flywaydb.core.api.migration.spring.SpringJdbcMigration;
import org.springframework.jdbc.core.JdbcTemplate;
/**
* Created by emma on 06/04/2016.
*
* @author emma
* <p>
* Copy OR and DESCRIPTION values to BETA_NUM, BETA_UNIT and BETA_DIRECTION in ASSOCIATION table
... | <|file_sep|>original/goci-core/goci-db-binding/src/main/java/db/migration/V2_1_2_012__Migrate_or_to_beta_for_non_standard_unit_case_02.java
<|file_sep|>current/goci-core/goci-db-binding/src/main/java/db/migration/V2_1_2_012__Migrate_or_to_beta_for_non_standard_unit_case_02.java
<|file_sep|>updated/goci-core/goci-db-b... | 6050ea3cdd8cbdb3a0ea034946e5a1f2952467cb | goci-core/goci-db-binding/src/main/java/db/migration/V2_1_2_012__Migrate_or_to_beta_for_non_standard_unit_case_02.java | goci-core/goci-db-binding/src/main/java/db/migration/V2_1_2_012__Migrate_or_to_beta_for_non_standard_unit_case_02.java | Java |
<|file_sep|>original/pubspec.yaml
name: flutter_widgets
version: 0.1.2
description: >
Flutter widgets that are developed by Google but not by the core
Flutter team.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/google/flutter.widgets
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
collec... | name: flutter_widgets
version: 0.1.3
description: >
Flutter widgets that are developed by Google but not by the core
Flutter team.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/google/flutter.widgets
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
collection: ^1.14.5
flutter:
sdk: ... | <|file_sep|>original/pubspec.yaml
name: flutter_widgets
version: 0.1.2
description: >
Flutter widgets that are developed by Google but not by the core
Flutter team.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/google/flutter.widgets
environment:
sdk: ">=2.0.0 <3.0.0"
dependencies:
collec... | 27e63bfa3057479f37bd28b791797062890949e8 | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>original/src/sass/_composer.scss
.composer {
font-size: $composer-font-size;
min-height: $composer-font-size;
font-family: sans-serif;
p {
margin: 0;
}
}
.composer__mention {
background-color: #DADADA;
border: 0;
font-size: $composer-font-size;
line-height: 1.4;
padding: 0 3px;
... | .composer {
font-size: $composer-font-size;
min-height: $composer-font-size;
font-family: sans-serif;
p {
margin: 0;
}
}
.composer__mention {
background-color: #DADADA;
border: 0;
font-size: $composer-font-size;
line-height: 1.4;
padding: 0 3px;
color: #0078ff;
font-family: sans-serif;
} | <|file_sep|>original/src/sass/_composer.scss
.composer {
font-size: $composer-font-size;
min-height: $composer-font-size;
font-family: sans-serif;
p {
margin: 0;
}
}
.composer__mention {
background-color: #DADADA;
border: 0;
font-size: $composer-font-size;
line-height: 1.4;
padding: 0 3px;
... | df0a58c77d8f2c897f7908f47aa581aaf6f73086 | src/sass/_composer.scss | src/sass/_composer.scss | SCSS |
<|file_sep|>package.json.diff
original:
updated:
"b": "./node_modules/.bin/brunch build",
"bp": "./node_modules/.bin/brunch build --production",
"w": "./node_modules/.bin/brunch watch",
"ws": "./node_modules/.bin/brunch watch --server",
<|file_sep|>original/package.json
"url": "git@github.com:mgarb... | "url": "git@github.com:mgarbacz/nordrassil.git"
},
"scripts": {
"b": "./node_modules/.bin/brunch build",
"bp": "./node_modules/.bin/brunch build --production",
"w": "./node_modules/.bin/brunch watch",
"ws": "./node_modules/.bin/brunch watch --server",
"test": "./node_modules/.bin/istanbul co... | <|file_sep|>package.json.diff
original:
updated:
"b": "./node_modules/.bin/brunch build",
"bp": "./node_modules/.bin/brunch build --production",
"w": "./node_modules/.bin/brunch watch",
"ws": "./node_modules/.bin/brunch watch --server",
<|file_sep|>original/package.json
"url": "git@github.com:mgarb... | 774938a4fcc8a66341b0deec263faeedc0a1d6b7 | package.json | package.json | JSON |
<|file_sep|>original/dist/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Terminal Color Scheme Designer</title>
<meta name='description' content='Design, edit and share custom terminal
color schemes. Export them to a wide range of terminals, include Xresources
(urxvt, xterm, aterm, eterm, r... | <!DOCTYPE html>
<html lang="en">
<head>
<title>Terminal Color Scheme Designer</title>
<meta name='description' content='Design, edit and share custom terminal
color schemes. Export them to a wide range of terminals, include Xresources
(urxvt, xterm, aterm, eterm, rxvt), iTerm2, Terminal.app, Termite,
... | <|file_sep|>original/dist/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Terminal Color Scheme Designer</title>
<meta name='description' content='Design, edit and share custom terminal
color schemes. Export them to a wide range of terminals, include Xresources
(urxvt, xterm, aterm, eterm, r... | e738e7bb5ea044f58dcbe95b4f10fb9040f4006c | dist/index.html | dist/index.html | HTML |
<|file_sep|>ci/pipelines/images.yml.diff
original:
params: {build: concourse-rubinius/ci/dockerfiles/rubinius, cache: false}
updated:
params: {build: concourse-rubinius/ci/dockerfiles/rubinius}
<|file_sep|>original/ci/pipelines/images.yml
source:
repository: concourse/docs-ci
username: {{docker-userna... | source:
repository: concourse/docs-ci
username: {{docker-username}}
email: {{docker-email}}
password: {{docker-password}}
jobs:
- name: build-rubinius
plan:
- get: concourse-rubinius
params: {submodules: none}
- put: concourse-rubinius-image
params: {build: concourse-rubinius/ci/dockerf... | <|file_sep|>ci/pipelines/images.yml.diff
original:
params: {build: concourse-rubinius/ci/dockerfiles/rubinius, cache: false}
updated:
params: {build: concourse-rubinius/ci/dockerfiles/rubinius}
<|file_sep|>original/ci/pipelines/images.yml
source:
repository: concourse/docs-ci
username: {{docker-userna... | ff204a299b84ec477e5177e4721461b7aad71485 | ci/pipelines/images.yml | ci/pipelines/images.yml | YAML |
<|file_sep|>original/get-lit.ps1
$LUVI_VERSION = "2.0.9"
$LIT_VERSION = "1.2.14"
$LUVI_ARCH = "Windows-amd64"
$LUVI_URL = "https://github.com/luvit/luvi/releases/download/v$LUVI_VERSION/luvi-regular-$LUVI_ARCH.exe"
$LIT_URL = "https://github.com/luvit/lit/archive/$LIT_VERSION.zip"
function Download-File {
param (
... |
$LUVI_VERSION = "2.0.9"
$LIT_VERSION = "1.2.14"
if (test-path env:LUVI_ARCH) {
$LUVI_ARCH = $env:LUVI_ARCH
}
else {
$LUVI_ARCH = "Windows-amd64"
}
$LUVI_URL = "https://github.com/luvit/luvi/releases/download/v$LUVI_VERSION/luvi-regular-$LUVI_ARCH.exe"
$LIT_URL = "https://github.com/luvit/lit/archive/$LIT_VERSION.... | <|file_sep|>original/get-lit.ps1
$LUVI_VERSION = "2.0.9"
$LIT_VERSION = "1.2.14"
$LUVI_ARCH = "Windows-amd64"
$LUVI_URL = "https://github.com/luvit/luvi/releases/download/v$LUVI_VERSION/luvi-regular-$LUVI_ARCH.exe"
$LIT_URL = "https://github.com/luvit/lit/archive/$LIT_VERSION.zip"
function Download-File {
param (
... | dbf92e24118a7ca1e696ade697cd70cbea5c39ec | get-lit.ps1 | get-lit.ps1 | PowerShell |
<|file_sep|>original/test/integration/instance-lookup-test.coffee
fs = require('fs')
instanceLookup = require('../../lib/instance-lookup')
getConfig = ->
server: JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config.server
instanceName: JSON.parse(fs.readFileSync(process.e... | fs = require('fs')
instanceLookup = require('../../lib/instance-lookup')
getConfig = ->
server: JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config.server
instanceName: JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).instanceName
... | <|file_sep|>original/test/integration/instance-lookup-test.coffee
fs = require('fs')
instanceLookup = require('../../lib/instance-lookup')
getConfig = ->
server: JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config.server
instanceName: JSON.parse(fs.readFileSync(process.e... | acf78a9ea811eb31124784eb8985b2f024f72d76 | test/integration/instance-lookup-test.coffee | test/integration/instance-lookup-test.coffee | CoffeeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.