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|>tests/libs/schema.spec.js.diff
original:
}
updated:
};
<|file_sep|>original/tests/libs/schema.spec.js
let mockRes = {
status: (code) => {
// Check for the 400 code
assert.equal(code, 400);
... | let mockRes = {
status: (code) => {
// Check for the 400 code
assert.equal(code, 400);
return {
send: (err) => {
// Verify an error was returned
assert.... | <|file_sep|>tests/libs/schema.spec.js.diff
original:
}
updated:
};
<|file_sep|>original/tests/libs/schema.spec.js
let mockRes = {
status: (code) => {
// Check for the 400 code
assert.equal(code, 400);
... | c284ff94fc8637c64c811cb277fa7d8a80c96759 | tests/libs/schema.spec.js | tests/libs/schema.spec.js | JavaScript |
<|file_sep|>packages/sc/sc2-proto.yaml.diff
original:
hash: 3f931578438b3d548a541cb79165629e68c431b878a868e808f8de91812965f3
updated:
hash: d0edaf64851f9ea5e1fed06e4844979d20c22bb149a238208e619ff8db252fd1
<|file_sep|>packages/sc/sc2-proto.yaml.diff
original:
- 0.1.0.0
updated:
- 0.1.0.1
<|file_sep|>original/packages/sc... | homepage: ''
changelog-type: ''
hash: d0edaf64851f9ea5e1fed06e4844979d20c22bb149a238208e619ff8db252fd1
test-bench-deps: {}
maintainer: Sophie Taylor <sophie@spacekitteh.moe>
synopsis: A protocol buffer model for the Starcraft II bot API
changelog: ''
basic-deps:
base: ! '>=4.7 && <5'
filepath: ! '>=1.4 && <2'
git... | <|file_sep|>packages/sc/sc2-proto.yaml.diff
original:
hash: 3f931578438b3d548a541cb79165629e68c431b878a868e808f8de91812965f3
updated:
hash: d0edaf64851f9ea5e1fed06e4844979d20c22bb149a238208e619ff8db252fd1
<|file_sep|>packages/sc/sc2-proto.yaml.diff
original:
- 0.1.0.0
updated:
- 0.1.0.1
<|file_sep|>original/packages/sc... | 01f9bfa0173d9e6f62186b753adc10d2f5b50668 | packages/sc/sc2-proto.yaml | packages/sc/sc2-proto.yaml | YAML |
<|file_sep|>original/app/assets/javascripts/controllers/application_controller.js.coffee
params =
url: '/event_stream'
method: 'GET'
success:(data)->
source = new EventSource(data.url)
data.eventNames.forEach (eventName)->
source.addEventListener eventName, (msg)->
... | success:(data)->
source = new EventSource(data.url)
data.eventNames.forEach (eventName)->
source.addEventListener eventName, (msg)->
esData = JSON.parse(msg.data)
Ember.run ->
type = esData.type.replace(/.+::/, '')
delete esData.type
... | <|file_sep|>original/app/assets/javascripts/controllers/application_controller.js.coffee
params =
url: '/event_stream'
method: 'GET'
success:(data)->
source = new EventSource(data.url)
data.eventNames.forEach (eventName)->
source.addEventListener eventName, (msg)->
... | 73cdd2a7088ce0342b19cb2ba08ae1879f0f1cc5 | app/assets/javascripts/controllers/application_controller.js.coffee | app/assets/javascripts/controllers/application_controller.js.coffee | CoffeeScript |
<|file_sep|>original/stylesheets/week-stylesheet.css
display: block;
position: relative;
top: 780px;
left: 100px;
}
#second_4 {
display: block;
position: relative;
top: 820px;
left: 100px;
}
#second_5 {
display: block;
position: relative;
top: 1680px;
left: 100px;
}
<|file_sep|>current/stylesheets/week-stylesheet.c... | display: block;
position: relative;
top: 820px;
left: 100px;
}
#second_5 {
display: block;
position: relative;
top: 1680px;
left: 100px;
}
#second_6 {
display: block;
position: relative;
top: 1280px;
left: 100px;
} | <|file_sep|>original/stylesheets/week-stylesheet.css
display: block;
position: relative;
top: 780px;
left: 100px;
}
#second_4 {
display: block;
position: relative;
top: 820px;
left: 100px;
}
#second_5 {
display: block;
position: relative;
top: 1680px;
left: 100px;
}
<|file_sep|>current/stylesheets/week-stylesheet.c... | 6aa71489d07d2191b1701e82e9d52e14bba75b1b | stylesheets/week-stylesheet.css | stylesheets/week-stylesheet.css | CSS |
<|file_sep|>LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs.diff
original:
//JsonObject config = new JsonObject();
updated:
<|file_sep|>original/LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
security.set("user_id", Uuid.generate());
string secret = LearnositySDK.Credentials.ConsumerSecret... | security.set("user_id", Uuid.generate());
string secret = LearnositySDK.Credentials.ConsumerSecret;
JsonObject request = new JsonObject();
request.set("user_id", Uuid.generate());
request.set("activity_template_id", "quickstart_examples_activity_template_001"... | <|file_sep|>LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs.diff
original:
//JsonObject config = new JsonObject();
updated:
<|file_sep|>original/LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
security.set("user_id", Uuid.generate());
string secret = LearnositySDK.Credentials.ConsumerSecret... | f0558a7b59d2a5904176a69f57834ca639d4850b | LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs | LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs | C# |
<|file_sep|>template/assets/assets.go.diff
original:
ga('create', '%s');
updated:
ga('create', %s);
<|file_sep|>template/assets/assets.go.diff
original:
updated:
if len(names) != 1 && len(names) != 2 {
return nil, fmt.Errorf("analytics requires either 1 or 2 arguments (either \"UA-XXXXXX-YY, mysite.com\" or just ... | if key == "" {
return nil, nil
}
var arg string
if len(names) == 2 {
arg = fmt.Sprintf("'%s', '%s'", key, names[1])
} else {
arg = fmt.Sprintf("'%s'", key)
}
return []*Asset{
&Asset{
Name: "google-analytics.js",
Position: Bottom,
HTML: fmt.Sprintf(analyticsScript, arg),
},
}, nil
}
f... | <|file_sep|>template/assets/assets.go.diff
original:
ga('create', '%s');
updated:
ga('create', %s);
<|file_sep|>template/assets/assets.go.diff
original:
updated:
if len(names) != 1 && len(names) != 2 {
return nil, fmt.Errorf("analytics requires either 1 or 2 arguments (either \"UA-XXXXXX-YY, mysite.com\" or just ... | 24458a41f6cf2c042fbe619259bbdae17a9b671e | template/assets/assets.go | template/assets/assets.go | Go |
<|file_sep|>original/test/xample/text/analyzer_spec.rb
<|file_sep|>current/test/xample/text/analyzer_spec.rb
<|file_sep|>updated/test/xample/text/analyzer_spec.rb | require File.expand_path(File.dirname(__FILE__) + "/../../test_helper")
include Xample::Text
describe Analyzer do
before :each do
@obj = Object.new
@obj.extend Analyzer
end
describe "ignore_tokens" do
it "should be based on options" do
@obj.should_receive(:options).any_number_of_times.
... | <|file_sep|>original/test/xample/text/analyzer_spec.rb
<|file_sep|>current/test/xample/text/analyzer_spec.rb
<|file_sep|>updated/test/xample/text/analyzer_spec.rb
require File.expand_path(File.dirname(__FILE__) + "/../../test_helper")
include Xample::Text
describe Analyzer do
before :each do
@obj = Object.ne... | 4762199228bf854a1874941ff8523c00859a7881 | test/xample/text/analyzer_spec.rb | test/xample/text/analyzer_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
language: elixir
elixir:
- 1.3.4
- 1.4.5
- 1.5.1
sudo: false # to use faster container based build environment
notifications:
recipients:
- howardbm@live.se
otp_release:
- 18.0
- 19.3
- 20.0
env:
- MIX_ENV=test
script:
- mix do local.hex --force
- mix deps.get
... | - 1.4.5
- 1.5.1
sudo: false # to use faster container based build environment
notifications:
recipients:
- howardbm@live.se
otp_release:
- 18.0
- 19.3
- 20.0
env:
- MIX_ENV=test
script:
- mix do local.hex --force
- mix deps.get
- mix compile
- mix coveralls.travis
matrix:
exclude:
- otp_re... | <|file_sep|>original/.travis.yml
language: elixir
elixir:
- 1.3.4
- 1.4.5
- 1.5.1
sudo: false # to use faster container based build environment
notifications:
recipients:
- howardbm@live.se
otp_release:
- 18.0
- 19.3
- 20.0
env:
- MIX_ENV=test
script:
- mix do local.hex --force
- mix deps.get
... | 19ef2c982ce02b124bd6c67b3b861ae79bab5a8c | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- go get -u golang.org/x/tools/cmd/vet
<|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
before_install:
- go get -u github.com/golang/lint/golint
- if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then go get -u github.com/kisielk/errcheck; f... | language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
before_install:
- go get -u github.com/golang/lint/golint
- if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then go get -u github.com/kisielk/errcheck; fi
- go get -u golang.org/x/tools/cmd/vet
before_script:
- '! gofmt -s -l . | read'
- golint ./...
- echo $TRAVIS_G... | <|file_sep|>.travis.yml.diff
original:
updated:
- go get -u golang.org/x/tools/cmd/vet
<|file_sep|>original/.travis.yml
language: go
go:
- 1.3
- 1.4
- 1.5
- 1.6
before_install:
- go get -u github.com/golang/lint/golint
- if [[ $TRAVIS_GO_VERSION == 1.5* ]]; then go get -u github.com/kisielk/errcheck; f... | 93090fcbbc373aaa7c40f7a016785a04a63daaf2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/javascript/functions/FileUploader.js.diff
original:
files.forEach((file, i) => {
updated:
files.forEach((file) => {
<|file_sep|>original/src/javascript/functions/FileUploader.js
const reader = new FileReader();
const runName = file.name.replace('.json', '');
... | const reader = new FileReader();
const runName = file.name.replace('.json', '');
reader.onload = function(evt) {
try {
var parsedBenchmarks = JSON.parse(evt.target.result);
const benchmarkRun = new BenchmarkRun({
... | <|file_sep|>src/javascript/functions/FileUploader.js.diff
original:
files.forEach((file, i) => {
updated:
files.forEach((file) => {
<|file_sep|>original/src/javascript/functions/FileUploader.js
const reader = new FileReader();
const runName = file.name.replace('.json', '');
... | 8004213050cdbe70ef99e19dbdb08e8ee03aa910 | src/javascript/functions/FileUploader.js | src/javascript/functions/FileUploader.js | JavaScript |
<|file_sep|>original/tests/test_midi_note_numbers.py
<|file_sep|>current/tests/test_midi_note_numbers.py
<|file_sep|>updated/tests/test_midi_note_numbers.py | # TODO: test if method to convert Note to a MIDI note number works
import pytest
from music_essentials import Note
def test_midi_0():
n = Note.from_note_string('C-1')
mid = n.midi_note_number()
assert mid == 0
def test_midi_1_sharp():
n = Note.from_note_string('C-1#')
mid = n.midi_note_number()
... | <|file_sep|>original/tests/test_midi_note_numbers.py
<|file_sep|>current/tests/test_midi_note_numbers.py
<|file_sep|>updated/tests/test_midi_note_numbers.py
# TODO: test if method to convert Note to a MIDI note number works
import pytest
from music_essentials import Note
def test_midi_0():
n = Note.from_note_s... | 8ad29d6563fd282b18884c345451a44a71eba890 | tests/test_midi_note_numbers.py | tests/test_midi_note_numbers.py | Python |
<|file_sep|>fireplace/cards/wog/warlock.py.diff
original:
updated:
class OG_109:
"Darkshire Librarian"
play = Discard(RANDOM(FRIENDLY_HAND))
deathrattle = Draw(CONTROLLER)
class OG_113:
"Darkshire Councilman"
events = Summon(MINION, CONTROLLER).on(Buff(SELF, "OG_113e"))
OG_113e = buff(atk=1)
<|file_sep|>orig... |
class OG_121:
"Cho'gall"
play = Buff(CONTROLLER, "OG_121e")
class OG_121e:
events = OWN_SPELL_PLAY.on(Destroy(SELF))
update = Refresh(CONTROLLER, {GameTag.SPELLS_COST_HEALTH: True})
class OG_241:
"Possessed Villager"
deathrattle = Summon(CONTROLLER, "OG_241a")
##
# Spells
class OG_116:
"Spreading Madness"... | <|file_sep|>fireplace/cards/wog/warlock.py.diff
original:
updated:
class OG_109:
"Darkshire Librarian"
play = Discard(RANDOM(FRIENDLY_HAND))
deathrattle = Draw(CONTROLLER)
class OG_113:
"Darkshire Councilman"
events = Summon(MINION, CONTROLLER).on(Buff(SELF, "OG_113e"))
OG_113e = buff(atk=1)
<|file_sep|>orig... | 1bac187d32473e338e34bea5525e3384103113df | fireplace/cards/wog/warlock.py | fireplace/cards/wog/warlock.py | Python |
<|file_sep|>original/support/initd.md
Download [`ip-wrangler`](https://github.com/dice-cyfronet/ip-wrangler/blob/master/support/initd/ip-wrangler)
into `/etc/init.d/ip-wrangler`.
wget -O /etc/init.d/ip-wrangler https://raw.githubusercontent.com/dice-cyfronet/ip-wrangler/master/support/initd/ip-wrangler
chmod ... | into `/etc/init.d/ip-wrangler`.
wget -O /etc/init.d/ip-wrangler https://raw.githubusercontent.com/dice-cyfronet/ip-wrangler/master/support/initd/ip-wrangler
chmod +x /etc/init.d/ip-wrangler
Create directories:
mkdir /var/log/ip-wrangler /etc/ip-wrangler
Create configuration file in `/etc/ip-wrangler/ip-... | <|file_sep|>original/support/initd.md
Download [`ip-wrangler`](https://github.com/dice-cyfronet/ip-wrangler/blob/master/support/initd/ip-wrangler)
into `/etc/init.d/ip-wrangler`.
wget -O /etc/init.d/ip-wrangler https://raw.githubusercontent.com/dice-cyfronet/ip-wrangler/master/support/initd/ip-wrangler
chmod ... | 807695c5f7fcaff0c461b4f1e0da7cc1b58d5e5b | support/initd.md | support/initd.md | Markdown |
<|file_sep|>original/app/views/shared/_topbar.html.haml
.row
.six.columns
%a{:href => root_url(:subdomain => false)}
= image_tag('courseware.png', :alt => 'The Courseware Project')
.six.columns.align-right
- if logged_in?
.small.button.dropdown.naked
%a{:href => '#'}
.avatar
... | .row
.six.columns
%a{:href => root_url(:subdomain => false)}
= image_tag('courseware.png', :alt => 'The Courseware Project')
.six.columns.align-right
- if logged_in?
.small.button.dropdown.naked
%a{:href => '#'}
.avatar
= gravatar_image_tag(current_user.email, :alt ... | <|file_sep|>original/app/views/shared/_topbar.html.haml
.row
.six.columns
%a{:href => root_url(:subdomain => false)}
= image_tag('courseware.png', :alt => 'The Courseware Project')
.six.columns.align-right
- if logged_in?
.small.button.dropdown.naked
%a{:href => '#'}
.avatar
... | 7a164f05e1750b568ceb5f3972a4c2fb9cc81997 | app/views/shared/_topbar.html.haml | app/views/shared/_topbar.html.haml | Haml |
<|file_sep|>original/vendor/plugins/refinery/app/views/shared/admin/_search.html.erb
<form method="GET" action="<%= url %>" class="search_form">
<input id="search" name="search" size="22" type="search" value="<%= params[:search] %>" />
<input id="dialog" name="dialog" type="hidden" value="<%= from_dialog? %>" />
... | <form method="GET" action="<%= url %>" class="search_form">
<input id="search" name="search" size="22" type="search" value="<%= params[:search] %>" />
<input id="dialog" name="dialog" type="hidden" value="<%= from_dialog? %>" />
<%= submit_tag t('admin.search'), :name => nil %>
</form> | <|file_sep|>original/vendor/plugins/refinery/app/views/shared/admin/_search.html.erb
<form method="GET" action="<%= url %>" class="search_form">
<input id="search" name="search" size="22" type="search" value="<%= params[:search] %>" />
<input id="dialog" name="dialog" type="hidden" value="<%= from_dialog? %>" />
... | ea66f39c871bb2bf71a3c8b8d9ab9022dc688677 | vendor/plugins/refinery/app/views/shared/admin/_search.html.erb | vendor/plugins/refinery/app/views/shared/admin/_search.html.erb | HTML+ERB |
<|file_sep|>original/modules/mod_ginger_collection/templates/list/list-uri-labels.tpl
(m.erfgoedthesaurus[uri].definition|filter:`language`:"dut"|first)
as
erfgoedthesaurus_definition
%}
{% with #list ++ forloop.counter as i %}
<dl id="do_expand--paren... | {% if item['@id'] as uri %}
{% if
(m.erfgoedthesaurus[uri].definition|filter:`language`:"dut"|first)
as
erfgoedthesaurus_definition
%}
{% with #list ++ forloop.counter as i %}
<dl id="do_expand--parent-{{ i }}">
<dd clas... | <|file_sep|>original/modules/mod_ginger_collection/templates/list/list-uri-labels.tpl
(m.erfgoedthesaurus[uri].definition|filter:`language`:"dut"|first)
as
erfgoedthesaurus_definition
%}
{% with #list ++ forloop.counter as i %}
<dl id="do_expand--paren... | e5f8dd9e54184b29e12f2145dc42ff98ac7c8273 | modules/mod_ginger_collection/templates/list/list-uri-labels.tpl | modules/mod_ginger_collection/templates/list/list-uri-labels.tpl | Smarty |
<|file_sep|>.forestry/settings.yml.diff
original:
install_dependencies_command: npm install jekyll-bliss -g; bundle install --path
vendor/bundle
preview_docker_image: forestryio/ruby:2.6-node12
updated:
install_dependencies_command: bundle install --path vendor/bundle
preview_docker_image: forestryio/ruby:2... | - type: jekyll-pages
label: Pages
create: all
- type: jekyll-posts
label: Posts
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":filename:"
build:
preview_env:
- JEKYLL_ENV=staging
preview_output_directory: _site
install_dependen... | <|file_sep|>.forestry/settings.yml.diff
original:
install_dependencies_command: npm install jekyll-bliss -g; bundle install --path
vendor/bundle
preview_docker_image: forestryio/ruby:2.6-node12
updated:
install_dependencies_command: bundle install --path vendor/bundle
preview_docker_image: forestryio/ruby:2... | 5c88aba6fbaddd5f0a85c309bf0c02d7cdc74345 | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>original/2013-nov-bronze/1-combo/py/main.py
<|file_sep|>current/2013-nov-bronze/1-combo/py/main.py
<|file_sep|>updated/2013-nov-bronze/1-combo/py/main.py | import itertools
def read_combo(file):
return [int(x) - 1 for x in file.readline().split()];
def permute(combo, size):
return [[x % size for x in permutation] for permutation in itertools.product(*[range(v - 2, v + 3) for v in combo])]
fin = open('combo.in', 'r')
size = int(fin.readline())
fout = open('combo.out'... | <|file_sep|>original/2013-nov-bronze/1-combo/py/main.py
<|file_sep|>current/2013-nov-bronze/1-combo/py/main.py
<|file_sep|>updated/2013-nov-bronze/1-combo/py/main.py
import itertools
def read_combo(file):
return [int(x) - 1 for x in file.readline().split()];
def permute(combo, size):
return [[x % size for x in pe... | a60968a4f75067e56e32a55539b8fe2e90e67665 | 2013-nov-bronze/1-combo/py/main.py | 2013-nov-bronze/1-combo/py/main.py | Python |
<|file_sep|>original/index.html
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow">
<meta name="googlebot" content="noindex, nofollow">
<link rel="stylesheet" type="text/css" href="/css/skeleton.css">
<script type="text/javascr... | <html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow">
<meta name="googlebot" content="noindex, nofollow">
<link rel="stylesheet" type="text/css" href="./css/skeleton.css">
<script type="text/javascript" src="https://cdnjs.cloudfl... | <|file_sep|>original/index.html
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow">
<meta name="googlebot" content="noindex, nofollow">
<link rel="stylesheet" type="text/css" href="/css/skeleton.css">
<script type="text/javascr... | 20285c7805a44ad485a281f3ef3f079455b05c95 | index.html | index.html | HTML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- node
cache:
directories:
- node_modules
script:
- npm test
- npm run build
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- node
cache:
directories:
- node_modules
script:
- npm test
- npm run build
<|file_sep|>updated/.tr... | language: node_js
node_js:
- lts/*
cache:
directories:
- node_modules
script:
- npm test
- npm run build | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- node
cache:
directories:
- node_modules
script:
- npm test
- npm run build
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- node
cache:
directories:
- node_modules
script:
- npm test
- npm run build
<|file_sep|>updated/.tr... | 8ae80997170f5421999c3804ac72288dda4a157d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.2
- 1.8.7
branches:
only:
- 4.0.0
env:
- DB=postgres
- DB=mysql
- DB=sqlite3
gemfile:
- gemfiles/Gemfile.rails-3.0.rb
- gemfiles/Gemfile.rails-3.1.rb
script: "bundle exec rake db:reset db:up test"
<|file_sep|>current/.travis.yml
rvm:
- 1.9.2
- 1.8.7... | rvm:
- 1.9.2
- 1.8.7
- jruby
branches:
only:
- 4.0.0
env:
- DB=postgres
- DB=mysql
- DB=sqlite3
gemfile:
- gemfiles/Gemfile.rails-3.0.rb
- gemfiles/Gemfile.rails-3.1.rb
script: "bundle exec rake db:reset db:up test" | <|file_sep|>original/.travis.yml
rvm:
- 1.9.2
- 1.8.7
branches:
only:
- 4.0.0
env:
- DB=postgres
- DB=mysql
- DB=sqlite3
gemfile:
- gemfiles/Gemfile.rails-3.0.rb
- gemfiles/Gemfile.rails-3.1.rb
script: "bundle exec rake db:reset db:up test"
<|file_sep|>current/.travis.yml
rvm:
- 1.9.2
- 1.8.7... | cf8f7b6a38abe33ba8cd118542da42acf487b46d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/stemcell_builder/stages/system_open_vm_tools/apply.sh
#!/usr/bin/env bash
set -e
base_dir=$(readlink -nf $(dirname $0)/../..)
source $base_dir/lib/prelude_apply.bash
source $base_dir/lib/prelude_bosh.bash
# Installation on CentOS requires v7
pkg_mgr install open-vm-tools
<|file_sep|>current/stem... | #!/usr/bin/env bash
set -e
base_dir=$(readlink -nf $(dirname $0)/../..)
source $base_dir/lib/prelude_apply.bash
source $base_dir/lib/prelude_bosh.bash
# Installation on CentOS requires v7
pkg_mgr install open-vm-tools
# The above installation adds a PAM configuration with 'nullok' values in it.
# We need to get rid... | <|file_sep|>original/stemcell_builder/stages/system_open_vm_tools/apply.sh
#!/usr/bin/env bash
set -e
base_dir=$(readlink -nf $(dirname $0)/../..)
source $base_dir/lib/prelude_apply.bash
source $base_dir/lib/prelude_bosh.bash
# Installation on CentOS requires v7
pkg_mgr install open-vm-tools
<|file_sep|>current/stem... | 445ceb50cb85f137358be837d674a2e85fbbaa0b | stemcell_builder/stages/system_open_vm_tools/apply.sh | stemcell_builder/stages/system_open_vm_tools/apply.sh | Shell |
<|file_sep|>original/src/cljs/comic_reader/scrolling.cljs
(ns comic-reader.scrolling
(:require [re-frame.core :as rf]))
(defn throttle [type key target]
(let [target (or target js/window)
running (atom false)
toggle! #(swap! running not)
throttler (fn []
(when (not @runn... | (ns comic-reader.scrolling
(:require [re-frame.core :as rf]))
(defn throttle [type key & [target]]
(let [target (or target js/window)
running (atom false)
toggle! #(swap! running not)
throttler (fn []
(when (not @running)
(toggle!)
... | <|file_sep|>original/src/cljs/comic_reader/scrolling.cljs
(ns comic-reader.scrolling
(:require [re-frame.core :as rf]))
(defn throttle [type key target]
(let [target (or target js/window)
running (atom false)
toggle! #(swap! running not)
throttler (fn []
(when (not @runn... | 07144f6fe8f6108ab5e01826d5e05b51cb8ad933 | src/cljs/comic_reader/scrolling.cljs | src/cljs/comic_reader/scrolling.cljs | Clojure |
<|file_sep|>original/package.json
{
"name": "silex-spaceload",
"version": "0.0.2",
"description": "Recreate the Namespace in Javascript and autoloader",
"main": "index.js",
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "node ./test/test.js"
},
"repository": {
"type": "git",
"... | {
"name": "silex-spaceload",
"version": "0.0.3",
"description": "Recreate the Namespace in Javascript and autoloader",
"main": "index.js",
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "node ./test/test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/silexjs/... | <|file_sep|>original/package.json
{
"name": "silex-spaceload",
"version": "0.0.2",
"description": "Recreate the Namespace in Javascript and autoloader",
"main": "index.js",
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "node ./test/test.js"
},
"repository": {
"type": "git",
"... | 2a8c1af75dd5d760b3f9ff58c8a94493e9de516d | package.json | package.json | JSON |
<|file_sep|>original/test-suite/run-jasmine-tests.js
window.onload = function() {
var framework = scala.scalajs.test.JasmineTestFramework();
framework.setTags("typedarray")
// Load tests (we know we only export test modules, so we can use all exports)
var testPackage = scala.scalajs.test;
for (var pName in t... | window.onload = function() {
var framework = scala.scalajs.test.JasmineTestFramework();
framework.setTags("typedarray")
// Load tests (we know we only export test modules, so we can use all exports)
var testPackage = scala.scalajs.test;
for (var pName in testPackage) {
for (var testName in testPackage[pN... | <|file_sep|>original/test-suite/run-jasmine-tests.js
window.onload = function() {
var framework = scala.scalajs.test.JasmineTestFramework();
framework.setTags("typedarray")
// Load tests (we know we only export test modules, so we can use all exports)
var testPackage = scala.scalajs.test;
for (var pName in t... | aa19d5893fcaab4e6ec937e1dca8a789160f41c3 | test-suite/run-jasmine-tests.js | test-suite/run-jasmine-tests.js | JavaScript |
<|file_sep|>original/test_suite/Cargo.toml
publish = false
build = "build.rs"
[features]
expandtest = []
unstable = ["serde/unstable"]
[dependencies]
serde = { path = "../serde" }
[build-dependencies]
toolchain_find = "0.1"
[dev-dependencies]
fnv = "1.0"
macrotest = "=1.0.0"
rustversion = "1.0"
serde = { path = "..... | publish = false
build = "build.rs"
[features]
expandtest = []
unstable = ["serde/unstable"]
[dependencies]
serde = { path = "../serde" }
[build-dependencies]
toolchain_find = "0.2"
[dev-dependencies]
fnv = "1.0"
macrotest = "=1.0.0"
rustversion = "1.0"
serde = { path = "../serde", features = ["rc", "derive"] }
serd... | <|file_sep|>original/test_suite/Cargo.toml
publish = false
build = "build.rs"
[features]
expandtest = []
unstable = ["serde/unstable"]
[dependencies]
serde = { path = "../serde" }
[build-dependencies]
toolchain_find = "0.1"
[dev-dependencies]
fnv = "1.0"
macrotest = "=1.0.0"
rustversion = "1.0"
serde = { path = "..... | bc3f24e0e9cc3aff608c3ba7d576dfc9c4a7792d | test_suite/Cargo.toml | test_suite/Cargo.toml | TOML |
<|file_sep|>original/lib/kaminari-i18n.rb
<|file_sep|>current/lib/kaminari-i18n.rb
<|file_sep|>updated/lib/kaminari-i18n.rb | require 'rails'
module KaminariI18n
class Engine < ::Rails::Engine
end
class Railtie < ::Rails::Railtie #:nodoc:
initializer 'kaminari-i18n' do |app|
KaminariI18n::Railtie.instance_eval do
pattern = pattern_from app.config.i18n.available_locales
files = Dir[File.join(File.dirname(__F... | <|file_sep|>original/lib/kaminari-i18n.rb
<|file_sep|>current/lib/kaminari-i18n.rb
<|file_sep|>updated/lib/kaminari-i18n.rb
require 'rails'
module KaminariI18n
class Engine < ::Rails::Engine
end
class Railtie < ::Rails::Railtie #:nodoc:
initializer 'kaminari-i18n' do |app|
KaminariI18n::Railtie.ins... | 137d1a9d3e2de6a21d99ae3309b9a7ce34bc4334 | lib/kaminari-i18n.rb | lib/kaminari-i18n.rb | Ruby |
<|file_sep|>original/snappy/kernel/snapcraft.yaml
description: This is longsleep Pine64 kernel from linux-pine64 branch pine64-hacks-1.2
type: kernel
architectures: [ arm64 ]
parts:
kernel:
plugin: kernel
source: https://github.com/longsleep/linux-pine64.git
source-branch: pine64-hacks-1.2
... | type: kernel
architectures: [ arm64 ]
parts:
kernel:
plugin: kernel
source: https://github.com/longsleep/linux-pine64.git
source-branch: pine64-hacks-1.2
source-type: git
kdefconfig: [sun50iw1p1smp_linux_defconfig]
kconfigs:
- CONFIG_LOCALVERSION="-pine64... | <|file_sep|>original/snappy/kernel/snapcraft.yaml
description: This is longsleep Pine64 kernel from linux-pine64 branch pine64-hacks-1.2
type: kernel
architectures: [ arm64 ]
parts:
kernel:
plugin: kernel
source: https://github.com/longsleep/linux-pine64.git
source-branch: pine64-hacks-1.2
... | 019b0db4fca255a37425a2237f8994a61e99d0ce | snappy/kernel/snapcraft.yaml | snappy/kernel/snapcraft.yaml | YAML |
<|file_sep|>original/README.md
# BrainCore
[](https://travis-ci.org/aleph7/BrainCore)
BrainCore is a simple but fast neural network framework written in Swift. It uses [Upsurge](https://github.com/aleph7/Upsurge) and the underlying Accelerate fr... | # BrainCore
[](https://travis-ci.org/aleph7/BrainCore)
[](https://img.shields.io/cocoapods/v/BrainCore.svg)
[](https://travis-ci.org/aleph7/BrainCore)
BrainCore is a simple but fast neural network framework written in Swift. It uses [Upsurge](https://github.com/aleph7/Upsurge) and the underlying Accelerate fr... | ee156d5b0341323b3b431db5b50e45b352d13734 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
branches:
only:
- master
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode611
env:
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
before_install:
- gem install xcpretty -N
script:
- set -o pipefail
- xcodebuild -project Alamofire.xcodeproj -scheme "A... | language: objective-c
osx_image: xcode611
branches:
only:
- master
env:
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
before_install:
- gem install xcpretty -N
script:
- set -o pipefail
- xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator
-destination "platform=iOS Simulator,name=iPh... | <|file_sep|>.travis.yml.diff
original:
updated:
branches:
only:
- master
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode611
env:
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
before_install:
- gem install xcpretty -N
script:
- set -o pipefail
- xcodebuild -project Alamofire.xcodeproj -scheme "A... | 90c4d77be8af79fba58f276bc8f6bbc30e35c8d3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/setup.py
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django',
'Framework :: Aiohttp',
],
include_package_data=True,
zip_... | 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django',
'Framework :: Aiohttp',
],
include_package_data=True,
zip_safe=False,
install_requires=[
'django',
'psycopg2',... | <|file_sep|>original/setup.py
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Django',
'Framework :: Aiohttp',
],
include_package_data=True,
zip_... | fd1a0850f9c4c5c34accf64af47ac9bbf25faf74 | setup.py | setup.py | Python |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
gemfile:
- Gemfile
- test/gemfiles/Gemfile.rails-4.0.x
- test/gemfiles/Gemfile.rails-4.1.x
- test/gemfiles/Gemfile.rails-4.2.x
matrix:
exclude:
- gemfile: Gemfile
rvm: 1.9.3
- gemfile: Gemfile
rvm: 2.0.0
notificat... | language: ruby
cache: bundler
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
gemfile:
- Gemfile
- test/gemfiles/Gemfile.rails-4.0.x
- test/gemfiles/Gemfile.rails-4.1.x
- test/gemfiles/Gemfile.rails-4.2.x
matrix:
exclude:
- gemfile: Gemfile | <|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
gemfile:
- Gemfile
- test/gemfiles/Gemfile.rails-4.0.x
- test/gemfiles/Gemfile.rails-4.1.x
- test/gemfiles/Gemfile.rails-4.2.x
matrix:
exclude:
- gemfile: Gemfile
rvm: 1.9.3
- gemfile: Gemfile
rvm: 2.0.0
notificat... | 73adb7cdfab7b7e717a2e1d34bb99ff9b6044ca7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/rest-api/src/main/resources/definitions/exporter3_configuration.yml
SNS topic to publish to when a study is initialized in this app. (This is not used for study configs.)
dataAccessTeamId:
type: integer
format: int64
description: |
Synapse team ID... | SNS topic to publish to when a study is initialized in this app. (This is not used for study configs.)
dataAccessTeamId:
type: integer
format: int64
description: |
Synapse team ID that is granted read access to exported health data records.
participantVersionTable... | <|file_sep|>original/rest-api/src/main/resources/definitions/exporter3_configuration.yml
SNS topic to publish to when a study is initialized in this app. (This is not used for study configs.)
dataAccessTeamId:
type: integer
format: int64
description: |
Synapse team ID... | 6309d64e172eaf18d61b253af41c530d0e04ddb9 | rest-api/src/main/resources/definitions/exporter3_configuration.yml | rest-api/src/main/resources/definitions/exporter3_configuration.yml | YAML |
<|file_sep|>original/CHANGELOG.md
Version: 0.1.10
------------
- Fix errors writing single/multiple items of bit and byte length
- Fix errors writing arrays of boolean with length greater than 8 and at least one true value
Version: 0.1.9
------------
- Fix missing self.globalWriteBlockList reinitialize
- remove depend... | Version: 0.1.11
------------
- Fix error when reading across multiple DBs
Version: 0.1.10
------------
- Fix errors writing single/multiple items of bit and byte length
- Fix errors writing arrays of boolean with length greater than 8 and at least one true value
Version: 0.1.9
------------
- Fix missing self.globalWr... | <|file_sep|>original/CHANGELOG.md
Version: 0.1.10
------------
- Fix errors writing single/multiple items of bit and byte length
- Fix errors writing arrays of boolean with length greater than 8 and at least one true value
Version: 0.1.9
------------
- Fix missing self.globalWriteBlockList reinitialize
- remove depend... | 62b35c0597aee140bd9bb062bc428955356bb695 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/builds/freenas-releng-beta/freenas.cfg
<|file_sep|>current/builds/freenas-releng-beta/freenas.cfg
<|file_sep|>updated/builds/freenas-releng-beta/freenas.cfg | #!/bin/sh
# FreeNAS Build configuration settings
# Which FreeNAS git URL to clone
GITFNASURL="https://github.com/freenas/build.git"
export GITFNASURL
# Branch of the FreeNAS repo to build with
# Available (freenas10)
GITFNASBRANCH=${CHECKOUT_TAG}
export GITFNASBRANCH
# Set location for release to be stored
TARGETREL... | <|file_sep|>original/builds/freenas-releng-beta/freenas.cfg
<|file_sep|>current/builds/freenas-releng-beta/freenas.cfg
<|file_sep|>updated/builds/freenas-releng-beta/freenas.cfg
#!/bin/sh
# FreeNAS Build configuration settings
# Which FreeNAS git URL to clone
GITFNASURL="https://github.com/freenas/build.git"
export ... | 537e4ba794a7e22d67b7118a37f964a460a1495b | builds/freenas-releng-beta/freenas.cfg | builds/freenas-releng-beta/freenas.cfg | INI |
<|file_sep|>.travis.yml.diff
original:
python:
- '3.4'
- '3.5'
- '3.6'
updated:
<|file_sep|>.travis.yml.diff
original:
install:
updated:
before_script:
<|file_sep|>original/.travis.yml
language: python
sudo: false
cache: pip
python:
- '3.4'
- '3.5'
- '3.6'
before_install:
- openssl aes-256-cbc -K $enc... | cache: pip
before_install:
- openssl aes-256-cbc -K $encrypted_12e75a453f27_key -iv $encrypted_12e75a453f27_iv -in gcs-service-account.json.enc -out gcs-service-account.json -d
before_script:
- pip install --upgrade setuptools
- pip install tox-travis
script: tox
matrix:
include:
- python: 3.4
env... | <|file_sep|>.travis.yml.diff
original:
python:
- '3.4'
- '3.5'
- '3.6'
updated:
<|file_sep|>.travis.yml.diff
original:
install:
updated:
before_script:
<|file_sep|>original/.travis.yml
language: python
sudo: false
cache: pip
python:
- '3.4'
- '3.5'
- '3.6'
before_install:
- openssl aes-256-cbc -K $enc... | b743ca77a930e2c1ebc39c8be696f7122087fbbb | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/co/control-monad-omega.yaml.diff
original:
hash: a86000b272abe483c3fc250d7fa0d0cb95da9e11fcc9e3abb1ff535b812c3b09
updated:
hash: b49c748a4bbf5e71c8d5c31837aacd4f5d21030abd7de06158ce31a474a55a8f
<|file_sep|>packages/co/control-monad-omega.yaml.diff
original:
base: <=4.13
updated:
base: ! '>=4.3 ... | changelog-type: ''
hash: b49c748a4bbf5e71c8d5c31837aacd4f5d21030abd7de06158ce31a474a55a8f
test-bench-deps: {}
maintainer: lrpalmer@gmail.com
synopsis: A breadth-first list monad.
changelog: ''
basic-deps:
base: ! '>=4.3 && <5'
all-versions:
- '0.1'
- '0.2'
- '0.3'
- 0.3.1
- 0.3.2
author: Luke Palmer
latest: 0.3.2
des... | <|file_sep|>packages/co/control-monad-omega.yaml.diff
original:
hash: a86000b272abe483c3fc250d7fa0d0cb95da9e11fcc9e3abb1ff535b812c3b09
updated:
hash: b49c748a4bbf5e71c8d5c31837aacd4f5d21030abd7de06158ce31a474a55a8f
<|file_sep|>packages/co/control-monad-omega.yaml.diff
original:
base: <=4.13
updated:
base: ! '>=4.3 ... | 5800a2a774d7ff8193eb35b373ec43a34d43e8bc | packages/co/control-monad-omega.yaml | packages/co/control-monad-omega.yaml | YAML |
<|file_sep|>original/installer/make.ps1
<|file_sep|>current/installer/make.ps1
<|file_sep|>updated/installer/make.ps1 | $launcherExe = "../RXL.WPFClient/bin/Release/RXL.exe"
$versionObj = [System.Reflection.Assembly]::LoadFrom($launcherExe).GetName().Version
$version = $versionObj.Major.ToString() + "." + $versionObj.Minor.ToString() + "." + $versionObj.Build.ToString()
"Building installer, setting version to " + $version + "."
Remove... | <|file_sep|>original/installer/make.ps1
<|file_sep|>current/installer/make.ps1
<|file_sep|>updated/installer/make.ps1
$launcherExe = "../RXL.WPFClient/bin/Release/RXL.exe"
$versionObj = [System.Reflection.Assembly]::LoadFrom($launcherExe).GetName().Version
$version = $versionObj.Major.ToString() + "." + $versionObj.M... | e9ff250312a00a538353d2fc031139c09f341175 | installer/make.ps1 | installer/make.ps1 | PowerShell |
<|file_sep|>original/console-test.rb
<|file_sep|>current/console-test.rb
<|file_sep|>updated/console-test.rb | p1 = Player.create(name: "kieran")
p2 = Player.create(name: "pragya")
p3 = Player.create(name: "mitch")
p4 = Player.create(name: "mikee")
# Start a new game - controller action
game = Game.create
# Add players to the game - controller action?
game.players << p1 << p2 << p3 << p4
# Start a new round- controller actio... | <|file_sep|>original/console-test.rb
<|file_sep|>current/console-test.rb
<|file_sep|>updated/console-test.rb
p1 = Player.create(name: "kieran")
p2 = Player.create(name: "pragya")
p3 = Player.create(name: "mitch")
p4 = Player.create(name: "mikee")
# Start a new game - controller action
game = Game.create
# Add playe... | e8bff3cc1bb6f35de10ce3784c2da65486c3336b | console-test.rb | console-test.rb | Ruby |
<|file_sep|>original/recipes/bokeh_conda_requirements/meta.yaml
{% set name = "bokeh_conda_requirements" %}
{% set version = "0.12.6" %}
package:
name: {{ name }}
version: {{ version }}
build:
number: 0
noarch: True
string: py2_0 # [py2k]
string: py3_0 # [py3k]
requirements:
run:
- python 2.* # ... | {% set name = "bokeh_conda_requirements" %}
{% set version = "0.12.7" %}
package:
name: {{ name }}
version: {{ version }}
build:
number: 0
noarch: True
string: py2_0 # [py2k]
string: py3_0 # [py3k]
requirements:
run:
- python 2.* # [py2k]
- python 3.* # [py3k]
- six >=1.5.2
- reques... | <|file_sep|>original/recipes/bokeh_conda_requirements/meta.yaml
{% set name = "bokeh_conda_requirements" %}
{% set version = "0.12.6" %}
package:
name: {{ name }}
version: {{ version }}
build:
number: 0
noarch: True
string: py2_0 # [py2k]
string: py3_0 # [py3k]
requirements:
run:
- python 2.* # ... | 1a92c8b00f6aacbbf25b385e99b34eadd3840986 | recipes/bokeh_conda_requirements/meta.yaml | recipes/bokeh_conda_requirements/meta.yaml | YAML |
<|file_sep|>public/app/index.js.diff
original:
updated:
// handle any errors
if (!response.ok) {
return response.json().then(function (errorBody) {
throw new Error(errorBody.description || 'An error occurred while fetching restaurants');
});
}
// no erro... | if (!response.ok) {
return response.json().then(function (errorBody) {
throw new Error(errorBody.description || 'An error occurred while fetching restaurants');
});
}
// no errors, parse response json
return response.json();
});
}
var $status =... | <|file_sep|>public/app/index.js.diff
original:
updated:
// handle any errors
if (!response.ok) {
return response.json().then(function (errorBody) {
throw new Error(errorBody.description || 'An error occurred while fetching restaurants');
});
}
// no erro... | 87df49dddc7d420105b054276049bfb410fdd9ba | public/app/index.js | public/app/index.js | JavaScript |
<|file_sep|>original/recipes/wgs-assembler/build.sh
cd $SRC_DIR/kmer
make install prefix=$PREFIX
cd $SRC_DIR/src
make
cd ../
ls
mkdir -p $PREFIX/bin
if [ `uname` == Darwin ]; then
mv Darwin-amd64/bin/* $PREFIX/bin/
else
mv Linux-amd64/bin/* $PREFIX/bin/
fi
<|file_sep|>current/recipes/wgs-assembler/build.sh
cd... | export INCLUDE_PATH="${PREFIX}/include"
export LIBRARY_PATH="${PREFIX}/lib"
export LD_LIBRARY_PATH="${PREFIX}/lib"
export LDFLAGS="-L${PREFIX}/lib"
export CPPFLAGS="-I${PREFIX}/include"
cd $SRC_DIR/kmer
make install prefix=$PREFIX
cd $SRC_DIR/src
make
cd ../
ls
mkdir -p $PREFIX/bin
if [ `uname` == Darwin ]; then
... | <|file_sep|>original/recipes/wgs-assembler/build.sh
cd $SRC_DIR/kmer
make install prefix=$PREFIX
cd $SRC_DIR/src
make
cd ../
ls
mkdir -p $PREFIX/bin
if [ `uname` == Darwin ]; then
mv Darwin-amd64/bin/* $PREFIX/bin/
else
mv Linux-amd64/bin/* $PREFIX/bin/
fi
<|file_sep|>current/recipes/wgs-assembler/build.sh
cd... | b20f6f010ad7529dc2fa4af65ad178b0c5ed5d07 | recipes/wgs-assembler/build.sh | recipes/wgs-assembler/build.sh | Shell |
<|file_sep|>original/manifests/bin/db-add.py
#!/usr/bin/env python
import pymysql
import os
import syslog
host = os.environ['DB_HOST']
user = os.environ['DB_USER']
password = os.environ['DB_PASSWORD']
db = os.environ['DB_DATABASE']
syslog.openlog(facility=syslog.LOG_USER)
syslog.syslog("Inserting new business data in... | #!/usr/bin/env python
import pymysql
import os
import syslog
host = os.environ['DB_HOST']
user = os.environ['DB_USER']
password = os.environ['DB_PASSWORD']
db = os.environ['DB_DATABASE']
syslog.openlog(logoption=syslog.LOG_PID, facility=syslog.LOG_USER)
syslog.syslog("Inserting new business data into database.")
con... | <|file_sep|>original/manifests/bin/db-add.py
#!/usr/bin/env python
import pymysql
import os
import syslog
host = os.environ['DB_HOST']
user = os.environ['DB_USER']
password = os.environ['DB_PASSWORD']
db = os.environ['DB_DATABASE']
syslog.openlog(facility=syslog.LOG_USER)
syslog.syslog("Inserting new business data in... | 3318165728145a97a1b9b87ac212945d087c1e14 | manifests/bin/db-add.py | manifests/bin/db-add.py | Python |
<|file_sep|>original/build_all.sh
<|file_sep|>current/build_all.sh
<|file_sep|>updated/build_all.sh | #!/bin/bash
set -e # Exit immediately if a command exits with a non-zero status.
projects=("analytics" "flavors" "hello" "hello-feature-module" "hello-kotlin" "service")
for p in ${projects[@]}; do
echo
echo
echo Building $p
echo "====================================================================="
... | <|file_sep|>original/build_all.sh
<|file_sep|>current/build_all.sh
<|file_sep|>updated/build_all.sh
#!/bin/bash
set -e # Exit immediately if a command exits with a non-zero status.
projects=("analytics" "flavors" "hello" "hello-feature-module" "hello-kotlin" "service")
for p in ${projects[@]}; do
echo
echo
... | 7135c01dc59570f07f515b15c554698ccc45c201 | build_all.sh | build_all.sh | Shell |
<|file_sep|>original/resources/scss/utilities/_width.scss
.u-width-12\/12 {
$-base-size: (100% / 12);
width: ($-base-size * 12) !important;
}
.u-width-4\/12\@m {
@media (min-width: breakpoint(m)) {
$-base-size: (100% / 12);
width: ($-base-size * 4) !important;
}
}
<|file_sep|>current/resources/scss/uti... | @import '../../avalanche/packages/avalanchesass-utility-width/scss/index'; | <|file_sep|>original/resources/scss/utilities/_width.scss
.u-width-12\/12 {
$-base-size: (100% / 12);
width: ($-base-size * 12) !important;
}
.u-width-4\/12\@m {
@media (min-width: breakpoint(m)) {
$-base-size: (100% / 12);
width: ($-base-size * 4) !important;
}
}
<|file_sep|>current/resources/scss/uti... | 4306eca21ecbf63530460789a044d97759ca3873 | resources/scss/utilities/_width.scss | resources/scss/utilities/_width.scss | SCSS |
<|file_sep|>original/demos/dashboard/ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kubernetes-dashboard
namespace: kube-system
spec:
rules:
- http:
paths:
- path: /dashboard
backend:
serviceName: kubernetes-dashboard
servicePort: 80
<|file_sep|... | apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kubernetes-dashboard
namespace: kube-system
annotations:
traefik.frontend.rule.type: pathprefixstrip
spec:
rules:
- http:
paths:
- path: /dashboard
backend:
serviceName: kubernetes-dashboard
servicePort: 8... | <|file_sep|>original/demos/dashboard/ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kubernetes-dashboard
namespace: kube-system
spec:
rules:
- http:
paths:
- path: /dashboard
backend:
serviceName: kubernetes-dashboard
servicePort: 80
<|file_sep|... | 9bd62c5ffa6ae3df5bcbc58afd3125bff8d8c4d2 | demos/dashboard/ingress.yaml | demos/dashboard/ingress.yaml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "4"
after_script:
- make test-cov
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "4"
after_script:
- make test-cov
<|file_sep|>updated/.travis.yml | language: node_js
sudo: false
node_js:
- "0.10"
- "4"
- "6"
- "node"
after_script:
- make test-cov | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "4"
after_script:
- make test-cov
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "0.10"
- "4"
after_script:
- make test-cov
<|file_sep|>updated/.travis.yml
language: node_js
sudo: false
node_js:
... | 1c83289f31dce316969aa78fc860805207695ac6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "7"
addons:
code_climate:
repo_token: 49eddeba6c3d0713fb7959b0460acee77bf8796cc4d9b75fec5b0c55cb0b4411
after_success:
- npm install -g codeclimate-test-reporter
- codeclimate-test-reporter < lcov.info | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "7"
addons:
code_climate:
repo_token: 49eddeba6c3d0713fb7959b0460acee77bf8796cc4d9b75fec5b0c55cb0b4411
after_success... | 77b2d63432a8915a79c54ca88ded14b65ab31093 | .travis.yml | .travis.yml | YAML |
<|file_sep|>oss_scripts/kokoro/linux/release.sh.diff
original:
source "${KOKORO_GFILE_DIR}/common.sh"
updated:
PY_VERSION=${1}
<|file_sep|>original/oss_scripts/kokoro/linux/release.sh
#!/bin/bash
set -e # fail and exit on any command erroring
set -x # print evaluated commands
source "${KOKORO_GFILE_DIR}/common.sh"
... | #!/bin/bash
set -e # fail and exit on any command erroring
set -x # print evaluated commands
PY_VERSION=${1}
# install deps
"pip${PY_VERSION}" install --user --upgrade attrs
"pip${PY_VERSION}" install keras_applications==1.0.8 --no-deps --user
"pip${PY_VERSION}" install keras_preprocessing==1.0.2 --no-deps --user
"... | <|file_sep|>oss_scripts/kokoro/linux/release.sh.diff
original:
source "${KOKORO_GFILE_DIR}/common.sh"
updated:
PY_VERSION=${1}
<|file_sep|>original/oss_scripts/kokoro/linux/release.sh
#!/bin/bash
set -e # fail and exit on any command erroring
set -x # print evaluated commands
source "${KOKORO_GFILE_DIR}/common.sh"
... | 11d94e715d154766054de7db04b196f3e057917b | oss_scripts/kokoro/linux/release.sh | oss_scripts/kokoro/linux/release.sh | Shell |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
script:
- bundle exec rake spec
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
script:
- bundle exec rake spec
<|file_sep|>updated/.travis.yml | language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.0
- 2.3.0
script:
- bundle exec rake spec | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
script:
- bundle exec rake spec
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
script:
- bundle exec rake spec
<|file_sep|>updated/.travis.yml
langu... | 5880df17c65460e21367e409967af0af9499dbc7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/js/utils/email-utils.js.diff
original:
updated:
const { protocol, hostname, port } = location
const thisUrl = `${protocol}//${hostname}${port && `:${port}`}`
const seedRecovery = `${thisUrl}/seed?encrypted=${encodeURIComponent(
encryptedSeed
)}`
<|file_sep|>original/app/js/utils/email-util... | ): Promise<any> {
const { protocol, hostname, port } = location
const thisUrl = `${protocol}//${hostname}${port && `:${port}`}`
const seedRecovery = `${thisUrl}/seed?encrypted=${encodeURIComponent(
encryptedSeed
)}`
return ServerAPI.post('/restore', {
email,
encryptedSeed,
blockstackId,
s... | <|file_sep|>app/js/utils/email-utils.js.diff
original:
updated:
const { protocol, hostname, port } = location
const thisUrl = `${protocol}//${hostname}${port && `:${port}`}`
const seedRecovery = `${thisUrl}/seed?encrypted=${encodeURIComponent(
encryptedSeed
)}`
<|file_sep|>original/app/js/utils/email-util... | 4222dd2e371085594d579c0f444c50c7caec0560 | app/js/utils/email-utils.js | app/js/utils/email-utils.js | JavaScript |
<|file_sep|>original/Solution/CodeProject.Data/Properties/AssemblyInfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CodeProject - EF Library")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CodeProject - EF Library")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("AREBIS")]
[assembly: AssemblyProduct("CodeProject - EF")]
[a... | <|file_sep|>original/Solution/CodeProject.Data/Properties/AssemblyInfo.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CodeProject - EF Library")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Ass... | 60d1e44e01a00e42674d92b263269192996d14b8 | Solution/CodeProject.Data/Properties/AssemblyInfo.cs | Solution/CodeProject.Data/Properties/AssemblyInfo.cs | C# |
<|file_sep|>.travis.yml.diff
original:
branches:
only:
- master
updated:
<|file_sep|>original/.travis.yml
install:
- pip install tox
- pip install codecov
env:
- TOX_ENV=django18
- TOX_ENV=django110
- TOX_ENV=django111
matrix:
include:
- python: 3.5
env: TOX_ENV=docs
script:
- tox -e $TOX... | - TOX_ENV=django18
- TOX_ENV=django110
- TOX_ENV=django111
matrix:
include:
- python: 3.5
env: TOX_ENV=docs
script:
- tox -e $TOX_ENV
after_success:
- codecov
deploy:
provider: pypi
user: edx
password:
secure: GMMSN5LVnZjrolwh293uIM9oxdl7NP6ksUzuiupHuFhW6KdxL9YWmQ+XNal6uThPoShmOdjpAvjAmf... | <|file_sep|>.travis.yml.diff
original:
branches:
only:
- master
updated:
<|file_sep|>original/.travis.yml
install:
- pip install tox
- pip install codecov
env:
- TOX_ENV=django18
- TOX_ENV=django110
- TOX_ENV=django111
matrix:
include:
- python: 3.5
env: TOX_ENV=docs
script:
- tox -e $TOX... | edaeb070b95da984012832a596ae3db852022e56 | .travis.yml | .travis.yml | YAML |
<|file_sep|>views/checkouts/new.jade.diff
original:
updated:
for msg in messages
div #{msg.msg}
<|file_sep|>original/views/checkouts/new.jade
h1 Checkout
label(for="amount") amount
input(type="text", name="amount", id="amount")
form(id='checkout', action='/checkout', method='post')
div(id='payment-form')
input(... | for msg in messages
div #{msg.msg}
h1 Checkout
label(for="amount") amount
input(type="text", name="amount", id="amount")
form(id='checkout', action='/checkouts', method='post')
div(id='payment-form')
input(type='submit', value='Pay $10')
script(src='https://js.braintreegateway.com/v2/braintree.js')
script.
va... | <|file_sep|>views/checkouts/new.jade.diff
original:
updated:
for msg in messages
div #{msg.msg}
<|file_sep|>original/views/checkouts/new.jade
h1 Checkout
label(for="amount") amount
input(type="text", name="amount", id="amount")
form(id='checkout', action='/checkout', method='post')
div(id='payment-form')
input(... | 41d18908d571a496d8824b360c081c7c0456bc5f | views/checkouts/new.jade | views/checkouts/new.jade | Jade |
<|file_sep|>original/server/routes/UserRoutes.js
import express from 'express';
import UserController from '../controllers/UserController';
const userRouter = express.Router();
userRouter.post('/api/user/signup', UserController.createUser());
userRouter.post('/api/user/signin', [
UserController.validateRequest(),
... | import express from 'express';
import UserController from '../controllers/UserController';
const userRouter = express.Router();
userRouter.post('/api/user/signup', UserController.createUser());
userRouter.post('/api/user/signin', [
UserController.validateRequest(),
UserController.authenticateUser()
]);
userRouter.... | <|file_sep|>original/server/routes/UserRoutes.js
import express from 'express';
import UserController from '../controllers/UserController';
const userRouter = express.Router();
userRouter.post('/api/user/signup', UserController.createUser());
userRouter.post('/api/user/signin', [
UserController.validateRequest(),
... | 0a95b27d95b6310072080a41e1edcb5af75b32d1 | server/routes/UserRoutes.js | server/routes/UserRoutes.js | JavaScript |
<|file_sep|>original/requirements.txt
-e .
# Testing requirements
pyyaml
pytest
mock
flake8
<|file_sep|>current/requirements.txt
-e .
# Testing requirements
pyyaml
pytest
mock
flake8
<|file_sep|>updated/requirements.txt | -e .
# Testing requirements
pyyaml
pytest
mock
flake8
# Doc requirements
sphinx_rtd_theme
sphinx | <|file_sep|>original/requirements.txt
-e .
# Testing requirements
pyyaml
pytest
mock
flake8
<|file_sep|>current/requirements.txt
-e .
# Testing requirements
pyyaml
pytest
mock
flake8
<|file_sep|>updated/requirements.txt
-e .
# Testing requirements
pyyaml
pytest
mock
flake8
# Doc requirements
sphinx_rtd_theme
sphinx | 6176d1500b3c9a0ccc68df8ebd10ec06096620c8 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/include/types.h
#ifndef TYPES_H
#define TYPES_H
// Explicitly-sized versions of integer types
typedef __signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
typedef long long int64_t;
typedef ... | #ifndef TYPES_H
#define TYPES_H
// Explicitly-sized versions of integer types
typedef __signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
typedef... | <|file_sep|>original/include/types.h
#ifndef TYPES_H
#define TYPES_H
// Explicitly-sized versions of integer types
typedef __signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
typedef long long int64_t;
typedef ... | b85b36e461985e3732e346d850e69f9e28135044 | include/types.h | include/types.h | C |
<|file_sep|>cms_shiny/templates/cms_shiny/_shiny_list_item.html.diff
original:
<a class="thumbnail" href="{% url 'cms_shiny:shiny_detail' shiny_app.slug %}">
updated:
<div class="thumbnail">
<a href="{% url 'cms_shiny:shiny_detail' shiny_app.slug %}">
<|file_sep|>cms_shiny/templates/cms_shiny/_shiny_list_item.html.di... | {% addtoblock "css" strip %}
<link rel="stylesheet" type="text/css" href="{% static 'cms_shiny/app.css' %}">
{% endaddtoblock %}
<div class="thumbnail">
<a href="{% url 'cms_shiny:shiny_detail' shiny_app.slug %}">
{% if shiny_app.image %}
<img src="{{ shiny_app.image.url }}" alt="{{ shiny_app.name }}">
... | <|file_sep|>cms_shiny/templates/cms_shiny/_shiny_list_item.html.diff
original:
<a class="thumbnail" href="{% url 'cms_shiny:shiny_detail' shiny_app.slug %}">
updated:
<div class="thumbnail">
<a href="{% url 'cms_shiny:shiny_detail' shiny_app.slug %}">
<|file_sep|>cms_shiny/templates/cms_shiny/_shiny_list_item.html.di... | f06c3c6dcd42c821553a6173619378fd7ab8fd91 | cms_shiny/templates/cms_shiny/_shiny_list_item.html | cms_shiny/templates/cms_shiny/_shiny_list_item.html | HTML |
<|file_sep|>original/destroyContainer.sh
# Add common variables.
source ~/ci/config
source ~/ci/config.default
# Destroy Jenkins server container.
source ~/jenkins-docker/destroyJenkins.sh
# Destroy Redmine server container.
source ~/redmine-docker/destroyRedmine.sh
# Destroy Gerrit server container.
source ~/gerrit... | source ~/ci/config.default
# Destroy Jenkins server container.
source ~/jenkins-docker/destroyJenkins.sh
# Destroy Redmine server container.
source ~/redmine-docker/destroyRedmine.sh
# Destroy Gerrit server container.
source ~/gerrit-docker/destroyGerrit.sh
# Destroy Nginx proxy server container.
source ~/nginx-doc... | <|file_sep|>original/destroyContainer.sh
# Add common variables.
source ~/ci/config
source ~/ci/config.default
# Destroy Jenkins server container.
source ~/jenkins-docker/destroyJenkins.sh
# Destroy Redmine server container.
source ~/redmine-docker/destroyRedmine.sh
# Destroy Gerrit server container.
source ~/gerrit... | eebac4eb06094517a084e288fd58087a0bd5b426 | destroyContainer.sh | destroyContainer.sh | Shell |
<|file_sep|>original/lib/bionya/diagram.rb
include Jsonizable
define_group_properties(:options, [:range, :width, :color, :fill_by, :x, :y, :layer, :axis])
def process_data(df, labels)
x(labels[0])
y(labels[1])
nested = df.column(labels[2]) # 'nested_label' column from Circula... | include Jsonizable
define_group_properties(:options, [:range, :width, :color, :fill_by, :x, :y, :layer, :axis])
def process_data(df, labels)
x(labels[0])
y(labels[1])
nested = df.column(labels[2]) # 'nested_label' column from CircularPlot
raise 'received dataframe is ... | <|file_sep|>original/lib/bionya/diagram.rb
include Jsonizable
define_group_properties(:options, [:range, :width, :color, :fill_by, :x, :y, :layer, :axis])
def process_data(df, labels)
x(labels[0])
y(labels[1])
nested = df.column(labels[2]) # 'nested_label' column from Circula... | 1284efb24366421b91fb3f47c46d8230603d0710 | lib/bionya/diagram.rb | lib/bionya/diagram.rb | Ruby |
<|file_sep|>pkgs/applications/graphics/ImageMagick/default.nix.diff
original:
name = "ImageMagick-6.3.7-9";
updated:
name = "ImageMagick-6.3.7-10";
<|file_sep|>pkgs/applications/graphics/ImageMagick/default.nix.diff
original:
url = ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.7-9.tar.bz2;
sha25... |
configureFlags = " --with-dots --with-gs-font-dir="+ ghostscript +
"/share/ghostscript/fonts --with-gslib " +(
if args ? tetex then " --with-frozenpaths " else ""
);
buildInputs = [bzip2 freetype ghostscript graphviz libjpeg libpng
libtiff libX11 libxml2 zlib libtool] ++ (if args ? tetex then [args.tetex... | <|file_sep|>pkgs/applications/graphics/ImageMagick/default.nix.diff
original:
name = "ImageMagick-6.3.7-9";
updated:
name = "ImageMagick-6.3.7-10";
<|file_sep|>pkgs/applications/graphics/ImageMagick/default.nix.diff
original:
url = ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.7-9.tar.bz2;
sha25... | 59ff810f8344830ebd5d1ddb0a0212baf4bccd23 | pkgs/applications/graphics/ImageMagick/default.nix | pkgs/applications/graphics/ImageMagick/default.nix | Nix |
<|file_sep|>original/lib/rails/controller/testing/integration.rb
module Rails
module Controller
module Testing
module Integration
%w(
get post patch put head delete xml_http_request
xhr get_via_redirect post_via_redirect
).each do |method|
define_method(method)... | module Rails
module Controller
module Testing
module Integration
%w(
get post patch put head delete
get_via_redirect post_via_redirect
).each do |method|
define_method(method) do |*args|
reset_template_assertion
super(*args)
en... | <|file_sep|>original/lib/rails/controller/testing/integration.rb
module Rails
module Controller
module Testing
module Integration
%w(
get post patch put head delete xml_http_request
xhr get_via_redirect post_via_redirect
).each do |method|
define_method(method)... | bdfb1001ed80cdc50467b139c92a82fab02ae02e | lib/rails/controller/testing/integration.rb | lib/rails/controller/testing/integration.rb | Ruby |
<|file_sep|>docs/linux_symposium_2014/proposal.tex.diff
original:
We introduce a brand new C++ performance analysis toolkit on Linux, called "pat".
updated:
This paper introduces a C++ performance analysis toolkit on Linux, called "pat".
<|file_sep|>docs/linux_symposium_2014/proposal.tex.diff
original:
"pat" can use as... | This paper introduces a C++ performance analysis toolkit on Linux, called "pat".
"pat" combines perf_events and unit tests together and gives programmers the power of fine-grained performance analysis via writing typical test cases.
"pat" integrates precise timer, symbol tables, and call-graph.
User only has to write... | <|file_sep|>docs/linux_symposium_2014/proposal.tex.diff
original:
We introduce a brand new C++ performance analysis toolkit on Linux, called "pat".
updated:
This paper introduces a C++ performance analysis toolkit on Linux, called "pat".
<|file_sep|>docs/linux_symposium_2014/proposal.tex.diff
original:
"pat" can use as... | 27a468e06966b251f3e192b4ef9abc1c596025c6 | docs/linux_symposium_2014/proposal.tex | docs/linux_symposium_2014/proposal.tex | TeX |
<|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.12.0
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.12.0
tox==3.0.0
<|file_sep|>updated/requirements.txt | molecule==2.13.0
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.12.0
tox==3.0.0 | <|file_sep|>original/requirements.txt
molecule==2.12.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.12.0
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.12.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.12.0
tox==3.0.0
<|file_sep|>updated/requirements.txt
molecule==2.13.0
pytest==3.5.1
python-vagr... | 4922bfbaad3f9a8ac445c799e4692b41c141f87e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/config/initializers/gds-sso.rb
GDS::SSO.config do |config|
config.user_model = "User"
config.oauth_id = 'abcdefgh12345678pan'
config.oauth_secret = 'secret'
config.default_scope = "Panopticon"
config.oauth_root_url = Plek.current.find("authentication")
config.basic_auth_user = 'ap... | GDS::SSO.config do |config|
config.user_model = "User"
config.oauth_id = 'abcdefgh12345678pan'
config.oauth_secret = 'secret'
config.default_scope = "Panopticon"
config.oauth_root_url = Plek.current.find("signon")
config.basic_auth_user = 'api'
config.basic_auth_password = 'defined_on_rollout_not'
e... | <|file_sep|>original/config/initializers/gds-sso.rb
GDS::SSO.config do |config|
config.user_model = "User"
config.oauth_id = 'abcdefgh12345678pan'
config.oauth_secret = 'secret'
config.default_scope = "Panopticon"
config.oauth_root_url = Plek.current.find("authentication")
config.basic_auth_user = 'ap... | cfdf3ed7a212b2a0996bd47c20fe05f6408f6387 | config/initializers/gds-sso.rb | config/initializers/gds-sso.rb | Ruby |
<|file_sep|>original/spec/helpers/application_helper/buttons/db_seq_edit_spec.rb
<|file_sep|>current/spec/helpers/application_helper/buttons/db_seq_edit_spec.rb
<|file_sep|>updated/spec/helpers/application_helper/buttons/db_seq_edit_spec.rb | describe ApplicationHelper::Button::DbSeqEdit do
let(:view_context) { setup_view_context_with_sandbox({}) }
let(:dashboard_count) { 2 }
let(:widgetsets) { Array.new(dashboard_count) { |_i| FactoryGirl.create(:miq_widget_set) } }
let(:button) { described_class.new(view_context, {}, {'widgetsets' => widgetsets}, ... | <|file_sep|>original/spec/helpers/application_helper/buttons/db_seq_edit_spec.rb
<|file_sep|>current/spec/helpers/application_helper/buttons/db_seq_edit_spec.rb
<|file_sep|>updated/spec/helpers/application_helper/buttons/db_seq_edit_spec.rb
describe ApplicationHelper::Button::DbSeqEdit do
let(:view_context) { setup... | ed74e10737706422b30b5a488bb927bdc2f8248c | spec/helpers/application_helper/buttons/db_seq_edit_spec.rb | spec/helpers/application_helper/buttons/db_seq_edit_spec.rb | Ruby |
<|file_sep|>original/packages/pi/pipes-lzma.yaml
<|file_sep|>current/packages/pi/pipes-lzma.yaml
<|file_sep|>updated/packages/pi/pipes-lzma.yaml | homepage: http://github.com/bgamari/pipes-lzma
changelog-type: ''
hash: 3e01e58f9dade8355a7dd2abc54a030001afb335064ac64cffb435f6ab13e443
test-bench-deps: {}
maintainer: ben@smart-cactus.org
synopsis: LZMA compressors and decompressors for the Pipes package
changelog: ''
basic-deps:
bytestring: ==0.10.*
base: ! '>=4... | <|file_sep|>original/packages/pi/pipes-lzma.yaml
<|file_sep|>current/packages/pi/pipes-lzma.yaml
<|file_sep|>updated/packages/pi/pipes-lzma.yaml
homepage: http://github.com/bgamari/pipes-lzma
changelog-type: ''
hash: 3e01e58f9dade8355a7dd2abc54a030001afb335064ac64cffb435f6ab13e443
test-bench-deps: {}
maintainer: ben@... | 90151f3d29515c501f230307c9bebe894af866f3 | packages/pi/pipes-lzma.yaml | packages/pi/pipes-lzma.yaml | YAML |
<|file_sep|>original/spec/features/parse_pidgin_log_file_spec.rb
<|file_sep|>current/spec/features/parse_pidgin_log_file_spec.rb
<|file_sep|>updated/spec/features/parse_pidgin_log_file_spec.rb | require "spec_helper"
describe "Parse a pidgin log file" do
include FakeFS::SpecHelpers
it "outputs the correct data" do
runner = Pidgin2Adium::Runner.new("./in-logs", ["gabe"])
runner.run
fail "Needs: pidgin file, expected adium output"
end
end | <|file_sep|>original/spec/features/parse_pidgin_log_file_spec.rb
<|file_sep|>current/spec/features/parse_pidgin_log_file_spec.rb
<|file_sep|>updated/spec/features/parse_pidgin_log_file_spec.rb
require "spec_helper"
describe "Parse a pidgin log file" do
include FakeFS::SpecHelpers
it "outputs the correct data" d... | d7f6ace90d67cba56235810436d6dcc29d98f3c6 | spec/features/parse_pidgin_log_file_spec.rb | spec/features/parse_pidgin_log_file_spec.rb | Ruby |
<|file_sep|>app/assets/stylesheets/mixins/_table-mixins.scss.diff
original:
@mixin table-tr() {
updated:
@mixin table-tr($zebra-stripe: "true") {
<|file_sep|>original/app/assets/stylesheets/mixins/_table-mixins.scss
}
@mixin table-heading() {
padding: gutter();
}
@mixin table-tr() {
&:nth-child(even) {
backgr... | }
@mixin table-heading() {
padding: gutter();
}
@mixin table-tr($zebra-stripe: "true") {
&:nth-child(even) {
background-color: $even-td-bg-color;
}
@if $zebra-stripe == "true" {
&:nth-child(odd) {
background-color: $odd-td-bg-color;
}
} @else if $zebra-stripe == "false" {
&:nth-child(o... | <|file_sep|>app/assets/stylesheets/mixins/_table-mixins.scss.diff
original:
@mixin table-tr() {
updated:
@mixin table-tr($zebra-stripe: "true") {
<|file_sep|>original/app/assets/stylesheets/mixins/_table-mixins.scss
}
@mixin table-heading() {
padding: gutter();
}
@mixin table-tr() {
&:nth-child(even) {
backgr... | 51550d66c5d5d4abbec8fa49f7f36fbf53b88c5f | app/assets/stylesheets/mixins/_table-mixins.scss | app/assets/stylesheets/mixins/_table-mixins.scss | SCSS |
<|file_sep|>README.md.diff
original:
from flask import Flask
from flask.ext.simpleldap import LDAP
updated:
```python
from flask import Flask
from flask.ext.simpleldap import LDAP
<|file_sep|>README.md.diff
original:
app = Flask(__name__)
ldap = LDAP(app)
updated:
app = Flask(__name__)
ldap = LDAP(app)
... |
app = Flask(__name__)
ldap = LDAP(app)
app.config['LDAP_BASE_DN'] = 'OU=users,dc=example,dc=org'
app.config['LDAP_USERNAME'] = 'CN=user,OU=Users,DC=example,DC=org'
app.config['LDAP_PASSWORD'] = 'password'
@app.route('/ldap')
@ldap.login_required
def ldap_protected():
return 'Success!'
```
Check the [examples](e... | <|file_sep|>README.md.diff
original:
from flask import Flask
from flask.ext.simpleldap import LDAP
updated:
```python
from flask import Flask
from flask.ext.simpleldap import LDAP
<|file_sep|>README.md.diff
original:
app = Flask(__name__)
ldap = LDAP(app)
updated:
app = Flask(__name__)
ldap = LDAP(app)
... | 1816286463729e3090912af176bb506cd89186e4 | README.md | README.md | Markdown |
<|file_sep|>original/raven-logback/src/test/resources/logback-test.xml
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>[RAVEN] [%-5level] %logger{36} - %msg%n%nopex</pattern>
</encoder>
</appender>
<root level="all">
... | <configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>[RAVEN] [%-5level] %logger{36} - %msg%n%nopex</pattern>
</encoder>
</appender>
<root level="OFF">
<appender-ref ref="STDOUT"/>
</root>
</configuration> | <|file_sep|>original/raven-logback/src/test/resources/logback-test.xml
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>[RAVEN] [%-5level] %logger{36} - %msg%n%nopex</pattern>
</encoder>
</appender>
<root level="all">
... | 4b18f16c44c80d85f37a1130fb3f7a0f89c7f6f3 | raven-logback/src/test/resources/logback-test.xml | raven-logback/src/test/resources/logback-test.xml | XML |
<|file_sep|>original/definitions/sn-centos-6.4/definition.rb
require File.dirname(__FILE__) + "/../.centos/session.rb"
iso = "CentOS-6.4-x86_64-netinstall.iso"
iso_url = "http://mirror.yellowfiber.net/centos/6.4/isos/x86_64/#{iso}"
session =
COMMON_SESSION.merge({ :boot_cmd_sequence =>
[
... | require File.dirname(__FILE__) + "/../.centos/session.rb"
iso = "CentOS-6.4-x86_64-netinstall.iso"
iso_url = "http://mirror.yellowfiber.net/centos/6.4/isos/x86_64/#{iso}"
session =
COMMON_SESSION.merge({ :boot_cmd_sequence =>
[
'<Esc> ',
... | <|file_sep|>original/definitions/sn-centos-6.4/definition.rb
require File.dirname(__FILE__) + "/../.centos/session.rb"
iso = "CentOS-6.4-x86_64-netinstall.iso"
iso_url = "http://mirror.yellowfiber.net/centos/6.4/isos/x86_64/#{iso}"
session =
COMMON_SESSION.merge({ :boot_cmd_sequence =>
[
... | ccdbbd2b563c21c97e1db6a58093f6056c2133b4 | definitions/sn-centos-6.4/definition.rb | definitions/sn-centos-6.4/definition.rb | Ruby |
<|file_sep|>templates/stations/sidebar.phtml.diff
original:
updated:
* @var \App\Acl $acl
<|file_sep|>original/templates/stations/sidebar.phtml
<?php
/**
* @var \App\Entity\Station $station
* @var \App\Assets $assets
*/
$assets->addInlineJs($this->fetch('stations/sidebar.js', ['station' => $station]), 95);
?>
<d... | * @var \App\Assets $assets
* @var \App\Acl $acl
*/
$assets->addInlineJs($this->fetch('stations/sidebar.js', ['station' => $station]), 95);
?>
<div class="navdrawer-header">
<div class="d-flex align-items-center">
<a class="navbar-brand px-0 flex-fill" href="<?= $router->fromHere('stations:profile:index... | <|file_sep|>templates/stations/sidebar.phtml.diff
original:
updated:
* @var \App\Acl $acl
<|file_sep|>original/templates/stations/sidebar.phtml
<?php
/**
* @var \App\Entity\Station $station
* @var \App\Assets $assets
*/
$assets->addInlineJs($this->fetch('stations/sidebar.js', ['station' => $station]), 95);
?>
<d... | c5184b22905c4a6352ca8a7f2704831f88693091 | templates/stations/sidebar.phtml | templates/stations/sidebar.phtml | HTML+PHP |
<|file_sep|>original/lib/rabbit_wq/work_logger.rb
define_method level do |*args|
worker, message = nil, nil
if args.size > 1
worker, message = *args
else
message = args.first
end
if worker
logger.send( level, "[" + Rainbow( "#{worker.class.na... |
define_method level do |*args|
worker, message = nil, nil
if args.size > 1
worker, message = *args
else
message = args.first
end
if worker
logger.send( level, "[[PID:" + Rainbow( Process.pid.to_s ).magenta + "]" + Rainbow( "#{worker.class.nam... | <|file_sep|>original/lib/rabbit_wq/work_logger.rb
define_method level do |*args|
worker, message = nil, nil
if args.size > 1
worker, message = *args
else
message = args.first
end
if worker
logger.send( level, "[" + Rainbow( "#{worker.class.na... | bfab8f61d0af05e5c125deaf872367462cf72594 | lib/rabbit_wq/work_logger.rb | lib/rabbit_wq/work_logger.rb | Ruby |
<|file_sep|>app/assets/stylesheets/layout/page_specific/_error_page.scss.diff
original:
updated:
.l-error-page {
min-height: 600px;
}
<|file_sep|>app/assets/stylesheets/layout/page_specific/_error_page.scss.diff
original:
p:last-child {
text-align: left;
margin-top: $baseline-unit*20;
margin-bottom: $... |
.l-error-page-message {
@include column(12);
text-align: center;
margin-top: $baseline-unit*10;
& + .directory {
background-color: transparent;
}
}
.error-page__text {
@extend .intro;
}
.error-page__directory-text {
text-align: left;
margin-top: $baseline-unit*20;
margin-bottom: $baseline-unit... | <|file_sep|>app/assets/stylesheets/layout/page_specific/_error_page.scss.diff
original:
updated:
.l-error-page {
min-height: 600px;
}
<|file_sep|>app/assets/stylesheets/layout/page_specific/_error_page.scss.diff
original:
p:last-child {
text-align: left;
margin-top: $baseline-unit*20;
margin-bottom: $... | 4dea54f10bc7626c460d5ca2e95f388a77588492 | app/assets/stylesheets/layout/page_specific/_error_page.scss | app/assets/stylesheets/layout/page_specific/_error_page.scss | SCSS |
<|file_sep|>original/app/code/community/Scompany/Sign2pay/Block/RiskAssessment.php
<?php
class Scompany_Sign2pay_Block_RiskAssessment extends Mage_Core_Block_Template
{
protected $_order;
protected function __construct()
{
parent::__construct();
$this->setTemplate('sign2pay/riskassessment.... | <?php
class Scompany_Sign2pay_Block_RiskAssessment extends Mage_Core_Block_Template
{
protected $_order;
public function __construct()
{
parent::__construct();
$this->setTemplate('sign2pay/riskassessment.phtml');
}
protected function _prepareLayout()
{
parent::_prepare... | <|file_sep|>original/app/code/community/Scompany/Sign2pay/Block/RiskAssessment.php
<?php
class Scompany_Sign2pay_Block_RiskAssessment extends Mage_Core_Block_Template
{
protected $_order;
protected function __construct()
{
parent::__construct();
$this->setTemplate('sign2pay/riskassessment.... | 3264d3227a33dbe9560c64ff50edde54b15ec710 | app/code/community/Scompany/Sign2pay/Block/RiskAssessment.php | app/code/community/Scompany/Sign2pay/Block/RiskAssessment.php | PHP |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | 7c9c8567d7c74decacd161e93217db0e0e6ce0df | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>requirements/dev.txt.diff
original:
updated:
pydocstyle==3.0.0
<|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==2.0
factory-boy==2.12.0
Faker==1.0.7
flake8-docstrings==1.3.0
flake8==3.7.7
freezegun==0.3.12
isort==4.3.21
pytest-cov==2.7.1
pytest-django==3.5.1
pytest-factoryboy==2.... | -r base.txt
django-debug-toolbar==2.0
factory-boy==2.12.0
Faker==1.0.7
flake8-docstrings==1.3.0
flake8==3.7.7
freezegun==0.3.12
isort==4.3.21
pydocstyle==3.0.0
pytest-cov==2.7.1
pytest-django==3.5.1
pytest-factoryboy==2.0.2
pytest==5.0.0 | <|file_sep|>requirements/dev.txt.diff
original:
updated:
pydocstyle==3.0.0
<|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==2.0
factory-boy==2.12.0
Faker==1.0.7
flake8-docstrings==1.3.0
flake8==3.7.7
freezegun==0.3.12
isort==4.3.21
pytest-cov==2.7.1
pytest-django==3.5.1
pytest-factoryboy==2.... | acdf8ddd765d6cf3a3b8fea32c0db2188954dca6 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/app/exporters/formatters/maib_report_indexable_formatter.rb
require "formatters/abstract_specialist_document_indexable_formatter"
class MaibReportIndexableFormatter < AbstractSpecialistDocumentIndexableFormatter
def type
"maib_report"
end
private
def extra_attributes
{
date_of... | require "formatters/abstract_specialist_document_indexable_formatter"
class MaibReportIndexableFormatter < AbstractSpecialistDocumentIndexableFormatter
def type
"maib_report"
end
private
def extra_attributes
{
date_of_occurrence: entity.date_of_occurrence,
report_type: entity.report_type,
... | <|file_sep|>original/app/exporters/formatters/maib_report_indexable_formatter.rb
require "formatters/abstract_specialist_document_indexable_formatter"
class MaibReportIndexableFormatter < AbstractSpecialistDocumentIndexableFormatter
def type
"maib_report"
end
private
def extra_attributes
{
date_of... | 06b7dd39610aa4c49526a93b16fdd7aba5bebc90 | app/exporters/formatters/maib_report_indexable_formatter.rb | app/exporters/formatters/maib_report_indexable_formatter.rb | Ruby |
<|file_sep|>xchainer/testing/CMakeLists.txt.diff
original:
updated:
array_check.h
<|file_sep|>original/xchainer/testing/CMakeLists.txt
install(FILES
array.h
context_session.h
device_session.h
DESTINATION include/xchainer/testing
)
if(${ENABLE_TEST})
add_library(xchainer_testing SHARED
... | install(FILES
array.h
array_check.h
context_session.h
device_session.h
util.h
DESTINATION include/xchainer/testing
)
if(${ENABLE_TEST})
add_library(xchainer_testing SHARED
util.cc
gtest_main.cc)
target_link_libraries(xchainer_testing
xchainer)
add_executa... | <|file_sep|>xchainer/testing/CMakeLists.txt.diff
original:
updated:
array_check.h
<|file_sep|>original/xchainer/testing/CMakeLists.txt
install(FILES
array.h
context_session.h
device_session.h
DESTINATION include/xchainer/testing
)
if(${ENABLE_TEST})
add_library(xchainer_testing SHARED
... | c9874383753fdd58bb6066c9e1bd3fc1b961db34 | xchainer/testing/CMakeLists.txt | xchainer/testing/CMakeLists.txt | Text |
<|file_sep|>original/requirements.txt
BeautifulSoup==3.2.1
args==0.1.0
clint==0.5.1
gnureadline==6.3.3
pyglance>=0.3.1
requests==2.14.2
wsgiref==0.1.2
<|file_sep|>current/requirements.txt
BeautifulSoup==3.2.1
args==0.1.0
clint==0.5.1
gnureadline==6.3.3
pyglance>=0.3.1
requests==2.14.2
wsgiref==0.1.2
<|file_sep|>updated... | BeautifulSoup==3.2.1
args==0.1.0
clint==0.5.1
gnureadline==6.3.3
pyglance>=0.3.1
requests==2.15.0
wsgiref==0.1.2 | <|file_sep|>original/requirements.txt
BeautifulSoup==3.2.1
args==0.1.0
clint==0.5.1
gnureadline==6.3.3
pyglance>=0.3.1
requests==2.14.2
wsgiref==0.1.2
<|file_sep|>current/requirements.txt
BeautifulSoup==3.2.1
args==0.1.0
clint==0.5.1
gnureadline==6.3.3
pyglance>=0.3.1
requests==2.14.2
wsgiref==0.1.2
<|file_sep|>updated... | 47be112ad84afb5138b96759234fa05ae8483497 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/locales/tr/addon.properties
<|file_sep|>current/locales/tr/addon.properties
<|file_sep|>updated/locales/tr/addon.properties | tooltip_play= Oynat
tooltip_pause= Duraklat
tooltip_mute= Sesi kapat
tooltip_unmute= Sesi aç
tooltip_send_to_tab= Sekmeye gönder
tooltip_minimize= Küçült
tooltip_maximize= Büyüt
tooltip_close= Kapat
error_msg= Bu videoda ters giden bir şeyler var. Daha sonra yeniden deneyin.
error_link= Yeni sekmede aç
# LOCALIZATION N... | <|file_sep|>original/locales/tr/addon.properties
<|file_sep|>current/locales/tr/addon.properties
<|file_sep|>updated/locales/tr/addon.properties
tooltip_play= Oynat
tooltip_pause= Duraklat
tooltip_mute= Sesi kapat
tooltip_unmute= Sesi aç
tooltip_send_to_tab= Sekmeye gönder
tooltip_minimize= Küçült
tooltip_maximize= B... | 68aff99816498fd8a7cd1e72525bd8f8ffea7061 | locales/tr/addon.properties | locales/tr/addon.properties | INI |
<|file_sep|>original/chrome/browser/resources/webstore_app/manifest.json
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtl3tO0osjuzRsf6xtD2SKxPlTfuoy7AWoObysitBPvH5fE1NaAA1/2JkPWkVDhdLBWLaIBPYeXbzlHp3y4Vv/4XG+aN5qFE3z+1RU/NqkzVYHtIpVScf3DjTYtKVL66mzVGijSoAIwbFCC3LpGdaoe6Q1rSRDp76wR6jjFzsYwQIDAQAB",
"name": "Chrome ... | "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtl3tO0osjuzRsf6xtD2SKxPlTfuoy7AWoObysitBPvH5fE1NaAA1/2JkPWkVDhdLBWLaIBPYeXbzlHp3y4Vv/4XG+aN5qFE3z+1RU/NqkzVYHtIpVScf3DjTYtKVL66mzVGijSoAIwbFCC3LpGdaoe6Q1rSRDp76wR6jjFzsYwQIDAQAB",
"name": "Chrome Web Store",
"version": "0.1",
"description": "Web Store",
"icons": ... | <|file_sep|>original/chrome/browser/resources/webstore_app/manifest.json
"key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtl3tO0osjuzRsf6xtD2SKxPlTfuoy7AWoObysitBPvH5fE1NaAA1/2JkPWkVDhdLBWLaIBPYeXbzlHp3y4Vv/4XG+aN5qFE3z+1RU/NqkzVYHtIpVScf3DjTYtKVL66mzVGijSoAIwbFCC3LpGdaoe6Q1rSRDp76wR6jjFzsYwQIDAQAB",
"name": "Chrome ... | 09b5774750aad5f2ed76382292949f572a7cebf2 | chrome/browser/resources/webstore_app/manifest.json | chrome/browser/resources/webstore_app/manifest.json | JSON |
<|file_sep|>requirements_dev.txt.diff
original:
pip==8.1.2
updated:
<|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.8
PyYAML==5.1
pytest==2.9.2
pandas==0.23.4
<|file_sep|>current/requirements_dev.txt
bumpversion==0... | bumpversion==0.5.3
wheel==0.33.6
watchdog==0.9.0
flake8==3.7.9
tox==3.14.3
coverage==5.0.3
Sphinx==2.3.1
PyYAML==5.3
pytest==5.3.4
pandas==0.25.3 | <|file_sep|>requirements_dev.txt.diff
original:
pip==8.1.2
updated:
<|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.8
PyYAML==5.1
pytest==2.9.2
pandas==0.23.4
<|file_sep|>current/requirements_dev.txt
bumpversion==0... | 388b06524454a03df40eeaf62ec095c748582098 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/package.json
{
"name": "league-wrapper",
"version": "0.2.1",
"description": "REST API Wrapper for the League of Legends API",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"rest",
"api",
"wrapper",
"league",... | {
"name": "league-wrapper",
"version": "0.2.2",
"description": "REST API Wrapper for the League of Legends API",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"rest",
"api",
"wrapper",
"league",
"lol",
"leagueoflegends",... | <|file_sep|>original/package.json
{
"name": "league-wrapper",
"version": "0.2.1",
"description": "REST API Wrapper for the League of Legends API",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"rest",
"api",
"wrapper",
"league",... | d3497bec94d513580c32f00a645a7ded83c325e1 | package.json | package.json | JSON |
<|file_sep|>original/package.json
"web": "http://github.com/mikaelkaron"
}
],
"repository": {
"type": "git",
"url": "https://github.com/mikaelkaron/grunt-util-property.git"
},
"bugs": {
"url": "https://github.com/mikaelkaron/grunt-util-property/issues"
},
"licenses": [
{
"type": "MIT",
"url": "... | "web": "http://github.com/mikaelkaron"
}
],
"repository": {
"type": "git",
"url": "https://github.com/mikaelkaron/grunt-util-property.git"
},
"bugs": {
"url": "https://github.com/mikaelkaron/grunt-util-property/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://mikael.mit-license.org/"
... | <|file_sep|>original/package.json
"web": "http://github.com/mikaelkaron"
}
],
"repository": {
"type": "git",
"url": "https://github.com/mikaelkaron/grunt-util-property.git"
},
"bugs": {
"url": "https://github.com/mikaelkaron/grunt-util-property/issues"
},
"licenses": [
{
"type": "MIT",
"url": "... | 0b1426a25a478113903a6444995715b7b7b3b2f4 | package.json | package.json | JSON |
<|file_sep|>original/webpack.config.js
module.exports = {
entry: ['./app/main.jsx'],
output: {
path: './build',
filename: 'bundle.js',
pathinfo: true
},
module: {
loaders: [
{
test: /\.jsx$/,
exclude: /node_modules/,
loader: 'babel'
},
{
test: /\... | module.exports = {
entry: ['./app/main.jsx'],
output: {
path: './build',
filename: 'bundle.js',
pathinfo: true
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loader: 'babel'
},
{
test: /\.scss$/,
exclude: /node_module... | <|file_sep|>original/webpack.config.js
module.exports = {
entry: ['./app/main.jsx'],
output: {
path: './build',
filename: 'bundle.js',
pathinfo: true
},
module: {
loaders: [
{
test: /\.jsx$/,
exclude: /node_modules/,
loader: 'babel'
},
{
test: /\... | 8305856ee7237bd855fc382cfd4a91ae723b5cf2 | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>original/elm-package.json
"exposed-modules": [
"OpenSolid.Core",
"OpenSolid.Core.Axis2d",
"OpenSolid.Core.Axis3d",
"OpenSolid.Core.Bounds2d",
"OpenSolid.Core.Bounds3d",
"OpenSolid.Core.Direction2d",
"OpenSolid.Core.Direction3d",
"OpenSolid.Core.Frame2d",
"OpenSolid.Core... | {
"version": "0.1.0",
"summary": "2D/3D geometry manipulation library",
"repository": "https://github.com/ianmackenzie/elm-opensolid-core.git",
"license": "MPL-2.0",
"source-directories": ["src"],
"exposed-modules": [],
"dependencies": {
"elm-lang/core": "3.0.0 <= v < 4.0.0"
},
"elm-version": "0.1... | <|file_sep|>original/elm-package.json
"exposed-modules": [
"OpenSolid.Core",
"OpenSolid.Core.Axis2d",
"OpenSolid.Core.Axis3d",
"OpenSolid.Core.Bounds2d",
"OpenSolid.Core.Bounds3d",
"OpenSolid.Core.Direction2d",
"OpenSolid.Core.Direction3d",
"OpenSolid.Core.Frame2d",
"OpenSolid.Core... | 1075ed31b82880c1b190f58829b4ba0675ad3c61 | elm-package.json | elm-package.json | JSON |
<|file_sep|>original/freenas/scripts/api-v2.0-tests.sh
#################################################################
# Run the tests now!
#################################################################
echo "Using API Address: http://${FNASTESTIP}/api/v2.0"
git clone https://www.github.com/freenas/freenas --de... |
#################################################################
# Run the tests now!
#################################################################
echo "Using API Address: http://${FNASTESTIP}/api/v2.0"
git clone https://www.github.com/freenas/freenas --depth=1 /freenas
cd /freenas/src/middlewared
pip3.6 unins... | <|file_sep|>original/freenas/scripts/api-v2.0-tests.sh
#################################################################
# Run the tests now!
#################################################################
echo "Using API Address: http://${FNASTESTIP}/api/v2.0"
git clone https://www.github.com/freenas/freenas --de... | 0999529f64a0b8ac8317ef1e941ed56bb834f7a6 | freenas/scripts/api-v2.0-tests.sh | freenas/scripts/api-v2.0-tests.sh | Shell |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
Sphinx==1.6.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
Sphinx==1.6.1
<|file_sep|>updated/requirements_dev.txt | bumpversion==0.5.3
wheel==0.29.0
Sphinx==1.6.2 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
Sphinx==1.6.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
Sphinx==1.6.1
<|file_sep|>updated/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
Sphinx==1.6.2 | 796564679ff45e81228b5809d0c9a8fb18483367 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>_config.yml.diff
original:
url: http://hyde.getpoole.com
baseurl: /
updated:
#url: http://hyde.getpoole.com
baseurl: http://rkujawa.github.io/blog/
<|file_sep|>_config.yml.diff
original:
name: 'Mark Otto'
url: https://twitter.com/mdo
upda... | permalink: pretty
relative_permalinks: true
# Setup
title: Hyde
tagline: 'A Jekyll theme'
description: 'A brazen two-column <a href="http://jekyllrb.com" target="_blank">Jekyll</a> theme that pairs a prominent sidebar with uncomplicated content. Made by <a href="https://twitter.com/mdo"... | <|file_sep|>_config.yml.diff
original:
url: http://hyde.getpoole.com
baseurl: /
updated:
#url: http://hyde.getpoole.com
baseurl: http://rkujawa.github.io/blog/
<|file_sep|>_config.yml.diff
original:
name: 'Mark Otto'
url: https://twitter.com/mdo
upda... | f50cb41d1f20352c0910f2f0108400f6f524d066 | _config.yml | _config.yml | YAML |
<|file_sep|>original/README.md
FormlyMaterial
==========
Material Design Templates for [Angular-Formly](http://angular-formly.com). Modern & flexible forms configured easily in a JSON object.
## Add Angular Formly
There is no official Angular Formly package in Atmosphere so you have to add it manually.
## Install
... | FormlyMaterial
==========
[](https://badge.fury.io/gh/wieldo%2Fangular-formly-templates-material)
[](https://www.codacy.com/app/mys-stero... | <|file_sep|>original/README.md
FormlyMaterial
==========
Material Design Templates for [Angular-Formly](http://angular-formly.com). Modern & flexible forms configured easily in a JSON object.
## Add Angular Formly
There is no official Angular Formly package in Atmosphere so you have to add it manually.
## Install
... | 3734511d3a13a4787482e90279a1cc00f762f301 | README.md | README.md | Markdown |
<|file_sep|>original/applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNotifierTest.php
<|file_sep|>current/applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNotifierTest.php
<|file_sep|>updated/applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNoti... | <?php
/**
* PHP version 7.0
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace Ewallet\Wallet\Notifications;
use Ewallet\Accounts\{Members, TransferWasMade};
use Ewallet\DataBuilders\A;
use Mockery;
use PHPUnit_Framework_TestCase as TestCase;
class T... | <|file_sep|>original/applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNotifierTest.php
<|file_sep|>current/applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNotifierTest.php
<|file_sep|>updated/applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNoti... | 99ee84432265872fb24528ae53db2cf27ed3a4c2 | applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNotifierTest.php | applications/messaging/tests/unit/Wallet/Notifications/TransferFundsEmailNotifierTest.php | PHP |
<|file_sep|>original/src/constants.js
export const NO_RENDER = { render: false };
export const SYNC_RENDER = { renderSync: true };
export const DOM_RENDER = { build: true };
export const EMPTY = {};
export const EMPTY_BASE = '';
// is this a DOM environment
export const HAS_DOM = typeof document!=='undefined';
export... | export const NO_RENDER = { render: false };
export const SYNC_RENDER = { renderSync: true };
export const DOM_RENDER = { build: true };
export const EMPTY = {};
export const EMPTY_BASE = '';
// is this a DOM environment
export const HAS_DOM = typeof document!=='undefined';
export const TEXT_CONTENT = !HAS_DOM || 'tex... | <|file_sep|>original/src/constants.js
export const NO_RENDER = { render: false };
export const SYNC_RENDER = { renderSync: true };
export const DOM_RENDER = { build: true };
export const EMPTY = {};
export const EMPTY_BASE = '';
// is this a DOM environment
export const HAS_DOM = typeof document!=='undefined';
export... | 71cf8c5bffd63a53d7272cb9bd3837862fa7467a | src/constants.js | src/constants.js | JavaScript |
<|file_sep|>original/Assignment3/AssignmentStudents/README.md
<|file_sep|>current/Assignment3/AssignmentStudents/README.md
<|file_sep|>updated/Assignment3/AssignmentStudents/README.md | In this folder you can add the two Java classes that you have created to solve tasks 5 and 6 of the assignment 3. Use the following template:
Task05_<<GithubUser>>.java
Task06_<<GithubUser>>.java | <|file_sep|>original/Assignment3/AssignmentStudents/README.md
<|file_sep|>current/Assignment3/AssignmentStudents/README.md
<|file_sep|>updated/Assignment3/AssignmentStudents/README.md
In this folder you can add the two Java classes that you have created to solve tasks 5 and 6 of the assignment 3. Use the following te... | f3c3e3458c0d9ae5fa31a6a60e2a2f03004348be | Assignment3/AssignmentStudents/README.md | Assignment3/AssignmentStudents/README.md | Markdown |
<|file_sep|>original/app/views/home/index.html.erb
<div class="jumbotron text-center">
<div class="container">
<h1>My Blog</h1>
<p>This is a skeleton blog site written in Ruby (on Rails).</p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<... | <div class="jumbotron text-center">
<div class="container">
<h1>My Blog</h1>
<p>This is a wonderful blog written in Ruby (on Rails).</p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<h3>I've written one blog post!</h3>
<ul>
... | <|file_sep|>original/app/views/home/index.html.erb
<div class="jumbotron text-center">
<div class="container">
<h1>My Blog</h1>
<p>This is a skeleton blog site written in Ruby (on Rails).</p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<... | 3e75345cf3852408dffd2d5a980ff369f8c198f5 | app/views/home/index.html.erb | app/views/home/index.html.erb | HTML+ERB |
<|file_sep|>original/templates/errors/not-found.hbs
{{package.name}} will be yours. Oh yes, {{package.name}} will be yours.
{{else}}
{{canonicalURL}} does not exist. time to go outside.
{{/if}}
</h2>
</hgroup>
</div>
<div class="container narrow">
{{#if package}}
<pre><code class="l... | {{else}}
{{canonicalURL}} does not exist. time to go outside.
{{/if}}
</h2>
</hgroup>
</div>
<div class="container narrow">
{{#if package}}
<pre><code class="lang-bash hljs" style="background:#F5F5F5;">mkdir {{package.name}}
cd {{package.name}}
npm init
# work your magic…
npm publish
</code... | <|file_sep|>original/templates/errors/not-found.hbs
{{package.name}} will be yours. Oh yes, {{package.name}} will be yours.
{{else}}
{{canonicalURL}} does not exist. time to go outside.
{{/if}}
</h2>
</hgroup>
</div>
<div class="container narrow">
{{#if package}}
<pre><code class="l... | 184351ae23401f7e62752716dd3ad62aa1c3e493 | templates/errors/not-found.hbs | templates/errors/not-found.hbs | Handlebars |
<|file_sep|>original/app/views/request/_view_html_prefix.html.erb
<div class="view_html_prefix">
<div class="view_html_logo">
<a href="/"><img src="/assets/navimg/logo-trans-small.png" alt="<%= site_name %>"></a>
</div>
<div class="view_html_download_link">
<%=link_to _("Download original at... | <div class="view_html_prefix">
<div class="view_html_logo">
<a href="/"><img src="/assets/navimg/logo-trans-small.png" alt="<%= site_name %>"></a>
</div>
<div class="view_html_download_link">
<%=link_to _("Download original attachment"), @attachment_url %>
<br>(<%=h @attachment.name_... | <|file_sep|>original/app/views/request/_view_html_prefix.html.erb
<div class="view_html_prefix">
<div class="view_html_logo">
<a href="/"><img src="/assets/navimg/logo-trans-small.png" alt="<%= site_name %>"></a>
</div>
<div class="view_html_download_link">
<%=link_to _("Download original at... | 2c29fdd40daa0cd809729ef3907767792c9b3274 | app/views/request/_view_html_prefix.html.erb | app/views/request/_view_html_prefix.html.erb | HTML+ERB |
<|file_sep|>original/setup.py
setup(
name='django-portfolio',
version='0.8.0',
description='Web Worker\'s Portfolio for Django.',
url='http://github.com/benspaulding/django-portfolio/',
author='Ben Spaulding',
author_email='ben@benspaulding.com',
license='BSD',
download_url='http://githu... | setup(
name='django-portfolio',
version='0.8.0',
description='Web Worker\'s Portfolio for Django.',
url='http://github.com/benspaulding/django-portfolio/',
author='Ben Spaulding',
author_email='ben@benspaulding.com',
license='BSD',
download_url='http://github.com/benspaulding/django-port... | <|file_sep|>original/setup.py
setup(
name='django-portfolio',
version='0.8.0',
description='Web Worker\'s Portfolio for Django.',
url='http://github.com/benspaulding/django-portfolio/',
author='Ben Spaulding',
author_email='ben@benspaulding.com',
license='BSD',
download_url='http://githu... | f2399e49e657848a58022b63915fad7969841b62 | setup.py | setup.py | Python |
<|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { nam... | # This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
# Ch... | <|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { nam... | 74aef181d103d4c7387031a9eb5aa503b3186767 | db/seeds.rb | db/seeds.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.