prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
script:
- python tests.py
<|file_sep|>current/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
script:
- python tests.py
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
script:
- python tests.py | <|file_sep|>original/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
script:
- python tests.py
<|file_sep|>current/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
script:
- python tests.py
<|file_sep|>updated/.travis.yml
language: python
... | 8ffaf53fc27cdc03c62da4c2dcd96085b578bb76 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/profile.d/50_docker.sh
<|file_sep|>current/profile.d/50_docker.sh
<|file_sep|>updated/profile.d/50_docker.sh | #!/bin/sh -e
if [ $( uname -s ) = Darwin ]; then
for each in "/Applications/Docker.app/Contents/Resources/etc/*.bash-completion"; do
. $each
done
fi | <|file_sep|>original/profile.d/50_docker.sh
<|file_sep|>current/profile.d/50_docker.sh
<|file_sep|>updated/profile.d/50_docker.sh
#!/bin/sh -e
if [ $( uname -s ) = Darwin ]; then
for each in "/Applications/Docker.app/Contents/Resources/etc/*.bash-completion"; do
. $each
done
fi | 74546ef02fdf727afcdc5778cf7e424118b4be8b | profile.d/50_docker.sh | profile.d/50_docker.sh | Shell |
<|file_sep|>original/scripts/deployOnYarn.sh
<|file_sep|>current/scripts/deployOnYarn.sh
<|file_sep|>updated/scripts/deployOnYarn.sh | #!/bin/bash
numberOfArgs=$#
# Yarn configs
numberOfTaskManger=8
taskMangerMemory=15360
processingSlots=8
# Pull code changes
git pull
# Build the project
mvn clean package
projectWorkDir=$(pwd)
# Get the flink dir and parallelism from the config.properties file | <|file_sep|>original/scripts/deployOnYarn.sh
<|file_sep|>current/scripts/deployOnYarn.sh
<|file_sep|>updated/scripts/deployOnYarn.sh
#!/bin/bash
numberOfArgs=$#
# Yarn configs
numberOfTaskManger=8
taskMangerMemory=15360
processingSlots=8
# Pull code changes
git pull
# Build the project
mvn clean package
pro... | 9b46586fcb793594eb9c6e40d40dd1513aa8d93a | scripts/deployOnYarn.sh | scripts/deployOnYarn.sh | Shell |
<|file_sep|>original/functions/fonts.install.fish
if set tmpdir (mktemp -d "/tmp/font-$name.XXXXXX" ^&-)
if wget -P $tmpdir -q --show-progress -- (__fonts.repo.urls "$name")
echo 'Fonts downloaded with success'
else
echo 'Failed downloading font file'
return 1
end
basename $tmpdir/*... | if set tmpdir (mktemp -d "/tmp/font-$name.XXXXXX" ^&-)
if wget -P $tmpdir -q --show-progress -- (__fonts.repo.urls "$name")
echo 'Fonts downloaded with success'
else
echo 'Failed downloading font file'
return 1
end
basename $tmpdir/* > $FONTS_CONFIG/$name
mkdir -p $FONTS_PATH
... | <|file_sep|>original/functions/fonts.install.fish
if set tmpdir (mktemp -d "/tmp/font-$name.XXXXXX" ^&-)
if wget -P $tmpdir -q --show-progress -- (__fonts.repo.urls "$name")
echo 'Fonts downloaded with success'
else
echo 'Failed downloading font file'
return 1
end
basename $tmpdir/*... | 93d40db2b62c59753c4e08f64e6efa3e2bde2585 | functions/fonts.install.fish | functions/fonts.install.fish | fish |
<|file_sep|>original/tee.qbs
import qbs
DynamicLibrary {
name: "tee"
Depends { name: "cpp" }
cpp.includePaths: ["include"]
cpp.dynamicLibraries: ["uuid", "rt", "crypt"]
Export {
Depends { name: "cpp" }
cpp.includePaths: "include"
}
files: ["include/tee_client_api.h", "incl... | import qbs
DynamicLibrary {
name: "tee"
Depends { name: "cpp" }
cpp.includePaths: ["include"]
cpp.dynamicLibraries: ["uuid", "rt", "crypt"]
destinationDirectory: '.'
Export {
Depends { name: "cpp" }
cpp.includePaths: "include"
}
files: ["include/tee_client_api.h", "in... | <|file_sep|>original/tee.qbs
import qbs
DynamicLibrary {
name: "tee"
Depends { name: "cpp" }
cpp.includePaths: ["include"]
cpp.dynamicLibraries: ["uuid", "rt", "crypt"]
Export {
Depends { name: "cpp" }
cpp.includePaths: "include"
}
files: ["include/tee_client_api.h", "incl... | ccf9db16a31ad5c4ddee308a538c70ffe0d9ba33 | tee.qbs | tee.qbs | QML |
<|file_sep|>original/requirements/base.txt
beautifulsoup4==4.6.0
boto3==1.7.37
django==1.11.13 # pyup: >=1.11,<2.0
django-cors-headers==2.2.0
django-extensions==2.0.7
django-filter==1.1.0
django-formtools==2.1
django-markdown-app==0.9.3.1 # pyup: >=0.9.3.1,<0.9.4
django-model-utils==3.1.2
django-storages==1.6.6
djangor... | beautifulsoup4==4.6.0
boto3==1.7.45
django==1.11.13 # pyup: >=1.11,<2.0
django-cors-headers==2.2.0
django-extensions==2.0.7
django-filter==1.1.0
django-formtools==2.1
django-markdown-app==0.9.3.1 # pyup: >=0.9.3.1,<0.9.4
django-model-utils==3.1.2
django-storages==1.6.6
djangorestframework==3.7.7
djangorestframework-gis... | <|file_sep|>original/requirements/base.txt
beautifulsoup4==4.6.0
boto3==1.7.37
django==1.11.13 # pyup: >=1.11,<2.0
django-cors-headers==2.2.0
django-extensions==2.0.7
django-filter==1.1.0
django-formtools==2.1
django-markdown-app==0.9.3.1 # pyup: >=0.9.3.1,<0.9.4
django-model-utils==3.1.2
django-storages==1.6.6
djangor... | a626e6fb010c2c9fbbecb3f44b5aaae25a82d85d | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/app/js/directives.js
app.directive('film', function() {
return{
restrict: 'E',
controller: function($scope){
$scope.genres = [];
this.addGenres = function(genres){
$scope.genres = $scope.genres.concat(genres);
};
... | app.directive('film', function() {
return{
restrict: 'E',
scope: {},
controller: function($scope){
$scope.genres = [];
this.addGenres = function(genres){
$scope.genres = $scope.genres.concat(genres);
};
},
link:... | <|file_sep|>original/app/js/directives.js
app.directive('film', function() {
return{
restrict: 'E',
controller: function($scope){
$scope.genres = [];
this.addGenres = function(genres){
$scope.genres = $scope.genres.concat(genres);
};
... | b836bd715d81f074008b2e25dcd7291e0da3b051 | app/js/directives.js | app/js/directives.js | JavaScript |
<|file_sep|>src/startup/test/startup-spec.js.diff
original:
describe('start up', () => {
updated:
describe('start up', function() {
<|file_sep|>src/startup/test/startup-spec.js.diff
original:
updated:
<|file_sep|>original/src/startup/test/startup-spec.js
location: {hash: ''}
};
global.localStorage = {
getItem: f... |
describe('start up', function() {
it('remove kata from the hash', () => {
global.window.location.hash = '#?kata=somekata';
startUp(noop, (_, _1, onSuccess) => onSuccess(''));
assert.equal(global.window.location.hash, '#?');
});
it('if there is no kata in the URL get it from localStorage', functio... | <|file_sep|>src/startup/test/startup-spec.js.diff
original:
describe('start up', () => {
updated:
describe('start up', function() {
<|file_sep|>src/startup/test/startup-spec.js.diff
original:
updated:
<|file_sep|>original/src/startup/test/startup-spec.js
location: {hash: ''}
};
global.localStorage = {
getItem: f... | be139785ee1b3d8fe4ca35f8f019acb350301213 | src/startup/test/startup-spec.js | src/startup/test/startup-spec.js | JavaScript |
<|file_sep|>app/views/admin/markdown/_index.html.haml.diff
original:
## Lists
updated:
Lists
--------
<|file_sep|>app/views/admin/markdown/_index.html.haml.diff
original:
## Paragraphs
updated:
Paragraphs
----------
<|file_sep|>original/app/views/admin/markdown/_index.html.haml
* list
Numbered list... | You separate paragraphs with an empty new line:
This is one paragraph.
This is another paragraph.
To make a line break (without making a new paragraph), use `<br>`:
This is one line<br>
Which I wanted to break.
Quotations
----------
In order to make a quotation, put a ">" in the ... | <|file_sep|>app/views/admin/markdown/_index.html.haml.diff
original:
## Lists
updated:
Lists
--------
<|file_sep|>app/views/admin/markdown/_index.html.haml.diff
original:
## Paragraphs
updated:
Paragraphs
----------
<|file_sep|>original/app/views/admin/markdown/_index.html.haml
* list
Numbered list... | 0dd024ece2ac11fd26640682e416e7569792eb9c | app/views/admin/markdown/_index.html.haml | app/views/admin/markdown/_index.html.haml | Haml |
<|file_sep|>C++/CodingStandard.md.diff
original:
### 1. There will be a space before an if/for condition
#### Correct
```
if (condition)
{
}
```
```
for (condition)
{
}
```
```
while (condition)
{
}
```
```
do
{
} while (condition);
```
### 2. Empty brackets shall contain a single empty line between them
#### Corre... | # Toolbox C++ Coding Standard
A few rules to follow while developing with C++17.
## Control Flow
- 1. There will be a space before an if/for condition.
```
if (condition)
{
}
```
```
for (condition)
{
}
```
```
while (condition)
{
| <|file_sep|>C++/CodingStandard.md.diff
original:
### 1. There will be a space before an if/for condition
#### Correct
```
if (condition)
{
}
```
```
for (condition)
{
}
```
```
while (condition)
{
}
```
```
do
{
} while (condition);
```
### 2. Empty brackets shall contain a single empty line between them
#### Corre... | f14dce5024a870cd199a44c21a21875e60670de0 | C++/CodingStandard.md | C++/CodingStandard.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.12"
- iojs
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob buil... | sudo: false
language: node_js
node_js:
- "0.11"
- "0.10"
- "0.12"
- iojs
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.12"
- iojs
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob buil... | 5e624e60ace50f3ebf1832cd26cc4086281f74c2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/testers/unittests/test_ast_deep.py
<|file_sep|>current/src/testers/unittests/test_ast_deep.py
<|file_sep|>updated/src/testers/unittests/test_ast_deep.py | import unittest
from triton import *
DEPTH = 10000
class TestDeep(unittest.TestCase):
def setUp(self):
"""Define the arch."""
self.triton = TritonContext()
self.triton.setArchitecture(ARCH.X86_64)
self.ctx = self.triton.getAstContext()
sym_var = self.ctx.variable(self.tr... | <|file_sep|>original/src/testers/unittests/test_ast_deep.py
<|file_sep|>current/src/testers/unittests/test_ast_deep.py
<|file_sep|>updated/src/testers/unittests/test_ast_deep.py
import unittest
from triton import *
DEPTH = 10000
class TestDeep(unittest.TestCase):
def setUp(self):
"""Define the arch.""... | 64c21a3e01d50cdc6a719f0e4e48f925d5dd9e03 | src/testers/unittests/test_ast_deep.py | src/testers/unittests/test_ast_deep.py | Python |
<|file_sep|>original/pmg/templates/saved_search_alert.html
<p>
Dear *|NAME|*,
</p>
<p>
We found <b>{{ results|length }} newly updated item{% if results|length > 0 %}s{% endif %}</b> for your search
<a href="{{ search.url(_external=True) }}">{{ search.search }}</a>{%
if search.content_type %} in {{ search.friendly_cont... | <p>
Dear *|NAME|*,
</p>
<p>
We found <b>{{ results|length }} recently updated item{% if results|length > 1 %}s{% endif %}</b> for your search
<a href="{{ search.url(_external=True) }}">{{ search.search }}</a>{%
if search.content_type %} in {{ search.friendly_content_type }}{% endif %}:
</p>
<ul>
{% for result in resu... | <|file_sep|>original/pmg/templates/saved_search_alert.html
<p>
Dear *|NAME|*,
</p>
<p>
We found <b>{{ results|length }} newly updated item{% if results|length > 0 %}s{% endif %}</b> for your search
<a href="{{ search.url(_external=True) }}">{{ search.search }}</a>{%
if search.content_type %} in {{ search.friendly_cont... | 13dfa3f5328a6e763a85bbed66a4205c51ea3136 | pmg/templates/saved_search_alert.html | pmg/templates/saved_search_alert.html | HTML |
<|file_sep|>original/tools/release_win.bat
PATH=C:\python26;C:\progra~2\7-zip;%PATH%
del /q /s dist\*.*
python setup.py py2exe
cd dist
7z d library.zip jinja2\* dns\* 'graphy\*
7z a namebench_for_Windows.zip -r *
namebench -x -O 8.8.8.8 -t5 -o test.html
start test.html
cd ..
<|file_sep|>current/tools/release_win.bat
P... | PATH=C:\python26;C:\progra~2\7-zip;%PATH%
del /q /s dist\*.*
python setup.py py2exe
cd dist
7z d library.zip jinja2\* dns\* 'graphy\*
del /s w9xpopen.exe
copy ..\README.txt .
7z a namebench_for_Windows.zip -r *
namebench -x -O 8.8.8.8 -t5 -o test.html
start test.html
cd .. | <|file_sep|>original/tools/release_win.bat
PATH=C:\python26;C:\progra~2\7-zip;%PATH%
del /q /s dist\*.*
python setup.py py2exe
cd dist
7z d library.zip jinja2\* dns\* 'graphy\*
7z a namebench_for_Windows.zip -r *
namebench -x -O 8.8.8.8 -t5 -o test.html
start test.html
cd ..
<|file_sep|>current/tools/release_win.bat
P... | d81933531593bad7e9263a9a01b8b1aa34281f8a | tools/release_win.bat | tools/release_win.bat | Batchfile |
<|file_sep|>puyocore/src/lib.rs.diff
original:
#[cfg(target_feature = "avx2")]
updated:
#[cfg(all(target_feature = "avx2", target_feature="bmi2"))]
<|file_sep|>original/puyocore/src/lib.rs
#![feature(platform_intrinsics)]
#![feature(simd, simd_ffi, link_llvm_intrinsics)]
#![feature(cfg_target_feature)]
extern crate ra... | #![feature(simd, simd_ffi, link_llvm_intrinsics)]
#![feature(cfg_target_feature)]
extern crate rand;
extern crate x86intrin;
pub mod color;
pub mod decision;
pub mod field;
mod field_bit;
#[cfg(all(target_feature = "avx2", target_feature="bmi2"))]
mod field_bit_256;
pub mod field_checker;
pub mod frame;
pub mod kumip... | <|file_sep|>puyocore/src/lib.rs.diff
original:
#[cfg(target_feature = "avx2")]
updated:
#[cfg(all(target_feature = "avx2", target_feature="bmi2"))]
<|file_sep|>original/puyocore/src/lib.rs
#![feature(platform_intrinsics)]
#![feature(simd, simd_ffi, link_llvm_intrinsics)]
#![feature(cfg_target_feature)]
extern crate ra... | 90b23ac320e17bc71458d298d6472c80b661fe9e | puyocore/src/lib.rs | puyocore/src/lib.rs | Rust |
<|file_sep|>docs/index.rst.diff
original:
extended_tweets.rst
updated:
<|file_sep|>original/docs/index.rst
Contents:
.. toctree::
:maxdepth: 2
install.rst
getting_started.rst
auth_tutorial.rst
code_snippet.rst
cursor_tutorial.rst
extended_tweets.rst
streaming_how_to.rst
api.rst
exce... | Contents:
.. toctree::
:maxdepth: 2
install.rst
getting_started.rst
auth_tutorial.rst
code_snippet.rst
cursor_tutorial.rst
streaming_how_to.rst
api.rst
exceptions.rst
extended_tweets.rst
running_tests.rst
Indices and tables
==================
* :ref:`genindex`
* :ref:`search` | <|file_sep|>docs/index.rst.diff
original:
extended_tweets.rst
updated:
<|file_sep|>original/docs/index.rst
Contents:
.. toctree::
:maxdepth: 2
install.rst
getting_started.rst
auth_tutorial.rst
code_snippet.rst
cursor_tutorial.rst
extended_tweets.rst
streaming_how_to.rst
api.rst
exce... | 7be6b11bda7c16334a998d65e8825a58c0518c5c | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>original/glkit-examples.asd
(:use #:cl #:asdf))
(in-package :glkit.asdf)
(defsystem :glkit-examples
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0.0"
:depends-on (:sdl2kit-examples :glkit)
:pathname "examples"
:serial t
:components
((:file "pa... |
(in-package :glkit.asdf)
(defsystem :glkit-examples
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0.0"
:depends-on (:sdl2kit-examples :glkit)
:pathname "examples"
:serial t
:components
((:file "package")
(:file "vaos")
(:file "vao-shader-window")
(:... | <|file_sep|>original/glkit-examples.asd
(:use #:cl #:asdf))
(in-package :glkit.asdf)
(defsystem :glkit-examples
:description "Various utilities for OpenGL"
:author ("rpav")
:license "MIT"
:version "0.0"
:depends-on (:sdl2kit-examples :glkit)
:pathname "examples"
:serial t
:components
((:file "pa... | 566b542d254c1a3b339d767440abaa3d38d0cb39 | glkit-examples.asd | glkit-examples.asd | Common Lisp |
<|file_sep|>original/app/controllers/users_controller.rb
class UsersController < ApplicationController
def show
@user = User.find(params[:id])
end
def new
@user = User.new
end
end
<|file_sep|>current/app/controllers/users_controller.rb
class UsersController < ApplicationController
def show
@user ... | class UsersController < ApplicationController
def show
@user = User.find(params[:id])
end
def new
@user = User.new
end
def create
@user = User.new(user_params)
if @user.save
# Handle successful save
else
render 'new'
end
end
private
def user_params | <|file_sep|>original/app/controllers/users_controller.rb
class UsersController < ApplicationController
def show
@user = User.find(params[:id])
end
def new
@user = User.new
end
end
<|file_sep|>current/app/controllers/users_controller.rb
class UsersController < ApplicationController
def show
@user ... | bfeca3575206c1f0c98b9db3672029555d01511d | app/controllers/users_controller.rb | app/controllers/users_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make Che... | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_scri... | <|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make Che... | 92772d41916478bf9dd6aa2e4922a4e337967dbb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/java/leetcode/add_binary/Solution.java
<|file_sep|>current/java/leetcode/add_binary/Solution.java
<|file_sep|>updated/java/leetcode/add_binary/Solution.java | package leetcode.add_binary;
public class Solution {
public String addBinary(String a, String b) {
if(a == null) a = "";
if(b == null) b = "";
char[] ca = a.toCharArray();
char[] cb = b.toCharArray();
char[] ans = new char[Math.max(ca.length, cb.length) + 1];
int l_ca = ca... | <|file_sep|>original/java/leetcode/add_binary/Solution.java
<|file_sep|>current/java/leetcode/add_binary/Solution.java
<|file_sep|>updated/java/leetcode/add_binary/Solution.java
package leetcode.add_binary;
public class Solution {
public String addBinary(String a, String b) {
if(a == null) a = "";
if(b... | 4c9f781347485fefe1db75618494a1d3499308f4 | java/leetcode/add_binary/Solution.java | java/leetcode/add_binary/Solution.java | Java |
<|file_sep|>.travis.yml.diff
original:
- "3.2"
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
# command to install dependencies
install: "pip install -r requirements.txt --use-mirrors"
# command to run tests
script: python test_howdoi.py
<|file_sep|>current/.travis.yml
languag... | language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt --use-mirrors"
# command to run tests
script: nosetests | <|file_sep|>.travis.yml.diff
original:
- "3.2"
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
# command to install dependencies
install: "pip install -r requirements.txt --use-mirrors"
# command to run tests
script: python test_howdoi.py
<|file_sep|>current/.travis.yml
languag... | 8f884f4691df586260b25e1cba10c3fe0c9f3b3b | .travis.yml | .travis.yml | YAML |
<|file_sep|>app.coffee.diff
original:
app.get '/:filename', (req, resp) ->
content = req.query['content']
updated:
app.get '/:filename.:extension', (req, resp) ->
content = req.param['content']
<|file_sep|>app.coffee.diff
original:
app.post '/:filename', saveit
updated:
app.post '/:filename.:extension', saveit
<|fi... |
app.get '/', (req, resp) -> resp.render 'index'
app.get '/:filename.:extension', (req, resp) ->
content = req.param['content']
if (content and content.length > 1024)
resp.json({error: 'File content is longer than 1024 characters and was truncated.. Please use POST instead of GET'}, 406)
else
saveit(req,... | <|file_sep|>app.coffee.diff
original:
app.get '/:filename', (req, resp) ->
content = req.query['content']
updated:
app.get '/:filename.:extension', (req, resp) ->
content = req.param['content']
<|file_sep|>app.coffee.diff
original:
app.post '/:filename', saveit
updated:
app.post '/:filename.:extension', saveit
<|fi... | a71f8d36cec7a7be2804c2a345a395b6b00ddbfa | app.coffee | app.coffee | CoffeeScript |
<|file_sep|>original/app/views/annual_report_uploads/show.html.erb
<div class="sandbox-header">
<h1 class="sandbox-title">Annual Report Upload <span>SANDBOX</span></h1>
<h3 class="sandbox-upload-summary">
<%= @annual_report_upload.summary %>
</h3>
</div>
<div class="sandbox-body">
<%= download_and_submit %... | <div class="sandbox-header">
<h1 class="sandbox-title">Annual Report Upload <span>SANDBOX</span></h1>
<h3 class="sandbox-upload-summary">
<%= @annual_report_upload.summary %>
</h3>
</div>
<div class="sandbox-body">
<%= download_and_submit %>
<%=
react_component 'ValidationErrorsContainer',
{
... | <|file_sep|>original/app/views/annual_report_uploads/show.html.erb
<div class="sandbox-header">
<h1 class="sandbox-title">Annual Report Upload <span>SANDBOX</span></h1>
<h3 class="sandbox-upload-summary">
<%= @annual_report_upload.summary %>
</h3>
</div>
<div class="sandbox-body">
<%= download_and_submit %... | 2980aeece18921570a5b4724714112931732fee0 | app/views/annual_report_uploads/show.html.erb | app/views/annual_report_uploads/show.html.erb | HTML+ERB |
<|file_sep|>db/migrate/20120814113226_create_wafflemix_pages.rb.diff
original:
def change
updated:
def up
<|file_sep|>original/db/migrate/20120814113226_create_wafflemix_pages.rb
class CreateWafflemixPages < ActiveRecord::Migration
def change
create_table :wafflemix_pages do |t|
t.integer :parent_id
... | def up
create_table :wafflemix_pages do |t|
t.integer :parent_id
t.integer :position
t.boolean :show_in_menu
t.string :link_url
t.boolean :deletable
t.boolean :draft
t.boolean :skip_to_first
t.timestamps
end
Wafflemix::Page.create_translation_table! :title... | <|file_sep|>db/migrate/20120814113226_create_wafflemix_pages.rb.diff
original:
def change
updated:
def up
<|file_sep|>original/db/migrate/20120814113226_create_wafflemix_pages.rb
class CreateWafflemixPages < ActiveRecord::Migration
def change
create_table :wafflemix_pages do |t|
t.integer :parent_id
... | dae672d3d48d0d435da9b9e68014f779769d28d8 | db/migrate/20120814113226_create_wafflemix_pages.rb | db/migrate/20120814113226_create_wafflemix_pages.rb | Ruby |
<|file_sep|>original/app/views/shared/_id.html.erb
<div id="id-box"><%= @manifest['group_id'] || @id %></div>
<|file_sep|>current/app/views/shared/_id.html.erb
<div id="id-box"><%= @manifest['group_id'] || @id %></div>
<|file_sep|>updated/app/views/shared/_id.html.erb | <div id="id-box"></div>
<script>
'use strict';
$(() => {
const $idBox = $("#id-box");
const manifest = cd.kata.manifest(cd.kata.id);
const id = manifest.group_id || cd.kata.id;
$idBox.html(id);
});
</script> | <|file_sep|>original/app/views/shared/_id.html.erb
<div id="id-box"><%= @manifest['group_id'] || @id %></div>
<|file_sep|>current/app/views/shared/_id.html.erb
<div id="id-box"><%= @manifest['group_id'] || @id %></div>
<|file_sep|>updated/app/views/shared/_id.html.erb
<div id="id-box"></div>
<script>
'use strict';
$((... | cb2087ea7eae28c4cea9e88a4f8f723863658aad | app/views/shared/_id.html.erb | app/views/shared/_id.html.erb | HTML+ERB |
<|file_sep|>original/packages/wo/world-peace.yaml
<|file_sep|>current/packages/wo/world-peace.yaml
<|file_sep|>updated/packages/wo/world-peace.yaml | homepage: https://github.com/cdepillabout/world-peace
changelog-type: markdown
hash: 9904f18a634bc7173fa188d61f6a1a8df94db13aae3ecf45d3620913d8445c66
test-bench-deps:
base: -any
doctest: -any
Glob: -any
maintainer: cdep.illabout@gmail.com
synopsis: Open Union and Open Product Types
changelog: ! '
## 0.1.0.0
... | <|file_sep|>original/packages/wo/world-peace.yaml
<|file_sep|>current/packages/wo/world-peace.yaml
<|file_sep|>updated/packages/wo/world-peace.yaml
homepage: https://github.com/cdepillabout/world-peace
changelog-type: markdown
hash: 9904f18a634bc7173fa188d61f6a1a8df94db13aae3ecf45d3620913d8445c66
test-bench-deps:
b... | 618866572e9577d62b86e8553f46e6f041defb82 | packages/wo/world-peace.yaml | packages/wo/world-peace.yaml | YAML |
<|file_sep|>lib/open_hash.rb.diff
original:
updated:
<|file_sep|>lib/open_hash.rb.diff
original:
updated:
<|file_sep|>lib/open_hash.rb.diff
original:
def convert_value(value)
updated:
def convert_value(value, options = {})
<|file_sep|>lib/open_hash.rb.diff
original:
updated:
<|file_sep|>lib/open_hash.rb... | when %r{.=$}
super unless args.length == 1
self[method[0...-1]] = args.first
when %r{.\?$}
super unless args.empty?
self.key?(method[0...-1].to_sym)
when %r{^_.}
ret = self.send(method[1..-1], *args, &block)
(ret.is_a?(Hash) and meth != :_default) ? Op... | <|file_sep|>lib/open_hash.rb.diff
original:
updated:
<|file_sep|>lib/open_hash.rb.diff
original:
updated:
<|file_sep|>lib/open_hash.rb.diff
original:
def convert_value(value)
updated:
def convert_value(value, options = {})
<|file_sep|>lib/open_hash.rb.diff
original:
updated:
<|file_sep|>lib/open_hash.rb... | fef280f527ef13c84007c2e7a6d71b2f60b46184 | lib/open_hash.rb | lib/open_hash.rb | Ruby |
<|file_sep|>original/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb
<|file_sep|>current/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb
<|file_sep|>updated/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb | require 'spec_helper'
describe Veritas::Adapter::Arango::Visitor::For::Unary, '#local_name' do
subject { object.local_name }
let(:object) { class_under_test.new(relation, context) }
let(:relation) { mock('Relation') }
let(:context) { mock('Context') }
let(:local_name) { mock('Local Name') }
let(:class_u... | <|file_sep|>original/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb
<|file_sep|>current/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb
<|file_sep|>updated/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb
require 'spec_helper'
describe Veritas::Adapte... | 466104d87fcc112387a0e59083f9f4802b26b8c0 | spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb | spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
install: "pip install -r requirements.txt --use-mirrors"
services:
- redis-server
script: "cd sixpack && nosetests --pep8 coveralls -v --cov coveralls --cov-report term-missing"
after_script:
- coveralls
<|file_sep|>current/.travis.yml
language: py... | language: python
python:
- "2.7"
install: "pip install -r requirements.txt --use-mirrors"
services:
- redis-server
script: "cd sixpack && nosetests"
after_script:
- coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
install: "pip install -r requirements.txt --use-mirrors"
services:
- redis-server
script: "cd sixpack && nosetests --pep8 coveralls -v --cov coveralls --cov-report term-missing"
after_script:
- coveralls
<|file_sep|>current/.travis.yml
language: py... | 47a9338c08c7a1316fe904cdc46dc56671f3959c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
env:
- DJANGO_SETTINGS_MODULE='bluebottle.settings.testing'
install:
- pip install --upgrade setuptools --use-mirrors
- pip install -q nose
- pip install -q django==1.5.5
before_script:
- npm install
- touch bluebottle/settings/secrets.py
script:
- pytho... | language: python
python:
- '2.7'
env:
- DJANGO_SETTINGS_MODULE='bluebottle.settings.testing'
install:
- pip install --upgrade setuptools --use-mirrors
- pip install -q nose
- pip install -q django==1.5.5
before_script:
- npm install
- echo "SECRET_KEY = 'secret key'" > bluebottle/settings/secrets.py
script:
- python se... | <|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
env:
- DJANGO_SETTINGS_MODULE='bluebottle.settings.testing'
install:
- pip install --upgrade setuptools --use-mirrors
- pip install -q nose
- pip install -q django==1.5.5
before_script:
- npm install
- touch bluebottle/settings/secrets.py
script:
- pytho... | e63a4eb2e8f3635222cf3a23b81b43f076990279 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Sejil.Server/db.sql
CREATE INDEX IF NOT EXISTS log_exception_idx ON log(exception);
CREATE TABLE IF NOT EXISTS log_property(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
logId TEXT NOT NULL,
name TEXT NOT NULL,
value TEXT NULL,
FOREIGN KEY(logId) REFERENCES log(id)
);
CREATE INDEX IF N... | CREATE TABLE IF NOT EXISTS log_property(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
logId TEXT NOT NULL,
name TEXT NOT NULL,
value TEXT NULL,
FOREIGN KEY(logId) REFERENCES log(id)
);
CREATE INDEX IF NOT EXISTS log_property_logId_idx ON log_property(logId);
CREATE INDEX IF NOT EXISTS log_property_name_idx ON ... | <|file_sep|>original/src/Sejil.Server/db.sql
CREATE INDEX IF NOT EXISTS log_exception_idx ON log(exception);
CREATE TABLE IF NOT EXISTS log_property(
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
logId TEXT NOT NULL,
name TEXT NOT NULL,
value TEXT NULL,
FOREIGN KEY(logId) REFERENCES log(id)
);
CREATE INDEX IF N... | 65715c0ff13c3a9656246011657cb40e81d48186 | src/Sejil.Server/db.sql | src/Sejil.Server/db.sql | SQL |
<|file_sep|>original/config/fish/config.fish
# Colorized ls output
set --export CLICOLOR 1
set --export LSCOLORS Exfxcxdxbxegedabagacad
# Ensure the HOSTNAME environment variable is set so that `rcm` works properly
if test -z $HOSTNAME
set --export HOSTNAME (hostname -s)
end
if status --is-interactive
set --globa... | # Colorized ls output
set --export CLICOLOR 1
set --export LSCOLORS Exfxcxdxbxegedabagacad
# Ensure the HOSTNAME environment variable is set so that `rcm` works properly
if ! set --query HOSTNAME
set --export HOSTNAME (hostname -s)
end
if status --is-interactive
set --global fish_user_abbreviations
abbr --add ... | <|file_sep|>original/config/fish/config.fish
# Colorized ls output
set --export CLICOLOR 1
set --export LSCOLORS Exfxcxdxbxegedabagacad
# Ensure the HOSTNAME environment variable is set so that `rcm` works properly
if test -z $HOSTNAME
set --export HOSTNAME (hostname -s)
end
if status --is-interactive
set --globa... | 7149068fa0e37f74c110f28f61726ec90cf78fcc | config/fish/config.fish | config/fish/config.fish | fish |
<|file_sep|>original/ide/static/bower.json
"authors": [
"Ismail Badawi <ismail@badawi.io>"
],
"description": "McLab MATLAB IDE",
"license": "Apache",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"ace-builds": "... | "authors": [
"Ismail Badawi <ismail@badawi.io>"
],
"description": "McLab MATLAB IDE",
"license": "Apache",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"ace-builds": "1.1.3",
"bootstrap": "~3.1.0",
"jqu... | <|file_sep|>original/ide/static/bower.json
"authors": [
"Ismail Badawi <ismail@badawi.io>"
],
"description": "McLab MATLAB IDE",
"license": "Apache",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"ace-builds": "... | 6ec9caa7779436ee8e73d08f0a978e518d5571f6 | ide/static/bower.json | ide/static/bower.json | JSON |
<|file_sep|>src/Patterning.js.diff
original:
a$.escapeRegExp(this.valuePattern.replace(/\{\{!?-\}\}/g, "-?").replace("{{v}}", "__v__"))
updated:
this.escapeRegExp(this.valuePattern.replace(/\{\{!?-\}\}/g, "-?").replace("{{v}}", "__v__"))
<|file_sep|>original/src/Patterning.js
newRE = "^" +
... | .replace("__v__", oldRE)
.replace("--?", "-?")
.replace("--", "");
this.fqRegExp = new RegExp(newRE);
};
Solr.Patterning.prototype = {
valuePattern: "{{-}}{{v}}", // The default pattern.
escapeRegExp(str) {
return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\... | <|file_sep|>src/Patterning.js.diff
original:
a$.escapeRegExp(this.valuePattern.replace(/\{\{!?-\}\}/g, "-?").replace("{{v}}", "__v__"))
updated:
this.escapeRegExp(this.valuePattern.replace(/\{\{!?-\}\}/g, "-?").replace("{{v}}", "__v__"))
<|file_sep|>original/src/Patterning.js
newRE = "^" +
... | 0b341e0ac8d1aa0a91afdca245ea7fa2894a7b54 | src/Patterning.js | src/Patterning.js | JavaScript |
<|file_sep|>original/src/Traits/Outputable.php
<|file_sep|>current/src/Traits/Outputable.php
<|file_sep|>updated/src/Traits/Outputable.php | <?php
namespace Bolt\Traits;
trait Outputable
{
public function toJson()
{
$results = null;
$properties = $this->getProperties();
foreach ($properties as $property)
{
$value = $this->{$property->name};
if ($value !== null)
{
if (is_array($value))
{
foreach ($value as &$... | <|file_sep|>original/src/Traits/Outputable.php
<|file_sep|>current/src/Traits/Outputable.php
<|file_sep|>updated/src/Traits/Outputable.php
<?php
namespace Bolt\Traits;
trait Outputable
{
public function toJson()
{
$results = null;
$properties = $this->getProperties();
foreach ($properties as $proper... | 81885671264a17f7eb6fe5e03cb0c24809dfefb6 | src/Traits/Outputable.php | src/Traits/Outputable.php | PHP |
<|file_sep|>sample/src/index.html.diff
original:
<title>Angular2Materialize</title>
updated:
<title>Angular 2 Materialize</title>
<|file_sep|>original/sample/src/index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular2Materialize</title>
<base href=".">
<meta name="viewport" content=... | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular 2 Materialize</title>
<base href=".">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesh... | <|file_sep|>sample/src/index.html.diff
original:
<title>Angular2Materialize</title>
updated:
<title>Angular 2 Materialize</title>
<|file_sep|>original/sample/src/index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Angular2Materialize</title>
<base href=".">
<meta name="viewport" content=... | 1159f1726a98607086f33f592c35a982ddaaeaf3 | sample/src/index.html | sample/src/index.html | HTML |
<|file_sep|>original/package.json
{
"name": "bassmaster",
"description": "Batch processing plugin for hapi",
"repository": "git://github.com/spumko/bassmaster",
"version": "1.2.0",
"main": "index",
"keywords": [
"hapi",
"plugin",
"batch"
],
"engines": {
"node": ">=0.10.22"
},
"peerDe... | {
"name": "bassmaster",
"description": "Batch processing plugin for hapi",
"repository": "git://github.com/spumko/bassmaster",
"version": "1.2.1",
"main": "index",
"keywords": [
"hapi",
"plugin",
"batch"
],
"engines": {
"node": ">=0.10.22"
},
"peerDependencies": {
"hapi": ">=2.x.... | <|file_sep|>original/package.json
{
"name": "bassmaster",
"description": "Batch processing plugin for hapi",
"repository": "git://github.com/spumko/bassmaster",
"version": "1.2.0",
"main": "index",
"keywords": [
"hapi",
"plugin",
"batch"
],
"engines": {
"node": ">=0.10.22"
},
"peerDe... | fb4f8dc0127ae175f9478e8b3cf1e24435cc0094 | package.json | package.json | JSON |
<|file_sep|>original/src/main/java/org/scijava/Optional.java
<|file_sep|>current/src/main/java/org/scijava/Optional.java
<|file_sep|>updated/src/main/java/org/scijava/Optional.java | /*
* #%L
* SciJava Common shared library for SciJava software.
* %%
* Copyright (C) 2009 - 2013 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 source and binary for... | <|file_sep|>original/src/main/java/org/scijava/Optional.java
<|file_sep|>current/src/main/java/org/scijava/Optional.java
<|file_sep|>updated/src/main/java/org/scijava/Optional.java
/*
* #%L
* SciJava Common shared library for SciJava software.
* %%
* Copyright (C) 2009 - 2013 Board of Regents of the University of... | 3b6bd68942f69d7c6256d4938994ddcf30414c6d | src/main/java/org/scijava/Optional.java | src/main/java/org/scijava/Optional.java | Java |
<|file_sep|>original/app/views/koi/admin_crud/_form_field_multiselect_association.html.erb
<%- id = "koi-#{ new_uuid }" -%>
<%= f.association attr.to_sym,
collection: attr.to_s.classify.constantize.scoped,
include_blank: true,
input_html: { id: id, style: 'width:550px' } %>
<%= render "koi/admin_crud/form_field_... | <%- id = "koi-#{ new_uuid }" -%>
<%= f.association attr.to_sym,
collection: attr.to_s.classify.constantize.all,
include_blank: true,
input_html: { id: id, style: 'width:550px' } %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<script type='text/javascript'>
$(document).ready(f... | <|file_sep|>original/app/views/koi/admin_crud/_form_field_multiselect_association.html.erb
<%- id = "koi-#{ new_uuid }" -%>
<%= f.association attr.to_sym,
collection: attr.to_s.classify.constantize.scoped,
include_blank: true,
input_html: { id: id, style: 'width:550px' } %>
<%= render "koi/admin_crud/form_field_... | 3943bf5d0e8a3d69a7867d662c1e21c8dfb2b33b | app/views/koi/admin_crud/_form_field_multiselect_association.html.erb | app/views/koi/admin_crud/_form_field_multiselect_association.html.erb | HTML+ERB |
<|file_sep|>original/assignment09/skeleton/NotesApp/package.json
{
"name": "NotesApp Skeleton",
"version": "0.0.0",
"author" : "Tobi Seitz",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
... | {
"name": "NotesApp Skeleton",
"version": "0.0.0",
"author" : "Tobi Seitz",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"express": "~4.13.1",
"jade": "~1.11.0",
"mongodb": "... | <|file_sep|>original/assignment09/skeleton/NotesApp/package.json
{
"name": "NotesApp Skeleton",
"version": "0.0.0",
"author" : "Tobi Seitz",
"private": true,
"scripts": {
"start": "node ./bin/www"
},
"dependencies": {
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
... | 04b8be8cd6bb6d5c606ef785aee87b2449c5f915 | assignment09/skeleton/NotesApp/package.json | assignment09/skeleton/NotesApp/package.json | JSON |
<|file_sep|>original/share/glsl/fterrabuff.glsl
float low, high;
float value;
float thickness;
if (gl_TexCoord[0].t > 1)
thickness = line_thickness;
else
thickness = max(1.0f, line_thickness/2.0f);
high = texture2D(hmap, gl_TexCoord[0].st).r * 65536;
low = texture2D(hmap, vec2(gl_TexCoord[0].s,
... | float low, high;
float value;
float thickness;
if (gl_TexCoord[0].t > 1)
thickness = line_thickness;
else
thickness = max(1.0f, line_thickness/2.0f);
high = texture2D(hmap, gl_TexCoord[0].st).r * 65536;
if (gl_TexCoord[0].t > ty_below)
low = texture2D(hmap, vec2(gl_TexCoord[0].s,
... | <|file_sep|>original/share/glsl/fterrabuff.glsl
float low, high;
float value;
float thickness;
if (gl_TexCoord[0].t > 1)
thickness = line_thickness;
else
thickness = max(1.0f, line_thickness/2.0f);
high = texture2D(hmap, gl_TexCoord[0].st).r * 65536;
low = texture2D(hmap, vec2(gl_TexCoord[0].s,
... | 54ba7e254d1958ffce7dc808d447566b868b4db3 | share/glsl/fterrabuff.glsl | share/glsl/fterrabuff.glsl | GLSL |
<|file_sep|>original/features/load-rest.feature
Feature: Manage WordPress through endpoints locally
Background:
Given a WP install
And I run `wp plugin install rest-api --activate`
Scenario: REST endpoints should load as WP-CLI commands
When I run `wp help rest`
Then STDOUT should contain:
"... | Background:
Given a WP install
And I run `wp plugin install rest-api --activate`
Scenario: REST endpoints should load as WP-CLI commands
When I run `wp help rest`
Then STDOUT should contain:
"""
wp rest <command>
"""
When I run `wp help rest comment`
Then STDOUT should co... | <|file_sep|>original/features/load-rest.feature
Feature: Manage WordPress through endpoints locally
Background:
Given a WP install
And I run `wp plugin install rest-api --activate`
Scenario: REST endpoints should load as WP-CLI commands
When I run `wp help rest`
Then STDOUT should contain:
"... | 757aa668d921ba0bf66cfa28a7458e4e519eed99 | features/load-rest.feature | features/load-rest.feature | Cucumber |
<|file_sep|>original/locales/sv-SE/notes.properties
welcomeTitle=Välkommen!
emptyPlaceHolder=Gör en anteckning…
openingLogin=Öppnar inloggning…
forgetEmail=Glöm den här e-postadressen
# LOCALIZATION NOTE (syncNotReady): Sync is intended as a generic
# synchronization, not Firefox Sync.
syncNotes=Synkronisera dina an... | welcomeTitle=Välkommen!
welcomeText=Detta är ett enkelt anteckningsblock i Firefox som hjälper dig att få ut det mesta av webben.
emptyPlaceHolder=Gör en anteckning…
openingLogin=Öppnar inloggning…
forgetEmail=Glöm den här e-postadressen
# LOCALIZATION NOTE (syncNotReady): Sync is intended as a generic
# synchroniza... | <|file_sep|>original/locales/sv-SE/notes.properties
welcomeTitle=Välkommen!
emptyPlaceHolder=Gör en anteckning…
openingLogin=Öppnar inloggning…
forgetEmail=Glöm den här e-postadressen
# LOCALIZATION NOTE (syncNotReady): Sync is intended as a generic
# synchronization, not Firefox Sync.
syncNotes=Synkronisera dina an... | b751e69a8a19a8dccb0e4b07282cc44c46ef7396 | locales/sv-SE/notes.properties | locales/sv-SE/notes.properties | INI |
<|file_sep|>original/examples/rpc_dict_handler.py
<|file_sep|>current/examples/rpc_dict_handler.py
<|file_sep|>updated/examples/rpc_dict_handler.py | import asyncio
import aiozmq
import aiozmq.rpc
@aiozmq.rpc.method
def a():
return 'a'
@aiozmq.rpc.method
def b():
return 'b'
handlers_dict = {'a': a,
'subnamespace': {'b': b}
}
@asyncio.coroutine | <|file_sep|>original/examples/rpc_dict_handler.py
<|file_sep|>current/examples/rpc_dict_handler.py
<|file_sep|>updated/examples/rpc_dict_handler.py
import asyncio
import aiozmq
import aiozmq.rpc
@aiozmq.rpc.method
def a():
return 'a'
@aiozmq.rpc.method
def b():
return 'b'
handlers_dict = {'a': a,
... | ff1b86135fc42fdd73b34902be248523020cbb2d | examples/rpc_dict_handler.py | examples/rpc_dict_handler.py | Python |
<|file_sep|>src/main/groovy/jetpacker/api/service/TaskService.groovy.diff
original:
updated:
import com.github.zafarkhaja.semver.Version
import groovy.transform.CompileStatic
import jetpacker.api.configuration.Endpoint
import jetpacker.api.configuration.JetpackerProperties
import jetpacker.api.configuration.Kit
import... | import org.springframework.web.client.AsyncRestTemplate
import java.util.concurrent.ExecutionException
/**
* Created by wolf on 30/10/16.
*/
@CompileStatic
@Service
class TaskService {
private final JetpackerProperties jetpackerProperties
private final AsyncRestTemplate asyncRestTemplate
private final C... | <|file_sep|>src/main/groovy/jetpacker/api/service/TaskService.groovy.diff
original:
updated:
import com.github.zafarkhaja.semver.Version
import groovy.transform.CompileStatic
import jetpacker.api.configuration.Endpoint
import jetpacker.api.configuration.JetpackerProperties
import jetpacker.api.configuration.Kit
import... | 741c3396bd8f03eca636cb35ca906215cc4c0c87 | src/main/groovy/jetpacker/api/service/TaskService.groovy | src/main/groovy/jetpacker/api/service/TaskService.groovy | Groovy |
<|file_sep|>Casks/mozart2.rb.diff
original:
url 'http://downloads.sourceforge.net/project/mozart-oz/v2.0.0-alpha.0/mozart2-2.0.0-alpha.0%2Bbuild.4116.bdeaf6c-x86_64-darwin.dmg'
updated:
url 'http://downloads.sourceforge.net/sourceforge/mozart-oz/mozart2-2.0.0-alpha.0+build.4116.bdeaf6c-x86_64-darwin.dmg'
<|file_sep... | cask :v1 => 'mozart2' do
version '2.0.0'
sha256 '4f077b0658557e532bfa7519977ce9870c55350a1cb395ef77bcab623c70ee04'
# sourceforge.net is the official download host per the vendor homepage
url 'http://downloads.sourceforge.net/sourceforge/mozart-oz/mozart2-2.0.0-alpha.0+build.4116.bdeaf6c-x86_64-darwin.dmg'
na... | <|file_sep|>Casks/mozart2.rb.diff
original:
url 'http://downloads.sourceforge.net/project/mozart-oz/v2.0.0-alpha.0/mozart2-2.0.0-alpha.0%2Bbuild.4116.bdeaf6c-x86_64-darwin.dmg'
updated:
url 'http://downloads.sourceforge.net/sourceforge/mozart-oz/mozart2-2.0.0-alpha.0+build.4116.bdeaf6c-x86_64-darwin.dmg'
<|file_sep... | 97bfbf4e9f9ecd7e438d9a068deb90bb9b60e593 | Casks/mozart2.rb | Casks/mozart2.rb | Ruby |
<|file_sep|>original/setup/setup_dotfiles.sh
#!/bin/sh
set -u
# to force this script to run:
# \rm ~/.bash_aliases
# ./setup_dotfiles.sh
# . ~/.bash_aliases
BASH_ALIASES=~/.bash_aliases
if [ ! -f $BASH_ALIASES ]; then
cat > $BASH_ALIASES <<EOF
alias ll='ls -l'
alias lla='ls -la'
alias la='ls -A'
alias l='... | #!/bin/sh
set -u
# to force this script to run:
# \rm ~/.bash_aliases && ./setup_dotfiles.sh && . ~/.bash_aliases
BASH_ALIASES=~/.bash_aliases
if [ ! -f $BASH_ALIASES ]; then
cat > $BASH_ALIASES <<EOF
alias ll='ls -l'
alias lla='ls -la'
alias la='ls -A'
alias l='ls -CF'
alias rt='ls -lsrta'
alias gstat='for ... | <|file_sep|>original/setup/setup_dotfiles.sh
#!/bin/sh
set -u
# to force this script to run:
# \rm ~/.bash_aliases
# ./setup_dotfiles.sh
# . ~/.bash_aliases
BASH_ALIASES=~/.bash_aliases
if [ ! -f $BASH_ALIASES ]; then
cat > $BASH_ALIASES <<EOF
alias ll='ls -l'
alias lla='ls -la'
alias la='ls -A'
alias l='... | 27ef20a5e9fb40252c0df5e041e6590a596e842a | setup/setup_dotfiles.sh | setup/setup_dotfiles.sh | Shell |
<|file_sep|>css/less/core/mixins/functions/grid-system.less.diff
original:
.grid(@columns, @prefix, (@index + 1));
updated:
.grid(@columns; @prefix; (@index + 1));
<|file_sep|>css/less/core/mixins/functions/grid-system.less.diff
original:
.grid-responsive(@columns, @prefix, (@index + 1));
updated:
.grid... | grid-column: span @index;
}
.grid(@columns; @prefix; (@index + 1));
}
.grid-responsive(@columns; @prefix; @index: 1;) when (@index =< @columns) {
.@{prefix}@{grid-column-class}@{index} {
grid-column: span @index;
}
.grid-responsive(@columns; @prefix; (@index + 1));
}
.grid-child(... | <|file_sep|>css/less/core/mixins/functions/grid-system.less.diff
original:
.grid(@columns, @prefix, (@index + 1));
updated:
.grid(@columns; @prefix; (@index + 1));
<|file_sep|>css/less/core/mixins/functions/grid-system.less.diff
original:
.grid-responsive(@columns, @prefix, (@index + 1));
updated:
.grid... | 83eb468000f737815177c0542fd9dc9239f809bd | css/less/core/mixins/functions/grid-system.less | css/less/core/mixins/functions/grid-system.less | Less |
<|file_sep|>original/app/js/arethusa/.version_template.js
'use strict';
angular.module('arethusa').constant('VERSION', {
revision: '<%= sha %>',
date: '<%= new Date().toJSON() %>'
});
<|file_sep|>current/app/js/arethusa/.version_template.js
'use strict';
angular.module('arethusa').constant('VERSION', {
revision... | 'use strict';
angular.module('arethusa').constant('VERSION', {
revision: '<%= sha %>',
date: '<%= new Date().toJSON() %>',
repository: 'http://github.com/latin-language-toolkit/arethusa'
}); | <|file_sep|>original/app/js/arethusa/.version_template.js
'use strict';
angular.module('arethusa').constant('VERSION', {
revision: '<%= sha %>',
date: '<%= new Date().toJSON() %>'
});
<|file_sep|>current/app/js/arethusa/.version_template.js
'use strict';
angular.module('arethusa').constant('VERSION', {
revision... | 6fe782fcd362e3cd330d22dbd17e270f26ebcf1b | app/js/arethusa/.version_template.js | app/js/arethusa/.version_template.js | JavaScript |
<|file_sep|>original/test/fixtures/values.js
const buffer = Buffer.from('This is a test string');
const base64 = buffer.toString('base64');
const hexString = buffer.toString('hex');
module.exports = {
buffer,
base64,
hexString
};
<|file_sep|>current/test/fixtures/values.js
const buffer = Buffer.from('This is a t... | const buffer = Buffer.from([0x72, 0x98, 0x4f, 0x96, 0x75, 0x03, 0xcd, 0x28, 0x38, 0xbf]);
const base64 = buffer.toString('base64');
const hexString = buffer.toString('hex');
module.exports = {
buffer,
base64,
hexString
}; | <|file_sep|>original/test/fixtures/values.js
const buffer = Buffer.from('This is a test string');
const base64 = buffer.toString('base64');
const hexString = buffer.toString('hex');
module.exports = {
buffer,
base64,
hexString
};
<|file_sep|>current/test/fixtures/values.js
const buffer = Buffer.from('This is a t... | 6584a037f09b832c8f12b1b1dccf6d90b8a84fd7 | test/fixtures/values.js | test/fixtures/values.js | JavaScript |
<|file_sep|>web/router.ex.diff
original:
updated:
pipeline :login_required do
plug Guardian.Plug.EnsureAuthenticated,
handler: Streakable.GuardianErrorHandler
end
<|file_sep|>original/web/router.ex
pipeline :with_session do
plug Guardian.Plug.VerifySession
plug Guardian.Plug.LoadResource
... | end
scope "/", Streakable do
pipe_through [:browser, :with_session]
resources "/users" , UserController , only: [:show, :new, :create]
resources "/sessions" , SessionController, only: [:new, :create, :delete]
resources "/objectives", ObjectiveController
get "/", PageController, :index
... | <|file_sep|>web/router.ex.diff
original:
updated:
pipeline :login_required do
plug Guardian.Plug.EnsureAuthenticated,
handler: Streakable.GuardianErrorHandler
end
<|file_sep|>original/web/router.ex
pipeline :with_session do
plug Guardian.Plug.VerifySession
plug Guardian.Plug.LoadResource
... | 117fc9f27c4ce060007cf9eff2a2f5f47f69f33c | web/router.ex | web/router.ex | Elixir |
<|file_sep|>public/views/contact_form.html.diff
original:
<p>This is a single contact edit form.</p>
updated:
<|file_sep|>public/views/contact_form.html.diff
original:
<div class="control-group">
updated:
<div name="contactForm" class="control-group">
<|file_sep|>original/public/views/contact_form.html
<form ng-s... | <form ng-submit="save()" class="form-horizontal">
<div name="contactForm" class="control-group">
<label class="control-label" for="name">Name:</label>
<div class="controls">
<input ng-model="contact.name" id="name" />
</div>
</div>
<div class="control-group">
<label class="control-... | <|file_sep|>public/views/contact_form.html.diff
original:
<p>This is a single contact edit form.</p>
updated:
<|file_sep|>public/views/contact_form.html.diff
original:
<div class="control-group">
updated:
<div name="contactForm" class="control-group">
<|file_sep|>original/public/views/contact_form.html
<form ng-s... | ec0362e5e5df47dfbb375393e8d6cb576308277f | public/views/contact_form.html | public/views/contact_form.html | HTML |
<|file_sep|>original/README.md
# Cache
[](https://travis-ci.org/JoeBengalen/Cache)
Lightweight psr-6 cache library
<|file_sep|>current/README.md
# Cache
[](https://travi... | # Cache
[](https://travis-ci.org/JoeBengalen/Cache)
Lightweight psr-6 cache library | <|file_sep|>original/README.md
# Cache
[](https://travis-ci.org/JoeBengalen/Cache)
Lightweight psr-6 cache library
<|file_sep|>current/README.md
# Cache
[](https://travi... | c70e1c5161c1663e31a1a29a08e386cc6d64d3d1 | README.md | README.md | Markdown |
<|file_sep|>original/app/res/values/theme.xml
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language gover... | ~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the Lic... | <|file_sep|>original/app/res/values/theme.xml
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language gover... | 630442af511ffb49cc6401f271adb7980cf0d092 | app/res/values/theme.xml | app/res/values/theme.xml | XML |
<|file_sep|>original/.config/powerline/themes/tmux/coreyja.json
},
{
"function": "powerline.segments.common.time.date",
"before": "📅 "
},
{
"function": "powerline.segments.common.time.date",
"name": "time",
"before": "⌚ ",
"args": {
"format": "%H:%M",
"istime": true
... | },
{
"function": "powerline.segments.common.time.date",
"before": "📅 "
},
{
"function": "powerline.segments.common.time.date",
"name": "time",
"before": "⌚ ",
"args": {
"format": "%I:%M %p",
"istime": true
}
},
{
"function": "powerline.segments.common.net.h... | <|file_sep|>original/.config/powerline/themes/tmux/coreyja.json
},
{
"function": "powerline.segments.common.time.date",
"before": "📅 "
},
{
"function": "powerline.segments.common.time.date",
"name": "time",
"before": "⌚ ",
"args": {
"format": "%H:%M",
"istime": true
... | aee23f1750654f6f4e7431f360a4ca298259ffa6 | .config/powerline/themes/tmux/coreyja.json | .config/powerline/themes/tmux/coreyja.json | JSON |
<|file_sep|>original/app/views/dashboard/_widget_report.html.haml
-#
Parameters:
widget -- MiqWidget object
.mc{:id => "dd_w#{widget.id}_box",
:style => @sb[:dashboards][@sb[:active_db]][:minimized].include?(widget.id) ? 'display: none;' : ''}
- if widget.contents_for_user(current_user).contents.blank?
.blank-s... | -#
Parameters:
widget -- MiqWidget object
.mc{:id => "dd_w#{widget.id}_box",
:style => @sb[:dashboards][@sb[:active_db]][:minimized].include?(widget.id) ? 'display: none;' : ''}
- if widget.contents_for_user(current_user).contents.blank?
.blank-slate-pf{:style => "padding: 10px"}
.blank-slate-pf-icon
... | <|file_sep|>original/app/views/dashboard/_widget_report.html.haml
-#
Parameters:
widget -- MiqWidget object
.mc{:id => "dd_w#{widget.id}_box",
:style => @sb[:dashboards][@sb[:active_db]][:minimized].include?(widget.id) ? 'display: none;' : ''}
- if widget.contents_for_user(current_user).contents.blank?
.blank-s... | 1f589f5d1fd93798d77f9ab644460631e8afad8f | app/views/dashboard/_widget_report.html.haml | app/views/dashboard/_widget_report.html.haml | Haml |
<|file_sep|>original/setup.py
settings = SafeConfigParser()
settings.read(os.path.realpath('dynamic_dynamodb/dynamic-dynamodb.conf'))
def return_requires():
install_requires = [
'boto >= 2.29.1',
'requests >= 0.14.1',
'logutils >= 0.3.3',
'retrying >= 1.3.3'
],
if sys.versi... | settings = SafeConfigParser()
settings.read(os.path.realpath('dynamic_dynamodb/dynamic-dynamodb.conf'))
def return_requires():
install_requires = [
'boto >= 2.29.1',
'requests >= 0.14.1',
'logutils >= 0.3.3',
'retrying >= 1.3.3'
]
if sys.version_info < (2, 7):
insta... | <|file_sep|>original/setup.py
settings = SafeConfigParser()
settings.read(os.path.realpath('dynamic_dynamodb/dynamic-dynamodb.conf'))
def return_requires():
install_requires = [
'boto >= 2.29.1',
'requests >= 0.14.1',
'logutils >= 0.3.3',
'retrying >= 1.3.3'
],
if sys.versi... | bd255f89c5958e73fcb715a78950e7065facb7cf | setup.py | setup.py | Python |
<|file_sep|>metadata/com.flx_apps.digitaldetox.yml.diff
original:
updated:
- versionName: 1.0.1
versionCode: 10001
commit: v1.0.1
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.flx_apps.digitaldetox.yml
Changelog: https://github.com/flxapps/DetoxDroid/releases
Donate: https://www.... | Repo: https://github.com/flxapps/DetoxDroid
Builds:
- versionName: 1.0.0
versionCode: 10000
commit: v1.0.0
subdir: app
gradle:
- yes
- versionName: 1.0.1
versionCode: 10001
commit: v1.0.1
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
Curre... | <|file_sep|>metadata/com.flx_apps.digitaldetox.yml.diff
original:
updated:
- versionName: 1.0.1
versionCode: 10001
commit: v1.0.1
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.flx_apps.digitaldetox.yml
Changelog: https://github.com/flxapps/DetoxDroid/releases
Donate: https://www.... | 6ef61414b69d29975c7e7a18cd2dbd99c89c1f18 | metadata/com.flx_apps.digitaldetox.yml | metadata/com.flx_apps.digitaldetox.yml | YAML |
<|file_sep|>original/README.md
# BenjaminHerbert.github.io
My personal homepage - http://herbert.cc
## Run locally with docker
### Create a docker image:
sudo docker build -t homepage .
### Run the page:
sudo docker run --rm -v `pwd`:/content -p 4000:4000 -it homepage jekyll serve --watch
### Point ... | [](https://travis-ci.org/BenjaminHerbert/BenjaminHerbert.github.io)
# BenjaminHerbert.github.io
My personal homepage - http://herbert.cc
## Run locally with docker
### Create a docker image:
sudo docker build -t ... | <|file_sep|>original/README.md
# BenjaminHerbert.github.io
My personal homepage - http://herbert.cc
## Run locally with docker
### Create a docker image:
sudo docker build -t homepage .
### Run the page:
sudo docker run --rm -v `pwd`:/content -p 4000:4000 -it homepage jekyll serve --watch
### Point ... | 5de46a13ddc063f2168c5c508ac04db426897df4 | README.md | README.md | Markdown |
<|file_sep|>original/plugins/services/src/js/structs/ServiceSpec.js
import Item from '../../../../../src/js/structs/Item';
module.exports = class ServiceSpec extends Item {
getId() {
return this.get('id') || '';
}
toJSON() {
return this.get();
}
};
<|file_sep|>current/plugins/services/src/js/structs/S... | import Item from '../../../../../src/js/structs/Item';
module.exports = class ServiceSpec extends Item {
getId() {
return this.get('id') || '';
}
getResources() {
return {
cpus: 0,
mem: 0,
gpus: 0,
disk: 0
};
}
toJSON() {
return this.get();
}
}; | <|file_sep|>original/plugins/services/src/js/structs/ServiceSpec.js
import Item from '../../../../../src/js/structs/Item';
module.exports = class ServiceSpec extends Item {
getId() {
return this.get('id') || '';
}
toJSON() {
return this.get();
}
};
<|file_sep|>current/plugins/services/src/js/structs/S... | f65592911f542fdcab1210ca33eef51284398ec0 | plugins/services/src/js/structs/ServiceSpec.js | plugins/services/src/js/structs/ServiceSpec.js | JavaScript |
<|file_sep|>original/requirements.txt
django==1.6.5
django-dajaxice==0.6
django-endless-pagination>=1.1
requests==2.2.1
<|file_sep|>current/requirements.txt
django==1.6.5
django-dajaxice==0.6
django-endless-pagination>=1.1
requests==2.2.1
<|file_sep|>updated/requirements.txt | django==1.6.5
django-dajaxice-ng==0.6.0.0
django-endless-pagination>=1.1
requests==2.2.1 | <|file_sep|>original/requirements.txt
django==1.6.5
django-dajaxice==0.6
django-endless-pagination>=1.1
requests==2.2.1
<|file_sep|>current/requirements.txt
django==1.6.5
django-dajaxice==0.6
django-endless-pagination>=1.1
requests==2.2.1
<|file_sep|>updated/requirements.txt
django==1.6.5
django-dajaxice-ng==0.6.0.0
dj... | 982c11321aaf78bdf7bd73a85e16e8d6ba15541e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/server/settings/methods.js
const siteId = settings.woronaInfo.siteId;
check(name, String);
check(siteId, String);
checkUserLoggedIn(userId);
checkSiteIdOwnership(siteId, userId);
const newSettingData = {};
Object.assign(newSettingData, settings);
delete newSettingD... | const siteId = settings.woronaInfo.siteId;
check(name, String);
check(siteId, String);
checkUserLoggedIn(userId);
checkSiteIdOwnership(siteId, userId);
const newSettingData = {};
Object.assign(newSettingData, settings);
delete newSettingData.woronaInfo;
newSettingData['woronaInfo.i... | <|file_sep|>original/server/settings/methods.js
const siteId = settings.woronaInfo.siteId;
check(name, String);
check(siteId, String);
checkUserLoggedIn(userId);
checkSiteIdOwnership(siteId, userId);
const newSettingData = {};
Object.assign(newSettingData, settings);
delete newSettingD... | 552901332ee3997026eb7224f85ef4cae7d8dde8 | server/settings/methods.js | server/settings/methods.js | JavaScript |
<|file_sep|>original/rxbluetooth/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ivbaranov.rxbluetooth">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN... | <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ivbaranov.rxbluetooth">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCES... | <|file_sep|>original/rxbluetooth/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ivbaranov.rxbluetooth">
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN... | 15499a3a05813982f50b673ee27699dc34222a9a | rxbluetooth/src/main/AndroidManifest.xml | rxbluetooth/src/main/AndroidManifest.xml | XML |
<|file_sep|>original/composer.json
},
"minimum-stability": "dev",
"prefer-stable": true,
"require":
{
"nails/common": "dev-develop",
"nails/module-console": "dev-develop"
},
"require-dev":
{
"phpunit/phpunit": "8.*"
},
"autoload":
{
"psr-4": {"... | },
"minimum-stability": "dev",
"prefer-stable": true,
"require":
{
"nails/common": "dev-develop",
"nails/module-console": "dev-develop"
},
"require-dev":
{
"phpunit/phpunit": "9.*"
},
"autoload":
{
"psr-4": {"Nails\\Api\\": "src/"}
},
"... | <|file_sep|>original/composer.json
},
"minimum-stability": "dev",
"prefer-stable": true,
"require":
{
"nails/common": "dev-develop",
"nails/module-console": "dev-develop"
},
"require-dev":
{
"phpunit/phpunit": "8.*"
},
"autoload":
{
"psr-4": {"... | f512b364e1ca42751fa3b334e97a339bf7896a1d | composer.json | composer.json | JSON |
<|file_sep|>CHANGELOG.md.diff
original:
## [Unreleased] - 2017-07-05
updated:
## [0.1.2] - 2017-07-05
### Added
- Usage instructions.
<|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
#... | This project adheres to [Semantic Versioning](http://semver.org/).
## [0.1.2] - 2017-07-05
### Added
- Usage instructions.
### Changed
- Declare strict types in every file.
- Imported namespace constants into `UUID` class.
## [0.1.1] - 2017-07-05
### Changed
- Adapt PHPUnit config namespace.
## [0.1.0] - 2017-07-04... | <|file_sep|>CHANGELOG.md.diff
original:
## [Unreleased] - 2017-07-05
updated:
## [0.1.2] - 2017-07-05
### Added
- Usage instructions.
<|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
#... | 1eb8043fea7a61b7ef17a8a2496e3fba79723762 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/week-4/smallest-integer/my_solution.rb
# Smallest Integer
# I worked on this challenge [by myself, with: ].
# smallest_integer is a method that takes an array of integers as its input
# and returns the smallest integer in the array
#
# +list_of_nums+ is an array of integers
# smallest_integer(lis... | # smallest_integer is a method that takes an array of integers as its input
# and returns the smallest integer in the array
#
# +list_of_nums+ is an array of integers
# smallest_integer(list_of_nums) should return the smallest integer in +list_of_nums+
#
# If +list_of_nums+ is empty the method should return nil
# Your... | <|file_sep|>original/week-4/smallest-integer/my_solution.rb
# Smallest Integer
# I worked on this challenge [by myself, with: ].
# smallest_integer is a method that takes an array of integers as its input
# and returns the smallest integer in the array
#
# +list_of_nums+ is an array of integers
# smallest_integer(lis... | 4b1c8ee17c5b98951dea92a3e415562d0b3d19f6 | week-4/smallest-integer/my_solution.rb | week-4/smallest-integer/my_solution.rb | Ruby |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
pytest==3.4.1
pytest-mock==1.7.0
pytest-cov==2.5.1
pytest-xdist==1.22.1
requests-mock==1.4.0
freezegun==0.3.9
flake8==3.5.0
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test.txt
-r requirements.txt
pytest==3.4.1
pytest-mock==1.7.0
pytest-cov... | -r requirements.txt
pytest==3.4.1
pytest-mock==1.7.0
pytest-cov==2.5.1
pytest-xdist==1.22.2
requests-mock==1.4.0
freezegun==0.3.9
flake8==3.5.0
flake8-print==3.1.0 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
pytest==3.4.1
pytest-mock==1.7.0
pytest-cov==2.5.1
pytest-xdist==1.22.1
requests-mock==1.4.0
freezegun==0.3.9
flake8==3.5.0
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test.txt
-r requirements.txt
pytest==3.4.1
pytest-mock==1.7.0
pytest-cov... | f9dfdb2c4492d199f8c069636cca693b8d706997 | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Grantzilla</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags... | <head>
<title>Grantzilla</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= render 'layouts/navigation' %>
<div class="conta... | <|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Grantzilla</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags... | 868efb659ae9df61995cb7bf194013513b281800 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/docs/internals/testing.md
# Testing
The easiest way to run the tests is to invoke `tox` on the command line.
You will need to install the test requirements, which can be found in the ``setup.py`` file.
A good way to get started is to install the development version of the linter by doing ``pip in... | # Testing
The easiest way to run the tests is to invoke `tox` on the command line.
You will need to install the test requirements, which can be found in the ``setup.py`` file.
A good way to get started is to install the development version of the linter by doing ``pip install -e .[test]``.
To be able to fully test t... | <|file_sep|>original/docs/internals/testing.md
# Testing
The easiest way to run the tests is to invoke `tox` on the command line.
You will need to install the test requirements, which can be found in the ``setup.py`` file.
A good way to get started is to install the development version of the linter by doing ``pip in... | 0fdff490b672265ac71a9dee78c0f9f25cbc52b4 | docs/internals/testing.md | docs/internals/testing.md | Markdown |
<|file_sep|>original/rotostitch/__init__.py
import os
import sys
__version__ = "1.0.0"
packageDir = os.path.dirname(__file__)
RESOURCE_DIR = os.path.join(os.path.abspath(packageDir), "resources")
if not os.path.isdir(RESOURCE_DIR):
RESOURCE_DIR = os.path.join(os.path.dirname(sys.argv[0]), "resources")
<|file_sep|... | import os
import sys
__version__ = "1.1.0"
packageDir = os.path.dirname(__file__)
RESOURCE_DIR = os.path.join(os.path.abspath(packageDir), "resources")
if not os.path.isdir(RESOURCE_DIR):
RESOURCE_DIR = os.path.join(os.path.dirname(sys.argv[0]), "resources") | <|file_sep|>original/rotostitch/__init__.py
import os
import sys
__version__ = "1.0.0"
packageDir = os.path.dirname(__file__)
RESOURCE_DIR = os.path.join(os.path.abspath(packageDir), "resources")
if not os.path.isdir(RESOURCE_DIR):
RESOURCE_DIR = os.path.join(os.path.dirname(sys.argv[0]), "resources")
<|file_sep|... | 2082a4ba334a14bf95e9ad9deecc2c703e0f1aa5 | rotostitch/__init__.py | rotostitch/__init__.py | Python |
<|file_sep|>original/xfdlampupdate.sh
#!/bin/bash
cd /home/pi/extremefeedbacklamp
git remote update
DELTAPRE=$(git rev-list HEAD...origin/master --count)
git reset --hard origin/master
DELTAPOST=$(git rev-list HEAD...origin/master --count)
if [ "$DELTAPRE" != "$DELTAPOST" ]
then
echo "update found and applied succe... | #!/bin/bash
cd /home/pi/extremefeedbacklamp
git remote update
DELTAPRE=$(git rev-list HEAD...origin/master --count)
git reset --hard origin/master
DELTAPOST=$(git rev-list HEAD...origin/master --count)
if [ "$DELTAPRE" != "$DELTAPOST" ]
then
echo "update found and applied succesfully, rebooting"
sudo cp -f /hom... | <|file_sep|>original/xfdlampupdate.sh
#!/bin/bash
cd /home/pi/extremefeedbacklamp
git remote update
DELTAPRE=$(git rev-list HEAD...origin/master --count)
git reset --hard origin/master
DELTAPOST=$(git rev-list HEAD...origin/master --count)
if [ "$DELTAPRE" != "$DELTAPOST" ]
then
echo "update found and applied succe... | 019983b2da64795d9a486d88bc8846b6e4bd1b59 | xfdlampupdate.sh | xfdlampupdate.sh | Shell |
<|file_sep|>original/underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java
<|file_sep|>current/underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java
<|file_sep|>updated/underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | <|file_sep|>original/underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java
<|file_sep|>current/underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java
<|file_sep|>updated/underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java
/*
* The Alluxio Open Foundation lice... | 099761f8e95af7ced4503ab9bac6170875ba7745 | underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java | underfs/s3a/src/main/java/alluxio/underfs/s3a/S3ADirectOutputStream.java | Java |
<|file_sep|>original/_posts/2016-06-08-meyer-lemon-cream-cheese-frosting.md
---
title: "Meyer Lemon Cream Cheese Frosting"
categories: moosefood
tags:
- dessert
- American
excerpt: "Meyer lemons give this a subtle floral flavor. This is perfect on Lemon Cupcakes."
header:
teaser: meyer-lemon-frosting-150x150.jpg... | ---
title: "Meyer Lemon Cream Cheese Frosting"
categories: moosefood
tags:
- dessert
- American
excerpt: "Meyer lemons give this a subtle floral flavor. This is perfect on [Lemon Cupcakes](!SITE_URL!/moosefood/lemon-cupcakes)."
header:
teaser: meyer-lemon-frosting-150x150.jpg
---
## INGREDIENTS
* 3 ounces cream... | <|file_sep|>original/_posts/2016-06-08-meyer-lemon-cream-cheese-frosting.md
---
title: "Meyer Lemon Cream Cheese Frosting"
categories: moosefood
tags:
- dessert
- American
excerpt: "Meyer lemons give this a subtle floral flavor. This is perfect on Lemon Cupcakes."
header:
teaser: meyer-lemon-frosting-150x150.jpg... | 043af9bb77e1a9b4f97d7772b4b8f2f82777748a | _posts/2016-06-08-meyer-lemon-cream-cheese-frosting.md | _posts/2016-06-08-meyer-lemon-cream-cheese-frosting.md | Markdown |
<|file_sep|>package.json.diff
original:
"target": "es5"
updated:
"target": "es5",
"stripTypes": true
<|file_sep|>original/package.json
},
"browserify": {
"transform": [
[
"reactify",
{
"es6": true,
"target": "es5"
}
]
]
... | "browserify": {
"transform": [
[
"reactify",
{
"es6": true,
"target": "es5",
"stripTypes": true
}
]
]
},
"author": "Prometheus Research",
"license": "MIT",
"bugs": {
"url": "https://github.com/prometheusresearch/react-forms/issues"
... | <|file_sep|>package.json.diff
original:
"target": "es5"
updated:
"target": "es5",
"stripTypes": true
<|file_sep|>original/package.json
},
"browserify": {
"transform": [
[
"reactify",
{
"es6": true,
"target": "es5"
}
]
]
... | b4e5843a8c047811d3edcac3e7f68392f55bc527 | package.json | package.json | JSON |
<|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/lakrme/atom-levels-language-ruby.git"
},
"bugs": {
"url": "https://github.com/lakrme/atom-levels-language-ruby/issues"
},
"license": "MIT",
"engines": {
"atom": ">=1.17.0 <2.0.0"
},
"devDependencies": {
"eslint... | "type": "git",
"url": "https://github.com/lakrme/atom-levels-language-ruby.git"
},
"bugs": {
"url": "https://github.com/lakrme/atom-levels-language-ruby/issues"
},
"license": "MIT",
"engines": {
"atom": ">=1.17.0 <2.0.0"
},
"devDependencies": {
"eslint": "^7.2.0"
},
"consumedServic... | <|file_sep|>original/package.json
"type": "git",
"url": "https://github.com/lakrme/atom-levels-language-ruby.git"
},
"bugs": {
"url": "https://github.com/lakrme/atom-levels-language-ruby/issues"
},
"license": "MIT",
"engines": {
"atom": ">=1.17.0 <2.0.0"
},
"devDependencies": {
"eslint... | ac6dbe2759b84c2c55680a39a3cd712bbff60c10 | package.json | package.json | JSON |
<|file_sep|>cobs2/__init__.py.diff
original:
A C extension implementation only is provided.
updated:
A pure Python implementation and a C extension implementation
are provided. If the C extension is not available for some reason,
the pure Python version will be used.
<|file_sep|>original/cobs2/__init__.py
"""
Consisten... | Functions are provided for encoding and decoding according to
the basic COBS method.
The COBS variant "Zero Pair Elimination" (ZPE) is not
implemented.
A pure Python implementation and a C extension implementation
are provided. If the C extension is not available for some reason,
the pure Python version will be used.... | <|file_sep|>cobs2/__init__.py.diff
original:
A C extension implementation only is provided.
updated:
A pure Python implementation and a C extension implementation
are provided. If the C extension is not available for some reason,
the pure Python version will be used.
<|file_sep|>original/cobs2/__init__.py
"""
Consisten... | 32b8a5d9f18a673c621c8543848f5163dfe24393 | cobs2/__init__.py | cobs2/__init__.py | Python |
<|file_sep|>libs/term-fake.lua.diff
original:
local cursorPos = {0, 0}
updated:
local cursorX, cursorY = 0, 0
<|file_sep|>libs/term-fake.lua.diff
original:
isColor = function() return false end;
isColour = function() return false end;
getCursorPos = function() return unpack(cursorPos) end;
setCursorPos = function(x... | getCursorPos = function() return cursorX, cursorY end;
setCursorPos = function(x, y) cursorX, cursorY = x, y end;
getBackgroundColor = function() return bg end;
setBackgroundColor = function(c) bg = c end;
getBackgroundColour = function() return bg end;
setBackgroundColour = function(c) bg = c end;
getTextColor ... | <|file_sep|>libs/term-fake.lua.diff
original:
local cursorPos = {0, 0}
updated:
local cursorX, cursorY = 0, 0
<|file_sep|>libs/term-fake.lua.diff
original:
isColor = function() return false end;
isColour = function() return false end;
getCursorPos = function() return unpack(cursorPos) end;
setCursorPos = function(x... | a683a4764d2ce1bbf96cd4c414633528d04bfa46 | libs/term-fake.lua | libs/term-fake.lua | Lua |
<|file_sep|>original/src/partest/scala/tools/partest/javaagent/ProfilingAgent.java
package scala.tools.partest.javaagent;
import java.lang.instrument.Instrumentation;
import java.lang.instrument.UnmodifiableClassException;
/**
* Profiling agent that instruments byte-code to insert calls to
* {@link scala.tools.par... |
package scala.tools.partest.javaagent;
import java.lang.instrument.Instrumentation;
import java.lang.instrument.UnmodifiableClassException;
/**
* Profiling agent that instruments byte-code to insert calls to
* {@link scala.tools.partest.instrumented.Profiler#methodCalled(String, String, String)}
* by using ASM li... | <|file_sep|>original/src/partest/scala/tools/partest/javaagent/ProfilingAgent.java
package scala.tools.partest.javaagent;
import java.lang.instrument.Instrumentation;
import java.lang.instrument.UnmodifiableClassException;
/**
* Profiling agent that instruments byte-code to insert calls to
* {@link scala.tools.par... | ba6a3d6f87c0007196a4a82aaef58a290f87b864 | src/partest/scala/tools/partest/javaagent/ProfilingAgent.java | src/partest/scala/tools/partest/javaagent/ProfilingAgent.java | Java |
<|file_sep|>packages/co/contravariant-extras.yaml.diff
original:
hash: 739d7f4b47781516fa22f899bf25aaa2e93c095f9cb127a623c16a9ff5348ad2
updated:
hash: 589721a10cdc12da758d6bdc067a5d2031a0a1f4ba3c387c865c104161cd491f
<|file_sep|>packages/co/contravariant-extras.yaml.diff
original:
base-prelude: ! '>=0.1.19 && <2'
ba... | changelog: ''
basic-deps:
base: ! '>=4.10 && <5'
contravariant: ! '>=1.3 && <2'
template-haskell: ! '>=2.8 && <3'
template-haskell-compat-v0208: ! '>=0.1.2 && <2'
all-versions:
- '0.2'
- '0.3'
- 0.3.1
- 0.3.2
- 0.3.3
- 0.3.3.1
- 0.3.4
- 0.3.5
- 0.3.5.1
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: 0.3... | <|file_sep|>packages/co/contravariant-extras.yaml.diff
original:
hash: 739d7f4b47781516fa22f899bf25aaa2e93c095f9cb127a623c16a9ff5348ad2
updated:
hash: 589721a10cdc12da758d6bdc067a5d2031a0a1f4ba3c387c865c104161cd491f
<|file_sep|>packages/co/contravariant-extras.yaml.diff
original:
base-prelude: ! '>=0.1.19 && <2'
ba... | 11ed4166c654c3a1f30bd844bb53d928b5ecd083 | packages/co/contravariant-extras.yaml | packages/co/contravariant-extras.yaml | YAML |
<|file_sep|>sqlalchemy_redshift/__init__.py.diff
original:
from pkg_resources import get_distribution, parse_version
updated:
from pkg_resources import DistributionNotFound, get_distribution, parse_version
<|file_sep|>sqlalchemy_redshift/__init__.py.diff
original:
if get_distribution('psycopg2').parsed_version < pa... | from pkg_resources import DistributionNotFound, get_distribution, parse_version
try:
import psycopg2 # noqa: F401
except ImportError:
raise ImportError(
'No module named psycopg2. Please install either '
'psycopg2 or psycopg2-binary package for CPython '
'or psycopg2cffi for Pypy.'
... | <|file_sep|>sqlalchemy_redshift/__init__.py.diff
original:
from pkg_resources import get_distribution, parse_version
updated:
from pkg_resources import DistributionNotFound, get_distribution, parse_version
<|file_sep|>sqlalchemy_redshift/__init__.py.diff
original:
if get_distribution('psycopg2').parsed_version < pa... | bf2ace8bd6cb0c492ff4347f9c2fe10a003abaff | sqlalchemy_redshift/__init__.py | sqlalchemy_redshift/__init__.py | Python |
<|file_sep|>src/util/units/size.rs.diff
original:
updated:
use std::ops::{Add, Sub};
<|file_sep|>original/src/util/units/size.rs
use util::units::AsTuple;
#[derive(Copy, Debug, PartialEq)]
pub struct Size {
pub x: i32,
pub y: i32
}
impl Size {
pub fn new(x: i32, y: i32) -> Size {
Size { x: x, y... | pub x: i32,
pub y: i32
}
impl Size {
pub fn new(x: i32, y: i32) -> Size {
Size { x: x, y: y }
}
}
impl Add for Size {
type Output = Size;
fn add(self, other: Size) -> Size {
let (ox, oy) = other.as_tuple();
Size { x: self.x + ox, y: self.y + oy }
}
} | <|file_sep|>src/util/units/size.rs.diff
original:
updated:
use std::ops::{Add, Sub};
<|file_sep|>original/src/util/units/size.rs
use util::units::AsTuple;
#[derive(Copy, Debug, PartialEq)]
pub struct Size {
pub x: i32,
pub y: i32
}
impl Size {
pub fn new(x: i32, y: i32) -> Size {
Size { x: x, y... | 47c3ea00514804323bdf00cf28dda74e2918bd93 | src/util/units/size.rs | src/util/units/size.rs | Rust |
<|file_sep|>README.md.diff
original:
- **interval** The amount of time between tries in milliseconds.
updated:
<|file_sep|>original/README.md
$ bower install ng-poll-img --save
```
2. Include the file in your project's javascript
3. Add it to your AngularJS application:
```js
var app = angular.module("myApp", ["... | ```
2. Include the file in your project's javascript
3. Add it to your AngularJS application:
```js
var app = angular.module("myApp", ["ngPollImg"]);
```
4. Use the `<poll-img></poll-img>` directive in your HTML:
```html
<poll-img source="http://example.com/2Fd1aZs.jpg" class="img-responsive" fallback="http... | <|file_sep|>README.md.diff
original:
- **interval** The amount of time between tries in milliseconds.
updated:
<|file_sep|>original/README.md
$ bower install ng-poll-img --save
```
2. Include the file in your project's javascript
3. Add it to your AngularJS application:
```js
var app = angular.module("myApp", ["... | 1df1d4b530f18cc11962b1dbe9b631474501e180 | README.md | README.md | Markdown |
<|file_sep|>original/validators/filterUsers/users.json
"calfarome": true,
"srividya_c": true,
"PlaneMad": true,
"karitotp": true,
"lxbarth": true,
"geohacker": true,
"shvrm": true,
"Chetan_Gowda": true,
"ramyaragupathy": true,
"pratikyadav": true,
"jinalfolia": true,
"aarthy": true,
"oini": tr... | "karitotp": true,
"lxbarth": true,
"geohacker": true,
"shvrm": true,
"Chetan_Gowda": true,
"ramyaragupathy": true,
"pratikyadav": true,
"jinalfolia": true,
"aarthy": true,
"oini": true,
"Jothirnadh": true,
"nikhilprabhakar": true,
"manings": true,
"Arunasank": true,
"sanjayb": true,
"sai... | <|file_sep|>original/validators/filterUsers/users.json
"calfarome": true,
"srividya_c": true,
"PlaneMad": true,
"karitotp": true,
"lxbarth": true,
"geohacker": true,
"shvrm": true,
"Chetan_Gowda": true,
"ramyaragupathy": true,
"pratikyadav": true,
"jinalfolia": true,
"aarthy": true,
"oini": tr... | 02d2f388c6d4b15343172b5fd2fcca1342995be8 | validators/filterUsers/users.json | validators/filterUsers/users.json | JSON |
<|file_sep|>.travis.yml.diff
original:
updated:
- "4"
- "6"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.12"
sudo: false
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.12"
- "4"
- "6"
sudo: false
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.11"
- "0.12"
- "4"
- "6"
sudo: false
notifications:
email: false | <|file_sep|>.travis.yml.diff
original:
updated:
- "4"
- "6"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.12"
sudo: false
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.12"
- "4"
- "6"
sudo: false
<|file_sep|>updated/.travis.yml
language: node_js
no... | a9afaa45041f3ff4b1a3451992d42cd270e0c5d9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tsql/ReadMe.md
# T-SQL (Transact-SQL, MSSQL) grammar
This is a community supported grammar file for t-sql, it is cool, yet not very complete
so far because a grammar reference of T-SQL is hard to find.
MS website has grammar reference for different statements,
but it's not a complete file, so we ... | # T-SQL (Transact-SQL, MSSQL) grammar
This is a community supported grammar file for t-sql, it is cool, yet not very complete
so far because a grammar reference of T-SQL is hard to find.
MS website has grammar reference for different statements,
but it's not a complete file, so we try hard to stick to the references ... | <|file_sep|>original/tsql/ReadMe.md
# T-SQL (Transact-SQL, MSSQL) grammar
This is a community supported grammar file for t-sql, it is cool, yet not very complete
so far because a grammar reference of T-SQL is hard to find.
MS website has grammar reference for different statements,
but it's not a complete file, so we ... | d32e2e828ee52080398aa87358ce151a8e83687a | tsql/ReadMe.md | tsql/ReadMe.md | Markdown |
<|file_sep|>original/src/app/home/home.html
<div class="projects-index">
<div class="project-card">
<a ui-sref="ambr">
<img ng-src="" />
<h2>Project name</h2>
</a>
</div>
</div>
</section>
<!-- * -->
<!-- Contact -->
<section class="contact">
<h1>Say hello</h1>
<p><a href... | <!-- Opening section -->
<section class="opener">
<div class="opener-content">
<img class="saladin-logo" ng-src="assets/images/saladin-logo-white.svg" alt="Portfolio logo">
<h1 class="name">Rob Easthope</h1>
<h2 class="title">Front end developer</h2>
</div>
</section> | <|file_sep|>original/src/app/home/home.html
<div class="projects-index">
<div class="project-card">
<a ui-sref="ambr">
<img ng-src="" />
<h2>Project name</h2>
</a>
</div>
</div>
</section>
<!-- * -->
<!-- Contact -->
<section class="contact">
<h1>Say hello</h1>
<p><a href... | e31a60f8ad0903863966ac5b504b9eb67467c796 | src/app/home/home.html | src/app/home/home.html | HTML |
<|file_sep|>original/tests/KafkaTest/Produce/ProduceTest.php
{
// {{{ consts
// }}}
// {{{ members
// }}}
// {{{ functions
// {{{ public function testSend()
/**
* testSend
*
* @access public
* @return void
*/
public function testSend()
{
}
// }}}
... | // {{{ consts
// }}}
// {{{ members
// }}}
// {{{ functions
// {{{ public function testSend()
/**
* testSend
*
* @access public
* @return void
*/
public function testSend()
{
$this->markTestIncomplete('Test not implemented yet');
}
// }}}
... | <|file_sep|>original/tests/KafkaTest/Produce/ProduceTest.php
{
// {{{ consts
// }}}
// {{{ members
// }}}
// {{{ functions
// {{{ public function testSend()
/**
* testSend
*
* @access public
* @return void
*/
public function testSend()
{
}
// }}}
... | af43e2f29ccf25169cc32fe1c9af36b876a1c11a | tests/KafkaTest/Produce/ProduceTest.php | tests/KafkaTest/Produce/ProduceTest.php | PHP |
<|file_sep|>original/app/src/ui/repository-settings/git-ignore.tsx
readonly onShowExamples: () => void
}
/** A view for creating or modifying the repository's gitignore file */
export class GitIgnore extends React.Component<IGitIgnoreProps, {}> {
public render() {
return (
<DialogContent>
<p>
... | readonly onShowExamples: () => void
}
/** A view for creating or modifying the repository's gitignore file */
export class GitIgnore extends React.Component<IGitIgnoreProps, {}> {
public render() {
return (
<DialogContent>
<p>
Editing <Ref>.gitignore</Ref>. This per-branch file specifie... | <|file_sep|>original/app/src/ui/repository-settings/git-ignore.tsx
readonly onShowExamples: () => void
}
/** A view for creating or modifying the repository's gitignore file */
export class GitIgnore extends React.Component<IGitIgnoreProps, {}> {
public render() {
return (
<DialogContent>
<p>
... | 037ba167a5b9b12233df14efecb31e66798b4caf | app/src/ui/repository-settings/git-ignore.tsx | app/src/ui/repository-settings/git-ignore.tsx | TypeScript |
<|file_sep|>original/spec/accumulator_spec.js
describe('accumulator', function() {
afterEach(function() {
nock.cleanAll();
});
it('resolves successfully when all urls are successful', function(done) {
var url = "http://localhost:32768/",
statusCode = 200;
nock(url)
... | nock.cleanAll();
});
it('resolves successfully when all urls are successful', function(done) {
var url = "http://localhost:32768/",
statusCode = 200;
nock(url)
.head('/')
.reply(statusCode);
var url_b = "http://localhost:32769/";
nock... | <|file_sep|>original/spec/accumulator_spec.js
describe('accumulator', function() {
afterEach(function() {
nock.cleanAll();
});
it('resolves successfully when all urls are successful', function(done) {
var url = "http://localhost:32768/",
statusCode = 200;
nock(url)
... | 3b797bbaf3fd9f86d68912d1cfe1141ffe9aacc5 | spec/accumulator_spec.js | spec/accumulator_spec.js | JavaScript |
<|file_sep|>original/cluster/manifests/deletions.yaml
# example: remove the app-ingress-controller deployment from kube-system
# pre_apply:
# - name: app-ingress-controller
# namespace: kube-system
# kind: deployment
pre_apply: [] # everything defined under here will be deleted before applying the manifests
post_a... | # example: remove the app-ingress-controller deployment from kube-system
# pre_apply:
# - name: app-ingress-controller
# namespace: kube-system
# kind: deployment
pre_apply: [] # everything defined under here will be deleted before applying the manifests
post_apply: # everything defined under here will be deleted ... | <|file_sep|>original/cluster/manifests/deletions.yaml
# example: remove the app-ingress-controller deployment from kube-system
# pre_apply:
# - name: app-ingress-controller
# namespace: kube-system
# kind: deployment
pre_apply: [] # everything defined under here will be deleted before applying the manifests
post_a... | f6efd4c3e229d899a15ddc7e8da4e6c2da037af2 | cluster/manifests/deletions.yaml | cluster/manifests/deletions.yaml | YAML |
<|file_sep|>original/apps/careers/models.py
from cms.models import HtmlField, SearchMetaBase
from django.db import models
class Careers(ContentBase):
# The heading that the admin places this content under.
classifier = "apps"
# The urlconf used to power this content's views.
urlconf = "phixflow.apps... | from cms.models import HtmlField, SearchMetaBase
from django.db import models
class Careers(ContentBase):
# The heading that the admin places this content under.
classifier = "apps"
# The urlconf used to power this content's views.
urlconf = "{{ project_name }}.apps.careers.urls"
standfirst = m... | <|file_sep|>original/apps/careers/models.py
from cms.models import HtmlField, SearchMetaBase
from django.db import models
class Careers(ContentBase):
# The heading that the admin places this content under.
classifier = "apps"
# The urlconf used to power this content's views.
urlconf = "phixflow.apps... | 691093e38598959f98b319f7c57852496a26ba90 | apps/careers/models.py | apps/careers/models.py | Python |
<|file_sep|>original/hieradata_aws/class/integration/rummager_elasticsearch.yaml
<|file_sep|>current/hieradata_aws/class/integration/rummager_elasticsearch.yaml
<|file_sep|>updated/hieradata_aws/class/integration/rummager_elasticsearch.yaml | govuk_env_sync::tasks:
"pull_es_metasearch_daily":
hour: "4"
minute: "24"
action: "pull"
dbms: "elasticsearch"
storagebackend: "s3"
database: "metasearch"
temppath: "/tmp/es_dmp"
url: "govuk-staging-database-backups"
path: "elasticsearch"
"pull_es_page_traffic_daily":
hour: "... | <|file_sep|>original/hieradata_aws/class/integration/rummager_elasticsearch.yaml
<|file_sep|>current/hieradata_aws/class/integration/rummager_elasticsearch.yaml
<|file_sep|>updated/hieradata_aws/class/integration/rummager_elasticsearch.yaml
govuk_env_sync::tasks:
"pull_es_metasearch_daily":
hour: "4"
minute... | e6cddefd051ed0f17268cf77947ddf7740fdf5ac | hieradata_aws/class/integration/rummager_elasticsearch.yaml | hieradata_aws/class/integration/rummager_elasticsearch.yaml | YAML |
<|file_sep|>original/app/src/main/java/fuzion24/device/vulnerability/util/CPUArch.java
package fuzion24.device.vulnerability.util;
public enum CPUArch {
ARM("armeabi"),
ARM7("armeabi-v7a"),
ARM8("arm64"),
X86("x86"),
X64("x64"),
MIPS("MIPS"),
ALL("ALL");
private final String arch;
... | package fuzion24.device.vulnerability.util;
public enum CPUArch {
ARM("armeabi"),
ARM7("armeabi-v7a"),
ARM8("arm64-v8a"),
X86("x86"),
X64("x64"),
MIPS("MIPS"),
ALL("ALL");
private final String arch;
public String getArch(){
return arch;
}
CPUArch(String archString... | <|file_sep|>original/app/src/main/java/fuzion24/device/vulnerability/util/CPUArch.java
package fuzion24.device.vulnerability.util;
public enum CPUArch {
ARM("armeabi"),
ARM7("armeabi-v7a"),
ARM8("arm64"),
X86("x86"),
X64("x64"),
MIPS("MIPS"),
ALL("ALL");
private final String arch;
... | 9f3810be72199a55adbac3dcfe02f890bc997e0c | app/src/main/java/fuzion24/device/vulnerability/util/CPUArch.java | app/src/main/java/fuzion24/device/vulnerability/util/CPUArch.java | Java |
<|file_sep|>src/main/resources/application.properties.diff
original:
geoip2.cityfile=/opt/demos_tc8/GeoLite2-City.mmdb
updated:
geoip2.cityfile=/opt/demo/GeoLite2-City.mmdb
<|file_sep|>original/src/main/resources/application.properties
bandwidth.network.interface=eth0
geoip2.cityfile=/opt/demos_tc8/GeoLite2-City.mmdb
a... | bandwidth.network.interface=eth0
geoip2.cityfile=/opt/demo/GeoLite2-City.mmdb
access.logs=/var/log/nginx/access.log
server.tomcat.remote-ip-header=x-forwarded-for
server.tomcat.protocol-header=x-forwarded-proto | <|file_sep|>src/main/resources/application.properties.diff
original:
geoip2.cityfile=/opt/demos_tc8/GeoLite2-City.mmdb
updated:
geoip2.cityfile=/opt/demo/GeoLite2-City.mmdb
<|file_sep|>original/src/main/resources/application.properties
bandwidth.network.interface=eth0
geoip2.cityfile=/opt/demos_tc8/GeoLite2-City.mmdb
a... | 93dbd222807b8eae9c2ed93c128c89ec3f19a236 | src/main/resources/application.properties | src/main/resources/application.properties | INI |
<|file_sep|>original/apps/Helloworld/scripts/instance.php
* Sandbox
*
* @package App.Sandbox
*/
use Helloworld\Module\AppModule;
use Ray\Di\Injector;
require_once __DIR__ . '/load.php';
$hasApc = function_exists('apc_fetch');
$app = $hasApc && apc_fetch('app-helloworld');
if ($app) {
return $app;
}
$injecto... | * @package App.Sandbox
*/
use Helloworld\Module\AppModule;
use Ray\Di\Injector;
require_once __DIR__ . '/load.php';
$hasApc = function_exists('apc_fetch');
if ($hasApc) {
$app = apc_fetch('app-helloworld');
if ($app) {
return $app;
}
}
$injector = Injector::create([new AppModule]);
$app = $inj... | <|file_sep|>original/apps/Helloworld/scripts/instance.php
* Sandbox
*
* @package App.Sandbox
*/
use Helloworld\Module\AppModule;
use Ray\Di\Injector;
require_once __DIR__ . '/load.php';
$hasApc = function_exists('apc_fetch');
$app = $hasApc && apc_fetch('app-helloworld');
if ($app) {
return $app;
}
$injecto... | 3e2aa11c7cf1e0b9c70d313f0bf47e891aeb66d6 | apps/Helloworld/scripts/instance.php | apps/Helloworld/scripts/instance.php | PHP |
<|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>updated/requirements.txt | molecule==2.12.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0 | <|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.0
python-vagrant==0.5.15
testinfra==1.11.1
tox==3.0.0
<|file_sep|>updated/requirements.txt
molecule==2.12.1
pytest==3.5.1
python-vagr... | 68115e7ce87d6597f4890a19b4504bb81c9c197e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | trigger:
- master
jobs:
- job: 'Test'
strategy:
matrix:
Python27Linux:
imageName: 'ubuntu-16.04'
python.version: '2.7'
Python27Windows:
imageName: 'vs2017-win2016'
python.version: '2.7'
Python27Mac:
imageName: 'macos-10.13'
python.version: '2.7'
... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
trigger:
- master
jobs:
- job: 'Test'
strategy:
matrix:
Python27Linux:
imageName: 'ubuntu-16.04'
python.version: '2.7'
Python27Windows:
imageName: 'vs201... | 3571efa7fe331bef5e3d1659c18dd2c749744386 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/views/rankings_titles.haml
%h2.title Rankings
%p
%b Server:
= @server
%p
%b Ranking:
%span Number of Titles
- if(@characters == 0)
%span Couldn't find any characters for this ranking.
- else
%table.listing#listing
%thead
%tr
%th Name
%th Server
%th
... | %h2.title Rankings
%p
%b Server:
= @server
%p
%b Ranking:
%span Number of Titles
- if(@characters.count == 0)
%span Couldn't find any characters for this ranking.
- else
%table.listing#listing
%thead
%tr
%th Name
%th Server
%th
%a{:href => "/rankings/titles?sort... | <|file_sep|>original/views/rankings_titles.haml
%h2.title Rankings
%p
%b Server:
= @server
%p
%b Ranking:
%span Number of Titles
- if(@characters == 0)
%span Couldn't find any characters for this ranking.
- else
%table.listing#listing
%thead
%tr
%th Name
%th Server
%th
... | 90c4ae7cdbcd40988c119fef8aeb20e23e95c67b | views/rankings_titles.haml | views/rankings_titles.haml | Haml |
<|file_sep|>original/Database.Migrations/Migrations/2-TodaysTestResultsView.cs
public override void Up()
{
Execute.Sql($@"
CREATE VIEW [{Views.TodaysTestResults.Name}] WITH SCHEMABINDING AS
SELECT TOP 100 PERCENT [{Views.TodaysTestResults.Columns.Id}],
[{Views.... | public override void Up()
{
Execute.Sql($@"
CREATE VIEW [{Views.TodaysTestResults.Name}] WITH SCHEMABINDING AS
SELECT TOP 100 PERCENT [{Views.TodaysTestResults.Columns.Id}],
[{Views.TodaysTestResults.Columns.Timestamp}],
[{Views.Today... | <|file_sep|>original/Database.Migrations/Migrations/2-TodaysTestResultsView.cs
public override void Up()
{
Execute.Sql($@"
CREATE VIEW [{Views.TodaysTestResults.Name}] WITH SCHEMABINDING AS
SELECT TOP 100 PERCENT [{Views.TodaysTestResults.Columns.Id}],
[{Views.... | 6ca099ff17bb6734de780021a7c1c507341e2ac9 | Database.Migrations/Migrations/2-TodaysTestResultsView.cs | Database.Migrations/Migrations/2-TodaysTestResultsView.cs | C# |
<|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '3.3'
allow_failures:
- python:
- '3.3'
fast_finish: true
script:
- 'py.test'
<|file_sep|>current/.travis.yml
language: python
python:
- '2.7'
- '3.3'
allow_failures:
- python:
- '3.3'
fast_finish: true
script:
- 'py.test'
<|fil... | language: python
python:
- '2.7'
script:
- 'py.test' | <|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '3.3'
allow_failures:
- python:
- '3.3'
fast_finish: true
script:
- 'py.test'
<|file_sep|>current/.travis.yml
language: python
python:
- '2.7'
- '3.3'
allow_failures:
- python:
- '3.3'
fast_finish: true
script:
- 'py.test'
<|fil... | a310d03894efff1668b6dd34e560658b7085fae9 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.