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/.github/workflows/ci.yaml
<|file_sep|>current/.github/workflows/ci.yaml
<|file_sep|>updated/.github/workflows/ci.yaml | # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Continous Integration Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubun... | <|file_sep|>original/.github/workflows/ci.yaml
<|file_sep|>current/.github/workflows/ci.yaml
<|file_sep|>updated/.github/workflows/ci.yaml
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-fra... | 92beb416f5a31da2abe85772700eab5d5ad15b1b | .github/workflows/ci.yaml | .github/workflows/ci.yaml | YAML |
<|file_sep|>original/lib/image_optim/worker/gifsicle.rb
def optimize(src, dst)
args = %W[
--output=#{dst}
--no-comments
--no-names
--same-delay
--same-loopcount
--no-warnings
--
#{src}
]
args.unshift('--inter... |
def optimize(src, dst)
args = %W[
--output=#{dst}
--no-comments
--no-names
--same-delay
--same-loopcount
--no-warnings
--
#{src}
]
args.unshift('--interlace') if interlace
args.unshift('--careful') if... | <|file_sep|>original/lib/image_optim/worker/gifsicle.rb
def optimize(src, dst)
args = %W[
--output=#{dst}
--no-comments
--no-names
--same-delay
--same-loopcount
--no-warnings
--
#{src}
]
args.unshift('--inter... | 4abe209016d0d8bb39d46bfb51b53af99a7076a3 | lib/image_optim/worker/gifsicle.rb | lib/image_optim/worker/gifsicle.rb | Ruby |
<|file_sep|>original/.travis.yml
notifications:
irc:
channels:
- "irc.mozilla.org#talkilla"
use_notice: false
skip_join: false
email:
- talkilla-travis-results@mozilla.com
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
after_success:
- if [[ "$TRAVIS_PULL_RE... | irc:
channels:
- "irc.mozilla.org#talkilla"
use_notice: false
skip_join: false
email:
- talkilla-travis-results@mozilla.com
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# The /check url below will check to see if the repository is updated and deploy
# if nece... | <|file_sep|>original/.travis.yml
notifications:
irc:
channels:
- "irc.mozilla.org#talkilla"
use_notice: false
skip_join: false
email:
- talkilla-travis-results@mozilla.com
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
after_success:
- if [[ "$TRAVIS_PULL_RE... | 2c641b0d7a894745fca95d62cdf57443879d46fa | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/FatBinPkg/ReadMe.txt
The binaries of FatBinPkg are generated with DEBUG_MYTOOLS:
BaseTools(r4409): https://edk2.tianocore.org/svn/edk2/trunk/edk2/BaseTools
MdePkg(r4655): https://edk2.tianocore.org/svn/edk2/trunk/edk2/MdePkg
FatPkg(r24): https://fat-driver2.tianocore.org/svn/fat-driver2/trunk/FatPk... | The binaries of FatBinPkg are generated with DEBUG_MYTOOLS:
BaseTools(7936): https://edk2.tianocore.org/svn/edk2/trunk/edk2/BaseTools
MdePkg(7936): https://edk2.tianocore.org/svn/edk2/trunk/edk2/MdePkg
FatPkg(r37): https://fat-driver2.tianocore.org/svn/fat-driver2/trunk/FatPkg
The binaries are built with mininal debug... | <|file_sep|>original/FatBinPkg/ReadMe.txt
The binaries of FatBinPkg are generated with DEBUG_MYTOOLS:
BaseTools(r4409): https://edk2.tianocore.org/svn/edk2/trunk/edk2/BaseTools
MdePkg(r4655): https://edk2.tianocore.org/svn/edk2/trunk/edk2/MdePkg
FatPkg(r24): https://fat-driver2.tianocore.org/svn/fat-driver2/trunk/FatPk... | 77aa96e04658a4ea4392cf3ce48167cf1ad21232 | FatBinPkg/ReadMe.txt | FatBinPkg/ReadMe.txt | Text |
<|file_sep|>original/docs/deployment/dokku.md
Deployment to Dokku is very similiar to Heroku.
For more details see [Heroku](heroku.md) guide.
## Create an app on dokku and push the source code
```bash
dokku apps:create errrbit
dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo
dokku mongo:create err... | ```bash
dokku apps:create errrbit
dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo
dokku mongo:create errbit errbit
dokku mongo:link errbit errbit
dokku config:set errbit HEROKU=1
dokku config:set errbit GEMFILE_RUBY_VERSION=2.2.4
dokku config:set errbit SECRET_KEY_BASE="$(bundle exec rake secret)"
d... | <|file_sep|>original/docs/deployment/dokku.md
Deployment to Dokku is very similiar to Heroku.
For more details see [Heroku](heroku.md) guide.
## Create an app on dokku and push the source code
```bash
dokku apps:create errrbit
dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo
dokku mongo:create err... | 898ae964fec103e5d574f6df241746af010eac8f | docs/deployment/dokku.md | docs/deployment/dokku.md | Markdown |
<|file_sep|>original/requirements-dev.txt
coverage==4.4.1
aiodocker==0.8.2
flake8==3.4.1
ipdb==0.10.3
ipython==6.2.0
pyodbc==4.0.17
pytest==3.2.2
pytest-asyncio==0.7.0
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
uvloop==0.8.1
<|file_sep|>current/requirements-dev.txt
coverage==4.4.1
... | coverage==4.4.1
aiodocker==0.8.2
flake8==3.4.1
ipdb==0.10.3
ipython==6.2.1
pyodbc==4.0.17
pytest==3.2.2
pytest-asyncio==0.7.0
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
uvloop==0.8.1 | <|file_sep|>original/requirements-dev.txt
coverage==4.4.1
aiodocker==0.8.2
flake8==3.4.1
ipdb==0.10.3
ipython==6.2.0
pyodbc==4.0.17
pytest==3.2.2
pytest-asyncio==0.7.0
pytest-cov==2.5.1
pytest-sugar==0.9.0
sphinx==1.6.3
sphinxcontrib-asyncio==0.2.0
uvloop==0.8.1
<|file_sep|>current/requirements-dev.txt
coverage==4.4.1
... | fb6f2c188568564ca7cd9e12d5c956219838e380 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/package.json
"url": "https://github.com/Bumped/bumped-changelog/issues"
},
"keywords": [
"bumped",
"changelog",
"conventional",
"generate",
"plugin"
],
"dependencies": {
"coffeescript": "~2.5.1",
"conventional-changelog-cli": "~2.1.1",
"cross-spawn": "~7.... | "url": "https://github.com/Bumped/bumped-changelog/issues"
},
"keywords": [
"bumped",
"changelog",
"conventional",
"generate",
"plugin"
],
"dependencies": {
"coffeescript": "~2.6.0",
"conventional-changelog-cli": "~2.1.1",
"cross-spawn": "~7.0.3",
"exists-file": "~3.0.2",... | <|file_sep|>original/package.json
"url": "https://github.com/Bumped/bumped-changelog/issues"
},
"keywords": [
"bumped",
"changelog",
"conventional",
"generate",
"plugin"
],
"dependencies": {
"coffeescript": "~2.5.1",
"conventional-changelog-cli": "~2.1.1",
"cross-spawn": "~7.... | 510b2391fbeb90c21d63014de2f21d185c29c445 | package.json | package.json | JSON |
<|file_sep|>original/package.json
{
"name": "orchids",
"version": "0.1.0",
"dependencies": {
"marking-surface": "0.6.4",
"zooniverse-readymade": "0.8.2"
},
"scripts": {
"start": "zooniverse-readymade serve --port 3050 --project ./project.coffee --css ./project.styl --js ./overrides.coffee",
"b... | {
"name": "orchids",
"version": "0.1.0",
"dependencies": {
"marking-surface": "0.6.4",
"publisssh": "~0.2.6",
"zooniverse-readymade": "1.0.0"
},
"scripts": {
"start": "zooniverse-readymade serve --port 3050 --project ./project.coffee --css ./project.styl --js ./overrides.coffee",
"build": ... | <|file_sep|>original/package.json
{
"name": "orchids",
"version": "0.1.0",
"dependencies": {
"marking-surface": "0.6.4",
"zooniverse-readymade": "0.8.2"
},
"scripts": {
"start": "zooniverse-readymade serve --port 3050 --project ./project.coffee --css ./project.styl --js ./overrides.coffee",
"b... | 2c9bf424275a735609f48b6819c1b5fb614b37f8 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
env:
matrix:
- PUPPET_VERSION="~> 3.4.0"
- PUPPET_VERSION="~> 3.5.0"
... | ---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
env:
matrix:
- PUPPET_VERSION="~> 3.4.0"
- PUPPET_VERSION="~> 3.5.0"
- PUPPET_VERSION="~> 3.6.0"
- PUPPET_V... | <|file_sep|>original/.travis.yml
---
language: ruby
bundler_args: --without development
before_install: rm Gemfile.lock || true
script: bundle exec rake test SPEC_OPTS='--format documentation'
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
env:
matrix:
- PUPPET_VERSION="~> 3.4.0"
- PUPPET_VERSION="~> 3.5.0"
... | 4fccf4be63cb67553de32063f529a4504977e61c | .travis.yml | .travis.yml | YAML |
<|file_sep|>baraction.sh.diff
original:
updated:
print_cpu() {
echo -n "CPU: ${7}% User ${8}% Nice ${9}% Sys ${10}% Int ${11}% Idle "
}
<|file_sep|>baraction.sh.diff
original:
echo "on battery (${BAT_LEVEL}%)"
updated:
echo -n "on battery (${BAT_LEVEL}%)"
<|file_sep|>baraction.sh.diff
original:
ech... | ;;
*)
BAT_STRING="(battery unknown)"
;;
esac;
FULL="${AC_STRING}${BAT_STRING}"
if [ "$FULL" != "" ]; then
echo -n "$FULL"
fi
fi
fi
}
while :; do
# you probably want to reduce the sleep below if you enable this
#print_cpu `/usr/sbin/iostat -C`
print_apm `/usr/sbin/apm -alb`
echo... | <|file_sep|>baraction.sh.diff
original:
updated:
print_cpu() {
echo -n "CPU: ${7}% User ${8}% Nice ${9}% Sys ${10}% Int ${11}% Idle "
}
<|file_sep|>baraction.sh.diff
original:
echo "on battery (${BAT_LEVEL}%)"
updated:
echo -n "on battery (${BAT_LEVEL}%)"
<|file_sep|>baraction.sh.diff
original:
ech... | 265cac27a62c8f9e4e123f32961b65826b0f17bd | baraction.sh | baraction.sh | Shell |
<|file_sep|>original/features/dialog-element.md
---
title: Dialog element
category: apps, html
bugzilla: 840640
firefox_status: in-development
mdn_url: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
spec_url: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element
spec_repo... | ---
title: Dialog element
category: apps, html
bugzilla: 840640
firefox_status: in-development
mdn_url: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
spec_url: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element
spec_repo: https://github.com/whatwg/html
chrome_ref: 577... | <|file_sep|>original/features/dialog-element.md
---
title: Dialog element
category: apps, html
bugzilla: 840640
firefox_status: in-development
mdn_url: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
spec_url: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element
spec_repo... | d61f543296cf9bb396c1810b9d61b88264aef322 | features/dialog-element.md | features/dialog-element.md | Markdown |
<|file_sep|>package.json.diff
original:
"build-chromium": "npm test && node ./scripts/build-chromium.js"
updated:
"build-chromium": "npm test && node ./scripts/build-chromium.js",
"develop": "nodemon --exec \"npm run build\""
<|file_sep|>original/package.json
"scripts": {
"test": "jest",
"build": ... | "build": "npm run build-chromium",
"build-chromium": "npm test && node ./scripts/build-chromium.js",
"develop": "nodemon --exec \"npm run build\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/gladly-team/tab-extensions.git"
},
"author": "",
"license": "MIT",
"bugs": {... | <|file_sep|>package.json.diff
original:
"build-chromium": "npm test && node ./scripts/build-chromium.js"
updated:
"build-chromium": "npm test && node ./scripts/build-chromium.js",
"develop": "nodemon --exec \"npm run build\""
<|file_sep|>original/package.json
"scripts": {
"test": "jest",
"build": ... | 4fcd64c279c3497f9cc3a484b59b5810d32358c7 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: php
# list any PHP version you want to test against
php:
- 5.5
- 5.6
- 7.0
- 7.1
matrix:
fast_finish: true
before_script:
- composer self-update
- composer install --no-interaction
script: ./vendor/bin/kahlan --clover=clover.xml
<|file_sep|>current/.travis.ym... | language: php
# list any PHP version you want to test against
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
matrix:
fast_finish: true
before_script:
- composer self-update
- composer install --no-interaction
script: ./vendor/bin/kahlan --clover=clover.xml | <|file_sep|>original/.travis.yml
language: php
# list any PHP version you want to test against
php:
- 5.5
- 5.6
- 7.0
- 7.1
matrix:
fast_finish: true
before_script:
- composer self-update
- composer install --no-interaction
script: ./vendor/bin/kahlan --clover=clover.xml
<|file_sep|>current/.travis.ym... | b5d1ec9de999c1f04d33c8908cb41d77ced54186 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/views/layouts/_footer.haml
%hr
%ul
%li
%a{ href: "/cookies" } Om cookies
%li
= AppMetadata.release_version
!= surround "(", ")" do
%a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }= AppMetadata.short_commit
<|file_sep|>current/views/layouts/_footer... | %hr
%ul
%li
%a{ href: "/cookies" } Om cookies
%li
= AppMetadata.release_version
!= surround "(", ")" do
%a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }= AppMetadata.short_commit
%li
%img{ src: "/favicon.ico", alt: "Starkast" } | <|file_sep|>original/views/layouts/_footer.haml
%hr
%ul
%li
%a{ href: "/cookies" } Om cookies
%li
= AppMetadata.release_version
!= surround "(", ")" do
%a{ href: "https://github.com/Starkast/wikimum/commit/#{AppMetadata.commit}" }= AppMetadata.short_commit
<|file_sep|>current/views/layouts/_footer... | db78cff2094c18961cb2d88162cef49ce93640e1 | views/layouts/_footer.haml | views/layouts/_footer.haml | Haml |
<|file_sep|>original/Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs
using System.Threading.Tasks;
using Microsoft.NodejsTools.Npm;
using Microsoft.NodejsTools.Npm.SPI;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NpmTests {
[TestClass]
public class NpmExecuteCommandTests {
// https:/... |
using System.Threading.Tasks;
using Microsoft.NodejsTools.Npm;
using Microsoft.NodejsTools.Npm.SPI;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NpmTests {
[TestClass]
public class NpmExecuteCommandTests {
// https://nodejstools.codeplex.com/workitem/1575
[Ignore]
[Tes... | <|file_sep|>original/Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs
using System.Threading.Tasks;
using Microsoft.NodejsTools.Npm;
using Microsoft.NodejsTools.Npm.SPI;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NpmTests {
[TestClass]
public class NpmExecuteCommandTests {
// https:/... | fafc92a2a6ca4ef354c391997074ae2c64482faf | Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs | Nodejs/Tests/NpmTests/NpmExecuteCommandTests.cs | C# |
<|file_sep|>package.json.diff
original:
"coffee-script": "~1.6.2",
"express": "~3.2.5",
"stylus": "~0.32.1",
"jade": "~0.31.0",
updated:
"coffee-script": "~1.6.3",
"express": "~3.3.4",
"stylus": "~0.34.1",
"jade": "~0.33.0",
<|file_sep|>original/package.json
"start": "coffee app.coff... | "start": "coffee app.coffee"
},
"author": "Nadav Ivgi",
"license": "MIT",
"dependencies": {
"coffee-script": "~1.6.3",
"express": "~3.3.4",
"stylus": "~0.34.1",
"jade": "~0.33.0",
"jadeify2": "git://github.com/shesek/node-jadeify2.git#patch-1",
"browserify": "~2.25.0",
"coffeeify... | <|file_sep|>package.json.diff
original:
"coffee-script": "~1.6.2",
"express": "~3.2.5",
"stylus": "~0.32.1",
"jade": "~0.31.0",
updated:
"coffee-script": "~1.6.3",
"express": "~3.3.4",
"stylus": "~0.34.1",
"jade": "~0.33.0",
<|file_sep|>original/package.json
"start": "coffee app.coff... | fd7477ba9bd8fd4d406de3b6b49afc9e893c3287 | package.json | package.json | JSON |
<|file_sep|>original/src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py
<|file_sep|>current/src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py
<|file_sep|>updated/src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
def clear_event_pdfs(apps, schema_editor):
Event = apps.get_model("event", "Event")
for event in Event.objects.all():
event.map_pdf_filename = ''
event.save()
def no_op(*args, **kwargs):
... | <|file_sep|>original/src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py
<|file_sep|>current/src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py
<|file_sep|>updated/src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
fro... | 15a69fb84ba928dba4d56ce447d16cdd2346e3ef | src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py | src/nyc_trees/apps/event/migrations/0015_auto_20150730_1735.py | Python |
<|file_sep|>original/package.json
},
"engines": {
"node": ">=0.6.0"
},
"dependencies": {
"marked": "0.1.x",
"natural": "0.0.65",
"handlebars": "1.3.0",
"wrench": "1.3.x",
"less": "1.x.x",
"stylus": "0.46.x",
"sass": "0.5.x",
"optimist": "0.3.x",
"clean-css": "1.1.x",
... | },
"engines": {
"node": ">=0.6.0"
},
"dependencies": {
"marked": "0.1.x",
"natural": "0.0.65",
"handlebars": "1.3.0",
"wrench": "1.3.x",
"less": "1.x.x",
"stylus": "0.46.x",
"sass": "0.5.x",
"optimist": "0.3.x",
"clean-css": "1.1.x",
"async": "0.1.x"
},
"devDepend... | <|file_sep|>original/package.json
},
"engines": {
"node": ">=0.6.0"
},
"dependencies": {
"marked": "0.1.x",
"natural": "0.0.65",
"handlebars": "1.3.0",
"wrench": "1.3.x",
"less": "1.x.x",
"stylus": "0.46.x",
"sass": "0.5.x",
"optimist": "0.3.x",
"clean-css": "1.1.x",
... | 7311fb4baeee0ab29b2a3897f5a9de4dac2a08d0 | package.json | package.json | JSON |
<|file_sep|>knx/proto/hpai.go.diff
original:
updated:
"fmt"
<|file_sep|>original/knx/proto/hpai.go
import (
"errors"
"io"
"github.com/vapourismo/knx-go/knx/encoding"
)
// Address is a IPv4 address.
type Address [4]byte
// Port is a port number.
type Port uint16
// HostInfo contains information about a host.
typ... | import (
"errors"
"fmt"
"io"
"github.com/vapourismo/knx-go/knx/encoding"
)
// Address is a IPv4 address.
type Address [4]byte
// String formats the address.
func (addr Address) String() string {
return fmt.Sprintf("%d.%d.%d.%d", addr[0], addr[1], addr[2], addr[3])
}
// Port is a port number.
type Port uint16
/... | <|file_sep|>knx/proto/hpai.go.diff
original:
updated:
"fmt"
<|file_sep|>original/knx/proto/hpai.go
import (
"errors"
"io"
"github.com/vapourismo/knx-go/knx/encoding"
)
// Address is a IPv4 address.
type Address [4]byte
// Port is a port number.
type Port uint16
// HostInfo contains information about a host.
typ... | 11fb2c6c9f583570ef82650a64e125c36c3114be | knx/proto/hpai.go | knx/proto/hpai.go | Go |
<|file_sep|>attributes/default.rb.diff
original:
updated:
distro_name = case node['platform_version']
when '14.04'
'trusty'
when '16.04'
'xenial'
end
<|file_sep|>original/attributes/default.rb
#
# Cookbook Name:: docker
# Attributes:: default
#
# Copyright (C) 2016 Jason Blalock
#
# MIT License
#
default['docker... | #
# Cookbook Name:: docker
# Attributes:: default
#
# Copyright (C) 2016 Jason Blalock
#
# MIT License
#
distro_name = case node['platform_version']
when '14.04'
'trusty'
when '16.04'
'xenial'
end
default['docker']['repository']['uri'] = 'https://apt.dockerproject.org/repo'
default['docker']['platform']['distro']... | <|file_sep|>attributes/default.rb.diff
original:
updated:
distro_name = case node['platform_version']
when '14.04'
'trusty'
when '16.04'
'xenial'
end
<|file_sep|>original/attributes/default.rb
#
# Cookbook Name:: docker
# Attributes:: default
#
# Copyright (C) 2016 Jason Blalock
#
# MIT License
#
default['docker... | 1bfbdb4c3a71859eddef1891dd1197a210680077 | attributes/default.rb | attributes/default.rb | Ruby |
<|file_sep|>original/projects/igniteui-angular/src/lib/grids/watch-changes.ts
const privateKey = '_' + key.toString();
propDesc = propDesc || {
configurable: true,
enumerable: true,
};
propDesc.get = propDesc.get || (function (this: any) { return this[privateKey];... | const privateKey = '_' + key.toString();
propDesc = propDesc || {
configurable: true,
enumerable: true,
};
propDesc.get = propDesc.get || (function (this: any) { return this[privateKey]; });
const originalSetter = propDesc.set || (function (this: any, val:... | <|file_sep|>original/projects/igniteui-angular/src/lib/grids/watch-changes.ts
const privateKey = '_' + key.toString();
propDesc = propDesc || {
configurable: true,
enumerable: true,
};
propDesc.get = propDesc.get || (function (this: any) { return this[privateKey];... | 25274cd6005ad8d43b465949b024af17d5cbf2f0 | projects/igniteui-angular/src/lib/grids/watch-changes.ts | projects/igniteui-angular/src/lib/grids/watch-changes.ts | TypeScript |
<|file_sep|>app/presenters/option_set_presenter.rb.diff
original:
# rubocop:disable Metrics/MethodLength
updated:
<|file_sep|>original/app/presenters/option_set_presenter.rb
class OptionSetPresenter
delegate :render, to: :renderer
def initialize(option_set)
renderer_options = coerce_options(option_set.optio... | class OptionSetPresenter
delegate :render, to: :renderer
def initialize(option_set)
renderer_options = coerce_options(option_set.options).deep_symbolize_keys
@renderer = VimrcRenderer::VimrcRenderer.new(renderer_options)
end
private
attr_reader :renderer
def coerce_options(options)
TypeCoers... | <|file_sep|>app/presenters/option_set_presenter.rb.diff
original:
# rubocop:disable Metrics/MethodLength
updated:
<|file_sep|>original/app/presenters/option_set_presenter.rb
class OptionSetPresenter
delegate :render, to: :renderer
def initialize(option_set)
renderer_options = coerce_options(option_set.optio... | 3a0345e779473900700cfd2735df79620b8ef242 | app/presenters/option_set_presenter.rb | app/presenters/option_set_presenter.rb | Ruby |
<|file_sep|>original/manifest.xml
<package>
<description brief="expressiongraph_wbf">
expressiongraph_wbf
</description>
<author>apertuscus</author>
<license>BSD</license>
<review status="unreviewed" notes=""/>
<url>http://ros.org/wiki/expressiongraph_wbf</url>
<depend package="expressiongraph"/>
... | <package>
<description brief="expressiongraph_wbf">
expressiongraph_wbf
</description>
<author>apertuscus</author>
<license>BSD</license>
<review status="unreviewed" notes=""/>
<url>http://ros.org/wiki/expressiongraph_wbf</url>
<depend package="expressiongraph"/>
<depend package="roscpp"/>
<... | <|file_sep|>original/manifest.xml
<package>
<description brief="expressiongraph_wbf">
expressiongraph_wbf
</description>
<author>apertuscus</author>
<license>BSD</license>
<review status="unreviewed" notes=""/>
<url>http://ros.org/wiki/expressiongraph_wbf</url>
<depend package="expressiongraph"/>
... | 7b912b8c4ccf564842859dbe1b1e7a9133d21898 | manifest.xml | manifest.xml | XML |
<|file_sep|>fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java.diff
original:
updated:
@Argument(description = "Path of the node to list")
String path = "/";
<|file_sep|>fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java.diff
orig... | if (recursive) {
return getZooKeeper().getAllChildren(path);
} else {
return getZooKeeper().getChildren(path);
}
}
protected void display(String path) throws Exception {
java.util.List<String> paths = getPaths();
for(String p : paths) {
... | <|file_sep|>fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java.diff
original:
updated:
@Argument(description = "Path of the node to list")
String path = "/";
<|file_sep|>fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java.diff
orig... | 96f095ed19b465ccf71930e7becb2de0686e3c4b | fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java | fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java | Java |
<|file_sep|>original/blueprints/component-test/files/tests/__testType__/__path__/__test__.js
import { moduleForComponent, test } from 'ember-qunit';<% if (testType === 'integration') { %>
import hbs from 'htmlbars-inline-precompile';<% } %>
moduleForComponent('<%= componentPathName %>', '<%= friendlyTestDescription %>... | import { moduleForComponent, test } from 'ember-qunit';<% if (testType === 'integration') { %>
import hbs from 'htmlbars-inline-precompile';<% } %>
moduleForComponent('<%= componentPathName %>', '<%= friendlyTestDescription %>', {
<% if (testType === 'integration' ) { %>integration: true<% } else if(testType === 'un... | <|file_sep|>original/blueprints/component-test/files/tests/__testType__/__path__/__test__.js
import { moduleForComponent, test } from 'ember-qunit';<% if (testType === 'integration') { %>
import hbs from 'htmlbars-inline-precompile';<% } %>
moduleForComponent('<%= componentPathName %>', '<%= friendlyTestDescription %>... | cb8901127a1a7c7b099a109532cd530a7f896f08 | blueprints/component-test/files/tests/__testType__/__path__/__test__.js | blueprints/component-test/files/tests/__testType__/__path__/__test__.js | JavaScript |
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
Thank you for taking the time to open an issue!
For bug reports please include the following section in your issue details.
If you include instructions on how to reproduce the bug or a failing test case
it will make it easier for us to track down the issue you're having.
... | Thank you for taking the time to open an issue!
For general questions please use the #e-bootstrap channel on the Ember
community Slack.
For bug reports please include the following section in your issue details.
If you include instructions on how to reproduce the bug or a failing test case
it will make it easier for ... | <|file_sep|>original/.github/ISSUE_TEMPLATE.md
Thank you for taking the time to open an issue!
For bug reports please include the following section in your issue details.
If you include instructions on how to reproduce the bug or a failing test case
it will make it easier for us to track down the issue you're having.
... | ce955054186c28930aa4745303afe69016e5fee3 | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/_config.yml
# Site settings
title: thirty-four
email: blog@posnick.org
description: "thirty-four is crafted with love in Brooklyn, by Jeff Posnick."
baseurl: ""
url: "https://jeffy.info"
github:
username: jeffposnick
twitter:
username: jeffposnick
logo: /assets/images/34.png
# Build settings
... | # Site settings
title: thirty-four
email: blog@posnick.org
description: "thirty-four is crafted with love in Brooklyn, by Jeff Posnick."
baseurl: ""
url: "https://jeffy.info"
github:
username: jeffposnick
twitter:
username: jeffposnick
logo: /assets/images/34.png
# Build settings
markdown: kramdown
kramdown:
au... | <|file_sep|>original/_config.yml
# Site settings
title: thirty-four
email: blog@posnick.org
description: "thirty-four is crafted with love in Brooklyn, by Jeff Posnick."
baseurl: ""
url: "https://jeffy.info"
github:
username: jeffposnick
twitter:
username: jeffposnick
logo: /assets/images/34.png
# Build settings
... | 060e1a6288987413bcd7a86e3917e69d14a65be6 | _config.yml | _config.yml | YAML |
<|file_sep|>spec/models/given_course_spec.rb.diff
original:
Factory.build(:given_course, :when => nil).should_not be_valid
updated:
Factory.build(:given_course, when: nil).should_not be_valid
<|file_sep|>spec/models/given_course_spec.rb.diff
original:
Factory.build(:given_course, examiner: nil).should... | let(:user) { create(:user) }
let(:given_course) { create(:given_course) }
it "should have a list of students" do
create(:registered_course, given_course: given_course, student: user)
given_course.should have(1).students
given_course.students.should include(user)
end
... | <|file_sep|>spec/models/given_course_spec.rb.diff
original:
Factory.build(:given_course, :when => nil).should_not be_valid
updated:
Factory.build(:given_course, when: nil).should_not be_valid
<|file_sep|>spec/models/given_course_spec.rb.diff
original:
Factory.build(:given_course, examiner: nil).should... | 96911e80a4301b36262ac399a0f49da06a55eff2 | spec/models/given_course_spec.rb | spec/models/given_course_spec.rb | Ruby |
<|file_sep|>original/examples/reverse_detour.rb
<|file_sep|>current/examples/reverse_detour.rb
<|file_sep|>updated/examples/reverse_detour.rb | # The Metaphor set up here looks something like:
#
# [ StdinInput ] -> [ Detour ] -> [ StdoutProcessor ]
# \ /
# \-> [ Reverse ] -/
#
# Run me like this:
# ruby -I lib/ -rubygems examples/reverse_detour.rb
# then I won't route messages through the detour... | <|file_sep|>original/examples/reverse_detour.rb
<|file_sep|>current/examples/reverse_detour.rb
<|file_sep|>updated/examples/reverse_detour.rb
# The Metaphor set up here looks something like:
#
# [ StdinInput ] -> [ Detour ] -> [ StdoutProcessor ]
# \ /
# ... | f4cf9cf4abb1f12d7414bda64cb26b70779d7bfa | examples/reverse_detour.rb | examples/reverse_detour.rb | Ruby |
<|file_sep|>original/.appveyor.yml
install:
- cmd: call %MINICONDA%\Scripts\activate.bat
- cmd: conda.exe update --yes --quiet conda
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda create -q -n te... |
install:
- cmd: call %MINICONDA%\Scripts\activate.bat
- cmd: conda.exe update --yes --quiet conda
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda create -q -n test-environment python=%PYTHON_VERSI... | <|file_sep|>original/.appveyor.yml
install:
- cmd: call %MINICONDA%\Scripts\activate.bat
- cmd: conda.exe update --yes --quiet conda
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- "conda create -q -n te... | c3731da75ea4e2a900c5bd1a4e0a0ab75e3046ce | .appveyor.yml | .appveyor.yml | YAML |
<|file_sep|>original/mail/contact_me.php
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['email'];
$phone = $_POST['phone'];
$message = $_POST['message'];
// Create the emai... | empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['email'];
$phone = $_POST['phone'];
$message = $_POST['message'];
// Create the email and send the message
$to = 'dara.hyemin... | <|file_sep|>original/mail/contact_me.php
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['email'];
$phone = $_POST['phone'];
$message = $_POST['message'];
// Create the emai... | 3febcffcd659086bafed12010822d3678d8691e5 | mail/contact_me.php | mail/contact_me.php | PHP |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-what=কী
navigation-how=কিভাবে
navigation-more=আরও
navigation-developers=Developers
updated:
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
headline-1=Localize the web.
headline-2=In Place.... | # Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the word you are tr... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-what=কী
navigation-how=কিভাবে
navigation-more=আরও
navigation-developers=Developers
updated:
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
headline-1=Localize the web.
headline-2=In Place.... | 2062c07d1d6d4d6caadbc3890ae995861bd43570 | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/orges/plugins/base.py
from abc import abstractmethod, ABCMeta
class BasePlugin(object):
"""
Abstract base class for invocation plugins.
Plugin developers can either derive their objects directly from this class
or from :class:`orges.plugins.dummy.DummyInvocationPlugin` to only ... |
from abc import abstractmethod, ABCMeta
class BasePlugin(object):
"""
Abstract base class for invocation plugins.
Plugin developers can either derive their objects directly from this class
or from :class:`orges.plugins.dummy.DummyPlugin` to only override
methods selectively.
"""
__met... | <|file_sep|>original/orges/plugins/base.py
from abc import abstractmethod, ABCMeta
class BasePlugin(object):
"""
Abstract base class for invocation plugins.
Plugin developers can either derive their objects directly from this class
or from :class:`orges.plugins.dummy.DummyInvocationPlugin` to only ... | 471828d39ff256961bf48323feb43438901a4762 | orges/plugins/base.py | orges/plugins/base.py | Python |
<|file_sep|>original/docker-compose.yml
db:
image: mysql:latest
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=coda_local
base:
build: .
volumes:
- .:/app/
app:
extends:
service: base
command: python manage.py runserver 0.0.0.0:80
ports:
... | db:
image: mysql:5.5
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=coda_local
base:
build: .
volumes:
- .:/app/
app:
extends:
service: base
command: python manage.py runserver 0.0.0.0:80
ports:
- "8000:80"
links:
- db
... | <|file_sep|>original/docker-compose.yml
db:
image: mysql:latest
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=coda_local
base:
build: .
volumes:
- .:/app/
app:
extends:
service: base
command: python manage.py runserver 0.0.0.0:80
ports:
... | 6b5e61178c8c30efde7a0f246320b7e29fac2628 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>config/initializers/postgres_required_versions.rb.diff
original:
msg = "The version of PostgreSQL being connected to is incompatible with #{Vmdb::Appliance.PRODUCT_NAME} (10 required)"
updated:
msg = "The version of PostgreSQL being connected to is incompatible with #{Vmdb::Appliance.PRODUCT_NAME} (... | ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend Module.new {
def initialize(*args)
super
check_version if respond_to?(:check_version)
end
def check_version
msg = "The version of PostgreSQL being connected to is incompatible with #{Vmdb::Appliance.PRODUCT_NAME} (13 required)"
if postg... | <|file_sep|>config/initializers/postgres_required_versions.rb.diff
original:
msg = "The version of PostgreSQL being connected to is incompatible with #{Vmdb::Appliance.PRODUCT_NAME} (10 required)"
updated:
msg = "The version of PostgreSQL being connected to is incompatible with #{Vmdb::Appliance.PRODUCT_NAME} (... | 5213bca30929fa23e83bf28d317bfc75b347d4f4 | config/initializers/postgres_required_versions.rb | config/initializers/postgres_required_versions.rb | Ruby |
<|file_sep|>original/CustomDictionary.xml
<Word>Gists</Word>
<Word>Gravatar</Word>
<Word>Hireable</Word>
<Word>Octokit</Word>
<Word>OAuth</Word>
<Word>Poco</Word>
<Word>Ssh</Word>
<Word>Svn</Word>
<Word>Emoji</Word>
<Word>Emojis</Word>
<Word>Sha</Word>
... | <Word>Gravatar</Word>
<Word>Hireable</Word>
<Word>Octokit</Word>
<Word>OAuth</Word>
<Word>Poco</Word>
<Word>Ssh</Word>
<Word>Svn</Word>
<Word>Emoji</Word>
<Word>Emojis</Word>
<Word>Sha</Word>
<Word>Color</Word>
<Word>Prerelease</Word>
</Recogni... | <|file_sep|>original/CustomDictionary.xml
<Word>Gists</Word>
<Word>Gravatar</Word>
<Word>Hireable</Word>
<Word>Octokit</Word>
<Word>OAuth</Word>
<Word>Poco</Word>
<Word>Ssh</Word>
<Word>Svn</Word>
<Word>Emoji</Word>
<Word>Emojis</Word>
<Word>Sha</Word>
... | f69437fc1a715966d524017ca7f2652c70f73300 | CustomDictionary.xml | CustomDictionary.xml | XML |
<|file_sep|>original/cookbooks/chef-server-deploy/libraries/helpers.rb
module ChefOpsDCC
module Helpers
def liveness_agent_recipe_url
github_api = Chef::HTTP.new('https://api.github.com/')
release = JSON.parse(github_api.get('/repos/chef/automate-liveness-agent/releases/latest'))
release['assets... | module ChefOpsDCC
module Helpers
def liveness_agent_recipe_url
github_api = Chef::HTTP.new('https://api.github.com/')
release = JSON.parse(github_api.get('/repos/chef/automate-liveness-agent/releases/latest'))
release['assets'].find { |a| a['name'] == 'automate-liveness-recipe.rb' }['browser_dow... | <|file_sep|>original/cookbooks/chef-server-deploy/libraries/helpers.rb
module ChefOpsDCC
module Helpers
def liveness_agent_recipe_url
github_api = Chef::HTTP.new('https://api.github.com/')
release = JSON.parse(github_api.get('/repos/chef/automate-liveness-agent/releases/latest'))
release['assets... | 10fc752e0cff75f44eca3e1c09a5c11f92aee0e7 | cookbooks/chef-server-deploy/libraries/helpers.rb | cookbooks/chef-server-deploy/libraries/helpers.rb | Ruby |
<|file_sep|>original/CHANGELOG.md
# CHANGELOG for Bricks
This file is used to list changes made in each version of bricks cookbook.
## 0.1.0:
* Initial release of bricks
<|file_sep|>current/CHANGELOG.md
# CHANGELOG for Bricks
This file is used to list changes made in each version of bricks cookbook.
## 0.1.0:
* I... | # CHANGELOG for Bricks
This file is used to list changes made in each version of bricks cookbook.
## 0.1.0:
* Initial release of bricks
## 0.1.1:
* Added Phalgu codename support.
* Added a bit of readme. | <|file_sep|>original/CHANGELOG.md
# CHANGELOG for Bricks
This file is used to list changes made in each version of bricks cookbook.
## 0.1.0:
* Initial release of bricks
<|file_sep|>current/CHANGELOG.md
# CHANGELOG for Bricks
This file is used to list changes made in each version of bricks cookbook.
## 0.1.0:
* I... | 342f5e51398c04f15d54b4df18e6b8cd706c8eec | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/windows-package/README.txt
This package distributes the clang compiler and a compiler plugin called clazy.
clang and llvm were built from branch release_40 (https://github.com/llvm-mirror/llvm.git f3d3277bb713bb8aced9a7ac2e9b05c52d2844ee and https://github.com/llvm-mirror/clang.git 3c8961bedc65c9a1... | This package distributes the clang compiler and a compiler plugin called clazy.
clang and llvm were built from branch release_40 (https://github.com/llvm-mirror/llvm.git c8fccc53ed66d505898f8850bcc690c977a7c9a7 and https://github.com/llvm-mirror/clang.git 3c8961bedc65c9a15cbe67a2ef385a0938f7cfef.
See LICENSE-LLVM.TXT ... | <|file_sep|>original/windows-package/README.txt
This package distributes the clang compiler and a compiler plugin called clazy.
clang and llvm were built from branch release_40 (https://github.com/llvm-mirror/llvm.git f3d3277bb713bb8aced9a7ac2e9b05c52d2844ee and https://github.com/llvm-mirror/clang.git 3c8961bedc65c9a1... | d7139725865d2ef3a2b596e80f9be6437ee90de5 | windows-package/README.txt | windows-package/README.txt | Text |
<|file_sep|>original/hooks.yaml
<|file_sep|>current/hooks.yaml
<|file_sep|>updated/hooks.yaml | - id: travis-lint
name: Travis YAML linter
description: This hook lints .travis.yml files.
entry: travis lint --skip-completion-check --skip-version-check --exit-code --
language: ruby
files: \.travis\.yml$ | <|file_sep|>original/hooks.yaml
<|file_sep|>current/hooks.yaml
<|file_sep|>updated/hooks.yaml
- id: travis-lint
name: Travis YAML linter
description: This hook lints .travis.yml files.
entry: travis lint --skip-completion-check --skip-version-check --exit-code --
language: ruby
files: \.travis\.... | 438c81fd718bf105d11da0e9f32dd4c353c04281 | hooks.yaml | hooks.yaml | YAML |
<|file_sep|>original/README.md
# itch

[](https://github.com/feross/standard)
[](https://ci.itch.o... | # itch

[](https://github.com/feross/standard)
[](https://coveralls.io/... | <|file_sep|>original/README.md
# itch

[](https://github.com/feross/standard)
[](https://ci.itch.o... | 05402946da48453e44ead59a01e397912b9e4415 | README.md | README.md | Markdown |
<|file_sep|>original/web/invite.php
$errors .= "You must enter an e-mail address.<br />";
}
if(empty($errors)) {
$code = md5(md5($username) . time());
$mdb2->query("INSERT INTO Invitations (inviter, code) VALUES ("
. $mdb2->quote($username, "text") . ", "
. $mdb2->quote($code, "text") . ")");
$url = $... | $errors .= "You must enter an e-mail address.<br />";
}
if(empty($errors)) {
$code = md5(md5($username) . time());
$mdb2->query("INSERT INTO Invitations (inviter, code) VALUES ("
. $mdb2->quote($username, "text") . ", "
. $mdb2->quote($code, "text") . ")");
$url = $base_url . "/register.php?authcode="... | <|file_sep|>original/web/invite.php
$errors .= "You must enter an e-mail address.<br />";
}
if(empty($errors)) {
$code = md5(md5($username) . time());
$mdb2->query("INSERT INTO Invitations (inviter, code) VALUES ("
. $mdb2->quote($username, "text") . ", "
. $mdb2->quote($code, "text") . ")");
$url = $... | e2f809f4dc51278d501261e41cb6f2959c654ae8 | web/invite.php | web/invite.php | PHP |
<|file_sep|>jackrabbit-jcr-rmi/README.txt.diff
original:
The layer makes it possible to remotely access JCR content repositories
and is compatible with all JCR implementations.
updated:
The layer makes it possible to remotely access JCR content repositories.
<|file_sep|>original/jackrabbit-jcr-rmi/README.txt
==========... | ===================================================
Apache Jackrabbit JCR-RMI
===================================================
JCR-RMI is a transparent Remote Method Invocation (RMI) layer for JCR.
The layer makes it possible to remotely access JCR content repositories.
Note that due to changes in the way the RMI ... | <|file_sep|>jackrabbit-jcr-rmi/README.txt.diff
original:
The layer makes it possible to remotely access JCR content repositories
and is compatible with all JCR implementations.
updated:
The layer makes it possible to remotely access JCR content repositories.
<|file_sep|>original/jackrabbit-jcr-rmi/README.txt
==========... | fd36d891fdec2731f5a78af8ee9b0372f5918f2a | jackrabbit-jcr-rmi/README.txt | jackrabbit-jcr-rmi/README.txt | Text |
<|file_sep|>original/README.md
RED: 16, 11, 23
WHITE: 13, 9, 27
GREEN: 21, 12, 25
BLUE: 20, 6, 22
```
- RTC
http://thepihut.com/blogs/raspberry-pi-tutorials/17209332-adding-a-real-time-clock-to-your-raspberry-pi
## Requirements
- DHT22 requires Adafruit DHT Python library which is not in PyP... | WHITE: 13, 9, 27
GREEN: 21, 12, 25
BLUE: 20, 6, 22
```
- RTC
http://thepihut.com/blogs/raspberry-pi-tutorials/17209332-adding-a-real-time-clock-to-your-raspberry-pi
## Requirements
- DHT22 requires Adafruit DHT Python library which is not in PyPi and currently Python 2 only:
```bash
sudo apt-ge... | <|file_sep|>original/README.md
RED: 16, 11, 23
WHITE: 13, 9, 27
GREEN: 21, 12, 25
BLUE: 20, 6, 22
```
- RTC
http://thepihut.com/blogs/raspberry-pi-tutorials/17209332-adding-a-real-time-clock-to-your-raspberry-pi
## Requirements
- DHT22 requires Adafruit DHT Python library which is not in PyP... | 593dd09d52452146e307ec7bd74397e4bbf2c0a3 | README.md | README.md | Markdown |
<|file_sep|>src/index.js.diff
original:
import async from 'async'
updated:
import asyncParallel from 'async/parallel'
import asyncSeries from 'async/series'
import asyncParallelLimit from 'async/parallelLimit'
<|file_sep|>src/index.js.diff
original:
? async.parallel
: (tasks, callback) => async.parallelLimit(ta... | export function parallel (promiseFunctions, limit = false, silenceErrors = false) {
const asyncFunction = !limit
? asyncParallel
: (tasks, callback) => asyncParallelLimit(tasks, limit, callback)
return generatePromise(promiseFunctions, asyncFunction, silenceErrors)
}
// Work on the tasks in series (one by... | <|file_sep|>src/index.js.diff
original:
import async from 'async'
updated:
import asyncParallel from 'async/parallel'
import asyncSeries from 'async/series'
import asyncParallelLimit from 'async/parallelLimit'
<|file_sep|>src/index.js.diff
original:
? async.parallel
: (tasks, callback) => async.parallelLimit(ta... | db64c857ff1d3502ffe83bc3b89e5b017a4f57bc | src/index.js | src/index.js | JavaScript |
<|file_sep|>original/.github/workflows/master_maven.yml
<|file_sep|>current/.github/workflows/master_maven.yml
<|file_sep|>updated/.github/workflows/master_maven.yml | # This workflow will build the MEMAP project with Maven and generate artifacts
name: Master build with maven
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
install-project:
runs-on: ubuntu-latest
steps:
- name: Checkout memap
uses: actions/checkout@v... | <|file_sep|>original/.github/workflows/master_maven.yml
<|file_sep|>current/.github/workflows/master_maven.yml
<|file_sep|>updated/.github/workflows/master_maven.yml
# This workflow will build the MEMAP project with Maven and generate artifacts
name: Master build with maven
on:
push:
branches:
- master... | 8cbc129a6c24c24ef17be84467323ba7a9c6bf79 | .github/workflows/master_maven.yml | .github/workflows/master_maven.yml | YAML |
<|file_sep|>original/bower.json
{
"name": "lazarus",
"private": true,
"dependencies": {
"jquery": "~2.1.1",
"modernizr": "~2.8.1"
},
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^3.0.2"
}
}
<|file_sep|>current/bower.json
{
"name": "lazarus",
"private": true,
"dependencies": {
"... | {
"name": "lazarus",
"private": true,
"dependencies": {
"jquery": "~2.1.1",
"modernizr": "~2.8.1",
"foundation-sites": "^6.2.3"
},
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^3.0.2"
}
} | <|file_sep|>original/bower.json
{
"name": "lazarus",
"private": true,
"dependencies": {
"jquery": "~2.1.1",
"modernizr": "~2.8.1"
},
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^3.0.2"
}
}
<|file_sep|>current/bower.json
{
"name": "lazarus",
"private": true,
"dependencies": {
"... | 50c02634d168839f60dc90a06f48ecbaa87eaf67 | bower.json | bower.json | JSON |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.3"
- "3.4"
before_install:
# use Anaconda to get compiled versions of scipy and numpy,
# modified from https://gist.github.com/dan-blanchard/7045057
- wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
- chmo... | language: python
python:
- "2.7"
- "3.3"
- "3.4"
before_install:
# use Anaconda to get compiled versions of scipy and numpy,
# modified from https://gist.github.com/dan-blanchard/7045057
- wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- .... | <|file_sep|>original/.travis.yml
language: python
python:
- "3.3"
- "3.4"
before_install:
# use Anaconda to get compiled versions of scipy and numpy,
# modified from https://gist.github.com/dan-blanchard/7045057
- wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
- chmo... | 1f46f92019c995436ae25555600ff558aca675a0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata/com.daemon.ssh.yml
License: GPL-2.0-or-later
AuthorName: Tibor Tarnai
AuthorEmail: tibor.tarnai@gmail.com
SourceCode: https://github.com/jazzm0/ssh-daemon
IssueTracker: https://github.com/jazzm0/ssh-daemon/issues
AutoName: SshDaemon
RepoType: git
Repo: https://github.com/jazzm0/ssh-daemo... | AuthorEmail: tibor.tarnai@gmail.com
SourceCode: https://github.com/jazzm0/ssh-daemon
IssueTracker: https://github.com/jazzm0/ssh-daemon/issues
AutoName: SshDaemon
RepoType: git
Repo: https://github.com/jazzm0/ssh-daemon
Builds:
- versionName: 2.0.0
versionCode: 9
commit: 2.0.0
subdir: app
gradle:
... | <|file_sep|>original/metadata/com.daemon.ssh.yml
License: GPL-2.0-or-later
AuthorName: Tibor Tarnai
AuthorEmail: tibor.tarnai@gmail.com
SourceCode: https://github.com/jazzm0/ssh-daemon
IssueTracker: https://github.com/jazzm0/ssh-daemon/issues
AutoName: SshDaemon
RepoType: git
Repo: https://github.com/jazzm0/ssh-daemo... | 3a28b925d00874978d67972fe0e5bc67df48b579 | metadata/com.daemon.ssh.yml | metadata/com.daemon.ssh.yml | YAML |
<|file_sep|>original/README.md
# pyVsphereInflux
A library and supporting script for pulling data from vSphere and inserting it into InfluxDB
Example usage:
vsphere-influxdb-import.py --vcenter myvcenter --vs-username Administrator --vs-password password --influx-dsn influxdb://root:root@localhost:8086/vms
<|file... | # pyVsphereInflux
A library and supporting script for pulling data from vSphere and inserting it into InfluxDB
Example usage:
vsphere-influxdb-import.py --vcenter myvcenter --vs-username Administrator --vs-password password --influx-dsn influxdb://root:root@localhost:8086/vms
$ vsphere-influxdb-import.py -h
... | <|file_sep|>original/README.md
# pyVsphereInflux
A library and supporting script for pulling data from vSphere and inserting it into InfluxDB
Example usage:
vsphere-influxdb-import.py --vcenter myvcenter --vs-username Administrator --vs-password password --influx-dsn influxdb://root:root@localhost:8086/vms
<|file... | 662d9e979a98e0ff35c9f466276253a8fa8b78db | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
- WP_VERSION=4.1.9 WP_MULTISITE=0
- WP_VERSION=4.1.9 WP_MULTISITE=1
matrix:
incl... |
language: php
php:
- 5.4
- 5.5
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
matrix:
include:
- php: hhvm
env: WP_VERSION=latest WP_MULTISITE=0
- php: hhvm
env: WP_VERSION=latest WP_MULTISITE=1
before_script:
- if [ "$TRAVIS_P... | <|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
- WP_VERSION=4.1.9 WP_MULTISITE=0
- WP_VERSION=4.1.9 WP_MULTISITE=1
matrix:
incl... | e203a0e26d8cf786a3c9a3c58296c26caf3047e6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/kubernetes/proxy-variables.yaml
<|file_sep|>current/kubernetes/proxy-variables.yaml
<|file_sep|>updated/kubernetes/proxy-variables.yaml | apiVersion: v1
kind: ConfigMap
metadata:
name: proxy-variables
data:
HTTP_PROXY: http://hx-wwwcache.ebi.ac.uk:3128
HTTPS_PROXY: http://hx-wwwcache.ebi.ac.uk:3128
http_proxy: http://hx-wwwcache.ebi.ac.uk:3128
https_proxy: http://hx-wwwcache.ebi.ac.uk:3128
no_proxy: localhost,.cluster.local | <|file_sep|>original/kubernetes/proxy-variables.yaml
<|file_sep|>current/kubernetes/proxy-variables.yaml
<|file_sep|>updated/kubernetes/proxy-variables.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: proxy-variables
data:
HTTP_PROXY: http://hx-wwwcache.ebi.ac.uk:3128
HTTPS_PROXY: http://hx-wwwcache.ebi.ac.u... | 73ea01aeb4619e639dacd306747e9aa75f793f11 | kubernetes/proxy-variables.yaml | kubernetes/proxy-variables.yaml | YAML |
<|file_sep|>original/README.md
realay
======
ReaLay is a plugin for the Reaper DAW that works in conjunction with Dropbox to allow seamless collaboration of Reaper projects. Press a button and start where your friends left off.
See the UserGuide for an illustrated tutorial.
<|file_sep|>current/README.md
realay
======... | realay
======
ReaLay is a plugin for the Reaper DAW that works in conjunction with Dropbox to allow seamless collaboration of Reaper projects. Press a button and start where your friends left off.
See the UserGuide for an illustrated tutorial.
Installation
------------
1. Copy this script to the [Reaper Local Config... | <|file_sep|>original/README.md
realay
======
ReaLay is a plugin for the Reaper DAW that works in conjunction with Dropbox to allow seamless collaboration of Reaper projects. Press a button and start where your friends left off.
See the UserGuide for an illustrated tutorial.
<|file_sep|>current/README.md
realay
======... | 51bb42e38ef16f4807ddfbddcf267caea37eb5aa | README.md | README.md | Markdown |
<|file_sep|>original/src/Entries.php
<|file_sep|>current/src/Entries.php
<|file_sep|>updated/src/Entries.php | <?php
/**
* Deep
*
* @package rsanchez\Deep
* @author Rob Sanchez <info@robsanchez.com>
*/
namespace rsanchez\Deep;
use Illuminate\Container\Container;
use rsanchez\Deep\Model\Field;
use rsanchez\Deep\Model\Channel;
use rsanchez\Deep\Model\Entry;
use rsanchez\Deep\Repository\FieldRepository;
use rsan... | <|file_sep|>original/src/Entries.php
<|file_sep|>current/src/Entries.php
<|file_sep|>updated/src/Entries.php
<?php
/**
* Deep
*
* @package rsanchez\Deep
* @author Rob Sanchez <info@robsanchez.com>
*/
namespace rsanchez\Deep;
use Illuminate\Container\Container;
use rsanchez\Deep\Model\Field;
use rsa... | 268830906e1a41b4009fa207f4702d50b2900694 | src/Entries.php | src/Entries.php | PHP |
<|file_sep|>README.markdown.diff
original:
# sigma_sql
updated:
# SigmaSQL
<|file_sep|>README.markdown.diff
original:
A SQL helper library, currently only running on top of emysql.
updated:
A SQL helper library, currently only running on top of
[emysql](https://github.com/Eonblast/Emysql), but with the intention of
eve... | [emysql](https://github.com/Eonblast/Emysql), but with the intention of
eventually running on top a PostgreSQL driver as well.
## What it does
It provides a simple layer on top of existing SQL drivers, abstracting away the
pool management, and providing sensible default behaviors. Further, it
provides a whole slew o... | <|file_sep|>README.markdown.diff
original:
# sigma_sql
updated:
# SigmaSQL
<|file_sep|>README.markdown.diff
original:
A SQL helper library, currently only running on top of emysql.
updated:
A SQL helper library, currently only running on top of
[emysql](https://github.com/Eonblast/Emysql), but with the intention of
eve... | d3da3643be65210b82bd5498c963ed1bc2001757 | README.markdown | README.markdown | Markdown |
<|file_sep|>original/magnum/templates/heat-kubernetes/fragments/configure-docker-storage.sh
#!/bin/sh
. /etc/sysconfig/heat-params
DOCKER_DEV=/dev/disk/by-id/virtio-${DOCKER_VOLUME:0:20}
if ! [ -b $DOCKER_DEV ]; then
echo "ERROR: device $DOCKER_DEV does not exist" >&2
exit 1
fi
pvcreate $DOCKER_DEV
vgcreate docke... | #!/bin/sh
. /etc/sysconfig/heat-params
DOCKER_DEV=/dev/disk/by-id/virtio-${DOCKER_VOLUME:0:20}
# Wait until docker volume is hot-plugged
attempts=1200
while [ ! -b $DOCKER_DEV ]
do
sleep 0.25
# Trigger udev to make sure symlinks are up to date
udevadm trigger
attempts=$(($attempts - 1))
if [[ $attempts -eq... | <|file_sep|>original/magnum/templates/heat-kubernetes/fragments/configure-docker-storage.sh
#!/bin/sh
. /etc/sysconfig/heat-params
DOCKER_DEV=/dev/disk/by-id/virtio-${DOCKER_VOLUME:0:20}
if ! [ -b $DOCKER_DEV ]; then
echo "ERROR: device $DOCKER_DEV does not exist" >&2
exit 1
fi
pvcreate $DOCKER_DEV
vgcreate docke... | 63fc00b25c13eb24dec796658b5a4121ca8fe2b3 | magnum/templates/heat-kubernetes/fragments/configure-docker-storage.sh | magnum/templates/heat-kubernetes/fragments/configure-docker-storage.sh | Shell |
<|file_sep|>_includes/aside.md.diff
original:
<a>分类目录</a>
updated:
<a>Categories</a>
<|file_sep|>_includes/aside.md.diff
original:
<a>近期文章</a>
updated:
<a>Recent Posts</a>
<|file_sep|>_includes/aside.md.diff
original:
<a>近期评论</a>
updated:
<a>Recent Comments</a... | <li><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</li>
<li>
<a>Recent Comments</a>
<ul class="sub-menu light">
<script type="text/javascript" src="http://027.disqus.com/recent_comments_w... | <|file_sep|>_includes/aside.md.diff
original:
<a>分类目录</a>
updated:
<a>Categories</a>
<|file_sep|>_includes/aside.md.diff
original:
<a>近期文章</a>
updated:
<a>Recent Posts</a>
<|file_sep|>_includes/aside.md.diff
original:
<a>近期评论</a>
updated:
<a>Recent Comments</a... | cd5378aaa01d0a8e42e37811a4d2751eaf916846 | _includes/aside.md | _includes/aside.md | Markdown |
<|file_sep|>docker-compose.yaml.diff
original:
- ./allure-results-chrome:/jcat/allure-results:rw
updated:
- ./allure-results-firefox:/jcat/allure-results:rw
<|file_sep|>original/docker-compose.yaml
jcat-on-firefox:
image: extsoft/jcat:latest
build: .
depends_on:
- firefox60
environment:
... | jcat-on-firefox:
image: extsoft/jcat:latest
build: .
depends_on:
- firefox60
environment:
BROWSER: firefox
SELENIUM_URL: http://selenium-hub:4444/wd/hub
volumes:
- ./allure-results-firefox:/jcat/allure-results:rw
jcat-on-chrome:
image: extsoft/jcat:latest
build: .
... | <|file_sep|>docker-compose.yaml.diff
original:
- ./allure-results-chrome:/jcat/allure-results:rw
updated:
- ./allure-results-firefox:/jcat/allure-results:rw
<|file_sep|>original/docker-compose.yaml
jcat-on-firefox:
image: extsoft/jcat:latest
build: .
depends_on:
- firefox60
environment:
... | a753735108adb7f67749dd960fb1abce710c28e5 | docker-compose.yaml | docker-compose.yaml | YAML |
<|file_sep|>tasks/week3-t9/main.cpp.diff
original:
if (max < n) {
updated:
if (max <= n) {
s_max = max;
<|file_sep|>original/tasks/week3-t9/main.cpp
using namespace std;
int main() {
int n;
int max = -1;
int s_max = -1;
while (cin >> n && n != 0) {
if (max < n) {
... | using namespace std;
int main() {
int n;
int max = -1;
int s_max = -1;
while (cin >> n && n != 0) {
if (max <= n) {
s_max = max;
max = n;
}
else if (s_max < n) {
s_max = n;
}
}
cout << s_max;
return 0;
} | <|file_sep|>tasks/week3-t9/main.cpp.diff
original:
if (max < n) {
updated:
if (max <= n) {
s_max = max;
<|file_sep|>original/tasks/week3-t9/main.cpp
using namespace std;
int main() {
int n;
int max = -1;
int s_max = -1;
while (cin >> n && n != 0) {
if (max < n) {
... | 801178fc5232430de11eb4a2f5341cc2f00f8627 | tasks/week3-t9/main.cpp | tasks/week3-t9/main.cpp | C++ |
<|file_sep|>src/bin/dev.sh.diff
original:
echo "\033[32m > Start MongoDB process..."
updated:
echo "\033[32m > Start MongoDB..."
<|file_sep|>src/bin/dev.sh.diff
original:
mongod --dbpath ./data/db &
echo "\033[32m > Start Node.js process..."
updated:
mongod --dbpath ./data/db --logpath ./data/db/mongo.log &
echo "\033[... | #!/bin/sh
echo "\033[32m > Start MongoDB..."
echo "\033[0m"
mongod --dbpath ./data/db --logpath ./data/db/mongo.log &
echo "\033[32m > Start Node.js..."
echo "\033[0m"
NODE_ENV=development ./node_modules/node-dev/bin/node-dev server &
echo "\033[32m > Start Grunt..."
echo "\033[0m"
node -e "require('grunt').cli();" | <|file_sep|>src/bin/dev.sh.diff
original:
echo "\033[32m > Start MongoDB process..."
updated:
echo "\033[32m > Start MongoDB..."
<|file_sep|>src/bin/dev.sh.diff
original:
mongod --dbpath ./data/db &
echo "\033[32m > Start Node.js process..."
updated:
mongod --dbpath ./data/db --logpath ./data/db/mongo.log &
echo "\033[... | 4599051f34dae4650636f6e248628c35ff5436da | src/bin/dev.sh | src/bin/dev.sh | Shell |
<|file_sep|>app/views/admin/enterprise_fees/_calculator_settings.html.haml.diff
original:
.field.alpha.one.columns
updated:
%span.field
<|file_sep|>original/app/views/admin/enterprise_fees/_calculator_settings.html.haml
-# Render only the calculator settings and not the surrounding form
- en... | -# Render only the calculator settings and not the surrounding form
- enterprise_fee_set = Sets::ModelSet.new(EnterpriseFee, EnterpriseFee.where(:id => enterprise_fee.id))
- calculator_form_string = nil
- form_for enterprise_fee_set, :as => :sets_enterprise_fee_set, :url => '' do |form|
- form.fields_for :collection ... | <|file_sep|>app/views/admin/enterprise_fees/_calculator_settings.html.haml.diff
original:
.field.alpha.one.columns
updated:
%span.field
<|file_sep|>original/app/views/admin/enterprise_fees/_calculator_settings.html.haml
-# Render only the calculator settings and not the surrounding form
- en... | 398b4a09a1bda85ffcf4fd5e07effb796b975082 | app/views/admin/enterprise_fees/_calculator_settings.html.haml | app/views/admin/enterprise_fees/_calculator_settings.html.haml | Haml |
<|file_sep|>original/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
upload_dir: assets
public_path: "/assets"
front_matter_path: ''
use_front_matter_path: false
... | ---
new_page_extension: md
auto_deploy: false
admin_path: ''
webhook_url:
sections:
- type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
upload_dir: assets
public_path: "/assets"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:" | <|file_sep|>original/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: false
admin_path:
webhook_url:
sections:
- type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
upload_dir: assets
public_path: "/assets"
front_matter_path: ''
use_front_matter_path: false
... | 5d09456e93d355890e5fa52cf05e74974c7e9fe4 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>lib/hal_api/representer.rb.diff
original:
updated:
include Roar::Hypermedia
include Roar::JSON::HAL
include Roar::JSON::HAL::Links
include Roar::JSON
require 'roar/rails/hal'
<|file_sep|>original/lib/hal_api/representer.rb
# encoding: utf-8
class HalApi::Representer < Roar::Decorator
require ... | include Roar::JSON::HAL
include Roar::JSON::HAL::Links
include Roar::JSON
require 'roar/rails/hal'
require 'hal_api/representer/caches'
require 'hal_api/representer/curies'
require 'hal_api/representer/embeds'
require 'hal_api/representer/format_keys'
require 'hal_api/representer/link_serialize'
re... | <|file_sep|>lib/hal_api/representer.rb.diff
original:
updated:
include Roar::Hypermedia
include Roar::JSON::HAL
include Roar::JSON::HAL::Links
include Roar::JSON
require 'roar/rails/hal'
<|file_sep|>original/lib/hal_api/representer.rb
# encoding: utf-8
class HalApi::Representer < Roar::Decorator
require ... | d3f2b88765dd2c2071049ef3758f7f6652be3208 | lib/hal_api/representer.rb | lib/hal_api/representer.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1.2
- 2.2.0
- 2.3.0
before_install:
- gem install bundler
# uncomment this line if your project needs to run something other than `rake`:
script: bundle exec rspec spec
gemfile:
- gemfiles/activesupport_3.gemfile
- gemfiles/activesupport... | language: ruby
rvm:
- 2.0.0
- 2.1.2
- 2.2.0
- 2.3.0
before_install:
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc'
- gem install bundler bundle_cache
- bundle_cache_install
# uncomment this line if your project needs to run something other than `rake`:
script: bundle exec rspec spec
gemfile:
- gemfi... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0.0
- 2.1.2
- 2.2.0
- 2.3.0
before_install:
- gem install bundler
# uncomment this line if your project needs to run something other than `rake`:
script: bundle exec rspec spec
gemfile:
- gemfiles/activesupport_3.gemfile
- gemfiles/activesupport... | 411bbcdea0e139d292d79571f9257bb82177d28c | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/views/studies/show.html.erb.diff
original:
<% if @study.region_set.nil? %>
<p>You have not yet associated an Image Set. You can create a
<%= link_to 'New Image Set', new_region_path() + '?study_id=' + @study.id.to_s() + '&create_set=true' %> or
search for one below.</p>
<% else %>
<h3>Imag... | <%= link_to 'New Image Set', new_region_path() + '?study_id=' + @study.id.to_s() + '&create_set=true' %> or
search for one below.</p>
<% else %>
<h3>Image Set</h3>
<table class="table table-striped table-hover">
<tr>
<th>Map</th>
<th>Name</th>
<th># Locations Includ... | <|file_sep|>app/views/studies/show.html.erb.diff
original:
<% if @study.region_set.nil? %>
<p>You have not yet associated an Image Set. You can create a
<%= link_to 'New Image Set', new_region_path() + '?study_id=' + @study.id.to_s() + '&create_set=true' %> or
search for one below.</p>
<% else %>
<h3>Imag... | a3885bedb62cb339b303779840249fa79aa1fc7e | app/views/studies/show.html.erb | app/views/studies/show.html.erb | HTML+ERB |
<|file_sep|>original/pytablewriter/_csv_writer.py
return True
def __init__(self):
super(CsvTableWriter, self).__init__()
self.indent_string = u""
self.column_delimiter = u","
self.is_padding = False
self.is_write_header_separator_row = False
def _verify_header(... | return True
def __init__(self):
super(CsvTableWriter, self).__init__()
self.indent_string = u""
self.column_delimiter = u","
self.is_padding = False
self.is_write_header_separator_row = False
def _write_header(self):
if dataproperty.is_empty_list_or_tup... | <|file_sep|>original/pytablewriter/_csv_writer.py
return True
def __init__(self):
super(CsvTableWriter, self).__init__()
self.indent_string = u""
self.column_delimiter = u","
self.is_padding = False
self.is_write_header_separator_row = False
def _verify_header(... | 65abd52d1bfd54097ca6bd01b1924e6ffcad8840 | pytablewriter/_csv_writer.py | pytablewriter/_csv_writer.py | Python |
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
**MAINTENANCE MODE**: This package is in maintenance-only mode. Bug fixes may be addressed and Autofac compatibility may be checked but no new features will be added.
updated:
> :warning: **MAINTENANCE MODE**: This package is in mainte... | [Autofac](https://autofac.org) implementation of the NHibernate factories that allow for dependency injection into entities and NHibernate objects.
[](https://ci.appveyor.com/project/Autofac/autofac-extras-nhibernate)
> :warning: **... | <|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
**MAINTENANCE MODE**: This package is in maintenance-only mode. Bug fixes may be addressed and Autofac compatibility may be checked but no new features will be added.
updated:
> :warning: **MAINTENANCE MODE**: This package is in mainte... | 3b7c27233bd30b9f63b3385a407eba1e522cbdf1 | README.md | README.md | Markdown |
<|file_sep|>original/lib/assets/core/javascripts/cartodb3/components/onboardings/layers/analysis-onboarding/analysis-onboarding-view.js
var AnalysesService = require('../../../../editor/layers/layer-content-views/analyses/analyses-service');
var template = require('./analysis-onboarding.tpl');
module.exports = Onboard... | var template = require('./analysis-onboarding.tpl');
module.exports = OnboardingView.extend({
events: OnboardingView.extendEvents({
'click .js-add-analysis': '_onAddAnalysisClicked'
}),
initialize: function (opts) {
OnboardingView.prototype.initialize.call(this, _.extend(opts, {
template: template... | <|file_sep|>original/lib/assets/core/javascripts/cartodb3/components/onboardings/layers/analysis-onboarding/analysis-onboarding-view.js
var AnalysesService = require('../../../../editor/layers/layer-content-views/analyses/analyses-service');
var template = require('./analysis-onboarding.tpl');
module.exports = Onboard... | cd9cb877d204df3480a2c3c046fd9f600e24ace6 | lib/assets/core/javascripts/cartodb3/components/onboardings/layers/analysis-onboarding/analysis-onboarding-view.js | lib/assets/core/javascripts/cartodb3/components/onboardings/layers/analysis-onboarding/analysis-onboarding-view.js | JavaScript |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache: bundler
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:
- master
script:
- "bundle exec rake"
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
cache: bundler
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:... | language: ruby
sudo: false
cache: bundler
rvm:
- 2.3.4
- 2.4.1
branches:
only:
- master
script:
- "bundle exec rake" | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache: bundler
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:
- master
script:
- "bundle exec rake"
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
cache: bundler
rvm:
- 2.1.10
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:... | 74d4c3d7d902edc9d417b52bcf94be6733324d63 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
solution: '**/*.sln'
... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devo... | 8f724e7072ed2f53303e5400720761af05ea201e | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/.github/workflows/requirements.txt
click==8.0.4
future==0.18.2
Jinja2==3.0.3
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.6
MarkupSafe==2.1.0
mkdocs==1.2.3
mkdocs-macros-plugin==0.6.4
mkdocs-material==8.2.5
mkdocs-material-extensions==1.0.3
Pygments==2.11.2
pymdown-extensions==9.2
python-dateutil==2... | click==8.0.4
future==0.18.2
Jinja2==3.0.3
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.6
MarkupSafe==2.1.1
mkdocs==1.2.3
mkdocs-macros-plugin==0.6.4
mkdocs-material==8.2.5
mkdocs-material-extensions==1.0.3
Pygments==2.11.2
pymdown-extensions==9.2
python-dateutil==2.8.2
PyYAML==6.0
repackage==0.7.3
six==1.16.0
termcolor=... | <|file_sep|>original/.github/workflows/requirements.txt
click==8.0.4
future==0.18.2
Jinja2==3.0.3
livereload==2.6.3
lunr==0.6.2
Markdown==3.3.6
MarkupSafe==2.1.0
mkdocs==1.2.3
mkdocs-macros-plugin==0.6.4
mkdocs-material==8.2.5
mkdocs-material-extensions==1.0.3
Pygments==2.11.2
pymdown-extensions==9.2
python-dateutil==2... | 79064e9ace48052d243fc92f9d497f1bf66e7412 | .github/workflows/requirements.txt | .github/workflows/requirements.txt | Text |
<|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
Sphinx==1.6.3
tox==2.8.1
flake8==3.4.1
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watch... | -r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
Sphinx==1.6.3
tox==2.8.2
flake8==3.4.1
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12 | <|file_sep|>original/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
Sphinx==1.6.3
tox==2.8.1
flake8==3.4.1
coverage==4.4.1
cryptography==2.0.3
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watch... | b81bde0f39f645de8a9f327d06904c533f468967 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/poc/trigger/notes.rst
<|file_sep|>current/poc/trigger/notes.rst
<|file_sep|>updated/poc/trigger/notes.rst |
L'approche initiale consistait à créer une application dédiée à la gestion des "compléments SQL" fournissant :
* Un model permettant de décrire le compléments SQL, les instances de ce model serait associé à une propiété de la classe Meta
* Une commande de management qui ferait le tour des models et analyserait leur ... | <|file_sep|>original/poc/trigger/notes.rst
<|file_sep|>current/poc/trigger/notes.rst
<|file_sep|>updated/poc/trigger/notes.rst
L'approche initiale consistait à créer une application dédiée à la gestion des "compléments SQL" fournissant :
* Un model permettant de décrire le compléments SQL, les instances de ce model... | f328351a1780c88ede26d40f8d9ac6b776f6d2a4 | poc/trigger/notes.rst | poc/trigger/notes.rst | reStructuredText |
<|file_sep|>original/config/initializers/carrierwave.rb
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/
aws_file = Rails.root.join('config', 'aws.yml')
if File.exists?(aws_file)
AWS_CONFIG = YAML.load(File.read(aws_file))[Rails.env]
CarrierWave.configure do |config|
config.fog_credentials = ... | CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/
aws_file = Rails.root.join('config', 'aws.yml')
if File.exists?(aws_file)
AWS_CONFIG = YAML.load(File.read(aws_file))[Rails.env]
CarrierWave.configure do |config|
config.fog_credentials = {
provider: 'AWS', ... | <|file_sep|>original/config/initializers/carrierwave.rb
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/
aws_file = Rails.root.join('config', 'aws.yml')
if File.exists?(aws_file)
AWS_CONFIG = YAML.load(File.read(aws_file))[Rails.env]
CarrierWave.configure do |config|
config.fog_credentials = ... | 3e57d88e578f958a6921f893725e8dd767393901 | config/initializers/carrierwave.rb | config/initializers/carrierwave.rb | Ruby |
<|file_sep|>original/package.json
"version": "0.0.0",
"devDependencies": {
"browserify": "^4.0.0",
"tap-spec": "^0.2.0",
"tape": "^2.12.0"
},
"testling": {
"files": "test.js",
"browsers": [
"iexplore/7..latest",
"chrome/31..latest",
... | "version": "0.0.0",
"devDependencies": {
"browserify": "^4.0.0",
"tap-spec": "^0.2.0",
"tape": "^2.12.0"
},
"testling": {
"files": "test.js",
"browsers": [
"iexplore/7..latest",
"chrome/28..latest",
"firefox/24..latest",
... | <|file_sep|>original/package.json
"version": "0.0.0",
"devDependencies": {
"browserify": "^4.0.0",
"tap-spec": "^0.2.0",
"tape": "^2.12.0"
},
"testling": {
"files": "test.js",
"browsers": [
"iexplore/7..latest",
"chrome/31..latest",
... | f44063d62d9fa9dc1109cc2d11aecb1422d07d8c | package.json | package.json | JSON |
<|file_sep|>original/composer.json
"authors": [
{
"name": "Andrew Smith",
"email": "a.smith@silentworks.co.uk",
"homepage": "http://thoughts.silentworks.co.uk/"
}
],
"require": {
"php": ">=5.4",
"dflydev/fig-cookies": "~1.0",
"illum... | "authors": [
{
"name": "Andrew Smith",
"email": "a.smith@silentworks.co.uk",
"homepage": "http://thoughts.silentworks.co.uk/"
}
],
"require": {
"php": ">=5.6.4",
"dflydev/fig-cookies": "^1.0",
"illuminate/config": "~5.2",
"i... | <|file_sep|>original/composer.json
"authors": [
{
"name": "Andrew Smith",
"email": "a.smith@silentworks.co.uk",
"homepage": "http://thoughts.silentworks.co.uk/"
}
],
"require": {
"php": ">=5.4",
"dflydev/fig-cookies": "~1.0",
"illum... | 9a32e2f0545343e651aee3f65978665d89f39259 | composer.json | composer.json | JSON |
<|file_sep|>original/lib/web/scripts/IdleView.js
module.exports = class IdleView extends Marionette.View {
template = Templates['idle'];
className() { return 'idle-content'; }
events() {
return {'click': 'hide'};
}
onRender() {
this.timeRefresh = setInterval(this.render.bind(this), 10000);
}
... |
module.exports = class IdleView extends Marionette.View {
template = Templates['idle'];
className() { return 'idle-content'; }
events() {
return {'click': 'hide'};
}
initialize() {
this.timeRefresh = setInterval(this.render.bind(this), 10000);
}
serializeData() {
const now = moment();
... | <|file_sep|>original/lib/web/scripts/IdleView.js
module.exports = class IdleView extends Marionette.View {
template = Templates['idle'];
className() { return 'idle-content'; }
events() {
return {'click': 'hide'};
}
onRender() {
this.timeRefresh = setInterval(this.render.bind(this), 10000);
}
... | dc731a64f204251143021cdc663ddaea195f3908 | lib/web/scripts/IdleView.js | lib/web/scripts/IdleView.js | JavaScript |
<|file_sep|>original/queries.py
<|file_sep|>current/queries.py
<|file_sep|>updated/queries.py | #!/usr/bin/env python
# Brandon Heller
#
# Run geo, time, and combined queries to get an early idea of how interactive
# this might be.
import time
from datetime import datetime
from pymongo import Connection
INPUT_DB = 'processed'
conn = Connection(slave_okay=True)
processed = conn[INPUT_DB]
def time_queries():
... | <|file_sep|>original/queries.py
<|file_sep|>current/queries.py
<|file_sep|>updated/queries.py
#!/usr/bin/env python
# Brandon Heller
#
# Run geo, time, and combined queries to get an early idea of how interactive
# this might be.
import time
from datetime import datetime
from pymongo import Connection
INPUT_DB = '... | 7a15963a81da6120a79f282dcf43e5e508d13ff5 | queries.py | queries.py | Python |
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
## A Demo
---------------------
For a demo of Roroacms head over to demo.roroacms.com
To get into the admin panel use the details below:-
>Url:- demo.roroacms.com/admin
>Username:- demo
>Password:- demo
## The Story
--------------------... | ## A Demo
---------------------
For a demo of Roroacms head over to demo.roroacms.com
To get into the admin panel use the details below:-
>Url:- demo.roroacms.com/admin
>Username:- demo
>Password:- demo
## The Story
---------------------
## Installation & Documentation
---------------------
Installation is re... | <|file_sep|>README.md.diff
original:
updated:
<|file_sep|>original/README.md
## A Demo
---------------------
For a demo of Roroacms head over to demo.roroacms.com
To get into the admin panel use the details below:-
>Url:- demo.roroacms.com/admin
>Username:- demo
>Password:- demo
## The Story
--------------------... | 7ded6450a7d67762d8df041bed220d7d3163d734 | README.md | README.md | Markdown |
<|file_sep|>lib/s3_multipart/uploader.rb.diff
original:
self.mount_point = options[:using] if options.key?(:using)
updated:
self.mount_point = options.delete(:using)
<|file_sep|>original/lib/s3_multipart/uploader.rb
include S3Multipart::Uploader::Validations
attr_accessor :mount_point, :mod... | include S3Multipart::Uploader::Validations
attr_accessor :mount_point, :model
def self.extended(klass)
Uploader.controllers[klass.to_s.to_sym] = Digest::SHA1.hexdigest(klass.to_s)
end
def attach(model, options = {})
self.mount_point = options.delete(:using)
self.... | <|file_sep|>lib/s3_multipart/uploader.rb.diff
original:
self.mount_point = options[:using] if options.key?(:using)
updated:
self.mount_point = options.delete(:using)
<|file_sep|>original/lib/s3_multipart/uploader.rb
include S3Multipart::Uploader::Validations
attr_accessor :mount_point, :mod... | 4dcdb23439939b12c0a086d331a0e1402cf415b2 | lib/s3_multipart/uploader.rb | lib/s3_multipart/uploader.rb | Ruby |
<|file_sep|>Octokit/Models/Response/PullRequestFile.cs.diff
original:
updated:
using Octokit.Internal;
<|file_sep|>Octokit/Models/Response/PullRequestFile.cs.diff
original:
updated:
[Parameter(Key = "filename")]
<|file_sep|>original/Octokit/Models/Response/PullRequestFile.cs
ContentsUri = contents... | Patch = patch;
}
public string Sha { get; protected set; }
[Parameter(Key = "filename")]
public string FileName { get; protected set; }
public string Status { get; protected set; }
public int Additions { get; protected set; }
public int Deletions { ge... | <|file_sep|>Octokit/Models/Response/PullRequestFile.cs.diff
original:
updated:
using Octokit.Internal;
<|file_sep|>Octokit/Models/Response/PullRequestFile.cs.diff
original:
updated:
[Parameter(Key = "filename")]
<|file_sep|>original/Octokit/Models/Response/PullRequestFile.cs
ContentsUri = contents... | 57d79d8d4d87f2bb142da0b8cb2658f3779af462 | Octokit/Models/Response/PullRequestFile.cs | Octokit/Models/Response/PullRequestFile.cs | C# |
<|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
protect_from_forgery with: :exception
<|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
devise_group :user, contains: [:developer, :recruiter]
before_action :set_raven_context, if: :tracking?
before_act... | def configure_permitted_parameters
devise_parameter_sanitizer.permit(
:sign_up,
keys: [:name, :company, :website, :language, :location]
)
end
def render_unauthorised
render json: { errors: [ message: 'Unauthorised'] }, status: 401
end
private
def tracking?
Rails.env.production... | <|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
protect_from_forgery with: :exception
<|file_sep|>app/controllers/application_controller.rb.diff
original:
updated:
devise_group :user, contains: [:developer, :recruiter]
before_action :set_raven_context, if: :tracking?
before_act... | 8f55f672a8bd20809ddac1dfdd6f064660cc7581 | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>original/config/application.rb
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module LogManager
class Application < Rails::Application
# Settings in config/environmen... | class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
# Set Time.zone default to the specified zone an... | <|file_sep|>original/config/application.rb
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module LogManager
class Application < Rails::Application
# Settings in config/environmen... | ec918d01b8c00c28f56e8a141c175720c5724872 | config/application.rb | config/application.rb | Ruby |
<|file_sep|>odbc2csv.py.diff
original:
cur.tables("%", "", "")
updated:
cur.execute("select * from sys.tables")
<|file_sep|>original/odbc2csv.py
import csv
conn = pypyodbc.connect("DSN=")
cur = conn.cursor()
tables = []
cur.tables("%", "", "")
for row in cur.fetchall():
tables.append(row[2])
for table in table... | import csv
conn = pypyodbc.connect("DSN=")
cur = conn.cursor()
tables = []
cur.execute("select * from sys.tables")
for row in cur.fetchall():
tables.append(row[0])
for table in tables:
cur.execute("select * from %s" % table)
column_names = []
for d in cur.description:
column_names.append(... | <|file_sep|>odbc2csv.py.diff
original:
cur.tables("%", "", "")
updated:
cur.execute("select * from sys.tables")
<|file_sep|>original/odbc2csv.py
import csv
conn = pypyodbc.connect("DSN=")
cur = conn.cursor()
tables = []
cur.tables("%", "", "")
for row in cur.fetchall():
tables.append(row[2])
for table in table... | 8fd395e1085f0508da401186b09f7487b3f9ae64 | odbc2csv.py | odbc2csv.py | Python |
<|file_sep|>packages/be/bearriver.yaml.diff
original:
hash: 2c3a0b05bae39bc8b5c3b842d7c20fad255979513d71824f0cb747771be32382
updated:
hash: 5cc3c2193135efa949dd841bf8b85a984706c27a82f150286677f7afb981b026
<|file_sep|>packages/be/bearriver.yaml.diff
original:
dunai: ! '>=0.5 && <0.6'
updated:
dunai: ! '>=0.5.2 && <0... | synopsis: A replacement of Yampa based on Monadic Stream Functions.
changelog: ''
basic-deps:
dunai: ! '>=0.5.2 && <0.6'
MonadRandom: -any
base: ! '>=4.6 && <5'
mtl: -any
transformers: ! '>=0.3'
all-versions:
- 0.0.1
- 0.10.4
- 0.10.4.1
- 0.10.4.2
- 0.10.4.3
- 0.10.4.4
- 0.10.4.5
author: Ivan Perez and Manuel... | <|file_sep|>packages/be/bearriver.yaml.diff
original:
hash: 2c3a0b05bae39bc8b5c3b842d7c20fad255979513d71824f0cb747771be32382
updated:
hash: 5cc3c2193135efa949dd841bf8b85a984706c27a82f150286677f7afb981b026
<|file_sep|>packages/be/bearriver.yaml.diff
original:
dunai: ! '>=0.5 && <0.6'
updated:
dunai: ! '>=0.5.2 && <0... | f940733e34a2a99db4a941f21b9a2e7c84697ee8 | packages/be/bearriver.yaml | packages/be/bearriver.yaml | YAML |
<|file_sep|>original/fish/config.fish
# Wrap hub in `git`
eval (hub alias -s)
# Path party
set PATH "/usr/local/sbin" $PATH
<|file_sep|>current/fish/config.fish
# Wrap hub in `git`
eval (hub alias -s)
# Path party
set PATH "/usr/local/sbin" $PATH
<|file_sep|>updated/fish/config.fish |
# Wrap hub in `git`
eval (hub alias -s)
# Path party
set PATH "/opt/homebrew/bin /usr/local/sbin" $PATH
| <|file_sep|>original/fish/config.fish
# Wrap hub in `git`
eval (hub alias -s)
# Path party
set PATH "/usr/local/sbin" $PATH
<|file_sep|>current/fish/config.fish
# Wrap hub in `git`
eval (hub alias -s)
# Path party
set PATH "/usr/local/sbin" $PATH
<|file_sep|>updated/fish/config.fish
# Wrap hub in `git`
eval (hub... | 2dd914cfbfcb6c4d387df5d0531ee4092ad4b4fd | fish/config.fish | fish/config.fish | fish |
<|file_sep|>original/requirements_tests.txt
-r requirements.txt
pytest
pytest-cov
mock
#db support
pymysql
#pysqlite
#sqlite3
pymssql
psycopg2
#pyspatialite
#mysql-python
<|file_sep|>current/requirements_tests.txt
-r requirements.txt
pytest
pytest-cov
mock
#db support
pymysql
#pysqlite
#sqlite3
pymssql
psycopg2
#pysp... | -r requirements.txt
pytest
pytest-cov
mock
#db support
pymysql
#pysqlite
sqlite
pymssql
psycopg2
#pyspatialite
#mysql-python
| <|file_sep|>original/requirements_tests.txt
-r requirements.txt
pytest
pytest-cov
mock
#db support
pymysql
#pysqlite
#sqlite3
pymssql
psycopg2
#pyspatialite
#mysql-python
<|file_sep|>current/requirements_tests.txt
-r requirements.txt
pytest
pytest-cov
mock
#db support
pymysql
#pysqlite
#sqlite3
pymssql
psycopg2
#pysp... | b759d1fda20f675342937f0541ae3d363655be7e | requirements_tests.txt | requirements_tests.txt | Text |
<|file_sep|>original/plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_ssl3.patch
<|file_sep|>current/plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_ssl3.patch
<|file_sep|>updated/plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_s... | diff -r -u ../Python-2.7.9.orig/Lib/ssl.py ./Lib/ssl.py
--- ../Python-2.7.9.orig/Lib/ssl.py 2014-12-10 15:59:40.000000000 +0000
+++ ./Lib/ssl.py 2015-12-18 14:09:51.218138658 +0000
@@ -106,7 +106,12 @@
from _ssl import (VERIFY_DEFAULT, VERIFY_CRL_CHECK_LEAF, VERIFY_CRL_CHECK_CHAIN,
VERIFY_X509_STRICT)
from _ssl ... | <|file_sep|>original/plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_ssl3.patch
<|file_sep|>current/plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_ssl3.patch
<|file_sep|>updated/plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_s... | bc322b0238348e6223b0d9ed0c03f2321f2cb351 | plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_ssl3.patch | plugins/python-build/share/python-build/patches/2.7.9/Python-2.7.9/010_ssl_no_ssl3.patch | Diff |
<|file_sep|>.phpcs.xml.dist.diff
original:
<!-- Exclude resources folder -->
<exclude-pattern>resources/*</exclude-pattern>
<!-- Exclude Composer vendor folder -->
<exclude-pattern>vendor/*</exclude-pattern>
updated:
<|file_sep|>original/.phpcs.xml.dist
</rule>
<!-- Exclude resources folder -->
<exclude-patt... | </rule>
<!-- Include sniffs for PHP cross-version compatibility. -->
<config name="testVersion" value="5.6-"/>
<rule ref="PHPCompatibilityWP">
<exclude-pattern>bin/*</exclude-pattern>
</rule>
<arg value="s"/>
<arg name="extensions" value="php"/>
<!-- Include only the directories containing PHP files. -->
... | <|file_sep|>.phpcs.xml.dist.diff
original:
<!-- Exclude resources folder -->
<exclude-pattern>resources/*</exclude-pattern>
<!-- Exclude Composer vendor folder -->
<exclude-pattern>vendor/*</exclude-pattern>
updated:
<|file_sep|>original/.phpcs.xml.dist
</rule>
<!-- Exclude resources folder -->
<exclude-patt... | 36dd09617da474d7d19210b292b0bf2972ff9a50 | .phpcs.xml.dist | .phpcs.xml.dist | unknown |
<|file_sep|>original/core/src/main/java/org/apache/directory/server/core/interceptor/context/ModifyDNServiceContext.java
<|file_sep|>current/core/src/main/java/org/apache/directory/server/core/interceptor/context/ModifyDNServiceContext.java
<|file_sep|>updated/core/src/main/java/org/apache/directory/server/core/inter... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | <|file_sep|>original/core/src/main/java/org/apache/directory/server/core/interceptor/context/ModifyDNServiceContext.java
<|file_sep|>current/core/src/main/java/org/apache/directory/server/core/interceptor/context/ModifyDNServiceContext.java
<|file_sep|>updated/core/src/main/java/org/apache/directory/server/core/inter... | 48820dd91c5510aa6a4de3a91f149936cc009695 | core/src/main/java/org/apache/directory/server/core/interceptor/context/ModifyDNServiceContext.java | core/src/main/java/org/apache/directory/server/core/interceptor/context/ModifyDNServiceContext.java | Java |
<|file_sep|>tidyup.sh.diff
original:
updated:
if [[ $# -eq 0 ]] ; then
echo 'Usage: tidyup <dir1> <dir2> ... <dirN>'
echo 'Tidies ~/<dirN> to ~/Backups/<dirN>'
exit 0
fi
<|file_sep|>original/tidyup.sh
#!/bin/sh
backupdir=~/Backups/
for var in "$@"
do
source=~/$var
# Ignore directories that don't exi... | #!/bin/sh
backupdir=~/Backups/
if [[ $# -eq 0 ]] ; then
echo 'Usage: tidyup <dir1> <dir2> ... <dirN>'
echo 'Tidies ~/<dirN> to ~/Backups/<dirN>'
exit 0
fi
for var in "$@"
do
source=~/$var
# Ignore directories that don't exist.
if [ -d "$source" ] ; then
destination=$backupdir$var
mkdi... | <|file_sep|>tidyup.sh.diff
original:
updated:
if [[ $# -eq 0 ]] ; then
echo 'Usage: tidyup <dir1> <dir2> ... <dirN>'
echo 'Tidies ~/<dirN> to ~/Backups/<dirN>'
exit 0
fi
<|file_sep|>original/tidyup.sh
#!/bin/sh
backupdir=~/Backups/
for var in "$@"
do
source=~/$var
# Ignore directories that don't exi... | 43e0a10e15ef84a9fee978bc68189d22f797d6a9 | tidyup.sh | tidyup.sh | Shell |
<|file_sep|>runTests.js.diff
original:
updated:
var _prettyPrint = require('util').inspect;
<|file_sep|>runTests.js.diff
original:
* Test that a new object is clean: has no functions.
* Same for string and array.
updated:
* Test that new objects, strings, arrays, numbers
* and regular expressions have no enumerabl... | {
_assertIsClean({}, callback);
_assertIsClean('', callback);
_assertIsClean([], callback);
_assertIsClean(41.5, callback);
_assertIsClean(/abc/, callback);
testing.success(callback);
}
function _assertIsClean(newObject, callback) {
for (var key in newObject) {
testing.failure('New object ' +
_prettyPr... | <|file_sep|>runTests.js.diff
original:
updated:
var _prettyPrint = require('util').inspect;
<|file_sep|>runTests.js.diff
original:
* Test that a new object is clean: has no functions.
* Same for string and array.
updated:
* Test that new objects, strings, arrays, numbers
* and regular expressions have no enumerabl... | 028c8a22b05412ff8a98e0dd5d13b48c296ab3a0 | runTests.js | runTests.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
script: nosetests
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
script: nosetests
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
nosetests --with-coverage --cover-package=sphinxcontrib-traceables
after_success:
coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
script: nosetests
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
script: nosetests
<|file_sep|>updated/.travis.yml
language: python
python:
- "2.7"
install:
- pip install -r requirements.txt
- pip install coveralls
script:
n... | 3292282e2a1938d959b247a33c72364dcf961a2b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/merb-gen/lib/generators/templates/component/model/spec/models/%file_name%_spec.rb
require File.join( File.dirname(__FILE__), <%= go_up(modules.size + 1) %>, "spec_helper" )
describe <%= class_name %> do
it "should have specs"
end
<|file_sep|>current/merb-gen/lib/generators/templates/component/... | require File.join( File.dirname(__FILE__), <%= go_up(modules.size + 1) %>, "spec_helper" )
describe <%= full_class_name %> do
it "should have specs"
end | <|file_sep|>original/merb-gen/lib/generators/templates/component/model/spec/models/%file_name%_spec.rb
require File.join( File.dirname(__FILE__), <%= go_up(modules.size + 1) %>, "spec_helper" )
describe <%= class_name %> do
it "should have specs"
end
<|file_sep|>current/merb-gen/lib/generators/templates/component/... | cd0c5fcf4d82181440df9ea7406c5efb3e03ee4d | merb-gen/lib/generators/templates/component/model/spec/models/%file_name%_spec.rb | merb-gen/lib/generators/templates/component/model/spec/models/%file_name%_spec.rb | Ruby |
<|file_sep|>original/resume.html
---
layout: default
title: Category
permalink: /category/
public: true
---
<div class="home">
<h1 class="page-heading">Resume</h1>
Hello World!
</div>
<|file_sep|>current/resume.html
---
layout: default
title: Category
permalink: /category/
public: true
---
<div class="home">
... | ---
layout: default
title: Resume
permalink: /resume/
public: true
---
<div class="home">
<h1 class="page-heading">Resume</h1>
Hello World!
</div> | <|file_sep|>original/resume.html
---
layout: default
title: Category
permalink: /category/
public: true
---
<div class="home">
<h1 class="page-heading">Resume</h1>
Hello World!
</div>
<|file_sep|>current/resume.html
---
layout: default
title: Category
permalink: /category/
public: true
---
<div class="home">
... | 51e1188eb120658dedd7a92e3dcb20f3f53549ff | resume.html | resume.html | HTML |
<|file_sep|>original/client/src/components/UpgradeNotification/index.js
/*
* Expected JSON payload:
* {
* "version" : "1.2.3", // Version number. Can only contain numbers and decimal point.
* "url" : "https://wagtail.io" // Absolute URL to page/file containing release notes or actual packa... | /*
* Expected JSON payload:
* {
* "version" : "1.2.3", // Version number. Can only contain numbers and decimal point.
* "url" : "https://wagtail.io" // Absolute URL to page/file containing release notes or actual package. It's up to you.
* }
*/
const releasesUrl = 'https://releases... | <|file_sep|>original/client/src/components/UpgradeNotification/index.js
/*
* Expected JSON payload:
* {
* "version" : "1.2.3", // Version number. Can only contain numbers and decimal point.
* "url" : "https://wagtail.io" // Absolute URL to page/file containing release notes or actual packa... | 98d2a1f56370efad5e48f829e1b3e77b1b2baea1 | client/src/components/UpgradeNotification/index.js | client/src/components/UpgradeNotification/index.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "react-native-tab-navigator",
"version": "0.2.14",
"description": "A tab bar that switches between scenes, written in JS for cross-platform support",
"main": "TabNavigator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/exponentjs/react-na... | {
"name": "react-native-tab-navigator",
"version": "0.2.15",
"description": "A tab bar that switches between scenes, written in JS for cross-platform support",
"main": "TabNavigator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/exponentjs/react-native-tab-navigator.git"
},
"ke... | <|file_sep|>original/package.json
{
"name": "react-native-tab-navigator",
"version": "0.2.14",
"description": "A tab bar that switches between scenes, written in JS for cross-platform support",
"main": "TabNavigator.js",
"repository": {
"type": "git",
"url": "git+https://github.com/exponentjs/react-na... | 1f8792783c6c05b0cca0f8d2df6fd94b27bcada8 | package.json | package.json | JSON |
<|file_sep|>spec/helpers/acceptance/tests/bad_manifest_shared_examples.rb.diff
original:
manifest + instances.map do |instance, meta|
config = meta.map { |k, v| "'#{k}' => '#{v}'," }.join("\n")
updated:
instance_manifest = instances.map do |instance, meta|
config = meta.map { |k, v| "'#{k}' ... | config = meta.map { |k, v| "'#{k}' => '#{v}'," }.join(' ')
<<-MANIFEST
elasticsearch::instance { '#{instance}':
ensure => #{meta.empty? ? 'absent' : 'present'},
config => {
#{config}
},
#{defined?(manifest_instance_parameters) && ma... | <|file_sep|>spec/helpers/acceptance/tests/bad_manifest_shared_examples.rb.diff
original:
manifest + instances.map do |instance, meta|
config = meta.map { |k, v| "'#{k}' => '#{v}'," }.join("\n")
updated:
instance_manifest = instances.map do |instance, meta|
config = meta.map { |k, v| "'#{k}' ... | f00bb0a4eb3fc772b379540d0bf19c740ceda661 | spec/helpers/acceptance/tests/bad_manifest_shared_examples.rb | spec/helpers/acceptance/tests/bad_manifest_shared_examples.rb | Ruby |
<|file_sep|>app/services/create_list_item.rb.diff
original:
if list_item.item
updated:
if item_attached?
<|file_sep|>original/app/services/create_list_item.rb
new(list_item).call
end
def initialize(list_item)
@list_item = list_item
end
def call
if list_item.item
AttachSearchToListIte... | @list_item = list_item
end
def call
if item_attached?
AttachSearchToListItem.call(list_item)
AttachQueryResultsToSearch.call(list_item.search)
list_item.save!
else
@list_item.errors.add(:item, "Must provide a valid item")
end
end
private
attr_reader :list_item
def... | <|file_sep|>app/services/create_list_item.rb.diff
original:
if list_item.item
updated:
if item_attached?
<|file_sep|>original/app/services/create_list_item.rb
new(list_item).call
end
def initialize(list_item)
@list_item = list_item
end
def call
if list_item.item
AttachSearchToListIte... | cccc452ca20a060ebf34cff7544dd314931aaa77 | app/services/create_list_item.rb | app/services/create_list_item.rb | Ruby |
<|file_sep|>original/.github/FUNDING.yml
# These are supported funding model platforms
github: [samdark, cebe]
open_collective: yiisoft
<|file_sep|>current/.github/FUNDING.yml
# These are supported funding model platforms
github: [samdark, cebe]
open_collective: yiisoft
<|file_sep|>updated/.github/FUNDING.yml | # These are supported funding model platforms
github: [samdark, cebe]
open_collective: yiisoft
tidelift: "packagist/yiisoft/yii" | <|file_sep|>original/.github/FUNDING.yml
# These are supported funding model platforms
github: [samdark, cebe]
open_collective: yiisoft
<|file_sep|>current/.github/FUNDING.yml
# These are supported funding model platforms
github: [samdark, cebe]
open_collective: yiisoft
<|file_sep|>updated/.github/FUNDING.yml
# These... | cae62a5c9e3155b14ec528d973d1d9920dca0d21 | .github/FUNDING.yml | .github/FUNDING.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.