prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/test/models/block.rb
<|file_sep|>current/test/models/block.rb
<|file_sep|>updated/test/models/block.rb | class Block < ActiveRecord::Base
def do_work(*args)
block = Block.first
block.name = "Charlie"
block.color = "Black"
block.save
end
end
class CreateBlocks < ActiveRecord::Migration
def change
create_table :blocks do |t|
t.string :name
t.string :color
t.timestamps
end
e... | <|file_sep|>original/test/models/block.rb
<|file_sep|>current/test/models/block.rb
<|file_sep|>updated/test/models/block.rb
class Block < ActiveRecord::Base
def do_work(*args)
block = Block.first
block.name = "Charlie"
block.color = "Black"
block.save
end
end
class CreateBlocks < ActiveRecord::Mi... | 714c7db0e895845b3ce6db798f0263debc77a30c | test/models/block.rb | test/models/block.rb | Ruby |
<|file_sep|>original/SetTests/MultisetCountTests.swift
import XCTest
final class MultisetCountTests: XCTestCase {
func testCountSumsElementsMultiplicities() {
XCTAssertEqual(Multiset(0, 1, 1).count, 3)
}
func testCountOfAnElementIsItsMultiplicity() {
XCTAssertEqual(Multiset(0, 1, 1).count(1), 2)
}
func test... | XCTAssertEqual(Multiset(0, 1, 1).count, 3)
}
func testCountOfAnElementIsItsMultiplicity() {
XCTAssertEqual(Multiset(0, 1, 1).count(1), 2)
}
func testContainsIsTrueWhenCountIsGreaterThanZero() {
XCTAssert(Multiset(0, 1, 1).contains(0))
XCTAssert(Multiset(0, 1, 1).contains(1))
XCTAssertFalse(Multiset(0, 1... | <|file_sep|>original/SetTests/MultisetCountTests.swift
import XCTest
final class MultisetCountTests: XCTestCase {
func testCountSumsElementsMultiplicities() {
XCTAssertEqual(Multiset(0, 1, 1).count, 3)
}
func testCountOfAnElementIsItsMultiplicity() {
XCTAssertEqual(Multiset(0, 1, 1).count(1), 2)
}
func test... | 85fe6aea334994dfc2907d06eba883c8090cde48 | SetTests/MultisetCountTests.swift | SetTests/MultisetCountTests.swift | Swift |
<|file_sep|>original/requirements/base.txt
# Django
django==1.11
# Configuration
django-environ==0.4.3
# Images
Pillow==4.1.1
# Markdown
verto==0.5.2
python-markdown-math==0.3
# Python-PostgreSQL Database Adapter
psycopg2==2.7.1
# Templates
django-bootstrap-breadcrumbs==0.8.2
# YAML Loading
PyYAML==3.12
<|file_se... | # Django
django==1.11
# Configuration
django-environ==0.4.3
# Images
Pillow==4.1.1
# Markdown
verto==0.5.3
python-markdown-math==0.3
# Python-PostgreSQL Database Adapter
psycopg2==2.7.1
# Templates
django-bootstrap-breadcrumbs==0.8.2
# YAML Loading
PyYAML==3.12 | <|file_sep|>original/requirements/base.txt
# Django
django==1.11
# Configuration
django-environ==0.4.3
# Images
Pillow==4.1.1
# Markdown
verto==0.5.2
python-markdown-math==0.3
# Python-PostgreSQL Database Adapter
psycopg2==2.7.1
# Templates
django-bootstrap-breadcrumbs==0.8.2
# YAML Loading
PyYAML==3.12
<|file_se... | 57df34bd5dd9af318edac1a31e01f4aab8b849a6 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>docs/appendices/0.6.0-migration-guide.md.diff
original:
updated:
<|file_sep|>docs/appendices/0.6.0-migration-guide.md.diff
original:
updated:
<|file_sep|>original/docs/appendices/0.6.0-migration-guide.md
# 0.6.0 Migration Guide
## zero-downtime deployment
- You can now **actually** disable zero-downtim... | - Some config variables have been moved around
- `DOKKU_CHECKS_ENABLED` has been migrated to `DOKKU_CHECKS_SKIPPED`
- `DOKKU_CHECKS_DISABLED` is now a thing
- The values for the above can be a comma-separated list of process-types or the literal string `_all_`
- See the [updated `checks`](/dokku/checks-... | <|file_sep|>docs/appendices/0.6.0-migration-guide.md.diff
original:
updated:
<|file_sep|>docs/appendices/0.6.0-migration-guide.md.diff
original:
updated:
<|file_sep|>original/docs/appendices/0.6.0-migration-guide.md
# 0.6.0 Migration Guide
## zero-downtime deployment
- You can now **actually** disable zero-downtim... | 8f8ee9c5da373c8fadee338cdce05d3a2754d3b2 | docs/appendices/0.6.0-migration-guide.md | docs/appendices/0.6.0-migration-guide.md | Markdown |
<|file_sep|>original/common/src/main/java/us/myles/ViaVersion/exception/InformativeException.java
if (sourceClazz.isAnonymousClass()) {
return sourceClazz.getName() + " (Anonymous)";
} else {
return sourceClazz.getName();
}
}
@Override
public String getMessag... | if (sourceClazz.isAnonymousClass()) {
return sourceClazz.getName() + " (Anonymous)";
} else {
return sourceClazz.getName();
}
}
@Override
public String getMessage() {
StringBuilder builder = new StringBuilder();
builder.append("Please post thi... | <|file_sep|>original/common/src/main/java/us/myles/ViaVersion/exception/InformativeException.java
if (sourceClazz.isAnonymousClass()) {
return sourceClazz.getName() + " (Anonymous)";
} else {
return sourceClazz.getName();
}
}
@Override
public String getMessag... | be31c705b505d6cce429aed50ad6fd2e8031d8b7 | common/src/main/java/us/myles/ViaVersion/exception/InformativeException.java | common/src/main/java/us/myles/ViaVersion/exception/InformativeException.java | Java |
<|file_sep|>src/docs/component/Badges.vue.diff
original:
<aui-badge>2</aui-badge>
updated:
<aui-badge class="aui-badge-primary">2</aui-badge>
<|file_sep|>src/docs/component/Badges.vue.diff
original:
<aui-badge>4</aui-badge>
updated:
<aui-badge class="aui-badge-primary">4</aui-bad... | <aui-tab name="Code">
<pre v-highlightjs><code class="xml" v-text='code'></code></pre>
</aui-tab>
</aui-tabs>
</div>
</template>
<script>
export default {
data() {
return {
code: `<aui-badge>1</aui-badge>
<aui-badge class="aui-badge-primary">2</aui-badge>
<aui-badge>3</au... | <|file_sep|>src/docs/component/Badges.vue.diff
original:
<aui-badge>2</aui-badge>
updated:
<aui-badge class="aui-badge-primary">2</aui-badge>
<|file_sep|>src/docs/component/Badges.vue.diff
original:
<aui-badge>4</aui-badge>
updated:
<aui-badge class="aui-badge-primary">4</aui-bad... | 0f1fb1bd4157e788e6063438090e45663c83c954 | src/docs/component/Badges.vue | src/docs/component/Badges.vue | Vue |
<|file_sep|>original/installer/schema/20090806_remove_latin_collations_tiki.sql
<|file_sep|>current/installer/schema/20090806_remove_latin_collations_tiki.sql
<|file_sep|>updated/installer/schema/20090806_remove_latin_collations_tiki.sql | ALTER TABLE `tiki_user_reports`
CHANGE `user` `user` VARCHAR( 200 ) NOT NULL ,
CHANGE `interval` `interval` VARCHAR( 20 ) NOT NULL ,
CHANGE `view` `view` VARCHAR( 8 ) NOT NULL ,
CHANGE `type` `type` VARCHAR( 5 ) NOT NULL;
ALTER TABLE `tiki_user_reports_cache`
CHANGE `user` `user` VARCHAR( 200 ) NOT NULL ,
CHANGE `event... | <|file_sep|>original/installer/schema/20090806_remove_latin_collations_tiki.sql
<|file_sep|>current/installer/schema/20090806_remove_latin_collations_tiki.sql
<|file_sep|>updated/installer/schema/20090806_remove_latin_collations_tiki.sql
ALTER TABLE `tiki_user_reports`
CHANGE `user` `user` VARCHAR( 200 ) NOT NULL ,
C... | c996c3e3afdabaafd78635e0ecf7c70cc8a8dcb7 | installer/schema/20090806_remove_latin_collations_tiki.sql | installer/schema/20090806_remove_latin_collations_tiki.sql | SQL |
<|file_sep|>original/lib/quick_travel/party.rb
module QuickTravel
class Party < Adapter
LOGIN_URL = '/login.json'
attr_accessor :phone, :mobile, :email # if has a contact
attr_accessor :post_code, :country_id # if has an address
def initialize(hash = {})
super
if type.blank?
... | module QuickTravel
class Party < Adapter
LOGIN_URL = '/login.json'
attr_reader :phone, :mobile, :email # if has a contact
attr_reader :post_code, :country_id # if has an address
def initialize(hash = {})
super
if type.blank?
self.type = 'Person'
end
end
self.ap... | <|file_sep|>original/lib/quick_travel/party.rb
module QuickTravel
class Party < Adapter
LOGIN_URL = '/login.json'
attr_accessor :phone, :mobile, :email # if has a contact
attr_accessor :post_code, :country_id # if has an address
def initialize(hash = {})
super
if type.blank?
... | 23f70f1f39a4ec4fb3f23739378bf46f18c9d118 | lib/quick_travel/party.rb | lib/quick_travel/party.rb | Ruby |
<|file_sep|>src/Microsoft.AspNetCore/project.json.diff
original:
updated:
"NETStandard.Library": "1.6.1-*"
<|file_sep|>original/src/Microsoft.AspNetCore/project.json
"Microsoft.Extensions.Logging.Console": "1.1.0-*",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0-*",
},
"frameworks": {
... | "version": "1.1.0-*",
"dependencies": {
"Microsoft.AspNetCore.Diagnostics": "1.1.0-*",
"Microsoft.AspNetCore.Hosting": "1.1.0-*",
"Microsoft.AspNetCore.Routing": "1.1.0-*",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0-*",
"Microsoft.... | <|file_sep|>src/Microsoft.AspNetCore/project.json.diff
original:
updated:
"NETStandard.Library": "1.6.1-*"
<|file_sep|>original/src/Microsoft.AspNetCore/project.json
"Microsoft.Extensions.Logging.Console": "1.1.0-*",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0-*",
},
"frameworks": {
... | 88571e6cf7060c74eba568783c135895b8deeed4 | src/Microsoft.AspNetCore/project.json | src/Microsoft.AspNetCore/project.json | JSON |
<|file_sep|>original/app.json
"website": "https://pep8speaks.com",
"keywords": ["python"],
"env" : {
"APP_SECRET_KEY": {
"description": "A Flask app secret key (auto-generated here)",
"generator": "secret"
},
"BOT_USERNAME": {
"description": "GitHub username of your pep8speaks ... | "website": "https://pep8speaks.com",
"keywords": ["python"],
"env" : {
"APP_SECRET_KEY": {
"description": "A Flask app secret key (auto-generated here)",
"generator": "secret"
},
"BOT_USERNAME": {
"description": "GitHub username of your pep8speaks bot"
},
"GITHUB_PAYLOA... | <|file_sep|>original/app.json
"website": "https://pep8speaks.com",
"keywords": ["python"],
"env" : {
"APP_SECRET_KEY": {
"description": "A Flask app secret key (auto-generated here)",
"generator": "secret"
},
"BOT_USERNAME": {
"description": "GitHub username of your pep8speaks ... | 727ab9e085a2c12e5d43be3ecf4bb35190bd742f | app.json | app.json | JSON |
<|file_sep|>original/androidlinstaller.sh
<|file_sep|>current/androidlinstaller.sh
<|file_sep|>updated/androidlinstaller.sh | #!/bin/bash
ANDROID_LINTER_METADATA_URL=http://nexus.monits.com/content/repositories/oss-releases/com/monits/android-linters/maven-metadata.xml
ANDROID_LINT_DIR=$HOME/.android/lint
ANDROID_LINTER_RELEASE_URL=http://nexus.monits.com/content/repositories/oss-releases/com/monits/android-linters
ANDROID_JAR_FILE_NAME=andro... | <|file_sep|>original/androidlinstaller.sh
<|file_sep|>current/androidlinstaller.sh
<|file_sep|>updated/androidlinstaller.sh
#!/bin/bash
ANDROID_LINTER_METADATA_URL=http://nexus.monits.com/content/repositories/oss-releases/com/monits/android-linters/maven-metadata.xml
ANDROID_LINT_DIR=$HOME/.android/lint
ANDROID_LINTE... | 1d81fd88650f60c6a7c128cada13b2a9fcbbc5b2 | androidlinstaller.sh | androidlinstaller.sh | Shell |
<|file_sep|>example_slack.py.diff
original:
sc = SlackClient(slack_token)
updated:
slack_client = SlackClient(slack_token)
lux = luxafor.API()
snooze_remaining = -1 # Countdown timer
user_id = 'U024G0M2L'
<|file_sep|>example_slack.py.diff
original:
API = luxafor.API()
updated:
if slack_client.rtm_connect():
while ... | try:
for event in slack_client.rtm_read():
if event['type'] == 'dnd_updated' and event['user'] == user_id:
if event['dnd_status']['snooze_enabled'] is True:
lux.mode_colour(luxafor.COLOUR_RED)
snooze_remaining = even... | <|file_sep|>example_slack.py.diff
original:
sc = SlackClient(slack_token)
updated:
slack_client = SlackClient(slack_token)
lux = luxafor.API()
snooze_remaining = -1 # Countdown timer
user_id = 'U024G0M2L'
<|file_sep|>example_slack.py.diff
original:
API = luxafor.API()
updated:
if slack_client.rtm_connect():
while ... | a8ed783aff7a725260904d84e36e1f4ac7ed91b3 | example_slack.py | example_slack.py | Python |
<|file_sep|>original/views/layout.haml
!!! 5
%head
%title CapoRSS
%link(rel="stylesheet" media="screen" href="css/bootstrap.min.css")
%link(rel="stylesheet" media="screen" href="css/font-awesome.min.css")
%link(rel="stylesheet" media="screen" href="css/jquery.pnotify.default.css")
%link(rel="stylesheet" medi... | !!! 5
%head
%title CapoRSS
%base(href="#{request.base_url}")
%link(rel="stylesheet" media="screen" href="css/bootstrap.min.css")
%link(rel="stylesheet" media="screen" href="css/font-awesome.min.css")
%link(rel="stylesheet" media="screen" href="css/jquery.pnotify.default.css")
%link(rel="stylesheet" media=... | <|file_sep|>original/views/layout.haml
!!! 5
%head
%title CapoRSS
%link(rel="stylesheet" media="screen" href="css/bootstrap.min.css")
%link(rel="stylesheet" media="screen" href="css/font-awesome.min.css")
%link(rel="stylesheet" media="screen" href="css/jquery.pnotify.default.css")
%link(rel="stylesheet" medi... | 389c269afae99c5af605294210256a72a24bf8e0 | views/layout.haml | views/layout.haml | Haml |
<|file_sep|>original/.gitlab-ci.yml
image: java:8-jdk
variables:
IMAGE_NAME: emcmongoose/darzee
IMAGE_TAG: ${DARZEE_VER}
cache:
paths:
- .gradle/wrapper
- .gradle/caches
stages:
- build_docker_image
- deploy
build_docker_image:
stage: build_docker_image
script:
- ./gradlew clean buildImage
... | image: java:8-jdk
variables:
IMAGE_NAME: emcmongoose/darzee
IMAGE_TAG: ${DARZEE_VER}
cache:
- .gradle/wrapper
- .gradle/caches
stages:
- build_docker_image
- deploy
build_docker_image:
stage: build_docker_image
script:
- ./gradlew clean buildImage
release_to_docker_hub: | <|file_sep|>original/.gitlab-ci.yml
image: java:8-jdk
variables:
IMAGE_NAME: emcmongoose/darzee
IMAGE_TAG: ${DARZEE_VER}
cache:
paths:
- .gradle/wrapper
- .gradle/caches
stages:
- build_docker_image
- deploy
build_docker_image:
stage: build_docker_image
script:
- ./gradlew clean buildImage
... | 647e3f805159d43152f6497d48562bdbea56d1b6 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>openfisca_web_api/loader/entities.py.diff
original:
entity_formated = {
updated:
formatted_entity = {
<|file_sep|>openfisca_web_api/loader/entities.py.diff
original:
'description': to_unicode(entity.doc)
updated:
'description': to_unicode(entity.label),
'documentation': to_un... | if hasattr(entity, 'roles'):
formatted_entity['roles'] = {
role.key: build_role(role)
for role in entity.roles
}
return formatted_entity
def build_role(role):
formatted_role = {
'plural': role.plural,
'description': role.doc
}
if rol... | <|file_sep|>openfisca_web_api/loader/entities.py.diff
original:
entity_formated = {
updated:
formatted_entity = {
<|file_sep|>openfisca_web_api/loader/entities.py.diff
original:
'description': to_unicode(entity.doc)
updated:
'description': to_unicode(entity.label),
'documentation': to_un... | c18bcd5af7e0b1506ca28cd33a3c939efee80d00 | openfisca_web_api/loader/entities.py | openfisca_web_api/loader/entities.py | Python |
<|file_sep|>.travis.yml.diff
original:
- PUPPET_VERSION=2.6.2
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
env:
- PUPPET_VERSION=2.6.2
- PUPPET_VERSION=2.6.17
- PUPPET_VERSION=2.7.19
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3... | language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
env:
- PUPPET_VERSION=2.6.17
- PUPPET_VERSION=2.7.19
- PUPPET_VERSION=3.0.1 | <|file_sep|>.travis.yml.diff
original:
- PUPPET_VERSION=2.6.2
updated:
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
env:
- PUPPET_VERSION=2.6.2
- PUPPET_VERSION=2.6.17
- PUPPET_VERSION=2.7.19
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3... | aa9805eddde168a03196905213081a5da49c5367 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/resources/assets/less/bem/osu-nav.less
&--large {
font-size: 22px;
}
&--title {
&::after {
content: '›';
margin-left: @spacing;
}
}
}
&__title-menu {
position: absolute;
left: (-@spacing / 2);
top: 0;
width: 100%;
display:... |
&--large {
font-size: 22px;
}
&--title {
&::after {
content: '›';
margin-left: @spacing;
}
}
}
&__title-menu {
position: absolute;
left: (-@spacing / 2);
top: (@spacing / 2);
width: 100%;
display: flex;
}
} | <|file_sep|>original/resources/assets/less/bem/osu-nav.less
&--large {
font-size: 22px;
}
&--title {
&::after {
content: '›';
margin-left: @spacing;
}
}
}
&__title-menu {
position: absolute;
left: (-@spacing / 2);
top: 0;
width: 100%;
display:... | 6b4bd0d1fff604e9377d704b3bfc54b7216459e5 | resources/assets/less/bem/osu-nav.less | resources/assets/less/bem/osu-nav.less | Less |
<|file_sep|>original/doc/troubleshooting.txt
<|file_sep|>current/doc/troubleshooting.txt
<|file_sep|>updated/doc/troubleshooting.txt | #############
Symptoms:
Admin site stops coming up. Error is:
DoesNotExist at /admin/
Site matching query does not exist.
Cause:
The django_site table is empty in the database. The example site was deleted.
Solution:
./manage.py shell
from django.contrib.sites.models import Site
Site.objects.create(pk=1, domain='fo... | <|file_sep|>original/doc/troubleshooting.txt
<|file_sep|>current/doc/troubleshooting.txt
<|file_sep|>updated/doc/troubleshooting.txt
#############
Symptoms:
Admin site stops coming up. Error is:
DoesNotExist at /admin/
Site matching query does not exist.
Cause:
The django_site table is empty in the database. The ex... | 57402ef4ab92ede2092c56fc7a49620297523eb3 | doc/troubleshooting.txt | doc/troubleshooting.txt | Text |
<|file_sep|>original/packer/scripts/install-cloudwatch-logs.sh
#!/bin/bash -eu
sudo yum install -y awslogs
mkdir -p /var/awslogs/state
cat << EOF | sudo tee /etc/awslogs/awslogs.conf
[general]
state_file = /var/awslogs/state/agent-state
[/var/log/messages]
file = /var/log/messages
log_group_name = /var/log/messages... |
mkdir -p /var/awslogs/state
cat << EOF | sudo tee /etc/awslogs/awslogs.conf
[general]
state_file = /var/awslogs/state/agent-state
[/var/log/messages]
file = /var/log/messages
log_group_name = /var/log/messages
log_stream_name = {instance_id}
datetime_format = %b %d %H:%M:%S
[/var/log/buildkite-agent.log]
file = /va... | <|file_sep|>original/packer/scripts/install-cloudwatch-logs.sh
#!/bin/bash -eu
sudo yum install -y awslogs
mkdir -p /var/awslogs/state
cat << EOF | sudo tee /etc/awslogs/awslogs.conf
[general]
state_file = /var/awslogs/state/agent-state
[/var/log/messages]
file = /var/log/messages
log_group_name = /var/log/messages... | 642e9f0fcc8cdde593af0edf4916ff3261ec1f7a | packer/scripts/install-cloudwatch-logs.sh | packer/scripts/install-cloudwatch-logs.sh | Shell |
<|file_sep|>original/README.md
# Kryo OSGI Samples
Samples that run kryo in an OSGI environment.
## Usage
```bash
$ mvn install
$ mvn -f run.xml -P simple
```
If the latter command prints
```
Serializing String: OK
Serializing MyClass: OK
```
at the end then everything is ok, kryo was used successfully in an OSGI... | # Kryo OSGI Samples
Samples that run kryo in an OSGI environment.
[](https://travis-ci.org/magro/kryo-osgi-samples)
## Usage
```bash
$ mvn install
$ mvn -f run.xml -P simple
```
If the latter command prints
```
Serializing String: OK
... | <|file_sep|>original/README.md
# Kryo OSGI Samples
Samples that run kryo in an OSGI environment.
## Usage
```bash
$ mvn install
$ mvn -f run.xml -P simple
```
If the latter command prints
```
Serializing String: OK
Serializing MyClass: OK
```
at the end then everything is ok, kryo was used successfully in an OSGI... | 5ab7b0331ba6eacea9b2f7885c981cee3011a41f | README.md | README.md | Markdown |
<|file_sep|>original/run_randoop.py
<|file_sep|>current/run_randoop.py
<|file_sep|>updated/run_randoop.py | #!/usr/bin/python
import os,sys,common
import fetch
import time
def main():
if not os.path.exists(common.CORPUS_DIR) or not os.path.exists(common.LIBS_DIR):
print "Please run python fetch.py first to fetch the corpus and/or necessary tools."
sys.exit(1)
return
project = ""
if len(sys.argv) == 2:
... | <|file_sep|>original/run_randoop.py
<|file_sep|>current/run_randoop.py
<|file_sep|>updated/run_randoop.py
#!/usr/bin/python
import os,sys,common
import fetch
import time
def main():
if not os.path.exists(common.CORPUS_DIR) or not os.path.exists(common.LIBS_DIR):
print "Please run python fetch.py first to fetc... | 312be9e1d6a611ebcbe9e7110ffd77dc84a1633c | run_randoop.py | run_randoop.py | Python |
<|file_sep|>original/spec/factories/ext_management_system.rb
:parent => :ems_storage do
provider_region { "us-east-1" }
end
factory :ems_amazon_with_vcr_authentication, :parent => :ems_amazon do
zone do
_guid, _server, zone = EvmSpecHelper.create_guid_miq_server_zone
zone
end
... | :parent => :ems_storage do
provider_region { "us-east-1" }
end
factory :ems_amazon_with_vcr_authentication, :parent => :ems_amazon do
zone do
_guid, _server, zone = EvmSpecHelper.create_guid_miq_server_zone
zone
end
after(:create) do |ems|
client_id = Rails.application... | <|file_sep|>original/spec/factories/ext_management_system.rb
:parent => :ems_storage do
provider_region { "us-east-1" }
end
factory :ems_amazon_with_vcr_authentication, :parent => :ems_amazon do
zone do
_guid, _server, zone = EvmSpecHelper.create_guid_miq_server_zone
zone
end
... | 60256c71239650626e6972d3c45f880e24582a11 | spec/factories/ext_management_system.rb | spec/factories/ext_management_system.rb | Ruby |
<|file_sep|>IQKeyboardManagerSwift.podspec.diff
original:
s.version = "3.3.2"
updated:
s.version = "3.3.3"
<|file_sep|>IQKeyboardManagerSwift.podspec.diff
original:
s.author = { "Iftekhar Qurashi" => "hack.iftekhar@gmail.com" }
updated:
s.author = { "Iftekhar Qurashi" => "hack.iftekhar@gmail.com", "OCTO Technology"... | Pod::Spec.new do |s|
s.name = "IQKeyboardManagerSwift"
s.version = "3.3.3"
s.summary = "Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView."
s.homepage = "https://github.com/hackiftekhar/IQKeyboardManager"
s.screenshots = "https://raw.githubuserconte... | <|file_sep|>IQKeyboardManagerSwift.podspec.diff
original:
s.version = "3.3.2"
updated:
s.version = "3.3.3"
<|file_sep|>IQKeyboardManagerSwift.podspec.diff
original:
s.author = { "Iftekhar Qurashi" => "hack.iftekhar@gmail.com" }
updated:
s.author = { "Iftekhar Qurashi" => "hack.iftekhar@gmail.com", "OCTO Technology"... | 3a1e07bc96d62f646464f14cbab0fc2062352e8b | IQKeyboardManagerSwift.podspec | IQKeyboardManagerSwift.podspec | Ruby |
<|file_sep|>original/README.md
# SchemaFW
**Definition:**
**schema** an underlying organizational pattern or structure; conceptual framework
[source: dictionary.com](http://dictionary.reference.com/browse/schema)
The Schema Framework (SchemaFW) includes several parts that, working together and
using MySQL as the data... | # SchemaFW
**Definition:**
**schema** an underlying organizational pattern or structure; conceptual framework
[source: dictionary.com](http://dictionary.reference.com/browse/schema)
**NOTE** The organization of this project has recently changed. The FCGI server
portion of the project has been spun off to the [Schema... | <|file_sep|>original/README.md
# SchemaFW
**Definition:**
**schema** an underlying organizational pattern or structure; conceptual framework
[source: dictionary.com](http://dictionary.reference.com/browse/schema)
The Schema Framework (SchemaFW) includes several parts that, working together and
using MySQL as the data... | 40d980f5cc404d2fc1860c8324f796839e4942d1 | README.md | README.md | Markdown |
<|file_sep|>original/openquake/server/db/schema/upgrades/0000-base_schema.sql
CREATE TABLE job(
id INTEGER PRIMARY KEY AUTOINCREMENT,
description TEXT NOT NULL,
user_name TEXT NOT NULL,
calculation_mode TEXT NOT NULL,
hazard_calculation_id INTEGER REFERENCES job (id) ON DELETE CASCADE,
sta... | CREATE TABLE job(
id INTEGER PRIMARY KEY AUTOINCREMENT,
description TEXT NOT NULL,
user_name TEXT NOT NULL,
calculation_mode TEXT NOT NULL,
hazard_calculation_id INTEGER REFERENCES job (id) ON DELETE CASCADE,
status TEXT NOT NULL DEFAULT 'created',
is_running BOOL NOT NULL DEFAULT fal... | <|file_sep|>original/openquake/server/db/schema/upgrades/0000-base_schema.sql
CREATE TABLE job(
id INTEGER PRIMARY KEY AUTOINCREMENT,
description TEXT NOT NULL,
user_name TEXT NOT NULL,
calculation_mode TEXT NOT NULL,
hazard_calculation_id INTEGER REFERENCES job (id) ON DELETE CASCADE,
sta... | edfc6d2e214fca189c6ac9d61642b2f7b5b4ee80 | openquake/server/db/schema/upgrades/0000-base_schema.sql | openquake/server/db/schema/upgrades/0000-base_schema.sql | SQL |
<|file_sep|>original/package.json
"start": "nwb serve",
"test": "nwb test",
"test:watch": "nwb test --server"
},
"dependencies": {
"inputmask-core": "^2.1.1"
},
"peerDependencies": {
"react": "0.14.x || 15.x.x"
},
"devDependencies": {
"eslint-config-jonnybuchanan": "2.0.3",
"nwb"... | "start": "nwb serve",
"test": "nwb test",
"test:watch": "nwb test --server"
},
"dependencies": {
"inputmask-core": "^2.1.1"
},
"peerDependencies": {
"react": "0.14.x || 15.x.x"
},
"devDependencies": {
"eslint-config-jonnybuchanan": "2.0.3",
"nwb": "0.9.x",
"react": "15.x.x",
... | <|file_sep|>original/package.json
"start": "nwb serve",
"test": "nwb test",
"test:watch": "nwb test --server"
},
"dependencies": {
"inputmask-core": "^2.1.1"
},
"peerDependencies": {
"react": "0.14.x || 15.x.x"
},
"devDependencies": {
"eslint-config-jonnybuchanan": "2.0.3",
"nwb"... | 47f45f611d5821cde830859c706e50042e6cc4d0 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# commands to run tests
#before_script: redis-cli ping
script:
- nosetests
after_success:
- codecov
#services:
# - redis-server
<|file_sep|>current/.travis.yml
lang... | language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# commands to run tests
- python server.py & # start a Web server in the background
- sleep 3 # give Web server some time to bind to sockets, etc
script:
- nosetests
after_success:
- codecov
#se... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# commands to run tests
#before_script: redis-cli ping
script:
- nosetests
after_success:
- codecov
#services:
# - redis-server
<|file_sep|>current/.travis.yml
lang... | e944e165f491a58476f780a69bbf1c1dba158980 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/OpenSage.DataViewer.Windows/App.xaml.cs.diff
original:
updated:
using System.Globalization;
using System.Threading;
<|file_sep|>original/src/OpenSage.DataViewer.Windows/App.xaml.cs
using System.Windows;
namespace OpenSage.DataViewer
{
public partial class App : Application
{
}
}
... | using System.Windows;
using System.Globalization;
using System.Threading;
namespace OpenSage.DataViewer
{
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
... | <|file_sep|>src/OpenSage.DataViewer.Windows/App.xaml.cs.diff
original:
updated:
using System.Globalization;
using System.Threading;
<|file_sep|>original/src/OpenSage.DataViewer.Windows/App.xaml.cs
using System.Windows;
namespace OpenSage.DataViewer
{
public partial class App : Application
{
}
}
... | f23cc40ad8e6a41354fb65405d4a3a1d2982ee94 | src/OpenSage.DataViewer.Windows/App.xaml.cs | src/OpenSage.DataViewer.Windows/App.xaml.cs | C# |
<|file_sep|>original/conf/environment.yml
- litex-hub
dependencies:
# - litex-hub::gcc-riscv64-elf-newlib
# - litex-hub::toolchain-riscv64-linux-musl
# - litex-hub::nextpnr-ecp5
# - litex-hub::nextpnr-ice40
- litex-hub::dfu-util
- litex-hub::flterm
- litex-hub::openocd
- litex-hub::verilator
- litex-hub... | - litex-hub
dependencies:
# - litex-hub::gcc-riscv64-elf-newlib
# - litex-hub::toolchain-riscv64-linux-musl
# - litex-hub::nextpnr-ecp5
# - litex-hub::nextpnr-ice40
- litex-hub::dfu-util
- litex-hub::flterm
- litex-hub::openocd
- litex-hub::verilator
- litex-hub::nextpnr-nexus
- litex-hub::yosys
- p... | <|file_sep|>original/conf/environment.yml
- litex-hub
dependencies:
# - litex-hub::gcc-riscv64-elf-newlib
# - litex-hub::toolchain-riscv64-linux-musl
# - litex-hub::nextpnr-ecp5
# - litex-hub::nextpnr-ice40
- litex-hub::dfu-util
- litex-hub::flterm
- litex-hub::openocd
- litex-hub::verilator
- litex-hub... | 2704ff7a72a62a0ce25c4efe32057280ce406bba | conf/environment.yml | conf/environment.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.2.0
updated:
- 2.0
- 2.1
- 2.2
- 2.3
<|file_sep|>.travis.yml.diff
original:
- test/gemfiles/rails-3.1
- test/gemfiles/rails-3.2
updated:
<|file_sep|>original/.travis.yml
- 2.0.0
- 2.1.1
- 2.2.0
gemfile:
- test/gemfiles/rails... | language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- 2.3
gemfile:
- test/gemfiles/rails-4.0
- test/gemfiles/rails-4.1
- test/gemfiles/rails-4.2
notifications:
recipients:
email:
- cedric@howe.net
on_success: change
on_failure: always | <|file_sep|>.travis.yml.diff
original:
- 1.9.3
- 2.0.0
- 2.1.1
- 2.2.0
updated:
- 2.0
- 2.1
- 2.2
- 2.3
<|file_sep|>.travis.yml.diff
original:
- test/gemfiles/rails-3.1
- test/gemfiles/rails-3.2
updated:
<|file_sep|>original/.travis.yml
- 2.0.0
- 2.1.1
- 2.2.0
gemfile:
- test/gemfiles/rails... | b042d1f773fc618bb4dc9e5f8c3e5121ebb1bbe5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/db/migrate/20120228194653_approve_all_topics_and_posts.rb
<|file_sep|>current/db/migrate/20120228194653_approve_all_topics_and_posts.rb
<|file_sep|>updated/db/migrate/20120228194653_approve_all_topics_and_posts.rb | class ApproveAllTopicsAndPosts < ActiveRecord::Migration
def up
Forem::Topic.find_each { |t| t.approve! }
Forem::Post.find_each { |t| t.approve! }
end
def down
end
end | <|file_sep|>original/db/migrate/20120228194653_approve_all_topics_and_posts.rb
<|file_sep|>current/db/migrate/20120228194653_approve_all_topics_and_posts.rb
<|file_sep|>updated/db/migrate/20120228194653_approve_all_topics_and_posts.rb
class ApproveAllTopicsAndPosts < ActiveRecord::Migration
def up
Forem::Topic.... | 2ea99504dac25140dd9c3fd432a15e802d698b94 | db/migrate/20120228194653_approve_all_topics_and_posts.rb | db/migrate/20120228194653_approve_all_topics_and_posts.rb | Ruby |
<|file_sep|>original/code/DevHealthController.php
*/
public static $allowed_actions = array(
'index'
);
/**
* @return EnvironmentChecker
*
* @throws SS_HTTPResponse_Exception
*/
public function index()
{
// health check does not require permission to run
... | * @var array
*/
public static $allowed_actions = array(
'index'
);
/**
* @return EnvironmentChecker
*
* @throws SS_HTTPResponse_Exception
*/
public function index()
{
// health check does not require permission to run
$checker = new Environment... | <|file_sep|>original/code/DevHealthController.php
*/
public static $allowed_actions = array(
'index'
);
/**
* @return EnvironmentChecker
*
* @throws SS_HTTPResponse_Exception
*/
public function index()
{
// health check does not require permission to run
... | c24c52e77f5986fcdca84499fa879a88b026f16d | code/DevHealthController.php | code/DevHealthController.php | PHP |
<|file_sep|>doc/src/modules/sets.rst.diff
original:
updated:
.. autofunction:: imageset
<|file_sep|>original/doc/src/modules/sets.rst
Naturals
^^^^^^^^
.. autoclass:: Naturals
:members:
Naturals0
^^^^^^^^^
.. autoclass:: Naturals0
:members:
Integers
^^^^^^^^
.. autoclass:: Integers
:members:
ImageSet
^^^... | .. automodule:: sympy.sets.fancysets
Naturals
^^^^^^^^
.. autoclass:: Naturals
:members:
Naturals0
^^^^^^^^^
.. autoclass:: Naturals0
:members:
Integers
^^^^^^^^
.. autoclass:: Integers
:members:
ImageSet
^^^^^^^^
.. autoclass:: ImageSet
:members: | <|file_sep|>doc/src/modules/sets.rst.diff
original:
updated:
.. autofunction:: imageset
<|file_sep|>original/doc/src/modules/sets.rst
Naturals
^^^^^^^^
.. autoclass:: Naturals
:members:
Naturals0
^^^^^^^^^
.. autoclass:: Naturals0
:members:
Integers
^^^^^^^^
.. autoclass:: Integers
:members:
ImageSet
^^^... | 842755a47d9a47e45b414a58e995a61f6dfcb513 | doc/src/modules/sets.rst | doc/src/modules/sets.rst | reStructuredText |
<|file_sep|>original/python/.vscode/tasks.json
<|file_sep|>current/python/.vscode/tasks.json
<|file_sep|>updated/python/.vscode/tasks.json | {
"version": "0.1.0",
"command": "Python",
"isShellCommand": true,
"showOutput": "always",
"args": ["main.py", "data/graph0.json"]
} | <|file_sep|>original/python/.vscode/tasks.json
<|file_sep|>current/python/.vscode/tasks.json
<|file_sep|>updated/python/.vscode/tasks.json
{
"version": "0.1.0",
"command": "Python",
"isShellCommand": true,
"showOutput": "always",
"args": ["main.py", "data/graph0.json"]
} | fd3b0f5bfae13d2e38b17d590a3dc90b0b744c74 | python/.vscode/tasks.json | python/.vscode/tasks.json | JSON |
<|file_sep|>public/javascripts/mmm.js.diff
original:
$this.append('<li style="display: none" class="'+ this.network + '">' + this.message +' <a href="'+ this.link +'" target="_blank">view</a></li>');
updated:
$('<li>', {
style: "display: none",
class: this.network
}).append(
$('<span>', {
... | href: this.link,
target: '_blank',
text: 'view'
})
).appendTo($this);
});
$this.find('li:lt(3)').show()
});
setInterval(function() {
var html = $this.find('li:first').html();
var klass = $this.find('li:first').attr('class')
$this.find('li:first').fadeOut('slow', func... | <|file_sep|>public/javascripts/mmm.js.diff
original:
$this.append('<li style="display: none" class="'+ this.network + '">' + this.message +' <a href="'+ this.link +'" target="_blank">view</a></li>');
updated:
$('<li>', {
style: "display: none",
class: this.network
}).append(
$('<span>', {
... | c8d672fabd0d741efde2653a61fcdbc78ab4f1ab | public/javascripts/mmm.js | public/javascripts/mmm.js | JavaScript |
<|file_sep|>original/tests/test_add_language/test_update_language_list.py
<|file_sep|>current/tests/test_add_language/test_update_language_list.py
<|file_sep|>updated/tests/test_add_language/test_update_language_list.py | # test_update_language_list
from __future__ import unicode_literals
import json
import os
import os.path
import nose.tools as nose
import yvs.shared as yvs
import utilities.add_language as add_lang
from tests.test_add_language import set_up, tear_down
from tests.test_add_language.decorators import redirect_stdout
... | <|file_sep|>original/tests/test_add_language/test_update_language_list.py
<|file_sep|>current/tests/test_add_language/test_update_language_list.py
<|file_sep|>updated/tests/test_add_language/test_update_language_list.py
# test_update_language_list
from __future__ import unicode_literals
import json
import os
import... | a11d33f5e1df23f044cac709ebbbb5d369d0e6ca | tests/test_add_language/test_update_language_list.py | tests/test_add_language/test_update_language_list.py | Python |
<|file_sep|>scripts/upload_daily_win.sh.diff
original:
COMMIT_SHA=$(git rev-parse HEAD)
updated:
COMMIT_SHA=$(git describe --dirty)
<|file_sep|>original/scripts/upload_daily_win.sh
#!/bin/bash
# Move and Upload
COMMIT_SHA=$(git rev-parse HEAD)
TARGET_DIR=/var/www/wordpress/APMPlanner2/daily
TARGET_SUBDIR=${BUILD_ID:0:1... | #!/bin/bash
# Move and Upload
COMMIT_SHA=$(git describe --dirty)
TARGET_DIR=/var/www/wordpress/APMPlanner2/daily
TARGET_SUBDIR=${BUILD_ID:0:10}
if [ ! -d ${TARGET_DIR}/${TARGET_SUBDIR} ]; then
mkdir ${TARGET_DIR}/${TARGET_SUBDIR}/
fi
mv apmplanner2-installer-win32.exe ${TARGET_DIR}/${TARGET_SUBDIR}/apm_planner_${CO... | <|file_sep|>scripts/upload_daily_win.sh.diff
original:
COMMIT_SHA=$(git rev-parse HEAD)
updated:
COMMIT_SHA=$(git describe --dirty)
<|file_sep|>original/scripts/upload_daily_win.sh
#!/bin/bash
# Move and Upload
COMMIT_SHA=$(git rev-parse HEAD)
TARGET_DIR=/var/www/wordpress/APMPlanner2/daily
TARGET_SUBDIR=${BUILD_ID:0:1... | 680e33bfd65854ce790aafcd82706514469c1d51 | scripts/upload_daily_win.sh | scripts/upload_daily_win.sh | Shell |
<|file_sep|>original/sessions/README.md
# SESSIONS
## PUNK _(Beginner)_
## ROCKSTAR (Intermediate)
- [Effect Pedal Order _(Which Chain Of Effects Pedals Makes Life Easier)_](https://www.justinguitar.com/guitar-lessons/effect-pedal-order-fx-151)
<|file_sep|>current/sessions/README.md
# SESSIONS
## PUNK _(Beginner)_
... | # SESSIONS
## PUNK _(Beginner)_
## ROCKSTAR (Intermediate)
- [Effect Pedal Order _(Which Chain Of Effects Pedals Makes Life Easier)_](https://www.justinguitar.com/guitar-lessons/effect-pedal-order-fx-151)
- Eliminate noise in your studio.
- https://ask.audio/articles/how-to-eliminate-noise-in-the-studio | <|file_sep|>original/sessions/README.md
# SESSIONS
## PUNK _(Beginner)_
## ROCKSTAR (Intermediate)
- [Effect Pedal Order _(Which Chain Of Effects Pedals Makes Life Easier)_](https://www.justinguitar.com/guitar-lessons/effect-pedal-order-fx-151)
<|file_sep|>current/sessions/README.md
# SESSIONS
## PUNK _(Beginner)_
... | b0ae98e63586470230acdead755899202358bdf2 | sessions/README.md | sessions/README.md | Markdown |
<|file_sep|>original/modules/mod-func-top_image_galleries.php
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"], basename(__FILE__)) !== false) {
header("location: index.php");
exit;
}
function module_top_image_galleries_info()
{
return array(
'nam... |
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"], basename(__FILE__)) !== false) {
header("location: index.php");
exit;
}
function module_top_image_galleries_info()
{
return array(
'name' => tra('Top Image Galleries'),
'description' => tra('Disp... | <|file_sep|>original/modules/mod-func-top_image_galleries.php
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"], basename(__FILE__)) !== false) {
header("location: index.php");
exit;
}
function module_top_image_galleries_info()
{
return array(
'nam... | 4e2739d8163abce6a2ddd22e161cbf27bd7de994 | modules/mod-func-top_image_galleries.php | modules/mod-func-top_image_galleries.php | PHP |
<|file_sep|>original/deployment/config.py
class Azure:
resource_group = "MajavaShakki"
location = "northeurope"
cosmosdb_name = f"{resource_group}mongo".lower()
plan_name = f"{resource_group}Plan"
site_name = f"{resource_group}Site"
class Mongo:
database_name = "Majavashakki"
collection_throughput = 500
... | class Azure:
resource_group = "MajavaShakki"
location = "northeurope"
cosmosdb_name = f"{resource_group}mongo".lower()
plan_name = f"{resource_group}Plan"
site_name = f"{resource_group}Site"
class Mongo:
database_name = "Majavashakki"
collection_throughput = 500
system_indexes_collection = "undefined" ... | <|file_sep|>original/deployment/config.py
class Azure:
resource_group = "MajavaShakki"
location = "northeurope"
cosmosdb_name = f"{resource_group}mongo".lower()
plan_name = f"{resource_group}Plan"
site_name = f"{resource_group}Site"
class Mongo:
database_name = "Majavashakki"
collection_throughput = 500
... | 864dac9b2586891f62700e3170421617aca48a88 | deployment/config.py | deployment/config.py | Python |
<|file_sep|>packages/do/dom-lt.yaml.diff
original:
hash: ada739410edbfd244429521e5fb1b6028891ec0ee8eab77104c8a445cebe6a9d
updated:
hash: f4e154bfdc0a7175a24b43288ae5427bbd6b66374f9ba7753e84f89c3e60eadc
<|file_sep|>original/packages/do/dom-lt.yaml
homepage: ''
changelog-type: ''
hash: ada739410edbfd244429521e5fb1b602889... | homepage: ''
changelog-type: ''
hash: f4e154bfdc0a7175a24b43288ae5427bbd6b66374f9ba7753e84f89c3e60eadc
test-bench-deps: {}
maintainer: Matt Morrow <morrow@moonpatio.com>
synopsis: The Lengauer-Tarjan graph dominators algorithm.
changelog: ''
basic-deps:
base: ==4.*
array: <0.6
containers: <0.6
all-versions:
- 0.1... | <|file_sep|>packages/do/dom-lt.yaml.diff
original:
hash: ada739410edbfd244429521e5fb1b6028891ec0ee8eab77104c8a445cebe6a9d
updated:
hash: f4e154bfdc0a7175a24b43288ae5427bbd6b66374f9ba7753e84f89c3e60eadc
<|file_sep|>original/packages/do/dom-lt.yaml
homepage: ''
changelog-type: ''
hash: ada739410edbfd244429521e5fb1b602889... | f370ba4b3e6dc1c5049ad87e25312166cc9012b0 | packages/do/dom-lt.yaml | packages/do/dom-lt.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: required
<|file_sep|>.travis.yml.diff
original:
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M -J-Xms1024M test
updated:
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M -J-Xms1024M test
<... | language: scala
sudo: required
scala:
- 2.12.0
- 2.12.1
- 2.12.2
jdk:
- oraclejdk8
script:
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M -J-Xms1024M test
os:
- linux
- osx | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: required
<|file_sep|>.travis.yml.diff
original:
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M -J-Xms1024M test
updated:
- sbt ++$TRAVIS_SCALA_VERSION -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M -J-Xms1024M test
<... | b9eb488eec4f1ccd11c784b7fef33bdca54d3d29 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/sh/emacs_yum.sh
#!/bin/bash
# Dependent package installation.
sudo yum -y install gcc ncurses-devel
# Download.
curl -fsSL -o emacs-$INSTALL_EMACS_VER.tar.gz http://ftp.gnu.org/gnu/emacs/emacs-$INSTALL_EMACS_VER.tar.gz
tar -zxvf emacs-$INSTALL_EMACS_VER.tar.gz
cd emacs-$INSTALL_EMACS_VER
# Insta... | #!/bin/bash
# Dependent package installation.
sudo yum -y install gcc ncurses-devel
# Download.
curl -fsSL -o emacs-$INSTALL_EMACS_VER.tar.gz http://ftp.gnu.org/gnu/emacs/emacs-$INSTALL_EMACS_VER.tar.gz
tar -zxvf emacs-$INSTALL_EMACS_VER.tar.gz
cd emacs-$INSTALL_EMACS_VER
# Install.
./configure --with-x-toolkit=no -... | <|file_sep|>original/sh/emacs_yum.sh
#!/bin/bash
# Dependent package installation.
sudo yum -y install gcc ncurses-devel
# Download.
curl -fsSL -o emacs-$INSTALL_EMACS_VER.tar.gz http://ftp.gnu.org/gnu/emacs/emacs-$INSTALL_EMACS_VER.tar.gz
tar -zxvf emacs-$INSTALL_EMACS_VER.tar.gz
cd emacs-$INSTALL_EMACS_VER
# Insta... | 45e23efd4ec63175a4fccbee93e7213df4c0f793 | sh/emacs_yum.sh | sh/emacs_yum.sh | Shell |
<|file_sep|>detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/DetektVisitor.kt.diff
original:
updated:
import com.intellij.psi.PsiElement
import com.intellij.psi.impl.source.tree.LeafPsiElement
<|file_sep|>detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/DetektVisitor.kt.diff
original:
updated:
* ... | import com.intellij.psi.PsiElement
import com.intellij.psi.impl.source.tree.LeafPsiElement
import org.jetbrains.kotlin.psi.KtTreeVisitorVoid
/**
* Base visitor for detekt rules.
* Adds additional rules for psi leaf elements.
*
* @author Artur Bosch
*/
@Suppress("EmptyFunctionBlock")
open class DetektVisitor : KtT... | <|file_sep|>detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/DetektVisitor.kt.diff
original:
updated:
import com.intellij.psi.PsiElement
import com.intellij.psi.impl.source.tree.LeafPsiElement
<|file_sep|>detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/DetektVisitor.kt.diff
original:
updated:
* ... | a169c5071e7e1144a30e3006f437be1973aadce5 | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/DetektVisitor.kt | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/DetektVisitor.kt | Kotlin |
<|file_sep|>original/index.js
'use strict';
var jest = require('jest-cli'),
gutil = require('gulp-util'),
through = require('through2');
module.exports = function (options) {
options = options || {};
return through.obj(function (file, enc, cb) {
options.rootDir = options.rootDir || file.path;
... |
var jest = require('jest-cli'),
gutil = require('gulp-util'),
through = require('through2');
module.exports = function (options) {
options = options || {};
return through.obj(function (file, enc, cb) {
options.rootDir = options.rootDir || file.path;
var cliOptions = {config: options};... | <|file_sep|>original/index.js
'use strict';
var jest = require('jest-cli'),
gutil = require('gulp-util'),
through = require('through2');
module.exports = function (options) {
options = options || {};
return through.obj(function (file, enc, cb) {
options.rootDir = options.rootDir || file.path;
... | aef23e6966ba96a53d3d46a92f2c5ec0c0876347 | index.js | index.js | JavaScript |
<|file_sep|>DependencyInjection/Compiler/MobileClientCompilerPass.php.diff
original:
if (empty($attribute['support'])) {
throw new \InvalidArgumentException(sprintf('"link_value_mobile_notif.mobile_client" tag must define "support" key.'));
updated:
if (empty($attribu... | if (!$container->hasDefinition('link_value_mobile_notif.mobile_notif')) {
return;
}
$definition = $container->getDefinition('link_value_mobile_notif.mobile_notif');
$tagged = $container->findTaggedServiceIds('link_value_mobile_notif.mobile_client');
foreach ($tagged... | <|file_sep|>DependencyInjection/Compiler/MobileClientCompilerPass.php.diff
original:
if (empty($attribute['support'])) {
throw new \InvalidArgumentException(sprintf('"link_value_mobile_notif.mobile_client" tag must define "support" key.'));
updated:
if (empty($attribu... | 413376aa90f57f3ad9b6593d1cef87ed56a171a4 | DependencyInjection/Compiler/MobileClientCompilerPass.php | DependencyInjection/Compiler/MobileClientCompilerPass.php | PHP |
<|file_sep|>original/ckanext/ckanext-apicatalog_scheming/ckanext/apicatalog_scheming/templates/scheming/package/read.html
</p>
{%- endif -%}
{% if pkg.notes %}
<div class="notes embedded-content">
{{ h.render_markdown(h.get_translated(pkg, 'notes')) }}
</div>
{% endif %}
{% endblock %}
{% block... | </p>
{%- endif -%}
{% if pkg.notes %}
<div class="notes embedded-content">
{{ h.render_markdown(h.get_translated(pkg, 'notes')) }}
</div>
{% endif %}
{% endblock %}
{% block content_action %}
{% if h.is_extension_loaded('apply_permissions_for_service')
and h.check_access('service_permiss... | <|file_sep|>original/ckanext/ckanext-apicatalog_scheming/ckanext/apicatalog_scheming/templates/scheming/package/read.html
</p>
{%- endif -%}
{% if pkg.notes %}
<div class="notes embedded-content">
{{ h.render_markdown(h.get_translated(pkg, 'notes')) }}
</div>
{% endif %}
{% endblock %}
{% block... | 255c09567db434359c15c97176a441d3f10b47b8 | ckanext/ckanext-apicatalog_scheming/ckanext/apicatalog_scheming/templates/scheming/package/read.html | ckanext/ckanext-apicatalog_scheming/ckanext/apicatalog_scheming/templates/scheming/package/read.html | HTML |
<|file_sep|>original/README.md
hamwerk
=======
A better homework system. Well, maybe.
Development
-----------
vagrant up
vagrant ssh
$ meteor
<|file_sep|>current/README.md
hamwerk
=======
A better homework system. Well, maybe.
Development
-----------
vagrant up
vagrant ssh
$ meteor
<|fil... | hamwerk
=======
A better homework system.
Development
-----------
vagrant up
vagrant ssh
$ meteor | <|file_sep|>original/README.md
hamwerk
=======
A better homework system. Well, maybe.
Development
-----------
vagrant up
vagrant ssh
$ meteor
<|file_sep|>current/README.md
hamwerk
=======
A better homework system. Well, maybe.
Development
-----------
vagrant up
vagrant ssh
$ meteor
<|fil... | 7f4cb35a72f0bc6ed33c91803a85f5b0a8e761f7 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- pipenv shell
- pipenv install --dev
- pip install tox-travis
script: tox
updated:
- pipenv install --dev --system
- pipenv run pip install tox-travis
script: pipenv run tox
<|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
sudo: false
install:
- pip... | language: python
python:
- "3.6"
sudo: false
install:
- pip install pipenv
- pipenv install --dev --system
- pipenv run pip install tox-travis
script: pipenv run tox
after_success:
- pipenv run tox -e ci
- scripts/discord-webhook.sh success $WEBHOOK_URL
after_failure:
- scripts/discord-webhook.sh failure ... | <|file_sep|>.travis.yml.diff
original:
- pipenv shell
- pipenv install --dev
- pip install tox-travis
script: tox
updated:
- pipenv install --dev --system
- pipenv run pip install tox-travis
script: pipenv run tox
<|file_sep|>original/.travis.yml
language: python
python:
- "3.6"
sudo: false
install:
- pip... | 87c6a75cc3fc42e09fe1867915442daedb08b3a8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/views/App.vue.diff
original:
<div id="layout" v-bind:class="{ 'menu-hidden': isMenuHidden }">
updated:
<div id="layout" v-bind:class="{ 'menu-hidden': ($route.path === '/login' || $route.path === '/register') }">
<|file_sep|>src/views/App.vue.diff
original:
return {
isMenuHidden: false
... | right: 0;
margin-left: 150px;
height: 100%;
}
@media(max-width: 600px) {
#content {
margin-left: 0;
}
}
#layout.menu-hidden {
#menu, .menu-link {
display: none;
}
#content {
margin-left: 0;
}
}
</style> | <|file_sep|>src/views/App.vue.diff
original:
<div id="layout" v-bind:class="{ 'menu-hidden': isMenuHidden }">
updated:
<div id="layout" v-bind:class="{ 'menu-hidden': ($route.path === '/login' || $route.path === '/register') }">
<|file_sep|>src/views/App.vue.diff
original:
return {
isMenuHidden: false
... | 0b6b8cb16e11a77ad9a578be5821440a3873a0aa | src/views/App.vue | src/views/App.vue | Vue |
<|file_sep|>original/package.json
{
"name": "js-objects",
"version": "0.0.0",
"description": "New way on OOP in Javascript.",
"main": "Heritage.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/ezekielriva/js-objects.git"
},
"keywords": [
"m... | {
"name": "js-objects",
"version": "0.0.0",
"description": "New way on OOP in Javascript.",
"main": "Heritage.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/ezekielriva/js-objects.git"
},
"keywords": [
"mocha",
... | <|file_sep|>original/package.json
{
"name": "js-objects",
"version": "0.0.0",
"description": "New way on OOP in Javascript.",
"main": "Heritage.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "https://github.com/ezekielriva/js-objects.git"
},
"keywords": [
"m... | fb131db31f7db54f96a8de5b9347113416291751 | package.json | package.json | JSON |
<|file_sep|>original/source/_posts/2015-05-23-join-memtech-on-slack-chat.md
<|file_sep|>current/source/_posts/2015-05-23-join-memtech-on-slack-chat.md
<|file_sep|>updated/source/_posts/2015-05-23-join-memtech-on-slack-chat.md | ---
title: "Join #memtech Slack - Memphis Technical Community Chat"
tags:
- memtech
- memphis
- slack
- chat
categories:
- news
author:
- Joe
---
Join us on Slack! Chat with other #memtech community members.
By joining our Slack you are agreeing to follow the [Python Code of Conduct](https://w... | <|file_sep|>original/source/_posts/2015-05-23-join-memtech-on-slack-chat.md
<|file_sep|>current/source/_posts/2015-05-23-join-memtech-on-slack-chat.md
<|file_sep|>updated/source/_posts/2015-05-23-join-memtech-on-slack-chat.md
---
title: "Join #memtech Slack - Memphis Technical Community Chat"
tags:
- memtech
... | 9fc0090550faf24cb4edbc4713a51c3d99784bfd | source/_posts/2015-05-23-join-memtech-on-slack-chat.md | source/_posts/2015-05-23-join-memtech-on-slack-chat.md | Markdown |
<|file_sep|>original/latestVersion.sbt
latestVersion in ThisBuild := "0.10.1"
latestBinaryCompatibleVersion in ThisBuild := Some("0.10.1")
unreleasedModuleNames in ThisBuild := Set()
<|file_sep|>current/latestVersion.sbt
latestVersion in ThisBuild := "0.10.1"
latestBinaryCompatibleVersion in ThisBuild := Some("0.10.1")... | latestVersion in ThisBuild := "0.10.2"
latestBinaryCompatibleVersion in ThisBuild := Some("0.10.2")
unreleasedModuleNames in ThisBuild := Set() | <|file_sep|>original/latestVersion.sbt
latestVersion in ThisBuild := "0.10.1"
latestBinaryCompatibleVersion in ThisBuild := Some("0.10.1")
unreleasedModuleNames in ThisBuild := Set()
<|file_sep|>current/latestVersion.sbt
latestVersion in ThisBuild := "0.10.1"
latestBinaryCompatibleVersion in ThisBuild := Some("0.10.1")... | 5a2a90f5e4a2471ae07e4fa4acd22fc61d4ddb4e | latestVersion.sbt | latestVersion.sbt | Scala |
<|file_sep|>original/relhelper.sh
#!/bin/sh
# Check the environment for whether we're cross-compiling or not
if [ -z "$NERVES_SDK_SYSROOT" ]; then
echo "Generating a host release (Did you forget to load the nerves environment?)"
relx
else
echo "Generating a cross-compiled release"
relx --system_libs $NERVES_SDK_S... | #!/bin/sh
# Check the environment for whether we're cross-compiling or not
if [ -z "$NERVES_SDK_SYSROOT" ]; then
echo "Generating a host release (Did you forget to load the nerves environment?)"
relx
else
echo "Generating a cross-compiled release"
relx --system_libs $NERVES_SDK_SYSROOT/usr/lib/erlang/lib
fi
| <|file_sep|>original/relhelper.sh
#!/bin/sh
# Check the environment for whether we're cross-compiling or not
if [ -z "$NERVES_SDK_SYSROOT" ]; then
echo "Generating a host release (Did you forget to load the nerves environment?)"
relx
else
echo "Generating a cross-compiled release"
relx --system_libs $NERVES_SDK_S... | d2c28771237f798f530f016ac7e02513d10ad8f7 | relhelper.sh | relhelper.sh | Shell |
<|file_sep|>original/discli.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/discli/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Chris Hunt"]
gem.email = ["c@chrishunt.co"]
gem.description = %q{CLI for discogs.com}
gem.summary = %q{CLI for discogs.... | # -*- encoding: utf-8 -*-
require File.expand_path('../lib/discli/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Chris Hunt"]
gem.email = ["c@chrishunt.co"]
gem.description = %q{CLI for discogs.com}
gem.summary = %q{CLI for discogs.com}
gem.homepage = "https://... | <|file_sep|>original/discli.gemspec
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/discli/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Chris Hunt"]
gem.email = ["c@chrishunt.co"]
gem.description = %q{CLI for discogs.com}
gem.summary = %q{CLI for discogs.... | d110bb8f0d287d0275d474bb297560070ee9090a | discli.gemspec | discli.gemspec | Ruby |
<|file_sep|>original/fluency-aws-s3/build.gradle.kts
dependencies {
implementation(projects.fluencyCore)
implementation("software.amazon.awssdk:s3:2.17.223")
}
<|file_sep|>current/fluency-aws-s3/build.gradle.kts
dependencies {
implementation(projects.fluencyCore)
implementation("software.amazon.awssdk:s3:2.17... | dependencies {
implementation(projects.fluencyCore)
implementation("software.amazon.awssdk:s3:2.17.281")
} | <|file_sep|>original/fluency-aws-s3/build.gradle.kts
dependencies {
implementation(projects.fluencyCore)
implementation("software.amazon.awssdk:s3:2.17.223")
}
<|file_sep|>current/fluency-aws-s3/build.gradle.kts
dependencies {
implementation(projects.fluencyCore)
implementation("software.amazon.awssdk:s3:2.17... | fc7728faec7d9232dbdad47f971421c1a355e9db | fluency-aws-s3/build.gradle.kts | fluency-aws-s3/build.gradle.kts | Kotlin |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
services:
- postgresql
before_script:
- cp spec/dummy/config/database.yml{.sample,}
- psql -c 'create database storey_test;' -U postgres
gemfile:
- gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile
<|file_sep|>current/.travis.yml
language: ruby
... | language: ruby
rvm:
- 1.9.3
- 2.1.1
services:
- postgresql
before_script:
- cp spec/dummy/config/database.yml{.sample,}
- psql -c 'create database storey_test;' -U postgres
gemfile:
- gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
services:
- postgresql
before_script:
- cp spec/dummy/config/database.yml{.sample,}
- psql -c 'create database storey_test;' -U postgres
gemfile:
- gemfiles/rails_3.gemfile
- gemfiles/rails_4.gemfile
<|file_sep|>current/.travis.yml
language: ruby
... | 37d33a92d0f12648d5ae9e01b1c7206bab36cba6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/views/user_reports/deleted.html.erb.diff
original:
<th>Last Login</th>
updated:
<th>Deleted </th>
<|file_sep|>app/views/user_reports/deleted.html.erb.diff
original:
<td><%= time_ago_in_words_with_nils(user.last_sign_in_at) %> </td>
updated:
<td><%= time_ago_in_words_with_... | </tr>
</thead>
<% @users.each do |user| %>
<tr id="<%= user.id %>" class="actions-right">
<td><%= user.email %></td>
<td><%= time_ago_in_words_with_nils(user.deleted_at) %> </td>
<td><%= user.organisation.name if user.organisation %></td>
<td>
<% i... | <|file_sep|>app/views/user_reports/deleted.html.erb.diff
original:
<th>Last Login</th>
updated:
<th>Deleted </th>
<|file_sep|>app/views/user_reports/deleted.html.erb.diff
original:
<td><%= time_ago_in_words_with_nils(user.last_sign_in_at) %> </td>
updated:
<td><%= time_ago_in_words_with_... | 7b9b948391eec5da1a319fb6315e8edeacc247ce | app/views/user_reports/deleted.html.erb | app/views/user_reports/deleted.html.erb | HTML+ERB |
<|file_sep|>turbustat/statistics/input_base.py.diff
original:
updated:
import numpy as np
<|file_sep|>turbustat/statistics/input_base.py.diff
original:
def input_data(data):
updated:
def input_data(data, no_header=False):
<|file_sep|>turbustat/statistics/input_base.py.diff
original:
updated:
Parameters
-----... | elif isinstance(data, LowerDimensionalObject):
output_data = (data.value, data.header)
elif isinstance(data, tuple) or isinstance(data, list):
if len(data) != 2:
raise TypeError("Must have two items: data and the header.")
output_data = data
elif isinstance(data, np.ndarr... | <|file_sep|>turbustat/statistics/input_base.py.diff
original:
updated:
import numpy as np
<|file_sep|>turbustat/statistics/input_base.py.diff
original:
def input_data(data):
updated:
def input_data(data, no_header=False):
<|file_sep|>turbustat/statistics/input_base.py.diff
original:
updated:
Parameters
-----... | ad2b8bce02c7b7b7ab477fc7fccc1b38fb60e63a | turbustat/statistics/input_base.py | turbustat/statistics/input_base.py | Python |
<|file_sep|>spec/response/client_error_spec.rb.diff
original:
updated:
module KJess::Spec
class BadRequest < KJess::Request
keyword 'BADREQUEST'
arity 1
end
end
<|file_sep|>original/spec/response/client_error_spec.rb
require 'spec_helper'
describe KJess::ClientError do
before do
@client = KJess::... | class BadRequest < KJess::Request
keyword 'BADREQUEST'
arity 1
end
end
describe KJess::ClientError do
before do
@client = KJess::Spec.kjess_client()
end
after do
KJess::Spec.reset_server( @client )
end
it "raises a client error if we send an invalid command" do
lambda { @client.se... | <|file_sep|>spec/response/client_error_spec.rb.diff
original:
updated:
module KJess::Spec
class BadRequest < KJess::Request
keyword 'BADREQUEST'
arity 1
end
end
<|file_sep|>original/spec/response/client_error_spec.rb
require 'spec_helper'
describe KJess::ClientError do
before do
@client = KJess::... | 8565b40d86affc45d670a0d13b873f26ab40a45a | spec/response/client_error_spec.rb | spec/response/client_error_spec.rb | Ruby |
<|file_sep|>original/portal/models/research_protocol.py
def __init__(self, name):
self.name = name
self.created_at = datetime.utcnow()
@classmethod
def from_json(cls, data):
if 'name' not in data:
raise ValueError("missing required name field")
rp = ResearchProt... |
def __init__(self, name):
self.name = name
self.created_at = datetime.utcnow()
@classmethod
def from_json(cls, data):
if 'name' not in data:
raise ValueError("missing required name field")
instance = cls(data['name'])
return instance.update_from_json(dat... | <|file_sep|>original/portal/models/research_protocol.py
def __init__(self, name):
self.name = name
self.created_at = datetime.utcnow()
@classmethod
def from_json(cls, data):
if 'name' not in data:
raise ValueError("missing required name field")
rp = ResearchProt... | 29b26aa8b44ea5820cfcd20e324d2c3631338228 | portal/models/research_protocol.py | portal/models/research_protocol.py | Python |
<|file_sep|>original/run-tests.sh
run_tests() {
echo "Running 'xcodebuild test' for $1. Please wait..."
xcodebuild \
-project SwiftyZeroMQ.xcodeproj \
-scheme SwiftyZeroMQ \
-sdk iphonesimulator \
-destination "$1" \
-verbose test | xcpretty
}
# Check whether xcpretty is installed
if ! command... |
run_tests() {
echo "Running 'xcodebuild test' for $1. Please wait..."
xcodebuild \
-project SwiftyZeroMQ.xcodeproj \
-scheme SwiftyZeroMQ \
-sdk iphonesimulator \
-destination "$1" \
-verbose test | xcpretty
}
# Check whether xcpretty is installed
if ! command_exists xcpretty; then
echo "xc... | <|file_sep|>original/run-tests.sh
run_tests() {
echo "Running 'xcodebuild test' for $1. Please wait..."
xcodebuild \
-project SwiftyZeroMQ.xcodeproj \
-scheme SwiftyZeroMQ \
-sdk iphonesimulator \
-destination "$1" \
-verbose test | xcpretty
}
# Check whether xcpretty is installed
if ! command... | 05549fd840958a55c858f1fa0d43f0e236759514 | run-tests.sh | run-tests.sh | Shell |
<|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.anrisoftware.globalpom... | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.anrisoftware.globalpom</groupId>
<artifactId>glob... | <|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.anrisoftware.globalpom... | 41dec128e529bc4f9d314e77c523a21ed572900c | pom.xml | pom.xml | XML |
<|file_sep|>original/papi-loader.php
/**
* Plugin Name: Papi
* Description: Page Type API
* Author: Fredrik Forsmo
* Author URI: http://forsmo.me
* Version: 2.3.0-dev
* Plugin URI: https://wp-papi.github.io
* Textdomain: papi
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
// Load Composer auto... | * Plugin Name: Papi
* Description: Page Type API
* Author: Fredrik Forsmo
* Author URI: http://forsmo.me
* Version: 2.3.0-dev
* Plugin URI: https://wp-papi.github.io
* Textdomain: papi
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
// Load Composer autoload if it exists and
// the Container cla... | <|file_sep|>original/papi-loader.php
/**
* Plugin Name: Papi
* Description: Page Type API
* Author: Fredrik Forsmo
* Author URI: http://forsmo.me
* Version: 2.3.0-dev
* Plugin URI: https://wp-papi.github.io
* Textdomain: papi
*/
// Exit if accessed directly
defined( 'ABSPATH' ) || exit;
// Load Composer auto... | 08c9a7daddc17c6ef19e7b0e7beff38ed75b222b | papi-loader.php | papi-loader.php | PHP |
<|file_sep|>original/webservice/bootstrap/app.php
|
| Here we will load the environment and create the application instance
| that serves as the central piece of this framework. We'll use this
| application as an "IoC" container and router for this framework.
|
*/
$app = new Laravel\Lumen\Application(
realpath(__DI... | |
| Here we will load the environment and create the application instance
| that serves as the central piece of this framework. We'll use this
| application as an "IoC" container and router for this framework.
|
*/
$app = new Laravel\Lumen\Application(
realpath(__DIR__.'/../')
);
$app->withFacades();
$app->withElo... | <|file_sep|>original/webservice/bootstrap/app.php
|
| Here we will load the environment and create the application instance
| that serves as the central piece of this framework. We'll use this
| application as an "IoC" container and router for this framework.
|
*/
$app = new Laravel\Lumen\Application(
realpath(__DI... | 315657ab5312d9d102f789041803dd99b21d98df | webservice/bootstrap/app.php | webservice/bootstrap/app.php | PHP |
<|file_sep|>ISSUE_TEMPLATE.md.diff
original:
// Replace this text with a description of what problem you're having.
// Please include as much detail as possible to help us troubleshoot!
// If it isn't obvious, please include how the behavior you expect differs from what actually happened.
// This is really import... | ### Description of the Issue
<!-- Replace this text with a description of what problem you're having. -->
<!-- Please include as much detail as possible to help us troubleshoot! -->
<!-- If it isn't obvious, please include how the behavior you expect differs from what actually happened. -->
<!-- This is really importan... | <|file_sep|>ISSUE_TEMPLATE.md.diff
original:
// Replace this text with a description of what problem you're having.
// Please include as much detail as possible to help us troubleshoot!
// If it isn't obvious, please include how the behavior you expect differs from what actually happened.
// This is really import... | 9431cbaced024695996d2180fbd4100f828be579 | ISSUE_TEMPLATE.md | ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
# This is required for the releasenotes build jobs
reno>=3.1.0 # Apache-2.0
<|file_sep|>current/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 #... | # This is required for the docs build jobs
sphinx>=3.5.1 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
# This is required for the releasenotes build jobs
reno>=3.2.0 # Apache-2.0 | <|file_sep|>original/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
# This is required for the releasenotes build jobs
reno>=3.1.0 # Apache-2.0
<|file_sep|>current/doc/requirements.txt
# This is required for the docs build jobs
sphinx>=3.5.1 #... | 1392801ea8d8216f0625a2d1f1e1ed35251cb1bd | doc/requirements.txt | doc/requirements.txt | Text |
<|file_sep|>spec/page_objects/circle/roles.rb.diff
original:
updated:
element :status, 'td:nth-child(3)'
<|file_sep|>original/spec/page_objects/circle/roles.rb
set_url '/circles/{circle_id}/admin/roles{?as}'
element :promote_user_link, 'a', text: /Promote User/
element :save_role_button, 'in... | element :promote_user_link, 'a', text: /Promote User/
element :save_role_button, 'input[type=submit][value=Save]'
sections :admins, '.default-table tbody tr' do
element :role, 'td:nth-child(1)'
element :name, 'td:nth-child(2)'
element :status, 'td:nth-child(3)'
element... | <|file_sep|>spec/page_objects/circle/roles.rb.diff
original:
updated:
element :status, 'td:nth-child(3)'
<|file_sep|>original/spec/page_objects/circle/roles.rb
set_url '/circles/{circle_id}/admin/roles{?as}'
element :promote_user_link, 'a', text: /Promote User/
element :save_role_button, 'in... | 7b39ca947cf6345d86d2b589a296dff63e1f8d4a | spec/page_objects/circle/roles.rb | spec/page_objects/circle/roles.rb | Ruby |
<|file_sep|>original/segments/sigstatus.fish
#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-
function FLSEG_SIGSTATUS
if [ $FLINT_STATUS -gt 128 ]; and [ $FLINT_STATUS -lt 160 ]
FLINT_CLOSE $FLCLR_STATUS_BG $FLCLR_STATUS_FG
printf SIG(kill -l $FLINT_STATUS)
else if [ $FLINT_STATUS -eq 126 ]
FLINT_CLOSE... | #!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-
function FLSEG_SIGSTATUS
if [ $FLINT_STATUS -gt 128 ]; and [ $FLINT_STATUS -lt 160 ]
FLINT_CLOSE $FLCLR_STATUS_BG $FLCLR_STATUS_FG
printf SIG(kill -l $FLINT_STATUS | tr '[a-z]' '[A-Z]')
else if [ $FLINT_STATUS -eq 126 ]
FLINT_CLOSE $FLCLR_STATUS_BG $FLCLR... | <|file_sep|>original/segments/sigstatus.fish
#!/usr/bin/env fish
# -*- mode:fish; tab-width:4 -*-
function FLSEG_SIGSTATUS
if [ $FLINT_STATUS -gt 128 ]; and [ $FLINT_STATUS -lt 160 ]
FLINT_CLOSE $FLCLR_STATUS_BG $FLCLR_STATUS_FG
printf SIG(kill -l $FLINT_STATUS)
else if [ $FLINT_STATUS -eq 126 ]
FLINT_CLOSE... | 8ce2752b871b5b222c4098f00298b74d66040b35 | segments/sigstatus.fish | segments/sigstatus.fish | fish |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-5.4-20190329080509+0000-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/w... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-5.4-20190404011421+0000-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-5.4-20190329080509+0000-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
<|file_sep|>current/gradle/w... | 8d48e3c6172a62a05bd60ad60eb7788b818a409c | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>lib/fix_db_schema_conflicts/schema_dumper.rb.diff
original:
class TableSorter < SimpleDelegator
updated:
class ConnectionWithSorting < SimpleDelegator
def extensions
__getobj__.extensions.sort
end
<|file_sep|>lib/fix_db_schema_conflicts/schema_dumper.rb.diff
original:
def ta... | with_sorting do
extensions_without_sorting(*args)
end
end
alias_method_chain :extensions, :sorting
def table_with_sorting(*args)
with_sorting do
table_without_sorting(*args)
end
end
alias_method_chain :table, :sorting
def with_sorting(&block)
old, ... | <|file_sep|>lib/fix_db_schema_conflicts/schema_dumper.rb.diff
original:
class TableSorter < SimpleDelegator
updated:
class ConnectionWithSorting < SimpleDelegator
def extensions
__getobj__.extensions.sort
end
<|file_sep|>lib/fix_db_schema_conflicts/schema_dumper.rb.diff
original:
def ta... | 995177dbdf5ee9ef74d09d3c97985b19366b4695 | lib/fix_db_schema_conflicts/schema_dumper.rb | lib/fix_db_schema_conflicts/schema_dumper.rb | Ruby |
<|file_sep|>packages/tr/transient.yaml.diff
original:
hash: 6d5c85cce22d9e02bec25aa662fddc518691b80e3fe93649eea9c72420ca9795
updated:
hash: 6ea0eed1cfdedb94f6f826e4256ca57bfa769d36ce386c622d8e3d17e1221462
<|file_sep|>packages/tr/transient.yaml.diff
original:
updated:
- '0.1.0.2'
<|file_sep|>original/packages/tr/transi... | base: ! '>4 && <5'
filepath: -any
process: -any
network: -any
containers: -any
transient: -any
mtl: -any
network-info: -any
HTTP: -any
transformers: -any
random: -any
directory: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: Alberto G. Corona
latest: '0.1.0.2'
description-type: h... | <|file_sep|>packages/tr/transient.yaml.diff
original:
hash: 6d5c85cce22d9e02bec25aa662fddc518691b80e3fe93649eea9c72420ca9795
updated:
hash: 6ea0eed1cfdedb94f6f826e4256ca57bfa769d36ce386c622d8e3d17e1221462
<|file_sep|>packages/tr/transient.yaml.diff
original:
updated:
- '0.1.0.2'
<|file_sep|>original/packages/tr/transi... | 7d50262ff9b1a57f887366eb05db08a45b89375c | packages/tr/transient.yaml | packages/tr/transient.yaml | YAML |
<|file_sep|>original/README.md
#Autofac.Multitenant.Wcf
Multitenant Windows Communication Foundation (WCF) enhancements for Autofac IoC
[](https://ci.appveyor.com/project/Autofac/autofac-multitenant-wcf) [ enhancements for Autofac IoC
[](https://ci.appveyor.com/project/Autofac/autofac-multitenant-wcf) [ enhancements for Autofac IoC
[](https://ci.appveyor.com/project/Autofac/autofac-multitenant-wcf) [
# Make test executable
set( TEST_SOURCES
main.cpp
units_test.cpp
inputfile_test.cpp
scenario_test.cpp
)
set( SOURCES
../src/lib/inputfile.cpp
../src/scenario/scenario.cpp
)
add_executable( tests ... | )
# Make test executable
set( TEST_SOURCES
main.cpp
units_test.cpp
inputfile_test.cpp
scenario_test.cpp
)
set( SOURCES
../src/lib/inputfile.cpp
../src/scenario/scenario.cpp
)
add_executable( tests ${TEST_SOURCES} ${SOURCES} )
target_link_libraries(
tests
Catch
-ldl
) | <|file_sep|>original/tests/CMakeLists.txt
../src/lib
../src/external
../src/orrery
../src/scenario
)
# Make test executable
set( TEST_SOURCES
main.cpp
units_test.cpp
inputfile_test.cpp
scenario_test.cpp
)
set( SOURCES
../src/lib/inputfile.cpp
../src/scenario/scenario.cpp
)
add_executable( tests ... | 78c56e9a2c93a793d65b52c9686fb7e17c4bbf5c | tests/CMakeLists.txt | tests/CMakeLists.txt | Text |
<|file_sep|>src/routes/index.js.diff
original:
updated:
const path = require('path');
<|file_sep|>original/src/routes/index.js
'use strict';
const express = require('express');
const cors = require('cors');
const MockCtrl = require('../controllers/MockCtrl');
module.exports = function({Configuration, Logger, app}) {... | 'use strict';
const express = require('express');
const cors = require('cors');
const path = require('path');
const MockCtrl = require('../controllers/MockCtrl');
module.exports = function({Configuration, Logger, app}) {
// Cross-domain management
app.use(cors());
// Index route
app.use(express.static(path.j... | <|file_sep|>src/routes/index.js.diff
original:
updated:
const path = require('path');
<|file_sep|>original/src/routes/index.js
'use strict';
const express = require('express');
const cors = require('cors');
const MockCtrl = require('../controllers/MockCtrl');
module.exports = function({Configuration, Logger, app}) {... | 65135bb50887a2841a68e7dfbeffc0c686b547a9 | src/routes/index.js | src/routes/index.js | JavaScript |
<|file_sep|>app/models/task-detail.js.diff
original:
thread: DS.belongsTo("thread", { async: true }),
updated:
thread: DS.belongsTo("thread"),
<|file_sep|>original/app/models/task-detail.js
import DS from "ember-data";
export default DS.Model.extend( {
body: DS.attr("string"),
solution: DS.attr("string"),
thread... | import DS from "ember-data";
export default DS.Model.extend( {
body: DS.attr("string"),
solution: DS.attr("string"),
thread: DS.belongsTo("thread"),
modules: DS.hasMany("module"),
best_scores: DS.hasMany("user-score"), // Top 5
comment: DS.belongsTo("thread"),
achievements: DS.hasMany("achievements", { async:... | <|file_sep|>app/models/task-detail.js.diff
original:
thread: DS.belongsTo("thread", { async: true }),
updated:
thread: DS.belongsTo("thread"),
<|file_sep|>original/app/models/task-detail.js
import DS from "ember-data";
export default DS.Model.extend( {
body: DS.attr("string"),
solution: DS.attr("string"),
thread... | fee19fd577b5b43fb94a2b9729981441c2e0bd8d | app/models/task-detail.js | app/models/task-detail.js | JavaScript |
<|file_sep|>original/jara.gemspec
Gem::Specification.new do |s|
s.name = 'jara'
s.version = Jara::VERSION.dup
s.license = 'BSD-3-Clause'
s.authors = ['Burt Platform Team']
s.email = ['theo@burtcorp.com']
s.homepage = 'http://github.com/burtcorp/jara'
s.summary ... | Gem::Specification.new do |s|
s.name = 'jara'
s.version = Jara::VERSION.dup
s.license = 'BSD-3-Clause'
s.authors = ['Burt Platform Team']
s.email = ['theo@burtcorp.com']
s.homepage = 'http://github.com/burtcorp/jara'
s.summary = %q{Builds and publishes JAR art... | <|file_sep|>original/jara.gemspec
Gem::Specification.new do |s|
s.name = 'jara'
s.version = Jara::VERSION.dup
s.license = 'BSD-3-Clause'
s.authors = ['Burt Platform Team']
s.email = ['theo@burtcorp.com']
s.homepage = 'http://github.com/burtcorp/jara'
s.summary ... | fcc6edca0065d1ec695fcbe0514cdb5b921fac8f | jara.gemspec | jara.gemspec | Ruby |
<|file_sep|>test/test_property.py.diff
original:
from odml import Property, Section, Document
updated:
from odml import Property, Section, Document, DType
<|file_sep|>original/test/test_property.py
class TestProperty(unittest.TestCase):
def setUp(self):
pass
def test_value(self):
p = Property... |
class TestProperty(unittest.TestCase):
def setUp(self):
pass
def test_value(self):
p = Property("property", 100)
assert(p.value[0] == 100)
def test_bool_conversion(self):
p = Property(name='received', value=[3, 0, 1, 0, 8])
assert(p.dtype == 'int')
p.dtyp... | <|file_sep|>test/test_property.py.diff
original:
from odml import Property, Section, Document
updated:
from odml import Property, Section, Document, DType
<|file_sep|>original/test/test_property.py
class TestProperty(unittest.TestCase):
def setUp(self):
pass
def test_value(self):
p = Property... | 80503c24854e976fa4bc86319f6c11dc3a5186b2 | test/test_property.py | test/test_property.py | Python |
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
os:
- linux
- osx
sudo: false
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- bash .ci/travis/install_python.sh
- exp... | - osx
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- bash .ci/travis/install_python.sh
- export PATH="$HOME/miniconda/bin:$PATH"
- conda info -a
- conda build -q -c csdms .conda
- pip install coveralls
- ba... | <|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
os:
- linux
- osx
sudo: false
before_install:
- echo "Build on $TRAVIS_OS_NAME"
- if [[ "$TRAVIS_TAG" == v* ]]; then export BUILD_STR=""; else export BUILD_STR="dev"; fi
- bash .ci/travis/install_python.sh
- exp... | 3d89d312c5dd422130fc07807bac9f9e04a4e40e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/articles/feed.rss.builder
xml.author "George Chang"
xml.description "George's Blog"
xml.link "http://georgeweblabs.com/"
xml.language "zh-TW"
for article in @articles
xml.item do
if article.title
xml.title article.title
else
x... | xml.author "George Chang"
xml.description "George's Blog"
xml.link "http://georgeweblabs.com/"
xml.language "zh-TW"
for article in @articles
xml.item do
if article.title
xml.title article.title
else
xml.title ""
end
xml.author article.user.n... | <|file_sep|>original/app/views/articles/feed.rss.builder
xml.author "George Chang"
xml.description "George's Blog"
xml.link "http://georgeweblabs.com/"
xml.language "zh-TW"
for article in @articles
xml.item do
if article.title
xml.title article.title
else
x... | 0dbf32af1c501608539149d2b524b4c658ae97e1 | app/views/articles/feed.rss.builder | app/views/articles/feed.rss.builder | Ruby |
<|file_sep|>original/sphinx-doc/module-hoomd-data.rst
DihedralLocalAccessBase,
ImproperLocalAccessBase,
PairLocalAccessBase,
ParticleLocalAccessBase
.. autoclass:: LocalSnapshot
:inherited-members:
.. autoclass:: LocalSnapshotGPU
:inherit... | ConstraintLocalAccessBase,
DihedralLocalAccessBase,
ImproperLocalAccessBase,
PairLocalAccessBase,
ParticleLocalAccessBase
.. autoclass:: LocalSnapshot
:inherited-members:
.. autoclass:: LocalSnapshotGPU
:inherited-members:
... | <|file_sep|>original/sphinx-doc/module-hoomd-data.rst
DihedralLocalAccessBase,
ImproperLocalAccessBase,
PairLocalAccessBase,
ParticleLocalAccessBase
.. autoclass:: LocalSnapshot
:inherited-members:
.. autoclass:: LocalSnapshotGPU
:inherit... | 5d01dcfae6ee448cf8cc51c9762a062796ef43e2 | sphinx-doc/module-hoomd-data.rst | sphinx-doc/module-hoomd-data.rst | reStructuredText |
<|file_sep|>lib/tinytable/text_formatter.rb.diff
original:
r.each_with_index { |c, i| col(c, i) }
updated:
r.each_with_index { |c, i| cell(c, i) }
<|file_sep|>original/lib/tinytable/text_formatter.rb
end
new_line
end
def row(r)
append VERTICAL
r.each_with_index { |c, i| col(... | end
new_line
end
def row(r)
append VERTICAL
r.each_with_index { |c, i| cell(c, i) }
new_line
end
def cell(text, i)
append PADDING
append text
width = @col_widths[i]
if text.length < width
append PADDING * (width - text.length)
end
... | <|file_sep|>lib/tinytable/text_formatter.rb.diff
original:
r.each_with_index { |c, i| col(c, i) }
updated:
r.each_with_index { |c, i| cell(c, i) }
<|file_sep|>original/lib/tinytable/text_formatter.rb
end
new_line
end
def row(r)
append VERTICAL
r.each_with_index { |c, i| col(... | 23582edc2c4a33b88f6b3b87c1b7307d8b1427b8 | lib/tinytable/text_formatter.rb | lib/tinytable/text_formatter.rb | Ruby |
<|file_sep|>original/_posts/exercises/2017-05-22-turtledrawing.md
---
author: elliott
layout: post
title: Turtle Drawing!
categories: exercise
---
Make the coolest Turtle program you can and [post it to our blog](/summer2017/exercise/how-to/turtlepost.html).
## Turtlehacking
Now that we know a little about how to ... | ---
author: elliott
layout: post
title: Turtle Drawing!
categories: exercise
---
Make the coolest Turtle program you can and **during class** we'll [post it to our blog](/summer2017/exercise/how-to/turtlepost.html).
## Turtlehacking
Now that we know a little about how to make Turtles do cool stuff, let's [hack](ht... | <|file_sep|>original/_posts/exercises/2017-05-22-turtledrawing.md
---
author: elliott
layout: post
title: Turtle Drawing!
categories: exercise
---
Make the coolest Turtle program you can and [post it to our blog](/summer2017/exercise/how-to/turtlepost.html).
## Turtlehacking
Now that we know a little about how to ... | 360cd89f8c06da54cf6c8aaaa12796b843c61e38 | _posts/exercises/2017-05-22-turtledrawing.md | _posts/exercises/2017-05-22-turtledrawing.md | Markdown |
<|file_sep|>original/webkit/build/JSConfig/prebuild.bat
@echo off
setlocal
set OUTDIR=%1
set JSENG=%2
set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\
set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files
set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32
:: Ensure that the cygwin mount points are d... | @echo off
setlocal
set OUTDIR=%1
set JSENG=%2
set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\
set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files
:: Fix cp.exe on vista: without this flag, the files that it creates are not accessible.
set CYGWIN=nontsec
set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\s... | <|file_sep|>original/webkit/build/JSConfig/prebuild.bat
@echo off
setlocal
set OUTDIR=%1
set JSENG=%2
set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\
set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files
set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32
:: Ensure that the cygwin mount points are d... | de7409a2530901d7edd22848b44442e36372c133 | webkit/build/JSConfig/prebuild.bat | webkit/build/JSConfig/prebuild.bat | Batchfile |
<|file_sep|>original/requirements.txt
#
absl-py==0.9.0 # via nanoemoji (setup.py)
appdirs==1.4.4 # via fs
attrs==19.3.0 # via ufolib2
booleanoperations==0.9.0 # via ufo2ft
compreffor==0.5.0 # via ufo2ft
cu2qu==1.6.7 # via ufo2ft
fonttools[ufo]==4.12.0 # via boo... | #
absl-py==0.9.0 # via nanoemoji (setup.py)
appdirs==1.4.4 # via fs
attrs==19.3.0 # via ufolib2
booleanoperations==0.9.0 # via ufo2ft
compreffor==0.5.0 # via ufo2ft
cu2qu==1.6.7 # via ufo2ft
fonttools[ufo]==4.12.0 # via booleanoperations, compreffor, cu2qu, nan... | <|file_sep|>original/requirements.txt
#
absl-py==0.9.0 # via nanoemoji (setup.py)
appdirs==1.4.4 # via fs
attrs==19.3.0 # via ufolib2
booleanoperations==0.9.0 # via ufo2ft
compreffor==0.5.0 # via ufo2ft
cu2qu==1.6.7 # via ufo2ft
fonttools[ufo]==4.12.0 # via boo... | 5dd7e09a8b344a665d20a6adfbab66abc263cc74 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/Tests/LazyProxy/Fixtures/php/lazy_service_structure.txt
{
if ($lazyLoad) {
$container = $this;
return $this->services['foo'] =%sstdClass_%s(
function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) use ($container) {
... | {
if ($lazyLoad) {
$container = $this;
return $this->services['foo'] =%sstdClass_%s(
function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) use ($container) {
$wrappedInstance = $container->getFooService(false);
... | <|file_sep|>original/Tests/LazyProxy/Fixtures/php/lazy_service_structure.txt
{
if ($lazyLoad) {
$container = $this;
return $this->services['foo'] =%sstdClass_%s(
function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) use ($container) {
... | fb0eccc39847949676debe60a3ec53d709169f93 | Tests/LazyProxy/Fixtures/php/lazy_service_structure.txt | Tests/LazyProxy/Fixtures/php/lazy_service_structure.txt | Text |
<|file_sep|>original/app/views/discover/_userbox.haml
.media
.pull-left
%a{ href: user_path(u) }
%img.avatar-md.mr-2{ src: u.profile_picture.url(:medium) }
.media-body
%h6.media-heading.answerbox__question-user
- if u.profile.display_name.blank?
%a{ href: ... | .card{ data: { id: u.id } }
.card-body
.media
.pull-left
%a{ href: user_path(u) }
%img.avatar-md.mr-2{ src: u.profile_picture.url(:medium) }
.media-body
%h6.media-heading.answerbox__question-user
- if u.profile.display_name.blank?
%a{ href: user_path(u) ... | <|file_sep|>original/app/views/discover/_userbox.haml
.media
.pull-left
%a{ href: user_path(u) }
%img.avatar-md.mr-2{ src: u.profile_picture.url(:medium) }
.media-body
%h6.media-heading.answerbox__question-user
- if u.profile.display_name.blank?
%a{ href: ... | d1241f46a006c38e0db32fbbdc06755f7bc9d458 | app/views/discover/_userbox.haml | app/views/discover/_userbox.haml | Haml |
<|file_sep|>recipes/perl-statistics-descriptive/meta.yaml.diff
original:
number: 2
skip: True # [osx]
updated:
number: 3
<|file_sep|>original/recipes/perl-statistics-descriptive/meta.yaml
source:
fn: Statistics-Descriptive-3.0609.tar.gz
url: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Statistics-Descrip... | build:
number: 3
requirements:
build:
- gcc
- perl-threaded
- perl-app-cpanminus
- perl-module-build
run:
- libgcc
- perl-threaded
test:
imports:
- Statistics::Descriptive
about:
home: https://metacpan.org/pod/Statistics::Descriptive
license: Perl
summary: Module of basi... | <|file_sep|>recipes/perl-statistics-descriptive/meta.yaml.diff
original:
number: 2
skip: True # [osx]
updated:
number: 3
<|file_sep|>original/recipes/perl-statistics-descriptive/meta.yaml
source:
fn: Statistics-Descriptive-3.0609.tar.gz
url: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Statistics-Descrip... | 3e338c34b36a57a5537d486b06644dcc86eae13b | recipes/perl-statistics-descriptive/meta.yaml | recipes/perl-statistics-descriptive/meta.yaml | YAML |
<|file_sep|>original/src/pre.js
(function () {
var
// save reference to global object
// `window` in browser
// `exports` on server
root = this,
// save the previous version of ejs
_ejs = exports.ejs,
// from underscore.js, used in utils
ArrayProto = Array.prototype,
ObjP... | (function () {
var
// save reference to global object
// `window` in browser
// `exports` on server
root = this,
// save the previous version of ejs
_ejs = root.ejs,
// from underscore.js, used in utils
ArrayProto = Array.prototype,
ObjProto = Object.prototype,
slice... | <|file_sep|>original/src/pre.js
(function () {
var
// save reference to global object
// `window` in browser
// `exports` on server
root = this,
// save the previous version of ejs
_ejs = exports.ejs,
// from underscore.js, used in utils
ArrayProto = Array.prototype,
ObjP... | 88099700f1ad249b6021e9958b8a5b262ff2185e | src/pre.js | src/pre.js | JavaScript |
<|file_sep|>original/src/cs437/som/learningrate/package-info.java
<|file_sep|>current/src/cs437/som/learningrate/package-info.java
<|file_sep|>updated/src/cs437/som/learningrate/package-info.java | /**
* The {@code learningrate} package contains strategy classes to parametrize
* self-organizing maps. The classes are intended to be created by the user
* and given to a self-organizing map, which will assume control. These
* classes all derive from {@link cs437.som.LearningRateFunction} in
* {@link cs437.som}... | <|file_sep|>original/src/cs437/som/learningrate/package-info.java
<|file_sep|>current/src/cs437/som/learningrate/package-info.java
<|file_sep|>updated/src/cs437/som/learningrate/package-info.java
/**
* The {@code learningrate} package contains strategy classes to parametrize
* self-organizing maps. The classes are... | 9b1bb3bd056cb90f27f4ce5b950e6225be81f14b | src/cs437/som/learningrate/package-info.java | src/cs437/som/learningrate/package-info.java | Java |
<|file_sep|>original/README.md
}
}
## Installation
To use this plugin add the following line to your Gemfile
gem 'puppet-lint-no_symbolic_file_modes-check'
and then run `bundle install`.
## Usage
This plugin provides a new check to `puppet-lint`.
mode should be a 4 digit octal value, not a symb... | and then run `bundle install`.
## Usage
This plugin provides a new check to `puppet-lint`.
mode should be a 4 digit octal value, not a symbolic mode
## Notes
The code for this was heavily borrowed/stolen from the original,
including in puppet-lint, file mode check written by @rodjek
## Other puppet-lint plugi... | <|file_sep|>original/README.md
}
}
## Installation
To use this plugin add the following line to your Gemfile
gem 'puppet-lint-no_symbolic_file_modes-check'
and then run `bundle install`.
## Usage
This plugin provides a new check to `puppet-lint`.
mode should be a 4 digit octal value, not a symb... | a5761ad50c205ab0d8f8178e362544cd87bc55be | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.1
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3... | pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.2
pyaudio==0.2.11 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.1
pyaudio==0.2.11
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3... | 689df7498683a6b11edf4588329634fd7bd0bc6b | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/diff_array/diff_array.py
def array_diff(a, b):
return a if not b else [x for x in a if x != b[0]]
<|file_sep|>current/diff_array/diff_array.py
def array_diff(a, b):
return a if not b else [x for x in a if x != b[0]]
<|file_sep|>updated/diff_array/diff_array.py | def array_diff(a, b):
return [x for x in a if x not in set(b)] | <|file_sep|>original/diff_array/diff_array.py
def array_diff(a, b):
return a if not b else [x for x in a if x != b[0]]
<|file_sep|>current/diff_array/diff_array.py
def array_diff(a, b):
return a if not b else [x for x in a if x != b[0]]
<|file_sep|>updated/diff_array/diff_array.py
def array_diff(a, b):
retu... | 51bbc760d0be6f21b1526752f1b4ab5a76c82917 | diff_array/diff_array.py | diff_array/diff_array.py | Python |
<|file_sep|>lib/desktop/osx.rb.diff
original:
updated:
attr_reader :desktop_image_path
<|file_sep|>lib/desktop/osx.rb.diff
original:
updated:
end
def initialize(desktop_image_path = nil)
@desktop_image_path = desktop_image_path || default_desktop_image_path
<|file_sep|>original/lib/desktop/osx.rb
... |
def clear_custom_desktop_image
db = SQLite3::Database.new(desktop_image_db_path)
db.execute 'DELETE FROM data'
db.execute 'VACUUM data'
db.close
end
def reload_desktop
system 'killall Dock'
end
def default_desktop_image_path
'/System/Library/CoreServices/Defaul... | <|file_sep|>lib/desktop/osx.rb.diff
original:
updated:
attr_reader :desktop_image_path
<|file_sep|>lib/desktop/osx.rb.diff
original:
updated:
end
def initialize(desktop_image_path = nil)
@desktop_image_path = desktop_image_path || default_desktop_image_path
<|file_sep|>original/lib/desktop/osx.rb
... | 8d6bd602d8db0fe9bc14713f2ac2cbcb6600cd33 | lib/desktop/osx.rb | lib/desktop/osx.rb | Ruby |
<|file_sep|>original/README.md
# Ember-social
This README outlines the details of collaborating on this Ember addon.
## Installation
* `git clone` this repository
* `npm install`
* `bower install`
## Running
* `ember server`
* Visit your app at http://localhost:4200.
## Running Tests
* `ember test`
* `ember test... | # Ember-social
[](https://travis-ci.org/plyfe/ember-social)
Ember Social is a fledgling Ember component library for social sharing. This README outlines the details of collaborating on this Ember addon.
## Installation
* `git clone` this rep... | <|file_sep|>original/README.md
# Ember-social
This README outlines the details of collaborating on this Ember addon.
## Installation
* `git clone` this repository
* `npm install`
* `bower install`
## Running
* `ember server`
* Visit your app at http://localhost:4200.
## Running Tests
* `ember test`
* `ember test... | a98d44a2dafc0a0f8a7268031b745e43fed3bc35 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
Pygments==1.6
argparse==1.2.1
dingus==0.3.4
flake8==2.1.0
mccabe==0.2.1
mock==2.0.0
nose==1.3.0
pep8==1.4.6
pudb==2013.5.1
pyflakes==0.7.3
urwid==1.1.2
wsgiref==0.1.2
<|file_sep|>current/requirements.txt
Pygments==1.6
argparse==1.2.1
dingus==0.3.4
flake8==2.1.0
mccabe==0.2.1
mock==... | Pygments==2.7.4
argparse==1.2.1
dingus==0.3.4
flake8==2.1.0
mccabe==0.2.1
mock==2.0.0
nose==1.3.0
pep8==1.4.6
pudb==2013.5.1
pyflakes==0.7.3
urwid==1.1.2
wsgiref==0.1.2 | <|file_sep|>original/requirements.txt
Pygments==1.6
argparse==1.2.1
dingus==0.3.4
flake8==2.1.0
mccabe==0.2.1
mock==2.0.0
nose==1.3.0
pep8==1.4.6
pudb==2013.5.1
pyflakes==0.7.3
urwid==1.1.2
wsgiref==0.1.2
<|file_sep|>current/requirements.txt
Pygments==1.6
argparse==1.2.1
dingus==0.3.4
flake8==2.1.0
mccabe==0.2.1
mock==... | 24e8942a01bcd37d4b837f0633867bf7f1a95d44 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.github/workflows/valgrind.yml
name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: ... | name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: steinwurf/valgrind-action/.github/workflows/action.y... | <|file_sep|>original/.github/workflows/valgrind.yml
name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: ... | 1eb4e8f66638b9403adf5dacf27a37f88a10c184 | .github/workflows/valgrind.yml | .github/workflows/valgrind.yml | YAML |
<|file_sep|>original/README.md
# numbat-emitter-rust
An emitter for numbat metrics for Rust projects.
## License
ISC
<|file_sep|>current/README.md
# numbat-emitter-rust
An emitter for numbat metrics for Rust projects.
## License
ISC
<|file_sep|>updated/README.md | # numbat-emitter-rust
An emitter for [numbat metrics](https://github.com/numbat-metrics/) for Rust projects.
## Usage
Here's an example of using the emitter:
```rs
extern crate numbat;
extern crate serde_json;
use serde_json::Value;
use std::collections::BTreeMap;
let mut opts: BTreeMap<&str, Value> = BTreeMap::n... | <|file_sep|>original/README.md
# numbat-emitter-rust
An emitter for numbat metrics for Rust projects.
## License
ISC
<|file_sep|>current/README.md
# numbat-emitter-rust
An emitter for numbat metrics for Rust projects.
## License
ISC
<|file_sep|>updated/README.md
# numbat-emitter-rust
An emitter for [numbat metri... | af982a238fd764a29f7bac7ae4e99fd782cedbc2 | README.md | README.md | Markdown |
<|file_sep|>wsgi.py.diff
original:
updated:
import os
import os.path
<|file_sep|>wsgi.py.diff
original:
updated:
from pyramid.paster import setup_logging
<|file_sep|>wsgi.py.diff
original:
updated:
from waitress import serve
<|file_sep|>wsgi.py.diff
original:
application = loadapp('config:production.ini',
... | agent.initialize()
from paste.deploy import loadapp
from pyramid.paster import setup_logging
from raven.middleware import Sentry
from waitress import serve
basedir= os.path.dirname(os.path.realpath(__file__))
conf_file = os.path.join(
basedir,
'yithlibraryserver', 'config-templates', 'production.ini'
)
appli... | <|file_sep|>wsgi.py.diff
original:
updated:
import os
import os.path
<|file_sep|>wsgi.py.diff
original:
updated:
from pyramid.paster import setup_logging
<|file_sep|>wsgi.py.diff
original:
updated:
from waitress import serve
<|file_sep|>wsgi.py.diff
original:
application = loadapp('config:production.ini',
... | badddd6aa9533a01e07477174dc7422ee4941014 | wsgi.py | wsgi.py | Python |
<|file_sep|>app/assets/stylesheets/frontend/helpers/_dash-list.scss.diff
original:
updated:
margin-bottom: $gutter-two-thirds;
<|file_sep|>app/assets/stylesheets/frontend/helpers/_dash-list.scss.diff
original:
padding-top: $gutter-one-sixth;
updated:
padding-top: 0;
<|file_sep|>original/app/assets/styleshee... | list-style-position: inside;
padding-top: 0;
padding-right: $gutter-half;
@media (min-width: 1px ){ // target modern browsers
margin-left: $gutter-half;
list-style: none;
&:before {
content: "-";
position: relative;
float: left;
width: $gutter-half;
... | <|file_sep|>app/assets/stylesheets/frontend/helpers/_dash-list.scss.diff
original:
updated:
margin-bottom: $gutter-two-thirds;
<|file_sep|>app/assets/stylesheets/frontend/helpers/_dash-list.scss.diff
original:
padding-top: $gutter-one-sixth;
updated:
padding-top: 0;
<|file_sep|>original/app/assets/styleshee... | 64ce51b4880f548eb0292dcb92433c8a3aa50eb8 | app/assets/stylesheets/frontend/helpers/_dash-list.scss | app/assets/stylesheets/frontend/helpers/_dash-list.scss | SCSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.