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/tests/pipeline/test_provider_healthcheck.py
"""Test Provider Health Check setting."""
from foremast.pipeline.construct_pipeline_block import check_provider_healthcheck
TEST_SETTINGS = {'app': {'eureka_enabled': False}, 'asg': {'provider_healthcheck': {}}}
def test_provider_healthcheck():
"""... | """Test Provider Health Check setting."""
from foremast.pipeline.construct_pipeline_block import check_provider_healthcheck
TEST_SETTINGS = {'app': {'eureka_enabled': False}, 'asg': {'provider_healthcheck': {}}}
def test_provider_healthcheck():
"""Make sure default Provider Health Check works."""
health_chec... | <|file_sep|>original/tests/pipeline/test_provider_healthcheck.py
"""Test Provider Health Check setting."""
from foremast.pipeline.construct_pipeline_block import check_provider_healthcheck
TEST_SETTINGS = {'app': {'eureka_enabled': False}, 'asg': {'provider_healthcheck': {}}}
def test_provider_healthcheck():
"""... | aae994402b1b16a2bca4a486dad4bb452770eb26 | tests/pipeline/test_provider_healthcheck.py | tests/pipeline/test_provider_healthcheck.py | Python |
<|file_sep|>app/assets/sass/elements/forms/_form-validation.scss.diff
original:
updated:
$validation-bg: #fef7f7;
<|file_sep|>app/assets/sass/elements/forms/_form-validation.scss.diff
original:
padding: $gutter-half $gutter;
updated:
background-color: $validation-bg;
<|file_sep|>app/assets/sass/elements/forms/_for... | border-left: 3px solid $error-colour;
background-color: $validation-bg;
padding: $gutter-half;
margin-left: -($gutter-half);
}
.validation-error .form-group {
margin-bottom: 20px;
}
.validation-error p {
margin-bottom: 10px;
}
// Validation message
.validation-message {
display: block;
@include core... | <|file_sep|>app/assets/sass/elements/forms/_form-validation.scss.diff
original:
updated:
$validation-bg: #fef7f7;
<|file_sep|>app/assets/sass/elements/forms/_form-validation.scss.diff
original:
padding: $gutter-half $gutter;
updated:
background-color: $validation-bg;
<|file_sep|>app/assets/sass/elements/forms/_for... | 705152d282c316bac3b1e9d9b0b2e984a11f78ca | app/assets/sass/elements/forms/_form-validation.scss | app/assets/sass/elements/forms/_form-validation.scss | SCSS |
<|file_sep|>lib/acts_as_notifiable/couriers/email.rb.diff
original:
if @notification.type == 'Notification'
updated:
if @notification.instance_of? Notification
<|file_sep|>original/lib/acts_as_notifiable/couriers/email.rb
def mailer
if @notification.type == 'Notification'
... |
def mailer
if @notification.instance_of? Notification
notifiable_mailer
else
notification_mailer
end
end
def notifiable_mailer
"#{@notifiable.class}NotificationMailer".safe_constantize
end
def notification_mailer
... | <|file_sep|>lib/acts_as_notifiable/couriers/email.rb.diff
original:
if @notification.type == 'Notification'
updated:
if @notification.instance_of? Notification
<|file_sep|>original/lib/acts_as_notifiable/couriers/email.rb
def mailer
if @notification.type == 'Notification'
... | a8fddfaddc98494230aef918f2300171cf7f3480 | lib/acts_as_notifiable/couriers/email.rb | lib/acts_as_notifiable/couriers/email.rb | Ruby |
<|file_sep|>original/webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy
<|file_sep|>current/webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy
<|file_sep|>updated/webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy | package woko.webtests
/**
* Created by IntelliJ IDEA.
* User: Alexis Boissonnat - CSTB
* Date: Feb 10, 2011
* Time: 5:06:14 PM
*/
class FindPageTest extends WebTestBase{
void testFindPage(){
webtest('test Find page'){
// Login & click find link in navbar
login()
clickLink label:'find'
... | <|file_sep|>original/webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy
<|file_sep|>current/webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy
<|file_sep|>updated/webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy
package ... | 66b2aae9fcdaa87e8dbe633f84ad3cf856199b0a | webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy | webtests/webtests-container-auth/src/test/groovy/woko/webtests/FindPageTest.groovy | Groovy |
<|file_sep|>original/project.properties
# Global project specific properties.
jenetics.version=3.2.0
jenetics.name=Jenetics
jenetics.description=Jenetics - Java Genetic Algorithm Library
jenetics.author=Franz Wilhelmstötter
jenetics.url=http://jenetics.io
jenetics.maven.scm.url=https://github.com/jenetics/jenetics
jene... | # Global project specific properties.
jenetics.version=99.99.99-SNAPSHOT
jenetics.name=Jenetics
jenetics.description=Jenetics - Java Genetic Algorithm Library
jenetics.author=Franz Wilhelmstötter
jenetics.url=http://jenetics.io
jenetics.maven.scm.url=https://github.com/jenetics/jenetics
jenetics.maven.scm.connection=sc... | <|file_sep|>original/project.properties
# Global project specific properties.
jenetics.version=3.2.0
jenetics.name=Jenetics
jenetics.description=Jenetics - Java Genetic Algorithm Library
jenetics.author=Franz Wilhelmstötter
jenetics.url=http://jenetics.io
jenetics.maven.scm.url=https://github.com/jenetics/jenetics
jene... | 8052beee7499a5992595ba23da78867ef86cd909 | project.properties | project.properties | INI |
<|file_sep|>original/manifests/cf-manifest/runtime-config/runtime-config-base.yml
addons:
- name: os-configuration
jobs:
- name: set_mtu
release: os-conf
- name: collectd
jobs:
- name: collectd
release: collectd
properties:
collectd: (( grab meta.collectd ))
- name: syslog_fo... | addons:
- name: os-configuration
jobs:
- name: set_mtu
release: os-conf
- name: collectd
jobs:
- name: collectd
release: collectd
properties:
collectd: (( grab meta.collectd ))
- name: syslog_forwarder
jobs:
- name: syslog_forwarder
release: syslog
propertie... | <|file_sep|>original/manifests/cf-manifest/runtime-config/runtime-config-base.yml
addons:
- name: os-configuration
jobs:
- name: set_mtu
release: os-conf
- name: collectd
jobs:
- name: collectd
release: collectd
properties:
collectd: (( grab meta.collectd ))
- name: syslog_fo... | 297ee3bd5ea17ff8f1c92447c040b46386e0ec3a | manifests/cf-manifest/runtime-config/runtime-config-base.yml | manifests/cf-manifest/runtime-config/runtime-config-base.yml | YAML |
<|file_sep|>original/views/issues.html
<section class="issues__container">
{{#if issues}}
<div class="issues__header">
<h2>Pick an issue to start working on</h2>
</div>
<div class="issues__list">
{{#each issues}}
<ul class="issues__list-issue">
<!--- details tbd! --->
<li class="is... | <section class="issues__container">
{{#if issues}}
<div class="issues__header">
<h2>Pick an issue to start working on</h2>
</div>
<div class="issues__list">
{{#each issues}}
<ul class="issues__list-issue">
<!--- details tbd! --->
<li class="issues__list-item">
<a class="i... | <|file_sep|>original/views/issues.html
<section class="issues__container">
{{#if issues}}
<div class="issues__header">
<h2>Pick an issue to start working on</h2>
</div>
<div class="issues__list">
{{#each issues}}
<ul class="issues__list-issue">
<!--- details tbd! --->
<li class="is... | 9e1ae8a53c2dfbe2c75d1248e4cc09c98f80f179 | views/issues.html | views/issues.html | HTML |
<|file_sep|>original/baqend/countHits.js
const { countBy } = require('lodash');
/**
* @param {Request[]} requests
* @return {Object<string, number>}
*/
function countHits(requests) {
return countBy(requests, (req) => {
const headers = req.headers.response.join(' ').toLowerCase();
if (headers.indexOf('x-ca... | const { countBy } = require('lodash');
/**
* @param {Request[]} requests
* @return {Object<string, number>}
*/
function countHits(requests) {
return countBy(requests, (req) => {
const headers = req.headers;
if (headers) {
const resHeaders = headers.response.join(' ').toLowerCase();
if (resHead... | <|file_sep|>original/baqend/countHits.js
const { countBy } = require('lodash');
/**
* @param {Request[]} requests
* @return {Object<string, number>}
*/
function countHits(requests) {
return countBy(requests, (req) => {
const headers = req.headers.response.join(' ').toLowerCase();
if (headers.indexOf('x-ca... | 52180d90291345dce1cbfa063dedefc832ff62e4 | baqend/countHits.js | baqend/countHits.js | JavaScript |
<|file_sep|>packages/components/components/modalTwo/useModalState.ts.diff
original:
updated:
const [open, setOpen] = useControlled(controlledOpen);
const [render, setRender] = useState(open);
<|file_sep|>packages/components/components/modalTwo/useModalState.ts.diff
original:
const [open, setOpen] = useCont... | handleSetOpen(false);
onClose?.();
};
const handleExit = () => {
setRender(false);
setKey(generateUID());
onExit?.();
};
const modalProps = {
key,
open,
onClose: handleClose,
onExit: handleExit,
};
return [modalProps, han... | <|file_sep|>packages/components/components/modalTwo/useModalState.ts.diff
original:
updated:
const [open, setOpen] = useControlled(controlledOpen);
const [render, setRender] = useState(open);
<|file_sep|>packages/components/components/modalTwo/useModalState.ts.diff
original:
const [open, setOpen] = useCont... | f23ff7fc541991ceb63b73ddbf67dc3d04a2cb38 | packages/components/components/modalTwo/useModalState.ts | packages/components/components/modalTwo/useModalState.ts | TypeScript |
<|file_sep|>public/pigs_book/css/main.css.diff
original:
updated:
<|file_sep|>public/pigs_book/css/main.css.diff
original:
content: "- ";
updated:
content: "- ";
<|file_sep|>public/pigs_book/css/main.css.diff
original:
margin: 0 0 0 0;
updated:
margin: 0 0 0 0;
<|file_sep|>public/pigs_book/css/main.css.diff
o... | width: 100%;
height: 90%;
background-color: white;
}
.canvas-view > .w3-row > a, .canvas-view > .w3-row > a > img {
padding: 0 5px 0 5px;
height: 30px;
margin-bottom: 10px;
}
.markdown {
padding: 0 15% 0 15%;
font-size: large;
}
.element-book {
width: 90%;
height: 80%;
}
| <|file_sep|>public/pigs_book/css/main.css.diff
original:
updated:
<|file_sep|>public/pigs_book/css/main.css.diff
original:
content: "- ";
updated:
content: "- ";
<|file_sep|>public/pigs_book/css/main.css.diff
original:
margin: 0 0 0 0;
updated:
margin: 0 0 0 0;
<|file_sep|>public/pigs_book/css/main.css.diff
o... | 85016754489c0d29e64afd308d6aa69d0bb729cd | public/pigs_book/css/main.css | public/pigs_book/css/main.css | CSS |
<|file_sep|>original/list_projects.py
<|file_sep|>current/list_projects.py
<|file_sep|>updated/list_projects.py | from yastlib import *
yast_id = 'id'
yast_password = 'password'
yast = Yast()
yast_hash = yast.login(yast_id, yast_password)
if yast_hash != False:
print 'Connected to yast.com'
projects = yast.getProjects()
nodes = projects.items()
for k, n in nodes:
print 'project ' + str(k) + ': ' + 'name: "' + n.name + '" pa... | <|file_sep|>original/list_projects.py
<|file_sep|>current/list_projects.py
<|file_sep|>updated/list_projects.py
from yastlib import *
yast_id = 'id'
yast_password = 'password'
yast = Yast()
yast_hash = yast.login(yast_id, yast_password)
if yast_hash != False:
print 'Connected to yast.com'
projects = yast.getProjec... | 46600be25ea95a0c823730694a7f79be453477b1 | list_projects.py | list_projects.py | Python |
<|file_sep|>original/requirements/dev.txt
isort==4.3.4
flake8==3.6.0
vulture==1.0
<|file_sep|>current/requirements/dev.txt
isort==4.3.4
flake8==3.6.0
vulture==1.0
<|file_sep|>updated/requirements/dev.txt | isort==4.3.4
flake8==3.7.5
vulture==1.0 | <|file_sep|>original/requirements/dev.txt
isort==4.3.4
flake8==3.6.0
vulture==1.0
<|file_sep|>current/requirements/dev.txt
isort==4.3.4
flake8==3.6.0
vulture==1.0
<|file_sep|>updated/requirements/dev.txt
isort==4.3.4
flake8==3.7.5
vulture==1.0 | 2c3d8efaf9374fe152dd0d1ed65bc56e9e2b9ed9 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>stevedore/__init__.py.diff
original:
if hasattr(logging, 'NullHandler'):
LOG.addHandler(logging.NullHandler())
else:
class NullHandler(logging.Handler):
def handle(self, record):
pass
updated:
LOG.addHandler(logging.NullHandler())
<|file_sep|>original/stevedore/__init__.py
from .... | 'ExtensionManager',
'EnabledExtensionManager',
'NamedExtensionManager',
'HookManager',
'DriverManager',
]
from .extension import ExtensionManager
from .enabled import EnabledExtensionManager
from .named import NamedExtensionManager
from .hook import HookManager
from .driver import DriverManager
im... | <|file_sep|>stevedore/__init__.py.diff
original:
if hasattr(logging, 'NullHandler'):
LOG.addHandler(logging.NullHandler())
else:
class NullHandler(logging.Handler):
def handle(self, record):
pass
updated:
LOG.addHandler(logging.NullHandler())
<|file_sep|>original/stevedore/__init__.py
from .... | 72e3e1177dc23b4f3d358294d68b58c01d7c5931 | stevedore/__init__.py | stevedore/__init__.py | Python |
<|file_sep|>original/package.json
{
"name": "react-pdca",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:sgnh/react-pdca.git",
"author": "Steffen Hansen",
"license": "MIT",
"scripts": {
"clean": "git clean -fdX .",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d... | {
"name": "react-pdca",
"version": "1.0.0",
"main": "pdca.js",
"repository": "git@github.com:sgnh/react-pdca.git",
"author": "Steffen Hansen",
"license": "MIT",
"scripts": {
"clean": "git clean -fdX .",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d .",
"build:es": "babel src -d ... | <|file_sep|>original/package.json
{
"name": "react-pdca",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:sgnh/react-pdca.git",
"author": "Steffen Hansen",
"license": "MIT",
"scripts": {
"clean": "git clean -fdX .",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d... | 0babf70e553900cc24ba134af5f0f7b39ea7bc26 | package.json | package.json | JSON |
<|file_sep|>original/CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.1.1] - 2017-11... | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.1.1] - 2017-11-27
### Added
- Implement `Debug` ... | <|file_sep|>original/CHANGELOG.md
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.1.1] - 2017-11... | 9766ddbd54feef915c38dd05966a0519ab32dae6 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/apnsclient/__init__.py
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Li... | #
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing pe... | <|file_sep|>original/apnsclient/__init__.py
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Li... | 8687087daec7b116f51eac3d3653f0a0d3756eeb | apnsclient/__init__.py | apnsclient/__init__.py | Python |
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx==1.6.3
coverage==4.4.1
django-extensions==1.8.1
django-test-plus==1.0.18
factory-boy==2.9.2
django-debug-toolbar==1.8
# pytest!
pytest-django==3.1.2
pytest-sugar==0.8.0
<|file_sep|>cu... | # Local development dependencies go here
-r base.txt
Sphinx==1.6.3
coverage==4.4.1
django-extensions==1.8.1
django-test-plus==1.0.18
factory-boy==2.9.2
django-debug-toolbar==1.8
# pytest!
pytest-django==3.1.2
pytest-sugar==0.9.0 | <|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx==1.6.3
coverage==4.4.1
django-extensions==1.8.1
django-test-plus==1.0.18
factory-boy==2.9.2
django-debug-toolbar==1.8
# pytest!
pytest-django==3.1.2
pytest-sugar==0.8.0
<|file_sep|>cu... | ad885fb3ec858083fceed7c101ca4e89a6f584ac | {{cookiecutter.project_slug}}/requirements/local.txt | {{cookiecutter.project_slug}}/requirements/local.txt | Text |
<|file_sep|>original/docker-compose.yml
version: "2"
services:
db:
image: mysql:5.6.45
container_name: db
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=credentials001
- MYSQL_PASSWORD=password
... | version: "2"
services:
db:
image: mysql:5.7
container_name: db
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=credentials001
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=credentials
memca... | <|file_sep|>original/docker-compose.yml
version: "2"
services:
db:
image: mysql:5.6.45
container_name: db
command: mysqld --character-set-server=utf8 --collation-server=utf8_general_ci
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=credentials001
- MYSQL_PASSWORD=password
... | 87a5f96ac8849beac6b153665e6075540479eea1 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/README_INSTALL.md
<|file_sep|>current/README_INSTALL.md
<|file_sep|>updated/README_INSTALL.md | ## Introduction ##
This readme provides a guide for installing various optional libraries used in pymatgen. Some of the python libraries are rather tricky to build in certain operating systems, especially for users unfamiliar with building C/C++ code. Please feel free to update the instructions based on your experien... | <|file_sep|>original/README_INSTALL.md
<|file_sep|>current/README_INSTALL.md
<|file_sep|>updated/README_INSTALL.md
## Introduction ##
This readme provides a guide for installing various optional libraries used in pymatgen. Some of the python libraries are rather tricky to build in certain operating systems, especia... | f4ed36c011f0e02dc1599c8aa6a18528a6aa3f6d | README_INSTALL.md | README_INSTALL.md | Markdown |
<|file_sep|>gnd/src/main/java/com/google/android/gnd/repository/local/EntityState.java.diff
original:
* Optional new or deleted state shared by Features and Records.
updated:
* Mutually exclusive entity states shared by Features and Records.
<|file_sep|>gnd/src/main/java/com/google/android/gnd/repository/local/Entity... |
package com.google.android.gnd.repository.local;
/**
* Mutually exclusive entity states shared by Features and Records.
*/
public enum EntityState implements IntEnum {
DELETED(-1),
UNKNOWN(0),
DEFAULT(1);
private final int intValue;
EntityState(int intValue) {
this.intValue = intValue;
}
public... | <|file_sep|>gnd/src/main/java/com/google/android/gnd/repository/local/EntityState.java.diff
original:
* Optional new or deleted state shared by Features and Records.
updated:
* Mutually exclusive entity states shared by Features and Records.
<|file_sep|>gnd/src/main/java/com/google/android/gnd/repository/local/Entity... | 26931106def6a0d95976ecb3e040c104b5e1ca5d | gnd/src/main/java/com/google/android/gnd/repository/local/EntityState.java | gnd/src/main/java/com/google/android/gnd/repository/local/EntityState.java | Java |
<|file_sep|>original/lib/raven/integrations/rails.rb
end
initializer 'raven.action_controller' do
ActiveSupport.on_load :action_controller do
require 'raven/integrations/rails/controller_methods'
include Raven::Rails::ControllerMethods
end
end
initializer 'raven.active_job'... | end
initializer 'raven.action_controller' do
ActiveSupport.on_load :action_controller do
require 'raven/integrations/rails/controller_methods'
include Raven::Rails::ControllerMethods
end
end
config.after_initialize do
Raven.configure do |config|
config.logger ... | <|file_sep|>original/lib/raven/integrations/rails.rb
end
initializer 'raven.action_controller' do
ActiveSupport.on_load :action_controller do
require 'raven/integrations/rails/controller_methods'
include Raven::Rails::ControllerMethods
end
end
initializer 'raven.active_job'... | 9b3ad788130f502ee66b5c4a6a4521fc7e15ecf9 | lib/raven/integrations/rails.rb | lib/raven/integrations/rails.rb | Ruby |
<|file_sep|>original/readme.md
# hyperterm-tabs
> [HyperTerm](https://hyperterm.org) tabs reordering support plugin
<div align="center">
<img src="https://raw.githubusercontent.com/patrik-piskay/hyperterm-tabs/master/hyperterm-tabs.gif">
</div>
## Install
Add `hyperterm-tabs` to the `plugins` list in your `~/.h... | # hyperterm-tabs
> [HyperTerm](https://hyper.is) tabs reordering support plugin
<div align="center">
<img src="https://raw.githubusercontent.com/patrik-piskay/hyperterm-tabs/master/hyperterm-tabs.gif">
</div>
## Install
Add `hyperterm-tabs` to the `plugins` list in your `~/.hyperterm.js` config file.
## Usage
... | <|file_sep|>original/readme.md
# hyperterm-tabs
> [HyperTerm](https://hyperterm.org) tabs reordering support plugin
<div align="center">
<img src="https://raw.githubusercontent.com/patrik-piskay/hyperterm-tabs/master/hyperterm-tabs.gif">
</div>
## Install
Add `hyperterm-tabs` to the `plugins` list in your `~/.h... | 1cbb831b4c87b20a8a4e7157b2dae54b9386bfe5 | readme.md | readme.md | Markdown |
<|file_sep|>original/feedback/feedback_sprint7.md
<|file_sep|>current/feedback/feedback_sprint7.md
<|file_sep|>updated/feedback/feedback_sprint7.md | # PL5 - Totally Awesome Genome Coders
## Sprint
| Group | Sprint Management | | | | | |
|-------------------------------------|-------------------|-----------|----------------|-----------------------|----------------|... | <|file_sep|>original/feedback/feedback_sprint7.md
<|file_sep|>current/feedback/feedback_sprint7.md
<|file_sep|>updated/feedback/feedback_sprint7.md
# PL5 - Totally Awesome Genome Coders
## Sprint
| Group | Sprint Management | | | | ... | c859b03e5cc8b83c3fd65963987f4f2e7a66db0d | feedback/feedback_sprint7.md | feedback/feedback_sprint7.md | Markdown |
<|file_sep|>source/examples/index.html.md.diff
original:
<a href="/examples/todos/">Visit Todos
updated:
<a href="/examples/todos/">Visit Todos</a>
<a href="/examples/todos/">
<|file_sep|>source/examples/index.html.md.diff
original:
Visit Simple Bindings
updated:
Visit Simple Bindings</a>
<a href="/examples/simple_bind... | <a href="/examples/simple_bindings/">
Visit Simple Bindings</a>
<a href="/examples/simple_bindings/">
<img src="/images/screenshots/simple_bindings.png">
</a>
## Contacts
A more sophisticated demo application. Add new contacts, change their names, and watch as they are updated
and sorted in real time. Click on a cont... | <|file_sep|>source/examples/index.html.md.diff
original:
<a href="/examples/todos/">Visit Todos
updated:
<a href="/examples/todos/">Visit Todos</a>
<a href="/examples/todos/">
<|file_sep|>source/examples/index.html.md.diff
original:
Visit Simple Bindings
updated:
Visit Simple Bindings</a>
<a href="/examples/simple_bind... | 342a4c65c25c01adc7d4ad022274ed66bbe27642 | source/examples/index.html.md | source/examples/index.html.md | Markdown |
<|file_sep|>original/README.md
# Sayid
Sayid *(siy EED)* is an omniscient debugger and profiler for Clojure. It extracts secrets from code at run-time.
[site](http://clojure-emacs.github.io/sayid)
**We're looking for more maintainers for the project. If you're interested in helping out please ping @bbatsov.**
## Li... | # Sayid
Sayid *(siy EED)* is an omniscient debugger and profiler for Clojure. It extracts secrets from code at run-time.
[site](http://clojure-emacs.github.io/sayid)
**We're looking for more maintainers for the project. If you're interested in helping out please ping @bbatsov.**
## Updating the site
Sayid's simple... | <|file_sep|>original/README.md
# Sayid
Sayid *(siy EED)* is an omniscient debugger and profiler for Clojure. It extracts secrets from code at run-time.
[site](http://clojure-emacs.github.io/sayid)
**We're looking for more maintainers for the project. If you're interested in helping out please ping @bbatsov.**
## Li... | 917c9597ccdf66e17943919a3a8fd94a4ab8c05a | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/dart.yml
<|file_sep|>current/.github/workflows/dart.yml
<|file_sep|>updated/.github/workflows/dart.yml | # This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Dart
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu... | <|file_sep|>original/.github/workflows/dart.yml
<|file_sep|>current/.github/workflows/dart.yml
<|file_sep|>updated/.github/workflows/dart.yml
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support... | 9864b19c85a8cbd324ffb3df62fe8e3f2f4bd8f1 | .github/workflows/dart.yml | .github/workflows/dart.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.8"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.8"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.10"
- "0.11" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.8"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.8"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.11" | 4b9187cb748501ce8933ce78ccd56a9f05a09183 | .travis.yml | .travis.yml | YAML |
<|file_sep|>grunt/mochaTest.js.diff
original:
'test/node-server-test.js'
updated:
'test/node-server-test.js',
'test/polymer-app-test.js'
<|file_sep|>original/grunt/mochaTest.js
module.exports = {
options: { reporter: 'spec' },
all: {
src: [
'test/app-test.js',
'test/node-test.js',
'test/node-serv... | module.exports = {
options: { reporter: 'spec' },
all: {
src: [
'test/app-test.js',
'test/node-test.js',
'test/node-server-test.js',
'test/polymer-app-test.js'
]
},
app: { src: 'test/app-test.js' },
node: { src: 'test/node-test.js' },
'node-server': { src: 'test/node-server-test.js' },
'polymer-... | <|file_sep|>grunt/mochaTest.js.diff
original:
'test/node-server-test.js'
updated:
'test/node-server-test.js',
'test/polymer-app-test.js'
<|file_sep|>original/grunt/mochaTest.js
module.exports = {
options: { reporter: 'spec' },
all: {
src: [
'test/app-test.js',
'test/node-test.js',
'test/node-serv... | 84679fead9f0d56ad4311c7b06f258d5232d798c | grunt/mochaTest.js | grunt/mochaTest.js | JavaScript |
<|file_sep|>original/config/config.exs
use Mix.Config
secrets_file = Path.expand(Path.join(__DIR__, "secrets.exs"))
if Mix.env() in [:dev, :test] and File.regular?(secrets_file) do
import_config secrets_file # For development of this library.
end
# These are configs for development/test/example
config :hipchat_elix... | use Mix.Config
# These are configs for development/test/example
config :hipchat_elixir, [
# Set request body serializer module. Currently only accepts `Poison` or `:form`.
# If `:form`, it tries to send requests with `content-type: x-www-form-urlencoded` (Note that some HipChat APIs might reject them).
# Otherwi... | <|file_sep|>original/config/config.exs
use Mix.Config
secrets_file = Path.expand(Path.join(__DIR__, "secrets.exs"))
if Mix.env() in [:dev, :test] and File.regular?(secrets_file) do
import_config secrets_file # For development of this library.
end
# These are configs for development/test/example
config :hipchat_elix... | fe0115dcdbbad9ec83f468a721207addd3ad9944 | config/config.exs | config/config.exs | Elixir |
<|file_sep|>original/requirements.txt
numpy>=1.17
scipy>=1.3.1
scikit-learn>=0.22
numba>=0.49
pynndescent>=0.5
tbb>=2019.0
<|file_sep|>current/requirements.txt
numpy>=1.17
scipy>=1.3.1
scikit-learn>=0.22
numba>=0.49
pynndescent>=0.5
tbb>=2019.0
<|file_sep|>updated/requirements.txt | numpy>=1.17
scipy>=1.3.1
scikit-learn>=0.22
numba>=0.49
pynndescent>=0.4.6
tbb>=2019.0 | <|file_sep|>original/requirements.txt
numpy>=1.17
scipy>=1.3.1
scikit-learn>=0.22
numba>=0.49
pynndescent>=0.5
tbb>=2019.0
<|file_sep|>current/requirements.txt
numpy>=1.17
scipy>=1.3.1
scikit-learn>=0.22
numba>=0.49
pynndescent>=0.5
tbb>=2019.0
<|file_sep|>updated/requirements.txt
numpy>=1.17
scipy>=1.3.1
scikit-learn>... | 43181dec02e3932da9f7a0ee9c12abee5265d7b0 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/_posts/2018-09-06-What-is-OALP.md
<|file_sep|>current/_posts/2018-09-06-What-is-OALP.md
<|file_sep|>updated/_posts/2018-09-06-What-is-OALP.md | ---
layout: post
title: " OALP란 무엇인가? "
categories: Technology
tags: Technology
author: goodGid
---
* content
{:toc}
## OALP란 무엇인가?
* OALP(Online Analytical Processing)은 대용량 업무 데이터베이스를 구성하고 BI(Business Intelligence)를 지원하기 위해 사용되는 기술
* **데이터 웨어하우스**나 **데이터 마트**와 같은 대규모 데이터에 대해 최종 사용자가 정보에 **직접 접근**하여 **대화식**으로 정보를 분... | <|file_sep|>original/_posts/2018-09-06-What-is-OALP.md
<|file_sep|>current/_posts/2018-09-06-What-is-OALP.md
<|file_sep|>updated/_posts/2018-09-06-What-is-OALP.md
---
layout: post
title: " OALP란 무엇인가? "
categories: Technology
tags: Technology
author: goodGid
---
* content
{:toc}
## OALP란 무엇인가?
* OALP(Online Analyt... | 530048b29e13273bc22abeb5e5c4fb0f12c97d84 | _posts/2018-09-06-What-is-OALP.md | _posts/2018-09-06-What-is-OALP.md | Markdown |
<|file_sep|>original/readers/models.py
from django.core.urlresolvers import reverse
from django.db import models
from model_utils.models import TimeStampedModel
class Reader(TimeStampedModel):
IBOOKS = 'iBooks'
KINDLE = 'Kindle'
TYPES = (
(IBOOKS, IBOOKS),
(KINDLE, KINDLE),
)
nam... | from django.core.urlresolvers import reverse
from django.db import models
from model_utils.models import TimeStampedModel
class Reader(TimeStampedModel):
IBOOKS = 'iBooks'
KINDLE = 'Kindle'
TYPES = (
(IBOOKS, 'iBooks (.epub, .pdf)'),
(KINDLE, 'Kindle (.mobi, .pdf)'),
)
name = mod... | <|file_sep|>original/readers/models.py
from django.core.urlresolvers import reverse
from django.db import models
from model_utils.models import TimeStampedModel
class Reader(TimeStampedModel):
IBOOKS = 'iBooks'
KINDLE = 'Kindle'
TYPES = (
(IBOOKS, IBOOKS),
(KINDLE, KINDLE),
)
nam... | 79f7d8052333fcace914fa27ea2deb5f0d7cdbfc | readers/models.py | readers/models.py | Python |
<|file_sep|>original/includes/package.json
{
"dependencies": {
"daggy": "0.0.1",
"futurize": "1.2.0"
}
}
<|file_sep|>current/includes/package.json
{
"dependencies": {
"daggy": "0.0.1",
"futurize": "1.2.0"
}
}
<|file_sep|>updated/includes/package.json | {
"dependencies": {
"daggy": "1.4.0",
"futurize": "1.2.0"
}
} | <|file_sep|>original/includes/package.json
{
"dependencies": {
"daggy": "0.0.1",
"futurize": "1.2.0"
}
}
<|file_sep|>current/includes/package.json
{
"dependencies": {
"daggy": "0.0.1",
"futurize": "1.2.0"
}
}
<|file_sep|>updated/includes/package.json
{
"dependencies": {
"daggy": "1.4.0",
... | 6df656452a9168228f1450d3afce4625b67a8b87 | includes/package.json | includes/package.json | JSON |
<|file_sep|>original/appveyor.yml
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python33-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
init:
- "echo Testing with %PYTHON%"
install:
# symlink python from a directory with a space
- "mklink /d \"C:\\Progr... | - PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python33-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
init:
- "echo Testing with %PYTHON%"
install:
# symlink python from a directory with a space
- "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
- "... | <|file_sep|>original/appveyor.yml
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python33-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
init:
- "echo Testing with %PYTHON%"
install:
# symlink python from a directory with a space
- "mklink /d \"C:\\Progr... | 38064f8b5450329eaa37869c76b0eb188f5a7fb2 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/Sources/BenchmarkExample/main.swift
import Benchmark
benchmark("add string no capacity") {
var x1: String = ""
for _ in 1...1000 {
x1 += "hi"
}
}
benchmark("add string reserved capacity") {
var x2: String = ""
x2.reserveCapacity(1000)
for _ in 1...1000 {
x2... | import Benchmark
benchmark("add string no capacity") {
var x1: String = ""
for _ in 1...1000 {
x1 += "hi"
}
}
benchmark("add string reserved capacity") {
var x2: String = ""
x2.reserveCapacity(2000)
for _ in 1...1000 {
x2 += "hi"
}
}
Benchmark.main() | <|file_sep|>original/Sources/BenchmarkExample/main.swift
import Benchmark
benchmark("add string no capacity") {
var x1: String = ""
for _ in 1...1000 {
x1 += "hi"
}
}
benchmark("add string reserved capacity") {
var x2: String = ""
x2.reserveCapacity(1000)
for _ in 1...1000 {
x2... | f421546d0c1d241216d4f1a740bc0e07b62333f5 | Sources/BenchmarkExample/main.swift | Sources/BenchmarkExample/main.swift | Swift |
<|file_sep|>server/index.js.diff
original:
updated:
const csrf = require('csurf');
<|file_sep|>server/index.js.diff
original:
client.on("error", err => console.log(`Error: ${err} - Are you running redis?`));
updated:
client.on("error", err => console.log(`Error: ${err} - Are you running redis?`)); // eslint-disable-li... | store: new RedisStore({ client }),
secret: secret.sessionSecret,
resave: false,
saveUninitialized: true
}));
app.use(passport.initialize());
app.use(passport.session());
app.use(csrf()); // Inject CSRF token to req.session
// Use dirs appropriately, with a separation of concerns for the public & dist dirs
app.... | <|file_sep|>server/index.js.diff
original:
updated:
const csrf = require('csurf');
<|file_sep|>server/index.js.diff
original:
client.on("error", err => console.log(`Error: ${err} - Are you running redis?`));
updated:
client.on("error", err => console.log(`Error: ${err} - Are you running redis?`)); // eslint-disable-li... | cdd10264a128017b80b501e183c2925e30048a43 | server/index.js | server/index.js | JavaScript |
<|file_sep|>original/slack-guidelines.md
This is a quick guide to the TechCorridor.io Slack. We are quickly approaching 300 members, so some guidelines are helpful!
* #announcements: Slack doesn't allow members to leave this main channel, and it generally shouldn't have idle chitchat. Example uses: announcing a m... | ---
layout: page
header: Slack Guidelines
---
This is a quick guide to the TechCorridor.io Slack. We are quickly approaching 300 members, so some guidelines are helpful!
* #announcements: Slack doesn't allow members to leave this main channel, and it generally shouldn't have idle chitchat. Example uses: announci... | <|file_sep|>original/slack-guidelines.md
This is a quick guide to the TechCorridor.io Slack. We are quickly approaching 300 members, so some guidelines are helpful!
* #announcements: Slack doesn't allow members to leave this main channel, and it generally shouldn't have idle chitchat. Example uses: announcing a m... | c27aba62966db32b320d47a66bcb541066a97ae4 | slack-guidelines.md | slack-guidelines.md | Markdown |
<|file_sep|>original/src/Lyrixx/Bundle/FortuneBundle/Resources/views/Front/fortune.js.twig
$('.votes a').on('click', function(e) {
e.preventDefault();
var $this = $(this);
var $parent = $this.parent();
$('a', $parent).css('visibility', 'hidde... | $('.votes a').on('click', function(e) {
e.preventDefault();
var $this = $(this);
var $parent = $this.parent();
$('a', $parent).css('visibility', 'hidden');
var fortuneId = $parent.data('fortune-id');
if (fortu... | <|file_sep|>original/src/Lyrixx/Bundle/FortuneBundle/Resources/views/Front/fortune.js.twig
$('.votes a').on('click', function(e) {
e.preventDefault();
var $this = $(this);
var $parent = $this.parent();
$('a', $parent).css('visibility', 'hidde... | 678d7863ca64fa8920df4128dfe83ade369f19c7 | src/Lyrixx/Bundle/FortuneBundle/Resources/views/Front/fortune.js.twig | src/Lyrixx/Bundle/FortuneBundle/Resources/views/Front/fortune.js.twig | Twig |
<|file_sep|>metadata/de.nico.ha_manager.txt.diff
original:
updated:
Build:0.81,15
commit=0.81
subdir=app
<|file_sep|>original/metadata/de.nico.ha_manager.txt
Build:0.63,10
commit=0.63
subdir=HA-Manager
Build:0.65,12
commit=0.65
subdir=HA-Manager
Build:0.7,13
commit=0.7
subdir=HA-Mana... | Build:0.65,12
commit=0.65
subdir=HA-Manager
Build:0.7,13
commit=0.7
subdir=HA-Manager
Build:0.8,14
commit=0.8
subdir=app
Build:0.81,15
commit=0.81
subdir=app
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:0.81
Current Version Code:15
| <|file_sep|>metadata/de.nico.ha_manager.txt.diff
original:
updated:
Build:0.81,15
commit=0.81
subdir=app
<|file_sep|>original/metadata/de.nico.ha_manager.txt
Build:0.63,10
commit=0.63
subdir=HA-Manager
Build:0.65,12
commit=0.65
subdir=HA-Manager
Build:0.7,13
commit=0.7
subdir=HA-Mana... | 11c618f55a09559fdfe778a1c448fcbc9bf2f008 | metadata/de.nico.ha_manager.txt | metadata/de.nico.ha_manager.txt | Text |
<|file_sep|>original/packages/op/optparse-enum.yaml
<|file_sep|>current/packages/op/optparse-enum.yaml
<|file_sep|>updated/packages/op/optparse-enum.yaml | homepage: https://github.com/cdornan/optparse-enum#readme
changelog-type: markdown
hash: f3d0f604d339ede9aac6e68e9549f9fade81cb9096650fd354575b7b2f3e83e9
test-bench-deps: {}
maintainer: chris@chrisdornan.com
synopsis: An enum-text based toolkit for optparse-applicative
changelog: |
# Changelog for optparse-enum
##... | <|file_sep|>original/packages/op/optparse-enum.yaml
<|file_sep|>current/packages/op/optparse-enum.yaml
<|file_sep|>updated/packages/op/optparse-enum.yaml
homepage: https://github.com/cdornan/optparse-enum#readme
changelog-type: markdown
hash: f3d0f604d339ede9aac6e68e9549f9fade81cb9096650fd354575b7b2f3e83e9
test-bench... | 10495a8173301592e59bf712ffa039653475410b | packages/op/optparse-enum.yaml | packages/op/optparse-enum.yaml | YAML |
<|file_sep|>original/requirements.txt
bcrypt>=2.0.0, <3.0
PrettyTable>=0.7.2, <0.8
six>=1.9, <2.0
requests>=2.7.0, <3.0
PyYAML>=3.0, <4.0
simplejson
click==3.3 # EL7 version
<|file_sep|>current/requirements.txt
bcrypt>=2.0.0, <3.0
PrettyTable>=0.7.2, <0.8
six>=1.9, <2.0
requests>=2.7.0, <3.0
PyYAML>=3.0, <4.0
simplejso... | bcrypt>=2.0.0, <3.0
PrettyTable>=0.7.2, <0.8
six>=1.9, <2.0
requests>=2.7.0, <3.0
PyYAML>=3.0, <4.0
simplejson
click==3.3 # EL7 version
setuptools==18.5
| <|file_sep|>original/requirements.txt
bcrypt>=2.0.0, <3.0
PrettyTable>=0.7.2, <0.8
six>=1.9, <2.0
requests>=2.7.0, <3.0
PyYAML>=3.0, <4.0
simplejson
click==3.3 # EL7 version
<|file_sep|>current/requirements.txt
bcrypt>=2.0.0, <3.0
PrettyTable>=0.7.2, <0.8
six>=1.9, <2.0
requests>=2.7.0, <3.0
PyYAML>=3.0, <4.0
simplejso... | e43832e19ff89534d90ee1c9332b4e718db8326d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/packages/fu/fusion-plugin-types.yaml
<|file_sep|>current/packages/fu/fusion-plugin-types.yaml
<|file_sep|>updated/packages/fu/fusion-plugin-types.yaml | homepage: https://github.com/composewell/fusion-plugin-types
changelog-type: markdown
hash: 0f11bbc445ab8ae3dbbb3d5d2ea198bdb1ac020518b7f4f7579035dc89182438
test-bench-deps: {}
maintainer: pranaysashank@composewell.com
synopsis: Types for the fusion-plugin package.
changelog: |
## 0.1.0
* Initial release
basic-dep... | <|file_sep|>original/packages/fu/fusion-plugin-types.yaml
<|file_sep|>current/packages/fu/fusion-plugin-types.yaml
<|file_sep|>updated/packages/fu/fusion-plugin-types.yaml
homepage: https://github.com/composewell/fusion-plugin-types
changelog-type: markdown
hash: 0f11bbc445ab8ae3dbbb3d5d2ea198bdb1ac020518b7f4f7579035... | 2349da101816727d3cdc17095d884362c9a044a9 | packages/fu/fusion-plugin-types.yaml | packages/fu/fusion-plugin-types.yaml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
- "7"
- "8"
before_install: if [[ `npm -v` != 5* ]]; then npm i -g npm@5; fi
after_script: npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
<|file_sep|>current/.travis.yml
language:... | language: node_js
node_js:
- "6"
- "8"
before_install: if [[ `npm -v` != 5* ]]; then npm i -g npm@5; fi
after_script: npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
- "7"
- "8"
before_install: if [[ `npm -v` != 5* ]]; then npm i -g npm@5; fi
after_script: npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
<|file_sep|>current/.travis.yml
language:... | 556c6a5409b055712aaf631493e275f29a7e54e5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/vim/README.org
- :{range}m{address} :: move range of lines to line below specified address
* HELP
** Generic help
Simply type ~:help~ or ~F1~ key to get into vims generic help.
This has lots of good information including how to jump in and out of files.
** Jump in and out of files
~CTRL ... |
~CTRL - ]~ will jump into a topic that is tagged (between bars)
~CTRL - O~ or ~CTRL -T~ will jump back.
** Specific help
To get help on a specific topic
~:help topic~
* Vimrc and alternative configurations
All configutations are stored in a ~.vimrc~ file. This file is loaded
by default when you launch vim. Howerve... | <|file_sep|>original/docs/vim/README.org
- :{range}m{address} :: move range of lines to line below specified address
* HELP
** Generic help
Simply type ~:help~ or ~F1~ key to get into vims generic help.
This has lots of good information including how to jump in and out of files.
** Jump in and out of files
~CTRL ... | 6e40e2184466dc87b4be34ae931a678500f248ca | docs/vim/README.org | docs/vim/README.org | Org |
<|file_sep|>original/src/Main.hs
putAst :: IO ()
putAst = getContents >>= putStrLn . parseAst
parseAst :: String -> String
parseAst = show . parseProgram
-- Parse and evaluate a program:
putExpr :: IO ()
putExpr = getContents >>= putStr . parseExpr
parseExpr :: String -> String
parseExpr = printList . map (eval . g... | putAst :: IO ()
putAst = getContents >>= putStrLn . parseAst
parseAst :: String -> String
parseAst = show . parseProgram
-- Parse and evaluate a program:
putExpr :: IO ()
putExpr = getContents >>= putStr . parseExpr
parseExpr :: String -> String
parseExpr = printList . map (eval . getExpr) . getStmts . parseProgram... | <|file_sep|>original/src/Main.hs
putAst :: IO ()
putAst = getContents >>= putStrLn . parseAst
parseAst :: String -> String
parseAst = show . parseProgram
-- Parse and evaluate a program:
putExpr :: IO ()
putExpr = getContents >>= putStr . parseExpr
parseExpr :: String -> String
parseExpr = printList . map (eval . g... | 4db24a88bd2bf7ee5ae7b6b97293e3fc2e4d7727 | src/Main.hs | src/Main.hs | Haskell |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8.2
xcode_workspace: Harekaze.xcworkspace
xcode_scheme: Harekaze
xcode_sdk: iphonesimulator10.2
cache: cocoapods
env:
- DESTINATION="OS=10.2,name=iPhone 7"
before_install:
- pod repo update --silent
- brew update
- brew outdated xctool || br... | language: objective-c
osx_image: xcode8.2
xcode_workspace: Harekaze.xcworkspace
xcode_scheme: Harekaze
xcode_sdk: iphonesimulator10.2
cache: cocoapods
env:
- DESTINATION="OS=10.2,id=22FA2149-1241-469C-BF6D-462D3837DB72,name=iPhone 7"
before_install:
- pod repo update --silent
- brew update
- brew outdated xctoo... | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8.2
xcode_workspace: Harekaze.xcworkspace
xcode_scheme: Harekaze
xcode_sdk: iphonesimulator10.2
cache: cocoapods
env:
- DESTINATION="OS=10.2,name=iPhone 7"
before_install:
- pod repo update --silent
- brew update
- brew outdated xctool || br... | 42e3966c9264f3d9d64cd675f466ffb9c6512586 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/helpers/form_helper.rb.diff
original:
def possible_read_only_ops(submission=nil)
updated:
def possible_read_only_ops
<|file_sep|>original/app/helpers/form_helper.rb
module FormHelper
def possible_read_only_ops(submission=nil)
ops = {}
if admin_in_read_only_mode? || (submission && !current... | module FormHelper
def possible_read_only_ops
ops = {}
if admin_in_read_only_mode? || submission_ended?
ops[:disabled] = "disabled"
ops[:class] = "read-only"
end
ops
end
def next_step(form, step)
return unless step
steps = form.steps
steps.map! { |s| s.title.parameterize... | <|file_sep|>app/helpers/form_helper.rb.diff
original:
def possible_read_only_ops(submission=nil)
updated:
def possible_read_only_ops
<|file_sep|>original/app/helpers/form_helper.rb
module FormHelper
def possible_read_only_ops(submission=nil)
ops = {}
if admin_in_read_only_mode? || (submission && !current... | acf4db599fd0181b45f41a5ece2f8181d5a4ef91 | app/helpers/form_helper.rb | app/helpers/form_helper.rb | Ruby |
<|file_sep|>atom/init.coffee.diff
original:
oldThemes = []
updated:
<|file_sep|>atom/init.coffee.diff
original:
oldThemes = atom.config.get('core.themes')
atom.setWindowDimensions('width': 1024, 'height': 768)
atom.config.restoreDefault('core.themes')
updated:
atom.setWindowDimensions('width': 1366, '... | #
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
path = require 'path'
oldWindowDimensions = {}
atom.commands.add 'atom-workspace',
'custom:open-todo-list': ->
todoList = path.join(proce... | <|file_sep|>atom/init.coffee.diff
original:
oldThemes = []
updated:
<|file_sep|>atom/init.coffee.diff
original:
oldThemes = atom.config.get('core.themes')
atom.setWindowDimensions('width': 1024, 'height': 768)
atom.config.restoreDefault('core.themes')
updated:
atom.setWindowDimensions('width': 1366, '... | b37cdf8212df21dd51ae4fdd2c62d2248156f150 | atom/init.coffee | atom/init.coffee | CoffeeScript |
<|file_sep|>original/.binstar.yml
package: s3fs
user: s3fs
platform:
- linux-64
engine:
- python=2.7
- python=3.4
- python=3.5
install:
- conda config --add channels dask
before_script:
- conda info
- python -V
script:
- conda build conda.recipe
<|file_sep|>current/.binstar.yml
package: s3fs
user:... | package: s3fs
user: s3fs
platform:
- linux-64
- osx-64
- win-64
engine:
- python=2.7
- python=3.4
- python=3.5
install:
- conda config --add channels dask
before_script:
- conda info
- python -V
script: | <|file_sep|>original/.binstar.yml
package: s3fs
user: s3fs
platform:
- linux-64
engine:
- python=2.7
- python=3.4
- python=3.5
install:
- conda config --add channels dask
before_script:
- conda info
- python -V
script:
- conda build conda.recipe
<|file_sep|>current/.binstar.yml
package: s3fs
user:... | 3ba3ab9746f5d7d917bd932656df5004961c2b44 | .binstar.yml | .binstar.yml | YAML |
<|file_sep|>original/include/llvm/Bytecode/Reader.h
// Note that performance of this library is _crucial_ for performance of the
// JIT type applications, so we have designed the bytecode format to support
// quick reading.
//
//===----------------------------------------------------------------------===//
#ifndef LLV... | //
// Note that performance of this library is _crucial_ for performance of the
// JIT type applications, so we have designed the bytecode format to support
// quick reading.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_BYTECODE_READER_H
#define LLVM_BYTECODE_READER_... | <|file_sep|>original/include/llvm/Bytecode/Reader.h
// Note that performance of this library is _crucial_ for performance of the
// JIT type applications, so we have designed the bytecode format to support
// quick reading.
//
//===----------------------------------------------------------------------===//
#ifndef LLV... | 1416089f44fab6fa35e3523aed3408ee30457a7f | include/llvm/Bytecode/Reader.h | include/llvm/Bytecode/Reader.h | C |
<|file_sep|>original/unittests/test_roles.py
<|file_sep|>current/unittests/test_roles.py
<|file_sep|>updated/unittests/test_roles.py | import pytest
@pytest.fixture
def mockctl(testdir):
testdir.makepyfile(mockctl="""
import mock
pytest_plugins = 'sangoma.lab.roles'
def pytest_lab_addroles(rolemanager):
rolemanager.register('mock', mock.Mock())
""")
def test_manage_location(testdir):
testdir.makecon... | <|file_sep|>original/unittests/test_roles.py
<|file_sep|>current/unittests/test_roles.py
<|file_sep|>updated/unittests/test_roles.py
import pytest
@pytest.fixture
def mockctl(testdir):
testdir.makepyfile(mockctl="""
import mock
pytest_plugins = 'sangoma.lab.roles'
def pytest_lab_addrole... | 361ca05d2ba9662551b688b1d7867edbec8d9705 | unittests/test_roles.py | unittests/test_roles.py | Python |
<|file_sep|>original/requirements/dev.txt
-r base.txt
flake8==3.3.0
flake8-docstrings==1.1.0
django-debug-toolbar==1.7
freezegun==0.3.8
isort==4.2.5
pytest-django==3.1.2
pytest-cov==2.4.0
pytest-factoryboy==1.3.1
Faker==0.7.11
transifex-client==0.12.4
<|file_sep|>current/requirements/dev.txt
-r base.txt
flake8==3.3.0
f... | -r base.txt
flake8==3.3.0
flake8-docstrings==1.1.0
django-debug-toolbar==1.8
freezegun==0.3.8
isort==4.2.5
pytest-django==3.1.2
pytest-cov==2.4.0
pytest-factoryboy==1.3.1
Faker==0.7.11
transifex-client==0.12.4 | <|file_sep|>original/requirements/dev.txt
-r base.txt
flake8==3.3.0
flake8-docstrings==1.1.0
django-debug-toolbar==1.7
freezegun==0.3.8
isort==4.2.5
pytest-django==3.1.2
pytest-cov==2.4.0
pytest-factoryboy==1.3.1
Faker==0.7.11
transifex-client==0.12.4
<|file_sep|>current/requirements/dev.txt
-r base.txt
flake8==3.3.0
f... | 18d09af8505f7f375a5fe7cb2913534de44b3cd0 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/app/src/main/res/layout/activity_home.xml
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<net.squanchy.navigation.view.NoSwipeViewPager
android:id="@+id/main_view_pager"
android:layout_width="match_parent"
android:layout... | android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<net.squanchy.navigation.view.NoSwipeViewPager
android:id="@+id/main_view_pager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<android.suppo... | <|file_sep|>original/app/src/main/res/layout/activity_home.xml
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<net.squanchy.navigation.view.NoSwipeViewPager
android:id="@+id/main_view_pager"
android:layout_width="match_parent"
android:layout... | fe16107ba978b93c96bb35d983f434e4ff9cf75d | app/src/main/res/layout/activity_home.xml | app/src/main/res/layout/activity_home.xml | XML |
<|file_sep|>original/_posts/2013-08-18-all-in-200.md
<|file_sep|>current/_posts/2013-08-18-all-in-200.md
<|file_sep|>updated/_posts/2013-08-18-all-in-200.md | ---
category: rides
layout: ride
title: All-In 200
---
FXT’s epic fall ride, this year we are riding from Dallas to Shreveport.
October 18th – 20th
Ride Bikes, Drink Beer, Gamble.
Traditionally these are fixed gear rides, however geared bikes are welcome.
We will start with breakfast at Buzz Brews, Friday October ... | <|file_sep|>original/_posts/2013-08-18-all-in-200.md
<|file_sep|>current/_posts/2013-08-18-all-in-200.md
<|file_sep|>updated/_posts/2013-08-18-all-in-200.md
---
category: rides
layout: ride
title: All-In 200
---
FXT’s epic fall ride, this year we are riding from Dallas to Shreveport.
October 18th – 20th
Ride Bikes... | 8c93c06b77e09dc7d0fc9ea308cae7ff5b782761 | _posts/2013-08-18-all-in-200.md | _posts/2013-08-18-all-in-200.md | Markdown |
<|file_sep|>original/LICENSE.txt
The MIT License (MIT)
Copyright (c) 2016-2020 Pushpad (https://pushpad.xyz)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without... | The MIT License (MIT)
Copyright (c) 2016-2021 Pushpad (https://pushpad.xyz)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, co... | <|file_sep|>original/LICENSE.txt
The MIT License (MIT)
Copyright (c) 2016-2020 Pushpad (https://pushpad.xyz)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without... | 3c4df2a67f80a979b98b5fbf7b7df8b7e454cecf | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/ticket_gate.gemspec
Gem::Specification.new do |spec|
spec.name = "ticket_gate"
spec.version = TicketGate::VERSION
spec.authors = ["Dennis Charles Hackethal", "Stagelink GmbH"]
spec.email = ["dennis.hackethal@gmail.com"]
spec.description = %q{Ruby client for... | spec.name = "ticket_gate"
spec.version = TicketGate::VERSION
spec.authors = ["Dennis Charles Hackethal", "Stagelink GmbH"]
spec.email = ["dennis.hackethal@gmail.com"]
spec.description = %q{Ruby client for Stagelink's ticketing API.}
spec.summary = %q{TicketGate lets you ... | <|file_sep|>original/ticket_gate.gemspec
Gem::Specification.new do |spec|
spec.name = "ticket_gate"
spec.version = TicketGate::VERSION
spec.authors = ["Dennis Charles Hackethal", "Stagelink GmbH"]
spec.email = ["dennis.hackethal@gmail.com"]
spec.description = %q{Ruby client for... | 9b433d37ec1549036afd3d1004cde0413ffe58b2 | ticket_gate.gemspec | ticket_gate.gemspec | Ruby |
<|file_sep|>original/third_party/supersticky/language/english/lang.supersticky.php
*
* @author Stephen Lewis (http://github.com/experience/)
* @copyright Experience Internet
* @package Supersticky
*/
$lang = array(
/* --------------------------------------------------------------
* REQUIR... | */
$lang = array(
/* --------------------------------------------------------------
* REQUIRED
* ------------------------------------------------------------ */
'supersticky_module_name' => 'SuperSticky',
'supersticky_module_description' => 'Superior stickies.',
/* -----------------------------------------... | <|file_sep|>original/third_party/supersticky/language/english/lang.supersticky.php
*
* @author Stephen Lewis (http://github.com/experience/)
* @copyright Experience Internet
* @package Supersticky
*/
$lang = array(
/* --------------------------------------------------------------
* REQUIR... | 9e6fcf11e468ac731e0775d1af1df28ad8f447bd | third_party/supersticky/language/english/lang.supersticky.php | third_party/supersticky/language/english/lang.supersticky.php | PHP |
<|file_sep|>original/README.md
# stylelint-config-guidelines
This config is based on [CSSGuidelines](http://cssguidelin.es/) for [Stylelint](http://stylelint.io/).
## Installation
```console
$ npm install stylelint-config-guidelines
```
## Usage
If you've installed `stylelint-config-guidelines` locally within your ... | # stylelint-config-guidelines
This config is based on [CSSGuidelines](http://cssguidelin.es/) for [Stylelint](http://stylelint.io/).
## Installation
```console
$ npm install stylelint-config-guidelines
```
## Usage
If you've installed `stylelint-config-guidelines` locally within your project, just set your `styleli... | <|file_sep|>original/README.md
# stylelint-config-guidelines
This config is based on [CSSGuidelines](http://cssguidelin.es/) for [Stylelint](http://stylelint.io/).
## Installation
```console
$ npm install stylelint-config-guidelines
```
## Usage
If you've installed `stylelint-config-guidelines` locally within your ... | 14a87f69101ae15444e6fc1e43100425cb7aec22 | README.md | README.md | Markdown |
<|file_sep|>original/app/jobs/shipit/deliver_hook_job.rb
# frozen_string_literal: true
module Shipit
class DeliverHookJob < BackgroundJob
queue_as :hooks
def perform(delivery)
delivery = Hook::DeliverySpec.new(delivery) if delivery.is_a?(Hash)
delivery.send!
end
end
end
<|file_sep|>current/... | # frozen_string_literal: true
module Shipit
class DeliverHookJob < BackgroundJob
queue_as :hooks
def perform(delivery)
delivery = Hook::DeliverySpec.new(**delivery) if delivery.is_a?(Hash)
delivery.send!
end
end
end | <|file_sep|>original/app/jobs/shipit/deliver_hook_job.rb
# frozen_string_literal: true
module Shipit
class DeliverHookJob < BackgroundJob
queue_as :hooks
def perform(delivery)
delivery = Hook::DeliverySpec.new(delivery) if delivery.is_a?(Hash)
delivery.send!
end
end
end
<|file_sep|>current/... | 437c49d21226f9f7cf3acf2522ab0751eda0a549 | app/jobs/shipit/deliver_hook_job.rb | app/jobs/shipit/deliver_hook_job.rb | Ruby |
<|file_sep|>Casks/duet.rb.diff
original:
version '1.2.5'
sha256 'd3c178b6b07347fcacc62396706f4f6b9efbbc8d8eb7b0b5f003df0406d59143'
updated:
version '1.2.9'
sha256 'de45914dd00923e372a1d2aa205f4d14e27dd005c228af093a8e9a95d7516951'
<|file_sep|>original/Casks/duet.rb
cask :v1 => 'duet' do
version '1.2.5'
sha25... | cask :v1 => 'duet' do
version '1.2.9'
sha256 'de45914dd00923e372a1d2aa205f4d14e27dd005c228af093a8e9a95d7516951'
# devmate.com is the official download host per the vendor homepage
url 'http://dl.devmate.com/com.kairos.duet/1.2.9/1430518908/duet-1.2.9.zip'
name 'Duet'
homepage 'http://www.duetdisplay.com/'
... | <|file_sep|>Casks/duet.rb.diff
original:
version '1.2.5'
sha256 'd3c178b6b07347fcacc62396706f4f6b9efbbc8d8eb7b0b5f003df0406d59143'
updated:
version '1.2.9'
sha256 'de45914dd00923e372a1d2aa205f4d14e27dd005c228af093a8e9a95d7516951'
<|file_sep|>original/Casks/duet.rb
cask :v1 => 'duet' do
version '1.2.5'
sha25... | 052bee276b56747770ae42a14f3d08386579439f | Casks/duet.rb | Casks/duet.rb | Ruby |
<|file_sep|>original/Libraries/Image/ImageSource.js
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the... | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... | <|file_sep|>original/Libraries/Image/ImageSource.js
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the... | 6ed49341f315434ee0c2016c356aa1c3f29209c1 | Libraries/Image/ImageSource.js | Libraries/Image/ImageSource.js | JavaScript |
<|file_sep|>original/docs/_templates/sidebarbottom.html
<p>
<h3><a href="changes.html">Change Log</a></h3>
<p>
<h3><a href="api.html">API Documentation</a></h3>
<p>
<h3><a href="search.html">Search</a></h3>
</font>
<|file_sep|>current/docs/_templates/sidebarbottom.html
<p>
<h3><a href="changes.html">Change Log</a></h3>... | <p>
<h3><a href="changes.html">Change Log</a></h3>
<p>
<h3><a href="api.html">API Documentation</a></h3>
<p>
<h3><a href="http://github.com/ronf/asyncssh">Source on GitHub</a></h3>
<p>
<h3><a href="http://github.com/ronf/asyncssh/issues">Issue Tracker</a></h3>
<p>
<h3><a href="search.html">Search</a></h3>
</font> | <|file_sep|>original/docs/_templates/sidebarbottom.html
<p>
<h3><a href="changes.html">Change Log</a></h3>
<p>
<h3><a href="api.html">API Documentation</a></h3>
<p>
<h3><a href="search.html">Search</a></h3>
</font>
<|file_sep|>current/docs/_templates/sidebarbottom.html
<p>
<h3><a href="changes.html">Change Log</a></h3>... | b9e0b67a1f5bc80422eb9c5e3e12ecc6a8856f18 | docs/_templates/sidebarbottom.html | docs/_templates/sidebarbottom.html | HTML |
<|file_sep|>cover-letter-generic.md.diff
original:
<h1>Hello, my name is Steven.</h1>
updated:
<h2>Hello, my name is Steven and I want to work with you.</h2>
<|file_sep|>cover-letter-generic.md.diff
original:
I like building things in Ruby<span class="language">, Rails</span><span class="language">, JavaScript</span><s... | <h2>Hello, my name is Steven and I want to work with you.</h2>
<div class="row">
<section class="me col-sm-6 left-align">
<h3>What I have to offer</h3>
<ul>
<li>
Perspective
</li>
</ul>
</section>
<section class="you col-sm-6 left-align">
<h3>What I'm looking for</h3>
<ul... | <|file_sep|>cover-letter-generic.md.diff
original:
<h1>Hello, my name is Steven.</h1>
updated:
<h2>Hello, my name is Steven and I want to work with you.</h2>
<|file_sep|>cover-letter-generic.md.diff
original:
I like building things in Ruby<span class="language">, Rails</span><span class="language">, JavaScript</span><s... | e6839f9db81206d621be5e75969330195b50c359 | cover-letter-generic.md | cover-letter-generic.md | Markdown |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
before_install:
- carthage bootstrap --verbose
script:
- xcodebuild clean build test -project SwiftyJSONModel.xcodeproj -scheme SwiftyJSONModel -destination 'platform=iOS Simulator,name=iPhone 6'
notifications:
email: true
<|file_sep|>cur... | language: objective-c
osx_image: xcode8
before_install:
- carthage bootstrap --verbose
script:
- open -a "simulator" --args -CurrentDeviceUDID A84965FC-070D-4EAF-83E8-84FFE99F5866
- xcodebuild clean build test -project SwiftyJSONModel.xcodeproj -scheme SwiftyJSONModel -destination 'platform=iOS Simulator,name=i... | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
before_install:
- carthage bootstrap --verbose
script:
- xcodebuild clean build test -project SwiftyJSONModel.xcodeproj -scheme SwiftyJSONModel -destination 'platform=iOS Simulator,name=iPhone 6'
notifications:
email: true
<|file_sep|>cur... | 71defa0d6c907815ae8c7dc386db843950794b3e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/cmd/gorsepoll/schema/upgrade6.sql
-- In this upgrade I add a GUID column to feed items.
--
-- This is a unique identifier that the feed may specify. It's optional though.
--
-- I also remove the NOT NULL constraint on the last_update_time column. I'm
-- going to use it as NULL to know that we haven... | -- In this upgrade I add a GUID column to feed items.
--
-- This is a unique identifier that the feed may specify. It's optional though.
--
-- I also remove the NOT NULL constraint on the last_update_time column. I'm
-- going to use it as NULL to know that we haven't polled a feed yet.
ALTER TABLE rss_item ADD COLUMN ... | <|file_sep|>original/cmd/gorsepoll/schema/upgrade6.sql
-- In this upgrade I add a GUID column to feed items.
--
-- This is a unique identifier that the feed may specify. It's optional though.
--
-- I also remove the NOT NULL constraint on the last_update_time column. I'm
-- going to use it as NULL to know that we haven... | 05e6a4fb31cf7f53df5c0decb5f7585cf52cb42d | cmd/gorsepoll/schema/upgrade6.sql | cmd/gorsepoll/schema/upgrade6.sql | SQL |
<|file_sep|>original/auth.example.js
module.exports = {
facebook: {
appID: 'FACEBOOK_APP_ID',
appSecret: 'FACEBOOK_APP_SECRET',
callbackUrl: 'http://localhost:3000/auth/facebook/callback',
profileFields: ['id', 'displayName', 'name', 'email', 'gender', 'age_range', 'link', 'picture', 'locale', 'timezo... | facebook: {
appID: 'FACEBOOK_APP_ID',
appSecret: 'FACEBOOK_APP_SECRET',
callbackUrl: 'http://localhost:3000/auth/facebook/callback',
profileFields: ['id', 'displayName', 'name', 'email', 'gender', 'age_range', 'link', 'picture', 'locale', 'timezone', 'updated_time', 'verified']
},
amazon: {
ap... | <|file_sep|>original/auth.example.js
module.exports = {
facebook: {
appID: 'FACEBOOK_APP_ID',
appSecret: 'FACEBOOK_APP_SECRET',
callbackUrl: 'http://localhost:3000/auth/facebook/callback',
profileFields: ['id', 'displayName', 'name', 'email', 'gender', 'age_range', 'link', 'picture', 'locale', 'timezo... | 1ba988f827a3be2ad4d33301d5ae170cffcd27ad | auth.example.js | auth.example.js | JavaScript |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Sat Aug 03 18:07:54 BRT 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
<|file_sep|>current/gradle... | #Sat Aug 03 18:07:54 BRT 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Sat Aug 03 18:07:54 BRT 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
<|file_sep|>current/gradle... | 17fe35eb673c97f8304692a0ab9428b332411328 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>README.md.diff
original:
[Web API](http://zxingnetapi.azurewebsites.net/barcode/qrcode/?value=hello%20world&width=250&height=250) into [ZXing.NET](http://zxingnet.codeplex.com/) barcode methods.
updated:
[Web API](https://zxingnetapi.apphb.com/barcode/qrcode/?value=hello%20world&width=250&height=250) into [... |
##Currently Available
###Barcode Image Generation
* `/barcode/qrcode/?` ([demo](https://zxingnetapi.apphb.com/barcode/qrcode/?value=I+did+it&height=500))
* `value=this+value+is+encoded+into+the+barcode`
* [`width=x`]
* [`height=y`]
* `/barcode/code128/?` ([demo](https://zxingnetapi.apphb.com/barcode/code128... | <|file_sep|>README.md.diff
original:
[Web API](http://zxingnetapi.azurewebsites.net/barcode/qrcode/?value=hello%20world&width=250&height=250) into [ZXing.NET](http://zxingnet.codeplex.com/) barcode methods.
updated:
[Web API](https://zxingnetapi.apphb.com/barcode/qrcode/?value=hello%20world&width=250&height=250) into [... | b6c968c36611ed0cc8ccead9a588e76123aabcd5 | README.md | README.md | Markdown |
<|file_sep|>web/sample/bodySampleDescription.jsp.diff
original:
<h3>
updated:
<h4>
<|file_sep|>original/web/sample/bodySampleDescription.jsp
<tr>
<td>
<h3>
Manage Samples
</h3>
</td>
<td align="right" width="20%">
<jsp:include page="/helpGlossary.jsp">
<jsp:param name="topic" value="manage_nanopartic... | <tr>
<td>
<h4>
Manage Samples
</h4>
</td>
<td align="right" width="20%">
<jsp:include page="/helpGlossary.jsp">
<jsp:param name="topic" value="manage_nanoparticles_help" />
<jsp:param name="glossaryTopic" value="glossary_help" />
</jsp:include>
</td>
</tr>
<tr>
<td colspan="2" class="welcomeConten... | <|file_sep|>web/sample/bodySampleDescription.jsp.diff
original:
<h3>
updated:
<h4>
<|file_sep|>original/web/sample/bodySampleDescription.jsp
<tr>
<td>
<h3>
Manage Samples
</h3>
</td>
<td align="right" width="20%">
<jsp:include page="/helpGlossary.jsp">
<jsp:param name="topic" value="manage_nanopartic... | 08aa476e33f670440bfcf2e0e0c6d9f1189f4106 | web/sample/bodySampleDescription.jsp | web/sample/bodySampleDescription.jsp | Java Server Pages |
<|file_sep|>original/magpie/utils/solr.py
from mysolr import Solr
from magpie.settings import settings
_solr = None
def open_solr_connection(core_name):
global _solr
if not _solr:
url = '{}/{}'.format(settings.SOLR_URL, core_name)
_solr = Solr(url)
return _solr
<|file_sep|>current/magpi... |
_solr = None
def open_solr_connection(core_name):
global _solr
if not _solr:
url = '{}/{}'.format(settings.SOLR_URL, core_name)
_solr = Solr(url)
return _solr
def escape_solr_query(query):
"""
Escape special chars for Solr queries.
"""
chars = ['+', '-', '&&', '||', '!',... | <|file_sep|>original/magpie/utils/solr.py
from mysolr import Solr
from magpie.settings import settings
_solr = None
def open_solr_connection(core_name):
global _solr
if not _solr:
url = '{}/{}'.format(settings.SOLR_URL, core_name)
_solr = Solr(url)
return _solr
<|file_sep|>current/magpi... | eff924e07999bd0aaaa36373c658efb1ffefe5c7 | magpie/utils/solr.py | magpie/utils/solr.py | Python |
<|file_sep|>original/assets/js/content.js
// Define search and replace terms for image src link
let search = /\/s[0-9]+/g;
let replace = 's512';
function getProfileImageContainer() {
// Get profile image containers
return $('#channel-header-container');
}
function getProfileImage(container) {
// Get profi... | // Define search and replace terms for image src link
let search = /\/s[0-9]+/g;
let replace = '/s512';
function getProfileImageContainer() {
// Get profile image containers
return $('#channel-header-container');
}
function getProfileImage(container) {
// Get profile image tag
return container.find('i... | <|file_sep|>original/assets/js/content.js
// Define search and replace terms for image src link
let search = /\/s[0-9]+/g;
let replace = 's512';
function getProfileImageContainer() {
// Get profile image containers
return $('#channel-header-container');
}
function getProfileImage(container) {
// Get profi... | 3c37adc0facfa0dd5cbed6a21dc8f49ee1a94374 | assets/js/content.js | assets/js/content.js | JavaScript |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script: composer install
script: php test/run.php
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script: composer install
script: php test/run.php
<|file_sep|>updated/.travis.yml | language: php
php:
- 5.3
- 5.4
before_script: composer install
script: php test/run.php | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script: composer install
script: php test/run.php
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3.3
- 5.3
- 5.4
before_script: composer install
script: php test/run.php
<|file_sep|>updated/.travis.yml
language: php
php:
... | af6bbfa651d192a16228522507bf669c111a890c | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/mymoip/requests/transparent_request.rb.diff
original:
@response && @response["EnviarInstrucaoUnicaResponse"]["Resposta"]["Status"] == "Sucesso"
rescue NoMethodError => e
updated:
@response["EnviarInstrucaoUnicaResponse"]["Resposta"]["Status"] == "Sucesso"
rescue NoMethodError
<|file_... | super(params, opts)
end
def success?
@response["EnviarInstrucaoUnicaResponse"]["Resposta"]["Status"] == "Sucesso"
rescue NoMethodError
false
end
def token
@response["EnviarInstrucaoUnicaResponse"]["Resposta"]["Token"]
rescue NoMethodError
end
def id
@resp... | <|file_sep|>lib/mymoip/requests/transparent_request.rb.diff
original:
@response && @response["EnviarInstrucaoUnicaResponse"]["Resposta"]["Status"] == "Sucesso"
rescue NoMethodError => e
updated:
@response["EnviarInstrucaoUnicaResponse"]["Resposta"]["Status"] == "Sucesso"
rescue NoMethodError
<|file_... | 28e4d3053b3bf0e77d162d8e31dae541bb198ea5 | lib/mymoip/requests/transparent_request.rb | lib/mymoip/requests/transparent_request.rb | Ruby |
<|file_sep|>sieve/sieve.py.diff
original:
return list(primes(n))
def primes(n):
updated:
<|file_sep|>sieve/sieve.py.diff
original:
raise StopIteration
yield 2
updated:
return []
<|file_sep|>sieve/sieve.py.diff
original:
updated:
prime = [2]
<|file_sep|>original/sieve/sieve.py
def sieve(n... | def sieve(n):
if n < 2:
return []
not_prime = set()
prime = [2]
for i in range(3, n+1, 2):
if i not in not_prime:
prime.append(i)
not_prime.update(range(i*i, n, i))
return prime | <|file_sep|>sieve/sieve.py.diff
original:
return list(primes(n))
def primes(n):
updated:
<|file_sep|>sieve/sieve.py.diff
original:
raise StopIteration
yield 2
updated:
return []
<|file_sep|>sieve/sieve.py.diff
original:
updated:
prime = [2]
<|file_sep|>original/sieve/sieve.py
def sieve(n... | 78d520b88e13a35ac20a0eeea1385f35b17383d2 | sieve/sieve.py | sieve/sieve.py | Python |
<|file_sep|>metadata/org.twelf.cmtheme.txt.diff
original:
updated:
subdir=theme
<|file_sep|>metadata/org.twelf.cmtheme.txt.diff
original:
subdir=theme
updated:
<|file_sep|>original/metadata/org.twelf.cmtheme.txt
using CM12 with only Libre/Open Apps.
For issues, comments and icon request, please use the issue... |
For issues, comments and icon request, please use the issue tracker.
Status: Alpha
[https://gitlab.com/xphnx/twelf_cm12_theme/blob/HEAD/CHANGELOG.md Changelog]
.
Repo Type:git
Repo:https://gitlab.com/xphnx/twelf_cm12_theme.git
Build:0.1,1
commit=v0.1
subdir=theme
gradle=yes
Auto Update Mode:None
Updat... | <|file_sep|>metadata/org.twelf.cmtheme.txt.diff
original:
updated:
subdir=theme
<|file_sep|>metadata/org.twelf.cmtheme.txt.diff
original:
subdir=theme
updated:
<|file_sep|>original/metadata/org.twelf.cmtheme.txt
using CM12 with only Libre/Open Apps.
For issues, comments and icon request, please use the issue... | 0088fab589d5d94529f36d1e526be1d20e548ff7 | metadata/org.twelf.cmtheme.txt | metadata/org.twelf.cmtheme.txt | Text |
<|file_sep|>original/addons/grafana/deployment.yaml
name: grafana
phase: prod
template:
metadata:
labels:
name: grafana
phase: prod
spec:
containers:
- name: grafana
image: grafana/grafana:4.6.2
env:
- name: GF_SERVER_HTTP_PORT
... | name: grafana
phase: prod
template:
metadata:
labels:
name: grafana
phase: prod
spec:
containers:
- name: grafana
image: grafana/grafana:4.6.3
env:
- name: GF_SERVER_HTTP_PORT
value: "8080"
- name: GF_AUT... | <|file_sep|>original/addons/grafana/deployment.yaml
name: grafana
phase: prod
template:
metadata:
labels:
name: grafana
phase: prod
spec:
containers:
- name: grafana
image: grafana/grafana:4.6.2
env:
- name: GF_SERVER_HTTP_PORT
... | 21e540159b693fd8345995c3ebb36f1b82626d34 | addons/grafana/deployment.yaml | addons/grafana/deployment.yaml | YAML |
<|file_sep|>original/ami/scripts/install_base_software.sh
exit 1
fi
set -e
# Install core packages
yum install --assumeyes \
wget \
unzip \
libffi-devel \
glibc \
gcc
# Install Ansible
curl -O https://bootstrap.pypa.io/2.7/get-pip.py
python get-pip.py
pip install ansible==2.9.4
# Reboot
echo ... | exit 1
fi
set -e
# Install core packages
yum install --assumeyes \
wget \
unzip \
libffi-devel \
glibc \
gcc
# Install Ansible
curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py
python get-pip.py
pip install ansible==2.9.4
# Reboot
echo "Rebooting."
nohup reboot < /dev/null > /dev/null 2>&1... | <|file_sep|>original/ami/scripts/install_base_software.sh
exit 1
fi
set -e
# Install core packages
yum install --assumeyes \
wget \
unzip \
libffi-devel \
glibc \
gcc
# Install Ansible
curl -O https://bootstrap.pypa.io/2.7/get-pip.py
python get-pip.py
pip install ansible==2.9.4
# Reboot
echo ... | fe8b07900051da5da4b874bba5bf476bb17d4046 | ami/scripts/install_base_software.sh | ami/scripts/install_base_software.sh | Shell |
<|file_sep|>templates/my-tip.html.diff
original:
<form class="my-tip{{ " anon" if user.ANON else "" }}">
<div class="tip-controls">
<div class="tip-amount">
$ <input type="number" class="my-tip" min="0" max="100" step="0.01" value="{{ my_tip }}" data-tippee="{{ tippee }}"> / week
</div>
updated:
<div class="my-... | <div class="my-tip{{ " anon" if user.ANON else "" }}">
<div class="tip-controls">
<div class="tip-amount">
$ <input type="number" class="my-tip" min="0" max="100" step="0.25" value="{{ my_tip }}" data-tippee="{{ tippee }}" data-old-amount="{{ my_tip }}"> / week
</div>
<ul class=... | <|file_sep|>templates/my-tip.html.diff
original:
<form class="my-tip{{ " anon" if user.ANON else "" }}">
<div class="tip-controls">
<div class="tip-amount">
$ <input type="number" class="my-tip" min="0" max="100" step="0.01" value="{{ my_tip }}" data-tippee="{{ tippee }}"> / week
</div>
updated:
<div class="my-... | a2aeb1fa962c38e5b31864a2e2c043faf8f8f69c | templates/my-tip.html | templates/my-tip.html | HTML |
<|file_sep|>configure_console_session.py.diff
original:
from comfort import cleanthermostat as ct
from comfort import history as hi
from comfort import histdaily as hd
from comfort import histsummary as hs
updated:
from caar.cleanthermostat import dict_from_file
from caar.cleanthermostat import detect_columns
from caar... |
from caar.histsummary import days_of_data_by_id
from caar.histsummary import consecutive_days_of_observations
from caar.histsummary import daily_cycle_and_temp_obs_counts
from caar.histsummary import daily_data_points_by_id
from caar.histsummary import df_select_ids
from caar.histsummary import df_select_datetime_rang... | <|file_sep|>configure_console_session.py.diff
original:
from comfort import cleanthermostat as ct
from comfort import history as hi
from comfort import histdaily as hd
from comfort import histsummary as hs
updated:
from caar.cleanthermostat import dict_from_file
from caar.cleanthermostat import detect_columns
from caar... | 84dee56df90d9181d1e79c3246ef389462f0ca17 | configure_console_session.py | configure_console_session.py | Python |
<|file_sep|>original/.github/workflows/test.yml
steps:
- name: Checkout repo
uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
pytho... | steps:
- name: Checkout repo
uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip instal... | <|file_sep|>original/.github/workflows/test.yml
steps:
- name: Checkout repo
uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
pytho... | 03ab0529190693b77dec3b896664b745c4cf665f | .github/workflows/test.yml | .github/workflows/test.yml | YAML |
<|file_sep|>original/pages/weekly_nerd_3.html
<|file_sep|>current/pages/weekly_nerd_3.html
<|file_sep|>updated/pages/weekly_nerd_3.html | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>WN - Peter-Paul Koch (PPK)</title>
<link rel="stylesheet" href="../css/style.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="180x180" href="../img/icons/apple-... | <|file_sep|>original/pages/weekly_nerd_3.html
<|file_sep|>current/pages/weekly_nerd_3.html
<|file_sep|>updated/pages/weekly_nerd_3.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>WN - Peter-Paul Koch (PPK)</title>
<link rel="stylesheet" href="../css/style.css" type="text/css">
<meta... | 3f045399eb3126f3d1277379822f63e76788ebdd | pages/weekly_nerd_3.html | pages/weekly_nerd_3.html | HTML |
<|file_sep|>original/opencga-app/app/scripts/azure/terraform/arm/azuredeploy.parameters.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"catalogSecretKey": {
"value": ""
},
... | {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"catalogSecretKey": {
"value": ""
},
"adminPassword": {
"value": ""
},
"letsEncryptEmailAddress": {
... | <|file_sep|>original/opencga-app/app/scripts/azure/terraform/arm/azuredeploy.parameters.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"catalogSecretKey": {
"value": ""
},
... | 9e4e876fe26fdef987418e11b4b9a23e4c4a9ee2 | opencga-app/app/scripts/azure/terraform/arm/azuredeploy.parameters.json | opencga-app/app/scripts/azure/terraform/arm/azuredeploy.parameters.json | JSON |
<|file_sep|>original/README.md
Name,Age,Country
Divye,7,USA
Divya,6,India
```
```sh
$ csv_to_json < input.csv
[{"Name": "Divye","Age": "7","Country": "USA"},
{"Name": "Divya","Age": "6","Country": "India"}]
```
# Install
```sh
$ ./configure
$ make
$ sudo make install
```
for Debian and Debian-like systems (eg. Ubun... | Divye,7,USA
Divya,6,India
```
```sh
$ csv_to_json < input.csv
[{"Name": "Divye","Age": "7","Country": "USA"},
{"Name": "Divya","Age": "6","Country": "India"}]
```
# Install
```sh
$ ./configure
$ make
$ sudo make install
```
for Debian and Debian-like systems (eg. Ubuntu). The only dependency is the Rust compiler.
C... | <|file_sep|>original/README.md
Name,Age,Country
Divye,7,USA
Divya,6,India
```
```sh
$ csv_to_json < input.csv
[{"Name": "Divye","Age": "7","Country": "USA"},
{"Name": "Divya","Age": "6","Country": "India"}]
```
# Install
```sh
$ ./configure
$ make
$ sudo make install
```
for Debian and Debian-like systems (eg. Ubun... | 3eb5f5f7a98726ae5d80d1bf6efa9881b1a9d2fa | README.md | README.md | Markdown |
<|file_sep|>original/scripts/deploy.sh
PROJECT_DIR=/PRODUCTION/EXPERIMENT
WEB_DIR=PROJECT_DIR/web
GOPATH=$WORKSPACE
mkdir -p $WEB_DIR/static
mkdir -p $WEB_DIR/savedfiles
mkdir -p $WEB_DIR/gobin
cd $WORKSPACE/src/webservice
#this gets the dependencies but doesn't install them, avoiding permission problems
/usr/local/g... | PROJECT_DIR=/PRODUCTION/EXPERIMENT
WEB_DIR=PROJECT_DIR/web
GOPATH=$WORKSPACE
mkdir -p $PROJECT_DIR/log
mkdir -p $WEB_DIR/static
mkdir -p $WEB_DIR/savedfiles
mkdir -p $WEB_DIR/gobin
cd $WORKSPACE/src/webservice
#this gets the dependencies but doesn't install them, avoiding permission problems
/usr/local/go/bin/go get ... | <|file_sep|>original/scripts/deploy.sh
PROJECT_DIR=/PRODUCTION/EXPERIMENT
WEB_DIR=PROJECT_DIR/web
GOPATH=$WORKSPACE
mkdir -p $WEB_DIR/static
mkdir -p $WEB_DIR/savedfiles
mkdir -p $WEB_DIR/gobin
cd $WORKSPACE/src/webservice
#this gets the dependencies but doesn't install them, avoiding permission problems
/usr/local/g... | 7d9c6a71bec0916fc9f24cca0da6b7189b6934e0 | scripts/deploy.sh | scripts/deploy.sh | Shell |
<|file_sep|>original/README.md
aircraft-python
===============
The is a game developed upon pygame.
<|file_sep|>current/README.md
aircraft-python
===============
The is a game developed upon pygame.
<|file_sep|>updated/README.md | aircraft-python
===============
This is a game developed upon pygame.
The aim of this programme is for personal practice on python
The images in this repo come from the web resource, such as http://lunar.lostgarden.com/labels/free%20game%20graphics.html
| <|file_sep|>original/README.md
aircraft-python
===============
The is a game developed upon pygame.
<|file_sep|>current/README.md
aircraft-python
===============
The is a game developed upon pygame.
<|file_sep|>updated/README.md
aircraft-python
===============
This is a game developed upon pygame.
The aim of this p... | 1e2f1ea69cd79e274b66a14f8699b2252fbde381 | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
],
"support": {
"issues": "https://github.com/neilime/zf2-twb-bundle/issues"
},
"require": {
"php": "^7.2",
"twig/twig": "^2.15",
"easybook/geshi": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5.26"
},
"autol... | ],
"support": {
"issues": "https://github.com/neilime/zf2-twb-bundle/issues"
},
"require": {
"php": "^7.2",
"twig/twig": "^2.15",
"easybook/geshi": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5.27"
},
"autoload": {
"psr-4": {
... | <|file_sep|>original/composer.json
],
"support": {
"issues": "https://github.com/neilime/zf2-twb-bundle/issues"
},
"require": {
"php": "^7.2",
"twig/twig": "^2.15",
"easybook/geshi": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5.26"
},
"autol... | d0bcbe56d51c49b7edbb8a12f525bc2579b37d37 | composer.json | composer.json | JSON |
<|file_sep|>original/src/mmw/apps/core/decorators.py
<|file_sep|>current/src/mmw/apps/core/decorators.py
<|file_sep|>updated/src/mmw/apps/core/decorators.py | # -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
import sys
import rollbar
from django.utils.timezone import now
from apps.core.models import RequestLog
def log_request(view):
"""
Log the request and its response as a RequestLog model
"""
def de... | <|file_sep|>original/src/mmw/apps/core/decorators.py
<|file_sep|>current/src/mmw/apps/core/decorators.py
<|file_sep|>updated/src/mmw/apps/core/decorators.py
# -*- coding: utf-8 -*-
from __future__ import print_function
from __future__ import unicode_literals
import sys
import rollbar
from django.utils.timezone impo... | 463360261d573f3f3ca934264bd27a072b96d3e6 | src/mmw/apps/core/decorators.py | src/mmw/apps/core/decorators.py | Python |
<|file_sep|>app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java.diff
original:
import com.annimon.stream.Stream;
updated:
import com.squareup.moshi.Json;
<|file_sep|>app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java.diff
original:
private List<NexusPage> f;
updated:
@Json(name ... | package me.devsaki.hentoid.json.sources;
import com.squareup.moshi.Json;
import java.util.List;
public class NexusGallery {
private String b;
private String r;
private String i;
@Json(name = "pages")
private List<String> pages;
public List<String> toUrls() {
return pages;
}
} | <|file_sep|>app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java.diff
original:
import com.annimon.stream.Stream;
updated:
import com.squareup.moshi.Json;
<|file_sep|>app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java.diff
original:
private List<NexusPage> f;
updated:
@Json(name ... | af9dc1069cfd2d525ceed1be6464ed786f5e452d | app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java | app/src/main/java/me/devsaki/hentoid/json/sources/NexusGallery.java | Java |
<|file_sep|>original/scripts/build-win.ps1
$BUILD_DIR = "./dist"
$BUNDLE_DIR = "$BUILD_DIR/improviz-win"
mkdir -p $BUILD_DIR
git clone --depth=1 --branch=master https://github.com/rumblesan/improviz-performance.git $BUNDLE_DIR
rm -rf $BUNDLE_DIR/.git
rm -r $BUNDLE_DIR/README.md
cp -r ./assets $BUNDLE_DIR
cp -r ./exam... | $BUILD_DIR = "./dist"
$BUNDLE_DIR = "$BUILD_DIR/improviz-win"
mkdir -p $BUILD_DIR
git clone --depth=1 --branch=master https://github.com/rumblesan/improviz-performance.git $BUNDLE_DIR
rm -r -fo $BUNDLE_DIR/.git
rm -r $BUNDLE_DIR/README.md
cp -r ./assets $BUNDLE_DIR
cp -r ./examples $BUNDLE_DIR
$DOCUMENTATION_DIR = "... | <|file_sep|>original/scripts/build-win.ps1
$BUILD_DIR = "./dist"
$BUNDLE_DIR = "$BUILD_DIR/improviz-win"
mkdir -p $BUILD_DIR
git clone --depth=1 --branch=master https://github.com/rumblesan/improviz-performance.git $BUNDLE_DIR
rm -rf $BUNDLE_DIR/.git
rm -r $BUNDLE_DIR/README.md
cp -r ./assets $BUNDLE_DIR
cp -r ./exam... | ac97fdc6b75152101e208585d57cfbe2b357f6c7 | scripts/build-win.ps1 | scripts/build-win.ps1 | PowerShell |
<|file_sep|>original/tools/ci_build/github/azure-pipelines/win-ci-pipeline.yml
jobs:
- template: templates/win-ci.yml
parameters:
AgentPool : 'Win-CPU'
DoDebugBuild: 'true'
DoCompliance: 'false'
BuildCommand: '$(Build.SourcesDirectory)\tools\ci_build\build.py --build_dir $(Build.BinariesDirectory) --s... | jobs:
- template: templates/win-ci.yml
parameters:
AgentPool : 'Win-CPU'
DoDebugBuild: 'true'
DoCompliance: 'false'
BuildCommand: '$(Build.SourcesDirectory)\tools\ci_build\build.py --build_dir $(Build.BinariesDirectory) --skip_submodule_sync --cmake_path $(Build.BinariesDirectory)\cmake\bin\cmake.exe ... | <|file_sep|>original/tools/ci_build/github/azure-pipelines/win-ci-pipeline.yml
jobs:
- template: templates/win-ci.yml
parameters:
AgentPool : 'Win-CPU'
DoDebugBuild: 'true'
DoCompliance: 'false'
BuildCommand: '$(Build.SourcesDirectory)\tools\ci_build\build.py --build_dir $(Build.BinariesDirectory) --s... | d38badffdba37ad396af03849d245463ff302004 | tools/ci_build/github/azure-pipelines/win-ci-pipeline.yml | tools/ci_build/github/azure-pipelines/win-ci-pipeline.yml | YAML |
<|file_sep|>src/Dfterm3/Logging.hs.diff
original:
infoM rootLoggerName $ showGregorian day ++ "T" ++ show hour ++
":" ++ show minute ++ ":" ++
show (floor sec :: Int) ++
updated:
infoM rootLoggerName $ showGregorian day ++ "T" ++ pad 2 (show hour) ++
... | updateGlobalLogger rootLoggerName $ setLevel INFO
-- | Log normal operations. Things that are not unusual or indicate anything
-- could be wrong.
logInfo :: String -> IO ()
logInfo msg = do
utc_time <- getCurrentTime
tz <- getTimeZone utc_time
let ZonedTime (LocalTime day (TimeOfDay hour minute sec)) _... | <|file_sep|>src/Dfterm3/Logging.hs.diff
original:
infoM rootLoggerName $ showGregorian day ++ "T" ++ show hour ++
":" ++ show minute ++ ":" ++
show (floor sec :: Int) ++
updated:
infoM rootLoggerName $ showGregorian day ++ "T" ++ pad 2 (show hour) ++
... | d2b0fa480a57c27319b999414313d1a7bfbffc18 | src/Dfterm3/Logging.hs | src/Dfterm3/Logging.hs | Haskell |
<|file_sep|>app/services/booking_bug.rb.diff
original:
action[:method].call(data)
updated:
action.call(data)
<|file_sep|>app/services/booking_bug.rb.diff
original:
# rubocop:disable MethodLength
updated:
<|file_sep|>app/services/booking_bug.rb.diff
original:
[
{
type: :extract,
... | @config
end
# Allow subset of actions to be run by specifying the number of actions to be performed.
# Defaults to all actions
def call(actions_to_perform: actions.count)
actions[0..actions_to_perform - 1].inject([]) do |data, action|
action.call(data)
end
end
def actions
@actions ||... | <|file_sep|>app/services/booking_bug.rb.diff
original:
action[:method].call(data)
updated:
action.call(data)
<|file_sep|>app/services/booking_bug.rb.diff
original:
# rubocop:disable MethodLength
updated:
<|file_sep|>app/services/booking_bug.rb.diff
original:
[
{
type: :extract,
... | 7e8adf395fefb1a129a1a0f4e9bf61acdee0d2ad | app/services/booking_bug.rb | app/services/booking_bug.rb | Ruby |
<|file_sep|>original/dartium.rb
class Dartium < Formula
homepage "https://www.dartlang.org"
version '1.6.0'
url 'https://storage.googleapis.com/dart-archive/channels/stable/release/39553/dartium/dartium-macos-ia32-release.zip'
sha256 '1dfe8fefde53620d4917e82cf32a585e3f2faa663f70ba3f9c84fce9da925834'
devel ... |
class Dartium < Formula
homepage "https://www.dartlang.org"
version '1.6.0'
url 'https://storage.googleapis.com/dart-archive/channels/stable/release/39553/dartium/dartium-macos-ia32-release.zip'
sha256 '1dfe8fefde53620d4917e82cf32a585e3f2faa663f70ba3f9c84fce9da925834'
devel do
version '1.7.0-dev.4.6'
... | <|file_sep|>original/dartium.rb
class Dartium < Formula
homepage "https://www.dartlang.org"
version '1.6.0'
url 'https://storage.googleapis.com/dart-archive/channels/stable/release/39553/dartium/dartium-macos-ia32-release.zip'
sha256 '1dfe8fefde53620d4917e82cf32a585e3f2faa663f70ba3f9c84fce9da925834'
devel ... | 0278b3c98769540a35d6b9f2366094fa593594b0 | dartium.rb | dartium.rb | Ruby |
<|file_sep|>original/src/uk/org/cinquin/mutinack/misc_util/NamedPoolThreadFactory.java
package uk.org.cinquin.mutinack.misc_util;
import java.util.concurrent.ThreadFactory;
public class NamedPoolThreadFactory implements ThreadFactory {
private int counter = 0;
final String name;
public NamedPoolThreadFactory(Strin... | package uk.org.cinquin.mutinack.misc_util;
import java.util.concurrent.ThreadFactory;
public class NamedPoolThreadFactory implements ThreadFactory {
private int counter = 0;
final String name;
public NamedPoolThreadFactory(String name) {
this.name = name;
}
@Override
public Thread newThread(Runnable r) {
... | <|file_sep|>original/src/uk/org/cinquin/mutinack/misc_util/NamedPoolThreadFactory.java
package uk.org.cinquin.mutinack.misc_util;
import java.util.concurrent.ThreadFactory;
public class NamedPoolThreadFactory implements ThreadFactory {
private int counter = 0;
final String name;
public NamedPoolThreadFactory(Strin... | ddb95e56adcb1e6f83660679523e66a88430d622 | src/uk/org/cinquin/mutinack/misc_util/NamedPoolThreadFactory.java | src/uk/org/cinquin/mutinack/misc_util/NamedPoolThreadFactory.java | Java |
<|file_sep|>original/requirements-dev.txt
-e .
aioconsole==0.1.3
aiohttp==2.2.5
docutils==0.14
flake8==3.4.1
ipdb==0.10.3
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.2.2
terminaltables==3.1.0
uvloop==0.8.0
<|file_sep|>current/requirements-dev.txt
-e .
aioconsole==0.1.3
aiohttp==2.2.5
docutils==0.14
flake8==3.4.1
ip... | -e .
aioconsole==0.1.3
aiohttp==2.2.5
docutils==0.14
flake8==3.4.1
ipdb==0.10.3
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.2.2
terminaltables==3.1.0
uvloop==0.8.1 | <|file_sep|>original/requirements-dev.txt
-e .
aioconsole==0.1.3
aiohttp==2.2.5
docutils==0.14
flake8==3.4.1
ipdb==0.10.3
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.2.2
terminaltables==3.1.0
uvloop==0.8.0
<|file_sep|>current/requirements-dev.txt
-e .
aioconsole==0.1.3
aiohttp==2.2.5
docutils==0.14
flake8==3.4.1
ip... | b911c95e06019e827a7d2868466cea97b03247bd | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/nixos/networkmanager-dynamic-hosts.nix
<|file_sep|>current/nixos/networkmanager-dynamic-hosts.nix
<|file_sep|>updated/nixos/networkmanager-dynamic-hosts.nix | { config, pkgs, lib, ... }:
with lib;
let
cfg = config.networking.networkmanager.dynamicHosts;
enable = config.networking.networkmanager.enable && cfg.enable &&
cfg.hostsDirs != {};
in {
options = {
networking.networkmanager.dynamicHosts = {
enable = mkOption {
type = types.bool;
... | <|file_sep|>original/nixos/networkmanager-dynamic-hosts.nix
<|file_sep|>current/nixos/networkmanager-dynamic-hosts.nix
<|file_sep|>updated/nixos/networkmanager-dynamic-hosts.nix
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.networking.networkmanager.dynamicHosts;
enable = config.networking.networkman... | b8609606447e53fbc0712f7ec8c2b573622a617b | nixos/networkmanager-dynamic-hosts.nix | nixos/networkmanager-dynamic-hosts.nix | Nix |
<|file_sep|>original/.travis.yml
language: python
virtualenv:
system_site_packages: true
env:
matrix:
# let's start simple:
- PYTHON_VERSION="2.7" LATEST="true"
- PYTHON_VERSION="3.5" LATEST="true"
- PYTHON_VERSION="3.6" COVERAGE="true" LATEST="true"
- PYTHON_VERSION="3.6" LATEST="true"
install:... | language: python
virtualenv:
system_site_packages: true
env:
matrix:
# let's start simple:
- PYTHON_VERSION="2.7" LATEST="true"
- PYTHON_VERSION="3.6" COVERAGE="true" LATEST="true"
- PYTHON_VERSION="3.6" LATEST="true"
install: source ./ci/.travis_install.sh
script: bash ./ci/.travis_test.sh
after_su... | <|file_sep|>original/.travis.yml
language: python
virtualenv:
system_site_packages: true
env:
matrix:
# let's start simple:
- PYTHON_VERSION="2.7" LATEST="true"
- PYTHON_VERSION="3.5" LATEST="true"
- PYTHON_VERSION="3.6" COVERAGE="true" LATEST="true"
- PYTHON_VERSION="3.6" LATEST="true"
install:... | 53dcf0ef1ecda8173d2c4362553ce049e605da2d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/assets/stylesheets/express_admin/shared/_widgets.sass
.widget-box
border: 1px #ccc solid
border-radius: 5px
margin-top: 20px
.form-group
padding: 0 10px
h2
background-color: #f4f4f4
border-bottom: 1px #ccc solid
font-size: 1.2rem !important
font-weight: normal
... | .widget-box
border: 1px #ccc solid
border-radius: 5px
margin-top: 20px
.form-group
margin-bottom: 0
padding: 0 10px
h2
background-color: #f4f4f4
border-bottom: 1px #ccc solid
font-size: 1.2rem !important
font-weight: normal
margin: 0 0 15px
padding: 8px 10px
border-radius... | <|file_sep|>original/app/assets/stylesheets/express_admin/shared/_widgets.sass
.widget-box
border: 1px #ccc solid
border-radius: 5px
margin-top: 20px
.form-group
padding: 0 10px
h2
background-color: #f4f4f4
border-bottom: 1px #ccc solid
font-size: 1.2rem !important
font-weight: normal
... | 27cb31348f2b86fc2d361b813129d28703f82990 | app/assets/stylesheets/express_admin/shared/_widgets.sass | app/assets/stylesheets/express_admin/shared/_widgets.sass | Sass |
<|file_sep|>original/mm/factorial.exs
defmodule Factorial do
def of(0), do: 1
def of(n), do: n * of(n-1)
end
<|file_sep|>current/mm/factorial.exs
defmodule Factorial do
def of(0), do: 1
def of(n), do: n * of(n-1)
end
<|file_sep|>updated/mm/factorial.exs | defmodule Factorial do
def of(0), do: 1
def of(n) when n > 0 do
n * of(n-1)
end
end | <|file_sep|>original/mm/factorial.exs
defmodule Factorial do
def of(0), do: 1
def of(n), do: n * of(n-1)
end
<|file_sep|>current/mm/factorial.exs
defmodule Factorial do
def of(0), do: 1
def of(n), do: n * of(n-1)
end
<|file_sep|>updated/mm/factorial.exs
defmodule Factorial do
def of(0), do: 1
def of(n) when... | de3d7ee46f313783b67119476e0f7050567a4b01 | mm/factorial.exs | mm/factorial.exs | Elixir |
<|file_sep|>original/src/js/video-instruction.js
const opts = {
width: '100%' // This matches the width of the other responses
};
// If multiple players get used on a page, this needs a unique id
if (props.videoId) {
console.log('rendering video');
return (
<div style={caontinerStyle}>
... | const opts = {
width: '100%' // This matches the width of the other responses
};
// If multiple players get used on a page, this needs a unique id
if (props.videoId) {
console.log('rendering video');
return (
<div style={caontinerStyle}>
<iframe style={videoStyle} id="youtube-playe... | <|file_sep|>original/src/js/video-instruction.js
const opts = {
width: '100%' // This matches the width of the other responses
};
// If multiple players get used on a page, this needs a unique id
if (props.videoId) {
console.log('rendering video');
return (
<div style={caontinerStyle}>
... | 8e5d7584fe7e84981cd4efa3cae421bfec5b854f | src/js/video-instruction.js | src/js/video-instruction.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.