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|>package.json.diff
original:
"hodor": "^0.2.0"
updated:
"hodor": "^0.2.0",
"yargs": "^1.3.1"
<|file_sep|>original/package.json
"version": "0.0.0",
"description": "Hodor. API.",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
... | "name": "hodor-api",
"version": "0.0.0",
"description": "Hodor. API.",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"hodor",
"api",
"rest"
],
"author": "Matt Gerton <matt.gerton@gmail.com>",
"license": "MIT",
"dependencies": ... | <|file_sep|>package.json.diff
original:
"hodor": "^0.2.0"
updated:
"hodor": "^0.2.0",
"yargs": "^1.3.1"
<|file_sep|>original/package.json
"version": "0.0.0",
"description": "Hodor. API.",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
... | 354a33ba136c617bf0a109886b68a4d4fdb51bfe | package.json | package.json | JSON |
<|file_sep|>original/.circleci/config.yml
save_cache:
<<: *DEPS_KEY
paths:
- target
- /usr/local/cargo/registry/cache
version: 2
jobs:
build:
docker:
- image: rustlang/rust:nightly
environment:
RUSTFLAGS: -D warnings
- image: sfackler/rust-postgres-test:5
steps... | save_cache:
<<: *DEPS_KEY
paths:
- target
- /usr/local/cargo/registry/cache
version: 2
jobs:
build:
docker:
- image: rust:1.39.0
environment:
RUSTFLAGS: -D warnings
- image: sfackler/rust-postgres-test:5
steps:
- checkout
- run: rustup component add... | <|file_sep|>original/.circleci/config.yml
save_cache:
<<: *DEPS_KEY
paths:
- target
- /usr/local/cargo/registry/cache
version: 2
jobs:
build:
docker:
- image: rustlang/rust:nightly
environment:
RUSTFLAGS: -D warnings
- image: sfackler/rust-postgres-test:5
steps... | d6163c088f084b4be8318136c89a03da29687ae6 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>routes/get_token_metadata.js.diff
original:
withRelated: ['balance']
updated:
withRelated: ['balance', 'contract']
<|file_sep|>original/routes/get_token_metadata.js
new Token({token: token}).fetch({
withRelated: ['balance']
}).then(function (model) {
if (!model) {
res.status(404).j... | withRelated: ['balance', 'contract']
}).then(function (model) {
if (!model) {
res.status(404).json({
message: "Token not found"
});
return;
} else {
manager.checkTokenBalance(token).then(function(balance){
res.status(200).json({
token: token,
has... | <|file_sep|>routes/get_token_metadata.js.diff
original:
withRelated: ['balance']
updated:
withRelated: ['balance', 'contract']
<|file_sep|>original/routes/get_token_metadata.js
new Token({token: token}).fetch({
withRelated: ['balance']
}).then(function (model) {
if (!model) {
res.status(404).j... | e3333f538bdac8d45f755f3a3aa8b9293fa3a6a6 | routes/get_token_metadata.js | routes/get_token_metadata.js | JavaScript |
<|file_sep|>test/controllers/comments_controller_test.rb.diff
original:
@user = create(:user, 'email' => 'jaimito@gmail.com', 'username' => 'jaimito')
updated:
<|file_sep|>original/test/controllers/comments_controller_test.rb
setup do
@ad = create(:ad)
@user = create(:user, 'email' => 'jaimito@gmail.com'... | setup do
@ad = create(:ad)
end
test 'should not create a comment as anonymous' do
assert_difference('Comment.count', 0) do
post :create, id: @ad.id, body: 'hola mundo'
end
assert_response :redirect
assert_redirected_to new_user_session_url
end
test 'should create a comment as a use... | <|file_sep|>test/controllers/comments_controller_test.rb.diff
original:
@user = create(:user, 'email' => 'jaimito@gmail.com', 'username' => 'jaimito')
updated:
<|file_sep|>original/test/controllers/comments_controller_test.rb
setup do
@ad = create(:ad)
@user = create(:user, 'email' => 'jaimito@gmail.com'... | 7028f25f27f040fa915ff23db4594d316f08912d | test/controllers/comments_controller_test.rb | test/controllers/comments_controller_test.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "4"
- "6"
- "7"
- "8"
notifications:
email:
on_success: never
cache:
directories:
- node_modules
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "4"
- "6"
- "7"
- "8"
notifications:
email:... | language: node_js
sudo: false
node_js:
- "6"
- "7"
- "8"
notifications:
email:
on_success: never
cache:
directories:
- node_modules | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "4"
- "6"
- "7"
- "8"
notifications:
email:
on_success: never
cache:
directories:
- node_modules
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "4"
- "6"
- "7"
- "8"
notifications:
email:... | 45092677509fb35d58bd99af1d5b58ffe5448081 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/mmw/requirements/base.txt
Django>=1.8,<1.8.99
gunicorn==19.1.1
django-statsd-mozilla==0.3.15
django-redis==3.8.3
hiredis==0.1.6
djangorestframework==3.1.1
django-filter==0.9.2
django-registration-redux==1.2
python-omgeo==2.0.0
rauth==0.7.1
djangorestframework-gis==0.8.2
django-rest-swagger==0.3... | Django>=1.8,<1.8.99
gunicorn==19.1.1
django-statsd-mozilla==0.3.15
django-redis==3.8.3
hiredis==0.1.6
djangorestframework==3.1.1
django-filter==0.9.2
django-registration-redux==1.2
python-omgeo==2.0.0
rauth==0.7.1
djangorestframework-gis==0.8.2
django-rest-swagger==0.3.8
markdown==2.6.9
tr55==1.3.0
gwlf-e==0.6.2
reques... | <|file_sep|>original/src/mmw/requirements/base.txt
Django>=1.8,<1.8.99
gunicorn==19.1.1
django-statsd-mozilla==0.3.15
django-redis==3.8.3
hiredis==0.1.6
djangorestframework==3.1.1
django-filter==0.9.2
django-registration-redux==1.2
python-omgeo==2.0.0
rauth==0.7.1
djangorestframework-gis==0.8.2
django-rest-swagger==0.3... | 9b632bf5001acfd01eafbe118dcd48988fcd0cef | src/mmw/requirements/base.txt | src/mmw/requirements/base.txt | Text |
<|file_sep|>original/indra/newview/installers/darwin/set-labels.applescript
-- a different color.
-- Usage: osascript set-labels.applescript <volume-name>
-- where <volume-name> is the volume name of the disk image.
on run argv
tell application "Finder"
set diskname to item 1 of argv
set file_list to every file ... | -- where <volume-name> is the volume name of the disk image.
on run argv
tell application "Finder"
set diskname to item 1 of argv
tell disk diskname
set file_list to every file
repeat with i in file_list
if the name of i is "Applications" then
set the position of i to {368, 135}
else if the nam... | <|file_sep|>original/indra/newview/installers/darwin/set-labels.applescript
-- a different color.
-- Usage: osascript set-labels.applescript <volume-name>
-- where <volume-name> is the volume name of the disk image.
on run argv
tell application "Finder"
set diskname to item 1 of argv
set file_list to every file ... | fea9048e53742f63f867f60937203cf17597828e | indra/newview/installers/darwin/set-labels.applescript | indra/newview/installers/darwin/set-labels.applescript | AppleScript |
<|file_sep|>original/scripts/del-nat-sessions.sh
<|file_sep|>current/scripts/del-nat-sessions.sh
<|file_sep|>updated/scripts/del-nat-sessions.sh | #!/bin/bash
#########################################################################
# This script deletes dynamic NAT44 mappings for a given src/dst
# IP address pair and protocol type (tcp or udp).
#
# Example Usage:
# del-nat-sessions.sh <SRC-IP-ADDRESS> -s <DST-IP-ADDRESS> -p <PROTOCOL>
# <SRC-IP-ADDRESS>: Source... | <|file_sep|>original/scripts/del-nat-sessions.sh
<|file_sep|>current/scripts/del-nat-sessions.sh
<|file_sep|>updated/scripts/del-nat-sessions.sh
#!/bin/bash
#########################################################################
# This script deletes dynamic NAT44 mappings for a given src/dst
# IP address pair and... | efa6a9708c82ef182c752b101b993301ed27ecf0 | scripts/del-nat-sessions.sh | scripts/del-nat-sessions.sh | Shell |
<|file_sep|>original/portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitdirectory.jsp
<|file_sep|>current/portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitdirectory.jsp
<|file_sep|>updated/portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitd... | <%
/**
* OpenCPS is the open source Core Public Services software
* Copyright (C) 2016-present OpenCPS community
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 ... | <|file_sep|>original/portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitdirectory.jsp
<|file_sep|>current/portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitdirectory.jsp
<|file_sep|>updated/portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitd... | a6682553ad1a61d0da5152697b803007ba097c91 | portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitdirectory.jsp | portlets/opencps-portlet/docroot/html/portlets/usermgt/directory/workingunitdirectory.jsp | Java Server Pages |
<|file_sep|>original/package.json
{
"name": "text-format",
"title": "Text Format",
"description": "A javascript library for formatting locale-sensitive information such as dates, messages and numbers",
"version": "0.0.1",
"main": "dist/text-format.js",
"keywords": ["text", "format", "locale", "date", "messa... | {
"name": "text-format",
"title": "Text Format",
"description": "A javascript library for formatting locale-sensitive information such as dates, messages and numbers",
"version": "0.0.2-SNAPSHOT",
"main": "dist/text-format.js",
"keywords": ["text", "format", "locale", "date", "message", "number", "decimal",... | <|file_sep|>original/package.json
{
"name": "text-format",
"title": "Text Format",
"description": "A javascript library for formatting locale-sensitive information such as dates, messages and numbers",
"version": "0.0.1",
"main": "dist/text-format.js",
"keywords": ["text", "format", "locale", "date", "messa... | c60f127d3d9108c02ca634c63e4f1b4b8deae624 | package.json | package.json | JSON |
<|file_sep|>original/TWLight/emails/templates/emails/comment_notification_editors-body-html.html
{% load i18n %}
{% comment %} Translator: This email is sent to users when they receive a comment on their application. Don't translate {{ partner }} or {{ app_url }}.{% endcomment %}
{% blocktrans trimmed with partner=app... | {% load i18n %}
{% comment %} Translator: This email is sent to users when they receive a comment on their application. Don't translate {{ user }}, {{ partner }} or {{ app_url }}.{% endcomment %}
{% blocktrans trimmed with partner=app.partner user=app.user %}
Dear {{ user }},
Thank you for applying for access to {{ p... | <|file_sep|>original/TWLight/emails/templates/emails/comment_notification_editors-body-html.html
{% load i18n %}
{% comment %} Translator: This email is sent to users when they receive a comment on their application. Don't translate {{ partner }} or {{ app_url }}.{% endcomment %}
{% blocktrans trimmed with partner=app... | d02e7d7d7685a7a8ba1e7ebf32913e8f503e98d1 | TWLight/emails/templates/emails/comment_notification_editors-body-html.html | TWLight/emails/templates/emails/comment_notification_editors-body-html.html | HTML |
<|file_sep|>original/.travis.yml
go:
- 1.9
install:
- go get -t ./...
script:
- go test -v -race -covermode=atomic ./...
go_import_path: github.com/google/cloudprober
services:
- docker
after_success:
- make cloudprober
- cp /etc/ssl/certs/ca-certificates.crt .
- test "$TRAVIS_BRANCH" = "master" && test "... |
go:
- 1.9
install:
- go get -t ./...
script:
- go test -v -race -covermode=atomic ./...
go_import_path: github.com/google/cloudprober
services:
- docker
after_success:
- make cloudprober
- cp /etc/ssl/certs/ca-certificates.crt .
- test "$TRAVIS_BRANCH" = "master" && test "$TRAVIS_EVENT_TYPE" = "push" && D... | <|file_sep|>original/.travis.yml
go:
- 1.9
install:
- go get -t ./...
script:
- go test -v -race -covermode=atomic ./...
go_import_path: github.com/google/cloudprober
services:
- docker
after_success:
- make cloudprober
- cp /etc/ssl/certs/ca-certificates.crt .
- test "$TRAVIS_BRANCH" = "master" && test "... | 933a1d78e0a06804fa6cc2f35e64deb9fda23b4b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/tasks/ckeditor.rake
namespace :ckeditor do
def copy_assets(regexp)
Rails.application.assets.each_logical_path(regexp) do |name, path|
asset = Rails.root.join('public', 'assets', name)
p "Copy #{path} to #{asset}"
FileUtils.mkdir_p File.dirname(asset)
FileUtils.cp p... | def copy_assets(regexp)
Rails.application.assets.each_logical_path(regexp) do |name, path|
asset = Rails.root.join('public', 'assets', name)
p "Copy #{path} to #{asset}"
FileUtils.mkdir_p File.dirname(asset)
FileUtils.cp path, asset
end
end
desc 'Copy ckeditor assets, that cant be... | <|file_sep|>original/lib/tasks/ckeditor.rake
namespace :ckeditor do
def copy_assets(regexp)
Rails.application.assets.each_logical_path(regexp) do |name, path|
asset = Rails.root.join('public', 'assets', name)
p "Copy #{path} to #{asset}"
FileUtils.mkdir_p File.dirname(asset)
FileUtils.cp p... | a2f0f4d15be426a3be9f0d9148e4b2303a221c24 | lib/tasks/ckeditor.rake | lib/tasks/ckeditor.rake | Ruby |
<|file_sep|>index.js.diff
original:
var MyactStreamTransform = module.exports = function( keyProperty ) {
updated:
var MyactStreamTransform = module.exports = function( key ) {
<|file_sep|>original/index.js
var Transform = require( 'stream' ).Transform;
var MyactStreamTransform = module.exports = function( keyProperty... | var Transform = require( 'stream' ).Transform;
var MyactStreamTransform = module.exports = function( key ) {
Transform.call( this, { objectMode: true });
if ( 'undefined' === typeof key ) key = 'id';
this.keyProperty = key;
};
MyactStreamTransform.prototype = Object.create( Transform.prototype );
MyactS... | <|file_sep|>index.js.diff
original:
var MyactStreamTransform = module.exports = function( keyProperty ) {
updated:
var MyactStreamTransform = module.exports = function( key ) {
<|file_sep|>original/index.js
var Transform = require( 'stream' ).Transform;
var MyactStreamTransform = module.exports = function( keyProperty... | 8ab6e6072d05867f30d0361d0a8f8ae041b4680c | index.js | index.js | JavaScript |
<|file_sep|>randcat.py.diff
original:
updated:
#! /usr/bin/python3
<|file_sep|>randcat.py.diff
original:
random.seed()
updated:
random.seed() # this initializes with the Date, which I think is a novel enough seed
<|file_sep|>original/randcat.py
import random
random.seed()
while True:
print(chr(random.getrandbits... | #! /usr/bin/python3
import random
random.seed() # this initializes with the Date, which I think is a novel enough seed
while True: # if we're going with a mimicing of cat /dev/random, it'll pretty much just go until it's killed
print(chr(random.getrandbits(8)), end='') | <|file_sep|>randcat.py.diff
original:
updated:
#! /usr/bin/python3
<|file_sep|>randcat.py.diff
original:
random.seed()
updated:
random.seed() # this initializes with the Date, which I think is a novel enough seed
<|file_sep|>original/randcat.py
import random
random.seed()
while True:
print(chr(random.getrandbits... | 1c01b9e794445242c450534d1615a9dc755b89da | randcat.py | randcat.py | Python |
<|file_sep|>test/Driver/Dependencies/Inputs/touch.py.diff
original:
# Like /bin/touch, but takes a time using the LLVM epoch.
updated:
# Like /bin/touch, but takes a time using the system_clock epoch.
<|file_sep|>original/test/Driver/Dependencies/Inputs/touch.py
#
# -----------------------------------------------------... | #
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
# ----------------------------------------------------------------------------
#
# Like /bin/touch, but takes a time using the system_clock epoch.
#
# ----------------------------... | <|file_sep|>test/Driver/Dependencies/Inputs/touch.py.diff
original:
# Like /bin/touch, but takes a time using the LLVM epoch.
updated:
# Like /bin/touch, but takes a time using the system_clock epoch.
<|file_sep|>original/test/Driver/Dependencies/Inputs/touch.py
#
# -----------------------------------------------------... | ed491860864c363be36d99c09ff0131a5fe00aaf | test/Driver/Dependencies/Inputs/touch.py | test/Driver/Dependencies/Inputs/touch.py | Python |
<|file_sep|>original/{{cookiecutter.project_slug}}/local.yml
services:
web:
restart: always
build:
context: .
dockerfile: ./docker/local/Dockerfile
image: {{cookiecutter.project_slug}}_web_devel
command: /start.sh
env_file:
- .envs/local/.env
volumes:
- .:/app
port... |
services:
web:
restart: always
build:
context: .
dockerfile: ./docker/local/Dockerfile
image: {{cookiecutter.project_slug}}_web_devel
command: /start.sh
env_file:
- env_files/local/.env
volumes:
- .:/app
ports:
- "8000:8000"
depends_on:
- db
-... | <|file_sep|>original/{{cookiecutter.project_slug}}/local.yml
services:
web:
restart: always
build:
context: .
dockerfile: ./docker/local/Dockerfile
image: {{cookiecutter.project_slug}}_web_devel
command: /start.sh
env_file:
- .envs/local/.env
volumes:
- .:/app
port... | d9d99003377e8802ed0dff28255a6b4d98b5627e | {{cookiecutter.project_slug}}/local.yml | {{cookiecutter.project_slug}}/local.yml | YAML |
<|file_sep|>code/get_pp_pages.sh.diff
original:
START=$1
END=$2
DIFF=$(($END-$START+1))
updated:
SUFFIX=$1
<|file_sep|>code/get_pp_pages.sh.diff
original:
DOIS=`head -n $END data/dois/doi_urls.txt | tail -n $DIFF`
updated:
DOI_URL=http://dx.doi.org/10.1101/$SUFFIX
<|file_sep|>code/get_pp_pages.sh.diff
original:
for DOI... |
SUFFIX=$1
DOI_URL=http://dx.doi.org/10.1101/$SUFFIX
BIORXIV_URL=`curl -L -o /dev/null --silent --head --write-out '%{url_effective}\n' $DOI_URL`
LOCAL_FILE=`echo $DOI_URL | sed "s=http://dx.doi.org/10.1101/=data/biorxiv/=g"`
phantomjs code/save_page.js ${BIORXIV_URL} > $LOCAL_FILE
wget -N ${BIORXIV_URL}.article-inf... | <|file_sep|>code/get_pp_pages.sh.diff
original:
START=$1
END=$2
DIFF=$(($END-$START+1))
updated:
SUFFIX=$1
<|file_sep|>code/get_pp_pages.sh.diff
original:
DOIS=`head -n $END data/dois/doi_urls.txt | tail -n $DIFF`
updated:
DOI_URL=http://dx.doi.org/10.1101/$SUFFIX
<|file_sep|>code/get_pp_pages.sh.diff
original:
for DOI... | b5103b2d0d02612877bee64d1c34bad084fa0c8b | code/get_pp_pages.sh | code/get_pp_pages.sh | Shell |
<|file_sep|>original/docs/README.md
# Welcome to my Deal Quest App! Enjoy!
Click the following link to start useing the app:
https://andrewjc88.github.io/DEAL_QUEST/public/
## What?
This app searches groupon deals based on input city or zipcode in the top right search box.
Additionally you can filter search resualts u... | # Welcome to my Deal Quest App! Enjoy!
Click the following link to start useing the app:
https://andrewjc88.github.io/DEAL_QUEST/
## What?
This app searches groupon deals based on input city or zipcode in the top right search box.
Additionally you can filter search resualts using the seach input inside of the slide ov... | <|file_sep|>original/docs/README.md
# Welcome to my Deal Quest App! Enjoy!
Click the following link to start useing the app:
https://andrewjc88.github.io/DEAL_QUEST/public/
## What?
This app searches groupon deals based on input city or zipcode in the top right search box.
Additionally you can filter search resualts u... | 0319d67fdad1251513d7f219ef5a3a9d13cd170e | docs/README.md | docs/README.md | Markdown |
<|file_sep|>original/composer.json
"description": "An easy way to parse, convert, and format identifier names.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Cy Rossignol",
"email": "cy.rossignol@yahoo.com"
}
],
"require": {
"php": ... | "description": "An easy way to parse, convert, and format identifier names.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Cy Rossignol",
"email": "cy.rossignol@yahoo.com"
}
],
"require": {
"php": ">=5.4.0"
},
"require-dev":... | <|file_sep|>original/composer.json
"description": "An easy way to parse, convert, and format identifier names.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Cy Rossignol",
"email": "cy.rossignol@yahoo.com"
}
],
"require": {
"php": ... | 60de47adbe1b135e203b24634131d77a35fbd489 | composer.json | composer.json | JSON |
<|file_sep|>original/rets.gemspec
<|file_sep|>current/rets.gemspec
<|file_sep|>updated/rets.gemspec | $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "rets/version"
Gem::Specification.new do |s|
s.name = "rets"
s.version = RETS::Version
s.platform = Gem::Platform::RUBY
s.authors = ["Zachary Anker"]
s.email = ["zach.anker@gmail.com"]
s.homepage = "http://github.com... | <|file_sep|>original/rets.gemspec
<|file_sep|>current/rets.gemspec
<|file_sep|>updated/rets.gemspec
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "rets/version"
Gem::Specification.new do |s|
s.name = "rets"
s.version = RETS::Version
s.platform = Gem::Platform::RUBY
s.authors ... | de2d738ade046bdc1180a7899a0a8603bc1e0382 | rets.gemspec | rets.gemspec | Ruby |
<|file_sep|>original/app/controllers/registrations_controller.rb
def create
@user = User.new params[:user]
if params[:policy_agree] and params[:policy_agree] == 'true'
if @user.valid?
super
end
else
flash[:alert] = "You must agree to the Terms of Service"
end
flash.dis... | if params[:policy_agree] and params[:policy_agree] == 'true'
if @user.valid?
super
end
else
flash[:alert] = "You must agree to the Terms of Service"
end
flash.discard
end
protected
def after_inactive_sign_up_path_for(resource)
registration_notify_path
end
def ... | <|file_sep|>original/app/controllers/registrations_controller.rb
def create
@user = User.new params[:user]
if params[:policy_agree] and params[:policy_agree] == 'true'
if @user.valid?
super
end
else
flash[:alert] = "You must agree to the Terms of Service"
end
flash.dis... | d5974859a1e85b491e4b446f2718f4532e0ba0ce | app/controllers/registrations_controller.rb | app/controllers/registrations_controller.rb | Ruby |
<|file_sep|>original/mtlcam.sh
#!/usr/bin/env bash
# Download city camera open data
URL_GEOJSON="http://ville.montreal.qc.ca/circulation/sites/ville.montreal.qc.ca.circulation/files/cameras-de-circulation.json"
base_dir=${1:-mtlcam}
full_dir="${base_dir}/$(date +'%y%m%d/%H%M%S')"
cache="${base_dir}/cameras-de-circula... | #!/usr/bin/env bash
# Download city camera open data
URL_GEOJSON="http://ville.montreal.qc.ca/circulation/sites/ville.montreal.qc.ca.circulation/files/cameras-de-circulation.json"
base_dir=${1:-images}
full_dir="${base_dir}/$(date +'%y%m%d/%H%M%S')"
cache="${base_dir}/cameras-de-circulation.json"
max_concurrency=${2:... | <|file_sep|>original/mtlcam.sh
#!/usr/bin/env bash
# Download city camera open data
URL_GEOJSON="http://ville.montreal.qc.ca/circulation/sites/ville.montreal.qc.ca.circulation/files/cameras-de-circulation.json"
base_dir=${1:-mtlcam}
full_dir="${base_dir}/$(date +'%y%m%d/%H%M%S')"
cache="${base_dir}/cameras-de-circula... | b4789040b6007d7a8adf88ce7f4cf80994093e84 | mtlcam.sh | mtlcam.sh | Shell |
<|file_sep|>original/requirements.txt
argcomplete==1.8.2
base58==0.2.4
botocore==1.5.8
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.1
kappa==0.6.0
lambda-packages==0.13.0
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.1... | argcomplete==1.8.2
base58==0.2.4
botocore==1.5.9
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.1
kappa==0.6.0
lambda-packages==0.13.0
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.11.2
troposphere>=1.9.0
Werkzeug==0.11.... | <|file_sep|>original/requirements.txt
argcomplete==1.8.2
base58==0.2.4
botocore==1.5.8
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.1
kappa==0.6.0
lambda-packages==0.13.0
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.1... | ee1b8e4184e62169e2aef3d265fcb97055c780e8 | requirements.txt | requirements.txt | Text |
<|file_sep|>client.py.diff
original:
updated:
def on_receive(self, data):
pass
def send(self, data):
self.socket.sendall(data)
<|file_sep|>original/client.py
class ClientThread(threading.Thread):
def __init__(self, parent):
super(ClientThread, self).__init__()
self.parent... |
class ClientThread(threading.Thread):
def __init__(self, parent):
super(ClientThread, self).__init__()
self.parent = parent
def run(self):
while not self.parent.exit_request:
ready_to_read, ready_to_write, in_error = select.select(
[self.parent.socket], [], ... | <|file_sep|>client.py.diff
original:
updated:
def on_receive(self, data):
pass
def send(self, data):
self.socket.sendall(data)
<|file_sep|>original/client.py
class ClientThread(threading.Thread):
def __init__(self, parent):
super(ClientThread, self).__init__()
self.parent... | 8f84ce069159cb7d0dfb95a2a28f992a8a4f3556 | client.py | client.py | Python |
<|file_sep|>original/glue/Cargo.toml
[package]
name = "android_glue"
version = "0.1.1"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
description = "Glue for the Android JNI"
repository = "https://github.com/tomaka/android-rs-glue"
<|file_sep|>current/glue/Cargo.toml
[package]
name = "and... | [package]
name = "android_glue"
version = "0.1.3"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
description = "Glue for the Android JNI"
repository = "https://github.com/tomaka/android-rs-glue" | <|file_sep|>original/glue/Cargo.toml
[package]
name = "android_glue"
version = "0.1.1"
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
description = "Glue for the Android JNI"
repository = "https://github.com/tomaka/android-rs-glue"
<|file_sep|>current/glue/Cargo.toml
[package]
name = "and... | 8aa355a2db0f279c82a548fad9d030eeb43a5305 | glue/Cargo.toml | glue/Cargo.toml | TOML |
<|file_sep|>_layouts/post.html.diff
original:
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}
{% if page.category %} • Category: <a href="/categories/#{{ page.category }}">{{ page.category }... | <a href="/tags/#{{ tag }}">{{ tag }}</a> {% endfor %} {% endif %}
{% if page.author %} • {{ page.author }}{% endif %}
{% if page.meta %} • {{ page.meta }}{% endif %}
</p>
</header>
<article class="post-content">
{{ content }}
... | <|file_sep|>_layouts/post.html.diff
original:
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}
{% if page.category %} • Category: <a href="/categories/#{{ page.category }}">{{ page.category }... | 51b381fb3f82263208cc39eb36ae2e03956ec50a | _layouts/post.html | _layouts/post.html | HTML |
<|file_sep|>github-android/res/layout/gist_view_file_item.xml.diff
original:
android:paddingBottom="3dp"
updated:
android:paddingBottom="5dp"
<|file_sep|>original/github-android/res/layout/gist_view_file_item.xml
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/... | <?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="5dp"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="Main.cpp"
android:t... | <|file_sep|>github-android/res/layout/gist_view_file_item.xml.diff
original:
android:paddingBottom="3dp"
updated:
android:paddingBottom="5dp"
<|file_sep|>original/github-android/res/layout/gist_view_file_item.xml
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/... | 3b01c1822541d5535c6906d4b701418cd9678978 | github-android/res/layout/gist_view_file_item.xml | github-android/res/layout/gist_view_file_item.xml | XML |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install -g istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
branc... | sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
branches:
only:
- master
- travis-ci
install:
- npm install -g npm
- npm install --no-package-lock --no-save
- npm install -g istanbul coveralls | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
branches:
only:
- master
- travis-ci
before_install:
- npm install
- npm install -g istanbul coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- '4'
- '6'
- '8'
branc... | 17d090ba29c66cf5792729ff55c6aa90f0d9f4e4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/uwsgi_shared.ini
[uwsgi]
module = app:app
master = true
processes = 1
threads = 1
workers = 1
uid = www-data
gid = www-data
chmod-socket = 777
vacuum = true
die-on-term = true
memory-report = true
# makes uwsgi exit if initialization fails
need-app = true
<|file_sep|>current/uwsgi_shared.ini
[... | [uwsgi]
module = app:app
master = true
processes = 1
threads = 1
workers = 1
chmod-socket = 777
vacuum = true
die-on-term = true
memory-report = true
# makes uwsgi exit if initialization fails
need-app = true | <|file_sep|>original/uwsgi_shared.ini
[uwsgi]
module = app:app
master = true
processes = 1
threads = 1
workers = 1
uid = www-data
gid = www-data
chmod-socket = 777
vacuum = true
die-on-term = true
memory-report = true
# makes uwsgi exit if initialization fails
need-app = true
<|file_sep|>current/uwsgi_shared.ini
[... | 74a301b98f549b447e059892bbde1ee35785b3dd | uwsgi_shared.ini | uwsgi_shared.ini | INI |
<|file_sep|>README.md.diff
original:
go-slug
=======
updated:
# go-slug [](https://godoc.org/github.com/peferron/go-slug)
<|file_sep|>original/README.md
go-slug
=======
Generate URL-ready slugs. Examples:
- A Lovely Day -> a-lovely-day
- 北京 -> bei-jing
... | # go-slug [](https://godoc.org/github.com/peferron/go-slug)
Generate URL-ready slugs. Examples:
- A Lovely Day -> a-lovely-day
- 北京 -> bei-jing | <|file_sep|>README.md.diff
original:
go-slug
=======
updated:
# go-slug [](https://godoc.org/github.com/peferron/go-slug)
<|file_sep|>original/README.md
go-slug
=======
Generate URL-ready slugs. Examples:
- A Lovely Day -> a-lovely-day
- 北京 -> bei-jing
... | b9a06b4c9348cc209a69bc5922878daf70388de7 | README.md | README.md | Markdown |
<|file_sep|>provisioning/lxc_container/tasks/main.yml.diff
original:
register: lxc_container_lxc_ls
updated:
register: lxc_container_list
<|file_sep|>provisioning/lxc_container/tasks/main.yml.diff
original:
updated:
- set_fact: lxc_container_did_exist={{ lxc_container_name in lxc_container_list.stdout_lines }}
<|... | sudo: yes
when: not lxc_container_did_exist
- command: lxc-start -dn {{ lxc_container_name }}
sudo: yes
- command: lxc-ls --active -1
sudo: yes
register: lxc_container_running
until: lxc_container_running.stdout.find(lxc_container_name) != -1
retries: 5
delay: 1
changed_when: False
- command: lxc-a... | <|file_sep|>provisioning/lxc_container/tasks/main.yml.diff
original:
register: lxc_container_lxc_ls
updated:
register: lxc_container_list
<|file_sep|>provisioning/lxc_container/tasks/main.yml.diff
original:
updated:
- set_fact: lxc_container_did_exist={{ lxc_container_name in lxc_container_list.stdout_lines }}
<|... | cbffbd842998dc96a74e8e8c003fd1d72d9f6750 | provisioning/lxc_container/tasks/main.yml | provisioning/lxc_container/tasks/main.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
install:
- python setup.py
script:
- python common/shapp.py
- python common/sheventhandler.py
- python common/shutil.py
- python common/shregistry.py
- python engine/restinterface.py
- python engine/memorymanager.py
- python feed/feed.h... | language: python
python:
- "3.4"
install:
- python setup.py
script:
- python common/shapp.py
- python common/sheventhandler.py
- python common/shutil.py
- python common/shregistry.py
- python engine/restinterface.py
- python engine/memorymanager.py
- python feed/feed.home.tracer.py --help
- python f... | <|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
install:
- python setup.py
script:
- python common/shapp.py
- python common/sheventhandler.py
- python common/shutil.py
- python common/shregistry.py
- python engine/restinterface.py
- python engine/memorymanager.py
- python feed/feed.h... | 022abe9a74bbf562cee2b004fc9c953f6448f7c9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>AAA.py.diff
original:
from .Lib.sublime_lib.path import get_package_name, get_package_path
updated:
from .Lib.sublime_lib.path import get_package_name
<|file_sep|>original/AAA.py
import os
import sys
try: # ST3
from .Lib.sublime_lib.path import get_package_name, get_package_path
PLUGIN_NA... | import os
import sys
try: # ST3
from .Lib.sublime_lib.path import get_package_name
PLUGIN_NAME = get_package_name()
path = os.path.dirname(__file__)
libpath = os.path.join(path, "Lib")
except ValueError: # ST2
# For some reason the import does only work when RELOADING the plugin, not
# when ... | <|file_sep|>AAA.py.diff
original:
from .Lib.sublime_lib.path import get_package_name, get_package_path
updated:
from .Lib.sublime_lib.path import get_package_name
<|file_sep|>original/AAA.py
import os
import sys
try: # ST3
from .Lib.sublime_lib.path import get_package_name, get_package_path
PLUGIN_NA... | 2eca3cd6e0065a65ed65b3ce13fc7f7d9caf1717 | AAA.py | AAA.py | Python |
<|file_sep|>original/global.json
{
"sdk": {
"version": "7.0.100-preview.6.22352.1",
"allowPrerelease": true,
"rollForward": "latestPatch"
},
"tools": {
"dotnet": "7.0.100-preview.6.22352.1",
"runtimes": {
"dotnet": [
"3.1.0"
]
},
"vs": {
"version": "17.0"
... | {
"sdk": {
"version": "7.0.100-preview.6.22352.1",
"allowPrerelease": true,
"rollForward": "latestPatch"
},
"tools": {
"dotnet": "7.0.100-preview.6.22352.1",
"runtimes": {
"dotnet": [
"3.1.0",
"6.0.8"
]
},
"vs": {
"version": "17.0"
},
"xcopy-ms... | <|file_sep|>original/global.json
{
"sdk": {
"version": "7.0.100-preview.6.22352.1",
"allowPrerelease": true,
"rollForward": "latestPatch"
},
"tools": {
"dotnet": "7.0.100-preview.6.22352.1",
"runtimes": {
"dotnet": [
"3.1.0"
]
},
"vs": {
"version": "17.0"
... | 56d831d598e4ac045188850e9e6d13dd1f080ea7 | global.json | global.json | JSON |
<|file_sep|>original/ui/catalog-sidebar.html
</a>
</div>
<div class="panel-heading">
<h3 class="panel-title">
{{ @dept.name }}
</h3>
</div>
<div class="list-group">
</check>
<repeat group="{{ @departments }}" value="{{ @item }}">
<a class="list-gro... | <div class="panel-heading">
<h3 class="panel-title">
{{ @dept.name }}
</h3>
</div>
<div class="list-group">
</check>
<repeat group="{{ @departments }}" value="{{ @item }}">
<a class="list-group-item {{ (isset(@subdept) && @subdept.slug == @item.slug) ? 'active' ... | <|file_sep|>original/ui/catalog-sidebar.html
</a>
</div>
<div class="panel-heading">
<h3 class="panel-title">
{{ @dept.name }}
</h3>
</div>
<div class="list-group">
</check>
<repeat group="{{ @departments }}" value="{{ @item }}">
<a class="list-gro... | e3a8e82243c54ff5a69878da14615c94e2d13756 | ui/catalog-sidebar.html | ui/catalog-sidebar.html | HTML |
<|file_sep|>original/tests/test_check_dependencies.py
#! /usr/bin/python
from check_dependencies import CheckDependencies
def test_default():
CheckDependencies(None)
def test_hydrotrend():
CheckDependencies("hydrotrend")
<|file_sep|>current/tests/test_check_dependencies.py
#! /usr/bin/python
from check_depe... | #! /usr/bin/python
from check_dependencies import CheckDependencies
def test_default():
CheckDependencies(None)
def test_hydrotrend():
CheckDependencies("hydrotrend")
def test_cem():
CheckDependencies("cem") | <|file_sep|>original/tests/test_check_dependencies.py
#! /usr/bin/python
from check_dependencies import CheckDependencies
def test_default():
CheckDependencies(None)
def test_hydrotrend():
CheckDependencies("hydrotrend")
<|file_sep|>current/tests/test_check_dependencies.py
#! /usr/bin/python
from check_depe... | 3222fab1b026250d9aee863d068137b03c13a05b | tests/test_check_dependencies.py | tests/test_check_dependencies.py | Python |
<|file_sep|>django_plim/template.py.diff
original:
updated:
from django.template.loaders import app_directories
<|file_sep|>original/django_plim/template.py
#!/usr/bin/env python
#-*- coding: UTF-8 -*-
from functools import partial
from django.conf import settings
from plim import preprocessor as plim_preprocessor
f... | from django.conf import settings
from plim import preprocessor as plim_preprocessor
from mako.template import Template as MakoTemplate
from mako.lookup import TemplateLookup
from django.template.loaders import app_directories
lookup = TemplateLookup(directories=settings.TEMPLATE_DIRS)
Template = partial(MakoTemplate,... | <|file_sep|>django_plim/template.py.diff
original:
updated:
from django.template.loaders import app_directories
<|file_sep|>original/django_plim/template.py
#!/usr/bin/env python
#-*- coding: UTF-8 -*-
from functools import partial
from django.conf import settings
from plim import preprocessor as plim_preprocessor
f... | 9f20f232a9507f0002adc682a87bb792f6fbdd4e | django_plim/template.py | django_plim/template.py | Python |
<|file_sep|>original/requirements_dev.txt
wheel==0.36.2
watchdog==2.1.0
pip==21.1.1
flake8==3.9.2
Sphinx==3.5.4
tox==3.23.1
coverage==5.5
PyYAML==5.4.1
pytest==6.2.4
<|file_sep|>current/requirements_dev.txt
wheel==0.36.2
watchdog==2.1.0
pip==21.1.1
flake8==3.9.2
Sphinx==3.5.4
tox==3.23.1
coverage==5.5
PyYAML==5.4.1
pyt... | wheel==0.36.2
watchdog==2.1.0
pip==21.1.1
flake8==3.9.2
Sphinx==4.0.1
tox==3.23.1
coverage==5.5
PyYAML==5.4.1
pytest==6.2.4 | <|file_sep|>original/requirements_dev.txt
wheel==0.36.2
watchdog==2.1.0
pip==21.1.1
flake8==3.9.2
Sphinx==3.5.4
tox==3.23.1
coverage==5.5
PyYAML==5.4.1
pytest==6.2.4
<|file_sep|>current/requirements_dev.txt
wheel==0.36.2
watchdog==2.1.0
pip==21.1.1
flake8==3.9.2
Sphinx==3.5.4
tox==3.23.1
coverage==5.5
PyYAML==5.4.1
pyt... | 6428754abb1eee533176d1b6790bf35d3a10da88 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>app/hooks/views.py.diff
original:
updated:
# if the repository belongs to a group check if a channel with the same
# name (lowercased and hyphened) exists
# Check if a channel with the same repository name exists
# If the channel exists post to that channel
# If no... | pass
def merge_request(self, data):
# Notify in the channel
pass
def commit_comment(self, data):
# Notify comment and receiver in the channel
pass
def issue_comment(self, data):
# Notify comment and receiver in the channel
pass
def merge_reques... | <|file_sep|>app/hooks/views.py.diff
original:
updated:
# if the repository belongs to a group check if a channel with the same
# name (lowercased and hyphened) exists
# Check if a channel with the same repository name exists
# If the channel exists post to that channel
# If no... | 014c8ca68b196c78b9044b194b762cdb3dfe6c78 | app/hooks/views.py | app/hooks/views.py | Python |
<|file_sep|>original/.travis.yml
packages:
- google-chrome-stable
env:
- URL=https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz
before_install:
- openssl aes-256-cbc -K $encrypted_bc21448d0b37_key -iv $encrypted_bc21448d0b37_iv
-in assets/server.key.enc -out assets/server.key -d
-... | - google-chrome-stable
env:
- URL=https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz
before_install:
- openssl aes-256-cbc -K $encrypted_bc21448d0b37_key -iv $encrypted_bc21448d0b37_iv
-in assets/server.key.enc -out assets/server.key -d
- export SFDX_AUTOUPDATE_DISABLE=true
- export S... | <|file_sep|>original/.travis.yml
packages:
- google-chrome-stable
env:
- URL=https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz
before_install:
- openssl aes-256-cbc -K $encrypted_bc21448d0b37_key -iv $encrypted_bc21448d0b37_iv
-in assets/server.key.enc -out assets/server.key -d
-... | c31ed725d70b374fdf382878c1ed860e8f371e56 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/billing/__init__.py
__version__ = '1.7.2'
__copyright__ = 'Copyright (c) 2020, Skioo SA'
__licence__ = 'MIT'
__URL__ = 'https://github.com/skioo/django-customer-billing'
<|file_sep|>current/billing/__init__.py
__version__ = '1.7.2'
__copyright__ = 'Copyright (c) 2020, Skioo SA'
__licence__ = 'MIT'
... | __version__ = '1.7.3'
__copyright__ = 'Copyright (c) 2020, Skioo SA'
__licence__ = 'MIT'
__URL__ = 'https://github.com/skioo/django-customer-billing' | <|file_sep|>original/billing/__init__.py
__version__ = '1.7.2'
__copyright__ = 'Copyright (c) 2020, Skioo SA'
__licence__ = 'MIT'
__URL__ = 'https://github.com/skioo/django-customer-billing'
<|file_sep|>current/billing/__init__.py
__version__ = '1.7.2'
__copyright__ = 'Copyright (c) 2020, Skioo SA'
__licence__ = 'MIT'
... | 23bce5ac6a73473f6f166c674988e68af18d2b51 | billing/__init__.py | billing/__init__.py | Python |
<|file_sep|>metadata/fr.xgouchet.packageexplorer.yml.diff
original:
updated:
- versionName: '2.5'
versionCode: 17
commit: v2.5
subdir: app
gradle:
- yes
scanignore:
- buildSrc/build/
<|file_sep|>original/metadata/fr.xgouchet.packageexplorer.yml
versionCode: 15
commit: v2.3
... | versionCode: 16
commit: v2.4
subdir: app
gradle:
- yes
scanignore:
- buildSrc/build/
- versionName: '2.5'
versionCode: 17
commit: v2.5
subdir: app
gradle:
- yes
scanignore:
- buildSrc/build/
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVers... | <|file_sep|>metadata/fr.xgouchet.packageexplorer.yml.diff
original:
updated:
- versionName: '2.5'
versionCode: 17
commit: v2.5
subdir: app
gradle:
- yes
scanignore:
- buildSrc/build/
<|file_sep|>original/metadata/fr.xgouchet.packageexplorer.yml
versionCode: 15
commit: v2.3
... | 77ea218dd7d99d34ba635034e2c70436864d8bb1 | metadata/fr.xgouchet.packageexplorer.yml | metadata/fr.xgouchet.packageexplorer.yml | YAML |
<|file_sep|>original/spec/integration/basic_with_arguments_spec.rb
describe "Escort basic app that requires arguments", :integration => true do
subject { Escort::App.create(option_string, &app_configuration) }
let(:app_configuration) do
lambda do |app|
app.requires_arguments
app.action do |options... | require 'readline'
describe "Escort basic app that requires arguments", :integration => true do
subject { Escort::App.create(option_string, &app_configuration) }
let(:app_configuration) do
lambda do |app|
app.requires_arguments
app.action do |options, arguments|
Escort::IntegrationTestCom... | <|file_sep|>original/spec/integration/basic_with_arguments_spec.rb
describe "Escort basic app that requires arguments", :integration => true do
subject { Escort::App.create(option_string, &app_configuration) }
let(:app_configuration) do
lambda do |app|
app.requires_arguments
app.action do |options... | 411baace2d67f7d67be59b78d1529f59681d9664 | spec/integration/basic_with_arguments_spec.rb | spec/integration/basic_with_arguments_spec.rb | Ruby |
<|file_sep|>static/config.js.diff
original:
updated:
var protocol = location.protocol === "https:" ? "wss://" : "ws://";
var mqtt_broker = protocol + location.host + "/";
<|file_sep|>original/static/config.js
(function() {
var config = {
topics: [
"sensor/temperature/#",
"co... | (function() {
var protocol = location.protocol === "https:" ? "wss://" : "ws://";
var mqtt_broker = protocol + location.host + "/";
var config = {
topics: [
"sensor/temperature/#",
"control/radiator/+/active",
"control/centralheating/active",
],
na... | <|file_sep|>static/config.js.diff
original:
updated:
var protocol = location.protocol === "https:" ? "wss://" : "ws://";
var mqtt_broker = protocol + location.host + "/";
<|file_sep|>original/static/config.js
(function() {
var config = {
topics: [
"sensor/temperature/#",
"co... | cf6692be859d5d3562e711bb35e7b1d42b54141f | static/config.js | static/config.js | JavaScript |
<|file_sep|>original/README.md
### Languages Used
* Ruby
* CoffeeScript
* SASS
### Notable Libraries
* Rails 4.0
### Server Platform
* Ruby 2.0
* PostgreSQL 9+
* Redis
* Memcached
* Solr
### External Services
* Amazon S3 and CloudFront
## Status
[](https://www.travis-ci.org/... | <|file_sep|>original/README.md
### Languages Used
* Ruby
* CoffeeScript
* SASS
### Notable Libraries
* Rails 4.0
### Server Platform
* Ruby 2.0
* PostgreSQL 9+
* Redis
* Memcached
* Solr
### External Services
* Amazon S3 and CloudFront
## Status
[;
setAddon(infoAddon);
setAddon(propsTableAddon);
// -------------------------------------
// Load Stories
// -------------------------------------
const r... | <|file_sep|>packages/storybook/.storybook/config.js.diff
original:
updated:
* Remove the header temporary.
*
* Since the inline styling is damn strange now,
* header and preview parts are split into separate shadowed containers.
*
* @issue https://github.com/storybooks/storybook/issues/18... | 475bc42ef8967e8d7451a7b2053e9d494f254ed3 | packages/storybook/.storybook/config.js | packages/storybook/.storybook/config.js | JavaScript |
<|file_sep|>README.rdoc.diff
original:
Respect integration for Rails 3.x.
updated:
Respect [FIXME:url] integration for Rails 3.x.
<|file_sep|>README.rdoc.diff
original:
updated:
* Based on Respect [FIXME:url] to compactly specify your REST API.
<|file_sep|>README.rdoc.diff
original:
* Read the full API documentation... | = Respect plugin for Rails
Respect [FIXME:url] integration for Rails 3.x.
= Features
* Based on Respect [FIXME:url] to compactly specify your REST API.
* Controllers' helpers to automatically validates and sanitize incoming parameters.
* A Rails engine to mount in your application to publish your public REST API doc... | <|file_sep|>README.rdoc.diff
original:
Respect integration for Rails 3.x.
updated:
Respect [FIXME:url] integration for Rails 3.x.
<|file_sep|>README.rdoc.diff
original:
updated:
* Based on Respect [FIXME:url] to compactly specify your REST API.
<|file_sep|>README.rdoc.diff
original:
* Read the full API documentation... | c78f8a5e1fe9ad8d90b7d76410a8865c328b1b19 | README.rdoc | README.rdoc | RDoc |
<|file_sep|>README.rst.diff
original:
updated:
BrowserStacker
==============
<|file_sep|>original/README.rst
Python wrapper for BrowserStack features.
<|file_sep|>current/README.rst
BrowserStacker
==============
Python wrapper for BrowserStack features.
<|file_sep|>updated/README.rst | BrowserStacker
==============
Python wrapper for BrowserStack features.
|Build Status|
.. |Build Status| image:: https://travis-ci.org/Stranger6667/browserstacker.svg?branch=master
:target: https://travis-ci.org/Stranger6667/browserstacker | <|file_sep|>README.rst.diff
original:
updated:
BrowserStacker
==============
<|file_sep|>original/README.rst
Python wrapper for BrowserStack features.
<|file_sep|>current/README.rst
BrowserStacker
==============
Python wrapper for BrowserStack features.
<|file_sep|>updated/README.rst
BrowserStacker
==============
Pyth... | 5ec1ca2b4c8b56ee13f8ecce480390343fe41086 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/db/data_migration/20130429203455_deindex_duplicate_eos.rb
<|file_sep|>current/db/data_migration/20130429203455_deindex_duplicate_eos.rb
<|file_sep|>updated/db/data_migration/20130429203455_deindex_duplicate_eos.rb | Rummageable.delete('/government/organisations/the-prime-ministers-office-number-10', Whitehall.government_search_index_path)
Rummageable.delete('/government/organisations/the-deputy-prime-ministers-office', Whitehall.government_search_index_path)
puts "Removed bad records from Rummager" | <|file_sep|>original/db/data_migration/20130429203455_deindex_duplicate_eos.rb
<|file_sep|>current/db/data_migration/20130429203455_deindex_duplicate_eos.rb
<|file_sep|>updated/db/data_migration/20130429203455_deindex_duplicate_eos.rb
Rummageable.delete('/government/organisations/the-prime-ministers-office-number-10'... | 4ee46bf09682bc97297a11177287f3f66555eebc | db/data_migration/20130429203455_deindex_duplicate_eos.rb | db/data_migration/20130429203455_deindex_duplicate_eos.rb | Ruby |
<|file_sep|>original/circle.yml
machine:
node:
version: v0.10.40
dependencies:
pre:
- npm install -g npm@3
test:
override:
- ./node_modules/.bin/eslint --debug . --format tap | ./node_modules/.bin/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml; test ${PIPESTATUS[0]} -eq 0
- npm run babel-node -- .... | machine:
node:
version: v4.2.1
dependencies:
pre:
- npm install -g npm@3
test:
override:
- ./node_modules/.bin/eslint --debug . --format tap | ./node_modules/.bin/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml; test ${PIPESTATUS[0]} -eq 0
- npm run babel-node -- ./node_modules/.bin/tape test/**/*-... | <|file_sep|>original/circle.yml
machine:
node:
version: v0.10.40
dependencies:
pre:
- npm install -g npm@3
test:
override:
- ./node_modules/.bin/eslint --debug . --format tap | ./node_modules/.bin/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml; test ${PIPESTATUS[0]} -eq 0
- npm run babel-node -- .... | 35bf0eebf6286230e9469b4e4cd9d744f4cadb8c | circle.yml | circle.yml | YAML |
<|file_sep|>original/.goreleaser.yml
builds:
-
binary: beehive
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
ignore:
-... | env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
-
binary: beehive
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
... | <|file_sep|>original/.goreleaser.yml
builds:
-
binary: beehive
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- 386
- arm
goarm:
- 6
- 7
ignore:
-... | c66102d5e32bffbad9124d41ae2ffd203ee55399 | .goreleaser.yml | .goreleaser.yml | YAML |
<|file_sep|>original/week-8/database-intro/my_solution.md
<|file_sep|>current/week-8/database-intro/my_solution.md
<|file_sep|>updated/week-8/database-intro/my_solution.md | 1. SElECT * FROM states;
2. SELECT * FROM regions;
3. SELECT DISTINCT state_name, population
...> FROM states;
4. SELECT DISTINCT state_name, population
...> FROM states
...> ORDER BY population DESC;
5. SELECT state_name FROM states
...> WHERE region_id = 7;
6.SELECT state_name, population_density
...> ... | <|file_sep|>original/week-8/database-intro/my_solution.md
<|file_sep|>current/week-8/database-intro/my_solution.md
<|file_sep|>updated/week-8/database-intro/my_solution.md
1. SElECT * FROM states;
2. SELECT * FROM regions;
3. SELECT DISTINCT state_name, population
...> FROM states;
4. SELECT DISTINCT state_name, p... | dbe74995084abb81a3cac3b6cb418c20177033bd | week-8/database-intro/my_solution.md | week-8/database-intro/my_solution.md | Markdown |
<|file_sep|>original/service-base/src/test/resources/logback-test.xml
<|file_sep|>current/service-base/src/test/resources/logback-test.xml
<|file_sep|>updated/service-base/src/test/resources/logback-test.xml | <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} ... | <|file_sep|>original/service-base/src/test/resources/logback-test.xml
<|file_sep|>current/service-base/src/test/resources/logback-test.xml
<|file_sep|>updated/service-base/src/test/resources/logback-test.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.C... | 8684f4f49cfd890fe32779c439e089ec29c800e2 | service-base/src/test/resources/logback-test.xml | service-base/src/test/resources/logback-test.xml | XML |
<|file_sep|>original/waterbutler/providers/osfstorage/metadata.py
class OsfStorageFileMetadata(BaseOsfStorageMetadata, metadata.BaseFileMetadata):
@property
def name(self):
return self.raw['name']
@property
def path(self):
if self.raw['path'][0] != '/':
return '/' + self.r... |
class OsfStorageFileMetadata(BaseOsfStorageMetadata, metadata.BaseFileMetadata):
@property
def name(self):
return self.raw['name']
@property
def path(self):
if self.raw['path'][0].startswith('/'):
return self.raw['path']
return '/' + self.raw['path']
@property... | <|file_sep|>original/waterbutler/providers/osfstorage/metadata.py
class OsfStorageFileMetadata(BaseOsfStorageMetadata, metadata.BaseFileMetadata):
@property
def name(self):
return self.raw['name']
@property
def path(self):
if self.raw['path'][0] != '/':
return '/' + self.r... | 57d3f5a78385b07fb4d7f91ac97edb6e9dc850aa | waterbutler/providers/osfstorage/metadata.py | waterbutler/providers/osfstorage/metadata.py | Python |
<|file_sep|>lib/event_store/messaging/controls/event_data/read.rb.diff
original:
def self.raw_data(number=nil, time: nil, stream_name: nil, metadata: nil, type: nil, omit_metadata: nil)
updated:
def self.data(number=nil, time: nil, stream_name: nil, metadata: nil, type: nil, omit_metadata: nil)
<|fi... |
def self.example(omit_metadata: nil)
raw_data = data(omit_metadata: omit_metadata)
Serialize::Read.instance raw_data, Client::HTTP::EventData::Read
end
module Anomaly
def self.data
Read.data type: 'SomeUnknownMessage'
end
... | <|file_sep|>lib/event_store/messaging/controls/event_data/read.rb.diff
original:
def self.raw_data(number=nil, time: nil, stream_name: nil, metadata: nil, type: nil, omit_metadata: nil)
updated:
def self.data(number=nil, time: nil, stream_name: nil, metadata: nil, type: nil, omit_metadata: nil)
<|fi... | a6e53c8b44eafe631c6e48b33443a725dfcd94f0 | lib/event_store/messaging/controls/event_data/read.rb | lib/event_store/messaging/controls/event_data/read.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- ../mspec/bin/mspec $MSPEC_OPTS
updated:
- CHECK_LEAKS=true ../mspec/bin/mspec
<|file_sep|>.travis.yml.diff
original:
updated:
- name: Running each spec twice
rvm: 2.5.5
script:
- CHECK_LEAKS=true ../mspec/bin/mspec -R2 -ff
- rvm: 2.4.6
<|file_sep... | - CHECK_LEAKS=true ../mspec/bin/mspec
matrix:
include:
- name: Running each spec twice
rvm: 2.5.5
script:
- CHECK_LEAKS=true ../mspec/bin/mspec -R2 -ff
- rvm: 2.4.6
- rvm: 2.5.5
- rvm: 2.6.2
- name: RuboCop Lint Checks
rvm: 2.4.6
script:
- gem install rubo... | <|file_sep|>.travis.yml.diff
original:
- ../mspec/bin/mspec $MSPEC_OPTS
updated:
- CHECK_LEAKS=true ../mspec/bin/mspec
<|file_sep|>.travis.yml.diff
original:
updated:
- name: Running each spec twice
rvm: 2.5.5
script:
- CHECK_LEAKS=true ../mspec/bin/mspec -R2 -ff
- rvm: 2.4.6
<|file_sep... | d94d0e1be32547fcdebecc31831230a4767010f6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Alert/SessionHandler.php
$this->key = $key;
}
/**
* Get the messages from the previous request(s)
*
* @return array
*/
public function getPreviousMessages()
{
return $this->session->get($this->key, []);
}
/**
* Save the messages... | $this->key = $key;
}
/**
* Get the messages from the previous request(s)
*
* @return array
*/
public function getPreviousMessages()
{
$result = $this->session->get($this->key);
return is_array($result) ? $result : [];
}
/**
* Save the messages ... | <|file_sep|>original/src/Alert/SessionHandler.php
$this->key = $key;
}
/**
* Get the messages from the previous request(s)
*
* @return array
*/
public function getPreviousMessages()
{
return $this->session->get($this->key, []);
}
/**
* Save the messages... | a4e3a8164f4e35329f4bd3dfaa224381b29296d4 | src/Alert/SessionHandler.php | src/Alert/SessionHandler.php | PHP |
<|file_sep|>original/src/klangmeister/processing.cljs
music (or value original-music)]
(-> state
(assoc :error error)
(assoc :text expr-str)
(assoc :music music))))
action/Stop
(process [_ handle! state]
(assoc state :looping? false))
action/Play
(process [thi... | (assoc :text expr-str)
(assoc :music music))))
action/Stop
(process [_ handle! state]
(assoc state :looping? false))
action/Play
(process [this handle! state]
(framework/process (action/->Loop) handle! (assoc state :looping? true)))
action/Loop
(process [this handle! {notes :m... | <|file_sep|>original/src/klangmeister/processing.cljs
music (or value original-music)]
(-> state
(assoc :error error)
(assoc :text expr-str)
(assoc :music music))))
action/Stop
(process [_ handle! state]
(assoc state :looping? false))
action/Play
(process [thi... | c55abeeb9a932ddecde408c20b5d52d720180953 | src/klangmeister/processing.cljs | src/klangmeister/processing.cljs | Clojure |
<|file_sep|>original/lib/sparkle_formation/resources/azure.rb
class SparkleFormation
# Resources helper
class Resources
# Azure specific resources collection
class Azure < Resources
# Characters to be removed from supplied key on matching
RESOURCE_TYPE_TR = '.'
# String to split for re... |
class SparkleFormation
# Resources helper
class Resources
# Azure specific resources collection
class Azure < Resources
# Characters to be removed from supplied key on matching
RESOURCE_TYPE_TR = '_'
# String to split for resource namespacing
RESOURCE_TYPE_NAMESPACE_SPLITTER = '/... | <|file_sep|>original/lib/sparkle_formation/resources/azure.rb
class SparkleFormation
# Resources helper
class Resources
# Azure specific resources collection
class Azure < Resources
# Characters to be removed from supplied key on matching
RESOURCE_TYPE_TR = '.'
# String to split for re... | 4007cd484124fda7fb0429f7f3779589dea7f65e | lib/sparkle_formation/resources/azure.rb | lib/sparkle_formation/resources/azure.rb | Ruby |
<|file_sep|>original/.rubocop.yml
require: rubocop-rspec
AllCops:
Exclude:
- bin/*
- poms.gemspec
Style/Documentation:
Exclude:
- 'lib/poms/has_ancestors.rb'
- spec/**/*_spec.rb
Style/BlockDelimiters:
Exclude:
- 'spec/**/*.rb'
Style/AndOr:
Exclude:
- 'lib/poms.rb' # here we do rely o... | require: rubocop-rspec
AllCops:
Exclude:
- bin/*
- poms.gemspec
- vendor/**/*
Style/Documentation:
Exclude:
- 'lib/poms/has_ancestors.rb'
- spec/**/*_spec.rb
Style/BlockDelimiters:
Exclude:
- 'spec/**/*.rb'
Style/AndOr:
Exclude:
- 'lib/poms.rb' # here we do rely on how `or` has l... | <|file_sep|>original/.rubocop.yml
require: rubocop-rspec
AllCops:
Exclude:
- bin/*
- poms.gemspec
Style/Documentation:
Exclude:
- 'lib/poms/has_ancestors.rb'
- spec/**/*_spec.rb
Style/BlockDelimiters:
Exclude:
- 'spec/**/*.rb'
Style/AndOr:
Exclude:
- 'lib/poms.rb' # here we do rely o... | 4a1ecd2e54996d9cc1f98b31aaac86905c5b5693 | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/requirements.txt
aiosqlite==0.13.0
discord.py==1.3.3
feedparser==5.2.1
flake8
html2text==2020.1.16
in_place
mypy
pylint
python-dateutil==2.8.1
pytz==2020.1
requests==2.23.0
six==1.15.0
ws4py==0.5.1
<|file_sep|>current/requirements.txt
aiosqlite==0.13.0
discord.py==1.3.3
feedparser==5.2.1
flake8
htm... | discord.py==1.3.3
feedparser==5.2.1
flake8
html2text==2020.1.16
in_place
mypy
pylint
python-dateutil==2.8.1
pytz==2020.1
requests==2.23.0
six==1.15.0
ws4py==0.5.1 | <|file_sep|>original/requirements.txt
aiosqlite==0.13.0
discord.py==1.3.3
feedparser==5.2.1
flake8
html2text==2020.1.16
in_place
mypy
pylint
python-dateutil==2.8.1
pytz==2020.1
requests==2.23.0
six==1.15.0
ws4py==0.5.1
<|file_sep|>current/requirements.txt
aiosqlite==0.13.0
discord.py==1.3.3
feedparser==5.2.1
flake8
htm... | 394dcd813ee3cc4cc9ede00de70ef0efaa73c263 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/docs/requirements.txt
sphinx
sphinx_rtd_theme
sphinx-gallery
numpy
matplotlib
breathe
docker
pytest
git-lfs
sphinx-issues
<|file_sep|>current/docs/requirements.txt
sphinx
sphinx_rtd_theme
sphinx-gallery
numpy
matplotlib
breathe
docker
pytest
git-lfs
sphinx-issues
<|file_sep|>updated/docs/requiremen... | sphinx
sphinx_rtd_theme
sphinx-gallery
numpy
matplotlib
breathe
docker
pytest
git-lfs
sphinx-issues
pillow
unrealcv | <|file_sep|>original/docs/requirements.txt
sphinx
sphinx_rtd_theme
sphinx-gallery
numpy
matplotlib
breathe
docker
pytest
git-lfs
sphinx-issues
<|file_sep|>current/docs/requirements.txt
sphinx
sphinx_rtd_theme
sphinx-gallery
numpy
matplotlib
breathe
docker
pytest
git-lfs
sphinx-issues
<|file_sep|>updated/docs/requiremen... | c4b252bf311fdcb61628fa6305bac367ea53444a | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/applications/drive/src/app/components/FileBrowser/FileBrowser.scss
// Checkbox cell
position: relative; // Because of .increase-surface-click
padding-left: 1em;
padding-right: 1em;
width: calc(1.6rem + 2em);
}
}
}
.pd-fb-grid-... | width: calc(1.6rem + 2em);
}
}
}
.pd-fb-grid-item {
background-color: var(--bgcolor-input, $pm-input-background);
&:hover,
&:focus {
@extend .bg-global-highlight;
}
}
.isDarkMode .pd-fb-grid-item {
@extend .bg-global-grey;
}
.pd-fb-grid-item.pd-fb-grid-item--highl... | <|file_sep|>original/applications/drive/src/app/components/FileBrowser/FileBrowser.scss
// Checkbox cell
position: relative; // Because of .increase-surface-click
padding-left: 1em;
padding-right: 1em;
width: calc(1.6rem + 2em);
}
}
}
.pd-fb-grid-... | 0276712a42dfa201f08421ac571f664a28468bfd | applications/drive/src/app/components/FileBrowser/FileBrowser.scss | applications/drive/src/app/components/FileBrowser/FileBrowser.scss | SCSS |
<|file_sep|>lib/db.js.diff
original:
var Client = require('mariasql'),
crypto = require('./crypto');
updated:
var Client = require('mariasql'),
crypto = require('./crypto'),
dbconfig = require('../database.json');
var env = process.env.ENV || 'dev';
<|file_sep|>original/lib/db.js
var Client = require('... | var Client = require('mariasql'),
crypto = require('./crypto'),
dbconfig = require('../database.json');
var env = process.env.ENV || 'dev';
var c = new Client({
host: dbconfig[env].host,
user: dbconfig[env].user,
password: dbconfig[env].password,
db: dbconfig[env].database
});
exports.authenticat... | <|file_sep|>lib/db.js.diff
original:
var Client = require('mariasql'),
crypto = require('./crypto');
updated:
var Client = require('mariasql'),
crypto = require('./crypto'),
dbconfig = require('../database.json');
var env = process.env.ENV || 'dev';
<|file_sep|>original/lib/db.js
var Client = require('... | fcc7d678f7f4776d90560c4d45c0dc4d622eaead | lib/db.js | lib/db.js | JavaScript |
<|file_sep|>original/docs/client/index.rst
* PHP (`raven-php <http://github.com/getsentry/raven-php>`_)
* Java (`raven-java <https://github.com/kencochrane/raven-java>`_)
* Ruby (`raven-ruby <https://github.com/getsentry/raven-ruby>`_)
* JavaScript (`raven-js <https://github.com/lincolnloop/raven-js>`_)
* Node.js (`rav... | * PHP (`raven-php <http://github.com/getsentry/raven-php>`_)
* Java (`raven-java <https://github.com/kencochrane/raven-java>`_)
* Ruby (`raven-ruby <https://github.com/getsentry/raven-ruby>`_)
* JavaScript (`raven-js <https://github.com/lincolnloop/raven-js>`_)
* Node.js (`raven-node <https://github.com/mattrobenolt/ra... | <|file_sep|>original/docs/client/index.rst
* PHP (`raven-php <http://github.com/getsentry/raven-php>`_)
* Java (`raven-java <https://github.com/kencochrane/raven-java>`_)
* Ruby (`raven-ruby <https://github.com/getsentry/raven-ruby>`_)
* JavaScript (`raven-js <https://github.com/lincolnloop/raven-js>`_)
* Node.js (`rav... | c05ed293b054ec15cd37b0683832db16b3b1eac4 | docs/client/index.rst | docs/client/index.rst | reStructuredText |
<|file_sep|>core/app/assets/stylesheets/base/topbar/sign_up_steps.css.less.diff
original:
.navbar {
ul.steps {
float: right;
margin-top: 9px;
updated:
.steps {
margin-right: 45px;
float: right;
margin-top: 9px;
<|file_sep|>core/app/assets/stylesheets/base/topbar/sign_up_steps.css.less.diff
original:
... | height: 22px;
text-align: center;
margin-right: 10px;
color: #fff;
background: image-url('base/topbar/steps.png') no-repeat top;
}
&.active {
color: @linkColor;
span {
background-position: bottom;
}
}
&:first-child {
padding: 0;
back... | <|file_sep|>core/app/assets/stylesheets/base/topbar/sign_up_steps.css.less.diff
original:
.navbar {
ul.steps {
float: right;
margin-top: 9px;
updated:
.steps {
margin-right: 45px;
float: right;
margin-top: 9px;
<|file_sep|>core/app/assets/stylesheets/base/topbar/sign_up_steps.css.less.diff
original:
... | 88f3f703242e3a7ebe3cbb430118776424fc9d4c | core/app/assets/stylesheets/base/topbar/sign_up_steps.css.less | core/app/assets/stylesheets/base/topbar/sign_up_steps.css.less | Less |
<|file_sep|>plugins/Tools/PerObjectSettingsTool/__init__.py.diff
original:
"name": i18n_catalog.i18nc("@label", "Settings Per Object Tool"),
updated:
"name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
<|file_sep|>original/plugins/Tools/PerObjectSettingsTool/__init__.py
i18n_catalo... | i18n_catalog = i18nCatalog("uranium")
def getMetaData():
return {
"plugin": {
"name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
"author": "Ultimaker",
"version": "1.0",
"description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Obj... | <|file_sep|>plugins/Tools/PerObjectSettingsTool/__init__.py.diff
original:
"name": i18n_catalog.i18nc("@label", "Settings Per Object Tool"),
updated:
"name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
<|file_sep|>original/plugins/Tools/PerObjectSettingsTool/__init__.py
i18n_catalo... | b54507e05475dfc11e04678ee358476f571323b2 | plugins/Tools/PerObjectSettingsTool/__init__.py | plugins/Tools/PerObjectSettingsTool/__init__.py | Python |
<|file_sep|>original/.travis/setup-build.sh
#!/bin/bash
set -o errexit
source "$( dirname "${BASH_SOURCE[0]}" )/travis_retry.sh"
echo 'Installing Grunt'
travis_retry npm -g install grunt
echo 'Installing Node packages'
cd "$TRAVIS_BUILD_DIR/build"
travis_retry npm install
<|file_sep|>current/.travis/setup-build.sh
... | #!/bin/bash
set -o errexit
source "$( dirname "${BASH_SOURCE[0]}" )/travis_retry.sh"
echo 'Installing Grunt'
travis_retry npm -g install grunt
echo 'Installing Node packages'
cd "$TRAVIS_BUILD_DIR/build"
travis_retry npm ci | <|file_sep|>original/.travis/setup-build.sh
#!/bin/bash
set -o errexit
source "$( dirname "${BASH_SOURCE[0]}" )/travis_retry.sh"
echo 'Installing Grunt'
travis_retry npm -g install grunt
echo 'Installing Node packages'
cd "$TRAVIS_BUILD_DIR/build"
travis_retry npm install
<|file_sep|>current/.travis/setup-build.sh
... | a6a69c802106324d917f14a18b4d0e9e305fdd5c | .travis/setup-build.sh | .travis/setup-build.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- '0.12'
updated:
<|file_sep|>original/.travis.yml
---
language: node_js
node_js:
- '0.12'
- '4'
- '5'
sudo: false
script:
- npm test
- npm run lint
<|file_sep|>current/.travis.yml
---
language: node_js
node_js:
- '4'
- '5'
sudo: false
script:
- npm test
- npm run lint
<|file_sep... | ---
language: node_js
node_js:
- '4'
- '5'
- '6'
- node
sudo: false
script:
- npm test
- npm run lint | <|file_sep|>.travis.yml.diff
original:
- '0.12'
updated:
<|file_sep|>original/.travis.yml
---
language: node_js
node_js:
- '0.12'
- '4'
- '5'
sudo: false
script:
- npm test
- npm run lint
<|file_sep|>current/.travis.yml
---
language: node_js
node_js:
- '4'
- '5'
sudo: false
script:
- npm test
- npm run lint
<|file_sep... | a4a62729c5bbcb3131c6aef253a3c1f85ff009d9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/examples/blaze/src/main/scala/com/example/http4s/blaze/BlazeHttp2Example.scala
package com.example.http4s
package blaze
import cats.effect._
import cats.implicits._
object BlazeHttp2Example extends IOApp {
override def run(args: List[String]): IO[ExitCode] =
BlazeSslExampleApp
.builde... | package com.example.http4s
package blaze
import cats.effect._
import cats.implicits._
object BlazeHttp2Example extends IOApp {
override def run(args: List[String]): IO[ExitCode] =
BlazeSslExampleApp
.builder[IO]
.enableHttp2(true)
.serve
.compile
.lastOrError
} | <|file_sep|>original/examples/blaze/src/main/scala/com/example/http4s/blaze/BlazeHttp2Example.scala
package com.example.http4s
package blaze
import cats.effect._
import cats.implicits._
object BlazeHttp2Example extends IOApp {
override def run(args: List[String]): IO[ExitCode] =
BlazeSslExampleApp
.builde... | bf5224bd99f0e31b9e3e313ce2590cd0fbefb44a | examples/blaze/src/main/scala/com/example/http4s/blaze/BlazeHttp2Example.scala | examples/blaze/src/main/scala/com/example/http4s/blaze/BlazeHttp2Example.scala | Scala |
<|file_sep|>original/Rakefile.rb
s.rubyforge_project = 'risky'
s.name = 'risky'
s.version = Risky::VERSION
s.author = 'Kyle Kingsbury'
s.email = 'aphyr@aphyr.com'
s.homepage = 'https://github.com/aphyr/risky'
s.platform = Gem::Platform::RUBY
s.summary = 'A Ruby ORM for the Riak distributed database.'
... | require "bundler/gem_tasks" | <|file_sep|>original/Rakefile.rb
s.rubyforge_project = 'risky'
s.name = 'risky'
s.version = Risky::VERSION
s.author = 'Kyle Kingsbury'
s.email = 'aphyr@aphyr.com'
s.homepage = 'https://github.com/aphyr/risky'
s.platform = Gem::Platform::RUBY
s.summary = 'A Ruby ORM for the Riak distributed database.'
... | 40c36326f5d053ab0b9a99b70ac4b01650e3eb66 | Rakefile.rb | Rakefile.rb | Ruby |
<|file_sep|>original/lib/guard/jasmine/inspector.rb
else
paths = paths.select { |p| jasmine_spec?(p) }
end
paths
end
private
# Tests if the file is valid.
#
# @param [String] path the file
# @return [Boolean] when the file vali... | else
paths = paths.select { |p| jasmine_spec?(p) }
end
paths
end
private
# Tests if the file is valid.
#
# @param [String] path the file
# @return [Boolean] when the file valid
#
def jasmine_spec?(path)
... | <|file_sep|>original/lib/guard/jasmine/inspector.rb
else
paths = paths.select { |p| jasmine_spec?(p) }
end
paths
end
private
# Tests if the file is valid.
#
# @param [String] path the file
# @return [Boolean] when the file vali... | 7cd7b366a3da311fb2c7653d252fc044ecc3b578 | lib/guard/jasmine/inspector.rb | lib/guard/jasmine/inspector.rb | Ruby |
<|file_sep|>.forestry/settings.yml.diff
original:
updated:
- type: directory
path: ''
label: Site Root
create: all
match: "**/*"
<|file_sep|>original/.forestry/settings.yml
label: Pages
create: all
match: "**/*"
- type: jekyll-posts
label: Posts
create: all
upload_dir: assets
public_path: "/assets"
f... | create: all
match: "**/*"
- type: jekyll-posts
label: Posts
create: all
upload_dir: assets
public_path: "/assets"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
instant_preview: true
build:
preview_env:
- JEKYLL_ENV=staging
preview_output_directory: "/srv/jekyll/_site"
in... | <|file_sep|>.forestry/settings.yml.diff
original:
updated:
- type: directory
path: ''
label: Site Root
create: all
match: "**/*"
<|file_sep|>original/.forestry/settings.yml
label: Pages
create: all
match: "**/*"
- type: jekyll-posts
label: Posts
create: all
upload_dir: assets
public_path: "/assets"
f... | b41500b8d4ba825081482780d273d4d30dcb0500 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/dummyToken.sh
#!/bin/bash
echo "Inserting Keys!"
DEVISE_SECRET_TOKEN=`bundle exec rake secret`
echo $DEVISE_SECRET_TOKEN
echo "export DEVISE_SECRET_TOKEN=$DEVISE_SECRET_TOKEN" >> ~/.bash_profile
echo "export SECRET_KEY_BASE=f4cd2c8dcfb4a3bc3f2696f8bc01305bda70c5e88e94b4d5e96bea4670ad896862660f80b48... | #!/bin/bash
echo "Inserting Keys!"
echo "export DEVISE_SECRET_TOKEN=6c72eee138a80cb5b349080d4f47410c53a2a6d3fa67f1f912d10d63eff098d1f9eb9fcdc49d9e80452621524b90130bedf50d1437f0b8276f271ea20d530ff8" >> ~/.bash_profile
echo "export SECRET_KEY_BASE=30d2be332860d7ce451325452b8ea2f4ae10485dca93c7a761e724ae15f24e21f125c264dc... | <|file_sep|>original/dummyToken.sh
#!/bin/bash
echo "Inserting Keys!"
DEVISE_SECRET_TOKEN=`bundle exec rake secret`
echo $DEVISE_SECRET_TOKEN
echo "export DEVISE_SECRET_TOKEN=$DEVISE_SECRET_TOKEN" >> ~/.bash_profile
echo "export SECRET_KEY_BASE=f4cd2c8dcfb4a3bc3f2696f8bc01305bda70c5e88e94b4d5e96bea4670ad896862660f80b48... | 5e3ea7f5db0e365c4b9057e72900cfee42709007 | dummyToken.sh | dummyToken.sh | Shell |
<|file_sep|>bower.json.diff
original:
"iron-icons": "PolymerElements/iron-icons",
updated:
<|file_sep|>original/bower.json
"description": "Spreads out a set of items horizontally so they take equal space.",
"version": "0.6.0-preview",
"license": "MIT",
"main": "basic-spread-items.html",
"dependencies": {... | "name": "basic-spread-items",
"description": "Spreads out a set of items horizontally so they take equal space.",
"version": "0.6.0-preview",
"license": "MIT",
"main": "basic-spread-items.html",
"dependencies": {
"basic-aspect": "basic-web-components/basic-aspect#master",
"polymer": "Polymer/polymer... | <|file_sep|>bower.json.diff
original:
"iron-icons": "PolymerElements/iron-icons",
updated:
<|file_sep|>original/bower.json
"description": "Spreads out a set of items horizontally so they take equal space.",
"version": "0.6.0-preview",
"license": "MIT",
"main": "basic-spread-items.html",
"dependencies": {... | 00b0f33e48ac8e810b0365e5a14eb1dd92f5fdca | bower.json | bower.json | JSON |
<|file_sep|>original/bots/node/package.json
"name": "sample_bot",
"version": "0.1.0",
"description": "A sample bot in node for EndOfCodes",
"main": "lib/bot.js",
"directories": {
"test": "test"
},
"dependencies": {
"body-parser": "^1.6.0",
"express": "^4.8.0",
"multer": "^0.1.3",
"moch... | "name": "sample_bot",
"version": "0.1.0",
"description": "A sample bot in node for EndOfCodes",
"main": "lib/bot.js",
"directories": {
"test": "test"
},
"dependencies": {
"body-parser": "^1.6.0",
"express": "^4.8.0",
"multer": "^0.1.3",
"mocha": "^1.4.14",
"request": "^2.39.0"
},... | <|file_sep|>original/bots/node/package.json
"name": "sample_bot",
"version": "0.1.0",
"description": "A sample bot in node for EndOfCodes",
"main": "lib/bot.js",
"directories": {
"test": "test"
},
"dependencies": {
"body-parser": "^1.6.0",
"express": "^4.8.0",
"multer": "^0.1.3",
"moch... | dd96a111fbc27d2821e37b694c8837ee3eaf9388 | bots/node/package.json | bots/node/package.json | JSON |
<|file_sep|>original/incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.scala
<|file_sep|>current/incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.scala
<|file_sep|>updated/incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.sc... | package io.truthencode.ddo.ui.poc
import scalafx.application.JFXApp
import scalafx.application.JFXApp.PrimaryStage
import scalafx.geometry.Insets
import scalafx.scene.Scene
import scalafx.scene.effect.DropShadow
import scalafx.scene.layout.HBox
import scalafx.scene.paint.Color._
import scalafx.scene.paint.{Stops, Line... | <|file_sep|>original/incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.scala
<|file_sep|>current/incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.scala
<|file_sep|>updated/incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.sc... | 921680068e929abcff382c0c6ec4576b99296d6d | incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.scala | incubating/ddo-ui-poc/src/main/scala/io/truthencode/ddo/ui/poc/ScalaFXHelloWorld.scala | Scala |
<|file_sep|>src/Oro/Bundle/EntityBundle/Resources/views/Form/fields.html.twig.diff
original:
{% block oro_combobox_dataconfig_entity_field_choice %}
updated:
{% block oro_combobox_dataconfig_entity_field_base %}
<|file_sep|>src/Oro/Bundle/EntityBundle/Resources/views/Form/fields.html.twig.diff
original:
var formatC... | getFieldData: function (fieldId) {
return $field.data('entity-field-util').getFieldData(fieldId);
},
splitFieldId: function (fieldId) {
return $field.data('entity-field-util').splitFieldId(fieldId);
}
};
select2Config.formatContext = function () {
... | <|file_sep|>src/Oro/Bundle/EntityBundle/Resources/views/Form/fields.html.twig.diff
original:
{% block oro_combobox_dataconfig_entity_field_choice %}
updated:
{% block oro_combobox_dataconfig_entity_field_base %}
<|file_sep|>src/Oro/Bundle/EntityBundle/Resources/views/Form/fields.html.twig.diff
original:
var formatC... | 834706cf1be5650c8e23a8a3b3311aab72933db3 | src/Oro/Bundle/EntityBundle/Resources/views/Form/fields.html.twig | src/Oro/Bundle/EntityBundle/Resources/views/Form/fields.html.twig | Twig |
<|file_sep|>original/abstract.js
'use strict'
var parent = require('aedes-persistence/abstract')
module.exports = parent
<|file_sep|>current/abstract.js
'use strict'
var parent = require('aedes-persistence/abstract')
module.exports = parent
<|file_sep|>updated/abstract.js | 'use strict'
var parent = require('../aedes-persistence/abstract')
module.exports = parent | <|file_sep|>original/abstract.js
'use strict'
var parent = require('aedes-persistence/abstract')
module.exports = parent
<|file_sep|>current/abstract.js
'use strict'
var parent = require('aedes-persistence/abstract')
module.exports = parent
<|file_sep|>updated/abstract.js
'use strict'
var parent = require('../aede... | 17e32a5314092e3056a9b4dbc219f44dc4ce28ca | abstract.js | abstract.js | JavaScript |
<|file_sep|>Cargo.toml.diff
original:
updated:
categories = ["api-bindings"]
<|file_sep|>original/Cargo.toml
and stores received data to provide a more convenient API.
"""
repository = "https://github.com/Flakebi/rust-ts3plugin"
documentation = "https://docs.rs/ts3plugin"
readme = "README.md"
keywords = ["plugin", "Te... | and stores received data to provide a more convenient API.
"""
repository = "https://github.com/Flakebi/rust-ts3plugin"
documentation = "https://docs.rs/ts3plugin"
readme = "README.md"
keywords = ["plugin", "TeamSpeak3", "TS3"]
categories = ["api-bindings"]
license = "MIT/Apache-2.0"
build = "src/build.rs"
[badges]
tr... | <|file_sep|>Cargo.toml.diff
original:
updated:
categories = ["api-bindings"]
<|file_sep|>original/Cargo.toml
and stores received data to provide a more convenient API.
"""
repository = "https://github.com/Flakebi/rust-ts3plugin"
documentation = "https://docs.rs/ts3plugin"
readme = "README.md"
keywords = ["plugin", "Te... | 7ee06e30e3b968cbfa12059d295d196fb024984c | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>onitu/drivers/local_storage/tests/driver.py.diff
original:
import sh
updated:
<|file_sep|>original/onitu/drivers/local_storage/tests/driver.py
*args,
**options)
@property
def root(self):
return path(self.options['roo... | **options)
@property
def root(self):
return path(self.options['root'])
def close(self):
dirs.delete(self.root)
def mkdir(self, subdirs):
(self.root / subdirs).makedirs_p()
# Give some time to inotify in order
# to avoid a k... | <|file_sep|>onitu/drivers/local_storage/tests/driver.py.diff
original:
import sh
updated:
<|file_sep|>original/onitu/drivers/local_storage/tests/driver.py
*args,
**options)
@property
def root(self):
return path(self.options['roo... | cb2dec164b18dc671dabdafe221bfd6aac4fc01e | onitu/drivers/local_storage/tests/driver.py | onitu/drivers/local_storage/tests/driver.py | Python |
<|file_sep|>original/.travis.yml
dist: bionic
language: rust
rust:
- stable
- beta
- nightly
env:
- RUST_BACKTRACE=1
addons:
# Force the latest firefox, otherwise we get an old ESR version
# that we don't even support
firefox: latest
chrome: stable
before_script:
- source bin/travis/before
script:
-... | language: rust
rust:
- stable
- beta
- nightly
env:
- RUST_BACKTRACE=1
addons:
# Force the latest firefox, otherwise we get an old ESR version
# that we don't even support
firefox: latest
chrome: stable
before_script:
- source bin/travis/before
script:
- TC="${TRAVIS_RUST_VERSION}" bin/build_tc | <|file_sep|>original/.travis.yml
dist: bionic
language: rust
rust:
- stable
- beta
- nightly
env:
- RUST_BACKTRACE=1
addons:
# Force the latest firefox, otherwise we get an old ESR version
# that we don't even support
firefox: latest
chrome: stable
before_script:
- source bin/travis/before
script:
-... | b8f96f658a1548a8b6ffd2f2cfa98b5c8077b657 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/adamantium.rb
#
# @return [self]
#
# @api private
def self.included(descendant)
descendant.class_eval do
include Memoizable
extend ModuleMethods
extend ClassMethods if kind_of?(Class)
end
self
end
private_class_method :included
# A noop #dup for im... | #
# @return [self]
#
# @api private
def self.included(descendant)
descendant.class_eval do
include Memoizable
extend ModuleMethods
extend ClassMethods if kind_of?(Class)
end
end
private_class_method :included
# A noop #dup for immutable objects
#
# @example
# object.du... | <|file_sep|>original/lib/adamantium.rb
#
# @return [self]
#
# @api private
def self.included(descendant)
descendant.class_eval do
include Memoizable
extend ModuleMethods
extend ClassMethods if kind_of?(Class)
end
self
end
private_class_method :included
# A noop #dup for im... | 212c6534d6e95d03d606dff8643209fbedd445e9 | lib/adamantium.rb | lib/adamantium.rb | Ruby |
<|file_sep|>original/circle.yml
# Also installing xcpretty from here, since Circle doesn't
# infer a gem install due to the override, thus just adding
# it to the Gemfile won't help
- gem install xcpretty
test:
pre:
- mkdir "$CIRCLE_ARTIFACTS/xcodebuild-logs"
override:
- set -o pipefail
... |
# Also installing xcpretty from here, since Circle doesn't
# infer a gem install due to the override, thus just adding
# it to the Gemfile won't help
- gem install xcpretty
test:
pre:
- mkdir "$CIRCLE_ARTIFACTS/xcodebuild-logs"
override:
- set -o pipefail &&
xcodebuild
-workspa... | <|file_sep|>original/circle.yml
# Also installing xcpretty from here, since Circle doesn't
# infer a gem install due to the override, thus just adding
# it to the Gemfile won't help
- gem install xcpretty
test:
pre:
- mkdir "$CIRCLE_ARTIFACTS/xcodebuild-logs"
override:
- set -o pipefail
... | e6599776315a1bfddf6aa8ac79321433f5daab94 | circle.yml | circle.yml | YAML |
<|file_sep|>docs/index.rst.diff
original:
updated:
.. raw:: html
<|file_sep|>original/docs/index.rst
===============
Easy Thumbnails
===============
.. image:: https://travis-ci.org/SmileyChris/easy-thumbnails.png?branch=master
:alt: Build Status
:target: https://travis-ci.org/SmileyChris/easy-thumbnails
T... | ===============
Easy Thumbnails
===============
.. raw:: html
<p>
<a href="https://travis-ci.org/SmileyChris/easy-thumbnails" >
<img src="https://travis-ci.org/SmileyChris/easy-thumbnails.png?branch=master" alt="Build Status"/>
</a>
</p>
This documentation covers the |version| release of easy-... | <|file_sep|>docs/index.rst.diff
original:
updated:
.. raw:: html
<|file_sep|>original/docs/index.rst
===============
Easy Thumbnails
===============
.. image:: https://travis-ci.org/SmileyChris/easy-thumbnails.png?branch=master
:alt: Build Status
:target: https://travis-ci.org/SmileyChris/easy-thumbnails
T... | eb7ed9dc8c7197a2daefe403990d5b421d6781ee | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>original/spec/app_spec.rb
post '/command'
expect(last_response).to be_ok
end
context "bad args" do
it "tell the user they're doin' it wrong" do
post '/command'
expect(last_response.body).to include 'usage'
end
end
context "good ar... | context "bad args" do
it "tell the user they're doin' it wrong" do
post '/command'
expect(last_response.body).to include 'usage'
end
end
context "good args" do
it "spits out a buzzfeedish title vaguely related to the PR" do
post '/command', text: ... | <|file_sep|>original/spec/app_spec.rb
post '/command'
expect(last_response).to be_ok
end
context "bad args" do
it "tell the user they're doin' it wrong" do
post '/command'
expect(last_response.body).to include 'usage'
end
end
context "good ar... | 186dbee0b4f3c7a3ef56b83b17adb74791d4d2c1 | spec/app_spec.rb | spec/app_spec.rb | Ruby |
<|file_sep|>original/requirements/dev.txt
isort==4.2.12
flake8==3.3.0
vulture==0.14
<|file_sep|>current/requirements/dev.txt
isort==4.2.12
flake8==3.3.0
vulture==0.14
<|file_sep|>updated/requirements/dev.txt | isort==4.2.13
flake8==3.3.0
vulture==0.14 | <|file_sep|>original/requirements/dev.txt
isort==4.2.12
flake8==3.3.0
vulture==0.14
<|file_sep|>current/requirements/dev.txt
isort==4.2.12
flake8==3.3.0
vulture==0.14
<|file_sep|>updated/requirements/dev.txt
isort==4.2.13
flake8==3.3.0
vulture==0.14 | 527ed5fb223986308f0a90ab38d2137601fe4caf | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/create-ordered-dbt3-schema.sh
<|file_sep|>current/create-ordered-dbt3-schema.sh
<|file_sep|>updated/create-ordered-dbt3-schema.sh | #!/bin/bash
# Script to create a DBT3 test database then create the tables, with reasonable default partitions.
# Then we load the data from the previously generated data files.
# Assumes that this script is executed after the DBT3 data gen script, and that the files are in
# the default locations.
PARTITIONS=`~/part... | <|file_sep|>original/create-ordered-dbt3-schema.sh
<|file_sep|>current/create-ordered-dbt3-schema.sh
<|file_sep|>updated/create-ordered-dbt3-schema.sh
#!/bin/bash
# Script to create a DBT3 test database then create the tables, with reasonable default partitions.
# Then we load the data from the previously generated d... | c166d10ebd2a480feafbf1a6abe893a420359be9 | create-ordered-dbt3-schema.sh | create-ordered-dbt3-schema.sh | Shell |
<|file_sep|>original/requirements.txt
cookiecutter==1.6.0
flake8==3.0.4
sh==1.12.14
virtualenv==16.0.0
Sphinx==1.8.1
sphinx-rtd-theme==0.4.2
# Testing
pytest==3.9.2
pep8==1.7.1
pyflakes==2.0.0
tox==3.5.2
pytest-cookies==0.3.0
<|file_sep|>current/requirements.txt
cookiecutter==1.6.0
flake8==3.0.4
sh==1.12.14
virtualenv... | cookiecutter==1.6.0
flake8==3.0.4
sh==1.12.14
virtualenv==16.0.0
Sphinx==1.8.1
sphinx-rtd-theme==0.4.2
# Testing
pytest==3.9.3
pep8==1.7.1
pyflakes==2.0.0
tox==3.5.2
pytest-cookies==0.3.0 | <|file_sep|>original/requirements.txt
cookiecutter==1.6.0
flake8==3.0.4
sh==1.12.14
virtualenv==16.0.0
Sphinx==1.8.1
sphinx-rtd-theme==0.4.2
# Testing
pytest==3.9.2
pep8==1.7.1
pyflakes==2.0.0
tox==3.5.2
pytest-cookies==0.3.0
<|file_sep|>current/requirements.txt
cookiecutter==1.6.0
flake8==3.0.4
sh==1.12.14
virtualenv... | d5669043dd7a7576d9ffc905063763174e777577 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/docs/requirements.txt
sphinx>=1.4
sphinx_rtd_theme
sphinx-autodoc-typehints
f90nml
pandas
<|file_sep|>current/docs/requirements.txt
sphinx>=1.4
sphinx_rtd_theme
sphinx-autodoc-typehints
f90nml
pandas
<|file_sep|>updated/docs/requirements.txt | sphinx>=1.4
sphinx_rtd_theme
sphinx-autodoc-typehints
f90nml
pandas
pandas-datapackage-reader | <|file_sep|>original/docs/requirements.txt
sphinx>=1.4
sphinx_rtd_theme
sphinx-autodoc-typehints
f90nml
pandas
<|file_sep|>current/docs/requirements.txt
sphinx>=1.4
sphinx_rtd_theme
sphinx-autodoc-typehints
f90nml
pandas
<|file_sep|>updated/docs/requirements.txt
sphinx>=1.4
sphinx_rtd_theme
sphinx-autodoc-typehints
f90... | 1cef768168ef2e90d290ef06d21f557c4f28662d | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/git-keeper-core/setup.py
name='git-keeper-core',
version='0.1.0',
description='Core modules for git-keeper-client and git-keeper-server.',
url='https://github.com/git-keeper/git-keeper',
license='GPL 3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'I... | setup(
name='git-keeper-core',
version='0.1.0',
description='Core modules for git-keeper-client and git-keeper-server.',
url='https://github.com/git-keeper/git-keeper',
license='GPL 3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Education',
... | <|file_sep|>original/git-keeper-core/setup.py
name='git-keeper-core',
version='0.1.0',
description='Core modules for git-keeper-client and git-keeper-server.',
url='https://github.com/git-keeper/git-keeper',
license='GPL 3',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'I... | 03f07ee52136d0794f581946718bd3ab7c53e22c | git-keeper-core/setup.py | git-keeper-core/setup.py | Python |
<|file_sep|>original/docker-compose.yml
nsqlookupd:
image: nsqio/nsq
command: /nsqlookupd
ports:
- "4161:4161"
- "4160:4160"
volumes:
- ./docker/nsq/nsq.config:/etc/nsq.config:ro
nsqd:
image: nsqio/nsq
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160 --data-path=/nsq_da... | nsqlookupd:
image: nsqio/nsq
command: /nsqlookupd
ports:
- "4161:4161"
- "4160:4160"
volumes:
- ./docker/nsq/nsq.config:/etc/nsq.config:ro
nsqd:
image: nsqio/nsq
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160 --data-path=/nsq_data -broadcast-address=nsq --msg-timeout=... | <|file_sep|>original/docker-compose.yml
nsqlookupd:
image: nsqio/nsq
command: /nsqlookupd
ports:
- "4161:4161"
- "4160:4160"
volumes:
- ./docker/nsq/nsq.config:/etc/nsq.config:ro
nsqd:
image: nsqio/nsq
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160 --data-path=/nsq_da... | ac9acf567a2bd74e573f20b1acab36abab60348f | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/package.json
"name": "nrj",
"version": "0.0.1",
"description": "A Node.js client for the Riak Json https://github.com/basho-labs/riak_json/ document store framework.",
"main": "index.js",
"scripts": {
},
"repository": {
"type": "git",
"url": "https://github.com/dmitrizagidulin... | "name": "nrj",
"version": "0.0.1",
"description": "A Node.js client for the Riak Json https://github.com/basho-labs/riak_json/ document store framework.",
"main": "index.js",
"scripts": {
},
"repository": {
"type": "git",
"url": "https://github.com/dmitrizagidulin/nrj.git"
},
"devDependencies"... | <|file_sep|>original/package.json
"name": "nrj",
"version": "0.0.1",
"description": "A Node.js client for the Riak Json https://github.com/basho-labs/riak_json/ document store framework.",
"main": "index.js",
"scripts": {
},
"repository": {
"type": "git",
"url": "https://github.com/dmitrizagidulin... | 11abab10cadd34bb69a6fe2b3c6ab9d1a1d4aacd | package.json | package.json | JSON |
<|file_sep|>original/app/views/admin/newsletter_user_roles/_form.html.slim
- f.inputs t('activerecord.models.newsletter_user_role.other') do
- f.has_many :newsletter_user_roles, heading: false do |item|
= item.translated_inputs 'Translated fields', switch_locale: true do |t|
- t.input :title,
... | - f.inputs t('activerecord.models.newsletter_user_role.other') do
- f.has_many :newsletter_user_roles, heading: false, new_record: false do |item|
= item.translated_inputs 'Translated fields', switch_locale: true do |t|
- t.input :title,
label: I18n.t('activerecord.attributes.newsletter_user... | <|file_sep|>original/app/views/admin/newsletter_user_roles/_form.html.slim
- f.inputs t('activerecord.models.newsletter_user_role.other') do
- f.has_many :newsletter_user_roles, heading: false do |item|
= item.translated_inputs 'Translated fields', switch_locale: true do |t|
- t.input :title,
... | 71174f89f6a34c13eddba7cfe76319dc3186540d | app/views/admin/newsletter_user_roles/_form.html.slim | app/views/admin/newsletter_user_roles/_form.html.slim | Slim |
<|file_sep|>original/basmoura.gemspec
spec.version = Basmoura::VERSION
spec.authors = ["Breno Moura"]
spec.email = ["basmoura@gmail.com"]
spec.summary = %q{Provide informations about me}
spec.description = %q{I believe in one simple thing: if you are a developer, do all you can as ... | spec.version = Basmoura::VERSION
spec.authors = ["Breno Moura"]
spec.email = ["basmoura@gmail.com"]
spec.summary = %q{Provide informations about me}
spec.description = %q{I believe in one simple thing: if you are a developer, do all you can as a developer}
spec.homepage = ""... | <|file_sep|>original/basmoura.gemspec
spec.version = Basmoura::VERSION
spec.authors = ["Breno Moura"]
spec.email = ["basmoura@gmail.com"]
spec.summary = %q{Provide informations about me}
spec.description = %q{I believe in one simple thing: if you are a developer, do all you can as ... | 7f51632e223475ad0e6a08141e137cf19eb69782 | basmoura.gemspec | basmoura.gemspec | Ruby |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.7
sudo: false
install:
- curl -L -s https://github.com/Masterminds/glide/releases/download/v0.12.2/glide-v0.12.2-linux-amd64.tar.gz | tar zxC ./
- ./linux-amd64/glide install
script:
- go test
<|file_sep|>current/.travis.yml
language: go
go:
- 1.7
su... | language: go
go:
- 1.7
sudo: false
install:
- curl -L -s https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz | tar zxC ./
- ./linux-amd64/glide install
script:
- go test | <|file_sep|>original/.travis.yml
language: go
go:
- 1.7
sudo: false
install:
- curl -L -s https://github.com/Masterminds/glide/releases/download/v0.12.2/glide-v0.12.2-linux-amd64.tar.gz | tar zxC ./
- ./linux-amd64/glide install
script:
- go test
<|file_sep|>current/.travis.yml
language: go
go:
- 1.7
su... | ee0fcdfdf4619565016deb2b15594d707cb8e924 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/views/shared/_user_content.html.haml.diff
original:
= render partial: '/shared/user_repositories'
updated:
= render partial: '/shared/user_ontologies'
<|file_sep|>original/app/views/shared/_user_content.html.haml
%div{role:'presentation',style:'height: 63px'}
- if @content_kind == :ontologies
= r... | %div{role:'presentation',style:'height: 63px'}
- if @content_kind == :ontologies
= render partial: '/shared/user_ontologies'
- if @content_kind == :symbols
= render partial: '/shared/user_ontologies'
- if @content_kind == :logics
= render partial: '/shared/user_ontologies'
- if @content_kind == :repositories
=... | <|file_sep|>app/views/shared/_user_content.html.haml.diff
original:
= render partial: '/shared/user_repositories'
updated:
= render partial: '/shared/user_ontologies'
<|file_sep|>original/app/views/shared/_user_content.html.haml
%div{role:'presentation',style:'height: 63px'}
- if @content_kind == :ontologies
= r... | 024324089614e27c4696eb8b66e7b3529d41d6b9 | app/views/shared/_user_content.html.haml | app/views/shared/_user_content.html.haml | Haml |
<|file_sep|>original/media/rx/audio-rx.h
#ifndef __AUDIO_RX_H__
#define __AUDIO_RX_H__
#include <stdint.h>
typedef void (*put_audio_samples_rx)(uint8_t*, int, int);
int start_audio_rx(const char* sdp, int maxDelay, put_audio_samples_rx callback);
int stop_audio_rx();
#endif /* __AUDIO_RX_H__ */
<|file_sep|>current/... | #ifndef __AUDIO_RX_H__
#define __AUDIO_RX_H__
#include <stdint.h>
typedef void (*put_audio_samples_rx)(uint8_t *samples, int size, int nframe);
int start_audio_rx(const char* sdp, int maxDelay, put_audio_samples_rx callback);
int stop_audio_rx();
#endif /* __AUDIO_RX_H__ */ | <|file_sep|>original/media/rx/audio-rx.h
#ifndef __AUDIO_RX_H__
#define __AUDIO_RX_H__
#include <stdint.h>
typedef void (*put_audio_samples_rx)(uint8_t*, int, int);
int start_audio_rx(const char* sdp, int maxDelay, put_audio_samples_rx callback);
int stop_audio_rx();
#endif /* __AUDIO_RX_H__ */
<|file_sep|>current/... | 0c641db27c8ef9501990544b093c0bbbe6244776 | media/rx/audio-rx.h | media/rx/audio-rx.h | C |
<|file_sep|>original/files/private-chef-upgrades/001/015_chef_mover_phase_2.rb
####
force_restart_service("opscode-chef-mover")
# Run phase_2_migration
log "Migrating containers and groups..."
run_command("/opt/opscode/embedded/bin/escript " \
"/opt/opscode/embedded/service/opscode... | clean_mover_logs
####
#### perform a migration similar to what we did for hosted chef following this plan
#### github.com/opscode/chef-mover/blob/024875c5545a0e7fb62c0852d4498d2ab7dd1c1d/docs/phase-2-migration-plan.md
####
force_restart_service("opscode-chef-mover")
# Run phase_2_migratio... | <|file_sep|>original/files/private-chef-upgrades/001/015_chef_mover_phase_2.rb
####
force_restart_service("opscode-chef-mover")
# Run phase_2_migration
log "Migrating containers and groups..."
run_command("/opt/opscode/embedded/bin/escript " \
"/opt/opscode/embedded/service/opscode... | 6284173a97c5d0f41926f5d7a6bdde8d083ca8e0 | files/private-chef-upgrades/001/015_chef_mover_phase_2.rb | files/private-chef-upgrades/001/015_chef_mover_phase_2.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.