prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs-v1.0.4"
- "4.0.0"
before_script:
- npm install -g npm
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs-v1.0.4"
- "4.0.0"
before_script:
... | language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs-v1.0.4"
#- "4.0.0"
before_script:
- npm install -g npm
script:
- npm test | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs-v1.0.4"
- "4.0.0"
before_script:
- npm install -g npm
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs-v1.0.4"
- "4.0.0"
before_script:
... | d3cf781bf3b8cbfbf9e6aa9b20772c5ce87d455b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
before_install:
- "sudo apt-get install xclip xsel --no-install-recommends --yes"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
rvm:
- rbx-19mode
- 2.0.0
- 1.9.3
- jruby-head
notifications:
recipients:
- envygeeks@gmail.com
branches:
only:
- master
... | before_install:
- "sudo apt-get install xclip xsel --no-install-recommends --yes"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
- jruby-head
notifications:
recipients:
- envygeeks@gmail.com
branches:
only:
- master | <|file_sep|>original/.travis.yml
before_install:
- "sudo apt-get install xclip xsel --no-install-recommends --yes"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
rvm:
- rbx-19mode
- 2.0.0
- 1.9.3
- jruby-head
notifications:
recipients:
- envygeeks@gmail.com
branches:
only:
- master
... | 4ee9364484bf1ff7947247defb2c04345821b025 | .travis.yml | .travis.yml | YAML |
<|file_sep|>route-urls.js.diff
original:
.factory("urls", function($route) {
updated:
.provider("urls", function($locationProvider) {
return {
$get: function($route) {
<|file_sep|>route-urls.js.diff
original:
// Cache the routing paths for any named routes.
var pathsByName = {};
angular.forEach(... | var regex = regexs[key];
if (regex === undefined) {
regex = regexs[key] = new RegExp(":" + key + "(?=/|$)");
}
url = url.replace(regex, value);
});
return url;
};
... | <|file_sep|>route-urls.js.diff
original:
.factory("urls", function($route) {
updated:
.provider("urls", function($locationProvider) {
return {
$get: function($route) {
<|file_sep|>route-urls.js.diff
original:
// Cache the routing paths for any named routes.
var pathsByName = {};
angular.forEach(... | 67c22c1b3432c95a6fac6c758544126275fad82c | route-urls.js | route-urls.js | JavaScript |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 7
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 7
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-to... | language: node_js
node_js:
- 8
- 10
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 6
- 7
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 6
- 7
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-to... | 0c4ad0f1298c64a220744297715f27fc2b567290 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"homebridge": ">=0.2.0"
},
"author": {
"name": "lprhodes"
},
"repository": {
"type": "git",
"url": "git@github.com:lprhodes/homebridge-broadlink-rm.git"
},
"dependencies": {
"broadlinkjs-rm": "^0.2.6",
"homebridge-platform-helper": "1.0.2",
"ping... | "homebridge": ">=0.2.0"
},
"author": {
"name": "lprhodes"
},
"repository": {
"type": "git",
"url": "git@github.com:lprhodes/homebridge-broadlink-rm.git"
},
"dependencies": {
"broadlinkjs-rm": "^0.2.6",
"homebridge-platform-helper": "1.0.3",
"ping": "^0.2.2",
"uuid": "^3.2.1",... | <|file_sep|>original/package.json
"homebridge": ">=0.2.0"
},
"author": {
"name": "lprhodes"
},
"repository": {
"type": "git",
"url": "git@github.com:lprhodes/homebridge-broadlink-rm.git"
},
"dependencies": {
"broadlinkjs-rm": "^0.2.6",
"homebridge-platform-helper": "1.0.2",
"ping... | 25612aa9b24dbe6adec6152499fbbc3c5fa4bbe6 | package.json | package.json | JSON |
<|file_sep|>original/lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb
def complete!
return unless unmet?
create_or_update_namespace
end
private
def deployment_cluster
build.deployment&.deployment_platform_cluster
end
... |
def complete!
return unless unmet?
create_or_update_namespace
end
private
def deployment_cluster
strong_memoize(:deployment_cluster) do
build.deployment&.cluster || build.deployment&.deployment_platform_cluster
end... | <|file_sep|>original/lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb
def complete!
return unless unmet?
create_or_update_namespace
end
private
def deployment_cluster
build.deployment&.deployment_platform_cluster
end
... | 2cdb72ea0382ef80f6cd24606826094321a4e643 | lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb | lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb | Ruby |
<|file_sep|>original/recipes-devtools/python/python-tornado45_git.bb
DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
PV = "4.5.3"
SRCREV = "8e9e75... | DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
PV = "4.5.3"
SRCREV = "8e9e75502ff910629663c4cdd7779d43ea2dd150"
SRC_URI = "git://github.com/torna... | <|file_sep|>original/recipes-devtools/python/python-tornado45_git.bb
DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
PV = "4.5.3"
SRCREV = "8e9e75... | 3b19c0085a9e72e21d2ebfc0fda22ce3589a54a2 | recipes-devtools/python/python-tornado45_git.bb | recipes-devtools/python/python-tornado45_git.bb | BitBake |
<|file_sep|>original/validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift
<|file_sep|>current/validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift
<|file_sep|>updated/validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift | // RUN: not --crash %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
func e{enum k:A}protocol A{typealias B:A
typealias n | <|file_sep|>original/validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift
<|file_sep|>current/validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift
<|file_sep|>updated/validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift
// RUN: not --... | 351851b64ff73779025e19fe00db4a25931f9352 | validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift | validation-test/compiler_crashers/28225-swift-typechecker-checkconformance.swift | Swift |
<|file_sep|>original/.travis.yml
sudo: false
language: objective-c
cache: cocoapods
xcode_workspace: LocationManager/LocationManager.xcworkspace
xcode_scheme: LocationManagerExample
xcode_sdk: iphonesimulator
podfile: LocationManager/Podfile
before_install:
- gem install cocoapods --no-ri --no-rdoc
- gem install s... | sudo: false
language: objective-c
cache: cocoapods
xcode_workspace: LocationManager/LocationManager.xcworkspace
xcode_scheme: LocationManagerExample
xcode_sdk: iphonesimulator
podfile: LocationManager/Podfile
rvm:
- 2.2.2
before_install:
- gem install cocoapods --no-ri --no-rdoc
- gem install slather --no-ri --... | <|file_sep|>original/.travis.yml
sudo: false
language: objective-c
cache: cocoapods
xcode_workspace: LocationManager/LocationManager.xcworkspace
xcode_scheme: LocationManagerExample
xcode_sdk: iphonesimulator
podfile: LocationManager/Podfile
before_install:
- gem install cocoapods --no-ri --no-rdoc
- gem install s... | 9302f88576591b30badd3c56bdd30e4f24447004 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/option/User/setup.sh
# Fetch the uid and gid from the target and use the numeric ids to set the ownership
UGID=`$PW -V ${BOARD_FREEBSD_MOUNTPOINT}/etc/ usershow $1 | $AWK -F: '{ print $3 ":" $4 }'`
$CHOWN $UGID ${BOARD_FREEBSD_MOUNTPOINT}${HOME_DIR}/$1
}
pw_add_user_to_group ( ) {
... | # Fetch the uid and gid from the target and use the numeric ids to set the ownership
UGID=`$PW -V ${BOARD_FREEBSD_MOUNTPOINT}/etc/ usershow $1 | $AWK -F: '{ print $3 ":" $4 }'`
$CHOWN $UGID ${BOARD_FREEBSD_MOUNTPOINT}${HOME_DIR}/$1
}
pw_add_user_to_group ( ) {
echo "Adding user $1 to group $2"
$PW ... | <|file_sep|>original/option/User/setup.sh
# Fetch the uid and gid from the target and use the numeric ids to set the ownership
UGID=`$PW -V ${BOARD_FREEBSD_MOUNTPOINT}/etc/ usershow $1 | $AWK -F: '{ print $3 ":" $4 }'`
$CHOWN $UGID ${BOARD_FREEBSD_MOUNTPOINT}${HOME_DIR}/$1
}
pw_add_user_to_group ( ) {
... | 4ee2f233465a0fff7ade03cfb16a54c106ed108c | option/User/setup.sh | option/User/setup.sh | Shell |
<|file_sep|>Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs.diff
original:
CleanupFiles(service);
}
private void CleanupFiles(ILibraryService service)
{
updated:
<|file_sep|>original/Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs
... | timer.AddProperty("Track count", service.Tracks.Count.ToString());
}
var matchingService = context.Resolve<ILibraryMatchingService>();
matchingService.OnStartup();
CleanupFiles(s => !service.Tracks.Any(p => p.ArtistArtworkUri?.EndsWithIgnoreCase(s) ?? f... | <|file_sep|>Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs.diff
original:
CleanupFiles(service);
}
private void CleanupFiles(ILibraryService service)
{
updated:
<|file_sep|>original/Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs
... | bf7f72620dc66c48313817d52f957e054be55996 | Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs | Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs | C# |
<|file_sep|>original/provisioning/install_virtualbox.sh
set -ex
if ! grep --quiet "deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free" /etc/apt/sources.list.d/virtualbox.list; then
sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib n... | set -ex
if ! grep --quiet "deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free" /etc/apt/sources.list.d/virtualbox.list; then
sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list"
wg... | <|file_sep|>original/provisioning/install_virtualbox.sh
set -ex
if ! grep --quiet "deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free" /etc/apt/sources.list.d/virtualbox.list; then
sh -c "echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib n... | 616b36dbb6cfbeace9cc20c9a2a35df59f50d1d5 | provisioning/install_virtualbox.sh | provisioning/install_virtualbox.sh | Shell |
<|file_sep|>lib/templates/partials/html.mustache.diff
original:
updated:
{{#book}}
<title>{{title}}</title>
{{/book}}
{{^book}}
<|file_sep|>original/lib/templates/partials/html.mustache
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 ieUnsupported"> <![endif]-->
<!--[if IE 7 ]> <html lang=... | <head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
{{#book}}
<title>{{title}}</title>
{{/book}}
{{^book}}
<title>Booknode</title>
{{/book}}
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=de... | <|file_sep|>lib/templates/partials/html.mustache.diff
original:
updated:
{{#book}}
<title>{{title}}</title>
{{/book}}
{{^book}}
<|file_sep|>original/lib/templates/partials/html.mustache
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6 ieUnsupported"> <![endif]-->
<!--[if IE 7 ]> <html lang=... | aff11a73fe588522745428fd12938c83253d4999 | lib/templates/partials/html.mustache | lib/templates/partials/html.mustache | HTML+Django |
<|file_sep|>original/src/waldur_core/core/api_groups_mapping.py
'/api/marketplace-category-component-usages/',
'/api/marketplace-checklists-categories/',
'/api/marketplace-checklists/',
'/api/marketplace-component-usages/',
'/api/marketplace-offering-files/',
'/api/market... | '/api/marketplace-checklists-categories/',
'/api/marketplace-checklists/',
'/api/marketplace-component-usages/',
'/api/marketplace-offering-files/',
'/api/marketplace-offerings/',
'/api/marketplace-order-items/',
'/api/marketplace-orders/',
'/api/marketpla... | <|file_sep|>original/src/waldur_core/core/api_groups_mapping.py
'/api/marketplace-category-component-usages/',
'/api/marketplace-checklists-categories/',
'/api/marketplace-checklists/',
'/api/marketplace-component-usages/',
'/api/marketplace-offering-files/',
'/api/market... | 5fb365333711f7e999f71d53061ae14c386e575c | src/waldur_core/core/api_groups_mapping.py | src/waldur_core/core/api_groups_mapping.py | Python |
<|file_sep|>original/hero_spec.rb
require './hero'
describe Hero do
it "has a capitalize name" do
hero = Hero.new 'mike'
expect(hero.name).to eq 'Mike' # hero.name == 'Mike'
end
it "can power up" do
hero = Hero.new 'mike'
expect(hero.power_up).to eq 110
end
end
<|file_sep|>current/hero_spec.rb
require... |
expect(hero.name).to eq 'Mike' # hero.name == 'Mike'
end
it "can power up" do
hero = Hero.new 'mike'
expect(hero.power_up).to eq 110
end
it "can power down" do
hero = Hero.new 'mike'
expect(hero.power_down).to eq 90
end
it "displays full hero info" do
hero = Hero.new 'mike'
expect(hero.hero_i... | <|file_sep|>original/hero_spec.rb
require './hero'
describe Hero do
it "has a capitalize name" do
hero = Hero.new 'mike'
expect(hero.name).to eq 'Mike' # hero.name == 'Mike'
end
it "can power up" do
hero = Hero.new 'mike'
expect(hero.power_up).to eq 110
end
end
<|file_sep|>current/hero_spec.rb
require... | b257c5c27d0b3adbb93cc4ac7e798c81e2a32878 | hero_spec.rb | hero_spec.rb | Ruby |
<|file_sep|>original/src/app/spare-drive/spare-drive-sidebar/spare-drive-sidebar.component.scss
md-icon {
line-height: 48px;
}
h4 {
max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;
}
<|file_sep|>current/src/app/spare-drive/spare-drive-sidebar/spare-drive-sidebar.component.scss
md-icon {
line-heig... | md-icon {
line-height: 48px;
}
h4 {
max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;
}
:host /deep/ .mat-tab-links {
width: 100%;
display: flex;
justify-content: space-between;
}
:host /deep/ .mat-tab-link {
min-width: 177px !important;
} | <|file_sep|>original/src/app/spare-drive/spare-drive-sidebar/spare-drive-sidebar.component.scss
md-icon {
line-height: 48px;
}
h4 {
max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;
}
<|file_sep|>current/src/app/spare-drive/spare-drive-sidebar/spare-drive-sidebar.component.scss
md-icon {
line-heig... | 4abab602d5811260f42505c45af061cfc9c415d2 | src/app/spare-drive/spare-drive-sidebar/spare-drive-sidebar.component.scss | src/app/spare-drive/spare-drive-sidebar/spare-drive-sidebar.component.scss | SCSS |
<|file_sep|>original/hive-runner-android.gemspec
Gem::Specification.new do |s|
s.name = 'hive-runner-android'
s.version = '1.1.0'
s.date = '2015-02-26'
s.summary = 'Hive Runner Android'
s.description = 'The Android controller module for Hive Runner'
s.authors = ['Jon Wilson']
s.... | Gem::Specification.new do |s|
s.name = 'hive-runner-android'
s.version = '1.1.1'
s.date = '2015-02-26'
s.summary = 'Hive Runner Android'
s.description = 'The Android controller module for Hive Runner'
s.authors = ['Jon Wilson']
s.email = 'jon.wilson01@bbc.co.uk'
s.files... | <|file_sep|>original/hive-runner-android.gemspec
Gem::Specification.new do |s|
s.name = 'hive-runner-android'
s.version = '1.1.0'
s.date = '2015-02-26'
s.summary = 'Hive Runner Android'
s.description = 'The Android controller module for Hive Runner'
s.authors = ['Jon Wilson']
s.... | cee0fb346ce0de1fe743a39eae65afa095fed860 | hive-runner-android.gemspec | hive-runner-android.gemspec | Ruby |
<|file_sep|>original/lesson14/you_look_wonderful_tonight.rb
<|file_sep|>current/lesson14/you_look_wonderful_tonight.rb
<|file_sep|>updated/lesson14/you_look_wonderful_tonight.rb | # Lesson 14 - 'Slash' chords and Bass runs
# You Look Wonderful Tonight - Eric Clapton
require "#{Dir.home}/ruby/pianoforall/lesson14/slash_split_chord"
use_synth :piano
BEAT = 0.55
slash_split_chord(:G4, reps: 3, beat: BEAT)
slash_split_chord(:D4, bass_note: :Fs3, reps: 3, beat: BEAT)
slash_split_chord(:C4, bass_note... | <|file_sep|>original/lesson14/you_look_wonderful_tonight.rb
<|file_sep|>current/lesson14/you_look_wonderful_tonight.rb
<|file_sep|>updated/lesson14/you_look_wonderful_tonight.rb
# Lesson 14 - 'Slash' chords and Bass runs
# You Look Wonderful Tonight - Eric Clapton
require "#{Dir.home}/ruby/pianoforall/lesson14/slash_... | b46584c97fd53c970c60dd3cf4cd6c7fa7a1ff36 | lesson14/you_look_wonderful_tonight.rb | lesson14/you_look_wonderful_tonight.rb | Ruby |
<|file_sep|>original/lib/tsan/check_analyze.sh
res=$(PrintRes | egrep "$1 .* $2 $3; ")
if [ "$res" == "" ]; then
echo FAILED $1 must contain $2 $3
exit 1
fi
}
for f in write1 write2 write4 write8; do
check $f rsp 1
check $f push 2
check $f pop 2
done
for f in read1 read2 read4 read8; do
check $f... | res=$(PrintRes | egrep "$1 .* $2 $3; ")
if [ "$res" == "" ]; then
echo FAILED $1 must contain $2 $3
exit 1
fi
}
for f in write1 write2 write4 write8; do
check $f rsp 1
check $f push 2
check $f pop 12
done
for f in read1 read2 read4 read8; do
check $f rsp 1
check $f push 4
check $f pop 4
done... | <|file_sep|>original/lib/tsan/check_analyze.sh
res=$(PrintRes | egrep "$1 .* $2 $3; ")
if [ "$res" == "" ]; then
echo FAILED $1 must contain $2 $3
exit 1
fi
}
for f in write1 write2 write4 write8; do
check $f rsp 1
check $f push 2
check $f pop 2
done
for f in read1 read2 read4 read8; do
check $f... | 1f7b0d2bc796b293d56a99354bb78750a8e47558 | lib/tsan/check_analyze.sh | lib/tsan/check_analyze.sh | Shell |
<|file_sep|>original/tech_blog/_config.yml
# Site settings
title: No0b Tech
email: dstanfield.esq@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Goo... | # Site settings
title: No0b Tech
email: dstanfield.esq@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. Woop. Woop. It will appear in your document head meta (for
Google search results) and in your... | <|file_sep|>original/tech_blog/_config.yml
# Site settings
title: No0b Tech
email: dstanfield.esq@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Goo... | 373369f7337fc915ced952f1f77751a5256d7ea4 | tech_blog/_config.yml | tech_blog/_config.yml | YAML |
<|file_sep|>test/cpp/bounds_inference/test.cpp.diff
original:
#include <sys/time.h>
updated:
<|file_sep|>original/test/cpp/bounds_inference/test.cpp
#include <Halide.h>
#include <sys/time.h>
using namespace Halide;
double currentTime() {
timeval t;
gettimeofday(&t, NULL);
return t.tv_sec * 1000.0 + t.tv... | #include <Halide.h>
using namespace Halide;
int main(int argc, char **argv) {
Func f, g, h; Var x, y;
h(x) = x;
g(x) = h(x-1) + h(x+1);
f(x, y) = (g(x-1) + g(x+1)) + y;
h.root();
g.root();
if (use_gpu()) {
f.cudaTile(x, y, 16, 16);
g.cudaTile(x, 128);
h.cudaT... | <|file_sep|>test/cpp/bounds_inference/test.cpp.diff
original:
#include <sys/time.h>
updated:
<|file_sep|>original/test/cpp/bounds_inference/test.cpp
#include <Halide.h>
#include <sys/time.h>
using namespace Halide;
double currentTime() {
timeval t;
gettimeofday(&t, NULL);
return t.tv_sec * 1000.0 + t.tv... | 7605e250dfdf5b90a427a76ee8406db8bb4bb403 | test/cpp/bounds_inference/test.cpp | test/cpp/bounds_inference/test.cpp | C++ |
<|file_sep|>original/.github/workflows/pr-closed.yml
<|file_sep|>current/.github/workflows/pr-closed.yml
<|file_sep|>updated/.github/workflows/pr-closed.yml | name: PR Closed
on:
pull_request:
branches: [main, next]
types: [closed]
jobs:
docs:
name: Remove Docs Preview
runs-on: ubuntu-latest
steps:
- name: Teardown
uses: adrianjost/actions-surge.sh-teardown@v1.0.3
with:
regex: pr-${{ github.event.number }}--ruma-docs.... | <|file_sep|>original/.github/workflows/pr-closed.yml
<|file_sep|>current/.github/workflows/pr-closed.yml
<|file_sep|>updated/.github/workflows/pr-closed.yml
name: PR Closed
on:
pull_request:
branches: [main, next]
types: [closed]
jobs:
docs:
name: Remove Docs Preview
runs-on: ubuntu-latest
s... | 212596f9baaaeb3c51447135f2718f78dc28abaf | .github/workflows/pr-closed.yml | .github/workflows/pr-closed.yml | YAML |
<|file_sep|>src/features/header/header-main/navigation/index.js.diff
original:
updated:
import { OctocatIcon } from "../../../../elements/octocat-icon";
<|file_sep|>src/features/header/header-main/navigation/index.js.diff
original:
updated:
</Ul>
<Ul>
<|file_sep|>src/features/header/header-main/navigation/in... |
export const MainNav = (props: {}) => (
<Nav>
<Ul>
<Li><Highlight {...props} url="/">Projects</Highlight></Li>
<Li><Highlight {...props}>About</Highlight></Li>
<Li>
<Highlight highlightColor="transparent" {...props}>
<Chevron {...props}>Download</Chevron>
</Highlight>
... | <|file_sep|>src/features/header/header-main/navigation/index.js.diff
original:
updated:
import { OctocatIcon } from "../../../../elements/octocat-icon";
<|file_sep|>src/features/header/header-main/navigation/index.js.diff
original:
updated:
</Ul>
<Ul>
<|file_sep|>src/features/header/header-main/navigation/in... | d6443ad77c6c3f00e981aec3812409127f2b35ee | src/features/header/header-main/navigation/index.js | src/features/header/header-main/navigation/index.js | JavaScript |
<|file_sep|>original/requirements.txt
arrow==0.10.0
beautifulsoup4==4.6.0
blessed==1.14.2
Django==1.11
django-picklefield==0.3.2
django-q==0.8.0
fake-useragent==0.1.7
future==0.16.0
psycopg2==2.7.1
python-dateutil==2.6.0
requests==2.16.1
six==1.10.0
uWSGI==2.0.15
wcwidth==0.1.7
<|file_sep|>current/requirements.txt
arro... | arrow==0.10.0
beautifulsoup4==4.6.0
blessed==1.14.2
Django==1.11
django-picklefield==0.3.2
django-q==0.8.0
fake-useragent==0.1.7
future==0.16.0
psycopg2==2.7.1
python-dateutil==2.6.0
requests==2.16.2
six==1.10.0
uWSGI==2.0.15
wcwidth==0.1.7 | <|file_sep|>original/requirements.txt
arrow==0.10.0
beautifulsoup4==4.6.0
blessed==1.14.2
Django==1.11
django-picklefield==0.3.2
django-q==0.8.0
fake-useragent==0.1.7
future==0.16.0
psycopg2==2.7.1
python-dateutil==2.6.0
requests==2.16.1
six==1.10.0
uWSGI==2.0.15
wcwidth==0.1.7
<|file_sep|>current/requirements.txt
arro... | 389a3fb1c835e74fbb617209632dd96cb9d577cb | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
include:
- php: 7.0
- php: 7.1
env:
- TEST_COVERAGE=true
install:
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev satooshi/php-coveralls ; fi
before_script:
- composer self-update
- composer install --prefer-source
script:
... | - TEST_COVERAGE=true
install:
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev satooshi/php-coveralls ; fi
before_script:
- composer self-update
- composer install --prefer-source
script:
- composer validate
- ./vendor/bin/phing security:check
- ./vendor/bin/ph... | <|file_sep|>original/.travis.yml
include:
- php: 7.0
- php: 7.1
env:
- TEST_COVERAGE=true
install:
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev satooshi/php-coveralls ; fi
before_script:
- composer self-update
- composer install --prefer-source
script:
... | c3574b18467a35c97541dda02189a4bee12c6723 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/src/events/EventService.js.diff
original:
this.get = function(startDate, pageSize, pageStart) {
var deferredEvents = $q.defer();
updated:
var getQueryDateString = function(startDate){
<|file_sep|>app/src/events/EventService.js.diff
original:
var isoQueryDate = $filter('date')(queryDate,'yyyy... | var deferredEvents = $q.defer();
var config = {
params: {
size : pageSize || 50,
start : pageStart || 0
}
};
$http.get(ApiUrl.get() + 'startDate/' + getQueryDateString(startDate), config)
.then(function(data) {
deferredEvents.resolve(data);
}, function(reason) {... | <|file_sep|>app/src/events/EventService.js.diff
original:
this.get = function(startDate, pageSize, pageStart) {
var deferredEvents = $q.defer();
updated:
var getQueryDateString = function(startDate){
<|file_sep|>app/src/events/EventService.js.diff
original:
var isoQueryDate = $filter('date')(queryDate,'yyyy... | 56d71b95eef959cf9f99454558831c9d5d7b6d2b | app/src/events/EventService.js | app/src/events/EventService.js | JavaScript |
<|file_sep|>original/app/grandchallenge/pages/sitemaps.py
from grandchallenge.core.sitemaps import SubdomainSitemap
from grandchallenge.pages.models import Page
class PagesSitemap(SubdomainSitemap):
priority = 0.8
def items(self):
return Page.objects.filter(
permission_level=Page.ALL, cha... | from grandchallenge.core.sitemaps import SubdomainSitemap
from grandchallenge.pages.models import Page
class PagesSitemap(SubdomainSitemap):
priority = 0.8
def items(self):
return Page.objects.filter(
permission_level=Page.ALL, challenge__hidden=False, hidden=False,
) | <|file_sep|>original/app/grandchallenge/pages/sitemaps.py
from grandchallenge.core.sitemaps import SubdomainSitemap
from grandchallenge.pages.models import Page
class PagesSitemap(SubdomainSitemap):
priority = 0.8
def items(self):
return Page.objects.filter(
permission_level=Page.ALL, cha... | 022062c409ee06a719b5687ea1feb989c5cad627 | app/grandchallenge/pages/sitemaps.py | app/grandchallenge/pages/sitemaps.py | Python |
<|file_sep|>original/.travis.yml
language: ruby
before_install: gem install bundler && bundler -v
install: bundle install --jobs=3 --retry=3
before_script: bundle install
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1.8
- 2.2.4
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>curren... | language: ruby
before_install: gem install bundler && bundler -v
install: bundle install --jobs=3 --retry=3
before_script: bundle install
script: bundle exec rake
rvm:
- 2.1.8
- 2.2.4
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head | <|file_sep|>original/.travis.yml
language: ruby
before_install: gem install bundler && bundler -v
install: bundle install --jobs=3 --retry=3
before_script: bundle install
script: bundle exec rake
rvm:
- 1.9.3
- 2.0.0
- 2.1.8
- 2.2.4
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
<|file_sep|>curren... | 25cb0cb9cda433e402cd46428e62d6b727a11526 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/bash/bashrc.sh
# Bashrc
source $HOME/.config/bash/includes/exports.sh
source $HOME/.config/bash/includes/aliases.sh
source $HOME/.config/bash/includes/prompt.sh
source $HOME/.config/bash/includes/plugins.sh
source $HOME/.config/bash/includes/terminal-options.sh
if [ -f ~/.bashrc-local ]; then
s... | # Bashrc
source $HOME/.config/bash/includes/exports.sh
source $HOME/.config/bash/includes/aliases.sh
source $HOME/.config/bash/includes/prompt.sh
source $HOME/.config/bash/includes/plugins.sh
source $HOME/.config/bash/includes/terminal-options.sh
PATH=$PATH:~/.bin
if [ -f ~/.bashrc-local ]; then
source ~/.bashrc-l... | <|file_sep|>original/bash/bashrc.sh
# Bashrc
source $HOME/.config/bash/includes/exports.sh
source $HOME/.config/bash/includes/aliases.sh
source $HOME/.config/bash/includes/prompt.sh
source $HOME/.config/bash/includes/plugins.sh
source $HOME/.config/bash/includes/terminal-options.sh
if [ -f ~/.bashrc-local ]; then
s... | ae760595bfc05e059e8182a92a67fb384a603468 | bash/bashrc.sh | bash/bashrc.sh | Shell |
<|file_sep|>original/src/foreclojure/ring.clj
[clojure.string :as s])
(:import (java.net URL)))
;; copied from compojure.route, modified to use File instead of Stream
(defn resources
"A route for serving resources on the classpath. Accepts the following
keys:
:root - the root prefix to get the re... | [clojure.string :as s])
(:import (java.net URL)))
;; copied from compojure.route, modified to use File instead of Stream
(defn resources
"A route for serving resources on the classpath. Accepts the following
keys:
:root - the root prefix to get the resources from. Defaults to 'public'."
[path &... | <|file_sep|>original/src/foreclojure/ring.clj
[clojure.string :as s])
(:import (java.net URL)))
;; copied from compojure.route, modified to use File instead of Stream
(defn resources
"A route for serving resources on the classpath. Accepts the following
keys:
:root - the root prefix to get the re... | 97832eee7e506268996a0b5bfcd8b9d83afc8da0 | src/foreclojure/ring.clj | src/foreclojure/ring.clj | Clojure |
<|file_sep|>original/.github/workflows/e2e-tests.yml
name: e2e-tests
on:
push:
branches:
- master
pull_request:
jobs:
run-e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make -f x.mk e2e-local NODES=2 JUNIT_DIRECTORY=./artifacts/
- name: Archive prod... | name: e2e-tests
on:
push:
branches:
- master
pull_request:
jobs:
run-e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make -f x.mk e2e-local NODES=2 JUNIT_DIRECTORY=./artifacts/
- name: Archive production artifacts # test results are only uploaded if ... | <|file_sep|>original/.github/workflows/e2e-tests.yml
name: e2e-tests
on:
push:
branches:
- master
pull_request:
jobs:
run-e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make -f x.mk e2e-local NODES=2 JUNIT_DIRECTORY=./artifacts/
- name: Archive prod... | 9cdc17cb5781940a259588f3e2f287fe8424502f | .github/workflows/e2e-tests.yml | .github/workflows/e2e-tests.yml | YAML |
<|file_sep|>original/src/legacy/templates/workEditT3.handlebars
</div>
<div id="timeseries"></div>
<div id="bulletins"></div>
<div id="articles"></div>
<div id="datasets"></div>
<div id="qmi"></div>
<div id="methodology"></div>
</div>
<nav class="e... | <div id="timeseries"></div>
<div id="bulletins"></div>
<div id="articles"></div>
<div id="datasets"></div>
<div id="qmi"></div>
<div id="methodology"></div>
<div id="highlighted-content"></div>
</div>
<nav class="edit-nav">
{{> editNav}}
... | <|file_sep|>original/src/legacy/templates/workEditT3.handlebars
</div>
<div id="timeseries"></div>
<div id="bulletins"></div>
<div id="articles"></div>
<div id="datasets"></div>
<div id="qmi"></div>
<div id="methodology"></div>
</div>
<nav class="e... | c154faae961c61220edda61f3e8603312a6dedfc | src/legacy/templates/workEditT3.handlebars | src/legacy/templates/workEditT3.handlebars | Handlebars |
<|file_sep|>original/src/statics.rs
use ghclient::GithubClient;
use std;
use std::env;
use std::path::Path;
use std::string::String;
use structs::Config;
lazy_static! {
static ref DEFAULT_CONF_PATH_STR:String = String::from("/etc/sectora.conf");
static ref CONF_PATH_STR:String = env::var("SECTORA_CONFIG").unwr... | use ghclient::GithubClient;
use std;
use std::env;
use std::path::Path;
use std::string::String;
use structs::Config;
lazy_static! {
static ref DEFAULT_CONF_PATH_STR:String = String::from("/etc/sectora.conf");
static ref CONF_PATH_STR:String = env::var("SECTORA_CONFIG").unwrap_or(DEFAULT_CONF_PATH_STR.clone())... | <|file_sep|>original/src/statics.rs
use ghclient::GithubClient;
use std;
use std::env;
use std::path::Path;
use std::string::String;
use structs::Config;
lazy_static! {
static ref DEFAULT_CONF_PATH_STR:String = String::from("/etc/sectora.conf");
static ref CONF_PATH_STR:String = env::var("SECTORA_CONFIG").unwr... | c0889d34de0fdfc2d203d67c98ce66616419adde | src/statics.rs | src/statics.rs | Rust |
<|file_sep|>original/build-ami.sh
#!/usr/bin/env bash -e
IMAGE_TAG=${IMAGE_TAG-latest}
docker pull registry.tld/conjur-appliance:${IMAGE_TAG}
imageid=$(docker images | grep -E "^registry.tld/conjur-appliance.*${IMAGE_TAG}" | awk '{print $3}')
docker save ${imageid} > conjur-appliance.tar
packer build packer.json
<|fi... | #!/bin/bash
set -e
IMAGE_TAG=${IMAGE_TAG-latest}
docker pull registry.tld/conjur-appliance:${IMAGE_TAG}
imageid=$(docker images | grep -E "^registry.tld/conjur-appliance.*${IMAGE_TAG}" | awk '{print $3}')
docker save ${imageid} > conjur-appliance.tar
packer build packer.json | <|file_sep|>original/build-ami.sh
#!/usr/bin/env bash -e
IMAGE_TAG=${IMAGE_TAG-latest}
docker pull registry.tld/conjur-appliance:${IMAGE_TAG}
imageid=$(docker images | grep -E "^registry.tld/conjur-appliance.*${IMAGE_TAG}" | awk '{print $3}')
docker save ${imageid} > conjur-appliance.tar
packer build packer.json
<|fi... | 8b19495a79bd6f61b507b9506821bd12019114a7 | build-ami.sh | build-ami.sh | Shell |
<|file_sep|>original/app/views/renalware/research/_alerts.html.slim
/ Note the caching here relies on study_participant edit/create/destroy touching patient
- cache(patient)
- participations = Renalware::Research::StudyParticipant.where(participant_id: patient.id).where("joined_on <= ?", Time.zone.now).where("left_on... | - participations = Renalware::Research::StudyParticipant.where(participant_id: patient.id).where("joined_on <= ?", Time.zone.now).where("left_on is null or left_on > ?", Time.zone.now)
= render partial: "renalware/research/alert",
collection: participations,
as: :participation | <|file_sep|>original/app/views/renalware/research/_alerts.html.slim
/ Note the caching here relies on study_participant edit/create/destroy touching patient
- cache(patient)
- participations = Renalware::Research::StudyParticipant.where(participant_id: patient.id).where("joined_on <= ?", Time.zone.now).where("left_on... | 473f309eb66e5af5525c900524a5f120f55f0477 | app/views/renalware/research/_alerts.html.slim | app/views/renalware/research/_alerts.html.slim | Slim |
<|file_sep|>README.md.diff
original:
updated:
<<<<<<< HEAD
<|file_sep|>original/README.md
# PrivacyMatters
A website about privacy in the digital world. Topics covered include the importance of privacy and cryptography.
<|file_sep|>current/README.md
# PrivacyMatters
<<<<<<< HEAD
A website about privacy in the digita... | # PrivacyMatters
<<<<<<< HEAD
A website about privacy in the digital world. Topics covered include the importance of privacy and cryptography.
=======
[](https://gitter.im/WorldOfWebsites/PrivacyMatters?utm_source=badge&utm_medium=badge&utm_campaign... | <|file_sep|>README.md.diff
original:
updated:
<<<<<<< HEAD
<|file_sep|>original/README.md
# PrivacyMatters
A website about privacy in the digital world. Topics covered include the importance of privacy and cryptography.
<|file_sep|>current/README.md
# PrivacyMatters
<<<<<<< HEAD
A website about privacy in the digita... | d2f57a2a60052fbdde516b4bd92a0b547d69c1d6 | README.md | README.md | Markdown |
<|file_sep|>pwnedcheck/__init__.py.diff
original:
req = urllib.Request(PWNED_API_URL % urllib.quote(email))
updated:
req = urllib2.Request(PWNED_API_URL % urllib.quote(email))
<|file_sep|>original/pwnedcheck/__init__.py
import urllib2
import json
PWNED_API_URL = "https://haveibeenpwned.com/api/breachedaccount... | import urllib2
import json
PWNED_API_URL = "https://haveibeenpwned.com/api/breachedaccount/%s"
class InvalidEmail(Exception):
pass
def check(email):
req = urllib2.Request(PWNED_API_URL % urllib.quote(email))
try:
resp = urllib2.urlopen(req)
return json.loads(resp.read())
except url... | <|file_sep|>pwnedcheck/__init__.py.diff
original:
req = urllib.Request(PWNED_API_URL % urllib.quote(email))
updated:
req = urllib2.Request(PWNED_API_URL % urllib.quote(email))
<|file_sep|>original/pwnedcheck/__init__.py
import urllib2
import json
PWNED_API_URL = "https://haveibeenpwned.com/api/breachedaccount... | 955d39c4ae1190b9bc4a0c7db9aa914a08acf8d5 | pwnedcheck/__init__.py | pwnedcheck/__init__.py | Python |
<|file_sep|>original/README.rst
Principles
----------
This is a JOSE implementation that is meant to be simple to use, both on
and off of AppEngine.
Thanks
------
This library is based heavily on the work of the guys over at
`PyJWT <https://github.com/jpadilla/pyjwt>`__.
.. |Build Status| image:: https://travis-... |
Principles
----------
This is a JOSE implementation that is meant to be simple to use, both on
and off of AppEngine.
Thanks
------
This library is based heavily on the work of the guys over at
`PyJWT <https://github.com/jpadilla/pyjwt>`__.
.. |Build Status| image:: https://travis-ci.org/mpdavis/python-jose.svg?b... | <|file_sep|>original/README.rst
Principles
----------
This is a JOSE implementation that is meant to be simple to use, both on
and off of AppEngine.
Thanks
------
This library is based heavily on the work of the guys over at
`PyJWT <https://github.com/jpadilla/pyjwt>`__.
.. |Build Status| image:: https://travis-... | ce1bf75f73954e472fa10bc9d1fb082d6dd02c3b | README.rst | README.rst | reStructuredText |
<|file_sep|>graf2d/graf/CMakeLists.txt.diff
original:
if(WIN32)
set(mathtextlib ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libmathtext.lib)
else()
set(mathtextlib ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libmathtext.a)
endif()
updated:
<|file_sep|>original/graf2d/graf/CMakeLists.txt
############################################... | ############################################################################
set(libname Graf)
ROOT_USE_PACKAGE(core)
ROOT_USE_PACKAGE(math/matrix)
ROOT_USE_PACKAGE(io/io)
ROOT_USE_PACKAGE(graf2d/mathtext)
include_directories(${CMAKE_SOURCE_DIR}/hist/hist/inc) # This is to avoid a circular dependency graf <--> hist
... | <|file_sep|>graf2d/graf/CMakeLists.txt.diff
original:
if(WIN32)
set(mathtextlib ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libmathtext.lib)
else()
set(mathtextlib ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libmathtext.a)
endif()
updated:
<|file_sep|>original/graf2d/graf/CMakeLists.txt
############################################... | 4322e295c6524a32cff69502fb1d3304a019611f | graf2d/graf/CMakeLists.txt | graf2d/graf/CMakeLists.txt | Text |
<|file_sep|>original/Source/server/config/environment/development.js
'use strict';
// Development specific configuration
// ==================================
module.exports = {
// MongoDB connection options
mongo: {
uri: 'mongodb://127.0.0.1/medcheck-dev'
},
seedDB: true
};
<|file_sep|>current/Source/ser... | 'use strict';
// Development specific configuration
// ==================================
module.exports = {
// MongoDB connection options
mongo: {
uri: "mongodb://" + process.env.DB_PORT_27017_TCP_ADDR + ":" + process.env.DB_PORT_27017_TCP_PORT + "/test"
},
seedDB: true
}; | <|file_sep|>original/Source/server/config/environment/development.js
'use strict';
// Development specific configuration
// ==================================
module.exports = {
// MongoDB connection options
mongo: {
uri: 'mongodb://127.0.0.1/medcheck-dev'
},
seedDB: true
};
<|file_sep|>current/Source/ser... | cd169317083d6f4d9892ec2140ae6a4c18629b9a | Source/server/config/environment/development.js | Source/server/config/environment/development.js | JavaScript |
<|file_sep|>original/kolibri/__init__.py
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from .utils.version import get_version
#: This may not be the exact version as it's subject to modification with
#: get_version() - use ``kolibri.__version__`` ... | from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from .utils.version import get_version
#: This may not be the exact version as it's subject to modification with
#: get_version() - use ``kolibri.__version__`` for the exact version string.
VERSION = (... | <|file_sep|>original/kolibri/__init__.py
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from .utils.version import get_version
#: This may not be the exact version as it's subject to modification with
#: get_version() - use ``kolibri.__version__`` ... | 760ca4809259df4cf24d77385f35bf41ec1c5383 | kolibri/__init__.py | kolibri/__init__.py | Python |
<|file_sep|>metadata/com.github.yeriomin.smsscheduler.txt.diff
original:
updated:
Build:0.5,5
commit=v0.5
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.github.yeriomin.smsscheduler.txt
gradle=yes
Build:0.2,2
commit=v0.2
subdir=app
gradle=yes
Build:0.3,3
commit=v0.3
subd... | gradle=yes
Build:0.3,3
commit=v0.3
subdir=app
gradle=yes
Build:0.4,4
commit=v0.4
subdir=app
gradle=yes
Build:0.5,5
commit=v0.5
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:0.5
Current Version Code:5 | <|file_sep|>metadata/com.github.yeriomin.smsscheduler.txt.diff
original:
updated:
Build:0.5,5
commit=v0.5
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.github.yeriomin.smsscheduler.txt
gradle=yes
Build:0.2,2
commit=v0.2
subdir=app
gradle=yes
Build:0.3,3
commit=v0.3
subd... | 2539bc87bfdd61736f30d863d13cee43e5ee2693 | metadata/com.github.yeriomin.smsscheduler.txt | metadata/com.github.yeriomin.smsscheduler.txt | Text |
<|file_sep|>original/include/linux/ds1742rtc.h
<|file_sep|>current/include/linux/ds1742rtc.h
<|file_sep|>updated/include/linux/ds1742rtc.h | /*
* ds1742rtc.h - register definitions for the Real-Time-Clock / CMOS RAM
*
* Copyright (C) 1999-2001 Toshiba Corporation
* Copyright (C) 2003 Ralf Baechle (ralf@linux-mips.org)
*
* Permission is hereby granted to copy, modify and redistribute this code
* in terms of the GNU Library General Public License, Vers... | <|file_sep|>original/include/linux/ds1742rtc.h
<|file_sep|>current/include/linux/ds1742rtc.h
<|file_sep|>updated/include/linux/ds1742rtc.h
/*
* ds1742rtc.h - register definitions for the Real-Time-Clock / CMOS RAM
*
* Copyright (C) 1999-2001 Toshiba Corporation
* Copyright (C) 2003 Ralf Baechle (ralf@linux-mips.o... | cd017fbdd33f2d8294b0e0324faa1dc7750b4af0 | include/linux/ds1742rtc.h | include/linux/ds1742rtc.h | C |
<|file_sep|>original/requirements.txt
numpy==1.10.4
matplotlib==1.5.1
basemap==1.0.7
scipy==0.17.0
geojson==1.3.2
git+https://github.com/bartromgens/geojsoncontour.git@v0.1b1#egg=geojsoncontour
<|file_sep|>current/requirements.txt
numpy==1.10.4
matplotlib==1.5.1
basemap==1.0.7
scipy==0.17.0
geojson==1.3.2
git+https://g... | numpy==1.10.4
matplotlib==1.5.1
basemap==1.0.7
scipy==0.17.0
geojson==1.3.2
togeojsontiles==0.1.2
geojsoncontour==0.1.1
#git+https://github.com/bartromgens/geojsoncontour.git@master#egg=geojsoncontour | <|file_sep|>original/requirements.txt
numpy==1.10.4
matplotlib==1.5.1
basemap==1.0.7
scipy==0.17.0
geojson==1.3.2
git+https://github.com/bartromgens/geojsoncontour.git@v0.1b1#egg=geojsoncontour
<|file_sep|>current/requirements.txt
numpy==1.10.4
matplotlib==1.5.1
basemap==1.0.7
scipy==0.17.0
geojson==1.3.2
git+https://g... | 82fd1683a658991b6c6ad0222c2108bb0e183c81 | requirements.txt | requirements.txt | Text |
<|file_sep|>_posts/2016-02-10-traveling-morocco.md.diff
original:
file: traveling-morocco.md
title: |
project: |
keywords: |
author: rguerra
date: 2016-02-10 18:17
output: html_document
updated:
layout: post
title: Traveling To Morocco from Madrid
<|file_sep|>original/_posts/2016-02-10-... | ---
layout: post
title: Traveling To Morocco from Madrid
---
# Getting There
| <|file_sep|>_posts/2016-02-10-traveling-morocco.md.diff
original:
file: traveling-morocco.md
title: |
project: |
keywords: |
author: rguerra
date: 2016-02-10 18:17
output: html_document
updated:
layout: post
title: Traveling To Morocco from Madrid
<|file_sep|>original/_posts/2016-02-10-... | ade7e845898910f69ad04bac9a2c9dad87911495 | _posts/2016-02-10-traveling-morocco.md | _posts/2016-02-10-traveling-morocco.md | Markdown |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "es2015",
"target": "es2015",
"outDir": "es2015",
"lib": ["dom", "es2015", "es2016", "es2017"],
"sourceMap": true,
"declaration": true,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny":... | {
"compilerOptions": {
"module": "es2015",
"target": "es2015",
"outDir": "es2015",
"lib": ["dom", "es2015", "es2016", "es2017"],
"moduleResolution": "node",
"sourceMap": true,
"declaration": true,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": tr... | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "es2015",
"target": "es2015",
"outDir": "es2015",
"lib": ["dom", "es2015", "es2016", "es2017"],
"sourceMap": true,
"declaration": true,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny":... | 7b901d9c4fd08363088f1e1d9d349145f1db5f33 | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/vscode/settings.json
"**/target": true,
"build/": true,
"build-output": true,
"flow-typed/": true,
"result/": true
},
//Pretty much always want eslint enabled
"eslint.enable": true,
"eslint.run": "onSave",
"gitlens.advanced.telemetry.ena... | "build/": true,
"build-output": true,
"flow-typed/": true,
"result/": true
},
//Pretty much always want eslint enabled
"eslint.enable": true,
"eslint.run": "onSave",
"gitlens.advanced.telemetry.enabled": false,
"gitlens.blame.highlight.enabled": false,
"gitl... | <|file_sep|>original/vscode/settings.json
"**/target": true,
"build/": true,
"build-output": true,
"flow-typed/": true,
"result/": true
},
//Pretty much always want eslint enabled
"eslint.enable": true,
"eslint.run": "onSave",
"gitlens.advanced.telemetry.ena... | cb8bfdd748ffe5ad5fab20673ba0449affb9a703 | vscode/settings.json | vscode/settings.json | JSON |
<|file_sep|>original/upload-bintray.sh
<|file_sep|>current/upload-bintray.sh
<|file_sep|>updated/upload-bintray.sh | #!/usr/bin/env bash
set -e
export pvd_version=$(cat pom.xml | grep '^ <version>' | sed 's: *[<][/]\?version[>]::g')
echo "This will upload packages to bintray:"
echo
echo providence-tools/target/providence-${pvd_version}_all.deb
echo providence-tools/target/providence-tools-${pvd_version}.tar.gz
echo providence-t... | <|file_sep|>original/upload-bintray.sh
<|file_sep|>current/upload-bintray.sh
<|file_sep|>updated/upload-bintray.sh
#!/usr/bin/env bash
set -e
export pvd_version=$(cat pom.xml | grep '^ <version>' | sed 's: *[<][/]\?version[>]::g')
echo "This will upload packages to bintray:"
echo
echo providence-tools/target/pr... | 1bb4ff7701937ccbfd1e363d6ebe70d6904cde84 | upload-bintray.sh | upload-bintray.sh | Shell |
<|file_sep|>original/_posts/2017-01-16-learning-react-first-impressions.markdown
<|file_sep|>current/_posts/2017-01-16-learning-react-first-impressions.markdown
<|file_sep|>updated/_posts/2017-01-16-learning-react-first-impressions.markdown | ---
layout: post
title: "Learning React - First Impressions"
categories:
---
I found the AngularJS lessons from the FlatIron School pretty interesting when I was moving through the coursework. After doing some research and talking with other developers, it seemed the two big front end technologies were Angular and Rea... | <|file_sep|>original/_posts/2017-01-16-learning-react-first-impressions.markdown
<|file_sep|>current/_posts/2017-01-16-learning-react-first-impressions.markdown
<|file_sep|>updated/_posts/2017-01-16-learning-react-first-impressions.markdown
---
layout: post
title: "Learning React - First Impressions"
categories:
---... | 8c36029bc44d55951d39c81b79f19cad1f5697a9 | _posts/2017-01-16-learning-react-first-impressions.markdown | _posts/2017-01-16-learning-react-first-impressions.markdown | Markdown |
<|file_sep|>src/it/ic.go.diff
original:
updated:
defer output.Close()
<|file_sep|>original/src/it/ic.go
directory = path.Dir(input)
}
//Open the output file with the file type replaced to .u
var filename = path.Base(input)[:len(path.Base(input))-2]+".u"
if output, err := os.Create(directory+"/"+filename); ... |
//Open the output file with the file type replaced to .u
var filename = path.Base(input)[:len(path.Base(input))-2]+".u"
if output, err := os.Create(directory+"/"+filename); err != nil {
ic.RaiseError("Could not create output file!", err.Error())
} else {
ic.Output = output
defer output.Close()
}
if ... | <|file_sep|>src/it/ic.go.diff
original:
updated:
defer output.Close()
<|file_sep|>original/src/it/ic.go
directory = path.Dir(input)
}
//Open the output file with the file type replaced to .u
var filename = path.Base(input)[:len(path.Base(input))-2]+".u"
if output, err := os.Create(directory+"/"+filename); ... | 93212deb9715a8e54a8a5ea821dcee6c27d33d6b | src/it/ic.go | src/it/ic.go | Go |
<|file_sep|>www/js/BeerTapEmbed.js.diff
original:
define(['TwitterProxy', 'ListView', 'ListPresenter', 'TapsModel'],
function (TwitterProxy, ListView, ListPresenter, TapsModel) {
updated:
define(['Twitter', 'ListView', 'ListPresenter', 'TapsModel', 'Utility'],
function (Twitter, ListView, ListPresenter, TapsModel, Util... | define(['Twitter', 'ListView', 'ListPresenter', 'TapsModel', 'Utility'],
function (Twitter, ListView, ListPresenter, TapsModel, Utility) {
function BeerTapEmbed(twitterScreenName, parent)
{
var twitterProxyUrl = Utility.changeRelativePath(window.location.href, 'twitter');
var twitterProxy = Uti... | <|file_sep|>www/js/BeerTapEmbed.js.diff
original:
define(['TwitterProxy', 'ListView', 'ListPresenter', 'TapsModel'],
function (TwitterProxy, ListView, ListPresenter, TapsModel) {
updated:
define(['Twitter', 'ListView', 'ListPresenter', 'TapsModel', 'Utility'],
function (Twitter, ListView, ListPresenter, TapsModel, Util... | 599dc54d86deb9f92945eb17c19dabaee5f6e483 | www/js/BeerTapEmbed.js | www/js/BeerTapEmbed.js | JavaScript |
<|file_sep|>README.md.diff
original:
A gem containing the shared models for the old GOV.UK publishing applications:
updated:
A gem containing the shared models for the old GOV.UK [Publisher][publisher] application.
<|file_sep|>original/README.md
# GOV.UK Content Models
A gem containing the shared models for the old GO... | # GOV.UK Content Models
A gem containing the shared models for the old GOV.UK [Publisher][publisher] application.
[Publisher]: https://github.com/alphagov/publisher | <|file_sep|>README.md.diff
original:
A gem containing the shared models for the old GOV.UK publishing applications:
updated:
A gem containing the shared models for the old GOV.UK [Publisher][publisher] application.
<|file_sep|>original/README.md
# GOV.UK Content Models
A gem containing the shared models for the old GO... | 898428b78b1dd54c47c78fc43376a7225a5b90b4 | README.md | README.md | Markdown |
<|file_sep|>original/circle.yml
test:
override:
- set -o pipefail &&
xcodebuild
-sdk iphonesimulator
-workspace ios-sdk.xcworkspace
-scheme "ios-sdk"
-destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'
MAPZEN_API_KEY=$MAPZEN_API_KEY
HOCKEY_APP_ID=$HO... | test:
override:
- set -o pipefail &&
xcodebuild
-sdk iphonesimulator
-workspace ios-sdk.xcworkspace
-scheme "ios-sdk"
-destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'
MAPZEN_API_KEY=$MAPZEN_API_KEY
HOCKEY_APP_ID=$HOCKEY_APP_ID
clean build ... | <|file_sep|>original/circle.yml
test:
override:
- set -o pipefail &&
xcodebuild
-sdk iphonesimulator
-workspace ios-sdk.xcworkspace
-scheme "ios-sdk"
-destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'
MAPZEN_API_KEY=$MAPZEN_API_KEY
HOCKEY_APP_ID=$HO... | 830701b5f06242552d616edc72dad1610e9bdcda | circle.yml | circle.yml | YAML |
<|file_sep|>original/.travis/publish.sh
#!/usr/bin/env sh
# CI publish script
export DITA_HOME=$PWD/dita-ot-$DITA_OT_VERSION
export SITE_DIR=$PWD/dita-ot.github.io
# run site generation into
gradle -b site.gradle -Ddita.home=$DITA_HOME -Doutput.dir=$SITE_DIR/dev --info --stacktrace --no-daemon
<|file_sep|>current/.... | #!/usr/bin/env sh
# CI publish script
export DITA_HOME=$PWD/dita-ot-$DITA_OT_VERSION
export SITE_DIR=$PWD/dita-ot.github.io
# run site generation into
./gradlew -b site.gradle -Ddita.home=$DITA_HOME -Doutput.dir=$SITE_DIR/dev --info --stacktrace --no-daemon | <|file_sep|>original/.travis/publish.sh
#!/usr/bin/env sh
# CI publish script
export DITA_HOME=$PWD/dita-ot-$DITA_OT_VERSION
export SITE_DIR=$PWD/dita-ot.github.io
# run site generation into
gradle -b site.gradle -Ddita.home=$DITA_HOME -Doutput.dir=$SITE_DIR/dev --info --stacktrace --no-daemon
<|file_sep|>current/.... | 710933b161de499da815f3a7488381f3a888547b | .travis/publish.sh | .travis/publish.sh | Shell |
<|file_sep|>original/recipes-support/swupdate/swupdate_git.bb
require swupdate.inc
DEFAULT_PREFERENCE = "-1"
<|file_sep|>current/recipes-support/swupdate/swupdate_git.bb
require swupdate.inc
DEFAULT_PREFERENCE = "-1"
<|file_sep|>updated/recipes-support/swupdate/swupdate_git.bb | require swupdate.inc
DEFAULT_PREFERENCE = "-1"
do_compile() {
unset LDFLAGS
oe_runmake
cp swupdate_unstripped swupdate
cp tools/progress_unstripped progress
} | <|file_sep|>original/recipes-support/swupdate/swupdate_git.bb
require swupdate.inc
DEFAULT_PREFERENCE = "-1"
<|file_sep|>current/recipes-support/swupdate/swupdate_git.bb
require swupdate.inc
DEFAULT_PREFERENCE = "-1"
<|file_sep|>updated/recipes-support/swupdate/swupdate_git.bb
require swupdate.inc
DEFAULT_PREFERENCE... | 6e2f4db7a36ce99205062e3fb92193c24df0e9e1 | recipes-support/swupdate/swupdate_git.bb | recipes-support/swupdate/swupdate_git.bb | BitBake |
<|file_sep|>original/test/integration/tests/796-ghc-options/files/stack.yaml
resolver: ghc-7
ghc-options:
"*": -DFOO
ghc-options: -DBAR
text: -DBAZ
<|file_sep|>current/test/integration/tests/796-ghc-options/files/stack.yaml
resolver: ghc-7
ghc-options:
"*": -DFOO
ghc-options: -DBAR
text: -DBAZ
<... | resolver: ghc-7.10
ghc-options:
"*": -DFOO
ghc-options: -DBAR
text: -DBAZ | <|file_sep|>original/test/integration/tests/796-ghc-options/files/stack.yaml
resolver: ghc-7
ghc-options:
"*": -DFOO
ghc-options: -DBAR
text: -DBAZ
<|file_sep|>current/test/integration/tests/796-ghc-options/files/stack.yaml
resolver: ghc-7
ghc-options:
"*": -DFOO
ghc-options: -DBAR
text: -DBAZ
<... | 40429908679674023a2f900ebbe2e4d56daea5b9 | test/integration/tests/796-ghc-options/files/stack.yaml | test/integration/tests/796-ghc-options/files/stack.yaml | YAML |
<|file_sep|>original/app/inputs/belongs_to_token_input.rb
class BelongsToTokenInput < Formtastic::Inputs::StringInput
def input_html_options
super.merge(
"data-token-limit" => 1,
"class" => "active-admin-tokeninput",
"data-field-name" => "#{object_name.to_s.try(:underscore)}[#{method.to_s.singularize}_id]"... | class BelongsToTokenInput < Formtastic::Inputs::StringInput
def input_html_options
super.merge(
"data-token-limit" => 1,
"class" => "active-admin-tokeninput",
"data-field-name" => "#{object_name.to_s.underscore}[#{method.to_s.singularize}_id]",
"data-pre" => "[#{object.send("#{method}").to_json(:only =>... | <|file_sep|>original/app/inputs/belongs_to_token_input.rb
class BelongsToTokenInput < Formtastic::Inputs::StringInput
def input_html_options
super.merge(
"data-token-limit" => 1,
"class" => "active-admin-tokeninput",
"data-field-name" => "#{object_name.to_s.try(:underscore)}[#{method.to_s.singularize}_id]"... | 8d3d78f7a79f461146726f5c612cc43399a3c194 | app/inputs/belongs_to_token_input.rb | app/inputs/belongs_to_token_input.rb | Ruby |
<|file_sep|>radio/templatetags/radio_js_config.py.diff
original:
updated:
from radio.models import SiteOption
<|file_sep|>original/radio/templatetags/radio_js_config.py
from django import template
from django.conf import settings
register = template.Library()
# Build json value to pass as js config
@register.simple... |
register = template.Library()
# Build json value to pass as js config
@register.simple_tag()
def trunkplayer_js_config(user):
js_settings = getattr(settings, 'JS_SETTINGS', None)
js_json = {}
if js_settings:
for setting in js_settings:
set_val = getattr(settings, setting, '')
... | <|file_sep|>radio/templatetags/radio_js_config.py.diff
original:
updated:
from radio.models import SiteOption
<|file_sep|>original/radio/templatetags/radio_js_config.py
from django import template
from django.conf import settings
register = template.Library()
# Build json value to pass as js config
@register.simple... | d4d448adff71b609d5efb269d1a9a2ea4aba3590 | radio/templatetags/radio_js_config.py | radio/templatetags/radio_js_config.py | Python |
<|file_sep|>original/setup.sh
if test ! "$(which brew)"; then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
brew update
fi
echo "Checking for Ansible..."
if test ! "$(which ansible)"; then
echo "Installing ansible..."
brew install... | else
brew update
fi
echo "Checking for Ansible..."
if test ! "$(which ansible)"; then
echo "Installing ansible..."
brew install ansible
else
brew upgrade ansible > /dev/null 2>&1
fi
# Print Python and Ansible versions
# python --version
# ansible --version
echo "Running Ansible playbook..."
ansible-playbook ... | <|file_sep|>original/setup.sh
if test ! "$(which brew)"; then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
brew update
fi
echo "Checking for Ansible..."
if test ! "$(which ansible)"; then
echo "Installing ansible..."
brew install... | 7e6c9dbe3525e0da8176b2c18032813bfdb2a32a | setup.sh | setup.sh | Shell |
<|file_sep|>original/Photon-Tinker/Global/Controls/DeviceTypeLabel.swift
self.textColor = type.getIconColor()
self.layer.borderColor = type.getIconColor().cgColor
self.text = type.description
}
func internalSetup() {
self.layer.cornerRadius = 12
self.layer.masksToBounds... |
self.textColor = type.getIconColor()
self.layer.borderColor = type.getIconColor().cgColor
self.text = type.description
}
func internalSetup() {
self.layer.cornerRadius = 12
self.layer.masksToBounds = true
self.layer.borderWidth = 1
self.textAlignment = .... | <|file_sep|>original/Photon-Tinker/Global/Controls/DeviceTypeLabel.swift
self.textColor = type.getIconColor()
self.layer.borderColor = type.getIconColor().cgColor
self.text = type.description
}
func internalSetup() {
self.layer.cornerRadius = 12
self.layer.masksToBounds... | e228bf4e0c2eabc35c488a508d20ec2e2c4a88d7 | Photon-Tinker/Global/Controls/DeviceTypeLabel.swift | Photon-Tinker/Global/Controls/DeviceTypeLabel.swift | Swift |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.8
- 1.9
install:
- bash build.sh
script:
- bash build.sh
<|file_sep|>current/.travis.yml
language: go
go:
- 1.8
- 1.9
install:
- bash build.sh
script:
- bash build.sh
<|file_sep|>updated/.travis.yml | language: go
go:
- 1.8.x
- 1.9.x
- 1.10.x
install:
- bash build.sh
script:
- bash build.sh | <|file_sep|>original/.travis.yml
language: go
go:
- 1.8
- 1.9
install:
- bash build.sh
script:
- bash build.sh
<|file_sep|>current/.travis.yml
language: go
go:
- 1.8
- 1.9
install:
- bash build.sh
script:
- bash build.sh
<|file_sep|>updated/.travis.yml
language: go
go:
- 1.8.x
- 1.9.x
- 1.10.x
install:
- bash build.sh
... | 42cfa7b92209964085cb315ab63d951c4bd0ca71 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.vscode/launch.json
<|file_sep|>current/.vscode/launch.json
<|file_sep|>updated/.vscode/launch.json | {
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"program": "${workspaceRoot}/main.js"
}
]
} | <|file_sep|>original/.vscode/launch.json
<|file_sep|>current/.vscode/launch.json
<|file_sep|>updated/.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": ... | bac45b9e1f4534b2d62d3d07239c1684bdeac085 | .vscode/launch.json | .vscode/launch.json | JSON |
<|file_sep|>original/src/k98kurz/Pdf/PdfServiceProvider.php
*/
protected $defer = false;
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app['pdf'] = $this->app->share(function($app)
{
return new Pdf;
});
}
/**
* Get the services provided by the ... | */
protected $defer = false;
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app->singleton('pdf', function($app)
{
return new Pdf;
});
}
/**
* Get the services provided by the provider.
*
* @return array
*/ | <|file_sep|>original/src/k98kurz/Pdf/PdfServiceProvider.php
*/
protected $defer = false;
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app['pdf'] = $this->app->share(function($app)
{
return new Pdf;
});
}
/**
* Get the services provided by the ... | 46707c7b6472df96c997a18ec8b668d6107b965a | src/k98kurz/Pdf/PdfServiceProvider.php | src/k98kurz/Pdf/PdfServiceProvider.php | PHP |
<|file_sep|>original/clang-rename/CMakeLists.txt
set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangRename
USRFinder.cpp
USRFindingAction.cpp
USRLocFinder.cpp
RenamingAction.cpp
LINK_LIBS
clangAST
clangBasic
clangIndex
clangToolingCore
)
add_subdirectory(tool)
<|file_sep|>current/clang-rena... | set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangRename
USRFinder.cpp
USRFindingAction.cpp
USRLocFinder.cpp
RenamingAction.cpp
LINK_LIBS
clangAST
clangBasic
clangIndex
clangLex
clangToolingCore
)
add_subdirectory(tool) | <|file_sep|>original/clang-rename/CMakeLists.txt
set(LLVM_LINK_COMPONENTS support)
add_clang_library(clangRename
USRFinder.cpp
USRFindingAction.cpp
USRLocFinder.cpp
RenamingAction.cpp
LINK_LIBS
clangAST
clangBasic
clangIndex
clangToolingCore
)
add_subdirectory(tool)
<|file_sep|>current/clang-rena... | 42d13822837bf6e4b5b78eb62d5854ee8635d219 | clang-rename/CMakeLists.txt | clang-rename/CMakeLists.txt | Text |
<|file_sep|>original/src/app/shared/services/auth.service.ts
}
async loggedIn() {
const token = localStorage.getItem('id_token');
if (token != null) {
const expired = this.helper.decodeToken(token).expires;
const isNotExpired = new Date().getMilliseconds() < expired;
... | }
async loggedIn() {
const token = localStorage.getItem('id_token');
if (token != null) {
const expired = this.helper.decodeToken(token).expires;
const isNotExpired = new Date().getMilliseconds() < expired;
let profile = this.profileService.getProfileFromLoca... | <|file_sep|>original/src/app/shared/services/auth.service.ts
}
async loggedIn() {
const token = localStorage.getItem('id_token');
if (token != null) {
const expired = this.helper.decodeToken(token).expires;
const isNotExpired = new Date().getMilliseconds() < expired;
... | 9071ad4dcd5835dd550aaa4af23faea0b95c02cd | src/app/shared/services/auth.service.ts | src/app/shared/services/auth.service.ts | TypeScript |
<|file_sep|>.gitlab-ci.yml.diff
original:
- docker build --pull -t $REGISTRY/php:$CI_JOB_NAME $CI_JOB_NAME/ >> /dev/null
- docker push $REGISTRY/php:$CI_JOB_NAME > /dev/null
- docker tag $REGISTRY/php:$CI_JOB_NAME $NAMESPACE/php:$CI_JOB_NAME > /dev/null
- docker push $NAMESPACE/php:$CI_JOB_NAME > /dev/n... | - docker tag $REGISTRY/php:${CI_JOB_NAME:1} $NAMESPACE/php:${CI_JOB_NAME:1} > /dev/null
- docker push $NAMESPACE/php:${CI_JOB_NAME:1} > /dev/null
- |
if [[ "$CI_BUILD_REF_NAME" = "master" ]]; then
docker tag $REGISTRY/php:${CI_JOB_NAME:1} $CI_REGISTRY_IMAGE:${CI_JOB_NAME:1} > /dev/null
... | <|file_sep|>.gitlab-ci.yml.diff
original:
- docker build --pull -t $REGISTRY/php:$CI_JOB_NAME $CI_JOB_NAME/ >> /dev/null
- docker push $REGISTRY/php:$CI_JOB_NAME > /dev/null
- docker tag $REGISTRY/php:$CI_JOB_NAME $NAMESPACE/php:$CI_JOB_NAME > /dev/null
- docker push $NAMESPACE/php:$CI_JOB_NAME > /dev/n... | baf3c7c2aebb3dc249cdfb8e8f2e50c427c9e025 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>scripts/build.sh.diff
original:
updated:
MAIN_GOPATH=${GOPATH%%:*}
<|file_sep|>original/scripts/build.sh
# Delete the old dir
echo "==> Removing old directory..."
rm -f bin/*
rm -rf pkg/*
mkdir -p bin
TARGETS=${TARGETS:-linux/amd64 darwin/amd64}
# If its dev mode, only build for ourself
if [[ ! -z "${DELM... | rm -f bin/*
rm -rf pkg/*
mkdir -p bin
TARGETS=${TARGETS:-linux/amd64 darwin/amd64}
# If its dev mode, only build for ourself
if [[ ! -z "${DELMO_DEV}" ]]; then
TARGETS=$(go env GOOS)/$(go env GOARCH)
fi
# Build!
echo "==> Building..."
gox -osarch="${TARGETS}" --output="pkg/${BINARY}-{{.OS}}-{{.Arch}}" -ldflags="-X... | <|file_sep|>scripts/build.sh.diff
original:
updated:
MAIN_GOPATH=${GOPATH%%:*}
<|file_sep|>original/scripts/build.sh
# Delete the old dir
echo "==> Removing old directory..."
rm -f bin/*
rm -rf pkg/*
mkdir -p bin
TARGETS=${TARGETS:-linux/amd64 darwin/amd64}
# If its dev mode, only build for ourself
if [[ ! -z "${DELM... | 06bcfd40a5318f33b78391e54b84e474ab562aff | scripts/build.sh | scripts/build.sh | Shell |
<|file_sep|>original/config/run-galaxy.sh
RUN_CONDOR=$?
ARGS=`echo "$@" | sed 's/--run-condor//'`
JOB_CONF_XML_SAMPLE=./config/job_conf.xml.sample_basic
if [ $RUN_CONDOR -eq 0 ]; then
JOB_CONF_XML_SAMPLE=./config/job_conf.xml.sample_condor
/etc/init.d/condor start
fi
sudo -u $GALAXY_USER -i <<EOF
env
cp $JOB... | RUN_CONDOR=$?
ARGS=`echo "$@" | sed 's/--run-condor//'`
JOB_CONF_XML_SAMPLE=./config/job_conf.xml.sample_basic
if [ $RUN_CONDOR -eq 0 ]; then
JOB_CONF_XML_SAMPLE=./config/job_conf.xml.sample_condor
/etc/init.d/condor start
fi
su -m -l $GALAXY_USER <<EOF
env
cp $JOB_CONF_XML_SAMPLE ./config/job_conf.xml
if [... | <|file_sep|>original/config/run-galaxy.sh
RUN_CONDOR=$?
ARGS=`echo "$@" | sed 's/--run-condor//'`
JOB_CONF_XML_SAMPLE=./config/job_conf.xml.sample_basic
if [ $RUN_CONDOR -eq 0 ]; then
JOB_CONF_XML_SAMPLE=./config/job_conf.xml.sample_condor
/etc/init.d/condor start
fi
sudo -u $GALAXY_USER -i <<EOF
env
cp $JOB... | 7cbb0516743b9ce22f48de4415c9ddad63c5047d | config/run-galaxy.sh | config/run-galaxy.sh | Shell |
<|file_sep|>original/application/views/irc/index.php
<h2>#Laravel IRC Chat</h2>
<iframe src="https://kiwiirc.com/client/irc.freenode.net/?&theme=basic#laravel" style="border:0; width:100%; height:450px;"></iframe>
<a href="http://irclogs.laravel.io" target="_NEW">Search the chat logs</a> to see if your question has a... | <h2>#Laravel IRC Chat</h2>
<iframe src="https://kiwiirc.com/client/irc.freenode.net/?&theme=basic#laravel" style="border:0; width:100%; height:450px;"></iframe>
<a href="http://irclogs.laravel.io" target="_NEW">Search the chat logs</a> to see if your question has already been answered. You can use your own IRC client... | <|file_sep|>original/application/views/irc/index.php
<h2>#Laravel IRC Chat</h2>
<iframe src="https://kiwiirc.com/client/irc.freenode.net/?&theme=basic#laravel" style="border:0; width:100%; height:450px;"></iframe>
<a href="http://irclogs.laravel.io" target="_NEW">Search the chat logs</a> to see if your question has a... | a5488b1d8b465c4a850e2fc8eb8e29ff70060335 | application/views/irc/index.php | application/views/irc/index.php | PHP |
<|file_sep|>original/src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java
<|file_sep|>current/src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java
<|file_sep|>updated/src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | <|file_sep|>original/src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java
<|file_sep|>current/src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java
<|file_sep|>updated/src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java
/*
* Licensed to the Apache Software Fou... | 08bfd445e88464a0d1b3de1f01f0f5903be2118f | src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java | src/test/java/org/apache/commons/codec/digest/XXHash32OverflowTest.java | Java |
<|file_sep|>original/src/gcprof.erl
start() -> application:start(gcprof).
stop() -> application:stop(gcprof).
%% @doc: Starts tracing garbage collections in the given
%% process. Note: gen_server:cast is used, so at some point in the
%% future, tracing *might* start.
trace(Pid, IdentityF) ->
gen_server:cast(gcpro... | -export([trace/2, trace_me/1, sample_me/2]).
start() -> application:start(gcprof).
stop() -> application:stop(gcprof).
%% @doc: Starts tracing garbage collections in the given
%% process. Note: gen_server:cast is used, so at some point in the
%% future, tracing *might* start.
trace(Pid, IdentityF) ->
gen_server:... | <|file_sep|>original/src/gcprof.erl
start() -> application:start(gcprof).
stop() -> application:stop(gcprof).
%% @doc: Starts tracing garbage collections in the given
%% process. Note: gen_server:cast is used, so at some point in the
%% future, tracing *might* start.
trace(Pid, IdentityF) ->
gen_server:cast(gcpro... | 71017166b8345d2a7643000519879c23dbde43a6 | src/gcprof.erl | src/gcprof.erl | Erlang |
<|file_sep|>webapp_tests.py.diff
original:
updated:
<|file_sep|>original/webapp_tests.py
#!/usr/bin/env python
import os
import webapp
import unittest
class WebappTestExtractingServiceDomainsFromLinks(unittest.TestCase):
#def setUp(self):
# self.app = webapp.app.test_client()
def test_extract_servic... | def test_extract_service_domain_from_link(self):
status, domain = webapp.extract_service_domain_from_link('https://foo.service.gov.uk/blah')
assert True == status
assert "foo.service.gov.uk" == domain
def test_extract_nonservice_domain_from_link(self):
status, domain = webapp.e... | <|file_sep|>webapp_tests.py.diff
original:
updated:
<|file_sep|>original/webapp_tests.py
#!/usr/bin/env python
import os
import webapp
import unittest
class WebappTestExtractingServiceDomainsFromLinks(unittest.TestCase):
#def setUp(self):
# self.app = webapp.app.test_client()
def test_extract_servic... | 6cf42d661facf1c11de545959b91c073709eac8e | webapp_tests.py | webapp_tests.py | Python |
<|file_sep|>CHANGES.md.diff
original:
## 0.6.1 (pending release)
updated:
## 0.6.1
<|file_sep|>CHANGES.md.diff
original:
- Record user and host information per run
updated:
- Windows support for Python 3.5, 3.6, 3.7
<|file_sep|>original/CHANGES.md
# Changes
## 0.6.1 (pending release)
### Enhancements
- Record user a... | # Changes
## 0.6.1
### Enhancements
- Windows support for Python 3.5, 3.6, 3.7
### Fixes
- Fix import of boolean flags on Python 3 (report by @OliverRichter)
- Skip all dot directories during source snapshots
- Skip archive diretories during source snapshots
## 0.6.0
This is the baseline release of Guild AI.
Ma... | <|file_sep|>CHANGES.md.diff
original:
## 0.6.1 (pending release)
updated:
## 0.6.1
<|file_sep|>CHANGES.md.diff
original:
- Record user and host information per run
updated:
- Windows support for Python 3.5, 3.6, 3.7
<|file_sep|>original/CHANGES.md
# Changes
## 0.6.1 (pending release)
### Enhancements
- Record user a... | fc56ecf976ee7a7a696f382debb5fede640b9ebe | CHANGES.md | CHANGES.md | Markdown |
<|file_sep|>ci_scripts/check_resource_bundle.rb.diff
original:
updated:
puts contents_of_resources_dir
<|file_sep|>original/ci_scripts/check_resource_bundle.rb
contents_of_resources_dir = Dir.glob("Stripe/Resources/Images/*.png").map { |h| File.basename(h) }.uniq.sort
targets = ['StripeiOSResources', 'StripeiOS']
tar... | puts contents_of_resources_dir
targets = ['StripeiOSResources', 'StripeiOS']
targets.each do |target|
resource_bundle_target = Xcodeproj::Project.open('Stripe.xcodeproj').targets.select { |t| t.name == target }.first
resource_bundle_files = resource_bundle_target.resources_build_phase.file_display_names
duplicat... | <|file_sep|>ci_scripts/check_resource_bundle.rb.diff
original:
updated:
puts contents_of_resources_dir
<|file_sep|>original/ci_scripts/check_resource_bundle.rb
contents_of_resources_dir = Dir.glob("Stripe/Resources/Images/*.png").map { |h| File.basename(h) }.uniq.sort
targets = ['StripeiOSResources', 'StripeiOS']
tar... | 4688b122953180838fcc856efd9d50b8377e91eb | ci_scripts/check_resource_bundle.rb | ci_scripts/check_resource_bundle.rb | Ruby |
<|file_sep|>original/app/views/accounts/_booking_list_header.html.haml
%tr
%th= t_attr :date, Booking
%th= t_attr :text, Booking
%th= t_attr :reference, Booking
%th.currency= t_attr :credit_account, Booking
%th.currency= t_attr :debit_account, Booking
%th.currency= t_attr :balance, Booking
%th.action-link... | %tr
%th= t_attr :date, Booking
%th= t_attr :text, Booking
%th= t_attr :reference, Booking
%th.currency= t_attr :credit_account, Booking
%th.currency= t_attr :debit_account, Booking
%th.currency= t_attr :balance, Booking
%th.action-links.count-3 | <|file_sep|>original/app/views/accounts/_booking_list_header.html.haml
%tr
%th= t_attr :date, Booking
%th= t_attr :text, Booking
%th= t_attr :reference, Booking
%th.currency= t_attr :credit_account, Booking
%th.currency= t_attr :debit_account, Booking
%th.currency= t_attr :balance, Booking
%th.action-link... | e6e8c56486c44922dcf3ccebf04751bcebac9d0c | app/views/accounts/_booking_list_header.html.haml | app/views/accounts/_booking_list_header.html.haml | Haml |
<|file_sep|>original/code/client/routes.jsx
import React from 'react';
import {render} from 'react-dom'
import {mount} from 'react-mounter';
// load Layout and Welcome React components
import {Exemplars, HowTo, Layout, Users, Welcome} from './app.jsx';
import {Router, Route, IndexRoute} from 'react-router'
import creat... | import React from 'react';
import {render} from 'react-dom';
// load Layout and Welcome React components
import {Exemplars, HowTo, Layout, Users, Welcome} from './app.jsx';
import {Router, Route, IndexRoute} from 'react-router'
import createBrowserHistory from 'history/lib/createBrowserHistory'
const routes = <Router... | <|file_sep|>original/code/client/routes.jsx
import React from 'react';
import {render} from 'react-dom'
import {mount} from 'react-mounter';
// load Layout and Welcome React components
import {Exemplars, HowTo, Layout, Users, Welcome} from './app.jsx';
import {Router, Route, IndexRoute} from 'react-router'
import creat... | 1c8f3386730fb4d6391fecd4c0b907991a7874f2 | code/client/routes.jsx | code/client/routes.jsx | JSX |
<|file_sep|>original/tests/source/generator/WhiteNoiseGenerator.cpp
#include <unittestpp.h>
#include <algorithm>
#include <cstddef>
#include <cstdlib>
#include <ctime>
SUITE(WhiteNoiseGenerator)
{
// sample frequency is fixed at 1 kHz
Aquila::WhiteNoiseGenerator gen(1000);
TEST(DoesNotOverrunAplitude)
... | // sample frequency is fixed at 1 kHz
Aquila::WhiteNoiseGenerator gen(1000);
TEST(DoesNotOverrunAplitude)
{
std::srand(std::time(0));
Aquila::SampleType amplitude = 1000;
gen.setAmplitude(amplitude).generate(2048);
auto result = std::minmax_element(std::begin(gen), std::... | <|file_sep|>original/tests/source/generator/WhiteNoiseGenerator.cpp
#include <unittestpp.h>
#include <algorithm>
#include <cstddef>
#include <cstdlib>
#include <ctime>
SUITE(WhiteNoiseGenerator)
{
// sample frequency is fixed at 1 kHz
Aquila::WhiteNoiseGenerator gen(1000);
TEST(DoesNotOverrunAplitude)
... | 1229a277f30ee485f699d9f94f802777c99d369e | tests/source/generator/WhiteNoiseGenerator.cpp | tests/source/generator/WhiteNoiseGenerator.cpp | C++ |
<|file_sep|>original/server/lib/stl_tools.py
'y': ['Min Y', 'Max Y'],
'z': ['Min Z', 'Max Z'],
}
def analyzeSTL(path, fileName):
command = subprocess.Popen('{ADMeshExecutable} {stlFilePath}'.format(
ADMeshExecutable=config['ADMesh-executable'],
stlFilePath = os.path.join(path, config['stl-upload-director... | 'y': ['Min Y', 'Max Y'],
'z': ['Min Z', 'Max Z'],
}
def analyzeSTL(path, fileName):
command = subprocess.Popen('{ADMeshExecutable} {stlFilePath}'.format(
ADMeshExecutable=config['ADMesh-executable'],
stlFilePath = os.path.join(path, config['stl-upload-directory'], fileName)
), stdout=subprocess.PIPE, s... | <|file_sep|>original/server/lib/stl_tools.py
'y': ['Min Y', 'Max Y'],
'z': ['Min Z', 'Max Z'],
}
def analyzeSTL(path, fileName):
command = subprocess.Popen('{ADMeshExecutable} {stlFilePath}'.format(
ADMeshExecutable=config['ADMesh-executable'],
stlFilePath = os.path.join(path, config['stl-upload-director... | a45f729d803d32cedd1b511c55c11ba53940c698 | server/lib/stl_tools.py | server/lib/stl_tools.py | Python |
<|file_sep|>original/config/sample.application.yml
TRANSITLAND_DATASTORE_AUTH_TOKEN: iamallowedtotouchthis
SIDEKIQ_DASHBOARD_USERNAME: onlyneedonproduction
SIDEKIQ_DASHBOARD_PASSWORD: onlyneedonproduction
TRANSITLAND_FEED_REGISTRY_PATH: <%= Rails.root.join('tmp', 'transitland-feed-registry') %>
TRANSITLAND_FEED_DATA_PA... | TRANSITLAND_DATASTORE_AUTH_TOKEN: iamallowedtotouchthis
SIDEKIQ_DASHBOARD_USERNAME: onlyneedonproduction
SIDEKIQ_DASHBOARD_PASSWORD: onlyneedonproduction
TRANSITLAND_FEED_REGISTRY_PATH: <%= Rails.root.join('tmp', 'transitland-feed-registry') %>
TRANSITLAND_FEED_DATA_PATH: <%= Rails.root.join('tmp', 'transitland-feed-da... | <|file_sep|>original/config/sample.application.yml
TRANSITLAND_DATASTORE_AUTH_TOKEN: iamallowedtotouchthis
SIDEKIQ_DASHBOARD_USERNAME: onlyneedonproduction
SIDEKIQ_DASHBOARD_PASSWORD: onlyneedonproduction
TRANSITLAND_FEED_REGISTRY_PATH: <%= Rails.root.join('tmp', 'transitland-feed-registry') %>
TRANSITLAND_FEED_DATA_PA... | 50c53c152cb124ef4eea796490223adbfdf989e7 | config/sample.application.yml | config/sample.application.yml | YAML |
<|file_sep|>original/roles/rabbitmq/tasks/main.yml
---
- name: Add the RabbitMQ release signing key to the apt trusted keys
apt_key: url=https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
state=present
- name: Add the RabbitMQ repository to the apt sources list
apt_repository: repo='deb http://w... | ---
- name: Add the RabbitMQ release signing key to the apt trusted keys
apt_key: keyserver=hkps.pool.sks-keyservers.net
id=6B73A36E6026DFCA
state=present
- name: Add the RabbitMQ repository to the apt sources list
apt_repository: repo='deb http://www.rabbitmq.com/debian/ testing main'
... | <|file_sep|>original/roles/rabbitmq/tasks/main.yml
---
- name: Add the RabbitMQ release signing key to the apt trusted keys
apt_key: url=https://www.rabbitmq.com/rabbitmq-release-signing-key.asc
state=present
- name: Add the RabbitMQ repository to the apt sources list
apt_repository: repo='deb http://w... | 115368d2873a2f9c66b200e245ef19630d6275c4 | roles/rabbitmq/tasks/main.yml | roles/rabbitmq/tasks/main.yml | YAML |
<|file_sep|>original/recipes/libacpi/libacpi_0.2.bb
LICENSE = "MIT"
PR = "r1"
SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
file://makefile-fix.patch;patch=1 "
PACKAGES += "${PN}-bin"
FILES_${PN} = "${libdir}/libacpi.so.*"
FILES_${PN}-bin = "${bindir}"
COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux... | DESCRIPTION = "ACPI data gathering library."
SECTION = "base"
HOMEPAGE = "http://www.ngolde.de/libacpi.html"
LICENSE = "MIT"
PR = "r1"
SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
file://makefile-fix.patch;patch=1 "
PACKAGES += "${PN}-bin"
FILES_${PN} = "${libdir}/libacpi.so.*"
FILES_${PN}-bin... | <|file_sep|>original/recipes/libacpi/libacpi_0.2.bb
LICENSE = "MIT"
PR = "r1"
SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
file://makefile-fix.patch;patch=1 "
PACKAGES += "${PN}-bin"
FILES_${PN} = "${libdir}/libacpi.so.*"
FILES_${PN}-bin = "${bindir}"
COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux... | 04fcc4314b0c28164e3fc09ce5a49d17642d9e48 | recipes/libacpi/libacpi_0.2.bb | recipes/libacpi/libacpi_0.2.bb | BitBake |
<|file_sep|>original/README.md
# gominer
GPU miner for siacoin in go
All available opencl capable GPU's are detected and used in parallel.
## Prerequisites
* Linux or Darwin, no Windows support yet
* go version 1.4.2 or above (earlier version might work or not), check with `go version`
* opencl libraries on the libra... | # gominer
GPU miner for siacoin in go
All available opencl capable GPU's are detected and used in parallel.
## Prerequisites
* go version 1.4.2 or above (earlier version might work or not), check with `go version`
* opencl libraries on the library path
## Installation
```
go get github.com/robvanmieghem/gominer
```
... | <|file_sep|>original/README.md
# gominer
GPU miner for siacoin in go
All available opencl capable GPU's are detected and used in parallel.
## Prerequisites
* Linux or Darwin, no Windows support yet
* go version 1.4.2 or above (earlier version might work or not), check with `go version`
* opencl libraries on the libra... | 874e9a7cb23ac530c30ae6432bd1de05c444bbe9 | README.md | README.md | Markdown |
<|file_sep|>lib/config.js.diff
original:
updated:
var fileData;
<|file_sep|>lib/config.js.diff
original:
var fileData = fs.readFileSync(this.options.template);
updated:
try {
fileData = fs.readFileSync(this.options.template);
}
catch (e) {
throw new Error('Error loading Supercollider temp... | var fileData;
this.options = opts;
if (!opts.handlebars) this.options.handlebars = require('handlebars');
if (opts.template) {
try {
fileData = fs.readFileSync(this.options.template);
}
catch (e) {
throw new Error('Error loading Supercollider template file: ' + e.message);
}
t... | <|file_sep|>lib/config.js.diff
original:
updated:
var fileData;
<|file_sep|>lib/config.js.diff
original:
var fileData = fs.readFileSync(this.options.template);
updated:
try {
fileData = fs.readFileSync(this.options.template);
}
catch (e) {
throw new Error('Error loading Supercollider temp... | 4d6139bcd9af2b8acd02343330bbbe74bbe7a7a1 | lib/config.js | lib/config.js | JavaScript |
<|file_sep|>lib/gisele/vm/command/interactive.rb.diff
original:
require 'readline'
updated:
<|file_sep|>original/lib/gisele/vm/command/interactive.rb
require 'readline'
module Gisele
class VM
class Command
class Interactive < Agent
def runone
prompt = "\n? Please choose an action:(list, ... | module Gisele
class VM
class Command
class Interactive < Agent
def runone
$stdout << "\n? Please choose an action:(list, new, resume or quit)\ngisele-vm> "
case s = $stdin.gets
when /^l(ist)?/ then list_action
when /^n(ew)?/ then new_acti... | <|file_sep|>lib/gisele/vm/command/interactive.rb.diff
original:
require 'readline'
updated:
<|file_sep|>original/lib/gisele/vm/command/interactive.rb
require 'readline'
module Gisele
class VM
class Command
class Interactive < Agent
def runone
prompt = "\n? Please choose an action:(list, ... | 0b03d3bd308a0dec6875ba8e13cccaf33b14c4db | lib/gisele/vm/command/interactive.rb | lib/gisele/vm/command/interactive.rb | Ruby |
<|file_sep|>original/build/scripts/LoadNuGetInfo.cmd
@echo off
REM This is a script that will set environment information about where to find
REM NuGet.exe, it's version and ensure that it's present on the enlistment.
set NuGetExeVersion=3.5.0-beta2
set NuGetExeFolder=%~dp0..\..\Binaries\Download\%NuGetExeVersion%
set... | @echo off
REM This is a script that will set environment information about where to find
REM NuGet.exe, it's version and ensure that it's present on the enlistment.
set NuGetExeVersion=3.5.0-beta2
set NuGetExeFolder=%~dp0..\..
set NuGetExe=%NuGetExeFolder%\NuGet.exe
REM Download NuGet.exe if we haven't already
if not... | <|file_sep|>original/build/scripts/LoadNuGetInfo.cmd
@echo off
REM This is a script that will set environment information about where to find
REM NuGet.exe, it's version and ensure that it's present on the enlistment.
set NuGetExeVersion=3.5.0-beta2
set NuGetExeFolder=%~dp0..\..\Binaries\Download\%NuGetExeVersion%
set... | 308bada0ac4b2bfd2d203c90b313ea33f57bb82d | build/scripts/LoadNuGetInfo.cmd | build/scripts/LoadNuGetInfo.cmd | Batchfile |
<|file_sep|>original/client/go/README.md
<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
The command-line tool for Vespa.ai.
Use it on Vespa instances running locally, remotely or in the cloud.
Prefer web service API's to this in production.
Vespa documen... | <!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
The command-line tool for Vespa.ai.
Use it on Vespa instances running locally, remotely or in the cloud.
Prefer web service API's to this in production.
See [Vespa documentation](https://docs.vespa.ai) and [... | <|file_sep|>original/client/go/README.md
<!-- Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
The command-line tool for Vespa.ai.
Use it on Vespa instances running locally, remotely or in the cloud.
Prefer web service API's to this in production.
Vespa documen... | 54439bff77bbb97f981e88cc316f3de2fc7a7850 | client/go/README.md | client/go/README.md | Markdown |
<|file_sep|>original/manual/handlers/index.md
---
layout: manual
title: Command "sunplate generate handlers"
customHeader: true
links:
next:
name: Everything about controllers
url: controllers.html
---
# Command `sunplate generate handlers`
This is the command that scans your [controllers](controllers.html) p... | ---
layout: manual
title: Command "sunplate generate handlers"
customHeader: true
links:
next:
name: Everything about controllers
url: /manual/controllers.html
---
# Command `sunplate generate handlers`
This is the command that scans your [controllers](controllers.html) package and generates
a package with ha... | <|file_sep|>original/manual/handlers/index.md
---
layout: manual
title: Command "sunplate generate handlers"
customHeader: true
links:
next:
name: Everything about controllers
url: controllers.html
---
# Command `sunplate generate handlers`
This is the command that scans your [controllers](controllers.html) p... | 875a921bcc29ecc5ee88d31bc082f98575ad2380 | manual/handlers/index.md | manual/handlers/index.md | Markdown |
<|file_sep|>original/lib/src/types.dart
void notice(String message) => client.notice(name, message);
void op(String user) => mode("+o", user);
void deop(String user) => mode("-o", user);
void voice(String user) => mode("+v", user);
void devoice(String user) => mode("-v", user);
void mode(String mode, ... | void notice(String message) => client.notice(name, message);
void op(String user) => mode("+o", user);
void deop(String user) => mode("-o", user);
void voice(String user) => mode("+v", user);
void devoice(String user) => mode("-v", user);
void ban(String user) => mode("+b", user);
void unban(String ... | <|file_sep|>original/lib/src/types.dart
void notice(String message) => client.notice(name, message);
void op(String user) => mode("+o", user);
void deop(String user) => mode("-o", user);
void voice(String user) => mode("+v", user);
void devoice(String user) => mode("-v", user);
void mode(String mode, ... | a3c0d19234eddd5174cc3131f8495518c9c303a8 | lib/src/types.dart | lib/src/types.dart | Dart |
<|file_sep|>original/cla_backend/libs/eligibility_calculator/constants/disposable_income.py
LIMIT = 73300
PARTNER_ALLOWANCE = 18191
CHILD_ALLOWANCE = 29149
CHILDLESS_HOUSING_CAP = 54500
EMPLOYMENT_COSTS_ALLOWANCE = 4500
<|file_sep|>current/cla_backend/libs/eligibility_calculator/constants/disposable_income.py
LIMIT = ... | LIMIT = 73300
PARTNER_ALLOWANCE = 18141
CHILD_ALLOWANCE = 29070
CHILDLESS_HOUSING_CAP = 54500
EMPLOYMENT_COSTS_ALLOWANCE = 4500 | <|file_sep|>original/cla_backend/libs/eligibility_calculator/constants/disposable_income.py
LIMIT = 73300
PARTNER_ALLOWANCE = 18191
CHILD_ALLOWANCE = 29149
CHILDLESS_HOUSING_CAP = 54500
EMPLOYMENT_COSTS_ALLOWANCE = 4500
<|file_sep|>current/cla_backend/libs/eligibility_calculator/constants/disposable_income.py
LIMIT = ... | 91d50ff929a25345860d9dd91a92473db1fea932 | cla_backend/libs/eligibility_calculator/constants/disposable_income.py | cla_backend/libs/eligibility_calculator/constants/disposable_income.py | Python |
<|file_sep|>metadata/com.luk.saucenao.yml.diff
original:
updated:
- versionName: '1.3'
versionCode: 4
commit: v1.3
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.luk.saucenao.yml
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
... | gradle:
- yes
- versionName: '1.2'
versionCode: 3
commit: v1.2
subdir: app
gradle:
- yes
- versionName: '1.3'
versionCode: 4
commit: v1.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.3'
CurrentVersionCode: 4 | <|file_sep|>metadata/com.luk.saucenao.yml.diff
original:
updated:
- versionName: '1.3'
versionCode: 4
commit: v1.3
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.luk.saucenao.yml
gradle:
- yes
- versionName: '1.1'
versionCode: 2
commit: v1.1
subdir: app
... | 28c3d24ceeb26b660bece7285e40fcb0d8ad5c01 | metadata/com.luk.saucenao.yml | metadata/com.luk.saucenao.yml | YAML |
<|file_sep|>spec/helpers/paypal_helper.rb.diff
original:
sleep 1
updated:
<|file_sep|>original/spec/helpers/paypal_helper.rb
click_button("confirmButtonTop", wait: 30)
end
# can take sandbox a while to close
sleep 4
end
def login_to_paypal
expect(page).to have_text("Pay with PayPal", ... | # can take sandbox a while to close
sleep 4
end
def login_to_paypal
expect(page).to have_text("Pay with PayPal", wait: 30)
login_iframe = find("#injectedUnifiedLogin iframe")
within_frame login_iframe do
fill_in("email", :with => ENV["PAYPAL_USERNAME"])
fill_in("password", :with => ENV["PAYPA... | <|file_sep|>spec/helpers/paypal_helper.rb.diff
original:
sleep 1
updated:
<|file_sep|>original/spec/helpers/paypal_helper.rb
click_button("confirmButtonTop", wait: 30)
end
# can take sandbox a while to close
sleep 4
end
def login_to_paypal
expect(page).to have_text("Pay with PayPal", ... | cdb36149fc2ecad38335877823ddc959d5bb1dcf | spec/helpers/paypal_helper.rb | spec/helpers/paypal_helper.rb | Ruby |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.compose... | language: php
dist: trusty
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.composer/cache
| <|file_sep|>original/.travis.yml
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.compose... | f1cc9bd6882740dee72158045e600bdc21d073b3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# python-togeojson
python version of mapbox/togeojson
<|file_sep|>current/README.md
# python-togeojson
python version of mapbox/togeojson
<|file_sep|>updated/README.md | # python-togeojson
This project is aim at creating Python version of [mapbox/togeojson][mapbox-togeojson] library (originally in JavaScript).
This is my first open-source project on github. Feel free to contribute. :)
[mapbox-togeojson]: https://github.com/mapbox/togeojson | <|file_sep|>original/README.md
# python-togeojson
python version of mapbox/togeojson
<|file_sep|>current/README.md
# python-togeojson
python version of mapbox/togeojson
<|file_sep|>updated/README.md
# python-togeojson
This project is aim at creating Python version of [mapbox/togeojson][mapbox-togeojson] library (orig... | 93b1a99ab35778e875ca2818817b6189ceab5ee5 | README.md | README.md | Markdown |
<|file_sep|>contrib/packs/actions/pack_mgmt/delete.py.diff
original:
updated:
import pipes
<|file_sep|>contrib/packs/actions/pack_mgmt/delete.py.diff
original:
updated:
# TODO: Use config base path + virtualenv suffix
VIRTUALENVS_PATH = '/opt/stackstorm/virtualenvs/'
<|file_sep|>contrib/packs/actions/pack_mgmt/delet... | if len(intersection) > 0:
raise Exception('Uninstall includes an uninstallable pack - %s.' % list(intersection))
# 1. Delete pack content
for fp in os.listdir(abs_repo_base):
abs_fp = os.path.join(abs_repo_base, fp)
if fp in packs and os.path.isdir(abs_fp):
... | <|file_sep|>contrib/packs/actions/pack_mgmt/delete.py.diff
original:
updated:
import pipes
<|file_sep|>contrib/packs/actions/pack_mgmt/delete.py.diff
original:
updated:
# TODO: Use config base path + virtualenv suffix
VIRTUALENVS_PATH = '/opt/stackstorm/virtualenvs/'
<|file_sep|>contrib/packs/actions/pack_mgmt/delet... | 6a63f9ff253e335a8721d8ee0ac5db4a066032ed | contrib/packs/actions/pack_mgmt/delete.py | contrib/packs/actions/pack_mgmt/delete.py | Python |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.2
- 3.3
# command to run tests
script:
- python setup.py ptr
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.2
- 3.3
# command to run tests
script:
- python setup.py ptr
<|file_sep|>updated/.travis.yml | language: python
python:
- 2.7
# disable 3.2 tests until Jinja is fixed (https://github.com/mitsuhiko/jinja2/pull/248)
# 3.2
- 3.3
# command to run tests
script:
- python setup.py ptr | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.2
- 3.3
# command to run tests
script:
- python setup.py ptr
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.2
- 3.3
# command to run tests
script:
- python setup.py ptr
<|file_sep|>updated/.travis.yml
language: pytho... | 3c4ab7694ea2a244e651a22ad7db51c15efb70b0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
docker==2.3.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.3.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>updated/requirements.txt | docker==2.4.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0 | <|file_sep|>original/requirements.txt
docker==2.3.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>current/requirements.txt
docker==2.3.0
molecule==1.25.0
pytest==3.1.2
python-vagrant==0.5.15
testinfra==1.6.4
tox==2.7.0
<|file_sep|>updated/requirements.txt
docker==2.4.0
mo... | 409ce2f6380a1534b902126bca9fc548bcdc1569 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.10
install:
- cd $TRAVIS_BUILD_DIR/
- npm install
script:
- cd $TRAVIS_BUILD_DIR/
- npm run check
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.10
install:
- cd $TRAVIS_BUILD_DIR/
- npm install
script:
- cd $TRAVIS_BUILD_... | language: node_js
node_js:
- 0.10
before_install:
- cd $TRAVIS_BUILD_DIR
- cp config/config.sample.json config/config.json
- cp config/credentials.sample.json config/credentials.json
install:
- cd $TRAVIS_BUILD_DIR/
- npm install
script:
- cd $TRAVIS_BUILD_DIR/
- npm run check | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.10
install:
- cd $TRAVIS_BUILD_DIR/
- npm install
script:
- cd $TRAVIS_BUILD_DIR/
- npm run check
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.10
install:
- cd $TRAVIS_BUILD_DIR/
- npm install
script:
- cd $TRAVIS_BUILD_... | 05188cf6952d915240fa2e7fdb1d3f2564fb9158 | .travis.yml | .travis.yml | YAML |
<|file_sep|>c/serializer/samples/remote_monitoring/CMakeLists.txt.diff
original:
set(remote_monitoring_c_files ${remote_monitoring_c_files} ./windows/main.c)
updated:
set(remote_monitoring_c_files ${remote_monitoring_c_files})
<|file_sep|>original/c/serializer/samples/remote_monitoring/CMakeLists.txt
message(FATAL_E... | message(FATAL_ERROR "remote_monitoring being generated without amqp support")
endif()
set(remote_monitoring_c_files
remote_monitoring.c
)
if(WIN32)
set(remote_monitoring_c_files ${remote_monitoring_c_files})
else()
set(remote_monitoring_c_files ${remote_monitoring_c_files})
endif()
set(remote_monitoring_h_files
... | <|file_sep|>c/serializer/samples/remote_monitoring/CMakeLists.txt.diff
original:
set(remote_monitoring_c_files ${remote_monitoring_c_files} ./windows/main.c)
updated:
set(remote_monitoring_c_files ${remote_monitoring_c_files})
<|file_sep|>original/c/serializer/samples/remote_monitoring/CMakeLists.txt
message(FATAL_E... | 3c86a21672db190b27af7f345fae5dfc6e0ac891 | c/serializer/samples/remote_monitoring/CMakeLists.txt | c/serializer/samples/remote_monitoring/CMakeLists.txt | Text |
<|file_sep|>criticL/app/views/layouts/application.html.erb.diff
original:
<% if session[:user_id] %>
updated:
<% if logged_in? %>
<|file_sep|>original/criticL/app/views/layouts/application.html.erb
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navba... | </head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="/movies">criticL</a>
</div>
<ul class="nav navbar-nav">
<% if logged_in? %>
<li class="active"><%= link_to "Log Out", logout_path, meth... | <|file_sep|>criticL/app/views/layouts/application.html.erb.diff
original:
<% if session[:user_id] %>
updated:
<% if logged_in? %>
<|file_sep|>original/criticL/app/views/layouts/application.html.erb
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navba... | e10cd7a533ae3e182ac038b651f2c1a3710eb9b5 | criticL/app/views/layouts/application.html.erb | criticL/app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/lib/sequent/core/workflow.rb
require_relative 'helpers/self_applier'
module Sequent
module Core
class Workflow
include Helpers::SelfApplier
def execute_commands(*commands)
Sequent.configuration.instance.command_service.execute_commands(*commands)
end
end
end
... | require_relative 'helpers/self_applier'
module Sequent
module Core
class Workflow
include Helpers::SelfApplier
def execute_commands(*commands)
Sequent.configuration.command_service.execute_commands(*commands)
end
end
end
end | <|file_sep|>original/lib/sequent/core/workflow.rb
require_relative 'helpers/self_applier'
module Sequent
module Core
class Workflow
include Helpers::SelfApplier
def execute_commands(*commands)
Sequent.configuration.instance.command_service.execute_commands(*commands)
end
end
end
... | 2753a848711aaafb7054b98b343969fae3659bb1 | lib/sequent/core/workflow.rb | lib/sequent/core/workflow.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.