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|>Kyru/Core/Config.cs.diff
original:
using System.Collections.Generic;
using System.Linq;
using System.Text;
updated:
<|file_sep|>Kyru/Core/Config.cs.diff
original:
class Config
{
internal readonly string storeDirectory;
updated:
internal sealed class Config
{
internal string storeDirecto... | using System;
using System.IO;
namespace Kyru.Core
{
internal sealed class Config
{
internal string storeDirectory;
internal Config()
{
storeDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Kyru", "objects");
}
}
} | <|file_sep|>Kyru/Core/Config.cs.diff
original:
using System.Collections.Generic;
using System.Linq;
using System.Text;
updated:
<|file_sep|>Kyru/Core/Config.cs.diff
original:
class Config
{
internal readonly string storeDirectory;
updated:
internal sealed class Config
{
internal string storeDirecto... | 4afafc9784a6ef8c60634fcf68c864c69fdf6285 | Kyru/Core/Config.cs | Kyru/Core/Config.cs | C# |
<|file_sep|>docker/cla_frontend.ini.diff
original:
processes = 2
updated:
processes = 4
<|file_sep|>docker/cla_frontend.ini.diff
original:
http-workers=5
updated:
http-workers=2
<|file_sep|>original/docker/cla_frontend.ini
[uwsgi]
http=0.0.0.0:8000
master = true
enable-threads = true
processes = 2
env = DJANGO_SETTINGS... | [uwsgi]
http=0.0.0.0:8000
master = true
enable-threads = true
processes = 4
env = DJANGO_SETTINGS_MODULE=cla_frontend.settings
module = cla_frontend.wsgi:application
logger-req=stdio
logformat={"process_name": "uwsgi", "timestamp_msec": %(tmsecs), "method": "%(method)", "uri": "%(uri)", "proto": "%(proto)", "status": %... | <|file_sep|>docker/cla_frontend.ini.diff
original:
processes = 2
updated:
processes = 4
<|file_sep|>docker/cla_frontend.ini.diff
original:
http-workers=5
updated:
http-workers=2
<|file_sep|>original/docker/cla_frontend.ini
[uwsgi]
http=0.0.0.0:8000
master = true
enable-threads = true
processes = 2
env = DJANGO_SETTINGS... | d39e7e5bec427fd9357b52d69be008986d6d5b79 | docker/cla_frontend.ini | docker/cla_frontend.ini | INI |
<|file_sep|>README.md.diff
original:
The original repo is: http://nginx.org/packages/centos/7/
NGINX ldap auth module: https://github.com/kvspb/nginx-auth-ldap
updated:
<|file_sep|>original/README.md
# Candango NGINX Distribution
Nginx distribution packed by Canango Open Source Group.
This distribution is based on ... | # Candango NGINX Distribution
Nginx distribution packed by Canango Open Source Group.
This distribution is based on the original NGINX distribution and will be hosted by Candango OSG.
Initially the RPM distribution for CentOS 7 will be supported and we're adding the ldap auth dynamic module to our repository.
## Re... | <|file_sep|>README.md.diff
original:
The original repo is: http://nginx.org/packages/centos/7/
NGINX ldap auth module: https://github.com/kvspb/nginx-auth-ldap
updated:
<|file_sep|>original/README.md
# Candango NGINX Distribution
Nginx distribution packed by Canango Open Source Group.
This distribution is based on ... | 3419b7c9ebba099f7f7866259ce8b58d21dd5cea | README.md | README.md | Markdown |
<|file_sep|>original/README.md
General documentation for [BOSH](https://bosh.io/). We render these docs with [mkdocs](https://www.mkdocs.org/) using a [slightly-adapted](theme) [material](https://github.com/squidfunk/mkdocs-material) theme, and you can find a rendered version of these docs at [bosh.io/docs](https://bos... | * Clone this repo.
* Initialize the submodule (external/bpm-release).
* Use [Docker](https://docs.docker.com/install/) start a local server.
```shell
git clone https://github.com/cloudfoundry/docs-bosh.git
cd docs-bosh
git submodule update --init --recursive
# for quick development reloads
docker run --rm -it ... | <|file_sep|>original/README.md
General documentation for [BOSH](https://bosh.io/). We render these docs with [mkdocs](https://www.mkdocs.org/) using a [slightly-adapted](theme) [material](https://github.com/squidfunk/mkdocs-material) theme, and you can find a rendered version of these docs at [bosh.io/docs](https://bos... | ec78255eaf0479b6adcc311fc6da014191cd8617 | README.md | README.md | Markdown |
<|file_sep|>original/lib/ember/middleman/templates/source/layouts/layout.html.erb
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<%= javascript_include_tag :application %>
</head>
<body>
<%= yield %>
</body>
</html>
<|file_sep|>current/lib/ember/middleman/templates/source/layouts/layout.html.e... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Welcome to Ember.js!</title>
<%= javascript_include_tag :application %>
</head>
<body>
<%= yield %>
</body>
</html> | <|file_sep|>original/lib/ember/middleman/templates/source/layouts/layout.html.erb
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<%= javascript_include_tag :application %>
</head>
<body>
<%= yield %>
</body>
</html>
<|file_sep|>current/lib/ember/middleman/templates/source/layouts/layout.html.e... | 9a0694be5f82c3dcf1207a1008c06f7914c008c6 | lib/ember/middleman/templates/source/layouts/layout.html.erb | lib/ember/middleman/templates/source/layouts/layout.html.erb | HTML+ERB |
<|file_sep|>original/app/controllers/ecm/staff/people_controller.rb
end
private
def resource_class
self.class.resource_class
end
def resource_scope
resource_class.includes(person_positions: :position)
end
def load_collection
resource_scope.all
end
def load_reso... | end
private
def resource_class
self.class.resource_class
end
def resource_scope
resource_class.includes(person_positions: :position)
end
def load_collection
resource_scope.all
end
def load_resource
resource_scope.friendly.find(params[:id])
end
end
e... | <|file_sep|>original/app/controllers/ecm/staff/people_controller.rb
end
private
def resource_class
self.class.resource_class
end
def resource_scope
resource_class.includes(person_positions: :position)
end
def load_collection
resource_scope.all
end
def load_reso... | 109fde17fd8741fc5ce2e7a0db1fdbde0961de38 | app/controllers/ecm/staff/people_controller.rb | app/controllers/ecm/staff/people_controller.rb | Ruby |
<|file_sep|>original/root/usr/bin/transmission-blocklist-update.sh
#!/usr/bin/with-contenv sh
BLOCKLIST_ENABLED=$(jq -r '.["blocklist-enabled"]' /config/settings.json)
BLOCKLIST_URL=$(jq -r '.["blocklist-url"]' /config/settings.json | sed 's/\&/\&/g')
if [ "${BLOCKLIST_ENABLED:-false}" == "true" -a -n "$BLOCKLIST... | #!/usr/bin/with-contenv sh
BLOCKLIST_ENABLED=$(jq -r '.["blocklist-enabled"]' /config/settings.json)
BLOCKLIST_URL=$(jq -r '.["blocklist-url"]' /config/settings.json | sed 's/\&/\&/g')
if [ "${BLOCKLIST_ENABLED:-false}" == "true" -a -n "$BLOCKLIST_URL" ]; then
mkdir -p /tmp/blocklists
rm -rf /tmp/blocklists/*... | <|file_sep|>original/root/usr/bin/transmission-blocklist-update.sh
#!/usr/bin/with-contenv sh
BLOCKLIST_ENABLED=$(jq -r '.["blocklist-enabled"]' /config/settings.json)
BLOCKLIST_URL=$(jq -r '.["blocklist-url"]' /config/settings.json | sed 's/\&/\&/g')
if [ "${BLOCKLIST_ENABLED:-false}" == "true" -a -n "$BLOCKLIST... | d5e3e40fb7dcf7cefddac661f2ebc8ed92740895 | root/usr/bin/transmission-blocklist-update.sh | root/usr/bin/transmission-blocklist-update.sh | Shell |
<|file_sep|>extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/SmallRyeReactiveMessagingLifecycle.java.diff
original:
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
updated:
<|file_sep|>extensions/smallrye-reactive... | import javax.enterprise.event.Observes;
import javax.inject.Inject;
import io.quarkus.runtime.StartupEvent;
import io.smallrye.reactive.messaging.extension.MediatorManager;
@Dependent
public class SmallRyeReactiveMessagingLifecycle {
@Inject
MediatorManager mediatorManager;
void onApplicationStart(@Obse... | <|file_sep|>extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/SmallRyeReactiveMessagingLifecycle.java.diff
original:
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
updated:
<|file_sep|>extensions/smallrye-reactive... | be065a3a8ba6a867c8263d3b938147c9e5e0c70f | extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/SmallRyeReactiveMessagingLifecycle.java | extensions/smallrye-reactive-messaging/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/runtime/SmallRyeReactiveMessagingLifecycle.java | Java |
<|file_sep|>original/main-popup/main-popup.css
.panel-list-item {
white-space: nowrap;
}
<|file_sep|>current/main-popup/main-popup.css
.panel-list-item {
white-space: nowrap;
}
<|file_sep|>updated/main-popup/main-popup.css | .panel-list-item {
white-space: nowrap;
}
.icon-section-header {
background-image: url(../icons/tabmarks.svg);
background-size: contain;
} | <|file_sep|>original/main-popup/main-popup.css
.panel-list-item {
white-space: nowrap;
}
<|file_sep|>current/main-popup/main-popup.css
.panel-list-item {
white-space: nowrap;
}
<|file_sep|>updated/main-popup/main-popup.css
.panel-list-item {
white-space: nowrap;
}
.icon-section-header {
background-image: url(.... | 546e9fea092b252e6c38ad04d6e266e78a1994e6 | main-popup/main-popup.css | main-popup/main-popup.css | CSS |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
isort==4.3.4
pytest==3.7.3
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.23.0
coveralls==1.3.0
httpretty==0.9.5
beautifulsoup4==4.6.3
freezegun==0.3.10
flake8==3.5.0
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test... | -r requirements.txt
isort==4.3.4
pytest==3.7.4
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.23.0
coveralls==1.3.0
httpretty==0.9.5
beautifulsoup4==4.6.3
freezegun==0.3.10
flake8==3.5.0
flake8-print==3.1.0 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
isort==4.3.4
pytest==3.7.3
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.23.0
coveralls==1.3.0
httpretty==0.9.5
beautifulsoup4==4.6.3
freezegun==0.3.10
flake8==3.5.0
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test... | 2328075924cd2cc9ed80595d24c7ece11fa55a8b | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>README.md.diff
original:
Creep
=====
updated:
# Creep
<|file_sep|>README.md.diff
original:
updated:
## Installation
<|file_sep|>README.md.diff
original:
$ bin/creep
updated:
$ cd creep
$ bundle install
<|file_sep|>original/README.md
Creep
=====
Automatically scrapes a website, and returns the sitemap as ... | Automatically scrapes a website, and returns the sitemap as a hash.
## Installation
```sh
$ gem install 'load'
$ load christianbundy/creep
$ cd creep
$ bundle install
```
## Usage
```sh
$ bin/creep # creeps on https://www.joingrouper.com/
$ bin/creep 'http://example.com'
```
## Documentation
```sh | <|file_sep|>README.md.diff
original:
Creep
=====
updated:
# Creep
<|file_sep|>README.md.diff
original:
updated:
## Installation
<|file_sep|>README.md.diff
original:
$ bin/creep
updated:
$ cd creep
$ bundle install
<|file_sep|>original/README.md
Creep
=====
Automatically scrapes a website, and returns the sitemap as ... | ead784640a9408af1d6edb4304c51c76eecbb5ba | README.md | README.md | Markdown |
<|file_sep|>src/backend/SO115App.API.Oracle/Controllers/MezziController.cs.diff
original:
using System;
updated:
using SO115App.Persistence.Oracle.Classi;
using SO115App.Persistence.Oracle.Servizi.Mezzi;
using System;
<|file_sep|>src/backend/SO115App.API.Oracle/Controllers/MezziController.cs.diff
original:
//... | using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace SO115App.API.Oracle.Controllers
{
public class MezziController : ApiController
{
[HttpGet]
public List<ORAAutomezzi> GetListaMezziUtilizzabili(string CodSede)
{
GetListaMezziUtilizzabili listamezzi = n... | <|file_sep|>src/backend/SO115App.API.Oracle/Controllers/MezziController.cs.diff
original:
using System;
updated:
using SO115App.Persistence.Oracle.Classi;
using SO115App.Persistence.Oracle.Servizi.Mezzi;
using System;
<|file_sep|>src/backend/SO115App.API.Oracle/Controllers/MezziController.cs.diff
original:
//... | f992a119ace73ea52a1874d066ecd9bd28dd5c4b | src/backend/SO115App.API.Oracle/Controllers/MezziController.cs | src/backend/SO115App.API.Oracle/Controllers/MezziController.cs | C# |
<|file_sep|>original/requirements.txt
dj-database-url==0.4.2
Django==1.10.6
psycopg2==2.7.1
PyYAML==3.12
requests==2.13.0
Unipath==1.1
uwsgi==2.0.14
yamlreader==3.0.2
<|file_sep|>current/requirements.txt
dj-database-url==0.4.2
Django==1.10.6
psycopg2==2.7.1
PyYAML==3.12
requests==2.13.0
Unipath==1.1
uwsgi==2.0.14
yamlr... | dj-database-url==0.4.2
Django==1.10.6
psycopg2==2.7.1
PyYAML==3.12
requests==2.13.0
Unipath==1.1
uwsgi==2.0.14
yamlreader==3.0.4 | <|file_sep|>original/requirements.txt
dj-database-url==0.4.2
Django==1.10.6
psycopg2==2.7.1
PyYAML==3.12
requests==2.13.0
Unipath==1.1
uwsgi==2.0.14
yamlreader==3.0.2
<|file_sep|>current/requirements.txt
dj-database-url==0.4.2
Django==1.10.6
psycopg2==2.7.1
PyYAML==3.12
requests==2.13.0
Unipath==1.1
uwsgi==2.0.14
yamlr... | 840919d578cb3a885519a4f9d1d992d5951a5a1e | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/models/bank_account.rb
belongs_to :bank
validates :bank_id, :agency, :account, :account_digit, :account_type, presence: true
validates :account_type, inclusion: { in: %w{conta_corrente conta_poupanca conta_corrente_conjunta conta_poupanca_conjunta} }
attr_accessor :input_bank_number
... | validate :input_bank_number_validation
# before validate bank account we inject the founded
# bank account via input_bank_number
before_validation :load_bank_from_input_bank_number
def complete_agency_string
return agency unless agency_digit.present?
"#{agency} - #{agency_digit}"
end
def comple... | <|file_sep|>original/app/models/bank_account.rb
belongs_to :bank
validates :bank_id, :agency, :account, :account_digit, :account_type, presence: true
validates :account_type, inclusion: { in: %w{conta_corrente conta_poupanca conta_corrente_conjunta conta_poupanca_conjunta} }
attr_accessor :input_bank_number
... | c263de48bc615c2bf839b80ff305aa37e5b063d7 | app/models/bank_account.rb | app/models/bank_account.rb | Ruby |
<|file_sep|>original/package.json
{
"name": "react-native-save-asset-library",
"version": "1.0.2",
"description": "A React Native module for saving asset-library:// paths to the documents folder",
"main": "index.ios.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository... | {
"name": "react-native-save-asset-library",
"version": "1.0.3",
"description": "A React Native module for saving asset-library:// paths to the documents folder",
"main": "index.ios.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url":... | <|file_sep|>original/package.json
{
"name": "react-native-save-asset-library",
"version": "1.0.2",
"description": "A React Native module for saving asset-library:// paths to the documents folder",
"main": "index.ios.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository... | ecb1b1577ab091cf389b1a0fff0bec920e0b40b5 | package.json | package.json | JSON |
<|file_sep|>original/roles/crawler/tasks/install-systemd-unit.yml
<|file_sep|>current/roles/crawler/tasks/install-systemd-unit.yml
<|file_sep|>updated/roles/crawler/tasks/install-systemd-unit.yml | ---
- name: Install the crawler systemd unit.
become: yes
copy:
src: "crawler@.service"
dest: "/etc/systemd/system/crawler@.service"
mode: "0644" | <|file_sep|>original/roles/crawler/tasks/install-systemd-unit.yml
<|file_sep|>current/roles/crawler/tasks/install-systemd-unit.yml
<|file_sep|>updated/roles/crawler/tasks/install-systemd-unit.yml
---
- name: Install the crawler systemd unit.
become: yes
copy:
src: "crawler@.service"
dest: "/etc/systemd/s... | 15dd388c20bf5ea754b11e7bb464a79c1227f351 | roles/crawler/tasks/install-systemd-unit.yml | roles/crawler/tasks/install-systemd-unit.yml | YAML |
<|file_sep|>original/packages/so/solve.yaml
<|file_sep|>current/packages/so/solve.yaml
<|file_sep|>updated/packages/so/solve.yaml | homepage: ''
changelog-type: ''
hash: 4c61ebc229768a88eff97dfe074cfdb98efb903395dd2dd46866f096561d9059
test-bench-deps: {}
maintainer: Joe Leslie-Hurd <joe@gilith.com>
synopsis: Solving simple games
changelog: ''
basic-deps:
base: ! '>=4.0 && <5.0'
containers: ! '>=0.5.7.1'
all-versions:
- '1.0'
author: Joe Leslie-... | <|file_sep|>original/packages/so/solve.yaml
<|file_sep|>current/packages/so/solve.yaml
<|file_sep|>updated/packages/so/solve.yaml
homepage: ''
changelog-type: ''
hash: 4c61ebc229768a88eff97dfe074cfdb98efb903395dd2dd46866f096561d9059
test-bench-deps: {}
maintainer: Joe Leslie-Hurd <joe@gilith.com>
synopsis: Solving si... | 4e5e8a1924cc6d41e136431aada22f6b56ec3e66 | packages/so/solve.yaml | packages/so/solve.yaml | YAML |
<|file_sep|>original/config/prisons/EYI-elmley.yml
finder_slug: sheppey-cluster-elmley
phone: 0300 060 6605
slots:
mon:
- 1400-1530
fri:
- 1400-1530
sat:
- 1400-1530
sun:
- 1400-1530
thu:
- 1400-1530
tue:
- 1400-1530
wed:
- 1400-1530
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-04-03
<|file_... | slots:
mon:
- 1400-1530
fri:
- 1400-1530
sat:
- 1400-1530
sun:
- 1400-1530
thu:
- 1400-1530
tue:
- 1400-1530
wed:
- 1400-1530
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-04-03
- 2015-12-25
- 2015-12-26 | <|file_sep|>original/config/prisons/EYI-elmley.yml
finder_slug: sheppey-cluster-elmley
phone: 0300 060 6605
slots:
mon:
- 1400-1530
fri:
- 1400-1530
sat:
- 1400-1530
sun:
- 1400-1530
thu:
- 1400-1530
tue:
- 1400-1530
wed:
- 1400-1530
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-04-03
<|file_... | 472a98a91f214dd1c2e3f418cdbeb835317bde3a | config/prisons/EYI-elmley.yml | config/prisons/EYI-elmley.yml | YAML |
<|file_sep|>web/demo.dart.diff
original:
.addModule(new VarxaUiModule())
updated:
<|file_sep|>original/web/demo.dart
import 'package:di/di.dart';
import 'package:varxa_ui/varxa_ui.dart';
void main() {
applicationFactory()
.addModule(new VarxaUiModule())
.addModule(new DemoModule()).run();
}
class DemoModule ... | import 'package:di/di.dart';
import 'package:varxa_ui/varxa_ui.dart';
void main() {
applicationFactory()
.addModule(new DemoModule()).run();
}
class DemoModule extends Module {
DemoModule() {
install(new VarxaUiModule());
bind(DemoController);
}
}
@Controller(publishAs: 'ctrl', selector: '[main]')
cl... | <|file_sep|>web/demo.dart.diff
original:
.addModule(new VarxaUiModule())
updated:
<|file_sep|>original/web/demo.dart
import 'package:di/di.dart';
import 'package:varxa_ui/varxa_ui.dart';
void main() {
applicationFactory()
.addModule(new VarxaUiModule())
.addModule(new DemoModule()).run();
}
class DemoModule ... | fad6188d4162ab0cfb57f18ce7c03e8c33d6d670 | web/demo.dart | web/demo.dart | Dart |
<|file_sep|>tests/server/GoogleTranslateTest.coffee.diff
original:
translation = googleTranslate.translate("My name is Brandon", "es")
updated:
translation = googleTranslate.translate("my name is Brandon", "es")
<|file_sep|>original/tests/server/GoogleTranslateTest.coffee
googleTranslate = new practical.GoogleTrans... | googleTranslate = new practical.GoogleTranslate()
Tinytest.add 'Google Translate - should translate text' , (test)->
translation = googleTranslate.translate("my name is Brandon", "es")
expect(translation).to.be.an("Object")
expect(translation.translatedText).to.equal("mi nombre es Brandon")
Tinytest.add 'Google... | <|file_sep|>tests/server/GoogleTranslateTest.coffee.diff
original:
translation = googleTranslate.translate("My name is Brandon", "es")
updated:
translation = googleTranslate.translate("my name is Brandon", "es")
<|file_sep|>original/tests/server/GoogleTranslateTest.coffee
googleTranslate = new practical.GoogleTrans... | 96733fd702dd399bc351706ba5bed1582ab54245 | tests/server/GoogleTranslateTest.coffee | tests/server/GoogleTranslateTest.coffee | CoffeeScript |
<|file_sep|>app/views/shared/_static_notices.html.erb.diff
original:
<% if session.has_key? :brand_config_md5 && !params[:previewing_from_themeeditor] %>
updated:
<% unless params[:previewing_from_themeeditor] || !session.has_key?(:brand_config_md5) %>
<|file_sep|>app/views/shared/_static_notices.html.erb.diff
original... | <% unless params[:previewing_from_themeeditor] || !session.has_key?(:brand_config_md5) %>
<div role="alert" class="ic-flash-static ic-flash-info ic-flash--Theme-Editor">
<% if params[:editing_brand_config] %>
<%= t("You're editing your Canvas Theme! The changes have not been applied yet.") %>
<% else %>... | <|file_sep|>app/views/shared/_static_notices.html.erb.diff
original:
<% if session.has_key? :brand_config_md5 && !params[:previewing_from_themeeditor] %>
updated:
<% unless params[:previewing_from_themeeditor] || !session.has_key?(:brand_config_md5) %>
<|file_sep|>app/views/shared/_static_notices.html.erb.diff
original... | cb77097f4c443016276e10ac400669a56d81dd4c | app/views/shared/_static_notices.html.erb | app/views/shared/_static_notices.html.erb | HTML+ERB |
<|file_sep|>index.html.diff
original:
Created by<br>
<a href="https://twitter.com/ssorallen?rel=author">Ross Allen</a>.<br>
updated:
Created by:
<a href="https://twitter.com/ssorallen?rel=author">Ross Allen</a><br>
The source:
<a href="https://github.com/ssorallen/reacttodos">ssorall... | <div id="todoapp"></div>
<div id="instructions">
Double-click to edit a todo.
</div>
<div id="credits">
Created by:
<a href="https://twitter.com/ssorallen?rel=author">Ross Allen</a><br>
The source:
<a href="https://github.com/ssorallen/reacttodos">ssorallen/reacttodos</a><b... | <|file_sep|>index.html.diff
original:
Created by<br>
<a href="https://twitter.com/ssorallen?rel=author">Ross Allen</a>.<br>
updated:
Created by:
<a href="https://twitter.com/ssorallen?rel=author">Ross Allen</a><br>
The source:
<a href="https://github.com/ssorallen/reacttodos">ssorall... | 6b8325a891f94f38b2955b634faa88a59d83a08b | index.html | index.html | HTML |
<|file_sep|>original/.travis.yml
language: python
dist: trusty
sudo: false
python:
- "3.7"
script:
- pytest
<|file_sep|>current/.travis.yml
language: python
dist: trusty
sudo: false
python:
- "3.7"
script:
- pytest
<|file_sep|>updated/.travis.yml | language: python
dist: trusty
sudo: false
python:
- "3.6"
script:
- pytest | <|file_sep|>original/.travis.yml
language: python
dist: trusty
sudo: false
python:
- "3.7"
script:
- pytest
<|file_sep|>current/.travis.yml
language: python
dist: trusty
sudo: false
python:
- "3.7"
script:
- pytest
<|file_sep|>updated/.travis.yml
language: python
dist: trusty
sudo: false
python:
- "3.6"
scrip... | 3a24bc78be20b56c72521501f98eeedfef350a64 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# libnobit
Library providing lookup tables for bitless computing
<|file_sep|>current/README.md
# libnobit
Library providing lookup tables for bitless computing
<|file_sep|>updated/README.md | # libnobit
> We don't need any bit operations as computers only work with bytes.
This was stated by a student last semester, so I've now created a lookup table solution for simple logic functions.
Namely `AND`, `OR`, `XOR` and `NOT`. As most students only need `char` and `int` I did not build the functions for any ot... | <|file_sep|>original/README.md
# libnobit
Library providing lookup tables for bitless computing
<|file_sep|>current/README.md
# libnobit
Library providing lookup tables for bitless computing
<|file_sep|>updated/README.md
# libnobit
> We don't need any bit operations as computers only work with bytes.
This was stated ... | ba130987b7b011ffccb17eceb72a673a99836e8c | README.md | README.md | Markdown |
<|file_sep|>original/lib/tairu/coordinate.rb
module Tairu
class Coordinate
attr_accessor :row, :column, :zoom
def initialize(row, column, zoom)
@row = Integer(row)
@column = Integer(column)
@zoom = Integer(zoom)
end
end
end
<|file_sep|>current/lib/tairu/coordinate.rb
module Tairu
cl... | module Tairu
class Coordinate
attr_accessor :row, :column, :zoom
def initialize(row, column, zoom)
@row = Integer(row)
@column = Integer(column)
@zoom = Integer(zoom)
end
def x
@column
end
def y
@row
end
def z
@zoom
end | <|file_sep|>original/lib/tairu/coordinate.rb
module Tairu
class Coordinate
attr_accessor :row, :column, :zoom
def initialize(row, column, zoom)
@row = Integer(row)
@column = Integer(column)
@zoom = Integer(zoom)
end
end
end
<|file_sep|>current/lib/tairu/coordinate.rb
module Tairu
cl... | c5475f04ca23822a7e3cb986a0aa32af681e96df | lib/tairu/coordinate.rb | lib/tairu/coordinate.rb | Ruby |
<|file_sep|>original/sig-multicluster/namespace-sameness-position-statement.md
<|file_sep|>current/sig-multicluster/namespace-sameness-position-statement.md
<|file_sep|>updated/sig-multicluster/namespace-sameness-position-statement.md | # Namespace Sameness - SIG Multicluster Position Statement
Author: Jeremy Olmsted-Thompson (**[@jeremyot](https://github.com/jeremyot)**), Google
Last Edit: 2020/03/24
Status: IN REVIEW
## Goal
To establish a normative statement for multi-cluster namespace semantics and
governance as a building block for furthe... | <|file_sep|>original/sig-multicluster/namespace-sameness-position-statement.md
<|file_sep|>current/sig-multicluster/namespace-sameness-position-statement.md
<|file_sep|>updated/sig-multicluster/namespace-sameness-position-statement.md
# Namespace Sameness - SIG Multicluster Position Statement
Author: Jeremy Olmsted-... | 8c86226e6dd276b5f40ce1f8aceb08e68c6d8f06 | sig-multicluster/namespace-sameness-position-statement.md | sig-multicluster/namespace-sameness-position-statement.md | Markdown |
<|file_sep|>original/tests/sentry/models/test_organizationoption.py
<|file_sep|>current/tests/sentry/models/test_organizationoption.py
<|file_sep|>updated/tests/sentry/models/test_organizationoption.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from sentry.models import OrganizationOption
from sentry.testutils import TestCase
class OrganizationOptionManagerTest(TestCase):
def test_set_value(self):
OrganizationOption.objects.set_value(self.organization, 'foo', 'bar')
assert ... | <|file_sep|>original/tests/sentry/models/test_organizationoption.py
<|file_sep|>current/tests/sentry/models/test_organizationoption.py
<|file_sep|>updated/tests/sentry/models/test_organizationoption.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from sentry.models import OrganizationOption
from s... | eb91b11930319369bc9cfc3b1b15c0b92fb4d85c | tests/sentry/models/test_organizationoption.py | tests/sentry/models/test_organizationoption.py | Python |
<|file_sep|>original/feder/domains/apps.py
from django.apps import AppConfig
class DomainsConfig(AppConfig):
name = "domains"
<|file_sep|>current/feder/domains/apps.py
from django.apps import AppConfig
class DomainsConfig(AppConfig):
name = "domains"
<|file_sep|>updated/feder/domains/apps.py | from django.apps import AppConfig
class DomainsConfig(AppConfig):
name = "feder.domains" | <|file_sep|>original/feder/domains/apps.py
from django.apps import AppConfig
class DomainsConfig(AppConfig):
name = "domains"
<|file_sep|>current/feder/domains/apps.py
from django.apps import AppConfig
class DomainsConfig(AppConfig):
name = "domains"
<|file_sep|>updated/feder/domains/apps.py
from django.app... | 5d188a71ae43ec8858f985dddbb0ff970cd18e73 | feder/domains/apps.py | feder/domains/apps.py | Python |
<|file_sep|>original/knife-ec2.gemspec
Gem::Specification.new do |s|
s.name = "knife-ec2"
s.version = Knife::Ec2::VERSION
s.authors = ["Adam Jacob", "Seth Chisamore"]
s.email = ["adam@chef.io", "schisamo@chef.io"]
s.homepage = "https://github.com/chef/knife-ec2"
s.summary =... |
Gem::Specification.new do |s|
s.name = "knife-ec2"
s.version = Knife::Ec2::VERSION
s.authors = ["Adam Jacob", "Seth Chisamore"]
s.email = ["adam@chef.io", "schisamo@chef.io"]
s.homepage = "https://github.com/chef/knife-ec2"
s.summary = "Amazon EC2 Support for Chef's Knife ... | <|file_sep|>original/knife-ec2.gemspec
Gem::Specification.new do |s|
s.name = "knife-ec2"
s.version = Knife::Ec2::VERSION
s.authors = ["Adam Jacob", "Seth Chisamore"]
s.email = ["adam@chef.io", "schisamo@chef.io"]
s.homepage = "https://github.com/chef/knife-ec2"
s.summary =... | 9543057c9f0ee5f95d844c802f49eb0040d5b15f | knife-ec2.gemspec | knife-ec2.gemspec | Ruby |
<|file_sep|>original/index.tpl.js
Server.addComponent(require('./components/authorize'));
Server.addComponent(require('./components/notifications'));
Server.addComponent(require('./components/media'));
Server.addComponent(require('./components/favorites'));
Server.start(Config);
/* *** OpenAPI documentation ***
con... | Server.addComponent(require('./components/media'));
Server.addComponent(require('./components/favorites'));
Server.start(Config);
/* *** OpenAPI documentation ***
if (Config.env.development) {
const fs = require("fs");
const openAPIJSON = Server.openApiJSON({
"title": "Awesome APIs",
"descri... | <|file_sep|>original/index.tpl.js
Server.addComponent(require('./components/authorize'));
Server.addComponent(require('./components/notifications'));
Server.addComponent(require('./components/media'));
Server.addComponent(require('./components/favorites'));
Server.start(Config);
/* *** OpenAPI documentation ***
con... | 1d8c3c376a2a07b6e28ff204f9aebee6182aba89 | index.tpl.js | index.tpl.js | JavaScript |
<|file_sep|>original/requirements.txt
Django<3.1
celery<5.0,>=4.4
Babel==2.9.0
Pillow==8.0.1
celery[redis]==4.4.7
dj-database-url==0.5.0
django-redis-sessions==0.6.1
python3-memcached==1.51
feedparser==6.0.2
gunicorn==20.0.4
html2text==2020.1.16
markdown2==2.3.10
oauth2client==4.1.3
psycopg2cffi==2.8.1
python-dateutil=... | Django<3.2
celery<5.0,>=4.4
Babel==2.9.0
Pillow==8.0.1
celery[redis]==4.4.7
dj-database-url==0.5.0
django-redis-sessions==0.6.1
python3-memcached==1.51
feedparser==6.0.2
gunicorn==20.0.4
html2text==2020.1.16
markdown2==2.3.10
oauth2client==4.1.3
psycopg2cffi==2.8.1
python-dateutil==2.8.1
redis==3.5.3
django-celery-resu... | <|file_sep|>original/requirements.txt
Django<3.1
celery<5.0,>=4.4
Babel==2.9.0
Pillow==8.0.1
celery[redis]==4.4.7
dj-database-url==0.5.0
django-redis-sessions==0.6.1
python3-memcached==1.51
feedparser==6.0.2
gunicorn==20.0.4
html2text==2020.1.16
markdown2==2.3.10
oauth2client==4.1.3
psycopg2cffi==2.8.1
python-dateutil=... | 06e5d9af0b913c573046e430769301c1dc88ba83 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/sentry/templates/sentry/partial/interfaces/http_email.html
{% load i18n %}
<table>
<colgroup>
<col style="width:130px;">
</colgroup>
<tbody>
<tr>
<th>{% trans "URL" %}</th>
<td><a href="{{ url }}">{{ short_url }}</a></td>
</tr>
{... | {% load i18n %}
<table>
<colgroup>
<col style="width:130px;">
</colgroup>
<tbody>
<tr>
<th>{% trans "URL" %}</th>
<td><a href="{{ url }}">{{ short_url|truncatechars:75 }}</a></td>
</tr>
{% if method %}
<tr>
<th>{% trans "Method" %}</t... | <|file_sep|>original/src/sentry/templates/sentry/partial/interfaces/http_email.html
{% load i18n %}
<table>
<colgroup>
<col style="width:130px;">
</colgroup>
<tbody>
<tr>
<th>{% trans "URL" %}</th>
<td><a href="{{ url }}">{{ short_url }}</a></td>
</tr>
{... | 6d2bc36c17cea14a730c81ff547984c5ede647ad | src/sentry/templates/sentry/partial/interfaces/http_email.html | src/sentry/templates/sentry/partial/interfaces/http_email.html | HTML |
<|file_sep|>original/authenticating-users/requirements.txt
# [START getting_started_requirements]
Flask==1.1.2
cryptography==2.9.2
python-jose[cryptography]==3.0.1
requests==2.22.0
# [END getting_started_requirements]
<|file_sep|>current/authenticating-users/requirements.txt
# [START getting_started_requirements]
Flask... | # [START getting_started_requirements]
Flask==1.1.2
cryptography==2.9.2
python-jose[cryptography]==3.1.0
requests==2.22.0
# [END getting_started_requirements] | <|file_sep|>original/authenticating-users/requirements.txt
# [START getting_started_requirements]
Flask==1.1.2
cryptography==2.9.2
python-jose[cryptography]==3.0.1
requests==2.22.0
# [END getting_started_requirements]
<|file_sep|>current/authenticating-users/requirements.txt
# [START getting_started_requirements]
Flask... | d78b594d4631052ea94976035cfe88e0ed0a03c8 | authenticating-users/requirements.txt | authenticating-users/requirements.txt | Text |
<|file_sep|>lib/skroutz_api/collection_proxy.rb.diff
original:
updated:
raise SkroutzApi::ResourceNotFound.new(response) unless response.success?
<|file_sep|>lib/skroutz_api/collection_proxy.rb.diff
original:
updated:
raise SkroutzApi::ResourceNotFound.new(response) unless response.success?
<|file_sep|>origin... | response = client.get(base_path, page: pagenum, per: per)
raise SkroutzApi::ResourceNotFound.new(response) unless response.success?
return SkroutzApi::PaginatedCollection.new(self, response) unless block_given?
yield response
end
def all(options = {})
response = client.get(base_path)
rais... | <|file_sep|>lib/skroutz_api/collection_proxy.rb.diff
original:
updated:
raise SkroutzApi::ResourceNotFound.new(response) unless response.success?
<|file_sep|>lib/skroutz_api/collection_proxy.rb.diff
original:
updated:
raise SkroutzApi::ResourceNotFound.new(response) unless response.success?
<|file_sep|>origin... | 5c430da91b4e16123d32df24023c747f0a9fd58c | lib/skroutz_api/collection_proxy.rb | lib/skroutz_api/collection_proxy.rb | Ruby |
<|file_sep|>original/Casks/anvil.rb
cask 'anvil' do
version '2016-02-24_11-50-56'
sha256 'a4ddaa21b8c5b52b2a21620253aba64546f565e944b76e43c052c7a022007749'
# amazonaws.com is the official download host as per the vendor homepage
url "https://s3.amazonaws.com/sparkler_versions/versions/uploads/000/000/129/origi... | cask 'anvil' do
version '2016-02-24_11-50-56'
sha256 'a4ddaa21b8c5b52b2a21620253aba64546f565e944b76e43c052c7a022007749'
# amazonaws.com/sparkler_versions was verified as official when first introduced to the cask
url "https://s3.amazonaws.com/sparkler_versions/versions/uploads/000/000/129/original/Anvil_#{vers... | <|file_sep|>original/Casks/anvil.rb
cask 'anvil' do
version '2016-02-24_11-50-56'
sha256 'a4ddaa21b8c5b52b2a21620253aba64546f565e944b76e43c052c7a022007749'
# amazonaws.com is the official download host as per the vendor homepage
url "https://s3.amazonaws.com/sparkler_versions/versions/uploads/000/000/129/origi... | 79f1a24ed9c6b4537563ae89a1951abedb8784c5 | Casks/anvil.rb | Casks/anvil.rb | Ruby |
<|file_sep|>original/org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java
<|file_sep|>current/org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java
<|file_sep|>updated/org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java | package org.metaborg.util.inject;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.TypeLiteral;
import com.google.inject.util.Types;
public class GenericInjectUtils {
public static <T> Key<T> key(T... | <|file_sep|>original/org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java
<|file_sep|>current/org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java
<|file_sep|>updated/org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java
package org.me... | ecb0182dd539ba3dbf493e01417cddc5bb86eee8 | org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java | org.metaborg.util/src/main/java/org/metaborg/util/inject/GenericInjectUtils.java | Java |
<|file_sep|>original/.travis.yml
go: master
services:
- docker
- redis-server
- mysql
install:
- go get -d -v .
- docker build -t evedata .
- docker run -d -p 127.0.0.1:80:3000 -name evedata evedata
script:
- docker ps | grep -q evedata
- go install -v ./
- go test -v ./
after_success:
- if [ "$... | go: master
services:
- docker
- redis-server
- mysql
install:
- go get -d -v .
- docker build -t evedata .
- docker run -d -p 127.0.0.1:80:3000 --name evedata evedata
script:
- docker ps | grep -q evedata
- go install -v ./
- go test -v ./
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; th... | <|file_sep|>original/.travis.yml
go: master
services:
- docker
- redis-server
- mysql
install:
- go get -d -v .
- docker build -t evedata .
- docker run -d -p 127.0.0.1:80:3000 -name evedata evedata
script:
- docker ps | grep -q evedata
- go install -v ./
- go test -v ./
after_success:
- if [ "$... | f3f71e7d079f1a7c2caa7e1c02f01bd9e6e89298 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CHANGES.rdoc
== Changes
This document describes the relevant changes beween releases of the
_hawkular-client_ project.
=== V 0.2.1
* Add support to create items in inventory
=== V 0.2.0
* Add support for Hawkular-Inventory and Hawkular-Alerts
* Reshuffeling of inner classes
* The sub-url that ... | == Changes
This document describes the relevant changes beween releases of the
_hawkular-client_ project.
=== V 0.2.1
* Add support to create items in inventory
* Add support to percentiles, limit and order parameters in Metrics API
=== V 0.2.0
* Add support for Hawkular-Inventory and Hawkular-Alerts
* Reshuffelin... | <|file_sep|>original/CHANGES.rdoc
== Changes
This document describes the relevant changes beween releases of the
_hawkular-client_ project.
=== V 0.2.1
* Add support to create items in inventory
=== V 0.2.0
* Add support for Hawkular-Inventory and Hawkular-Alerts
* Reshuffeling of inner classes
* The sub-url that ... | a2af8177842fb04fa4aa6e1fa58faa20924ba46f | CHANGES.rdoc | CHANGES.rdoc | RDoc |
<|file_sep|>original/leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp
<|file_sep|>current/leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp
<|file_sep|>updated/leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp | //
// Remove_Duplicates_from_Sorted_Array_2.cpp
// leetcode
//
// Created by 邵建勇 on 15/5/11.
// Copyright (c) 2015年 John Shaw. All rights reserved.
//
#include <stdio.h>
#include <vector>
using namespace std;
class Solution {
public:
int removeDuplicates(vector<int>& nums) {
if (nums.size() == 0) {
... | <|file_sep|>original/leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp
<|file_sep|>current/leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp
<|file_sep|>updated/leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp
//
// Remove_Duplicates_from_Sorted_Array_2.cpp
// leetcode
//
// Created by 邵建勇 on 15/5/11.
// Copy... | 49c7d364452ed8f6f7f78f124cfb321333a8f178 | leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp | leetcode/Remove_Duplicates_from_Sorted_Array_2.cpp | C++ |
<|file_sep|>docker-compose-tests.yml.diff
original:
updated:
user: root
<|file_sep|>original/docker-compose-tests.yml
command:
sh -c "npm run git-hook && npm run upload-coverage-coveralls"
volumes:
- gp-finder-travis-tests-node_modules:/code/node_modules
environment:
COVERALLS_REPO_TO... | sh -c "npm run git-hook && npm run upload-coverage-coveralls"
volumes:
- gp-finder-travis-tests-node_modules:/code/node_modules
environment:
COVERALLS_REPO_TOKEN: ${COVERALLS_REPO_TOKEN}
NODE_ENV: development
SNYK_TOKEN: ${SNYK_TOKEN}
TRAVIS: ${TRAVIS}
TRAVIS_BRANCH: ${... | <|file_sep|>docker-compose-tests.yml.diff
original:
updated:
user: root
<|file_sep|>original/docker-compose-tests.yml
command:
sh -c "npm run git-hook && npm run upload-coverage-coveralls"
volumes:
- gp-finder-travis-tests-node_modules:/code/node_modules
environment:
COVERALLS_REPO_TO... | 044c791147e87d5ecb0cbd900e4217a85805e2f2 | docker-compose-tests.yml | docker-compose-tests.yml | YAML |
<|file_sep|>demo-shell-ng2/app/main.ts.diff
original:
updated:
import { ALFRESCO_SEARCH_PROVIDERS } from 'ng2-alfresco-search';
<|file_sep|>original/demo-shell-ng2/app/main.ts
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
... | * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { bootstrap } from '@angular/platform-browser-dynamic';
im... | <|file_sep|>demo-shell-ng2/app/main.ts.diff
original:
updated:
import { ALFRESCO_SEARCH_PROVIDERS } from 'ng2-alfresco-search';
<|file_sep|>original/demo-shell-ng2/app/main.ts
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
... | 8f51415733614509a07fbcf47b4171a55facbc68 | demo-shell-ng2/app/main.ts | demo-shell-ng2/app/main.ts | TypeScript |
<|file_sep|>original/requirements.txt
# Main dependencies
mozci==0.25.3
MozillaPulse==1.2.2
# Required by MozillaPulse
amqp==1.4.9
anyjson==0.3.3
kombu==3.0.33
pytz==2015.7
# Required by mozci
buildapi-client==0.3.0
ijson==2.2
keyring==7.3
progressbar==2.3
pushlog-client==0.4.0
requests==2.9.1
taskcluster==0.0.32
tre... | # Main dependencies
mozci==0.25.4
MozillaPulse==1.2.2
# Required by MozillaPulse
amqp==1.4.9
anyjson==0.3.3
kombu==3.0.33
pytz==2015.7
# Required by mozci
buildapi-client==0.3.0
ijson==2.2
keyring==7.3
progressbar==2.3
pushlog-client==0.4.0
requests==2.9.1
taskcluster==0.0.32
treeherder-client==2.0.1
# Required by t... | <|file_sep|>original/requirements.txt
# Main dependencies
mozci==0.25.3
MozillaPulse==1.2.2
# Required by MozillaPulse
amqp==1.4.9
anyjson==0.3.3
kombu==3.0.33
pytz==2015.7
# Required by mozci
buildapi-client==0.3.0
ijson==2.2
keyring==7.3
progressbar==2.3
pushlog-client==0.4.0
requests==2.9.1
taskcluster==0.0.32
tre... | 5f7751f99299597aaf5e70f12a5b6af88a872456 | requirements.txt | requirements.txt | Text |
<|file_sep|>_assets/stylesheets/modules/_about.scss.diff
original:
height: 460px;
updated:
max-height: 460px;
<|file_sep|>original/_assets/stylesheets/modules/_about.scss
// =============================================================================
// About
// ====================================================... | // =============================================================================
// About
// =============================================================================
.about {
padding: 100px 0;
h1 {
margin: 50px 0 15px;
}
}
.profile-pic {
max-height: 460px;
overflow: hidden;
img {
margin: -18%... | <|file_sep|>_assets/stylesheets/modules/_about.scss.diff
original:
height: 460px;
updated:
max-height: 460px;
<|file_sep|>original/_assets/stylesheets/modules/_about.scss
// =============================================================================
// About
// ====================================================... | d1dac5ee4953d89f851f6eaf072f22e64fb1aa60 | _assets/stylesheets/modules/_about.scss | _assets/stylesheets/modules/_about.scss | SCSS |
<|file_sep|>original/.config/powerline/themes/shell/__main__.json
{
"segment_data": {
"hostname": {
"args": {
"only_if_ssh": true
}
},
"cwd": {
"args": {
"dir_limit_depth": 3
}
},
"gitstatus": {
"args": {
"show_tag": true
}
}
}
}
<|file_sep|>current/.config/powerline/themes/s... | {
"segment_data": {
"hostname": {
"args": {
"only_if_ssh": true
}
},
"cwd": {
"args": {
"dir_limit_depth": 3
}
},
"gitstatus": {
"args": {
"show_tag": false
}
}
}
} | <|file_sep|>original/.config/powerline/themes/shell/__main__.json
{
"segment_data": {
"hostname": {
"args": {
"only_if_ssh": true
}
},
"cwd": {
"args": {
"dir_limit_depth": 3
}
},
"gitstatus": {
"args": {
"show_tag": true
}
}
}
}
<|file_sep|>current/.config/powerline/themes/s... | 93ff7b5d54ac03e936477f96206a1ad941a59016 | .config/powerline/themes/shell/__main__.json | .config/powerline/themes/shell/__main__.json | JSON |
<|file_sep|>active_decorator-graphql.gemspec.diff
original:
spec.add_development_dependency "bundler", "~> 1.15"
spec.add_development_dependency "pry-byebug", "~> 3.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
updated:
spec.add_development_dependency "... | spec.version = ActiveDecorator::GraphQL::VERSION
spec.authors = ["Shimoyama, Hiroyasu"]
spec.email = ["h.shimoyama@gmail.com"]
spec.summary = %q{A toolkit for decorating GraphQL field objects.}
spec.description = %q{A toolkit for decorating GraphQL field objects using ActiveDecora... | <|file_sep|>active_decorator-graphql.gemspec.diff
original:
spec.add_development_dependency "bundler", "~> 1.15"
spec.add_development_dependency "pry-byebug", "~> 3.0"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
updated:
spec.add_development_dependency "... | e3d2a414b3e617465791ac23665e6f53fc3f0f4c | active_decorator-graphql.gemspec | active_decorator-graphql.gemspec | Ruby |
<|file_sep|>original/backend/app/assets/javascripts/spree/backend/product_picker.js
// Default options
options = options || {};
var multiple = typeof(options.multiple) !== 'undefined' ? options.multiple : true;
this.select2({
minimumInputLength: 3,
multiple: multiple,
initSelection: function (elem... |
// Default options
options = options || {};
var multiple = typeof(options.multiple) !== 'undefined' ? options.multiple : true;
this.select2({
minimumInputLength: 3,
multiple: multiple,
initSelection: function (element, callback) {
$.get(Spree.routes.product_search, {
ids: element.val... | <|file_sep|>original/backend/app/assets/javascripts/spree/backend/product_picker.js
// Default options
options = options || {};
var multiple = typeof(options.multiple) !== 'undefined' ? options.multiple : true;
this.select2({
minimumInputLength: 3,
multiple: multiple,
initSelection: function (elem... | a29a99b9a2bfedd5528be677ff24c4db2b19115a | backend/app/assets/javascripts/spree/backend/product_picker.js | backend/app/assets/javascripts/spree/backend/product_picker.js | JavaScript |
<|file_sep|>original/debian/patches/11_bold_black.patch
<|file_sep|>current/debian/patches/11_bold_black.patch
<|file_sep|>updated/debian/patches/11_bold_black.patch | Index: src/vte.c
===================================================================
--- src/vte.c (revision 77)
+++ src/vte.c (working copy)
@@ -2120,7 +2120,7 @@
color.blue = (i & 4) ? 0xc000 : 0;
color.green = (i & 2) ? 0xc000 : 0;
color.red = (i & 1) ? 0xc000 : 0;
- if (i > 8) {
+ if (i > 7) {
... | <|file_sep|>original/debian/patches/11_bold_black.patch
<|file_sep|>current/debian/patches/11_bold_black.patch
<|file_sep|>updated/debian/patches/11_bold_black.patch
Index: src/vte.c
===================================================================
--- src/vte.c (revision 77)
+++ src/vte.c (working copy)
@@ -2120,7... | 5ca9488ce6d7bd403191291550ac03ee0117c317 | debian/patches/11_bold_black.patch | debian/patches/11_bold_black.patch | Diff |
<|file_sep|>original/wtforms/ext/i18n/messages/README.txt
<|file_sep|>current/wtforms/ext/i18n/messages/README.txt
<|file_sep|>updated/wtforms/ext/i18n/messages/README.txt | =================================
Translation Submission Guidelines
=================================
To create a translation, the easiest way to start is to run:
$ python setup.py init_catalog --locale <your locale>
Which will copy the template to the right location. To run that setup.py
sub-command, you need Babe... | <|file_sep|>original/wtforms/ext/i18n/messages/README.txt
<|file_sep|>current/wtforms/ext/i18n/messages/README.txt
<|file_sep|>updated/wtforms/ext/i18n/messages/README.txt
=================================
Translation Submission Guidelines
=================================
To create a translation, the easiest way to... | d00b5756bfb69b755296eea6482cc0114eb41a25 | wtforms/ext/i18n/messages/README.txt | wtforms/ext/i18n/messages/README.txt | Text |
<|file_sep|>python2.7libs/CacheManager/define.py.diff
original:
"filecache"
updated:
"filecache",
<|file_sep|>original/python2.7libs/CacheManager/define.py
"""
Define file for Cache Manager Tool.
"""
#-------------------------------------------------------------------------------
# Define Cache Nodes to deal w... | """
Define file for Cache Manager Tool.
"""
#-------------------------------------------------------------------------------
# Define Cache Nodes to deal with this script
CACHE_NODES = [
"file",
"filecache",
"alembic",
"alembicarchive"
]
# Define Houdini Environment Varialbes. This will also be used ... | <|file_sep|>python2.7libs/CacheManager/define.py.diff
original:
"filecache"
updated:
"filecache",
<|file_sep|>original/python2.7libs/CacheManager/define.py
"""
Define file for Cache Manager Tool.
"""
#-------------------------------------------------------------------------------
# Define Cache Nodes to deal w... | 21c1cf2d920aebe704c478380e4e8e8974dc148e | python2.7libs/CacheManager/define.py | python2.7libs/CacheManager/define.py | Python |
<|file_sep|>original/yogstation/code/modules/clothing/head/misc_special.dm
<|file_sep|>current/yogstation/code/modules/clothing/head/misc_special.dm
<|file_sep|>updated/yogstation/code/modules/clothing/head/misc_special.dm | /obj/item/clothing/head/hardhat/pumpkinhead/attackby(obj/item/W, mob/user, params)
if(istype(W, /obj/item/card/emag))
new /obj/item/card/emag/halloween(src.loc)
qdel(W)
to_chat(user, "<span class='notice'>You shove the [W.name] into the [src.name], creating something beautiful.")
else
return | <|file_sep|>original/yogstation/code/modules/clothing/head/misc_special.dm
<|file_sep|>current/yogstation/code/modules/clothing/head/misc_special.dm
<|file_sep|>updated/yogstation/code/modules/clothing/head/misc_special.dm
/obj/item/clothing/head/hardhat/pumpkinhead/attackby(obj/item/W, mob/user, params)
if(istype(W... | d9f92c96a56bbd4e7b66ce9f78a42f6b6f31f4ca | yogstation/code/modules/clothing/head/misc_special.dm | yogstation/code/modules/clothing/head/misc_special.dm | DM |
<|file_sep|>original/Sync/Program.cs
*/
I18n.Instance.ApplyLanguage(new DefaultI18n());
while(true)
{
SyncHost.Instance = new SyncHost();
SyncHost.Instance.Load();
CurrentIO.WriteWelcome();
... | */
I18n.Instance.ApplyLanguage(new DefaultI18n());
while(true)
{
SyncHost.Instance = new SyncHost();
SyncHost.Instance.Load();
CurrentIO.WriteWelcome();
string cmd = "";
... | <|file_sep|>original/Sync/Program.cs
*/
I18n.Instance.ApplyLanguage(new DefaultI18n());
while(true)
{
SyncHost.Instance = new SyncHost();
SyncHost.Instance.Load();
CurrentIO.WriteWelcome();
... | 75f88f087620ac0609f5dd852a85b1094b602c8a | Sync/Program.cs | Sync/Program.cs | C# |
<|file_sep|>original/docs/installation.md
---
title: Installation
---
**Note**: for general Reason + BuckleScript editor setup, see [here](https://reasonml.github.io/docs/en/editor-plugins).
## BuckleScript
[BuckleScript](http://bucklescript.github.io/) compiles ReasonML code to JavaScript. You can get it with:
```... | npm install --global bs-platform
bsb -init my-react-app -theme react-hooks
cd my-react-app && npm install && npm start
# in another tab
npm run webpack
```
BuckleScript's [bsb](https://bucklescript.github.io/docs/en/build-overview.html) build system has an `init` command that generates a project template. The `react` ... | <|file_sep|>original/docs/installation.md
---
title: Installation
---
**Note**: for general Reason + BuckleScript editor setup, see [here](https://reasonml.github.io/docs/en/editor-plugins).
## BuckleScript
[BuckleScript](http://bucklescript.github.io/) compiles ReasonML code to JavaScript. You can get it with:
```... | e4e90434565b09630a958283ad4bdfe890aae141 | docs/installation.md | docs/installation.md | Markdown |
<|file_sep|>original/pages/common/cloc.md
# cloc
> Count, and compute differences of, lines of source code and comments.
- Count all the lines of code in a directory:
`cloc {{/path/to/directory}}`
- Count all the lines of code in a directory, displaying a progress bar during the counting process:
`cloc --progress=... | # cloc
> Count, and compute differences of, lines of source code and comments.
- Count all the lines of code in a directory:
`cloc {{/path/to/directory}}`
- Count all the lines of code in a directory, displaying a progress bar during the counting process:
`cloc --progress=1 {{/path/to/directory}}`
- Compare 2 dir... | <|file_sep|>original/pages/common/cloc.md
# cloc
> Count, and compute differences of, lines of source code and comments.
- Count all the lines of code in a directory:
`cloc {{/path/to/directory}}`
- Count all the lines of code in a directory, displaying a progress bar during the counting process:
`cloc --progress=... | fb3cf26a7d7c35e8a454bf853252edeacb9ac1b4 | pages/common/cloc.md | pages/common/cloc.md | Markdown |
<|file_sep|>.deploy/helmfile.yaml.diff
original:
- hosts:
updated:
values:
- hosts:
<|file_sep|>original/.deploy/helmfile.yaml
repositories:
- name: colab
url: https://colab-coop.github.io/coopernetes/charts
environments:
production:
- hosts:
- site.coopernetes.colab.coop
staging:
- hosts:
... | repositories:
- name: colab
url: https://colab-coop.github.io/coopernetes/charts
environments:
production:
values:
- hosts:
- site.coopernetes.colab.coop
staging:
values:
- hosts:
- stage.colab.coop
- www.stage.colab.coop
releases:
- name: basic-http-server
namespace: col... | <|file_sep|>.deploy/helmfile.yaml.diff
original:
- hosts:
updated:
values:
- hosts:
<|file_sep|>original/.deploy/helmfile.yaml
repositories:
- name: colab
url: https://colab-coop.github.io/coopernetes/charts
environments:
production:
- hosts:
- site.coopernetes.colab.coop
staging:
- hosts:
... | bd3262c851e12363c107f286c5047c91c2c598f4 | .deploy/helmfile.yaml | .deploy/helmfile.yaml | YAML |
<|file_sep|>original/macOS/install.sh
if ! which brew &> /dev/null; then
echo "Installing homebrew"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew update
brew bundle --file=Brewfile
brew bundle --file=Caskfile
# Create personalized system and app defaults
source... | if ! which brew &> /dev/null; then
echo "Installing homebrew"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew update
brew bundle --file=Brewfile
brew bundle --file=Caskfile
# Create personalized system and app defaults
source defaults.sh
# Build the Dock
sh dock.... | <|file_sep|>original/macOS/install.sh
if ! which brew &> /dev/null; then
echo "Installing homebrew"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew update
brew bundle --file=Brewfile
brew bundle --file=Caskfile
# Create personalized system and app defaults
source... | 48925cfff2c41c228157c676275d54bb1e41549a | macOS/install.sh | macOS/install.sh | Shell |
<|file_sep|>src/Adaptive.Aeron/ActiveSubscriptions.cs.diff
original:
var subscriptions = _subscriptionsByStreamIdMap[streamId];
if (subscriptions.Remove(subscription) && subscriptions.Count == 0)
updated:
List<Subscription> subscriptions;
if (_subscriptionsByStreamIdMap.... | subscriptions.Add(subscription);
}
public void Remove(Subscription subscription)
{
int streamId = subscription.StreamId();
List<Subscription> subscriptions;
if (_subscriptionsByStreamIdMap.TryGetValue(streamId, out subscriptions))
{
... | <|file_sep|>src/Adaptive.Aeron/ActiveSubscriptions.cs.diff
original:
var subscriptions = _subscriptionsByStreamIdMap[streamId];
if (subscriptions.Remove(subscription) && subscriptions.Count == 0)
updated:
List<Subscription> subscriptions;
if (_subscriptionsByStreamIdMap.... | 7528a5fa1bd0a072cae97185bec05d54fcac11ad | src/Adaptive.Aeron/ActiveSubscriptions.cs | src/Adaptive.Aeron/ActiveSubscriptions.cs | C# |
<|file_sep|>original/src/app/styles/components/_catalog-card.less
.c-product-card {
// add flex display to product card wrapper
// flex the product card to fill the grid item element
.oc-flex-layout.vertical;
.oc-flex-layout.flex-auto;
.c-product-card__body {
.oc-flex-layout.vertical;
... | // add flex display to product card wrapper
// flex the product card to fill the grid item element
.oc-flex-layout.vertical;
.oc-flex-layout.flex-auto;
.c-product-card__body {
.oc-flex-layout.vertical;
.oc-flex-layout.flex-auto;
}
.c-product-card__name {
.oc-flex-layo... | <|file_sep|>original/src/app/styles/components/_catalog-card.less
.c-product-card {
// add flex display to product card wrapper
// flex the product card to fill the grid item element
.oc-flex-layout.vertical;
.oc-flex-layout.flex-auto;
.c-product-card__body {
.oc-flex-layout.vertical;
... | b99e0bfe9bbbfb685c66db033a06dedaa671358e | src/app/styles/components/_catalog-card.less | src/app/styles/components/_catalog-card.less | Less |
<|file_sep|>original/notes/simple-browser-automation.md
## Simple browser automation using Hound
```elixir
Application.start :hound
defmodule Example do
use Hound.Helpers
def run do
Hound.start_session
navigate_to "http://akash.im"
IO.inspect page_title()
# Automatically invoked if the session ... | Make sure to [configure Hound](https://github.com/HashNuke/hound/blob/master/notes/configuring-hound.md) first, or you will get an error.
## Simple browser automation using Hound
```elixir
Application.start :hound
defmodule Example do
use Hound.Helpers
def run do
Hound.start_session
navigate_to "http:/... | <|file_sep|>original/notes/simple-browser-automation.md
## Simple browser automation using Hound
```elixir
Application.start :hound
defmodule Example do
use Hound.Helpers
def run do
Hound.start_session
navigate_to "http://akash.im"
IO.inspect page_title()
# Automatically invoked if the session ... | 8b84d9d79641b3a35162e2d23b4e5d68494de76e | notes/simple-browser-automation.md | notes/simple-browser-automation.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "4"
- "5"
install:
- npm install
script:
- npm run check
- npm run build
- npm run validate
- npm run integration-test
after_success:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "4"... | language: node_js
node_js:
- "0.12"
- "4"
- "5"
- "6"
install:
- npm install
script:
- npm run check
- npm run build
- npm run validate
- npm run integration-test
after_success:
- npm run coveralls | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.12"
- "4"
- "5"
install:
- npm install
script:
- npm run check
- npm run build
- npm run validate
- npm run integration-test
after_success:
- npm run coveralls
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.12"
- "4"... | f3ce8a389357f56cc0ff65c14fe4a0349027344c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/stack/database.py
<|file_sep|>current/stack/database.py
<|file_sep|>updated/stack/database.py | from troposphere import (
rds,
Ref,
AWS_STACK_NAME,
)
from .template import template
from .vpc import (
container_a_subnet,
container_b_subnet,
)
db_subnet_group = rds.DBSubnetGroup(
"DatabaseSubnetGroup",
template=template,
DBSubnetGroupDescription="Subnets available for the RDS DB I... | <|file_sep|>original/stack/database.py
<|file_sep|>current/stack/database.py
<|file_sep|>updated/stack/database.py
from troposphere import (
rds,
Ref,
AWS_STACK_NAME,
)
from .template import template
from .vpc import (
container_a_subnet,
container_b_subnet,
)
db_subnet_group = rds.DBSubnetGrou... | d07d19a2d88762d9483dad07a432329759e51e67 | stack/database.py | stack/database.py | Python |
<|file_sep|>test/setup.js.diff
original:
var mkdir = require('mkdirp').sync
var rimraf = require('rimraf').sync
updated:
var mkdir = retry(require('mkdirp'))
var rimraf = retry(require('rimraf'))
<|file_sep|>test/setup.js.diff
original:
beforeEach(function () {
rimraf(__dirname + '/output/')
mkdir(__dirname + '/out... |
beforeEach(function (callback) {
rimraf(__dirname + '/output/', function (err) {
if (err) return callback(err)
mkdir(__dirname + '/output/', callback)
})
})
afterEach(function (callback) {
rimraf(__dirname + '/output/', callback)
})
function retry(fn) {
return function () {
var args = Array.protot... | <|file_sep|>test/setup.js.diff
original:
var mkdir = require('mkdirp').sync
var rimraf = require('rimraf').sync
updated:
var mkdir = retry(require('mkdirp'))
var rimraf = retry(require('rimraf'))
<|file_sep|>test/setup.js.diff
original:
beforeEach(function () {
rimraf(__dirname + '/output/')
mkdir(__dirname + '/out... | d488f14337e8bf0105a3b2bfdf076f48155320bf | test/setup.js | test/setup.js | JavaScript |
<|file_sep|>original/package.json
"author": "Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)",
"contributors": [
{
"name": "Scott Nelson",
"url": "https://github.com/scttnlsn"
}
],
"name": "repl.history",
"description": "add history to node's repl",
"license": "MIT",
"version": "0.... | "author": "Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)",
"contributors": [
{
"name": "Scott Nelson",
"url": "https://github.com/scttnlsn"
}
],
"name": "repl.history",
"description": "add history to node's repl",
"license": "MIT",
"version": "0.1.2",
"repository": {
"type"... | <|file_sep|>original/package.json
"author": "Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)",
"contributors": [
{
"name": "Scott Nelson",
"url": "https://github.com/scttnlsn"
}
],
"name": "repl.history",
"description": "add history to node's repl",
"license": "MIT",
"version": "0.... | 815a2309b5fcfd09b5857bed439e973398c48343 | package.json | package.json | JSON |
<|file_sep|>lib/sub_diff/diff_collection.rb.diff
original:
updated:
extend Forwardable
<|file_sep|>original/lib/sub_diff/diff_collection.rb
require 'delegate'
require 'forwardable'
module SubDiff
class DiffCollection < SimpleDelegator
include Enumerable
extend Forwardable
def_delegators :diffs, :ea... | require 'delegate'
require 'forwardable'
module SubDiff
class DiffCollection < SimpleDelegator
extend Forwardable
include Enumerable
def_delegators :diffs, :each, :size
def initialize(diffs = [])
super(to_s)
diffs.each(&method(:<<))
yield self if block_given?
end
def <<(d... | <|file_sep|>lib/sub_diff/diff_collection.rb.diff
original:
updated:
extend Forwardable
<|file_sep|>original/lib/sub_diff/diff_collection.rb
require 'delegate'
require 'forwardable'
module SubDiff
class DiffCollection < SimpleDelegator
include Enumerable
extend Forwardable
def_delegators :diffs, :ea... | 98779a53dd246fed0107d833071777817734d4ea | lib/sub_diff/diff_collection.rb | lib/sub_diff/diff_collection.rb | Ruby |
<|file_sep|>original/appveyor.yml
version: "{build}"
clone_depth: 1
build_script:
- cmake . -G "Visual Studio 12"
- cmake --build . --config RelWithDebInfo
notifications:
email:
- groonga-commit@lists.sourceforge.jp
test: off
<|file_sep|>current/appveyor.yml
version: "{build}"
clone_depth: 1
build_script:
- ... | version: "{build}"
clone_depth: 1
build_script:
- cmake . -G "Visual Studio 12"
- cmake --build . --config RelWithDebInfo
notifications:
email:
- groonga-commit@lists.sourceforge.jp
test: off | <|file_sep|>original/appveyor.yml
version: "{build}"
clone_depth: 1
build_script:
- cmake . -G "Visual Studio 12"
- cmake --build . --config RelWithDebInfo
notifications:
email:
- groonga-commit@lists.sourceforge.jp
test: off
<|file_sep|>current/appveyor.yml
version: "{build}"
clone_depth: 1
build_script:
- ... | caf5b431efa1f4c8e479cb8530fb287177a83187 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/README.md
Visit https://adamlofts.github.io/angular_quill_example/build/web/index.html
And view the corresponding [example source code](https://github.com/adamlofts/angular_quill_example/blob/master/web/app_component.html).
## Usage
Add the dependency to pub:
```yaml
dependencies:
angular_qu... | Visit https://adamlofts.github.io/angular_quill_example/build/web/index.html
And view the corresponding [example source code](https://github.com/adamlofts/angular_quill_example/blob/master/web/app_component.html).
## Usage
Add the dependency to pub:
```yaml
dependencies:
angular_quill:
```
Add the component to ... | <|file_sep|>original/README.md
Visit https://adamlofts.github.io/angular_quill_example/build/web/index.html
And view the corresponding [example source code](https://github.com/adamlofts/angular_quill_example/blob/master/web/app_component.html).
## Usage
Add the dependency to pub:
```yaml
dependencies:
angular_qu... | 281be0d3f078cf46ccb4933b00dd41526f9652ab | README.md | README.md | Markdown |
<|file_sep|>original/cardano-sl-src.json
{
"url": "https://github.com/input-output-hk/cardano-sl",
"rev": "1c93392722c2e5cd26635b1731d3a7f995f9286d",
"sha256": "1y5xafhwz7wsql8msy79zv9x8c7plw32n88d89h94hnf96p3npzn",
"fetchSubmodules": false
}
<|file_sep|>current/cardano-sl-src.json
{
"url": "https://github.co... | {
"url": "https://github.com/input-output-hk/cardano-sl",
"rev": "529060b7e73505b5c64125675a7ff4fa87fe0ae0",
"sha256": "087jr6isj6ahbg1qpvv8sp2a2j03v2csl3vw6czkfia9n4q9p0s0",
"fetchSubmodules": false
} | <|file_sep|>original/cardano-sl-src.json
{
"url": "https://github.com/input-output-hk/cardano-sl",
"rev": "1c93392722c2e5cd26635b1731d3a7f995f9286d",
"sha256": "1y5xafhwz7wsql8msy79zv9x8c7plw32n88d89h94hnf96p3npzn",
"fetchSubmodules": false
}
<|file_sep|>current/cardano-sl-src.json
{
"url": "https://github.co... | a02df0a2932a73ca9f905e703f5e95c93a7e71b6 | cardano-sl-src.json | cardano-sl-src.json | JSON |
<|file_sep|>original/.travis.yml
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- tip
os:
- linux
- osx
services:
- rabbitmq
before_script: ./bin/ci/before_build.sh
script: make
matrix:
<|file_sep|>current/.travis.yml
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- tip
os:
- linux
- osx
services:
- ... |
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- tip
services:
- rabbitmq
before_script: ./bin/ci/before_build.sh
script: make
matrix:
allow_failures:
- go: tip
notifications: | <|file_sep|>original/.travis.yml
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- tip
os:
- linux
- osx
services:
- rabbitmq
before_script: ./bin/ci/before_build.sh
script: make
matrix:
<|file_sep|>current/.travis.yml
go:
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- tip
os:
- linux
- osx
services:
- ... | f6d18d65445589b0e2d0aad634430c1e15b3dc5c | .travis.yml | .travis.yml | YAML |
<|file_sep|>stylesheets/technical-stylesheet.css.diff
original:
top: 800px;
updated:
top: 820px;
<|file_sep|>stylesheets/technical-stylesheet.css.diff
original:
top: 810px;
updated:
top: 830px;
<|file_sep|>original/stylesheets/technical-stylesheet.css
display: block;
position: relative;
left: 100px;
top: 800px;
}
#th... | display: block;
position: relative;
left: 100px;
top: 820px;
}
#third_from_top {
display: block;
position: relative;
left: 100px;
top: 830px;
}
#fourth_from_top {
display: block;
position: relative;
left: 100px;
top: 840px;
}
| <|file_sep|>stylesheets/technical-stylesheet.css.diff
original:
top: 800px;
updated:
top: 820px;
<|file_sep|>stylesheets/technical-stylesheet.css.diff
original:
top: 810px;
updated:
top: 830px;
<|file_sep|>original/stylesheets/technical-stylesheet.css
display: block;
position: relative;
left: 100px;
top: 800px;
}
#th... | 680b603cb4a43a57ca575f7faafc1f132a085fe5 | stylesheets/technical-stylesheet.css | stylesheets/technical-stylesheet.css | CSS |
<|file_sep|>original/annotator_store.gemspec
$:.push File.expand_path('../lib', __FILE__)
require 'annotator_store/version'
Gem::Specification.new do |spec|
spec.name = 'annotator-store'
spec.version = AnnotatorStore::VERSION
spec.date = Time.new.getutc.strftime('%Y-%m-%d')
spec.auth... | $:.push File.expand_path('../lib', __FILE__)
require 'annotator_store/version'
Gem::Specification.new do |spec|
spec.name = 'annotator-store'
spec.version = AnnotatorStore::VERSION
spec.date = Time.new.getutc.strftime('%Y-%m-%d')
spec.authors = ["Job King'ori Maina"]
spec.em... | <|file_sep|>original/annotator_store.gemspec
$:.push File.expand_path('../lib', __FILE__)
require 'annotator_store/version'
Gem::Specification.new do |spec|
spec.name = 'annotator-store'
spec.version = AnnotatorStore::VERSION
spec.date = Time.new.getutc.strftime('%Y-%m-%d')
spec.auth... | b2fd5ae114963a3887d5435fd1b195d40747edeb | annotator_store.gemspec | annotator_store.gemspec | Ruby |
<|file_sep|>original/templates/_ds-action-menu.hbs
<div data-ds-hide="display" class="btn-group" align="left">
<button type="button"
class="btn btn-default btn-xs dropdown-toggle"
data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right ds-... | <div data-ds-hide="display edit" class="btn-group" align="left">
<button type="button"
class="btn btn-default btn-xs dropdown-toggle"
data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right ds-action-menu" role="menu">
{{actions 'prese... | <|file_sep|>original/templates/_ds-action-menu.hbs
<div data-ds-hide="display" class="btn-group" align="left">
<button type="button"
class="btn btn-default btn-xs dropdown-toggle"
data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right ds-... | caeb9515d99992d846eca4be6551d4071e9604a3 | templates/_ds-action-menu.hbs | templates/_ds-action-menu.hbs | Handlebars |
<|file_sep|>original/atom-postinistall.sh
apm install project-manager
apm install todo-show
apm install minimap
apm install highlight-selected
apm install minimap-highlight-selected
apm install pigments
apm install minimap-pigments
apm install file-icons
apm install fonts
#apm install project-plus
apm install git-plus
... | apm install project-manager
apm install todo-show
apm install minimap
apm install highlight-selected
apm install minimap-highlight-selected
apm install pigments
apm install minimap-pigments
apm install file-icons
apm install fonts
#apm install project-plus
#apm install git-plus
apm install remote-edit
#apm install mark... | <|file_sep|>original/atom-postinistall.sh
apm install project-manager
apm install todo-show
apm install minimap
apm install highlight-selected
apm install minimap-highlight-selected
apm install pigments
apm install minimap-pigments
apm install file-icons
apm install fonts
#apm install project-plus
apm install git-plus
... | eb3a8507402732f375665c3e6f873e89fa419a33 | atom-postinistall.sh | atom-postinistall.sh | Shell |
<|file_sep|>original/packages/ra/raketka.yaml
<|file_sep|>current/packages/ra/raketka.yaml
<|file_sep|>updated/packages/ra/raketka.yaml | homepage: https://github.com/ciez/raketka
changelog-type: markdown
hash: 1d3d4b679ce67af23a42024405a60559c84c24bd3763c4ef3dcfb451cf082c41
test-bench-deps:
base: ! '>=4.8'
hspec: ! '>=2.1.7'
QuickCheck: ! '>=2.8.1'
maintainer: Imants Cekusins
synopsis: basic distributed-process node with configurable peers
changel... | <|file_sep|>original/packages/ra/raketka.yaml
<|file_sep|>current/packages/ra/raketka.yaml
<|file_sep|>updated/packages/ra/raketka.yaml
homepage: https://github.com/ciez/raketka
changelog-type: markdown
hash: 1d3d4b679ce67af23a42024405a60559c84c24bd3763c4ef3dcfb451cf082c41
test-bench-deps:
base: ! '>=4.8'
hspec: ... | cddb80093896cc255ae42a48cee7ddf7f56d56f2 | packages/ra/raketka.yaml | packages/ra/raketka.yaml | YAML |
<|file_sep|>original/README.md
# hexo-autoprefixer
[](https://travis-ci.org/hexojs/hexo-autoprefixer)
[](https://www.npmjs.com/package/hexo-autoprefixer)
[](https://travis-ci.com/hexojs/hexo-autoprefixer)
[](https://www.npmjs.com/package/hexo-autoprefixer)
[](https://travis-ci.org/hexojs/hexo-autoprefixer)
[](https://www.npmjs.com/package/hexo-autoprefixer)
[ %></p>
<% end %>
<% if [:programme].include? publication.type.to_sym %>
<p cla... | <div class="meta-data group">
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme].include? publication.type.to_sym %>
<p class="print-link"><%= link_to "Print th... | <|file_sep|>original/app/views/root/_publication_metadata.html.erb
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme].include? publication.type.to_sym %>
<p cla... | 64a0741d9dbd04709930d762a987f3c2d830a67e | app/views/root/_publication_metadata.html.erb | app/views/root/_publication_metadata.html.erb | HTML+ERB |
<|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md | matchurls
=========
The little bit of code behind [matchurls](https://rjackson.me/tools/matchurls). It is both an expressjs website and a Steam / Dota bot (via [node-steam](https://github.com/seishun/node-steam) and [node-dota2](https://github.com/RJacksonm1/node-dota2)), and uses MongoDB as a data store; a matchid i... | <|file_sep|>original/README.md
<|file_sep|>current/README.md
<|file_sep|>updated/README.md
matchurls
=========
The little bit of code behind [matchurls](https://rjackson.me/tools/matchurls). It is both an expressjs website and a Steam / Dota bot (via [node-steam](https://github.com/seishun/node-steam) and [node-dot... | bca6bd0790ddbcb37e35f10eddb59490451683f3 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- 5.2
updated:
# - 5.2
<|file_sep|>original/.travis.yml
language: php
php:
- 5.2
- 5.3
- 5.4
- 5.5
install:
- sudo apt-get install valgrind
env:
- REPORT_EXIT_STATUS=1 NO_INTERACTION=1
script:
- cd sample && phpize && ./configure && make && make test
notifica... | language: php
php:
# - 5.2
- 5.3
- 5.4
- 5.5
install:
- sudo apt-get install valgrind
env:
- REPORT_EXIT_STATUS=1 NO_INTERACTION=1
script:
- make test
notifications:
email:
- reeze.xia@gmail.com | <|file_sep|>.travis.yml.diff
original:
- 5.2
updated:
# - 5.2
<|file_sep|>original/.travis.yml
language: php
php:
- 5.2
- 5.3
- 5.4
- 5.5
install:
- sudo apt-get install valgrind
env:
- REPORT_EXIT_STATUS=1 NO_INTERACTION=1
script:
- cd sample && phpize && ./configure && make && make test
notifica... | 9bebae7b6eed1c2932a916533fbb62ecce3ea552 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.18.2
pyyaml>=4.2b1
pandas==1.0.0
scipy==1.4.1
astropy==4.0
matplotlib==3.1.2
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.18.2
pyyaml>=4.2b1
pandas==1.0.0
scipy==1.4.1
astropy==4.0
matplotlib==3.1.2
tables==3.6.1
<|file_sep|>u... | numpy==1.18.2
pyyaml>=4.2b1
pandas==1.0.3
scipy==1.4.1
astropy==4.0
matplotlib==3.1.2
tables==3.6.1 | <|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.18.2
pyyaml>=4.2b1
pandas==1.0.0
scipy==1.4.1
astropy==4.0
matplotlib==3.1.2
tables==3.6.1
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.18.2
pyyaml>=4.2b1
pandas==1.0.0
scipy==1.4.1
astropy==4.0
matplotlib==3.1.2
tables==3.6.1
<|file_sep|>u... | 05bbe283dc1ccc5fc13e6123ae6189e08534f4e9 | sweetercat/data/requirements.txt | sweetercat/data/requirements.txt | Text |
<|file_sep|>original/build.sbt
name := "apibuilder-validation"
organization := "io.flow"
scalaVersion in ThisBuild := "2.12.7"
crossScalaVersions := Seq("2.12.7", "2.11.12")
version := "0.2.3"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-... | name := "apibuilder-validation"
organization := "io.flow"
scalaVersion in ThisBuild := "2.12.7"
crossScalaVersions := Seq("2.12.7", "2.11.12")
version := "0.2.4"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.6.10",
"org.sc... | <|file_sep|>original/build.sbt
name := "apibuilder-validation"
organization := "io.flow"
scalaVersion in ThisBuild := "2.12.7"
crossScalaVersions := Seq("2.12.7", "2.11.12")
version := "0.2.3"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-... | 38a554311e5b3b84d907976434262d8861a5df83 | build.sbt | build.sbt | Scala |
<|file_sep|>original/etc/config/java.defaults.properties
# Default settings for Java
compilers=&java
compilerType=java
versionFlag=-version
objdumper=javap
group.java.compilers=javacdefault
compiler.javacdefault.exe=/usr/bin/javac
compiler.javacdefault.name=javac default
defaultCompiler=javacdefault
demangler=
postPr... | # Default settings for Java
compilers=&java
compilerType=java
versionFlag=-version
objdumper=javap
instructionSet=java
group.java.compilers=javacdefault
compiler.javacdefault.exe=/usr/bin/javac
compiler.javacdefault.name=javac default
defaultCompiler=javacdefault
demangler=
postProcess=
options=
supportsBinary=false
... | <|file_sep|>original/etc/config/java.defaults.properties
# Default settings for Java
compilers=&java
compilerType=java
versionFlag=-version
objdumper=javap
group.java.compilers=javacdefault
compiler.javacdefault.exe=/usr/bin/javac
compiler.javacdefault.name=javac default
defaultCompiler=javacdefault
demangler=
postPr... | de653c542052e99060b8d8316afb7ebc9bddf6b1 | etc/config/java.defaults.properties | etc/config/java.defaults.properties | INI |
<|file_sep|>original/lib/utils/leap-mockhand.js
const { config } = require(path.join(__dirname, '..', '..', 'main.config.js'))
module.exports = class MockHand {
constructor (normalizedPosition) {
this.normalizedPosition = [...normalizedPosition]
this.target = [...normalizedPosition]
}
update (box) {
... |
module.exports = class MockHand {
constructor (normalizedPosition) {
this.normalizedPosition = [...normalizedPosition]
this.target = [...normalizedPosition]
}
update (box) {
this.normalizedPosition.forEach((_, index) => {
const d = this.target[index] - this.normalizedPosition[index]
this... | <|file_sep|>original/lib/utils/leap-mockhand.js
const { config } = require(path.join(__dirname, '..', '..', 'main.config.js'))
module.exports = class MockHand {
constructor (normalizedPosition) {
this.normalizedPosition = [...normalizedPosition]
this.target = [...normalizedPosition]
}
update (box) {
... | b6c04907f80c9942358dfbaf5bd9d5d40afdb120 | lib/utils/leap-mockhand.js | lib/utils/leap-mockhand.js | JavaScript |
<|file_sep|>original/test/SpriteTask/test01/www/css/navigation-expected.css
.navigation
{
background-image: url(/images/navigation-fab48ca0780cf63b2493ea6e58411505.png);
display: table-cell;
width: 24px;
height: 24px;
}
.navigation-back
{
background-position: 0 0;
}
.navigation-down
{
background-position:... | .navigation
{
background-image: url(/images/navigation-fab48ca0780cf63b2493ea6e58411505.png);
display: inline-block;
width: 24px;
height: 24px;
}
.navigation-back
{
background-position: 0 0;
}
.navigation-down
{
background-position: -24px 0;
}
.navigation-first
{
background-position: -48px 0; | <|file_sep|>original/test/SpriteTask/test01/www/css/navigation-expected.css
.navigation
{
background-image: url(/images/navigation-fab48ca0780cf63b2493ea6e58411505.png);
display: table-cell;
width: 24px;
height: 24px;
}
.navigation-back
{
background-position: 0 0;
}
.navigation-down
{
background-position:... | b31c80e22a276b8339028ad4c0cff4e09ec1b565 | test/SpriteTask/test01/www/css/navigation-expected.css | test/SpriteTask/test01/www/css/navigation-expected.css | CSS |
<|file_sep|>original/index.js
var es = require('event-stream');
var path = require('path');
var htmlv = require('html-validator');
module.exports = function(options) {
if (!options) options = {};
if (!options.format) options.format = 'json';
function modifyContents(file, cb) {
if (file.isNull()) return cb(... | var es = require('event-stream');
var path = require('path');
var htmlv = require('html-validator');
module.exports = function(options) {
if (!options) options = {};
function modifyContents(file, cb) {
if (file.isNull()) return cb(null, file); // pass along
if (file.isStream()) return cb(new Error('htmlv... | <|file_sep|>original/index.js
var es = require('event-stream');
var path = require('path');
var htmlv = require('html-validator');
module.exports = function(options) {
if (!options) options = {};
if (!options.format) options.format = 'json';
function modifyContents(file, cb) {
if (file.isNull()) return cb(... | 7cadfe51825587641c1d5cdbfe62433b905217b2 | index.js | index.js | JavaScript |
<|file_sep|>original/README.md
A 3D map demo
========
Using three.js to render a map in three dimensions.
<|file_sep|>current/README.md
A 3D map demo
========
Using three.js to render a map in three dimensions.
<|file_sep|>updated/README.md | A 3D map demo
========
Using three.js to render a map in three dimensions.
It shows 2 floors, and a few rooms
http://julzhk.github.io/map_demo/ | <|file_sep|>original/README.md
A 3D map demo
========
Using three.js to render a map in three dimensions.
<|file_sep|>current/README.md
A 3D map demo
========
Using three.js to render a map in three dimensions.
<|file_sep|>updated/README.md
A 3D map demo
========
Using three.js to render a map in three dimensions.... | 9a48da57f7cf6e7ec702784a950b74ccbcc9a16f | README.md | README.md | Markdown |
<|file_sep|>original/tests/window/window_util.py
glClear(GL_COLOR_BUFFER_BIT)
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
glOrtho(0, window.width, 0, window.height, -1, 1)
glMatrixMode(GL_MODELVIEW)
glLoadIdentity()
def rect(x1, y1, x2, y2):
glBegin(GL_LINE_LOOP)
glVertex2... | glClear(GL_COLOR_BUFFER_BIT)
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
glOrtho(0, window.width, 0, window.height, -1, 1)
glMatrixMode(GL_MODELVIEW)
glLoadIdentity()
def rect(x1, y1, x2, y2):
glBegin(GL_LINE_LOOP)
glVertex2f(x1, y1)
glVertex2f(x2, y1)
glVe... | <|file_sep|>original/tests/window/window_util.py
glClear(GL_COLOR_BUFFER_BIT)
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
glOrtho(0, window.width, 0, window.height, -1, 1)
glMatrixMode(GL_MODELVIEW)
glLoadIdentity()
def rect(x1, y1, x2, y2):
glBegin(GL_LINE_LOOP)
glVertex2... | ef8c04be4e2a312b977cbc3d84a45c20c7895147 | tests/window/window_util.py | tests/window/window_util.py | Python |
<|file_sep|>azure-pipelines.yml.diff
original:
pool:
vmImage: 'ubuntu-16.04'
updated:
resources:
repositories:
- repository: apt
type: github
name: futagoza/apt
<|file_sep|>azure-pipelines.yml.diff
original:
strategy:
maxParallel: 3
matrix:
Node 6:
node_version: 6.x
Node 8:
n... | type: github
name: futagoza/apt
variables:
- group: 'env-variables'
jobs:
- template: eslint.yml@apt
- template: node-test.yml@apt
parameters:
node_version: 6.x
after:
- script: yarn coverage
env:
COVERALLS_SERVICE_NAME: $(COVERALLS_SERVICE_NAME)
COVERALLS_REPO_TOKEN:... | <|file_sep|>azure-pipelines.yml.diff
original:
pool:
vmImage: 'ubuntu-16.04'
updated:
resources:
repositories:
- repository: apt
type: github
name: futagoza/apt
<|file_sep|>azure-pipelines.yml.diff
original:
strategy:
maxParallel: 3
matrix:
Node 6:
node_version: 6.x
Node 8:
n... | 41b5f44288c36d3eea81c4a0c1c8f51d31090596 | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>docs/_templates/layout.html.diff
original:
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
updated:
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copy... |
{%- block footer %}
<div class="footer">
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
{%- else %}
{% trans copyright=copyright|e %}© Cop... | <|file_sep|>docs/_templates/layout.html.diff
original:
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
updated:
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copy... | 4099247de9c62110e19e13274227156e387ce1d9 | docs/_templates/layout.html | docs/_templates/layout.html | HTML |
<|file_sep|>original/fc-reminder.gemspec
$:.push File.expand_path('../lib', __FILE__)
require 'fc-reminder/version'
Gem::Specification.new do |spec|
spec.name = 'fc-reminder'
spec.version = FCReminder::VERSION
spec.authors = ['Kamil Kieliszczyk']
spec.email = ['kamil@kieliszczyk.net']
... | $:.unshift File.expand_path('../lib', __FILE__)
require 'fc-reminder/version'
Gem::Specification.new do |spec|
spec.name = 'fc-reminder'
spec.version = FCReminder::VERSION
spec.authors = ['Kamil Kieliszczyk']
spec.email = ['kamil@kieliszczyk.net']
spec.description = 'Simple reminder... | <|file_sep|>original/fc-reminder.gemspec
$:.push File.expand_path('../lib', __FILE__)
require 'fc-reminder/version'
Gem::Specification.new do |spec|
spec.name = 'fc-reminder'
spec.version = FCReminder::VERSION
spec.authors = ['Kamil Kieliszczyk']
spec.email = ['kamil@kieliszczyk.net']
... | e9a7a0b8c9b089b04659cfd68fab0095bdd63f02 | fc-reminder.gemspec | fc-reminder.gemspec | Ruby |
<|file_sep|>original/config/newrelic.yml
# Logging level for log/newrelic_agent.log
log_level: info
# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
developmen... | log_level: info
# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
development:
<<: *default_settings
app_name: CCCD (Development)
log_level: debug
monitor... | <|file_sep|>original/config/newrelic.yml
# Logging level for log/newrelic_agent.log
log_level: info
# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
developmen... | 13528d721b86759d79f4babddad53de5cbb5a3ef | config/newrelic.yml | config/newrelic.yml | YAML |
<|file_sep|>original/src/qcast/util.clj
(defn seconds
([] (seconds 1))
([n] (* n 1000)))
(defn minutes
([] (minutes 1))
([n] (* n (seconds 60))))
(defn hours
([] (hours 1))
([n] (* n (minutes 60))))
(defn days
([] (days 1))
([n] (* n (hours 24))))
(defn interval->sec [s]
(let [units (map parse-in... | ([] (seconds 1))
([n] (* n 1000)))
(defn minutes
([] (minutes 1))
([n] (* n (seconds 60))))
(defn hours
([] (hours 1))
([n] (* n (minutes 60))))
(defn days
([] (days 1))
([n] (* n (hours 24))))
(defn interval->sec [s]
(->> (split s #":")
(map parse-int)
reverse
(map * (iterate... | <|file_sep|>original/src/qcast/util.clj
(defn seconds
([] (seconds 1))
([n] (* n 1000)))
(defn minutes
([] (minutes 1))
([n] (* n (seconds 60))))
(defn hours
([] (hours 1))
([n] (* n (minutes 60))))
(defn days
([] (days 1))
([n] (* n (hours 24))))
(defn interval->sec [s]
(let [units (map parse-in... | fa2958bdbf2799217ef87666db0fc8ce97c22abb | src/qcast/util.clj | src/qcast/util.clj | Clojure |
<|file_sep|>src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs.diff
original:
updated:
protected ISession Session;
<|file_sep|>src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs.diff
original:
updated:
DisposeTransaction();
DisposeSessionIfSessionIsNotNull... | Commit();
Transaction?.Dispose();
}
catch
{
Rollback();
throw;
}
finally
{
Transaction = null;
_factory.Release(this);
}
}
p... | <|file_sep|>src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs.diff
original:
updated:
protected ISession Session;
<|file_sep|>src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs.diff
original:
updated:
DisposeTransaction();
DisposeSessionIfSessionIsNotNull... | 581c2282b05c2068a5c73522eacbdcdd20396ca2 | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs | C# |
<|file_sep|>original/makesymlinks.sh
<|file_sep|>current/makesymlinks.sh
<|file_sep|>updated/makesymlinks.sh | #!/bin/bash
# This script creates symlinks from the home dir to any desired dotfiles in ~/dotfiles. Fork of @michaeljsmalley's version
dir=~/dotfiles
olddir=~/dotfiles_old
files="bashrc bash_aliases bash_profile tmux.conf vimrc"
echo -n "Create $olddir for backup of existing dotfiles in ~ ..."
mkdir -p $olddir
echo ... | <|file_sep|>original/makesymlinks.sh
<|file_sep|>current/makesymlinks.sh
<|file_sep|>updated/makesymlinks.sh
#!/bin/bash
# This script creates symlinks from the home dir to any desired dotfiles in ~/dotfiles. Fork of @michaeljsmalley's version
dir=~/dotfiles
olddir=~/dotfiles_old
files="bashrc bash_aliases bash_pro... | b26720432fd28cb182c057f7dde105618a018a40 | makesymlinks.sh | makesymlinks.sh | Shell |
<|file_sep|>original/leak_matcher.py
<|file_sep|>current/leak_matcher.py
<|file_sep|>updated/leak_matcher.py | #!/usr/bin/python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import sys
import re
# If you add a line like this to the ctor for a class:
# printf_stderr("ZZZ C... | <|file_sep|>original/leak_matcher.py
<|file_sep|>current/leak_matcher.py
<|file_sep|>updated/leak_matcher.py
#!/usr/bin/python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/M... | 99469256b4585b5c0056d69e153e7c628f4430c1 | leak_matcher.py | leak_matcher.py | Python |
<|file_sep|>original/setup.py
import setuptools
setuptools.setup(
name="nbresuse",
version='0.1.0',
url="https://github.com/yuvipanda/nbresuse",
author="Yuvi Panda",
description="Simple Jupyter extension to show how much resources (RAM) your notebook is using",
packages=setuptools.find_packages... | import setuptools
setuptools.setup(
name="nbresuse",
version='0.1.0',
url="https://github.com/yuvipanda/nbresuse",
author="Yuvi Panda",
description="Simple Jupyter extension to show how much resources (RAM) your notebook is using",
packages=setuptools.find_packages(),
install_requires=[
... | <|file_sep|>original/setup.py
import setuptools
setuptools.setup(
name="nbresuse",
version='0.1.0',
url="https://github.com/yuvipanda/nbresuse",
author="Yuvi Panda",
description="Simple Jupyter extension to show how much resources (RAM) your notebook is using",
packages=setuptools.find_packages... | 673da77b56cf21b540c9b7afbd483fecd6f43d7a | setup.py | setup.py | Python |
<|file_sep|>original/requirements.txt
# requirement.txt
Django
simplejson
pillow
geolocation-python
django-tinymce4-lite
weasyprint
pyperclip
python-docx
BeautifulSoup4
pandoc
pypandoc
django_select2y
<|file_sep|>current/requirements.txt
# requirement.txt
Django
simplejson
pillow
geolocation-python
django-tinymce4-lit... | # requirement.txt
Django
simplejson
pillow
geolocation-python
django-tinymce4-lite
weasyprint
pyperclip
python-docx
BeautifulSoup4
pandoc
pypandoc
django_select2 | <|file_sep|>original/requirements.txt
# requirement.txt
Django
simplejson
pillow
geolocation-python
django-tinymce4-lite
weasyprint
pyperclip
python-docx
BeautifulSoup4
pandoc
pypandoc
django_select2y
<|file_sep|>current/requirements.txt
# requirement.txt
Django
simplejson
pillow
geolocation-python
django-tinymce4-lit... | 06f96608c6b32017c1a1fc2a9a6aecbcbbafca9d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/solutions/uri/1006/1006.java
<|file_sep|>current/solutions/uri/1006/1006.java
<|file_sep|>updated/solutions/uri/1006/1006.java | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
InputStreamReader ir = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(ir);
float a, b, c;
... | <|file_sep|>original/solutions/uri/1006/1006.java
<|file_sep|>current/solutions/uri/1006/1006.java
<|file_sep|>updated/solutions/uri/1006/1006.java
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOExce... | 3ed1023d3cc5b06200ab4862f165edf0fa11275b | solutions/uri/1006/1006.java | solutions/uri/1006/1006.java | Java |
<|file_sep|>src/model/optional-range.ts.diff
original:
getTranslation: (key: string) => string): string {
updated:
getTranslation: (key: string) => string,
getLabel: (object: any) => string): string {
<|file_sep|>origi... | export function isValid(optionalRange: OptionalRange): boolean {
const keys = Object.keys(optionalRange);
if (keys.length !== 1 && keys.length !== 2) return false;
if (keys.length === 1 && keys[0] !== VALUE) return false;
if (keys.length === 2 && typeof optionalRange[VALUE] !== type... | <|file_sep|>src/model/optional-range.ts.diff
original:
getTranslation: (key: string) => string): string {
updated:
getTranslation: (key: string) => string,
getLabel: (object: any) => string): string {
<|file_sep|>origi... | 15698413e8be66b7a463008f8714e5ba5a28b86d | src/model/optional-range.ts | src/model/optional-range.ts | TypeScript |
<|file_sep|>original/manageiq-automation_engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "manageiq/automation_engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "manageiq-automation_engine"
s.version ... |
# Maintain your gem's version:
require "manageiq/automation_engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "manageiq-automation_engine"
s.version = ManageIQ::AutomationEngine::VERSION
s.authors = ["ManageIQ Developers"]
s.homepage = "... | <|file_sep|>original/manageiq-automation_engine.gemspec
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "manageiq/automation_engine/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "manageiq-automation_engine"
s.version ... | 333c9c03ef8394909aa4f25f1c1d42ad97220deb | manageiq-automation_engine.gemspec | manageiq-automation_engine.gemspec | Ruby |
<|file_sep|>original/requirements.txt
molecule==2.13.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.13.0
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.13.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.13.0
tox==3.0.0
<|file_sep|>updated/requirements.txt | molecule==2.14.0
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.13.0
tox==3.0.0 | <|file_sep|>original/requirements.txt
molecule==2.13.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.13.0
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.13.1
pytest==3.5.1
python-vagrant==0.5.15
testinfra==1.13.0
tox==3.0.0
<|file_sep|>updated/requirements.txt
molecule==2.14.0
pytest==3.5.1
python-vagr... | 7f53817146a9ef3f894658793fbe56ee459af2a3 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/validation-test/compiler_crashers/28290-swift-constraints-constraintsystem-diagnosefailureforexpr.swift
<|file_sep|>current/validation-test/compiler_crashers/28290-swift-constraints-constraintsystem-diagnosefailureforexpr.swift
<|file_sep|>updated/validation-test/compiler_crashers/28290-swift-con... | // This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list... | <|file_sep|>original/validation-test/compiler_crashers/28290-swift-constraints-constraintsystem-diagnosefailureforexpr.swift
<|file_sep|>current/validation-test/compiler_crashers/28290-swift-constraints-constraintsystem-diagnosefailureforexpr.swift
<|file_sep|>updated/validation-test/compiler_crashers/28290-swift-con... | b321f86a0179eb43f50a7a502f2b0783609121b5 | validation-test/compiler_crashers/28290-swift-constraints-constraintsystem-diagnosefailureforexpr.swift | validation-test/compiler_crashers/28290-swift-constraints-constraintsystem-diagnosefailureforexpr.swift | Swift |
<|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>current/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>updated/.travis.yml | sudo: required
before_install: gem update --system
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0 | <|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>current/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>updated/.travis.yml
sudo: required
before_install: gem update --system
dist: trusty
languag... | e7f3499a4b5588c0bd1a63113b7a3b3fed51a095 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.