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|>terraform/variables.tf.diff
original:
default = "0.40"
updated:
default = "3.5"
<|file_sep|>terraform/variables.tf.diff
original:
default = "subnet-6347d50a"
updated:
default = "subnet-63bd1818"
<|file_sep|>original/terraform/variables.tf
}
variable "volume_type" {
type = "string"
default = "gp2"
}
... | }
variable "volume_type" {
type = "string"
default = "gp2"
}
variable "volume_size" {
type = "string"
default = "1024"
}
variable "region" {
type = "string"
default = "us-east-2"
}
variable "instance_type" {
type = "string"
default = "p2.8xlarge"
} | <|file_sep|>terraform/variables.tf.diff
original:
default = "0.40"
updated:
default = "3.5"
<|file_sep|>terraform/variables.tf.diff
original:
default = "subnet-6347d50a"
updated:
default = "subnet-63bd1818"
<|file_sep|>original/terraform/variables.tf
}
variable "volume_type" {
type = "string"
default = "gp2"
}
... | bc1209b978b539c5b0f5de1e9ff967bf82690925 | terraform/variables.tf | terraform/variables.tf | HCL |
<|file_sep|>original/pkgs/typed-racket-pkgs/typed-racket-doc/info.rkt
(define collection 'multi)
(define build-deps '("net-doc"
"scheme-lib"
"srfi-lite-lib"
"compatibility-doc"
"r6rs-doc"
"srfi-doc"
... |
(define build-deps '("net-doc"
"scheme-lib"
"srfi-lite-lib"
"compatibility-doc"
"r6rs-doc"
"srfi-doc"
"compatibility-lib"
"r6rs-lib"
"sandbox-lib"
... | <|file_sep|>original/pkgs/typed-racket-pkgs/typed-racket-doc/info.rkt
(define collection 'multi)
(define build-deps '("net-doc"
"scheme-lib"
"srfi-lite-lib"
"compatibility-doc"
"r6rs-doc"
"srfi-doc"
... | d32e0eda7cd18b6c61d68a224a8f35a91fce2b15 | pkgs/typed-racket-pkgs/typed-racket-doc/info.rkt | pkgs/typed-racket-pkgs/typed-racket-doc/info.rkt | Racket |
<|file_sep|>.travis.yml.diff
original:
updated:
distributions: sdist bdist_wheel
<|file_sep|>original/.travis.yml
install:
- pip install tox-travis coveralls
script:
- tox
after_success:
- coveralls
deploy:
provider: pypi
user: nicoddemus
skip_upload_docs: true
password:
secure: OEWrbk09CZRrwFE... |
install:
- pip install tox-travis coveralls
script:
- tox
after_success:
- coveralls
deploy:
provider: pypi
user: nicoddemus
skip_upload_docs: true
distributions: sdist bdist_wheel
password:
secure: OEWrbk09CZRrwFE6sBpRqQHu45zRu1S0Ly1ZeprkFCKxMd9tZOnrYM5qxCDQXxFHIvuyajuJ+qWTOgxUvurQMNsD6DbvJKTJ0... | <|file_sep|>.travis.yml.diff
original:
updated:
distributions: sdist bdist_wheel
<|file_sep|>original/.travis.yml
install:
- pip install tox-travis coveralls
script:
- tox
after_success:
- coveralls
deploy:
provider: pypi
user: nicoddemus
skip_upload_docs: true
password:
secure: OEWrbk09CZRrwFE... | 7a7de64e3e2161a69f0044cd37b7b000ff295aa8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift
<|file_sep|>current/validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift
<|file_sep|>updated/validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift | // RUN: not --crash %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
// REQUIRES: asserts
class B<T{var d{var d:T{class s#^A^# | <|file_sep|>original/validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift
<|file_sep|>current/validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift
<|file_sep|>updated/validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift
// RUN: ... | f9b09a8590b758832628da12d5e9d61a6458f979 | validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift | validation-test/IDE/crashers/083-swift-declcontext-getgenericparamsofcontext.swift | Swift |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8
- 1.9
- 2.5
- ruby-head
- jruby
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8
- 1.9
- 2.5
- ruby-head
- jruby
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.8
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
- jruby | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8
- 1.9
- 2.5
- ruby-head
- jruby
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8
- 1.9
- 2.5
- ruby-head
- jruby
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.8
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
-... | 3e3335674291d0ee28fbdda34e7f1fc046a642b3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
## Installation
```bash
gem install era
```
updated:
<|file_sep|>original/README.md
```ruby
time do
sleep 2
1 + 1
end
#>> Elapsed time: 0.00476 ms
#=> 2
```
```ruby
time(1_000_000) { 1 + 1 }
#>> Elapsed time: 0.076912 ms
#=> 2
```
```ruby
time 1000 do
(99 ** 99) / (88 **... | #=> 2
```
```ruby
time 1000 do
(99 ** 99) / (88 ** 88)
end
#>> Elapsed time: 0.059397 ms
#=> 284059367663871701169263886
```
## Installation
```bash
gem install era
```
## Contributing
1. Fork it
2. Commit changes
3. Pull request | <|file_sep|>README.md.diff
original:
## Installation
```bash
gem install era
```
updated:
<|file_sep|>original/README.md
```ruby
time do
sleep 2
1 + 1
end
#>> Elapsed time: 0.00476 ms
#=> 2
```
```ruby
time(1_000_000) { 1 + 1 }
#>> Elapsed time: 0.076912 ms
#=> 2
```
```ruby
time 1000 do
(99 ** 99) / (88 **... | e9a1de63d09fa3b0bb7bfd753bcad59e869abc27 | README.md | README.md | Markdown |
<|file_sep|>original/src/main/java/net/imagej/legacy/LegacyImageJApp.java
<|file_sep|>current/src/main/java/net/imagej/legacy/LegacyImageJApp.java
<|file_sep|>updated/src/main/java/net/imagej/legacy/LegacyImageJApp.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2014 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | <|file_sep|>original/src/main/java/net/imagej/legacy/LegacyImageJApp.java
<|file_sep|>current/src/main/java/net/imagej/legacy/LegacyImageJApp.java
<|file_sep|>updated/src/main/java/net/imagej/legacy/LegacyImageJApp.java
/*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyrigh... | 63e6c162cafafe848e2fd516c7d88fa7cefa4758 | src/main/java/net/imagej/legacy/LegacyImageJApp.java | src/main/java/net/imagej/legacy/LegacyImageJApp.java | Java |
<|file_sep|>original/.github/workflows/linters.yml
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
... | fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-lint.txt
- name: ... | <|file_sep|>original/.github/workflows/linters.yml
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
... | 7f8c85c7253eb0ad12289c3ea665dd76ad973540 | .github/workflows/linters.yml | .github/workflows/linters.yml | YAML |
<|file_sep|>original/ruleset.xml
<|file_sep|>current/ruleset.xml
<|file_sep|>updated/ruleset.xml | <?xml version="1.0"?>
<ruleset name="Custom Standard">
<description>Crunchmail PHP Client coding standards</description>
<file>./src</file>
<file>./tests</file>
<rule ref="PSR2">
<exclude name="Squiz.ControlStructures.ControlSignature"/>
<exclude name="PSR2.Methods.FunctionCallSignatur... | <|file_sep|>original/ruleset.xml
<|file_sep|>current/ruleset.xml
<|file_sep|>updated/ruleset.xml
<?xml version="1.0"?>
<ruleset name="Custom Standard">
<description>Crunchmail PHP Client coding standards</description>
<file>./src</file>
<file>./tests</file>
<rule ref="PSR2">
<exclude name="S... | 79c3da962fdf27380d2547f8421f0568162a3050 | ruleset.xml | ruleset.xml | XML |
<|file_sep|>original/.travis.yml
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --... | language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps ... | <|file_sep|>original/.travis.yml
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --... | c785b91ab4570d116efa95fd10b982639e72b719 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_pages/advice.md
---
layout: archive
title: "Advice for Research"
permalink: /advice/
author_profile: true
---
## ABCDE Principles
This is the most important lesson I learned from Prof. Yuan Xie. The ABCDE provides guidlines for how to become an excellent researcher. Always remember to take a look... | ---
layout: archive
title: "Advice for Research"
permalink: /advice/
author_profile: true
---
## ABCDE Principles
This is the most important lesson I learned from Prof. Yuan Xie. The ABCDE provides guidlines for how to become an excellent researcher. Always remember to take a look back at these principles, after you r... | <|file_sep|>original/_pages/advice.md
---
layout: archive
title: "Advice for Research"
permalink: /advice/
author_profile: true
---
## ABCDE Principles
This is the most important lesson I learned from Prof. Yuan Xie. The ABCDE provides guidlines for how to become an excellent researcher. Always remember to take a look... | efa5bdf8479e8c847729b3a7d0cd5133ac6ccf34 | _pages/advice.md | _pages/advice.md | Markdown |
<|file_sep|>original/en/tutorials/getting-started-database.rst
Getting Started: Database First
===============================
.. note:: *Development Workflows*
When you :doc:`Code First <getting-started>`, you
start with developing Objects and then map them onto your database. When
you :doc:`Model First ... | Getting Started: Database First
===============================
.. note:: *Development Workflows*
When you :doc:`Code First <getting-started>`, you
start with developing Objects and then map them onto your database. When
you :doc:`Model First <getting-started-models>`, you are modelling your application u... | <|file_sep|>original/en/tutorials/getting-started-database.rst
Getting Started: Database First
===============================
.. note:: *Development Workflows*
When you :doc:`Code First <getting-started>`, you
start with developing Objects and then map them onto your database. When
you :doc:`Model First ... | b5e11259e1d7c2bc14509e971c4642fb15e91153 | en/tutorials/getting-started-database.rst | en/tutorials/getting-started-database.rst | reStructuredText |
<|file_sep|>original/.travis.yml
jdk:
- oraclejdk8
before_script:
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github.com/TiVo/debugger.git
- mkdir build
- mkdir re... | jdk:
- oraclejdk8
before_script:
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github.com/TiVo/debugger.git
- mkdir build
- mkdir report
script: make ANT_TARGET=$ANT... | <|file_sep|>original/.travis.yml
jdk:
- oraclejdk8
before_script:
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install hxjava
- haxelib git debugger https://github.com/TiVo/debugger.git
- mkdir build
- mkdir re... | 6216cd4149de8fbc618894e2a391a4054295d5df | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/geomdl/__init__.py
""" This package contains native Python implementations of several `The NURBS Book <http://www.springer.com/gp/book/9783642973857>`_ algorithms for generating B-spline / NURBS curves and surfaces. It also provides a data structure for storing elements required for evaluation thes... | * A :code:`utilities` module containing several helper functions
* :code:`Grid` and :code:`GridWeighted` classes for generating various types of control points grids
The NURBS-Python package follows an object-oriented design as much as possible. However, in order to understand the algorithms, you might need to take a ... | <|file_sep|>original/geomdl/__init__.py
""" This package contains native Python implementations of several `The NURBS Book <http://www.springer.com/gp/book/9783642973857>`_ algorithms for generating B-spline / NURBS curves and surfaces. It also provides a data structure for storing elements required for evaluation thes... | 98190f0e96b2e2880e81b4801ebd5b04c1e9f1d8 | geomdl/__init__.py | geomdl/__init__.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.3.0
before_install: gem install bundler -v 1.11.2
script: rubocop -D && bundle exec rspec
addons:
code_climate:
repo_token: 905e0dd5ba043366250b9ddaf662dd6e1fab6b97b492b11c7a4cd8501877279f
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.3.0
befo... | language: ruby
rvm:
- 2.2.2
- 2.3.0
before_install: gem install bundler -v 1.11.2
script: rubocop -D && bundle exec rspec
addons:
code_climate:
repo_token: 905e0dd5ba043366250b9ddaf662dd6e1fab6b97b492b11c7a4cd8501877279f | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.3.0
before_install: gem install bundler -v 1.11.2
script: rubocop -D && bundle exec rspec
addons:
code_climate:
repo_token: 905e0dd5ba043366250b9ddaf662dd6e1fab6b97b492b11c7a4cd8501877279f
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.3.0
befo... | 2919cb0e8a56786ec109546313fe881962272081 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/index.js
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED... | sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ... | <|file_sep|>original/index.js
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED... | a1958e636f865aae2e4896259290ff992eca773a | index.js | index.js | JavaScript |
<|file_sep|>original/libgo/runtime/go-traceback.c
}
void
runtime_printtrace (uintptr *pcbuf, int32 c)
{
int32 i;
for (i = 0; i < c; ++i)
{
struct __go_string fn;
struct __go_string file;
int line;
if (__go_file_line (pcbuf[i], &fn, &file, &line)
&& runtime_showframe (fn.__data))
{... | }
void
runtime_printtrace (uintptr *pcbuf, int32 c)
{
int32 i;
for (i = 0; i < c; ++i)
{
struct __go_string fn;
struct __go_string file;
int line;
if (__go_file_line (pcbuf[i], &fn, &file, &line)
&& runtime_showframe (fn.__data))
{
runtime_printf ("%S\n", fn);
runtime_printf... | <|file_sep|>original/libgo/runtime/go-traceback.c
}
void
runtime_printtrace (uintptr *pcbuf, int32 c)
{
int32 i;
for (i = 0; i < c; ++i)
{
struct __go_string fn;
struct __go_string file;
int line;
if (__go_file_line (pcbuf[i], &fn, &file, &line)
&& runtime_showframe (fn.__data))
{... | bb3bd956e8c53ccaba3a95940987a1e0133daf00 | libgo/runtime/go-traceback.c | libgo/runtime/go-traceback.c | C |
<|file_sep|>original/components/Header.js
import Head from 'next/head';
export default () =>
<header>
<Head>
<style>{`
body {
font-family: "Helvetica Neue", Arial, sans-serif;
}
`}</style>
</Head>
</header>;
<|file_sep|>current/components/Header.js
import Head from 'ne... | import Head from 'next/head';
export default () =>
<header>
<Head>
<style global jsx>{`
body {
font-family: "Helvetica Neue", Arial, sans-serif;
}
`}</style>
</Head>
</header>; | <|file_sep|>original/components/Header.js
import Head from 'next/head';
export default () =>
<header>
<Head>
<style>{`
body {
font-family: "Helvetica Neue", Arial, sans-serif;
}
`}</style>
</Head>
</header>;
<|file_sep|>current/components/Header.js
import Head from 'ne... | d6cff2ae3baf9de7f8156545fda5bb67361c36c2 | components/Header.js | components/Header.js | JavaScript |
<|file_sep|>operation.go.diff
original:
updated:
schemes []string
<|file_sep|>original/operation.go
type HandlerFunc func(*Response, *Request)
func (f HandlerFunc) ServeHTTP(w *Response, r *Request) {
f(w, r)
}
// Operation
type Operation struct {
method string
name string
description string
h... | handler Handler
schemes []string
}
func NewOperation(handler Handler) *Operation {
return &Operation{
handler: handler,
}
}
// Schemes is not additive, meaning that it'll reset the schemes
// already defined with what it's been given if they are valid.
func (o *Operation) Schemes(s ...string) *Operation... | <|file_sep|>operation.go.diff
original:
updated:
schemes []string
<|file_sep|>original/operation.go
type HandlerFunc func(*Response, *Request)
func (f HandlerFunc) ServeHTTP(w *Response, r *Request) {
f(w, r)
}
// Operation
type Operation struct {
method string
name string
description string
h... | 762d4cf4d60a92365c2644cd014ce650553885ac | operation.go | operation.go | Go |
<|file_sep|>original/src/main/java/com/github/blindpirate/gogradle/core/dependency/produce/strategy/DependencyProduceStrategy.java
import com.github.blindpirate.gogradle.core.dependency.GolangDependencySet;
import com.github.blindpirate.gogradle.core.dependency.ResolvedDependency;
import com.github.blindpirate.gogradl... |
import com.github.blindpirate.gogradle.core.dependency.GolangDependencySet;
import com.github.blindpirate.gogradle.core.dependency.ResolvedDependency;
import com.github.blindpirate.gogradle.core.dependency.produce.DependencyVisitor;
import java.io.File;
/**
* Direct how to generate dependencies of an existing golan... | <|file_sep|>original/src/main/java/com/github/blindpirate/gogradle/core/dependency/produce/strategy/DependencyProduceStrategy.java
import com.github.blindpirate.gogradle.core.dependency.GolangDependencySet;
import com.github.blindpirate.gogradle.core.dependency.ResolvedDependency;
import com.github.blindpirate.gogradl... | 53e1bed66754a29881acf816611a0f536715dcbb | src/main/java/com/github/blindpirate/gogradle/core/dependency/produce/strategy/DependencyProduceStrategy.java | src/main/java/com/github/blindpirate/gogradle/core/dependency/produce/strategy/DependencyProduceStrategy.java | Java |
<|file_sep|>original/release.sh
# confused about what the version arg is.
while [[ "$1" == -* ]]; do
shift
done
cd `dirname $0`
for i in matrix-js-sdk matrix-react-sdk
do
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
latestver=`yarn info -s $i version`
if [ "$depver" != "$latestver" ]
th... | # confused about what the version arg is.
while [[ "$1" == -* ]]; do
shift
done
cd `dirname $0`
for i in matrix-js-sdk matrix-react-sdk
do
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
latestver=`yarn info -s $i dist-tags.next`
if [ "$depver" != "$latestver" ]
then
echo "The late... | <|file_sep|>original/release.sh
# confused about what the version arg is.
while [[ "$1" == -* ]]; do
shift
done
cd `dirname $0`
for i in matrix-js-sdk matrix-react-sdk
do
depver=`cat package.json | jq -r .dependencies[\"$i\"]`
latestver=`yarn info -s $i version`
if [ "$depver" != "$latestver" ]
th... | aa95dcc0cb90855dd6d82efb73975fae0d95c2dc | release.sh | release.sh | Shell |
<|file_sep|>original/bower.json
{
"name": "jQuery-Geolocation",
"version": "1.1.0",
"description": "jQuery plugin which acts as a simplification of the Geolocation API.",
"license": "MIT",
"ignore": [
"earth.png",
"index.html"
],
"dependencies": {
"jquery": "1.6.0"
}
}
<|file_sep|>current/bo... | {
"name": "jQuery-Geolocation",
"version": "1.1.0",
"description": "jQuery plugin which acts as a simplification of the Geolocation API.",
"license": "MIT",
"ignore": [
"earth.png",
"index.html"
],
"dependencies": {
"jquery": ">=1.6.0"
}
} | <|file_sep|>original/bower.json
{
"name": "jQuery-Geolocation",
"version": "1.1.0",
"description": "jQuery plugin which acts as a simplification of the Geolocation API.",
"license": "MIT",
"ignore": [
"earth.png",
"index.html"
],
"dependencies": {
"jquery": "1.6.0"
}
}
<|file_sep|>current/bo... | 4d48735af7c228c13a934b8a2afd9a104a61c962 | bower.json | bower.json | JSON |
<|file_sep|>original/composer.json
"phpunit/PHPUnit": "~4.0",
"athletic/athletic": "~0.1"
},
"suggest": {
"zendframework/zend-serializer": "Zend\\Serializer component"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"... | "phpunit/PHPUnit": "~4.0",
"athletic/athletic": "~0.1"
},
"suggest": {
"zendframework/zend-serializer": "Zend\\Serializer component"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "2.7-dev",
... | <|file_sep|>original/composer.json
"phpunit/PHPUnit": "~4.0",
"athletic/athletic": "~0.1"
},
"suggest": {
"zendframework/zend-serializer": "Zend\\Serializer component"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"... | 886f92ff0bc36147f810e7fed1fe472af24cf27a | composer.json | composer.json | JSON |
<|file_sep|>original/composer.json
"type": "library",
"description": "Database abstraction layer for information and manipulation schema",
"keywords": [ "database", "dbal" ],
"homepage": "https://github.com/czogori/Rentgen",
"license": "MIT",
"require": {
"php": ">=5.3.2",
"symfo... | "type": "library",
"description": "Database abstraction layer for information and manipulation schema",
"keywords": [ "database", "dbal" ],
"homepage": "https://github.com/czogori/Rentgen",
"license": "MIT",
"require": {
"php": ">=5.3.2",
"symfony/config": "2.5.*",
"symfo... | <|file_sep|>original/composer.json
"type": "library",
"description": "Database abstraction layer for information and manipulation schema",
"keywords": [ "database", "dbal" ],
"homepage": "https://github.com/czogori/Rentgen",
"license": "MIT",
"require": {
"php": ">=5.3.2",
"symfo... | bb647228c23c7a918d6c8fd1023a3dc3f38a7ce3 | composer.json | composer.json | JSON |
<|file_sep|>original/package.json
{
"name": "graphql-decorator",
"version": "0.1.1",
"description": "Creates GraphQL Schema from decorated TypeScript Class",
"main": "lib/index.js",
"engines": {
"node": ">=4.4.0"
},
"scripts": {
"typings": "dtsm install",
"build": "rimraf lib && tsc",
"lin... | {
"name": "graphql-decorator",
"version": "0.1.2",
"description": "Creates GraphQL Schema from decorated TypeScript Class",
"main": "lib/index.js",
"engines": {
"node": ">=4.4.0"
},
"scripts": {
"typings": "dtsm install",
"build": "rimraf lib && tsc",
"lint": "tslint \"src/**/*.ts\"",
... | <|file_sep|>original/package.json
{
"name": "graphql-decorator",
"version": "0.1.1",
"description": "Creates GraphQL Schema from decorated TypeScript Class",
"main": "lib/index.js",
"engines": {
"node": ">=4.4.0"
},
"scripts": {
"typings": "dtsm install",
"build": "rimraf lib && tsc",
"lin... | fc45a67995bd7c9c515e88e000b669557abf38ce | package.json | package.json | JSON |
<|file_sep|>original/src/tests/base/__init__.py
BROWSER = os.environ.get('TEST_BROWSER', 'PhantomJS')
class BrowserTest(StaticLiveServerTestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
settings.DEBUG = ('--debug' in sys.argv)
def setUp(self):
self.dri... | BROWSER = os.environ.get('TEST_BROWSER', 'PhantomJS')
class BrowserTest(StaticLiveServerTestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
settings.DEBUG = ('--debug' in sys.argv)
def setUp(self):
if hasattr(webdriver, BROWSER):
self.driver ... | <|file_sep|>original/src/tests/base/__init__.py
BROWSER = os.environ.get('TEST_BROWSER', 'PhantomJS')
class BrowserTest(StaticLiveServerTestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
settings.DEBUG = ('--debug' in sys.argv)
def setUp(self):
self.dri... | 8cdd7a89ad6115b80ae57ed6cbb0d41abce09816 | src/tests/base/__init__.py | src/tests/base/__init__.py | Python |
<|file_sep|>original/composer.json
"license": "MIT",
"autoload": {
"psr-4": { "duxet\\Rethinkdb\\": "src/" }
},
"require": {
"php": ">=7.0.0",
"illuminate/container": ">=5.0.0",
"illuminate/contracts": ">=5.0.0",
"illuminate/database": ">=5.0.0",
"illumina... | "illuminate/contracts": ">=5.0.0",
"illuminate/database": ">=5.0.0",
"illuminate/support": ">=5.0.0",
"danielmewes/php-rql": "~2.3.0"
},
"require-dev": {
"psr/log": "1.0.0",
"orchestra/testbench": "3.7.*",
"codeclimate/php-test-reporter": "0.1.*@dev",
... | <|file_sep|>original/composer.json
"license": "MIT",
"autoload": {
"psr-4": { "duxet\\Rethinkdb\\": "src/" }
},
"require": {
"php": ">=7.0.0",
"illuminate/container": ">=5.0.0",
"illuminate/contracts": ">=5.0.0",
"illuminate/database": ">=5.0.0",
"illumina... | e4a6111ddf40134347ed390b2c26a2cd19f6b3bd | composer.json | composer.json | JSON |
<|file_sep|>original/spec/spec_helper.rb
require "brightbox_cli"
require "mocha"
require "vcr"
require "support/common_helpers"
Brightbox.const_set(:CONFIG,Brightbox::BBConfig.new())
RSpec.configure do |config|
config.mock_framework = :mocha
config.extend VCR::RSpec::Macros
config.include CommonHelpers
config... | $LOAD_PATH.include?(__LIB_DIR__) ||
$LOAD_PATH.include?(File.expand_path(__LIB_DIR__))
require "brightbox_cli"
require "mocha"
require "vcr"
require "support/common_helpers"
Brightbox.const_set(:CONFIG,Brightbox::BBConfig.new())
RSpec.configure do |config|
config.mock_framework = :mocha
config.extend VCR::RS... | <|file_sep|>original/spec/spec_helper.rb
require "brightbox_cli"
require "mocha"
require "vcr"
require "support/common_helpers"
Brightbox.const_set(:CONFIG,Brightbox::BBConfig.new())
RSpec.configure do |config|
config.mock_framework = :mocha
config.extend VCR::RSpec::Macros
config.include CommonHelpers
config... | 5fa283ee3fdcd924102cf1d2c963375e294b97b9 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>tasks/release-travis.js.diff
original:
updated:
if (!process.env.RELEASE_TOKEN) {
log('Skipping - please set the RELEASE_TOKEN env var');
return;
}
<|file_sep|>original/tasks/release-travis.js
gulp.task('release-add-release-notes', () => {
const tagName = process.env.TRAVIS_TAG;
if (!tagN... | return;
}
if (!process.env.RELEASE_TOKEN) {
log('Skipping - please set the RELEASE_TOKEN env var');
return;
}
return gulp.src('LATEST_CHANGES.md')
.pipe(map(async (latestChangesFile, callback) => {
log(`Updating release notes for ${tagName}...`);
try {
await addReleaseNotes... | <|file_sep|>tasks/release-travis.js.diff
original:
updated:
if (!process.env.RELEASE_TOKEN) {
log('Skipping - please set the RELEASE_TOKEN env var');
return;
}
<|file_sep|>original/tasks/release-travis.js
gulp.task('release-add-release-notes', () => {
const tagName = process.env.TRAVIS_TAG;
if (!tagN... | 42bfa4ae95ebf452bf0af45496b0fe901976bebf | tasks/release-travis.js | tasks/release-travis.js | JavaScript |
<|file_sep|>original/public/assets/css/style.css
min-height: 20px;
margin-bottom: 20px;
font-size: 12px;
padding: 10px;
}
#websocket-feedback {
display: none;
}
#sidebar {
position: fixed;
padding-top: 20px;
height: 100%;
overflow-y: auto;
}
.pre-scrollable {
overflow-x: scroll;
word-wrap: norm... | }
#websocket-feedback {
display: none;
}
#sidebar {
position: fixed;
padding-top: 20px;
height: 100%;
overflow-y: auto;
}
.pre-scrollable {
overflow-x: scroll;
word-wrap: normal;
}
#job-list a {
color: inherit;
} | <|file_sep|>original/public/assets/css/style.css
min-height: 20px;
margin-bottom: 20px;
font-size: 12px;
padding: 10px;
}
#websocket-feedback {
display: none;
}
#sidebar {
position: fixed;
padding-top: 20px;
height: 100%;
overflow-y: auto;
}
.pre-scrollable {
overflow-x: scroll;
word-wrap: norm... | 83c0329a437ac78df0ed2f347f0ee73f70de2aef | public/assets/css/style.css | public/assets/css/style.css | CSS |
<|file_sep|>original/docroot/index.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Hello world!</title>
</head>
<body>
<p>I'm going to be Agile California!</p>
</body>
</html>
<|file_sep|>current/docroot/index.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Hello world!</ti... | <!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Hello world!</title>
</head>
<body>
<p>Put Agile California here!</p>
</body>
</html> | <|file_sep|>original/docroot/index.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Hello world!</title>
</head>
<body>
<p>I'm going to be Agile California!</p>
</body>
</html>
<|file_sep|>current/docroot/index.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Hello world!</ti... | 13e0341b0cfa395599194d66e7bb912204d7c108 | docroot/index.html | docroot/index.html | HTML |
<|file_sep|>original/src/components/connection-modal/device-tile.jsx
return (
<Box className={styles.deviceTile}>
<Box>
<span>{this.props.name}</span>
<Box className={styles.deviceTileWidgets}>
<span className={styles.si... | return (
<Box className={styles.deviceTile}>
<Box>
<span>{this.props.name}</span>
<Box className={styles.deviceTileWidgets}>
<span className={styles.signalStrengthText}>{this.props.rssi}</span>
<b... | <|file_sep|>original/src/components/connection-modal/device-tile.jsx
return (
<Box className={styles.deviceTile}>
<Box>
<span>{this.props.name}</span>
<Box className={styles.deviceTileWidgets}>
<span className={styles.si... | 7c1d328cd7b0947874e673b1875302c2c15f732b | src/components/connection-modal/device-tile.jsx | src/components/connection-modal/device-tile.jsx | JSX |
<|file_sep|>README.md.diff
original:
Usage Examples
updated:
Usage example:
--------
<|file_sep|>README.md.diff
original:
updated:
Examples
--------
This
```
<|file_sep|>README.md.diff
original:
to be converted to a more commonly used format of
updated:
```
to this
```
<|file_sep|>original/README.md
Usage Examples... | Usage example:
--------
System reference code is currently set for a REST tile request format of
Examples
--------
This
```
http://{baseUrl}/rest/Spatial/MapTilingService/NamedTiles/{LayerName}/{zIndex}/{xIndex}:{yIndex}/{StaticImageFormatResource}
```
to this
```
http://{baseUrl}/getTile/{LayerName}/{zIndex}/{xIndex... | <|file_sep|>README.md.diff
original:
Usage Examples
updated:
Usage example:
--------
<|file_sep|>README.md.diff
original:
updated:
Examples
--------
This
```
<|file_sep|>README.md.diff
original:
to be converted to a more commonly used format of
updated:
```
to this
```
<|file_sep|>original/README.md
Usage Examples... | a8b782a4aed33d32b25e93da5ac7fb67eedd26fe | README.md | README.md | Markdown |
<|file_sep|>original/Sources/Site/package.json
"name": "shoot4stats",
"version": "0.0.1",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "mickael.bonjour@epfl.ch",
"license": "MIT",
"dependencies": {
"body-parser": "^1.16.0"... | "name": "shoot4stats",
"version": "0.0.1",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "mickael.bonjour@epfl.ch",
"license": "MIT",
"dependencies": {
"body-parser": "^1.16.0",
"cookie-parser": "^1.4.3",
"express":... | <|file_sep|>original/Sources/Site/package.json
"name": "shoot4stats",
"version": "0.0.1",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "mickael.bonjour@epfl.ch",
"license": "MIT",
"dependencies": {
"body-parser": "^1.16.0"... | 5e58230e32e91548361ccf4e8a75236feab9cbb2 | Sources/Site/package.json | Sources/Site/package.json | JSON |
<|file_sep|>common/load-base-css.js.diff
original:
style: [
'@import "/common/base.css"',
'@import "/common/fira/fira.css"',
].join('\n'),
updated:
<|file_sep|>original/common/load-base-css.js
command: 'echo ""',
refreshFrequency: 3600000,
style: [
'@import "/common/base.css"',
'@import "/common/fira/fira.css"',... | command: 'echo ""',
refreshFrequency: 3600000,
render: function(output) {
return [
'<link rel="stylesheet" type="text/css" href="/common/base.css">',
'<link rel="stylesheet" type="text/css" href="/common/fira/fira.css">',
].join('\n')
}, | <|file_sep|>common/load-base-css.js.diff
original:
style: [
'@import "/common/base.css"',
'@import "/common/fira/fira.css"',
].join('\n'),
updated:
<|file_sep|>original/common/load-base-css.js
command: 'echo ""',
refreshFrequency: 3600000,
style: [
'@import "/common/base.css"',
'@import "/common/fira/fira.css"',... | 845c165b104e383dc52bd89e5910124da99a08ae | common/load-base-css.js | common/load-base-css.js | JavaScript |
<|file_sep|>original/generators/server/templates/server/models/sg-user.json
"name": "SgUser",
"base": "User",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {
"firstName": "string",
"lastName": "string",
"roles": "object",
"uid": "string"
},
"validations": ... | "name": "SgUser",
"base": "User",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {
"firstName": "string",
"lastName": "string",
"roles": "object",
"uid": "string",
"igg": "number"
},
"validations": [],
"relations": {},
"acls": [{
"accessType": "... | <|file_sep|>original/generators/server/templates/server/models/sg-user.json
"name": "SgUser",
"base": "User",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {
"firstName": "string",
"lastName": "string",
"roles": "object",
"uid": "string"
},
"validations": ... | d03a0936d594ce0a68a63a9a702da0a2cd8fa8ae | generators/server/templates/server/models/sg-user.json | generators/server/templates/server/models/sg-user.json | JSON |
<|file_sep|>original/docker-compose-example.yml
environment:
REDASH_STATIC_ASSETS_PATH:"../rd_ui/app/"
REDASH_LOG_LEVEL:"INFO"
REDASH_REDIS_URL:redis://localhost:6379/0
REDASH_DATABASE_URL:"postgresql://redash"
REDASH_COOKIE_SECRET:veryverysecret
REDASH_GOOGLE_APPS_DOMAIN:
redis:
image: redi... | environment:
REDASH_STATIC_ASSETS_PATH:"../rd_ui/app/"
REDASH_LOG_LEVEL:"INFO"
REDASH_REDIS_URL:redis://localhost:6379/0
REDASH_DATABASE_URL:"postgresql://redash"
REDASH_COOKIE_SECRET:veryverysecret
REDASH_GOOGLE_APPS_DOMAIN:
redis:
image: redis:2.8
postgres:
image: postgres:9.3
volumes:... | <|file_sep|>original/docker-compose-example.yml
environment:
REDASH_STATIC_ASSETS_PATH:"../rd_ui/app/"
REDASH_LOG_LEVEL:"INFO"
REDASH_REDIS_URL:redis://localhost:6379/0
REDASH_DATABASE_URL:"postgresql://redash"
REDASH_COOKIE_SECRET:veryverysecret
REDASH_GOOGLE_APPS_DOMAIN:
redis:
image: redi... | 2365f25e1197d4f5e29081045c3322b8d3e72008 | docker-compose-example.yml | docker-compose-example.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 4.2.3
updated:
- latest
<|file_sep|>original/.travis.yml
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
mono:
- 4.2.3
os:
- linux
- osx
osx_image: xcode7.1
branches:
only:
- master
before_install:
- if test "$TRAVIS_O... | - libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
mono:
- latest
os:
- linux
- osx
osx_image: xcode7.2
branches:
only:
- master
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.... | <|file_sep|>.travis.yml.diff
original:
- 4.2.3
updated:
- latest
<|file_sep|>original/.travis.yml
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
mono:
- 4.2.3
os:
- linux
- osx
osx_image: xcode7.1
branches:
only:
- master
before_install:
- if test "$TRAVIS_O... | ab4594672698b2a041e7abc2ed010bee600dc9f9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
virtualenv:
system_site_packages: true
before_install:
- wget http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo chmod u+x chromedriver
- sudo mv chromedriver /usr/bin/
- export CHROME_BIN=chromium-browser
- "... | virtualenv:
system_site_packages: true
before_install:
- wget http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo chmod u+x chromedriver
- sudo mv chromedriver /usr/bin/
- export CHROME_BIN=chromium-browser
- "export DISPLAY=:99.0"
- "sh -e /... | <|file_sep|>original/.travis.yml
virtualenv:
system_site_packages: true
before_install:
- wget http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo chmod u+x chromedriver
- sudo mv chromedriver /usr/bin/
- export CHROME_BIN=chromium-browser
- "... | 782f3e079cec8f0b27aa98e7f1f4710edae13cfc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/foundation/jobs/templates/jobs/job_list.html
{% load i18n %}
{% load cms_tags %}
{% load markdown_deux_tags %}
{% block body-class %}jobs{% endblock %}
{% block blurb %}{% static_placeholder "jobs blurb" %}{% endblock %}
{% block body %}
{% for job in job_list %}
<h3>{{ job.title }}</h3>
... |
{% load i18n %}
{% load cms_tags %}
{% load markdown_deux_tags %}
{% block body-class %}jobs{% endblock %}
{% block blurb %}{% static_placeholder "jobs blurb" %}{% endblock %}
{% block body %}
{% static_placeholder "jobs intro" %}
{% for job in job_list %}
<h3>{{ job.title }}</h3>
<div class='job-descri... | <|file_sep|>original/foundation/jobs/templates/jobs/job_list.html
{% load i18n %}
{% load cms_tags %}
{% load markdown_deux_tags %}
{% block body-class %}jobs{% endblock %}
{% block blurb %}{% static_placeholder "jobs blurb" %}{% endblock %}
{% block body %}
{% for job in job_list %}
<h3>{{ job.title }}</h3>
... | dd953e1b6b2c4ca8ac0e0c35e67f15aa86a6cc5d | foundation/jobs/templates/jobs/job_list.html | foundation/jobs/templates/jobs/job_list.html | HTML |
<|file_sep|>original/setup.cfg
[wheel]
universal = 1
[pytest]
DJANGO_SETTINGS_MODULE = tests.settings
norecursedirs = requirements .tox
[zest.releaser]
python-file-with-version = django_logutils/__init__.py
create-wheel = yes
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[pytest]
DJANGO_SETTINGS_MODULE = tests... | [wheel]
universal = 1
[pytest]
DJANGO_SETTINGS_MODULE = tests.settings
norecursedirs = .* requirements _build docs tmp* *.egg* htmlcov
[zest.releaser]
python-file-with-version = django_logutils/__init__.py
create-wheel = yes | <|file_sep|>original/setup.cfg
[wheel]
universal = 1
[pytest]
DJANGO_SETTINGS_MODULE = tests.settings
norecursedirs = requirements .tox
[zest.releaser]
python-file-with-version = django_logutils/__init__.py
create-wheel = yes
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[pytest]
DJANGO_SETTINGS_MODULE = tests... | 048bd5820a6b5b4d7d618b27eac61d4dcea1684f | setup.cfg | setup.cfg | INI |
<|file_sep|>README.rst.diff
original:
Import "collectd_ntp"
updated:
Import "ntpoffset"
<|file_sep|>README.rst.diff
original:
<Module "collectd_ntp">
updated:
<Module "ntpoffset">
<|file_sep|>original/README.rst
Configuration
~~~~~~~~~~~~~
To configure the plugin:
.. code:: xml
<LoadPlu... |
Configuration
~~~~~~~~~~~~~
To configure the plugin:
.. code:: xml
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin python>
Import "ntpoffset"
<Module "ntpoffset">
# NTP pool address
pool "pool.ntp.org"
</Module>
</Plugin> | <|file_sep|>README.rst.diff
original:
Import "collectd_ntp"
updated:
Import "ntpoffset"
<|file_sep|>README.rst.diff
original:
<Module "collectd_ntp">
updated:
<Module "ntpoffset">
<|file_sep|>original/README.rst
Configuration
~~~~~~~~~~~~~
To configure the plugin:
.. code:: xml
<LoadPlu... | bb2537cd39ce04ef122db03bd2990fc4105fbd5b | README.rst | README.rst | reStructuredText |
<|file_sep|>original/.imag-documentation/src/lib.rs
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
}
}
<|file_sep|>current/.imag-documentation/src/lib.rs
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
}
}
<|file_sep|>updated/.imag-documentation/src/lib.rs | //! # imag
//!
//! This is the _developer_ documentation for the imag personal information management suite for the
//! commandline.
//!
//! For the user documentation, have a look
//! [at the 'doc' subtree in the repository](http://git.imag-pim.org/imag/tree/doc)
//! which can be compiled to HTML or PDF using [pandoc]... | <|file_sep|>original/.imag-documentation/src/lib.rs
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
}
}
<|file_sep|>current/.imag-documentation/src/lib.rs
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
}
}
<|file_sep|>updated/.imag-documentation/src/lib.rs
//! # imag
//!
//! This is the _deve... | 2ce4d334b4c1317a2eb03331f748d7fdf8ca5173 | .imag-documentation/src/lib.rs | .imag-documentation/src/lib.rs | Rust |
<|file_sep|>original/util/src/main/java/org/apache/karaf/util/StreamUtils.java
package org.apache.karaf.util;
import java.io.Closeable;
import java.io.IOException;
public class StreamUtils {
private StreamUtils() {
}
public static void close(Closeable... closeables) {
for (Closeable c : clos... | import java.io.Closeable;
import java.io.IOException;
public class StreamUtils {
private StreamUtils() {
}
public static void close(Closeable... closeables) {
for (Closeable c : closeables) {
try {
if (c != null) {
c.close();
}
}... | <|file_sep|>original/util/src/main/java/org/apache/karaf/util/StreamUtils.java
package org.apache.karaf.util;
import java.io.Closeable;
import java.io.IOException;
public class StreamUtils {
private StreamUtils() {
}
public static void close(Closeable... closeables) {
for (Closeable c : clos... | 38d5640098ab03be8ef50d593379f4e1d5c5c766 | util/src/main/java/org/apache/karaf/util/StreamUtils.java | util/src/main/java/org/apache/karaf/util/StreamUtils.java | Java |
<|file_sep|>original/circle.yml
machine:
pre:
- sudo curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
- sudo chmod 0755 /usr/bin/docker
services:
- docker
dependencies:
override:
- sudo pip install --upgrade docker-compose==1... | machine:
pre:
- sudo curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
- sudo chmod 0755 /usr/bin/docker
services:
- docker
dependencies:
override:
- sudo pip install --upgrade docker-compose==1.7.1
test:
override:
... | <|file_sep|>original/circle.yml
machine:
pre:
- sudo curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
- sudo chmod 0755 /usr/bin/docker
services:
- docker
dependencies:
override:
- sudo pip install --upgrade docker-compose==1... | 5294e0007034e8447884c713bac6c4c801ec4b61 | circle.yml | circle.yml | YAML |
<|file_sep|>generators-core/src/main/java/io/generators/core/RandomClosedRangeGenerator.java.diff
original:
updated:
import com.google.common.collect.Ordering;
<|file_sep|>generators-core/src/main/java/io/generators/core/RandomClosedRangeGenerator.java.diff
original:
T lower = delegate.next();
T maybeU... |
/**
* Creates range generator that delegates generation endpoints to its delegate
*
* @param delegate actual generator that generates values
* @throws NullPointerException when <code>delegate</code> is null
*/
public RandomClosedRangeGenerator(@Nonnull Generator<T> delegate) {
... | <|file_sep|>generators-core/src/main/java/io/generators/core/RandomClosedRangeGenerator.java.diff
original:
updated:
import com.google.common.collect.Ordering;
<|file_sep|>generators-core/src/main/java/io/generators/core/RandomClosedRangeGenerator.java.diff
original:
T lower = delegate.next();
T maybeU... | b007e7d29d5a4ede22565046ffed97efa4717e55 | generators-core/src/main/java/io/generators/core/RandomClosedRangeGenerator.java | generators-core/src/main/java/io/generators/core/RandomClosedRangeGenerator.java | Java |
<|file_sep|>original/app/views/application/js_templates/_episode_progress.html.slim
script#t-episode-progress type="x-template"
.c-episode-progress
.text-muted.u-very-small
= "{{ watchedEpisodesCount }} / {{ episodesCount }} #{t("verb.episodes_watched")}"
.progress
.progress-bar.bg-info :style='{ ... | script#t-episode-progress type="x-template"
.c-episode-progress
.text-muted.u-very-small
= "{{ watchedEpisodesCount }} / {{ episodesCount }} #{t("verb.episodes_watched")}"
.progress
.progress-bar.bg-info :style='{ width: ratio + "%", height: "7px" }' :aria-valuenow="ratio" role="progressbar" aria-... | <|file_sep|>original/app/views/application/js_templates/_episode_progress.html.slim
script#t-episode-progress type="x-template"
.c-episode-progress
.text-muted.u-very-small
= "{{ watchedEpisodesCount }} / {{ episodesCount }} #{t("verb.episodes_watched")}"
.progress
.progress-bar.bg-info :style='{ ... | 9f80c3d52bb276c9ca2697b0932d45106de7dc81 | app/views/application/js_templates/_episode_progress.html.slim | app/views/application/js_templates/_episode_progress.html.slim | Slim |
<|file_sep|>original/scripts/vagrant-env.sh
if sudo test -f /etc/sysconfig/jenkins && sudo grep '^JENKINS_HOME' /etc/sysconfig/jenkins &> /dev/null; then
CONFIG_FILE='/etc/sysconfig/jenkins'
elif sudo test -f /etc/default/jenkins && sudo grep '^JENKINS_HOME' /etc/default/jenkins &> /dev/null; then
CONFIG_FILE='/etc... | if sudo test -f /etc/sysconfig/jenkins && sudo grep '^JENKINS_HOME' /etc/sysconfig/jenkins &> /dev/null; then
CONFIG_FILE='/etc/sysconfig/jenkins'
elif sudo test -f /etc/default/jenkins && sudo grep '^JENKINS_HOME' /etc/default/jenkins &> /dev/null; then
CONFIG_FILE='/etc/default/jenkins'
fi
if test -n "${CONFIG_FI... | <|file_sep|>original/scripts/vagrant-env.sh
if sudo test -f /etc/sysconfig/jenkins && sudo grep '^JENKINS_HOME' /etc/sysconfig/jenkins &> /dev/null; then
CONFIG_FILE='/etc/sysconfig/jenkins'
elif sudo test -f /etc/default/jenkins && sudo grep '^JENKINS_HOME' /etc/default/jenkins &> /dev/null; then
CONFIG_FILE='/etc... | 863b2970580cb1ced7d051158b5087612143dbdd | scripts/vagrant-env.sh | scripts/vagrant-env.sh | Shell |
<|file_sep|>original/docs/releases.rst
Releases
========
Version 2.0, August 1, 2016
---------------------------
* Update to tap.py 2.0.
This update drops the indirect dependencies on nose and pygments.
* Improve handling of skips and xfails.
* Suppress ``# TAP results for TestCase`` for streaming.
This header ma... | Releases
========
Version 2.1, August 12, 2017
----------------------------
* Fix crash when running with pytest-xdist (#27).
Version 2.0, August 1, 2016
---------------------------
* Update to tap.py 2.0.
This update drops the indirect dependencies on nose and pygments.
* Improve handling of skips and xfails.
* ... | <|file_sep|>original/docs/releases.rst
Releases
========
Version 2.0, August 1, 2016
---------------------------
* Update to tap.py 2.0.
This update drops the indirect dependencies on nose and pygments.
* Improve handling of skips and xfails.
* Suppress ``# TAP results for TestCase`` for streaming.
This header ma... | 68365dae6554ce4a4bb982e53389773f941d8520 | docs/releases.rst | docs/releases.rst | reStructuredText |
<|file_sep|>original/rendering/cases/layer-group/main.js
import Map from '../../../src/ol/Map.js';
import View from '../../../src/ol/View.js';
import {Group as LayerGroup, Tile as TileLayer} from '../../../src/ol/layer.js';
import XYZ from '../../../src/ol/source/XYZ';
new Map({
target: 'map',
view: new View({
... | import Map from '../../../src/ol/Map.js';
import View from '../../../src/ol/View.js';
import {Group as LayerGroup, Tile as TileLayer} from '../../../src/ol/layer.js';
import XYZ from '../../../src/ol/source/XYZ.js';
new Map({
target: 'map',
view: new View({
center: [0, 0],
zoom: 3
}),
layers: new Layer... | <|file_sep|>original/rendering/cases/layer-group/main.js
import Map from '../../../src/ol/Map.js';
import View from '../../../src/ol/View.js';
import {Group as LayerGroup, Tile as TileLayer} from '../../../src/ol/layer.js';
import XYZ from '../../../src/ol/source/XYZ';
new Map({
target: 'map',
view: new View({
... | bfea8583060472a9d1996d59a4fe0128375bdacd | rendering/cases/layer-group/main.js | rendering/cases/layer-group/main.js | JavaScript |
<|file_sep|>original/json/test_rapid.cpp
using namespace rapidjson;
int main() {
FILE* fp = std::fopen("./1.json", "r");
char buffer[65536];
FileReadStream frs(fp, buffer, sizeof(buffer));
Document jobj;
jobj.ParseStream(frs);
const Value &coordinates = jobj["coordinates"];
int len = coor... | using namespace rapidjson;
int main() {
FILE* fp = std::fopen("./1.json", "r");
char buffer[65536];
FileReadStream frs(fp, buffer, sizeof(buffer));
Document jobj;
jobj.ParseStream(frs);
const Value &coordinates = jobj["coordinates"];
SizeType len = coordinates.Size();
double x = 0, y ... | <|file_sep|>original/json/test_rapid.cpp
using namespace rapidjson;
int main() {
FILE* fp = std::fopen("./1.json", "r");
char buffer[65536];
FileReadStream frs(fp, buffer, sizeof(buffer));
Document jobj;
jobj.ParseStream(frs);
const Value &coordinates = jobj["coordinates"];
int len = coor... | a7a7cc01ed27f00a97e3c6df75d7f8da370d28e8 | json/test_rapid.cpp | json/test_rapid.cpp | C++ |
<|file_sep|>original/README.md
## Requirements
### Python
- tqdm
- sklearn
### Other
- GraphViz
## To Do
- parameterize number of images instead of hardcoding it
- convert the XML into CSV to make it accessible to pandas and (maybe?) easier to parse
## Pipeline
- download all metadata
- sample from that xml file s... | ## Requirements
### Python
- tqdm
- sklearn
### Other
- GraphViz
## Pipeline
- download all metadata
- sample from that xml file so that amount of data is reasonable
- select features
- machine learn it up
- regression tree
- random forest of regression trees
- PCA and K-means
- naive bayes maybe
- choose op... | <|file_sep|>original/README.md
## Requirements
### Python
- tqdm
- sklearn
### Other
- GraphViz
## To Do
- parameterize number of images instead of hardcoding it
- convert the XML into CSV to make it accessible to pandas and (maybe?) easier to parse
## Pipeline
- download all metadata
- sample from that xml file s... | 7a7f3c35bcc8da59dd740ef618418759764a920f | README.md | README.md | Markdown |
<|file_sep|>original/server/src/main/java/com/breakersoft/plow/Signal.java
package com.breakersoft.plow;
public class Signal {
/**
* Exit signal for an aborted dispatch.
*/
public static final int NORMAL = 0;
/**
* Exit signal for an aborted dispatch.
*/
public static final int AB... | package com.breakersoft.plow;
public class Signal {
/**
* Exit signal for an aborted dispatch.
*/
public static final int NORMAL = 0;
/**
* Exit signal when a node is shutdown.
*/
public static final int NODE_SHUTDOWN = 86;
/**
* Exit signal for an aborted dispatch.
... | <|file_sep|>original/server/src/main/java/com/breakersoft/plow/Signal.java
package com.breakersoft.plow;
public class Signal {
/**
* Exit signal for an aborted dispatch.
*/
public static final int NORMAL = 0;
/**
* Exit signal for an aborted dispatch.
*/
public static final int AB... | 0c98ade93d3524ed161967f99040a638d53c8826 | server/src/main/java/com/breakersoft/plow/Signal.java | server/src/main/java/com/breakersoft/plow/Signal.java | Java |
<|file_sep|>original/hieradata_aws/class/staging/email_alert_api_db_admin.yaml
govuk_env_sync::tasks:
"pull_content_performance_manager_production_daily":
hour: "3"
minute: "45"
action: "pull"
dbms: "postgresql"
storagebackend: "s3"
database: "email-alert-api_production"
temppath: "/tmp/em... | govuk_env_sync::tasks:
"pull_email-alert-api_production_daily":
hour: "3"
minute: "45"
action: "pull"
dbms: "postgresql"
storagebackend: "s3"
database: "email-alert-api_production"
temppath: "/tmp/email-alert-api_production"
url: "govuk-staging-database-backups"
path: "email-alert-... | <|file_sep|>original/hieradata_aws/class/staging/email_alert_api_db_admin.yaml
govuk_env_sync::tasks:
"pull_content_performance_manager_production_daily":
hour: "3"
minute: "45"
action: "pull"
dbms: "postgresql"
storagebackend: "s3"
database: "email-alert-api_production"
temppath: "/tmp/em... | 998f22985b4868d00a9157da56d97dfdb6e32a96 | hieradata_aws/class/staging/email_alert_api_db_admin.yaml | hieradata_aws/class/staging/email_alert_api_db_admin.yaml | YAML |
<|file_sep|>original/requirements.txt
# Core packages
python-dotenv==0.13.0 # Read environment variables from .env
Flask==1.1.2 # Web microframework
uWSGI==2.0.19 # Application server
syspath==2.0.1 # Modify paths
# Features
flask-sitemap==0.3.0 # Web sitemaps
# Monitoring/tracking/loggi... | # Core packages
python-dotenv==0.13.0 # Read environment variables from .env
Flask==1.1.2 # Web microframework
uWSGI==2.0.19.1 # Application server
syspath==2.0.1 # Modify paths
# Features
flask-sitemap==0.3.0 # Web sitemaps
# Monitoring/tracking/logging
blinker==1.4 # Dependency... | <|file_sep|>original/requirements.txt
# Core packages
python-dotenv==0.13.0 # Read environment variables from .env
Flask==1.1.2 # Web microframework
uWSGI==2.0.19 # Application server
syspath==2.0.1 # Modify paths
# Features
flask-sitemap==0.3.0 # Web sitemaps
# Monitoring/tracking/loggi... | e7c1531d4380be407136f8b2d25c5f607a714677 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/GitVersionTask.Tests/GetVersionTaskTests.cs
using Shouldly;
[TestFixture]
public class GetVersionTaskTests
{
[Test]
public void OutputsShouldMatchVariableProvider()
{
var taskProperties = typeof(GetVersion)
.GetProperties()
.Where(p => p.GetCustomAtt... | using GitVersionTask;
using Microsoft.Build.Framework;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class GetVersionTaskTests
{
[Test]
public void OutputsShouldMatchVariableProvider()
{
var taskProperties = typeof(GetVersion)
.GetProperties()
.Where(p => p.Get... | <|file_sep|>original/src/GitVersionTask.Tests/GetVersionTaskTests.cs
using Shouldly;
[TestFixture]
public class GetVersionTaskTests
{
[Test]
public void OutputsShouldMatchVariableProvider()
{
var taskProperties = typeof(GetVersion)
.GetProperties()
.Where(p => p.GetCustomAtt... | 3b25539b725493d8d8de9d858c1e7636061aca44 | src/GitVersionTask.Tests/GetVersionTaskTests.cs | src/GitVersionTask.Tests/GetVersionTaskTests.cs | C# |
<|file_sep|>package.json.diff
original:
"start": "firefox-proxy & ./node_modules/.bin/webpack --watch",
updated:
"start": "firefox-proxy & ./node_modules/.bin/webpack --watch & ./node_modules/.bin/static --port 8000",
<|file_sep|>original/package.json
"start": "firefox-proxy & ./node_modules/.bin/webpack --... | "start": "firefox-proxy & ./node_modules/.bin/webpack --watch & ./node_modules/.bin/static --port 8000",
"lint-css": "stylelint js/components/*.css",
"lint-js": "eslint js"
},
"dependencies": {
"co": "=4.6.0",
"codemirror": "^5.1.0",
"ff-devtools-libs": "^0.1.1",
"json-loader": "^0.5.4",... | <|file_sep|>package.json.diff
original:
"start": "firefox-proxy & ./node_modules/.bin/webpack --watch",
updated:
"start": "firefox-proxy & ./node_modules/.bin/webpack --watch & ./node_modules/.bin/static --port 8000",
<|file_sep|>original/package.json
"start": "firefox-proxy & ./node_modules/.bin/webpack --... | de90ff545fe0400d157c6e8ac78710ee86679903 | package.json | package.json | JSON |
<|file_sep|>ptk/Ptk/Journal/List.hs.diff
original:
-- -*- hindent-style: "chris-done" -*-
--
-- I prefer the Gibiansky style, but it is creating invalid ASTs from
-- the code below. See https://github.com/chrisdone/hindent/issues/38
-- . The Chris Done style is my second favorite, so we'll go with that
-- for the time... | import System.Console.Command
import System.Console.Program
import System.Directory
journalListHelp :: Action IO
journalListHelp = io $ showUsage journalListTree
journalListTree :: Commands IO
journalListTree = Node lsCommand []
where
lsCommand = Command "list" "List all of the ava... | <|file_sep|>ptk/Ptk/Journal/List.hs.diff
original:
-- -*- hindent-style: "chris-done" -*-
--
-- I prefer the Gibiansky style, but it is creating invalid ASTs from
-- the code below. See https://github.com/chrisdone/hindent/issues/38
-- . The Chris Done style is my second favorite, so we'll go with that
-- for the time... | a7e13b759676dc948615cd02441125a1a90de2f8 | ptk/Ptk/Journal/List.hs | ptk/Ptk/Journal/List.hs | Haskell |
<|file_sep|>cmd/lhsmd/agent/fileid.go.diff
original:
updated:
"github.intel.com/hpdd/logging/debug"
<|file_sep|>original/cmd/lhsmd/agent/fileid.go
)
const xattrFileID = "trusted.hsm_file_id"
func updateFileID(mnt fs.RootDir, fid *lustre.Fid, fileID []byte) error {
p := fs.FidPath(mnt, fid)
err := xattr.Lsetxattr... | "github.intel.com/hpdd/lustre/pkg/xattr"
)
const xattrFileID = "trusted.hsm_file_id"
func updateFileID(mnt fs.RootDir, fid *lustre.Fid, fileID []byte) error {
p := fs.FidPath(mnt, fid)
debug.Printf("setting %s=%s on %s", xattrFileID, fileID, p)
return xattr.Lsetxattr(p, xattrFileID, fileID, 0)
}
func getFileID... | <|file_sep|>cmd/lhsmd/agent/fileid.go.diff
original:
updated:
"github.intel.com/hpdd/logging/debug"
<|file_sep|>original/cmd/lhsmd/agent/fileid.go
)
const xattrFileID = "trusted.hsm_file_id"
func updateFileID(mnt fs.RootDir, fid *lustre.Fid, fileID []byte) error {
p := fs.FidPath(mnt, fid)
err := xattr.Lsetxattr... | 85688bc383685f33e748a151a6f56216772d7d5d | cmd/lhsmd/agent/fileid.go | cmd/lhsmd/agent/fileid.go | Go |
<|file_sep|>_guides/proxies.md.diff
original:
### Example: setting a http and https proxy for Firefox
updated:
In many cases, you can specify a proxy to use with the `proxy: {}` option. While each browser driver handles this slightly differently, the following format works in Chrome or Firefox.
### Example: using a pr... |
firefox_browser = Watir::Browser.new :firefox, proxy: proxy
remote_firefox = Watir::Browser.new :firefox, url: REMOTE_SELENIUM, proxy: proxy
chrome_browser = Watir::Browser.new :chrome, proxy: proxy
remote_chrome = Watir::Browser.new :chrome, url: REMOTE_SELENIUM, proxy: proxy
{% endhighlight %}
Be sure to spe... | <|file_sep|>_guides/proxies.md.diff
original:
### Example: setting a http and https proxy for Firefox
updated:
In many cases, you can specify a proxy to use with the `proxy: {}` option. While each browser driver handles this slightly differently, the following format works in Chrome or Firefox.
### Example: using a pr... | 641ae4cc207fb9f2f132380c8c2f514435532c49 | _guides/proxies.md | _guides/proxies.md | Markdown |
<|file_sep|>src/main/java/org/joow/elevator2/Actions.java.diff
original:
public final List<Action> actions = new CopyOnWriteArrayList<>();
updated:
private final List<Action> actions = new CopyOnWriteArrayList<>();
<|file_sep|>original/src/main/java/org/joow/elevator2/Actions.java
public class Actions {
pub... | public class Actions {
private final List<Action> actions = new CopyOnWriteArrayList<>();
public void add(final Action action) {
actions.add(action);
}
public void remove(final Action action) {
actions.removeAll(Collections2.filter(actions, new FloorPredicate(action.floor())));
}
... | <|file_sep|>src/main/java/org/joow/elevator2/Actions.java.diff
original:
public final List<Action> actions = new CopyOnWriteArrayList<>();
updated:
private final List<Action> actions = new CopyOnWriteArrayList<>();
<|file_sep|>original/src/main/java/org/joow/elevator2/Actions.java
public class Actions {
pub... | 78cddedf39239d50fbb33b7c5bf3bca68233709d | src/main/java/org/joow/elevator2/Actions.java | src/main/java/org/joow/elevator2/Actions.java | Java |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "pypy"
before_install:
- sudo apt-get update
- sudo apt-get install -qq protobuf-compiler
services:
- riak
install:
- pip install -q -e . --use-mirrors
script: python setup.py nosetests
<|file_sep|>current/.travis.ym... | language: python
python:
- "2.6"
- "2.7"
- "pypy"
- "3.3"
before_install:
- sudo apt-get update
- sudo apt-get install -qq protobuf-compiler
services:
- riak
install:
- pip install -q -e . --use-mirrors
script: python setup.py nosetests | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "pypy"
before_install:
- sudo apt-get update
- sudo apt-get install -qq protobuf-compiler
services:
- riak
install:
- pip install -q -e . --use-mirrors
script: python setup.py nosetests
<|file_sep|>current/.travis.ym... | 64d57ed79ae5b99baef74e66c6d26467d217dc62 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main/java/bj/pranie/config/WebSecurityConfig.java.diff
original:
updated:
"/logout",
<|file_sep|>original/src/main/java/bj/pranie/config/WebSecurityConfig.java
"/wm/*/*/*/*",
"/user/registration", "/user/restore",
... | "/images/*",
"/js/*").permitAll()
.anyRequest().authenticated()
.and()
.formLogin()
.loginPage("/login")
.defaultSuccessUrl("/week")
.permitAll()
.and()
... | <|file_sep|>src/main/java/bj/pranie/config/WebSecurityConfig.java.diff
original:
updated:
"/logout",
<|file_sep|>original/src/main/java/bj/pranie/config/WebSecurityConfig.java
"/wm/*/*/*/*",
"/user/registration", "/user/restore",
... | 5716ad069ae89a5468595ecd122de39661bfc101 | src/main/java/bj/pranie/config/WebSecurityConfig.java | src/main/java/bj/pranie/config/WebSecurityConfig.java | Java |
<|file_sep|>original/day-11/day-11.rb
<|file_sep|>current/day-11/day-11.rb
<|file_sep|>updated/day-11/day-11.rb | def char_triple(text)
(0..text.size-3).each do |idx|
ord = text[idx].ord
return true if ord == text[idx + 1].ord - 1 && ord == text[idx + 2].ord - 2
end
false
end
def next_char(char)
case char
when 'h' then 'j'
when 'k' then 'm'
when 'n' then 'p'
when 'z' then 'a'
else (char.ord + 1).chr
e... | <|file_sep|>original/day-11/day-11.rb
<|file_sep|>current/day-11/day-11.rb
<|file_sep|>updated/day-11/day-11.rb
def char_triple(text)
(0..text.size-3).each do |idx|
ord = text[idx].ord
return true if ord == text[idx + 1].ord - 1 && ord == text[idx + 2].ord - 2
end
false
end
def next_char(char)
case ... | e73eae34a0285b6241895339b3527313296db2d4 | day-11/day-11.rb | day-11/day-11.rb | Ruby |
<|file_sep|>README.md.diff
original:
updated:
## Story writing guide
https://github.com/maryrosecook/isla/blob/master/storyenvironmentguide.md
<|file_sep|>original/README.md
Valid story commands, so far:
look
look at myself
go into garden
### Isla REPL:
Navigate to `http://localhost:8801/code`
Enter ... | Navigate to `http://localhost:8801/storytime`
Enter `hear hallway` to play the default story.
Valid story commands, so far:
look
look at myself
go into garden
### Write your own story in the Isla language
Refer to the dedicated guide: https://github.com/maryrosecook/isla/blob/master/storyenvironmentgui... | <|file_sep|>README.md.diff
original:
updated:
## Story writing guide
https://github.com/maryrosecook/isla/blob/master/storyenvironmentguide.md
<|file_sep|>original/README.md
Valid story commands, so far:
look
look at myself
go into garden
### Isla REPL:
Navigate to `http://localhost:8801/code`
Enter ... | aec7ba12b6cee0b4efc04f3c80cc289c54dcca0f | README.md | README.md | Markdown |
<|file_sep|>original/tomcat-setenv.sh
#!/bin/sh
JAVA_OPTS="${JAVA_OPTS} -DconfigFileLocation=/config/frontend-config.properties "
<|file_sep|>current/tomcat-setenv.sh
#!/bin/sh
JAVA_OPTS="${JAVA_OPTS} -DconfigFileLocation=/config/frontend-config.properties "
<|file_sep|>updated/tomcat-setenv.sh | #!/bin/sh
JAVA_OPTS="${JAVA_OPTS} -DconfigFileLocation=/config/frontend-config.properties -Xmx512M" | <|file_sep|>original/tomcat-setenv.sh
#!/bin/sh
JAVA_OPTS="${JAVA_OPTS} -DconfigFileLocation=/config/frontend-config.properties "
<|file_sep|>current/tomcat-setenv.sh
#!/bin/sh
JAVA_OPTS="${JAVA_OPTS} -DconfigFileLocation=/config/frontend-config.properties "
<|file_sep|>updated/tomcat-setenv.sh
#!/bin/sh
JAVA_OPTS="... | cd4bdf074dc58be75b6c8332101a5074fabf53b6 | tomcat-setenv.sh | tomcat-setenv.sh | Shell |
<|file_sep|>packages/sh/shakers.yaml.diff
original:
hash: e5ffa75b82954f21daa40bdc7181e5b47930cd5be4af7b65309283e695a82e81
updated:
hash: e0a9eabcd54c8965337316bbda9270242ee3b6be004accab52eb46591e7c626c
<|file_sep|>packages/sh/shakers.yaml.diff
original:
updated:
- '0.0.15'
<|file_sep|>original/packages/sh/shakers.yam... | all-versions:
- '0.0.0'
- '0.0.2'
- '0.0.3'
- '0.0.4'
- '0.0.5'
- '0.0.6'
- '0.0.7'
- '0.0.8'
- '0.0.9'
- '0.0.10'
- '0.0.11'
- '0.0.12'
- '0.0.13'
- '0.0.14'
- '0.0.15'
author: Swift Navigation Inc.
latest: '0.0.15'
description-type: haddock
description: Primitive helpers for Shake files.
license-name: MIT | <|file_sep|>packages/sh/shakers.yaml.diff
original:
hash: e5ffa75b82954f21daa40bdc7181e5b47930cd5be4af7b65309283e695a82e81
updated:
hash: e0a9eabcd54c8965337316bbda9270242ee3b6be004accab52eb46591e7c626c
<|file_sep|>packages/sh/shakers.yaml.diff
original:
updated:
- '0.0.15'
<|file_sep|>original/packages/sh/shakers.yam... | 599b1756c2d5aed4a16bb5fef68c99eab6c64b05 | packages/sh/shakers.yaml | packages/sh/shakers.yaml | YAML |
<|file_sep|>original/README.md
branches:
- 'SOURCE_BRANCH_NAME'
jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror SOURCE to DEST
steps:
- name: Mirror action step
id: mirror
uses: jyasskin/mirror-branch-action
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
... | branches:
- 'SOURCE_BRANCH_NAME'
jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror SOURCE to DEST
steps:
- name: Mirror action step
id: mirror
uses: google/mirror-branch-action
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: 'SOURCE_BRANCH_NAME'... | <|file_sep|>original/README.md
branches:
- 'SOURCE_BRANCH_NAME'
jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror SOURCE to DEST
steps:
- name: Mirror action step
id: mirror
uses: jyasskin/mirror-branch-action
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
... | c6b07e441a7ffc5ae15860c1d0a8107a3a151db8 | README.md | README.md | Markdown |
<|file_sep|>original/metadata/btools.routingapp.txt
Description:
Sophisticated routing engine for offline cycling directions. Works as a
selectable navigation service within a mapping application like
[[net.osmand.plus]]. Check out the [http://brouter.de/brouter/ website] for a
full description of features.
.
Repo Typ... | Repo Type:git
Repo:https://github.com/abrensch/brouter.git
Build:1.2,6
commit=91c463302eccc47b9d2ada1104abaae948bd90aa
subdir=brouter-routing-app
maven=yes@..
prebuild=sed -i -e '79,81d' pom.xml && \
sed -i -e '44,70d' pom.xml
Build:1.3,7
commit=13ac896b2f33f6d3bb33c37171488834dd9cfb0d
... | <|file_sep|>original/metadata/btools.routingapp.txt
Description:
Sophisticated routing engine for offline cycling directions. Works as a
selectable navigation service within a mapping application like
[[net.osmand.plus]]. Check out the [http://brouter.de/brouter/ website] for a
full description of features.
.
Repo Typ... | 57198d3144a0cb6dfbb68856d0f06430f3e6e89e | metadata/btools.routingapp.txt | metadata/btools.routingapp.txt | Text |
<|file_sep|>web_login_background/doc/index.rst.diff
original:
* From menu ``[[ Settings ]] >> Technical >> Database Structure >> Attachments`` create a new image attachment
* In the attachment form put a checkmark in the "Use as login page background" checkbox and click on ``[Save]`` button
updated:
* add several image... | Installation
============
* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way
Configuration
=============
* `Activate Developer Mode <https://odoo-development.readthedocs.io/en/latest/odoo/usage/debug-mode.html>`__
* add several images:
* Fro... | <|file_sep|>web_login_background/doc/index.rst.diff
original:
* From menu ``[[ Settings ]] >> Technical >> Database Structure >> Attachments`` create a new image attachment
* In the attachment form put a checkmark in the "Use as login page background" checkbox and click on ``[Save]`` button
updated:
* add several image... | 0cb7a89d6b91a4380d51a8b2c589199c73d9529d | web_login_background/doc/index.rst | web_login_background/doc/index.rst | reStructuredText |
<|file_sep|>original/.forestry/settings.yml
---
upload_path: "/uploads/:year:/:month:"
frontmatter_file_url_template: "/uploads/:year:/:month:"
body_file_url_template: "/uploads/:year:/:month:"
new_page_extension: md
auto_deploy: true
admin_path: ''
webhook_url:
collections:
<|file_sep|>current/.forestry/settings.yml... | ---
upload_path: "/uploads/:year:/:month:"
frontmatter_file_url_template: "/uploads/:year:/:month:"
body_file_url_template: "/uploads/:year:/:month:"
new_page_extension: html
auto_deploy: true
admin_path: ''
webhook_url:
collections: | <|file_sep|>original/.forestry/settings.yml
---
upload_path: "/uploads/:year:/:month:"
frontmatter_file_url_template: "/uploads/:year:/:month:"
body_file_url_template: "/uploads/:year:/:month:"
new_page_extension: md
auto_deploy: true
admin_path: ''
webhook_url:
collections:
<|file_sep|>current/.forestry/settings.yml... | 706de25c40eed9adeae9b135838a7625d7927935 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/install.sh
# Bootstrap the environment
echo "####### installing homebrew"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "####### installing git"
brew install git
echo "####### homebrewing the world"
bash ~/.brew
echo "####### python"
pip install ... | ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "####### installing git"
brew install git
echo "####### homebrewing the world"
bash ~/.brew
echo "####### python"
pip install -U pip
pip install -r ~/.requirements.txt
echo "####### installing pipsi"
curl https://raw.gith... | <|file_sep|>original/install.sh
# Bootstrap the environment
echo "####### installing homebrew"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "####### installing git"
brew install git
echo "####### homebrewing the world"
bash ~/.brew
echo "####### python"
pip install ... | a03ea7cb63458f7f57ecc572c62ecc28d649d452 | install.sh | install.sh | Shell |
<|file_sep|>original/wsmaster/che-core-sql-schema/src/main/resources/che-schema/5.0.0-M9/2__update_local_links_in_environments.sql
--
-- Copyright (c) 2012-2016 Codenvy, S.A.
-- All rights reserved. This program and the accompanying materials
-- are made available under the terms of the Eclipse Public License v1.0
-- w... | --
-- Copyright (c) 2012-2016 Codenvy, S.A.
-- All rights reserved. This program and the accompanying materials
-- are made available under the terms of the Eclipse Public License v1.0
-- which accompanies this distribution, and is available at
-- http://www.eclipse.org/legal/epl-v10.html
--
-- Contributors:
-- Coden... | <|file_sep|>original/wsmaster/che-core-sql-schema/src/main/resources/che-schema/5.0.0-M9/2__update_local_links_in_environments.sql
--
-- Copyright (c) 2012-2016 Codenvy, S.A.
-- All rights reserved. This program and the accompanying materials
-- are made available under the terms of the Eclipse Public License v1.0
-- w... | c293b7f82575bd72cb32ba475258a73f313e3bfe | wsmaster/che-core-sql-schema/src/main/resources/che-schema/5.0.0-M9/2__update_local_links_in_environments.sql | wsmaster/che-core-sql-schema/src/main/resources/che-schema/5.0.0-M9/2__update_local_links_in_environments.sql | SQL |
<|file_sep|>original/install.sh
#!/bin/bash
# Instalation steps
source .bin/steps/color_scheme.sh
<|file_sep|>current/install.sh
#!/bin/bash
# Instalation steps
source .bin/steps/color_scheme.sh
<|file_sep|>updated/install.sh | #!/bin/bash
# Install zsh and oh-my-zsh if the first doesn't exist in the system
if ! command -v zsh >/dev/null 2>&1; then
echo "Installing ZSH"
sudo apt-get install zsh
# Make ZSH the default shell
chsh -s $(which zsh)
# Install oh-my-zsh
sh -c "$(curl -fsSLi https://raw.github.com/robbyrussell/oh-my-zs... | <|file_sep|>original/install.sh
#!/bin/bash
# Instalation steps
source .bin/steps/color_scheme.sh
<|file_sep|>current/install.sh
#!/bin/bash
# Instalation steps
source .bin/steps/color_scheme.sh
<|file_sep|>updated/install.sh
#!/bin/bash
# Install zsh and oh-my-zsh if the first doesn't exist in the system
if ! comma... | 562794495c1ad652b51a6e75e8d2cfde5c64e6d4 | install.sh | install.sh | Shell |
<|file_sep|>requirements.txt.diff
original:
django==1.11.24
updated:
django~=1.11.28
<|file_sep|>original/requirements.txt
BeautifulSoup4==4.8.1
django==1.11.24
httplib2==0.13.0
lxml==4.2.6
mysqlclient ==1.3.14
python-dateutil==2.8.0
requests==2.20.0
pyoai==2.5.0
pytest==3.10.1
pytest-django==2.9.1
flake8
pytest-flake8... | BeautifulSoup4==4.8.1
django~=1.11.28
httplib2==0.13.0
lxml==4.2.6
mysqlclient ==1.3.14
python-dateutil==2.8.0
requests==2.20.0
pyoai==2.5.0
pytest==3.10.1
pytest-django==2.9.1
flake8
pytest-flake8
factory_boy
sqlparse==0.3.0
django-debug-toolbar==1.11
git+https://github.com/unt-libraries/codalib@master
git+https://gi... | <|file_sep|>requirements.txt.diff
original:
django==1.11.24
updated:
django~=1.11.28
<|file_sep|>original/requirements.txt
BeautifulSoup4==4.8.1
django==1.11.24
httplib2==0.13.0
lxml==4.2.6
mysqlclient ==1.3.14
python-dateutil==2.8.0
requests==2.20.0
pyoai==2.5.0
pytest==3.10.1
pytest-django==2.9.1
flake8
pytest-flake8... | fcebaf9f5e3d4a1043e1294b8e521a34dbe08da1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/README.md
# device-checkout-app
Simple webapp for tracking usage of company-owned testing devices
### Technology
- angular
- express
### Getting Started
- Setup node modules: ```npm install```
- Run the express server on localhost: ```node app.js```
<|file_sep|>current/README.md
# device-checkou... | # device-checkout-app
Simple webapp for tracking usage of company-owned testing devices
### Technology
- angular
- express
### Getting Started
- Setup node modules: ```npm install```
- Build project: ```npm run build```
- Run the express server on localhost: ```node app.js``` | <|file_sep|>original/README.md
# device-checkout-app
Simple webapp for tracking usage of company-owned testing devices
### Technology
- angular
- express
### Getting Started
- Setup node modules: ```npm install```
- Run the express server on localhost: ```node app.js```
<|file_sep|>current/README.md
# device-checkou... | 5e40ed47a02defcda928b86941bcc64d2a40d11d | README.md | README.md | Markdown |
<|file_sep|>angular_forms/lib/src/directives/normalize_validator.dart.diff
original:
updated:
} else if (validator is Function) {
return validator as ValidatorFn;
<|file_sep|>original/angular_forms/lib/src/directives/normalize_validator.dart
import 'validators.dart' show Validator, ValidatorFn;
ValidatorFn norm... | import 'validators.dart' show Validator, ValidatorFn;
ValidatorFn normalizeValidator(dynamic validator) {
if (validator is Validator) {
return (c) => validator.validate(c);
} else if (validator is Function) {
return validator as ValidatorFn;
} else {
return validator.call as ValidatorFn;
}
} | <|file_sep|>angular_forms/lib/src/directives/normalize_validator.dart.diff
original:
updated:
} else if (validator is Function) {
return validator as ValidatorFn;
<|file_sep|>original/angular_forms/lib/src/directives/normalize_validator.dart
import 'validators.dart' show Validator, ValidatorFn;
ValidatorFn norm... | c62acf0801572559940320035da9bbcca51d8cda | angular_forms/lib/src/directives/normalize_validator.dart | angular_forms/lib/src/directives/normalize_validator.dart | Dart |
<|file_sep|>original/app/controllers/application_controller.rb
request.env['omniauth.origin'] || stored_location_for(resource) || root_path
end
end
protected
def verify_admin
if !user_signed_in? || !current_user.is_admin
raise ActionController::RoutingError.new('Not Found') and return
... | request.env['omniauth.origin'] || stored_location_for(resource) || root_path
end
end
protected
def verify_admin
if !user_signed_in? || !current_user.is_admin
raise ActionController::RoutingError.new('Not Found') and return
end
end
def verify_code_admin
if !user_sign... | <|file_sep|>original/app/controllers/application_controller.rb
request.env['omniauth.origin'] || stored_location_for(resource) || root_path
end
end
protected
def verify_admin
if !user_signed_in? || !current_user.is_admin
raise ActionController::RoutingError.new('Not Found') and return
... | 2054b8e62b96c496104c527e3eb262ab5065403f | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>original/proj/proj/utils/account.py
# coding: utf-8
from flask import session
from ..models import User
def signin_user(user, permenent):
"""Sign in user"""
session.permanent = permenent
session['user_id'] = user.id
def signout_user():
"""Sign out user"""
session.pop('user_id', None)... | # coding: utf-8
from flask import session
from ..models import User
def signin_user(user, permenent=True):
"""Sign in user"""
session.permanent = permenent
session['user_id'] = user.id
def signout_user():
"""Sign out user"""
session.pop('user_id', None)
def get_current_user():
"""获取当前user,... | <|file_sep|>original/proj/proj/utils/account.py
# coding: utf-8
from flask import session
from ..models import User
def signin_user(user, permenent):
"""Sign in user"""
session.permanent = permenent
session['user_id'] = user.id
def signout_user():
"""Sign out user"""
session.pop('user_id', None)... | 6f25ac61617547726ff6410f3095456b98d584eb | proj/proj/utils/account.py | proj/proj/utils/account.py | Python |
<|file_sep|>README.md.diff
original:
# Toshi SOFA App
updated:
# Toshi Casino
<|file_sep|>original/README.md
When ready, fork this repo and deploy it to Heroku.
[](https://heroku.com/deploy)
Then check out [`src/bot.js`](src/bot.js) to start changing the bot logic... | # Toshi Casino
Icon based on work by [Roundicons][https://www.flaticon.com/authors/roundicons] from [www.flaticon.com].
## See also
* [https://www.toshi.org] | <|file_sep|>README.md.diff
original:
# Toshi SOFA App
updated:
# Toshi Casino
<|file_sep|>original/README.md
When ready, fork this repo and deploy it to Heroku.
[](https://heroku.com/deploy)
Then check out [`src/bot.js`](src/bot.js) to start changing the bot logic... | 898aa8f2634b8ce22c3964730ab989ca5997b365 | README.md | README.md | Markdown |
<|file_sep|>original/scripts/backupslides.sh
fi
destination=backup_slides.tex
> $destination
for found in `find $figs -name "*.pdf" | rev | sort | rev`
do
f=${found##$figs/}
if grep $f *.tex > /dev/null
then
continue
fi
title=${f%%.pdf}
echo "\begin{frame}" >> $destination
echo " ... | fi
destination=backup_slides.tex
> $destination
for found in `find $figs -name "*.pdf" | rev | sort | rev`
do
f=${found##$figs/}
if grep $f *.tex > /dev/null
then
continue
fi
title=${f%%.pdf}
echo "\begin{frame}" >> $destination
echo " \frametitle{\small ${title//_/\\_}}" >> $de... | <|file_sep|>original/scripts/backupslides.sh
fi
destination=backup_slides.tex
> $destination
for found in `find $figs -name "*.pdf" | rev | sort | rev`
do
f=${found##$figs/}
if grep $f *.tex > /dev/null
then
continue
fi
title=${f%%.pdf}
echo "\begin{frame}" >> $destination
echo " ... | b5cfadff80470467c9b856fadb394023f35a397d | scripts/backupslides.sh | scripts/backupslides.sh | Shell |
<|file_sep|>original/custom/aliases.zsh
# colordiff
# color config ~/.colordiffrc
# require: export LESS="-R"
alias diff='colordiff -u'
# gitsh
alias gs='gitsh'
<|file_sep|>current/custom/aliases.zsh
# colordiff
# color config ~/.colordiffrc
# require: export LESS="-R"
alias diff='colordiff -u'
# gitsh
alias gs='gits... | # colordiff
# color config ~/.colordiffrc
# require: export LESS="-R"
alias diff='colordiff -u'
# gitsh
alias gs='gitsh'
# tmux
alias tsk='tmux send-keys' | <|file_sep|>original/custom/aliases.zsh
# colordiff
# color config ~/.colordiffrc
# require: export LESS="-R"
alias diff='colordiff -u'
# gitsh
alias gs='gitsh'
<|file_sep|>current/custom/aliases.zsh
# colordiff
# color config ~/.colordiffrc
# require: export LESS="-R"
alias diff='colordiff -u'
# gitsh
alias gs='gits... | 48c084afda3e57a4b25dd26dd09bfd8b35110466 | custom/aliases.zsh | custom/aliases.zsh | Shell |
<|file_sep|>original/static/locales/sl/messages.properties
navigation-toggle=Preklopi navigacijo
navigation-title=Pontoon Intro
navigation-what=Kaj
navigation-how=Kako
navigation-more=Več
navigation-developers=Razvijalci
# Header
call-to-action=Več o tem
# What
# How
save=Shranite
# More
# Developers
# Footer
<|... | navigation-title=Pontoon Intro
navigation-what=Kaj
navigation-how=Kako
navigation-more=Več
navigation-developers=Razvijalci
# Header
call-to-action=Več o tem
# What
what-title=Kaj je Pontoon?
# How
save=Shranite
# More
# Developers
# Footer
| <|file_sep|>original/static/locales/sl/messages.properties
navigation-toggle=Preklopi navigacijo
navigation-title=Pontoon Intro
navigation-what=Kaj
navigation-how=Kako
navigation-more=Več
navigation-developers=Razvijalci
# Header
call-to-action=Več o tem
# What
# How
save=Shranite
# More
# Developers
# Footer
<|... | 0c790ca73bc4489585270e186d7422097828d96c | static/locales/sl/messages.properties | static/locales/sl/messages.properties | INI |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7.0
- hhvm
install: composer install
<|file_sep|>current/.travis.yml
language: php
php:
- 5.6
- 7.0
- hhvm
install: composer install
<|file_sep|>updated/.travis.yml | language: php
php:
- 5.6
- 7.0
- hhvm
install: composer install
script: ./vendor/bin/phpunit | <|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7.0
- hhvm
install: composer install
<|file_sep|>current/.travis.yml
language: php
php:
- 5.6
- 7.0
- hhvm
install: composer install
<|file_sep|>updated/.travis.yml
language: php
php:
- 5.6
- 7.0
- hhvm
install: composer install
script... | 95c378ee0b5fb7e8e79d0d6196b29ab56c65cd18 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/ci_scripts/db/postgres-prepare.sh.diff
original:
export DB_USER=wirecloud_ci
export DB_NAME=${DB_USER}
updated:
export DB_USER=postgres
export DB_NAME=wirecloud_ci
<|file_sep|>src/ci_scripts/db/postgres-prepare.sh.diff
original:
createuser -U postgres -h ${DB_HOST} -p ${DB_PORT} ${DB_USER}
updated:
<|f... | export DB_USER=postgres
export DB_NAME=wirecloud_ci
pip install psycopg2
createdb -U postgres -h ${DB_HOST} -p ${DB_PORT} -O ${DB_USER} ${DB_NAME}
cat ${WORKSPACE}/src/ci_scripts/db/postgres-conf.template >> $1/settings.py | <|file_sep|>src/ci_scripts/db/postgres-prepare.sh.diff
original:
export DB_USER=wirecloud_ci
export DB_NAME=${DB_USER}
updated:
export DB_USER=postgres
export DB_NAME=wirecloud_ci
<|file_sep|>src/ci_scripts/db/postgres-prepare.sh.diff
original:
createuser -U postgres -h ${DB_HOST} -p ${DB_PORT} ${DB_USER}
updated:
<|f... | 4c57b783fe25b5e399d3d33d2fb9fbe9c0a9a4c5 | src/ci_scripts/db/postgres-prepare.sh | src/ci_scripts/db/postgres-prepare.sh | Shell |
<|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1",
"typings": "typings"
},
"author": "",
"license": "MIT",
"devDependencies": {
"awesome-typescript-loader": "^3.1.3",
"clean-webpack-plugin": "^0.1.16",
"git-rev-sync": "^1.9.1",
"lodash": "^3.10.1",
... | "test": "echo \"Error: no test specified\" && exit 1",
"typings": "typings"
},
"author": "",
"license": "MIT",
"devDependencies": {
"awesome-typescript-loader": "^3.1.3",
"clean-webpack-plugin": "^0.1.16",
"git-rev-sync": "^1.9.1",
"lodash": "^3.10.1",
"screeps-webpack-plugin": "git:... | <|file_sep|>original/package.json
"test": "echo \"Error: no test specified\" && exit 1",
"typings": "typings"
},
"author": "",
"license": "MIT",
"devDependencies": {
"awesome-typescript-loader": "^3.1.3",
"clean-webpack-plugin": "^0.1.16",
"git-rev-sync": "^1.9.1",
"lodash": "^3.10.1",
... | ba879761ccb4044d399c0a837ac294bf9705f4fd | package.json | package.json | JSON |
<|file_sep|>spec/cloudflare_localizable_spec.rb.diff
original:
def initialize(country_code: nil)
updated:
def initialize(country_code = nil)
<|file_sep|>spec/cloudflare_localizable_spec.rb.diff
original:
controller = MockController.new(country_code: 'XX')
updated:
controller = MockController.new('XX')
<... | end
it 'returns Unknown country if the country code is "XX"' do
controller = MockController.new('XX')
expect(controller.cf_country.name).to eq('Unknown')
expect(controller.cf_country.code).to eq('XX')
end
it 'returns the correct country information' do
controller = MockController.new('BB')
... | <|file_sep|>spec/cloudflare_localizable_spec.rb.diff
original:
def initialize(country_code: nil)
updated:
def initialize(country_code = nil)
<|file_sep|>spec/cloudflare_localizable_spec.rb.diff
original:
controller = MockController.new(country_code: 'XX')
updated:
controller = MockController.new('XX')
<... | 8fd6e96126a6fb818a70b0e93da536e823ba8735 | spec/cloudflare_localizable_spec.rb | spec/cloudflare_localizable_spec.rb | Ruby |
<|file_sep|>original/src/app/productOverview/productOverview.component.html
<div class="card" style="cursor:pointer;cursor:hand;">
<div class="card-image" (click)="openProductDetails()">
<img class="product-image" [src]="productService.getLogoUrl(product)">
</div>
<div class="card-content" (click)="openProduc... | <div class="card" style="cursor:pointer;cursor:hand;">
<div class="card-image" (click)="openProductDetails()">
<img class="product-image" [src]="productService.getLogoUrl(product)">
</div>
<div class="card-content" (click)="openProductDetails()">
<span class="product-title">{{product.title}}</span>
<s... | <|file_sep|>original/src/app/productOverview/productOverview.component.html
<div class="card" style="cursor:pointer;cursor:hand;">
<div class="card-image" (click)="openProductDetails()">
<img class="product-image" [src]="productService.getLogoUrl(product)">
</div>
<div class="card-content" (click)="openProduc... | e9dcca0be18f3020cd92cc166f8a98c61753c64d | src/app/productOverview/productOverview.component.html | src/app/productOverview/productOverview.component.html | HTML |
<|file_sep|>original/scrape.py
messageCount = 0
channel = discord.Object(id=args.channel)
print("Scraping messages... Don't send any messages while scraping!")
with tqdm(leave=True,unit=' messages') as scraped:
async for msg in client.logs_from(channel, 10000000000):
line = "{} - {... |
messageCount = 0
channel = discord.Object(id=args.channel)
print("Scraping messages... Don't send any messages while scraping!")
with tqdm(leave=True,unit=' messages') as scraped:
async for msg in client.logs_from(channel, 10000000000):
line = "{} - {} - {}".format(msg.timestamp,ms... | <|file_sep|>original/scrape.py
messageCount = 0
channel = discord.Object(id=args.channel)
print("Scraping messages... Don't send any messages while scraping!")
with tqdm(leave=True,unit=' messages') as scraped:
async for msg in client.logs_from(channel, 10000000000):
line = "{} - {... | 186a2c3f235264c3c71396efcbb8a33924758db9 | scrape.py | scrape.py | Python |
<|file_sep|>original/recipes/pycrlibm/meta.yaml
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 48e17981f90d69c6bb0013f68bacbe7a157de864a533d15dd196ca7e98348a35
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
... |
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 48e17981f90d69c6bb0013f68bacbe7a157de864a533d15dd196ca7e98348a35
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
build:
- {{ compiler('c') }}
host:
- python
... | <|file_sep|>original/recipes/pycrlibm/meta.yaml
source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 48e17981f90d69c6bb0013f68bacbe7a157de864a533d15dd196ca7e98348a35
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
host:
... | aa94fb47034369eb474db56a0fffc768c9e37c8b | recipes/pycrlibm/meta.yaml | recipes/pycrlibm/meta.yaml | YAML |
<|file_sep|>original/README.md
## 분야
`ModPE 스크립트`, `PTPatch 모드`, `PMMP 플러그인`
## 팀장
- Chalk (amato17)
## 팀원
- CRAFTER (twjun0212)
- Dark (angello10)
- DeBe (huu6677)
- hm (hmkuak)
- You (cksdid726)
- 네더TNT (canghaun)
- 레몬차 (ska827)
- 멸종위기의 AB형 (ehddnjs9719)
- 시니 (ok93520)
- 아보카도맨 (colombia2)
- 여흥 (minkw0927)
- 우유맛비누 (... | # if(Team);
MCPE Korea Official Developers' Team
 | <|file_sep|>original/README.md
## 분야
`ModPE 스크립트`, `PTPatch 모드`, `PMMP 플러그인`
## 팀장
- Chalk (amato17)
## 팀원
- CRAFTER (twjun0212)
- Dark (angello10)
- DeBe (huu6677)
- hm (hmkuak)
- You (cksdid726)
- 네더TNT (canghaun)
- 레몬차 (ska827)
- 멸종위기의 AB형 (ehddnjs9719)
- 시니 (ok93520)
- 아보카도맨 (colombia2)
- 여흥 (minkw0927)
- 우유맛비누 (... | 60fb4199a260f79851aac6784a2a6e152639a5cb | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- "iojs"
updated:
- "4.0"
- "4.1"
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
- "iojs"
before_install:
- travis_retry npm install -g npm
- travis_retry npm install
script:
- npm test
notifications:
emai... | - "0.8"
- "0.10"
- "0.12"
- "4.0"
- "4.1"
before_install:
- travis_retry npm install -g npm
- travis_retry npm install
matrix:
allow_failures:
- node_js: "0.8"
script:
- npm test
notifications:
email:
- travis@nodejitsu.com
| <|file_sep|>.travis.yml.diff
original:
- "iojs"
updated:
- "4.0"
- "4.1"
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
- "iojs"
before_install:
- travis_retry npm install -g npm
- travis_retry npm install
script:
- npm test
notifications:
emai... | 851f1dbbd1cc8e5d54a3401f17508eec8d321bf6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/cla.yml
<|file_sep|>current/.github/workflows/cla.yml
<|file_sep|>updated/.github/workflows/cla.yml | name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,synchronize]
jobs:
CLAssistant:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Doc... | <|file_sep|>original/.github/workflows/cla.yml
<|file_sep|>current/.github/workflows/cla.yml
<|file_sep|>updated/.github/workflows/cla.yml
name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,synchronize]
jobs:
CLAssistant:
runs-on: ubuntu-latest
steps:
... | f352b4b789df77ea82875df7c06c8a4a93e0215c | .github/workflows/cla.yml | .github/workflows/cla.yml | YAML |
<|file_sep|>original/README.md
# draft-js-exporter
A module to export and format the content from the React Draft.js framework.
**NOT YET ON npm coming soon**
This is an early version of an export module.
The goal is to provide a modular structure to select the format to export.
Actually there is an early HTML forma... | A module to export and format the content from the React Draft.js framework.
**NOT YET ON npm coming soon**
This is an early version of an export module.
The goal is to provide a modular structure to select the format to export.
Actually there is an early HTML formatter that support `BOLD` and `ITALIC` inline styles... | <|file_sep|>original/README.md
# draft-js-exporter
A module to export and format the content from the React Draft.js framework.
**NOT YET ON npm coming soon**
This is an early version of an export module.
The goal is to provide a modular structure to select the format to export.
Actually there is an early HTML forma... | c85813a22adf09c5db94d08816343dba641141dd | README.md | README.md | Markdown |
<|file_sep|>original/_posts/2014-01-13-checksum.md
<|file_sep|>current/_posts/2014-01-13-checksum.md
<|file_sep|>updated/_posts/2014-01-13-checksum.md | ---
layout: default
title: "Checksum av data"
date: "2014-01-13 11:11:36 +0100"
author: Hans Kristian
version: 1.0.0
categories: [datastandard, bilder, steder, områder, turer, grupper]
link: /data/turer.html
---
Nytt felt `checksum` er nå lagt til i alle datastandarder og fylles automatisk
ut av Nasjonal Turbase.
| <|file_sep|>original/_posts/2014-01-13-checksum.md
<|file_sep|>current/_posts/2014-01-13-checksum.md
<|file_sep|>updated/_posts/2014-01-13-checksum.md
---
layout: default
title: "Checksum av data"
date: "2014-01-13 11:11:36 +0100"
author: Hans Kristian
version: 1.0.0
categories: [datastandard, bilder, steder, områder... | 3d729248449b0e160be98b74ec7cb3b9e7694933 | _posts/2014-01-13-checksum.md | _posts/2014-01-13-checksum.md | Markdown |
<|file_sep|>original/android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java
@Override
public List<NativeModule> createNativeModules(
ReactApplicationContext reactContext) {
List<NativeModule> modules = new ArrayList<>();
modules.add(new ContactsManager(reactCo... |
@Override
public List<NativeModule> createNativeModules(
ReactApplicationContext reactContext) {
List<NativeModule> modules = new ArrayList<>();
modules.add(new ContactsManager(reactContext));
return modules;
}
public List<Class<? extends JavaScriptModule>> createJ... | <|file_sep|>original/android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java
@Override
public List<NativeModule> createNativeModules(
ReactApplicationContext reactContext) {
List<NativeModule> modules = new ArrayList<>();
modules.add(new ContactsManager(reactCo... | 95a5f87ff5904a24457b1b15abf9da3043b322e0 | android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java | android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java | Java |
<|file_sep|>original/.travis.yml
language: nodejs
node_js:
- "4.1"
before_install:
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/debian wheezy ... | language: nodejs
node_js:
- "4.1"
before_install:
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources... | <|file_sep|>original/.travis.yml
language: nodejs
node_js:
- "4.1"
before_install:
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http://download.mono-project.com/repo/debian wheezy ... | df1dd046d904a3a61081c675a59b1dd34ba61862 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/modules/govuk/spec/defines/govuk_app_spec.rb
require_relative '../../../../spec_helper'
describe 'govuk::app', :type => :define do
let(:title) { 'planner' }
let(:params) {{
"port" => 8080,
}}
it { should contain_file('/var/run/planner') }
end
<|file_sep|>current/modules/govuk/spec/defi... | require_relative '../../../../spec_helper'
describe 'govuk::app', :type => :define do
let(:title) { 'giraffe' }
context 'with no params' do
it do
expect {
should contain_file('/var/apps/giraffe')
}.to raise_error(Puppet::Error, /Must pass type/)
end
end
context 'with good params' ... | <|file_sep|>original/modules/govuk/spec/defines/govuk_app_spec.rb
require_relative '../../../../spec_helper'
describe 'govuk::app', :type => :define do
let(:title) { 'planner' }
let(:params) {{
"port" => 8080,
}}
it { should contain_file('/var/run/planner') }
end
<|file_sep|>current/modules/govuk/spec/defi... | 255727a0c1c45bbef7d6c3f958117b3bc102df6e | modules/govuk/spec/defines/govuk_app_spec.rb | modules/govuk/spec/defines/govuk_app_spec.rb | Ruby |
<|file_sep|>original/packages/se/servant-polysemy.yaml
<|file_sep|>current/packages/se/servant-polysemy.yaml
<|file_sep|>updated/packages/se/servant-polysemy.yaml | homepage: https://github.com/AJChapman/servant-polysemy#readme
changelog-type: markdown
hash: e8334ac3c65c51c8a964ab594ab60a5c9132aeba9950afa8f786681a4e2e6f91
test-bench-deps: {}
maintainer: alex@farfromthere.net
synopsis: Utilities for using servant in a polysemy stack
changelog: |
# Revision history for servant-pol... | <|file_sep|>original/packages/se/servant-polysemy.yaml
<|file_sep|>current/packages/se/servant-polysemy.yaml
<|file_sep|>updated/packages/se/servant-polysemy.yaml
homepage: https://github.com/AJChapman/servant-polysemy#readme
changelog-type: markdown
hash: e8334ac3c65c51c8a964ab594ab60a5c9132aeba9950afa8f786681a4e2e6... | 793a0837130174afcf9dd26cadf1bbdf99663ead | packages/se/servant-polysemy.yaml | packages/se/servant-polysemy.yaml | YAML |
<|file_sep|>original/ojwt.podspec
Inspired by by https://github.com/auth0/node-jsonwebtoken to allow iDevices(iOS and Mac)
an easy to use Framework. This pod allow for easy integration of JSON Web Tokens into
Objective-C and Swift applications.
... | Inspired by by https://github.com/auth0/node-jsonwebtoken to allow iDevices(iOS and Mac)
an easy to use Framework. This pod allow for easy integration of JSON Web Tokens into
Objective-C and Swift applications.
DESC
s.homepage = "https:/... | <|file_sep|>original/ojwt.podspec
Inspired by by https://github.com/auth0/node-jsonwebtoken to allow iDevices(iOS and Mac)
an easy to use Framework. This pod allow for easy integration of JSON Web Tokens into
Objective-C and Swift applications.
... | ca18c26464fca3b8e09ebc74a249d57e78f8f65d | ojwt.podspec | ojwt.podspec | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.