prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/back/blog/models/base.py
return '<{} (id={})>'.format(self.__class__.__name__, self.id_)
def __repr__(self):
return str(self)
id_ = db.Column('id', db.Integer, primary_key=True)
def get_dictionary(self):
d = {}
for column in self.__table__.columns:
... | return '<{} (id={})>'.format(self.__class__.__name__, self.id_)
def __repr__(self):
return str(self)
id_ = db.Column('id', db.Integer, primary_key=True)
def get_dictionary(self):
d = {}
for column in self.__table__.columns:
if column.key == 'id':
... | <|file_sep|>original/back/blog/models/base.py
return '<{} (id={})>'.format(self.__class__.__name__, self.id_)
def __repr__(self):
return str(self)
id_ = db.Column('id', db.Integer, primary_key=True)
def get_dictionary(self):
d = {}
for column in self.__table__.columns:
... | 751f40ef23250cf9fad1374359393588edee477a | back/blog/models/base.py | back/blog/models/base.py | Python |
<|file_sep|>original/.github/workflows/valgrind.yml
name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: ... | name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: steinwurf/valgrind-action/.github/workflows/action.y... | <|file_sep|>original/.github/workflows/valgrind.yml
name: Valgrind
on:
workflow_dispatch:
inputs:
extra_resolve_options:
description: "Extra Resolve Options"
required: false
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
valgrind:
name: Valgrind
uses: ... | b43ab31ecb435c85edc1ba128e19e02ff3b88f71 | .github/workflows/valgrind.yml | .github/workflows/valgrind.yml | YAML |
<|file_sep|>librariesio/cmd/librariesio/main.go.diff
original:
project, err := c.GetProject("pypi", "cookiecutter")
updated:
project, _, err := c.GetProject("pypi", "cookiecutter")
<|file_sep|>original/librariesio/cmd/librariesio/main.go
return env, nil
}
func main() {
env, err := loadFromEnv("LIBRARIESIO_API_KEY"... | return env, nil
}
func main() {
env, err := loadFromEnv("LIBRARIESIO_API_KEY")
if err != nil {
fmt.Fprintf(os.Stderr, "error: %v\n", err)
os.Exit(1)
}
fmt.Fprintf(os.Stdout, "%v\n", env)
c := librariesio.NewClient(strings.TrimSpace(env["LIBRARIESIO_API_KEY"]))
project, _, err := c.GetProject("pypi", "cook... | <|file_sep|>librariesio/cmd/librariesio/main.go.diff
original:
project, err := c.GetProject("pypi", "cookiecutter")
updated:
project, _, err := c.GetProject("pypi", "cookiecutter")
<|file_sep|>original/librariesio/cmd/librariesio/main.go
return env, nil
}
func main() {
env, err := loadFromEnv("LIBRARIESIO_API_KEY"... | 7ab214657f7f0c4fdb2e9d513151dde09a90c463 | librariesio/cmd/librariesio/main.go | librariesio/cmd/librariesio/main.go | Go |
<|file_sep|>pkgs/tools/system/stress-ng/default.nix.diff
original:
version = "0.03.10";
updated:
version = "0.03.11";
<|file_sep|>original/pkgs/tools/system/stress-ng/default.nix
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.03.10";
name = "stress-ng-${version}";
src = fetchurl {
url = "h... | { stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.03.11";
name = "stress-ng-${version}";
src = fetchurl {
url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.gz";
sha256 = "01pshnqb75c0g4pwcz5i1gh2a6ijy3dlz8drb0i0p6n6l3fpgmar";
};
patchPhase = ''
substituteInPlace M... | <|file_sep|>pkgs/tools/system/stress-ng/default.nix.diff
original:
version = "0.03.10";
updated:
version = "0.03.11";
<|file_sep|>original/pkgs/tools/system/stress-ng/default.nix
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.03.10";
name = "stress-ng-${version}";
src = fetchurl {
url = "h... | f59ba9a4a6b89851fe7039302f48c24ee1224824 | pkgs/tools/system/stress-ng/default.nix | pkgs/tools/system/stress-ng/default.nix | Nix |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.8"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.8"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.8"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.8"
- "0.10" | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.8"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.8"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.8"
<|file_sep|>updated/.travis.yml
languag... | e8c4439069b834dac42b782afed54dd98c881f2c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/UI/resources/constants.py
# -*- coding: utf-8 -*-
SAVE_PASSWORD_HASHED = True
MAX_RETRIES_DOWNLOAD_FROM_SAME_FARMER = 3
MAX_RETRIES_UPLOAD_TO_SAME_FARMER = 3
MAX_RETRIES_NEGOTIATE_CONTRACT = 10
MAX_RETRIES_GET_FILE_POINTERS = 10
FILE_POINTERS_REQUEST_DELAY = 1
# int: file pointers request delay, ... | # -*- coding: utf-8 -*-
SAVE_PASSWORD_HASHED = True
MAX_RETRIES_DOWNLOAD_FROM_SAME_FARMER = 3
MAX_RETRIES_UPLOAD_TO_SAME_FARMER = 3
MAX_RETRIES_NEGOTIATE_CONTRACT = 10
MAX_RETRIES_GET_FILE_POINTERS = 10
FILE_POINTERS_REQUEST_DELAY = 1
# int: file pointers request delay, in seconds.
MAX_DOWNLOAD_REQUEST_BLOCK_SIZE = ... | <|file_sep|>original/UI/resources/constants.py
# -*- coding: utf-8 -*-
SAVE_PASSWORD_HASHED = True
MAX_RETRIES_DOWNLOAD_FROM_SAME_FARMER = 3
MAX_RETRIES_UPLOAD_TO_SAME_FARMER = 3
MAX_RETRIES_NEGOTIATE_CONTRACT = 10
MAX_RETRIES_GET_FILE_POINTERS = 10
FILE_POINTERS_REQUEST_DELAY = 1
# int: file pointers request delay, ... | 6f50381e2e14ab7c1c90e52479ffcfc7748329b3 | UI/resources/constants.py | UI/resources/constants.py | Python |
<|file_sep|>original/src/shared/_base.scss
// -----------------------------------------------------------------------------
// Base styles.
// -----------------------------------------------------------------------------
:root {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
a {
... | // -----------------------------------------------------------------------------
// Base styles.
// -----------------------------------------------------------------------------
:root {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
a {
color: currentColor;
display: inline-b... | <|file_sep|>original/src/shared/_base.scss
// -----------------------------------------------------------------------------
// Base styles.
// -----------------------------------------------------------------------------
:root {
box-sizing: border-box;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
a {
... | 9228ddc07f711af15609a2594d5534566ed835f9 | src/shared/_base.scss | src/shared/_base.scss | SCSS |
<|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json | {
"name": "viewpoint-client",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/lucasrcdias/viewpoint-client.git"
},
"author": "Beatriz Silva, Lucas Ramos, Marcelo Victor, Pedro Henrique, Vinicius Lopes, Vinicius Arantes",
"license": "ISC",
"bugs": {
"url": "htt... | <|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json
{
"name": "viewpoint-client",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/lucasrcdias/viewpoint-client.git"
},
"author": "Beatriz Silva, Lucas Ramos, Marcelo Vict... | dc99f815bf43b661b2c3c3eca738ffcfd6f1a6b1 | package.json | package.json | JSON |
<|file_sep|>original/recipes/client.rb
# Copyright 2013 Simple Finance Technology Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | # Copyright 2013 Simple Finance Technology Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | <|file_sep|>original/recipes/client.rb
# Copyright 2013 Simple Finance Technology Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | 239c8bebf06416ae9a6918b242ac2f4bae17b475 | recipes/client.rb | recipes/client.rb | Ruby |
<|file_sep|>original/app/views/users/new.html.haml
.landing-container
:javascript
if (Portal.currentUser.isAnonymous) {
PortalPages.renderSignupModal({});
} else {
window.location.href = "/";
}
<|file_sep|>current/app/views/users/new.html.haml
.landing-container
:javascript
if (Portal.currentUser.isAn... | .landing-container
:javascript
if (Portal.currentUser.isAnonymous) {
PortalPages.renderSignupModal({ oauthProviders: Portal.oauthProviders });
} else {
window.location.href = "/";
} | <|file_sep|>original/app/views/users/new.html.haml
.landing-container
:javascript
if (Portal.currentUser.isAnonymous) {
PortalPages.renderSignupModal({});
} else {
window.location.href = "/";
}
<|file_sep|>current/app/views/users/new.html.haml
.landing-container
:javascript
if (Portal.currentUser.isAn... | 6dd49259666125b82d3409e05c61f9df8b55dcd8 | app/views/users/new.html.haml | app/views/users/new.html.haml | Haml |
<|file_sep|>fcm/app/src/main/AndroidManifest.xml.diff
original:
android:name=".MyFirebaseMessagingService"
android:exported="false" >
updated:
android:name=".MyFirebaseMessagingService" >
<|file_sep|>original/fcm/app/src/main/AndroidManifest.xml
<!-- [START firebase_service]... | </activity>
<!-- [START firebase_service] -->
<service
android:name=".MyFirebaseMessagingService" >
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<!-- [END firebase_se... | <|file_sep|>fcm/app/src/main/AndroidManifest.xml.diff
original:
android:name=".MyFirebaseMessagingService"
android:exported="false" >
updated:
android:name=".MyFirebaseMessagingService" >
<|file_sep|>original/fcm/app/src/main/AndroidManifest.xml
<!-- [START firebase_service]... | 9d469671c791306b6f2e1beddd5e863fb9174a69 | fcm/app/src/main/AndroidManifest.xml | fcm/app/src/main/AndroidManifest.xml | XML |
<|file_sep|>utils/packaging/cleanup_redhat.yml.diff
original:
command: dnf clean all
updated:
command: "{{ ansible_pkg_mgr }} clean all"
<|file_sep|>original/utils/packaging/cleanup_redhat.yml
---
- name: Clean up yum cache
command: dnf clean all
- name: Really clean yum cache
shell: for i in `ls ... | ---
- name: Clean up yum cache
command: "{{ ansible_pkg_mgr }} clean all"
- name: Really clean yum cache
shell: for i in `ls /var/lib/{{ ansible_pkg_mgr }}/`; do rm -rfv /var/lib/{{ ansible_pkg_mgr }}/${i}/*; done
- name: Determine kernel version in chroot
shell: ls /lib/modules/
register: kern... | <|file_sep|>utils/packaging/cleanup_redhat.yml.diff
original:
command: dnf clean all
updated:
command: "{{ ansible_pkg_mgr }} clean all"
<|file_sep|>original/utils/packaging/cleanup_redhat.yml
---
- name: Clean up yum cache
command: dnf clean all
- name: Really clean yum cache
shell: for i in `ls ... | e9ef5d4c6ecacbefc11a67d74e8f174e7253dac1 | utils/packaging/cleanup_redhat.yml | utils/packaging/cleanup_redhat.yml | YAML |
<|file_sep|>original/cairis/test/CairisDaemonTestCase.py
#
# Unless required by applicable law or agreed to in writing,
# software 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 langu... |
from time import sleep
import unittest
import os
import cairis.bin.cairisd
__author__ = 'Robin Quetin'
class CairisDaemonTestCase(unittest.TestCase):
srcRoot = os.environ['CAIRIS_SRC']
createDbSql = srcRoot + '/test/createdb.sql'
sqlDir = srcRoot + '/sql'
initSql = sqlDir + '/init.sql'
procsSql = sqlDir +... | <|file_sep|>original/cairis/test/CairisDaemonTestCase.py
#
# Unless required by applicable law or agreed to in writing,
# software 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 langu... | dc251707fdcd9fe021b6f8627ffbb139d42423b3 | cairis/test/CairisDaemonTestCase.py | cairis/test/CairisDaemonTestCase.py | Python |
<|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>NeighborhoodDashboard</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tag... | <!DOCTYPE html>
<html>
<head>
<title>NeighborhoodDashboard</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, in... | <|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>NeighborhoodDashboard</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tag... | 5e5189bc459a956b9c9680d7ce69bc7e6909e871 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/package.json
{
"name": "css",
"version": "1.6.1",
"description": "CSS parser / stringifier",
"main": "index",
"files": [
"index.js",
"lib"
],
"dependencies": {
"css-parse": "1.7.0",
"css-stringify": "1.4.1",
"source-map": "~0.1.31",
"source-map-resolve": "^0.1.... | {
"name": "css",
"version": "1.6.1",
"description": "CSS parser / stringifier",
"main": "index",
"files": [
"index.js",
"lib"
],
"dependencies": {
"source-map": "~0.1.31",
"source-map-resolve": "^0.1.3"
},
"devDependencies": {
"mocha": "*",
"should": "*",
"matcha": "~0.4.0"... | <|file_sep|>original/package.json
{
"name": "css",
"version": "1.6.1",
"description": "CSS parser / stringifier",
"main": "index",
"files": [
"index.js",
"lib"
],
"dependencies": {
"css-parse": "1.7.0",
"css-stringify": "1.4.1",
"source-map": "~0.1.31",
"source-map-resolve": "^0.1.... | 727dc2c7b5adf5db954f558f9c3797b0abc01f65 | package.json | package.json | JSON |
<|file_sep|>original/app/views/question_edit.erb
<|file_sep|>current/app/views/question_edit.erb
<|file_sep|>updated/app/views/question_edit.erb | <form method="POST" action="/questions/<%= @question.id %>">
<h3>Edit your question:</h3>
<input type="hidden" name="_method" value="put">
<input name="question[title]" value="<%= @question.title %>">
<p><textarea name="question[body]" value="<%= @question.body %>"></textarea></p>
<input type="submit">
</form... | <|file_sep|>original/app/views/question_edit.erb
<|file_sep|>current/app/views/question_edit.erb
<|file_sep|>updated/app/views/question_edit.erb
<form method="POST" action="/questions/<%= @question.id %>">
<h3>Edit your question:</h3>
<input type="hidden" name="_method" value="put">
<input name="question[title]... | 65c436ad3989cf42684188d8060f74893a9c8dae | app/views/question_edit.erb | app/views/question_edit.erb | HTML+ERB |
<|file_sep|>original/app/templates/_service_documents.html
{% from "govuk/components/details/macro.njk" import govukDetails %}
<ul class="govuk-list">
{% for document in service.meta.documents %}
<li class="gouk-!-margin-bottom-2">
{{dmAttachment({
"link": {
"classes": "govuk-!-font-size-16",
... | "href": document.url,
"text": document.name
},
"contentType": document.extension | upper,
"headingTag": 'p',
"thumbnailSize": "small"
})}}
</li>
{% endfor %}
</ul>
{% set alternativeFormatHtml %}
If you use assistive technology (such as a screen reader) and need versions... | <|file_sep|>original/app/templates/_service_documents.html
{% from "govuk/components/details/macro.njk" import govukDetails %}
<ul class="govuk-list">
{% for document in service.meta.documents %}
<li class="gouk-!-margin-bottom-2">
{{dmAttachment({
"link": {
"classes": "govuk-!-font-size-16",
... | f2c9a2838885cd3c0f6edc5d63206948ef76ee07 | app/templates/_service_documents.html | app/templates/_service_documents.html | HTML |
<|file_sep|>bin/prep_for_pull_request.sh.diff
original:
RUN_REGRESSION_TESTS=$1 ruby test/regression/smart_answers_regression_test.rb
updated:
RUN_REGRESSION_TESTS=$1 bundle exec ruby test/regression/smart_answers_regression_test.rb
<|file_sep|>original/bin/prep_for_pull_request.sh
echo "Please run with a clean git w... | echo "Please run with a clean git working directory"
exit
fi
bundle install
bundle exec rails runner script/generate-responses-and-expected-results-for-smart-answer.rb $1
if [[ -n "$(git status --porcelain)" ]]; then
git add test/data/$1-responses-and-expected-results.yml
git commit -m "Update expected resul... | <|file_sep|>bin/prep_for_pull_request.sh.diff
original:
RUN_REGRESSION_TESTS=$1 ruby test/regression/smart_answers_regression_test.rb
updated:
RUN_REGRESSION_TESTS=$1 bundle exec ruby test/regression/smart_answers_regression_test.rb
<|file_sep|>original/bin/prep_for_pull_request.sh
echo "Please run with a clean git w... | 06a3d382a8fb60680705002f1439702d52c64f0d | bin/prep_for_pull_request.sh | bin/prep_for_pull_request.sh | Shell |
<|file_sep|>original/CONTRIBUTING.md
# Contributing to Presto
## Contributor License Agreement ("CLA")
In order to accept your pull request, we need you to submit a CLA. You only need to do this once, so if you've done this for another Facebook open source project, you're good to go. If you are submitting a pull requ... | # Contributing to Presto
## Contributor License Agreement ("CLA")
In order to accept your pull request, we need you to submit a CLA. You only need to do this once, so if you've done this for one repository in the [prestodb](https://github.com/prestodb) organization, you're good to go. If you are submitting a pull req... | <|file_sep|>original/CONTRIBUTING.md
# Contributing to Presto
## Contributor License Agreement ("CLA")
In order to accept your pull request, we need you to submit a CLA. You only need to do this once, so if you've done this for another Facebook open source project, you're good to go. If you are submitting a pull requ... | bba36ec71f455b557579a17448d7330ad4597a79 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/_posts/2017-12-3-file-on-blockchain.md
<|file_sep|>current/_posts/2017-12-3-file-on-blockchain.md
<|file_sep|>updated/_posts/2017-12-3-file-on-blockchain.md | ---
layout: post
title: File on blockchain 개발기
tags: [blockchain, smart contract, python, flask]
---
## 이번 글은
파일의 해시값을 블록체인에 올리고, 파일이 원본임을 확인하고, 파일의 정보를 조회할 수 있는 기능을 개념 증명(Proof of concept) 수준에서 구현한 [File on blockchain](https://github.com/JungWinter/file-on-blockchain)라는 서비스를 개발했다. 이번 글을 통해 **solidity 코드를 작성하면서 해결한 문제... | <|file_sep|>original/_posts/2017-12-3-file-on-blockchain.md
<|file_sep|>current/_posts/2017-12-3-file-on-blockchain.md
<|file_sep|>updated/_posts/2017-12-3-file-on-blockchain.md
---
layout: post
title: File on blockchain 개발기
tags: [blockchain, smart contract, python, flask]
---
## 이번 글은
파일의 해시값을 블록체인에 올리고, 파일이 원본임을 ... | c7d4503d8c2f8410205d611aaa95fa4577521c9a | _posts/2017-12-3-file-on-blockchain.md | _posts/2017-12-3-file-on-blockchain.md | Markdown |
<|file_sep|>original/resources/configuration.edn
{:nomad/environments {"dev" {:nomad/private-file #nomad/file "resources/configuration-local.edn"
:heads-dir "resources/self/heads"
:ip "0.0.0.0"
:port 8080}
"prod... | {:nomad/environments {"dev" {:nomad/private-file #nomad/file "resources/configuration-local.edn"
:heads-dir "resources/self/heads"
:ip "0.0.0.0"
:port 8080}
"production" {:heads-dir "resources/self/heads"
... | <|file_sep|>original/resources/configuration.edn
{:nomad/environments {"dev" {:nomad/private-file #nomad/file "resources/configuration-local.edn"
:heads-dir "resources/self/heads"
:ip "0.0.0.0"
:port 8080}
"prod... | 2093a3cf6f283c24fccb97b80edbdd27886e4f25 | resources/configuration.edn | resources/configuration.edn | edn |
<|file_sep|>original/config.ru
require 'rubygems'
require 'bundler'
Bundler.require :default, :development
Combustion.initialize!
run Combustion::Application
<|file_sep|>current/config.ru
require 'rubygems'
require 'bundler'
Bundler.require :default, :development
Combustion.initialize!
run Combustion::Application
<... | require 'rubygems'
require 'bundler'
Bundler.require :default, :development
Combustion.initialize! :all
run Combustion::Application | <|file_sep|>original/config.ru
require 'rubygems'
require 'bundler'
Bundler.require :default, :development
Combustion.initialize!
run Combustion::Application
<|file_sep|>current/config.ru
require 'rubygems'
require 'bundler'
Bundler.require :default, :development
Combustion.initialize!
run Combustion::Application
<... | 3ea103407f0af4dc864b46d544ba641eec841152 | config.ru | config.ru | Ruby |
<|file_sep|>original/metadata/com.vecturagames.android.app.passwordgenerator.yml
Repo: https://gitlab.com/vecturagames/passwordgenerator.git
Builds:
- versionName: 1.4.2
versionCode: 33
commit: v1.4.2
subdir: passwordgenerator
gradle:
- yes
- versionName: 1.5.0
versionCode: 34
commit... | Repo: https://gitlab.com/vecturagames/passwordgenerator.git
Builds:
- versionName: 1.4.2
versionCode: 33
commit: v1.4.2
subdir: passwordgenerator
gradle:
- yes
- versionName: 1.5.0
versionCode: 34
commit: v1.5.0
subdir: passwordgenerator
gradle:
- yes
AutoUpdateMode: N... | <|file_sep|>original/metadata/com.vecturagames.android.app.passwordgenerator.yml
Repo: https://gitlab.com/vecturagames/passwordgenerator.git
Builds:
- versionName: 1.4.2
versionCode: 33
commit: v1.4.2
subdir: passwordgenerator
gradle:
- yes
- versionName: 1.5.0
versionCode: 34
commit... | 56e41fe41378cb503e0f74674ce9b352e38e8f80 | metadata/com.vecturagames.android.app.passwordgenerator.yml | metadata/com.vecturagames.android.app.passwordgenerator.yml | YAML |
<|file_sep|>original/package.json
{
"name": "abstract-winston-transport",
"version": "0.1.0",
"description": "An abstract test suite for winston inspired by abstract-blob-store",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git"... | {
"name": "abstract-winston-transport",
"version": "0.1.0",
"description": "An abstract test suite for winston inspired by abstract-blob-store",
"main": "index.js",
"repository": {
"type": "git",
"url": "git@github.com:winstonjs/abstract-winston-transport.git"
},
"keywords": [
"winston",
"... | <|file_sep|>original/package.json
{
"name": "abstract-winston-transport",
"version": "0.1.0",
"description": "An abstract test suite for winston inspired by abstract-blob-store",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git"... | 4db2250e2a9e19c8a1cb35ed0cbbc9c3906a69ca | package.json | package.json | JSON |
<|file_sep|>original/src/services/inference/dep_service.mli
*
*)
open Utils_js
val dependent_files:
Worker.t list option -> (* workers *)
unchanged:FilenameSet.t ->
new_or_changed:FilenameSet.t ->
changed_modules:Modulename.Set.t ->
FilenameSet.t * FilenameSet.t
val file_dependencies: (filename -> Filena... | *
*)
open Utils_js
val dependent_files:
Worker.t list option -> (* workers *)
unchanged:FilenameSet.t ->
new_or_changed:FilenameSet.t ->
changed_modules:Modulename.Set.t ->
(* (transitive_dependents, direct_dependents) of changed_modules *)
FilenameSet.t * FilenameSet.t
val file_dependencies: (filename... | <|file_sep|>original/src/services/inference/dep_service.mli
*
*)
open Utils_js
val dependent_files:
Worker.t list option -> (* workers *)
unchanged:FilenameSet.t ->
new_or_changed:FilenameSet.t ->
changed_modules:Modulename.Set.t ->
FilenameSet.t * FilenameSet.t
val file_dependencies: (filename -> Filena... | 4c232029071e28a840d00af9d6546802da64530b | src/services/inference/dep_service.mli | src/services/inference/dep_service.mli | OCaml |
<|file_sep|>original/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.4
pytest-cov==2.12.1
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2.3.0
<|file_sep|>current/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.4
pytest-cov==2.12.1
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist=... | codacy-coverage==1.3.11
pytest==6.2.5
pytest-cov==2.12.1
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2.3.0 | <|file_sep|>original/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.4
pytest-cov==2.12.1
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist==2.3.0
<|file_sep|>current/test_requirements.txt
codacy-coverage==1.3.11
pytest==6.2.4
pytest-cov==2.12.1
python-coveralls==2.9.3
pytest-flask==1.2.0
pytest-xdist=... | 6ce1d8f71a0b045a8b82c6ca9a6d4e209ecf5c88 | test_requirements.txt | test_requirements.txt | Text |
<|file_sep|>original/client/bitcoin/watchWallet.js
import {getBalance} from 'bitcoin/blockexplorerRpc'
import {setBalance} from 'redux/actions'
//
// Update wallet balance once every 10 minutes
console.log('walletUpdateInterval', process.env.BALANCE)
// TODO: does not read from process.env
const walletUpdateInterval = ... | // Update wallet balance once every 10 minutes
console.log('walletUpdateInterval', process.env.BALANCE)
// TODO: does not read from process.env
const walletUpdateInterval = process.env.BALANCE || 600000
const watchWallet = dispatch => ({receivingAddress}) => {
getBalance(receivingAddress)
.then(({balance}) => {
... | <|file_sep|>original/client/bitcoin/watchWallet.js
import {getBalance} from 'bitcoin/blockexplorerRpc'
import {setBalance} from 'redux/actions'
//
// Update wallet balance once every 10 minutes
console.log('walletUpdateInterval', process.env.BALANCE)
// TODO: does not read from process.env
const walletUpdateInterval = ... | e03d664f3cc828dc26b18e7c64a13ec65bf4b505 | client/bitcoin/watchWallet.js | client/bitcoin/watchWallet.js | JavaScript |
<|file_sep|>original/etc/sample/hosts/utf8_host.cfg
<|file_sep|>current/etc/sample/hosts/utf8_host.cfg
<|file_sep|>updated/etc/sample/hosts/utf8_host.cfg | define host{
use linux
contact_groups admins
host_name srv-utf8-¨¤
alias srv-utf8-¨¤
address localhost
check_interval 1
check_command check_utf8
business_impact 3
} | <|file_sep|>original/etc/sample/hosts/utf8_host.cfg
<|file_sep|>current/etc/sample/hosts/utf8_host.cfg
<|file_sep|>updated/etc/sample/hosts/utf8_host.cfg
define host{
use linux
contact_groups admins
host_name srv-utf8-¨¤
alias srv-utf8-¨¤
... | 00c58dd80588571609a400384f4b2668cd55bd49 | etc/sample/hosts/utf8_host.cfg | etc/sample/hosts/utf8_host.cfg | INI |
<|file_sep|>original/training_content/wiki_ed/modules/finding-articles.yml
name: Finding Articles
id: 16
description: |
If you'd like to find articles for your students to work on, this orientation
offers some key information. It's a quick guide to help you find articles
relevant to your course.
estimated_ttc: 10... | name: Finding Articles (for instructors)
id: 16
description: |
If you'd like to find articles for your students to work on, this orientation
offers some key information. It's a quick guide to help you find articles
relevant to your course.
estimated_ttc: 10 minutes
slides:
- slug: content-gaps # 1601
- slug: ... | <|file_sep|>original/training_content/wiki_ed/modules/finding-articles.yml
name: Finding Articles
id: 16
description: |
If you'd like to find articles for your students to work on, this orientation
offers some key information. It's a quick guide to help you find articles
relevant to your course.
estimated_ttc: 10... | a4cf0b72991961f8c30c0b18582b9ee30c7f8fae | training_content/wiki_ed/modules/finding-articles.yml | training_content/wiki_ed/modules/finding-articles.yml | YAML |
<|file_sep|>original/samples/MultiplePathsToTypeVariable.java
<|file_sep|>current/samples/MultiplePathsToTypeVariable.java
<|file_sep|>updated/samples/MultiplePathsToTypeVariable.java | /*
* Copyright 2020 The jspecify Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | <|file_sep|>original/samples/MultiplePathsToTypeVariable.java
<|file_sep|>current/samples/MultiplePathsToTypeVariable.java
<|file_sep|>updated/samples/MultiplePathsToTypeVariable.java
/*
* Copyright 2020 The jspecify Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... | 2fdacc66281bef4c13fb396c25e678f1769c7764 | samples/MultiplePathsToTypeVariable.java | samples/MultiplePathsToTypeVariable.java | Java |
<|file_sep|>original/_config.yml
include: docs/build/html/_sources, docs/build/html/_static, docs/build/html/_themes
<|file_sep|>current/_config.yml
include: docs/build/html/_sources, docs/build/html/_static, docs/build/html/_themes
<|file_sep|>updated/_config.yml | include: ['docs/build/html/_sources', 'docs/build/html/_static', 'docs/build/html/_themes'] | <|file_sep|>original/_config.yml
include: docs/build/html/_sources, docs/build/html/_static, docs/build/html/_themes
<|file_sep|>current/_config.yml
include: docs/build/html/_sources, docs/build/html/_static, docs/build/html/_themes
<|file_sep|>updated/_config.yml
include: ['docs/build/html/_sources', 'docs/build/html/... | a83d512ecd028fa26e030dc2f6ce9ffabfc368e3 | _config.yml | _config.yml | YAML |
<|file_sep|>original/AZTabBar.podspec
Pod::Spec.new do |s|
s.name = "AZTabBar"
s.version = "1.4.2"
s.summary = "A custom tab bar controller for iOS written in Swift 3.0"
s.homepage = "https://github.com/Minitour/AZTabBarController"
s.license = "MIT"
s.author = { "Antonio Zai... | Pod::Spec.new do |s|
s.name = "AZTabBar"
s.version = "1.4.2"
s.summary = "A custom tab bar controller for iOS written in Swift 3.0"
s.homepage = "https://github.com/Minitour/AZTabBarController"
s.license = "MIT"
s.author = { "Antonio Zaitoun" => "tony.z.1711@gmail.com" }
s... | <|file_sep|>original/AZTabBar.podspec
Pod::Spec.new do |s|
s.name = "AZTabBar"
s.version = "1.4.2"
s.summary = "A custom tab bar controller for iOS written in Swift 3.0"
s.homepage = "https://github.com/Minitour/AZTabBarController"
s.license = "MIT"
s.author = { "Antonio Zai... | 88af4fc6a5249fd4170e6714247d6b6058e8d2bb | AZTabBar.podspec | AZTabBar.podspec | Ruby |
<|file_sep|>original/ansible/roles/horizon/tasks/start.yml
---
- name: Starting horizon container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ horizon_image_full }}"
name: "horizon"
environment:
ENABLE_IRONIC: "{{ 'yes' if enable_ironic | b... | ---
- name: Starting horizon container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ horizon_image_full }}"
name: "horizon"
environment:
ENABLE_CLOUDKITTY: "{{ 'yes' if enable_cloudkitty | bool else 'no' }}"
ENABLE_IRONIC: "{{ 'yes' if... | <|file_sep|>original/ansible/roles/horizon/tasks/start.yml
---
- name: Starting horizon container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ horizon_image_full }}"
name: "horizon"
environment:
ENABLE_IRONIC: "{{ 'yes' if enable_ironic | b... | 8cada351b0cdd1b014ae3e0e4b786463099d076c | ansible/roles/horizon/tasks/start.yml | ansible/roles/horizon/tasks/start.yml | YAML |
<|file_sep|>original/shell/git-hooks/catch-profanity.sh
<|file_sep|>current/shell/git-hooks/catch-profanity.sh
<|file_sep|>updated/shell/git-hooks/catch-profanity.sh | #!/bin/sh
set +o posix
#
# Exit with a non-zero error code if a profanity's found in a file.
#
# I'd never commit strong language to a project, so this helps identify test or
# debugging code written while rushed or frustrated (that was supposed to have
# been removed prior to publishing).
#
# Stuff like "test" or "te... | <|file_sep|>original/shell/git-hooks/catch-profanity.sh
<|file_sep|>current/shell/git-hooks/catch-profanity.sh
<|file_sep|>updated/shell/git-hooks/catch-profanity.sh
#!/bin/sh
set +o posix
#
# Exit with a non-zero error code if a profanity's found in a file.
#
# I'd never commit strong language to a project, so this... | fecf2a1742018babe3a247848e282bd1c6b53fd0 | shell/git-hooks/catch-profanity.sh | shell/git-hooks/catch-profanity.sh | Shell |
<|file_sep|>original/plugins/bundler/init.zsh
#
# Defines bundler aliases.
#
# Authors:
# Myron Marston <myron.marston@gmail.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Aliases
alias b='bundle'
alias be='b exec'
alias bi='b install --path vendor'
alias bl='b list'
alias bo='b open'
alias bp='b package'
alia... | #
# Defines bundler aliases.
#
# Authors:
# Myron Marston <myron.marston@gmail.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Aliases
alias b='bundle'
alias be='b exec'
alias bi='b install --path vendor/bundle'
alias bl='b list'
alias bo='b open'
alias bp='b package'
alias bu='b update'
alias binit="bi && b pa... | <|file_sep|>original/plugins/bundler/init.zsh
#
# Defines bundler aliases.
#
# Authors:
# Myron Marston <myron.marston@gmail.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Aliases
alias b='bundle'
alias be='b exec'
alias bi='b install --path vendor'
alias bl='b list'
alias bo='b open'
alias bp='b package'
alia... | 92e8d67e5d89717c476e72b199119835b86f59b2 | plugins/bundler/init.zsh | plugins/bundler/init.zsh | Shell |
<|file_sep|>original/src/index.ts
import * as _ from 'lodash';
import { selectors } from './if.const';
import * as controllers from './controllers';
/**
* A system of simple UI actions implemented with an HTML API.
*
* @since 0.1.0
*/
export default class Innerface {
/**
* Initialize the library.
*/
pu... |
import * as _ from 'lodash';
import { selectors } from './if.const';
import * as controllers from './controllers';
/**
* A system of simple UI actions implemented with an HTML API.
*
* @since 0.1.0
*/
export default class Innerface {
/**
* Initialize the library.
*/
public static init() {
_.forEach... | <|file_sep|>original/src/index.ts
import * as _ from 'lodash';
import { selectors } from './if.const';
import * as controllers from './controllers';
/**
* A system of simple UI actions implemented with an HTML API.
*
* @since 0.1.0
*/
export default class Innerface {
/**
* Initialize the library.
*/
pu... | 020fca21c11d8424905b5b21f440d45a8d5dc08d | src/index.ts | src/index.ts | TypeScript |
<|file_sep|>original/docker-start-dev-gulp.sh
#!/bin/bash
echo ',-------------------------------------------------.'
echo '| Run: gulp watch |'
echo '`-------------------------------------------------'"'"
docker run \
--rm \
-it \
--name debiki-dev-gulp \
-v="`pwd`/../:/opt/deb... | #!/bin/bash
echo ',---------------------------------------------------------.'
echo '| Run: gulp watch |'
echo '| But first, if not already done, run: |'
echo '| npm install |'
echo '| GIT_WORK_TREE=/opt/debiki bow... | <|file_sep|>original/docker-start-dev-gulp.sh
#!/bin/bash
echo ',-------------------------------------------------.'
echo '| Run: gulp watch |'
echo '`-------------------------------------------------'"'"
docker run \
--rm \
-it \
--name debiki-dev-gulp \
-v="`pwd`/../:/opt/deb... | 78ab9ae8a05834caa4ad3f19c67f03e2ba2f87c2 | docker-start-dev-gulp.sh | docker-start-dev-gulp.sh | Shell |
<|file_sep|>original/db/fixtures/development/13_comments.rb
<|file_sep|>current/db/fixtures/development/13_comments.rb
<|file_sep|>updated/db/fixtures/development/13_comments.rb | ActiveRecord::Base.observers.disable :all
Issue.all.limit(10).each_with_index do |issue, i|
5.times do
Note.seed(:id, [{
project_id: issue.project.id,
author_id: issue.project.team.users.sample.id,
note: Faker::Lorem.sentence,
noteable_id: issue.id,
noteable_type: 'Issue'
}])
... | <|file_sep|>original/db/fixtures/development/13_comments.rb
<|file_sep|>current/db/fixtures/development/13_comments.rb
<|file_sep|>updated/db/fixtures/development/13_comments.rb
ActiveRecord::Base.observers.disable :all
Issue.all.limit(10).each_with_index do |issue, i|
5.times do
Note.seed(:id, [{
projec... | edd3302f95ea794db665748c85292109a0f732e5 | db/fixtures/development/13_comments.rb | db/fixtures/development/13_comments.rb | Ruby |
<|file_sep|>original/src/ProviderIterator.php
public function __construct(SearchHitIterator $hitIterator)
{
$this->hitIterator = $hitIterator;
}
public function current()
{
$hit = $this->hitIterator->current();
$source = $hit['_source'];
$operation = new Operation($... | public function __construct(SearchHitIterator $hitIterator)
{
$this->hitIterator = $hitIterator;
}
public function current()
{
$hit = $this->hitIterator->current();
$source = $hit['_source'];
$operation = new Operation($hit['_type'], $source['batchId'], $source['opt... | <|file_sep|>original/src/ProviderIterator.php
public function __construct(SearchHitIterator $hitIterator)
{
$this->hitIterator = $hitIterator;
}
public function current()
{
$hit = $this->hitIterator->current();
$source = $hit['_source'];
$operation = new Operation($... | 82d57dc49b6017d1c3a8a1232ec09af6a89817c3 | src/ProviderIterator.php | src/ProviderIterator.php | PHP |
<|file_sep|>original/config/settings.yml
# Optional values with the following production defaults.
# In development, they default to the inverse.
#
# development: false
# detailed-logging: false
# should-log-all: false
# reload-templates: false
# mutable-static: false
# skip-combining: false
database:
database: "_en... | # Optional values with the following production defaults.
# In development, they default to the inverse.
#
# development: false
# detailed-logging: false
# should-log-all: false
# reload-templates: false
# mutable-static: false
# skip-combining: false
database:
database: "_env:SQLITE_DATABASE:lambdar.sqlite3"
pool... | <|file_sep|>original/config/settings.yml
# Optional values with the following production defaults.
# In development, they default to the inverse.
#
# development: false
# detailed-logging: false
# should-log-all: false
# reload-templates: false
# mutable-static: false
# skip-combining: false
database:
database: "_en... | 649b829357822142151c4067850cf3b6be46f586 | config/settings.yml | config/settings.yml | YAML |
<|file_sep|>packages/wi/witherable.yaml.diff
original:
hash: 4466b830d62a9e35c279f1d84d373dd07981e2cc9689bc27ff0e01d97bad9ac6
updated:
hash: e678ea8e7b097ef219b908eb35c6e96b2082fb8a270313478adccf0bc5a952ea
<|file_sep|>packages/wi/witherable.yaml.diff
original:
synopsis: Generalization of filter and catMaybes
updated:
s... | transformers: -any
vector: -any
all-versions:
- '0.0'
- '0.1'
- '0.1.1'
- '0.1.1.1'
- '0.1.2'
- '0.1.2.1'
- '0.1.2.2'
- '0.1.2.3'
- '0.1.3'
- '0.1.3.2'
- '0.1.3.3'
- '0.1.3.4'
author: Fumiaki Kinoshita
latest: '0.1.3.4'
description-type: haddock
description: A stronger variant of `traverse` which can remove element... | <|file_sep|>packages/wi/witherable.yaml.diff
original:
hash: 4466b830d62a9e35c279f1d84d373dd07981e2cc9689bc27ff0e01d97bad9ac6
updated:
hash: e678ea8e7b097ef219b908eb35c6e96b2082fb8a270313478adccf0bc5a952ea
<|file_sep|>packages/wi/witherable.yaml.diff
original:
synopsis: Generalization of filter and catMaybes
updated:
s... | cd0f61852176e6506a26f8de40beadd6ffe767e1 | packages/wi/witherable.yaml | packages/wi/witherable.yaml | YAML |
<|file_sep|>src/app/twitter/tweets/index.js.diff
original:
const SalmonRunGearTweet = require('./SalmonRunGearTweet');
updated:
// const SalmonRunGearTweet = require('./SalmonRunGearTweet');
<|file_sep|>original/src/app/twitter/tweets/index.js
const ScheduleTweet = require('./ScheduleTweet');
const GearTweet = require(... | const ScheduleTweet = require('./ScheduleTweet');
const GearTweet = require('./GearTweet');
const SalmonRunTweet = require('./SalmonRunTweet');
// const SalmonRunGearTweet = require('./SalmonRunGearTweet');
const NewWeaponTweet = require('./NewWeaponTweet');
const NewStageTweet = require('./NewStageTweet');
const Splat... | <|file_sep|>src/app/twitter/tweets/index.js.diff
original:
const SalmonRunGearTweet = require('./SalmonRunGearTweet');
updated:
// const SalmonRunGearTweet = require('./SalmonRunGearTweet');
<|file_sep|>original/src/app/twitter/tweets/index.js
const ScheduleTweet = require('./ScheduleTweet');
const GearTweet = require(... | ec52eae6fc73d3b38a1d8b06dabd817849306474 | src/app/twitter/tweets/index.js | src/app/twitter/tweets/index.js | JavaScript |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.5.1
python-dateutil==2.5.3
requests==2.11.1
six==1.10.0
<|file_sep|>current/requirements.txt
beautifulsoup4==4.5.1
python-dateutil==2.5.3
requests==2.11.1
six==1.10.0
<|file_sep|>updated/requirements.txt | beautifulsoup4==4.5.1
python-dateutil==2.5.3
requests==2.12.4
six==1.10.0 | <|file_sep|>original/requirements.txt
beautifulsoup4==4.5.1
python-dateutil==2.5.3
requests==2.11.1
six==1.10.0
<|file_sep|>current/requirements.txt
beautifulsoup4==4.5.1
python-dateutil==2.5.3
requests==2.11.1
six==1.10.0
<|file_sep|>updated/requirements.txt
beautifulsoup4==4.5.1
python-dateutil==2.5.3
requests==2.12.... | 01f384ff76e0deae9731011c593242cca35e269b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/Cargo.toml
[package]
name = "rrg"
description = "Rust rewrite of GRR."
version = "0.1.0"
authors = ["Łukasz Hanuszczak <hanuszczak@google.com>"]
edition = "2018"
[dependencies]
fleetspeak = { version = "0.1.1" }
humantime = { version = "2.0.0" }
log = { version = "0.4.8" }
prost = { version = "0.6... | [package]
name = "rrg"
description = "Rust rewrite of GRR."
version = "0.1.0"
authors = ["Łukasz Hanuszczak <hanuszczak@google.com>"]
edition = "2018"
[dependencies]
fleetspeak = { version = "0.1.2" }
humantime = { version = "2.0.0" }
log = { version = "0.4.8" }
prost = { version = "0.6.1" }
prost-types = { version = ... | <|file_sep|>original/Cargo.toml
[package]
name = "rrg"
description = "Rust rewrite of GRR."
version = "0.1.0"
authors = ["Łukasz Hanuszczak <hanuszczak@google.com>"]
edition = "2018"
[dependencies]
fleetspeak = { version = "0.1.1" }
humantime = { version = "2.0.0" }
log = { version = "0.4.8" }
prost = { version = "0.6... | 0fcd5e4db066646a2e1b2fb433158296bdd07a0b | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/_config.yml
title: "Rocket.Chat Documentation"
description: Rocket.Chat user, admin, API, integration, plugin and contributing documentation.
# leave trailing slash off
url: https://rocket.chat/docs
# bump if alterting styles or js
version: 23
defaults:
- scope:
type: ""
values:
... | title: "Rocket.Chat Documentation"
description: Rocket.Chat user, admin, API, integration, plugin and contributing documentation.
# leave trailing slash off
url: https://rocket.chat/docs
# bump if alterting styles or js
version: 24
defaults:
- scope:
type: ""
values:
layout: "default"
sass:
styl... | <|file_sep|>original/_config.yml
title: "Rocket.Chat Documentation"
description: Rocket.Chat user, admin, API, integration, plugin and contributing documentation.
# leave trailing slash off
url: https://rocket.chat/docs
# bump if alterting styles or js
version: 23
defaults:
- scope:
type: ""
values:
... | cadbc1771de432fc5e384d8be0039b66db915f26 | _config.yml | _config.yml | YAML |
<|file_sep|>original/metadata/org.fossasia.badgemagic.yml
Categories:
- Connectivity
License: Apache-2.0
SourceCode: https://github.com/fossasia/badge-magic-android
IssueTracker: https://github.com/fossasia/badge-magic-android/issues
Name: Badge Magic
Summary: Create Symbols and Text on LED Name Badges using Bluetoo... | Categories:
- Connectivity
License: Apache-2.0
SourceCode: https://github.com/fossasia/badge-magic-android
IssueTracker: https://github.com/fossasia/badge-magic-android/issues
Name: Badge Magic
AutoName: Badge Magic
Summary: Create Symbols and Text on LED Name Badges using Bluetooth
Description: The Badge Magic Andr... | <|file_sep|>original/metadata/org.fossasia.badgemagic.yml
Categories:
- Connectivity
License: Apache-2.0
SourceCode: https://github.com/fossasia/badge-magic-android
IssueTracker: https://github.com/fossasia/badge-magic-android/issues
Name: Badge Magic
Summary: Create Symbols and Text on LED Name Badges using Bluetoo... | a22cc72063f4290de6ff001b62ef5aad21c88d7f | metadata/org.fossasia.badgemagic.yml | metadata/org.fossasia.badgemagic.yml | YAML |
<|file_sep|>lms/templates/registration/activate_account_notice.html.diff
original:
<h2 class="title">${_("Thanks for Registering!")}</h2>
updated:
<h2 class="title">${_("Just one more step!")}</h2>
<|file_sep|>lms/templates/registration/activate_account_notice.html.diff
original:
... | <div class="copy">
<p class='activation-message'>${_(
"We've sent an account activation message to {email}. "
"To activate your account on Edraak and start enrolling in "
"courses, click the link in the message."
)... | <|file_sep|>lms/templates/registration/activate_account_notice.html.diff
original:
<h2 class="title">${_("Thanks for Registering!")}</h2>
updated:
<h2 class="title">${_("Just one more step!")}</h2>
<|file_sep|>lms/templates/registration/activate_account_notice.html.diff
original:
... | 028f4383cd4c861ee76a26f389d80698355db46c | lms/templates/registration/activate_account_notice.html | lms/templates/registration/activate_account_notice.html | HTML |
<|file_sep|>original/README.markdown
# Overview
## About Fabrication
Fabrication is an object generation framework for Ruby.
## Compatibility
Fabrication is developed against Ruby 1.8.7 and 1.9.2.
## Documentation
Please see the Fabrication website for up-to-date documentation: http://fabricationgem.org
<|file_se... | # Overview
## About Fabrication
Fabrication is an object generation framework for Ruby.
## Compatibility
Fabrication is tested against Ruby 1.8.7, 1.9.2, 1.9.3, Rubinius, and REE.
[](http://travis-ci.org/paulelliott/fabrication)
## Documenta... | <|file_sep|>original/README.markdown
# Overview
## About Fabrication
Fabrication is an object generation framework for Ruby.
## Compatibility
Fabrication is developed against Ruby 1.8.7 and 1.9.2.
## Documentation
Please see the Fabrication website for up-to-date documentation: http://fabricationgem.org
<|file_se... | bb10aa739b0d48679a1996bf54466fd6ae2dc950 | README.markdown | README.markdown | Markdown |
<|file_sep|>original/spec/unit/puppet/provider_spec.rb
<|file_sep|>current/spec/unit/puppet/provider_spec.rb
<|file_sep|>updated/spec/unit/puppet/provider_spec.rb | #!/usr/bin/env rspec
#
require 'spec_helper'
provider_class = Puppet::Type.type(:ethtool).provider(:linux)
describe provider_class do
let(:resource) do
Puppet::Type.type(:ethtool).new(
:name => 'eth0',
:tso => 'enabled',
:provider => 'linux',
)
end
let(:provider) do
provider = pro... | <|file_sep|>original/spec/unit/puppet/provider_spec.rb
<|file_sep|>current/spec/unit/puppet/provider_spec.rb
<|file_sep|>updated/spec/unit/puppet/provider_spec.rb
#!/usr/bin/env rspec
#
require 'spec_helper'
provider_class = Puppet::Type.type(:ethtool).provider(:linux)
describe provider_class do
let(:resource) do... | 07a60d02f54f88d9a7559ea90ddb66e79cc6b628 | spec/unit/puppet/provider_spec.rb | spec/unit/puppet/provider_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
install:
- sudo apt-get update
- cd hashstore/bakery/js
- npm install
- cd ../../..
- npm install
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- exp... | language: node_js
node_js:
- "8"
install:
- sudo apt-get update
- cd hashstore/bakery/js
- npm install
- cd ../../..
- npm install
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PA... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
install:
- sudo apt-get update
- cd hashstore/bakery/js
- npm install
- cd ../../..
- npm install
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- exp... | b97fa8159b7f397bb7b1faf9710a764c03de558f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/project/build.sbt
scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.14.1",
"org.http4s" %% "http4s... | scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.14.1",
"org.http4s" %% "http4s-ember-client" % "0.23.6",
"org.http4... | <|file_sep|>original/project/build.sbt
scalacOptions := Seq(
"-deprecation"
)
// For MimeLoader plugin. Dogfooding and hoping it doesn't clash with
// our other sbt plugins.
libraryDependencies ++= List(
"com.eed3si9n" %% "treehugger" % "0.4.4",
"io.circe" %% "circe-generic" % "0.14.1",
"org.http4s" %% "http4s... | 6c7f95a1e01f83d88cb80e5cc459bc953e39f5a0 | project/build.sbt | project/build.sbt | Scala |
<|file_sep|>package.json.diff
original:
"publish:brew": "brew-publish $npm_package_name v$npm_package_version -r -t nodenv/homebrew-nodenv",
updated:
"publish:brew": "brew-publish $npm_package_name v$npm_package_version",
<|file_sep|>original/package.json
"url": "https://github.com/nodenv/nodenv-aliases.git... | "url": "https://github.com/nodenv/nodenv-aliases.git"
},
"bugs": {
"url": "https://github.com/nodenv/nodenv-aliases/issues"
},
"directories": {
"bin": "bin",
"test": "test"
},
"scripts": {
"test": "bats ${CI:+--tap} test",
"publish:brew": "brew-publish $npm_package_name v$npm_package... | <|file_sep|>package.json.diff
original:
"publish:brew": "brew-publish $npm_package_name v$npm_package_version -r -t nodenv/homebrew-nodenv",
updated:
"publish:brew": "brew-publish $npm_package_name v$npm_package_version",
<|file_sep|>original/package.json
"url": "https://github.com/nodenv/nodenv-aliases.git... | c236ad0723f616659ec0eca3a6a5adc3433935f0 | package.json | package.json | JSON |
<|file_sep|>original/src/assets/sass/core/_base.scss
}
}
/* address `[hidden]` styling not present in IE8-9.
hide the `template` element in IE, Safari, and Firefox < 22 */
[hidden],
template {
display: none;
}
/* Clearfix
========================================================================== */
he... | }
}
/* address `[hidden]` styling not present in IE8-9.
hide the `template` element in IE, Safari, and Firefox < 22 */
[hidden],
template {
display: none;
}
/* remove tap delay in IE10+ */
a,
input,
button {
-ms-touch-action: none;
}
/* Clearfix
====================================================... | <|file_sep|>original/src/assets/sass/core/_base.scss
}
}
/* address `[hidden]` styling not present in IE8-9.
hide the `template` element in IE, Safari, and Firefox < 22 */
[hidden],
template {
display: none;
}
/* Clearfix
========================================================================== */
he... | 4728f244e5025f5cab57334fe393bcdbfa990f34 | src/assets/sass/core/_base.scss | src/assets/sass/core/_base.scss | SCSS |
<|file_sep|>original/requirements.txt
git+https://github.com/tadashi-aikawa/chalice.git
requests==2.12.1
boto3==1.4.1
pydash==3.4.7
pytz==2016.7
typing==3.5.2.2
git+https://github.com/tadashi-aikawa/dictmixin@0.2.0
pytest==3.0.4
pytest-cov==2.4.0
pyyaml==3.12
<|file_sep|>current/requirements.txt
git+https://github.com/... | chalice==0.5.0
requests==2.12.1
boto3==1.4.1
pydash==3.4.7
pytz==2016.7
typing==3.5.2.2
git+https://github.com/tadashi-aikawa/dictmixin@0.2.0
pytest==3.0.4
pytest-cov==2.4.0
pyyaml==3.12 | <|file_sep|>original/requirements.txt
git+https://github.com/tadashi-aikawa/chalice.git
requests==2.12.1
boto3==1.4.1
pydash==3.4.7
pytz==2016.7
typing==3.5.2.2
git+https://github.com/tadashi-aikawa/dictmixin@0.2.0
pytest==3.0.4
pytest-cov==2.4.0
pyyaml==3.12
<|file_sep|>current/requirements.txt
git+https://github.com/... | b67ef528e770a52c196c4c933d29366bccebb90d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/public/index.php
<?php
session_start();
require __DIR__ . '/../vendor/autoload.php';
$app = new Slim\App([
'env' => 'prod',
'root_dir' => dirname(__DIR__)
]);
$container = $app->getContainer();
$container['config'] = require __DIR__ . '/../app/config/config.php';
require __DIR__ . '/..... | <?php
session_start();
require __DIR__ . '/../vendor/autoload.php';
$app = new App\Application('prod');
$app->run(); | <|file_sep|>original/public/index.php
<?php
session_start();
require __DIR__ . '/../vendor/autoload.php';
$app = new Slim\App([
'env' => 'prod',
'root_dir' => dirname(__DIR__)
]);
$container = $app->getContainer();
$container['config'] = require __DIR__ . '/../app/config/config.php';
require __DIR__ . '/..... | 6f9882653658b784b30652a088d576aa7a433885 | public/index.php | public/index.php | PHP |
<|file_sep|>app/beyond/MongoDBLauncher.scala.diff
original:
val maybePath = mongodPaths.find(new File(_).isFile)
// FIXME: What if there is no mongod binary?
maybePath.foreach {
updated:
mongodPaths.find(new File(_).isFile).map {
<|file_sep|>original/app/beyond/MongoDBLauncher.scala
import play.api.... | import play.api.Play.current
val dbPath = new File(current.configuration.getString("beyond.mongodb.dbpath").getOrElse("data"))
if (!dbPath.exists()) {
dbPath.mkdirs()
}
mongodPaths.find(new File(_).isFile).map {
path =>
val processBuilder = Process(Seq(path, "--dbpath", dbPath.g... | <|file_sep|>app/beyond/MongoDBLauncher.scala.diff
original:
val maybePath = mongodPaths.find(new File(_).isFile)
// FIXME: What if there is no mongod binary?
maybePath.foreach {
updated:
mongodPaths.find(new File(_).isFile).map {
<|file_sep|>original/app/beyond/MongoDBLauncher.scala
import play.api.... | 0525a817f6d935e1f67fb7b5dc68c0bf5e8a40b0 | app/beyond/MongoDBLauncher.scala | app/beyond/MongoDBLauncher.scala | Scala |
<|file_sep|>original/src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py
<|file_sep|>current/src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py
<|file_sep|>updated/src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations
def data_migration(apps, schema_editor):
"""Migration 0032 inadvertently set previously non-existent "Upload DIP to
AtoM" values to 'None'. This fixes that.
"""
apps.get_model('main', 'DashboardSetting').... | <|file_sep|>original/src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py
<|file_sep|>current/src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py
<|file_sep|>updated/src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py
# -*- coding: utf-8 -*-
from __future__ import unicode_l... | 512c730f78fae715a3ed9dfe59ef917a5566dcb5 | src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py | src/dashboard/src/main/migrations/0048_fix_upload_qubit_setting.py | Python |
<|file_sep|>original/src/bundles/UserSecurityBundle/README.md
# user-security-bundle
## Description:
Use this bundle to mitigate brute force dictionary attacks on your sites. Excessive failed logins will force users to recover their account, additional attempts
to circumvent that will block the user from specified w... | # UserSecurityBundle
## Description:
Use this bundle to mitigate brute force dictionary attacks on your sites. Excessive failed logins will force users to recover their account, additional attempts
to circumvent that will block the user from specified webpages by returning an HTTP 500 response on all specified route... | <|file_sep|>original/src/bundles/UserSecurityBundle/README.md
# user-security-bundle
## Description:
Use this bundle to mitigate brute force dictionary attacks on your sites. Excessive failed logins will force users to recover their account, additional attempts
to circumvent that will block the user from specified w... | 6f6ed6c94fbac851819929b9a2e27d1bcb6e14f6 | src/bundles/UserSecurityBundle/README.md | src/bundles/UserSecurityBundle/README.md | Markdown |
<|file_sep|>original/README.md
First get the Elm developer workflow setup by running [this script][bfs] with
`runhaskell BuildFromSource.hs master`.
[bfs]: https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs
Then in the `Elm-Platform/master/` directory, run these commands:
```bash
git ... | First get the Elm developer workflow setup by running [this script][bfs] with
`runhaskell BuildFromSource.hs master`.
[bfs]: https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs
Then in the `Elm-Platform/master/` directory, run these commands:
```bash
git clone https://github.com/elm-la... | <|file_sep|>original/README.md
First get the Elm developer workflow setup by running [this script][bfs] with
`runhaskell BuildFromSource.hs master`.
[bfs]: https://github.com/elm-lang/elm-platform/blob/master/installers/BuildFromSource.hs
Then in the `Elm-Platform/master/` directory, run these commands:
```bash
git ... | 56f3c061110a7b8099a10b990c69fde90aabccf9 | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/oliversalzburg/absync.git"
},
"author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https... | "scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/oliversalzburg/absync.git"
},
"author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/oliversalzburg/absyn... | <|file_sep|>original/package.json
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/oliversalzburg/absync.git"
},
"author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https... | f9e39fd85fc1c84ce032bf6b5295fa54564fc23f | package.json | package.json | JSON |
<|file_sep|>original/lib/metriks_log_webhook/app.rb
module MetriksLogWebhook
class App < Sinatra::Base
configure do
set :root, ENV['RACK_ROOT'] || RACK_ROOT
set :app_file, __FILE__
set :metrik_prefix, ENV['METRIK_PREFIX'] || 'metriks:'
set :metric_interval, 60
set :cache, lambda { ... | module MetriksLogWebhook
class App < Sinatra::Base
configure do
set :root, ENV['RACK_ROOT'] || RACK_ROOT
set :app_file, __FILE__
set :metrik_prefix, ENV['METRIK_PREFIX'] || 'metriks:'
set :metric_interval, 60
set :cache, lambda { Dalli::Client.new }
set :metrics_client, Libra... | <|file_sep|>original/lib/metriks_log_webhook/app.rb
module MetriksLogWebhook
class App < Sinatra::Base
configure do
set :root, ENV['RACK_ROOT'] || RACK_ROOT
set :app_file, __FILE__
set :metrik_prefix, ENV['METRIK_PREFIX'] || 'metriks:'
set :metric_interval, 60
set :cache, lambda { ... | 5fb0d945299a450e862b36dd581aeeb94c34617f | lib/metriks_log_webhook/app.rb | lib/metriks_log_webhook/app.rb | Ruby |
<|file_sep|>test/Microsoft.AspNet.StaticFiles.Tests/Project.json.diff
original:
"Xunit.KRunner": "1.0.0-*"
updated:
"xunit.runner.kre": "1.0.0-*"
<|file_sep|>original/test/Microsoft.AspNet.StaticFiles.Tests/Project.json
{
"dependencies": {
"Microsoft.AspNet.PipelineCore": "1.0.0-*",
... | {
"dependencies": {
"Microsoft.AspNet.PipelineCore": "1.0.0-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-*",
"Microsoft.AspNet.TestHost": "1.0.0-*",
"xunit.runner.kre": "1.0.0-*"
},
"commands": {
"test": "xunit.runner.kre"
},
"frameworks": {
"aspnet50": ... | <|file_sep|>test/Microsoft.AspNet.StaticFiles.Tests/Project.json.diff
original:
"Xunit.KRunner": "1.0.0-*"
updated:
"xunit.runner.kre": "1.0.0-*"
<|file_sep|>original/test/Microsoft.AspNet.StaticFiles.Tests/Project.json
{
"dependencies": {
"Microsoft.AspNet.PipelineCore": "1.0.0-*",
... | 46e60b1276c6c1990357003327772fa941ea619d | test/Microsoft.AspNet.StaticFiles.Tests/Project.json | test/Microsoft.AspNet.StaticFiles.Tests/Project.json | JSON |
<|file_sep|>original/csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java
<|file_sep|>current/csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java
<|file_sep|>updated/csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java | /**
* Steven Ward
* VendingMachine.java | Drink Machine Project
*
* This file contains the definition of the VendingMachine interface, which is described below.
*
* Due Date: December 4, 2016
*
*/
/**
* TODO: CLASS-LEVEL DOCUMENTATION FOR VENDINGMACHINE INTERFACE!
* JAVADOC TAGS
*/
public interface ... | <|file_sep|>original/csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java
<|file_sep|>current/csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java
<|file_sep|>updated/csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java
/**
* Steven Ward
* VendingMachine.java | Drink Machine Project
*
* This ... | b0dd6d445a9d0d98bca33cc783f1bc5966c31938 | csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java | csci-2903/Module13/WardDrinkMachine/src/VendingMachine.java | Java |
<|file_sep|>original/phpunit.xml.dist
<testsuites>
<testsuite name="Veritas">
<directory suffix="Test.php">./test/VeritasTest</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"
lowUpper... |
<testsuites>
<testsuite name="Veritas">
<directory suffix="Test.php">./test/VeritasTest</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"
lowUpperBound="50" highLowerBound="80" />
... | <|file_sep|>original/phpunit.xml.dist
<testsuites>
<testsuite name="Veritas">
<directory suffix="Test.php">./test/VeritasTest</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"
lowUpper... | 0738c60dd04903cecb7e4f17c04f9dc8bdf3f076 | phpunit.xml.dist | phpunit.xml.dist | unknown |
<|file_sep|>original/templates/support.rackspace.com/404.html
{% extends "_layouts/base.html" %}
{% block metaTitle %}{{ ['Page Not Found', super()]|join(' - ') }}{% endblock %}
{% block bodyClass %}not-found{% endblock %}
{% set headlineTag = 'h2' %}
{% set headlineAccent = 'Rackspace' %}
{% set headline = 'Support ... | {% extends "_layouts/base.html" %}
{% block metaTitle %}{{ ['Page Not Found', super()]|join(' - ') }}{% endblock %}
{% block bodyClass %}not-found{% endblock %}
{% set headlineTag = 'h2' %}
{% set headlineAccent = 'Rackspace' %}
{% set headline = 'Support Network' %}
{% block bodyContent %}
<div class="not-found... | <|file_sep|>original/templates/support.rackspace.com/404.html
{% extends "_layouts/base.html" %}
{% block metaTitle %}{{ ['Page Not Found', super()]|join(' - ') }}{% endblock %}
{% block bodyClass %}not-found{% endblock %}
{% set headlineTag = 'h2' %}
{% set headlineAccent = 'Rackspace' %}
{% set headline = 'Support ... | 5ecec151fe0dad2f823e88ac7871f8c08ba8660a | templates/support.rackspace.com/404.html | templates/support.rackspace.com/404.html | HTML |
<|file_sep|>original/src/test/resources/eager/defers-call-tag-with-deferred-argument.jinja
{#
{% macro repeat(val) %}
{{ val }}
{{ caller() }}
{% endmacro %}
{% macro renderEntity(val) %}
Aaa {{ val }}
{% endmacro %}
{% macro renderModule(val) %}
macro 1
{% call repeat(deferred + 1) %}
{{ renderEntity(val) }}
{% endca... | {% macro repeat(val) %}
{{ val }}
{{ caller() }}
{% endmacro %}
{% call repeat(deferred) %}
macro 1
{% call repeat(deferred + 1) %}
macro2
{% endcall %}
{% endcall %} | <|file_sep|>original/src/test/resources/eager/defers-call-tag-with-deferred-argument.jinja
{#
{% macro repeat(val) %}
{{ val }}
{{ caller() }}
{% endmacro %}
{% macro renderEntity(val) %}
Aaa {{ val }}
{% endmacro %}
{% macro renderModule(val) %}
macro 1
{% call repeat(deferred + 1) %}
{{ renderEntity(val) }}
{% endca... | 07beca50e7a6d4c64bbc2af9029cb06fc16fdd93 | src/test/resources/eager/defers-call-tag-with-deferred-argument.jinja | src/test/resources/eager/defers-call-tag-with-deferred-argument.jinja | HTML+Django |
<|file_sep|>tox.ini.diff
original:
envlist = py{27,32,33}-django{16,17,18},psql,pep8,coverage
updated:
envlist = py{27,33}-django{16,17},py{27,34,35}-django{18,19},psql,pep8,coverage
<|file_sep|>tox.ini.diff
original:
djangorestframework>=3.0
updated:
<|file_sep|>tox.ini.diff
original:
updated:
django16: djan... | [tox]
envlist = py{27,33}-django{16,17},py{27,34,35}-django{18,19},psql,pep8,coverage
[testenv]
deps =
pytz
PyYAML
django16: Django>=1.6,<1.7
django16: djangorestframework>=3.0,<3.1
django17: Django>=1.7,<1.8
django17: djangorestframework>=3.1,<3.2
django18: Django>=1.8,<1.9
django18: dj... | <|file_sep|>tox.ini.diff
original:
envlist = py{27,32,33}-django{16,17,18},psql,pep8,coverage
updated:
envlist = py{27,33}-django{16,17},py{27,34,35}-django{18,19},psql,pep8,coverage
<|file_sep|>tox.ini.diff
original:
djangorestframework>=3.0
updated:
<|file_sep|>tox.ini.diff
original:
updated:
django16: djan... | 194044350a9e84b52dc911a82336b7e31b11c654 | tox.ini | tox.ini | INI |
<|file_sep|>original/aliases.zsh
alias sc='ruby script/console'
alias sd='ruby script/server --debugger'
alias ss='thin --stats "/thin/stats" start'
alias mr='mate CHANGELOG app config db lib public script spec test'
alias .='pwd'
alias ...='cd ../..'
alias _='sudo'
alias g='grep -in'
alias history='fc -l 1'
alias... | alias sc='ruby script/console'
alias sd='ruby script/server --debugger'
alias ss='thin --stats "/thin/stats" start'
alias mr='mate CHANGELOG app config db lib public script spec test'
alias .='pwd'
alias ...='cd ../..'
alias _='sudo'
#alias g='grep -in'
alias g='git'
alias history='fc -l 1'
alias ls='ls -GF'
alias... | <|file_sep|>original/aliases.zsh
alias sc='ruby script/console'
alias sd='ruby script/server --debugger'
alias ss='thin --stats "/thin/stats" start'
alias mr='mate CHANGELOG app config db lib public script spec test'
alias .='pwd'
alias ...='cd ../..'
alias _='sudo'
alias g='grep -in'
alias history='fc -l 1'
alias... | 4bbfd45bf9de180abbe7e8f6adb7876db57a8a56 | aliases.zsh | aliases.zsh | Shell |
<|file_sep|>CIV/Program.cs.diff
original:
using System.Linq;
using CIV.Ccs;
using CIV.Hml;
updated:
using CIV.Ccs;
using CIV.Interfaces;
<|file_sep|>original/CIV/Program.cs
using static System.Console;
using System.Linq;
using CIV.Ccs;
using CIV.Hml;
namespace CIV
{
class Program
{
static void Main(s... | using static System.Console;
using CIV.Ccs;
using CIV.Interfaces;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var trace = CcsFacade.RandomTrace(processes["Priso... | <|file_sep|>CIV/Program.cs.diff
original:
using System.Linq;
using CIV.Ccs;
using CIV.Hml;
updated:
using CIV.Ccs;
using CIV.Interfaces;
<|file_sep|>original/CIV/Program.cs
using static System.Console;
using System.Linq;
using CIV.Ccs;
using CIV.Hml;
namespace CIV
{
class Program
{
static void Main(s... | cf645e2bf87dc941dacb5b82dbe61f96802e1295 | CIV/Program.cs | CIV/Program.cs | C# |
<|file_sep|>spec/spec_helper.rb.diff
original:
require 'simplecov'
require 'simplecov-rcov'
class SimpleCov::Formatter::MergedFormatter
def format(result)
SimpleCov::Formatter::HTMLFormatter.new.format(result)
SimpleCov::Formatter::RcovFormatter.new.format(result)
updated:
unless ENV['SKIP_RCOV']
require ... | require 'simplecov'
require 'simplecov-rcov'
class SimpleCov::Formatter::MergedFormatter
def format(result)
SimpleCov::Formatter::HTMLFormatter.new.format(result)
SimpleCov::Formatter::RcovFormatter.new.format(result)
end
end
SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
... | <|file_sep|>spec/spec_helper.rb.diff
original:
require 'simplecov'
require 'simplecov-rcov'
class SimpleCov::Formatter::MergedFormatter
def format(result)
SimpleCov::Formatter::HTMLFormatter.new.format(result)
SimpleCov::Formatter::RcovFormatter.new.format(result)
updated:
unless ENV['SKIP_RCOV']
require ... | 64e1e64e2a27b504f0a4e543ea6c34a07a4cc1a4 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/.dotbot-profiles/mac-apps.yaml
- wget
- tldr
- youtube-dl
- direnv
- fd
- sbdchd/skim/skim
- font-hack-nerd-font
- imagemagick
- amp
- crystal-lang
- cask:
- colorpicker-materialdesign
- visual-studio-code
- spotify
- google-chrome
- iina... | - wget
- tldr
- youtube-dl
- direnv
- fd
- sbdchd/skim/skim
- font-hack-nerd-font
- imagemagick
- amp
- crystal-lang
- rust
- cask:
- colorpicker-materialdesign
- visual-studio-code
- spotify
- google-chrome
- iina
- vlc
- cyberduck
- skype | <|file_sep|>original/.dotbot-profiles/mac-apps.yaml
- wget
- tldr
- youtube-dl
- direnv
- fd
- sbdchd/skim/skim
- font-hack-nerd-font
- imagemagick
- amp
- crystal-lang
- cask:
- colorpicker-materialdesign
- visual-studio-code
- spotify
- google-chrome
- iina... | 051c819e4a96b0d4881301deed0a94856a34ec79 | .dotbot-profiles/mac-apps.yaml | .dotbot-profiles/mac-apps.yaml | YAML |
<|file_sep|>scripts/verifyReleaseWindows.bat.diff
original:
# Verify release
updated:
REM Verify release
<|file_sep|>scripts/verifyReleaseWindows.bat.diff
original:
call scripts\verifyReleaseWindowsSingleCase.bat %CURRENT_DIRECTORY%\cpp 32 STATIC || exit /b 1
updated:
call scripts\verifyReleaseWindowsSingleCase.bat "%C... | REM Verify release
SET CURRENT_DIRECTORY=%cd%
call scripts\verifyReleaseWindowsSingleCase.bat "%CURRENT_DIRECTORY%\cpp" 32 STATIC || exit /b 1
call scripts\verifyReleaseWindowsSingleCase.bat "%CURRENT_DIRECTORY%\cpp" 32 SHARED || exit /b 1
call scripts\verifyReleaseWindowsSingleCase.bat "%CURRENT_DIRECTORY%\cpp" 64 ... | <|file_sep|>scripts/verifyReleaseWindows.bat.diff
original:
# Verify release
updated:
REM Verify release
<|file_sep|>scripts/verifyReleaseWindows.bat.diff
original:
call scripts\verifyReleaseWindowsSingleCase.bat %CURRENT_DIRECTORY%\cpp 32 STATIC || exit /b 1
updated:
call scripts\verifyReleaseWindowsSingleCase.bat "%C... | 8e1a54a17c85e563a918954dc3f5996c48d97621 | scripts/verifyReleaseWindows.bat | scripts/verifyReleaseWindows.bat | Batchfile |
<|file_sep|>original/lib/cinch/plugins/straw_poll.rb
enable_authentication
match(/(poll?)\s(.+)\|(.+)/)
def execute(m, mode, title, options_string)
options = options_string.split(",").collect { |o| o = o.strip }
options << "pol pot" if mode == "pol"
response = request_poll(t... |
enable_authentication
match(/(poll?)\s(.+)\|(.+)/)
def execute(m, mode, title, options_string)
options = options_string.split(",").collect { |o| o = o.strip }
options << "pol pot" if mode == "pol"
response = request_poll(title.strip, options)
unless response['id'].ni... | <|file_sep|>original/lib/cinch/plugins/straw_poll.rb
enable_authentication
match(/(poll?)\s(.+)\|(.+)/)
def execute(m, mode, title, options_string)
options = options_string.split(",").collect { |o| o = o.strip }
options << "pol pot" if mode == "pol"
response = request_poll(t... | 6564992aa6863881fc6636564158cf012b1d3e2d | lib/cinch/plugins/straw_poll.rb | lib/cinch/plugins/straw_poll.rb | Ruby |
<|file_sep|>lib/harvestman/crawler/fast.rb.diff
original:
updated:
require 'thread'
<|file_sep|>lib/harvestman/crawler/fast.rb.diff
original:
threads = []
@pages.each do |p|
threads << Thread.new(p) { |page| crawl_url(@base_url.gsub('*', p.to_s), &block) }
updated:
# started_... | crawl_url(url, &block)
rescue => e
puts "[!] Error in URL: #{url}"
puts e.inspect
end
end
rescue ThreadError
end
end
end
workers.map(&:join)
... | <|file_sep|>lib/harvestman/crawler/fast.rb.diff
original:
updated:
require 'thread'
<|file_sep|>lib/harvestman/crawler/fast.rb.diff
original:
threads = []
@pages.each do |p|
threads << Thread.new(p) { |page| crawl_url(@base_url.gsub('*', p.to_s), &block) }
updated:
# started_... | faae081a7d60f80aaa8704a74f411efc32ebc47f | lib/harvestman/crawler/fast.rb | lib/harvestman/crawler/fast.rb | Ruby |
<|file_sep|>original/doc/source/reference/linalg.rst
incidence_matrix
Laplacian Matrix
----------------
.. automodule:: networkx.linalg.laplacianmatrix
.. autosummary::
:toctree: generated/
laplacian_matrix
normalized_laplacian_matrix
Spectrum
---------
.. automodule:: networkx.linalg.spectrum
.. autosu... | incidence_matrix
Laplacian Matrix
----------------
.. automodule:: networkx.linalg.laplacianmatrix
.. autosummary::
:toctree: generated/
laplacian_matrix
normalized_laplacian_matrix
directed_laplacian_matrix
Spectrum
---------
.. automodule:: networkx.linalg.spectrum
.. autosummary::
:toctree: gen... | <|file_sep|>original/doc/source/reference/linalg.rst
incidence_matrix
Laplacian Matrix
----------------
.. automodule:: networkx.linalg.laplacianmatrix
.. autosummary::
:toctree: generated/
laplacian_matrix
normalized_laplacian_matrix
Spectrum
---------
.. automodule:: networkx.linalg.spectrum
.. autosu... | 84462f116d49ff32089addd537937e8e41f91634 | doc/source/reference/linalg.rst | doc/source/reference/linalg.rst | reStructuredText |
<|file_sep|>iati/resources/standard/README.md.diff
original:
Data for a given version of the Standard is stored within a corresponding folder – for example version 2.02 data is contained with the `202` folder. Note that this contains all content for that version of the standard, symlinks are used to ensure content rep... | # Resources: IATI Standard
The folder (and sub-folders) contain data that is used by the library that relates to the IATI Standard.
Data for a given version of the Standard is stored within a corresponding folder – for example version 2.02 data is contained with the `2-02` folder. Note that this contains all content... | <|file_sep|>iati/resources/standard/README.md.diff
original:
Data for a given version of the Standard is stored within a corresponding folder – for example version 2.02 data is contained with the `202` folder. Note that this contains all content for that version of the standard, symlinks are used to ensure content rep... | 15d59957502815ac4f3faf105c6811a4f4a6d562 | iati/resources/standard/README.md | iati/resources/standard/README.md | Markdown |
<|file_sep|>original/requirements.txt
matplotlib==3.1.0
networkx==2.3
pandas==0.24.2
hiveplot==2017.10.17.21.7
nxviz==0.6.1
numpy==1.16.4
jupyter==1.0.0
scipy==1.3.0
python-louvain==0.13
tqdm==4.32.1
<|file_sep|>current/requirements.txt
matplotlib==3.1.0
networkx==2.3
pandas==0.24.2
hiveplot==2017.10.17.21.7
nxviz==0.6... | matplotlib==3.1.0
networkx==2.3
pandas==0.24.2
hiveplot==2017.10.17.21.7
nxviz==0.6.1
numpy==1.16.4
jupyter==1.0.0
scipy==1.3.0
python-louvain==0.13
tqdm==4.32.2 | <|file_sep|>original/requirements.txt
matplotlib==3.1.0
networkx==2.3
pandas==0.24.2
hiveplot==2017.10.17.21.7
nxviz==0.6.1
numpy==1.16.4
jupyter==1.0.0
scipy==1.3.0
python-louvain==0.13
tqdm==4.32.1
<|file_sep|>current/requirements.txt
matplotlib==3.1.0
networkx==2.3
pandas==0.24.2
hiveplot==2017.10.17.21.7
nxviz==0.6... | 297468e44979e095e032c324b0be9c7d842002e9 | requirements.txt | requirements.txt | Text |
<|file_sep|>ecs.php.diff
original:
updated:
use Symplify\EasyCodingStandard\ValueObject\Option;
<|file_sep|>original/ecs.php
<?php
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $config) {
(require __DIR__ . '/vendor/prezly/code-... | <?php
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symplify\EasyCodingStandard\ValueObject\Option;
return static function (ContainerConfigurator $config): void {
$config->parameters()
->set(Option::PATHS, [
__DIR__ . '/lib',
__DIR__ . '/t... | <|file_sep|>ecs.php.diff
original:
updated:
use Symplify\EasyCodingStandard\ValueObject\Option;
<|file_sep|>original/ecs.php
<?php
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $config) {
(require __DIR__ . '/vendor/prezly/code-... | 1e693cf67ecfcc7ed1ce77831d431f4e47fdb20b | ecs.php | ecs.php | PHP |
<|file_sep|>original/src/librustc_data_structures/obligation_forest/node_index.rs
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use core::nonzero::NonZero;
use std::u32;
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub struct NodeIndex {
index: NonZero<u32>,
... | // option. This file may not be copied, modified, or distributed
// except according to those terms.
use core::nonzero::NonZero;
use std::u32;
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub struct NodeIndex {
index: NonZero<u32>,
}
impl NodeIndex {
pub fn new(value: usize) -> NodeIndex {
assert!(va... | <|file_sep|>original/src/librustc_data_structures/obligation_forest/node_index.rs
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use core::nonzero::NonZero;
use std::u32;
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub struct NodeIndex {
index: NonZero<u32>,
... | 13d17adf6059552358c8601aaa407aea5ddddb98 | src/librustc_data_structures/obligation_forest/node_index.rs | src/librustc_data_structures/obligation_forest/node_index.rs | Rust |
<|file_sep|>original/composer.json
{
"name": "sabaki-dev/symfony1",
"description": "Fork of symfony 1.4 with dic, form enhancements, latest swiftmailer and better performance",
"license": "MIT",
"require": {
"swiftmailer/swiftmailer": "4.2.*",
"sabaki-dev/doctrine1": "dev-master"
},
... | {
"name": "sabaki-dev/symfony1",
"description": "Fork of symfony 1.4 with dic, form enhancements, latest swiftmailer and better performance",
"license": "MIT",
"require": {
"swiftmailer/swiftmailer": "4.2.*",
"sabaki-dev/doctrine1": "~1.2"
},
"type": "library",
"autoload": {
... | <|file_sep|>original/composer.json
{
"name": "sabaki-dev/symfony1",
"description": "Fork of symfony 1.4 with dic, form enhancements, latest swiftmailer and better performance",
"license": "MIT",
"require": {
"swiftmailer/swiftmailer": "4.2.*",
"sabaki-dev/doctrine1": "dev-master"
},
... | f8b8df55c2eaf2f8a04612018b980049cd251b26 | composer.json | composer.json | JSON |
<|file_sep|>installer/scripts/setup.bat.diff
original:
rem $Id$
updated:
::will be set by the installer
set JAVA_HOME="$JAVA_HOME"
set EXIST_HOME="$INSTALL_PATH"
<|file_sep|>installer/scripts/setup.bat.diff
original:
rem will be set by the installer
set EXIST_HOME=$INSTALL_PATH
rem will be set by the installer
set JA... | ::remove any quotes from JAVA_HOME and EXIST_HOME env var, will be re-added below
for /f "delims=" %%G IN (%JAVA_HOME%) DO SET JAVA_HOME=%%G
for /f "delims=" %%G IN (%EXIST_HOME%) DO SET EXIST_HOME=%%G
:gotJavaHome
set JAVA_CMD="%JAVA_HOME%\bin\java"
set JAVA_OPTS="-Xms64m -Xmx768m"
::make sure there's the jetty tmp... | <|file_sep|>installer/scripts/setup.bat.diff
original:
rem $Id$
updated:
::will be set by the installer
set JAVA_HOME="$JAVA_HOME"
set EXIST_HOME="$INSTALL_PATH"
<|file_sep|>installer/scripts/setup.bat.diff
original:
rem will be set by the installer
set EXIST_HOME=$INSTALL_PATH
rem will be set by the installer
set JA... | 19de6dd87b9eea734df9c0c81600cdfeb84266bb | installer/scripts/setup.bat | installer/scripts/setup.bat | Batchfile |
<|file_sep|>original/metadata/com.example.muzei.muzeiapod.txt
Source Code:https://github.com/igoralmeida/muzei-apod
Issue Tracker:https://github.com/igoralmeida/muzei-apod/issues
Auto Name:NASA APOD for Muzei
Summary:NASA Astronomy Picture of the Day for Muzei
Description:
Show NASA's Astronomy Picture of the Day in [... | Summary:NASA Astronomy Picture of the Day for Muzei
Description:
Show NASA's Astronomy Picture of the Day in [[net.nurik.roman.muzei]].
.
Repo Type:git
Repo:https://github.com/igoralmeida/muzei-apod
Build:0.1,1
commit=91477d1d6572bcad2f6b8e13bb2027b254098756
gradle=yes
Build:0.1.1,2
commit=1e9668ed3f4c79... | <|file_sep|>original/metadata/com.example.muzei.muzeiapod.txt
Source Code:https://github.com/igoralmeida/muzei-apod
Issue Tracker:https://github.com/igoralmeida/muzei-apod/issues
Auto Name:NASA APOD for Muzei
Summary:NASA Astronomy Picture of the Day for Muzei
Description:
Show NASA's Astronomy Picture of the Day in [... | 0bccf80a6dc775165bc727c28e7873d205c3b11d | metadata/com.example.muzei.muzeiapod.txt | metadata/com.example.muzei.muzeiapod.txt | Text |
<|file_sep|>original/kernels/bench.sh
<|file_sep|>current/kernels/bench.sh
<|file_sep|>updated/kernels/bench.sh | #!/bin/bash
TIMEFORMAT='%3R'
ITERATIONS=2
function bench_base(){
min=0.0
/tmp/ramdrive/dev/eddic/bin/eddic --quiet --O$1 $2
for i in `seq 1 $ITERATIONS`
do
{ time ./a.out ; } 2> tmp
result=`cat tmp`
if [[ $result < $min ]]
then
min=$result
fi | <|file_sep|>original/kernels/bench.sh
<|file_sep|>current/kernels/bench.sh
<|file_sep|>updated/kernels/bench.sh
#!/bin/bash
TIMEFORMAT='%3R'
ITERATIONS=2
function bench_base(){
min=0.0
/tmp/ramdrive/dev/eddic/bin/eddic --quiet --O$1 $2
for i in `seq 1 $ITERATIONS`
do
{ time ./a.out ; } 2>... | 0ceb29ead0d576b29850db1561658a5649c61a88 | kernels/bench.sh | kernels/bench.sh | Shell |
<|file_sep|>original/cc/license/formatters/rdfa.py
from cc.license.interfaces import ILicenseFormatter
import zope.interface
class Formatter(object):
zope.interface.implements(ILicenseFormatter)
id = "HTML + RDFa formatter"
def format(self, license, work_dict = {}, locale = 'en'):
"""Return a strin... | from cc.license.lib.interfaces import ILicenseFormatter
import zope.interface
class Formatter(object):
zope.interface.implements(ILicenseFormatter)
id = "HTML + RDFa formatter"
def format(self, license, work_dict = {}, locale = 'en'):
"""Return a string serialization for the license, optionally
... | <|file_sep|>original/cc/license/formatters/rdfa.py
from cc.license.interfaces import ILicenseFormatter
import zope.interface
class Formatter(object):
zope.interface.implements(ILicenseFormatter)
id = "HTML + RDFa formatter"
def format(self, license, work_dict = {}, locale = 'en'):
"""Return a strin... | 8e01ce70a76811152a86c461fc7235a58dc7f5e3 | cc/license/formatters/rdfa.py | cc/license/formatters/rdfa.py | Python |
<|file_sep|>original/package.json
"url": "git://github.com/radiodan/client_web_example.git"
},
"keywords": [
"radiodan"
],
"author": "Dan Nuttall <dan.nuttall@bbc.co.uk>",
"license": "Apache-2",
"bugs": {
"url": "https://github.com/radiodan/client_web_example/issues"
},
"homepage": "https://... | "url": "git://github.com/radiodan/client_web_example.git"
},
"keywords": [
"radiodan"
],
"author": "Dan Nuttall <dan.nuttall@bbc.co.uk>",
"license": "Apache-2",
"bugs": {
"url": "https://github.com/radiodan/client_web_example/issues"
},
"homepage": "https://github.com/radiodan/client_web_exa... | <|file_sep|>original/package.json
"url": "git://github.com/radiodan/client_web_example.git"
},
"keywords": [
"radiodan"
],
"author": "Dan Nuttall <dan.nuttall@bbc.co.uk>",
"license": "Apache-2",
"bugs": {
"url": "https://github.com/radiodan/client_web_example/issues"
},
"homepage": "https://... | cf4c040bb632155a5487521bc92f9a089996bd05 | package.json | package.json | JSON |
<|file_sep|>original/app/Http/Controllers/Auth/FacebookController.php
class FacebookController extends Controller
{
public function token(Guard $auth)
{
try {
$accessToken = $auth->facebookAuth(Input::get('code'));
return response()->json([
'user' => [
... | class FacebookController extends Controller
{
public function token(Guard $auth)
{
try {
$accessToken = $auth->facebookAuth(Input::get('code'));
return response()->json([
'user' => [
'name' => Auth::user()->name,
'facebookI... | <|file_sep|>original/app/Http/Controllers/Auth/FacebookController.php
class FacebookController extends Controller
{
public function token(Guard $auth)
{
try {
$accessToken = $auth->facebookAuth(Input::get('code'));
return response()->json([
'user' => [
... | 54d6ef5cc133bc88051afca4e47f214747f1d368 | app/Http/Controllers/Auth/FacebookController.php | app/Http/Controllers/Auth/FacebookController.php | PHP |
<|file_sep|>original/Casks/xscope.rb
cask :v1 => 'xscope' do
version '4.1.4'
sha256 '6617f7ec94e22d3e1e137bf6386188c827575e7778f8d1d69dce8817efa752f2'
url "https://iconfactory.com/assets/software/xscope/xScope-#{version}.zip"
appcast 'https://iconfactory.com/appcasts/xScope/appcast.xml',
:sha256 => '... | cask :v1 => 'xscope' do
version '4.1.4'
sha256 'd9f1eab342b885277344829eb7b10fa636b76991a9367fb2319f32a48a386ea2'
url "https://iconfactory.com/assets/software/xscope/xScope-#{version}.zip"
appcast 'https://iconfactory.com/appcasts/xScope/appcast.xml',
:sha256 => '29eaf2c30992f4c72e4a98d96ce912a1cfde1... | <|file_sep|>original/Casks/xscope.rb
cask :v1 => 'xscope' do
version '4.1.4'
sha256 '6617f7ec94e22d3e1e137bf6386188c827575e7778f8d1d69dce8817efa752f2'
url "https://iconfactory.com/assets/software/xscope/xScope-#{version}.zip"
appcast 'https://iconfactory.com/appcasts/xScope/appcast.xml',
:sha256 => '... | eb2adee3c086bc7f1f5b3a5517dda26fd74a86bc | Casks/xscope.rb | Casks/xscope.rb | Ruby |
<|file_sep|>package.json.diff
original:
"bugs": { "url": "https://github.com/risacher/ttyx/issues" },
"keywords": ["tty", "terminal", "term", "xterm", "ttyx"],
"tags": ["tty", "terminal", "term", "xterm", "ttyx"],
updated:
"bugs": {
"url": "https://github.com/risacher/ttyx/issues"
},
"keywords": [
"... | "ttyx"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Dan Risacher, dan@risacher.org",
"license": "MIT",
"dependencies": {
"express": "^4.14.0",
"express-favicon": "^2.0.0",
"ffi": "^2.2.0",
"pty.js": "^0.3.1",
"ref": "^1.3.3",
"ref-array"... | <|file_sep|>package.json.diff
original:
"bugs": { "url": "https://github.com/risacher/ttyx/issues" },
"keywords": ["tty", "terminal", "term", "xterm", "ttyx"],
"tags": ["tty", "terminal", "term", "xterm", "ttyx"],
updated:
"bugs": {
"url": "https://github.com/risacher/ttyx/issues"
},
"keywords": [
"... | 85d00582f1213174c8c41e1cdd4579aa35454c38 | package.json | package.json | JSON |
<|file_sep|>original/project/plugins.sbt
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-... | // Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.3")
addSbtPlugin("com.eed... | <|file_sep|>original/project/plugins.sbt
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("com.typesafe.play" % "sbt-... | 4d19dc6cc30902b3c737ae9ac30aef1700213901 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>database/import-sql.sh.diff
original:
for file in $( ls *.sql )
do
pre_dot=${file%%.*}
mysql_cmd='SHOW TABLES FROM `'$pre_dot'`' # Required to support hypens in database names
db_exist=`mysql -u root -pblank --skip-column-names -e "$mysql_cmd"`
if [ "$?" != "0" ]
updated:
if [ -f /srv/databases/backups/*.sq... | pre_dot=${file%%.*}
mysql_cmd='SHOW TABLES FROM `'$pre_dot'`' # Required to support hypens in database names
db_exist=`mysql -u root -pblank --skip-column-names -e "$mysql_cmd"`
if [ "$?" != "0" ]
then
printf "Error - Create $pre_dot database via init-custom.sql before attempting import\n\n"
else
if [ "" == "... | <|file_sep|>database/import-sql.sh.diff
original:
for file in $( ls *.sql )
do
pre_dot=${file%%.*}
mysql_cmd='SHOW TABLES FROM `'$pre_dot'`' # Required to support hypens in database names
db_exist=`mysql -u root -pblank --skip-column-names -e "$mysql_cmd"`
if [ "$?" != "0" ]
updated:
if [ -f /srv/databases/backups/*.sq... | 81c87622217bcc71ffd3daaff5f42671a37c4e7c | database/import-sql.sh | database/import-sql.sh | Shell |
<|file_sep|>original/requirements/prod.txt
Flask==0.12.2
MarkupSafe==1.0
Werkzeug==0.12.2
Jinja2==2.9.6
itsdangerous==0.24
click>=5.0
# Database
Flask-SQLAlchemy==2.2
psycopg2==2.7.3.1
SQLAlchemy==1.1.13
# Migrations
Flask-Migrate==2.1.0
# Forms
Flask-WTF==0.14.2
WTForms==2.1
# Deployment
gunicorn>=19.1.1
<|file_se... | Flask==0.12.2
MarkupSafe==1.0
Werkzeug==0.12.2
Jinja2==2.9.6
itsdangerous==0.24
click>=5.0
# Database
Flask-SQLAlchemy==2.2
psycopg2==2.7.3.1
SQLAlchemy==1.2.11
# Migrations
Flask-Migrate==2.1.0
# Forms
Flask-WTF==0.14.2
WTForms==2.1
# Deployment
gunicorn>=19.1.1 | <|file_sep|>original/requirements/prod.txt
Flask==0.12.2
MarkupSafe==1.0
Werkzeug==0.12.2
Jinja2==2.9.6
itsdangerous==0.24
click>=5.0
# Database
Flask-SQLAlchemy==2.2
psycopg2==2.7.3.1
SQLAlchemy==1.1.13
# Migrations
Flask-Migrate==2.1.0
# Forms
Flask-WTF==0.14.2
WTForms==2.1
# Deployment
gunicorn>=19.1.1
<|file_se... | 5cb4c0430f65f5879583f264f2d1eda54c15076d | requirements/prod.txt | requirements/prod.txt | Text |
<|file_sep|>original/bean_counter.gemspec
Gem::Specification.new do |spec|
spec.name = 'bean_counter'
spec.version = BeanCounter::VERSION
spec.authors = ['gemeraldbeanstalk']
spec.email = ['gemeraldbeanstalk@gmail.com ']
spec.description = %q{Test::Unit assertions for Beaneater... | Gem::Specification.new do |spec|
spec.name = 'bean_counter'
spec.version = BeanCounter::VERSION
spec.authors = ['gemeraldbeanstalk']
spec.email = ['gemeraldbeanstalk@gmail.com ']
spec.description = %q{Test::Unit assertions for Beaneater}
spec.summary = %q{BeanCounter pr... | <|file_sep|>original/bean_counter.gemspec
Gem::Specification.new do |spec|
spec.name = 'bean_counter'
spec.version = BeanCounter::VERSION
spec.authors = ['gemeraldbeanstalk']
spec.email = ['gemeraldbeanstalk@gmail.com ']
spec.description = %q{Test::Unit assertions for Beaneater... | 81a59e98347dfe5c0010437c733d82f40b656f79 | bean_counter.gemspec | bean_counter.gemspec | Ruby |
<|file_sep|>original/release_notes/v2.4.0.md
<|file_sep|>current/release_notes/v2.4.0.md
<|file_sep|>updated/release_notes/v2.4.0.md | # Jasmine Py 2.4.0 Release Notes
## Changes
* Updates JS to Jasmine Core 2.4.0. See the
[jasmine-core release notes](https://github.com/jasmine/jasmine/blob/master/release_notes/2.4.0.md)
for details.
* Add support for randomizing spec run order
- Add flag for setting custom seed
* Update default Jasmine config wit... | <|file_sep|>original/release_notes/v2.4.0.md
<|file_sep|>current/release_notes/v2.4.0.md
<|file_sep|>updated/release_notes/v2.4.0.md
# Jasmine Py 2.4.0 Release Notes
## Changes
* Updates JS to Jasmine Core 2.4.0. See the
[jasmine-core release notes](https://github.com/jasmine/jasmine/blob/master/release_notes/2.4.0... | ea359a407a79ed5de8db8f4831ce35076096275b | release_notes/v2.4.0.md | release_notes/v2.4.0.md | Markdown |
<|file_sep|>original/test/integration/contract_test.rb
<|file_sep|>current/test/integration/contract_test.rb
<|file_sep|>updated/test/integration/contract_test.rb | # -*- coding: utf-8 -*-
require 'test_helper'
class ContractTest < ActionDispatch::IntegrationTest
test "Contract index should be exist" do
get "/contracts"
assert_select 'section.keiyaku a[href]', count:1
end
test "Teikan should be exist" do
get "/contracts/teikan"
assert_response :success
en... | <|file_sep|>original/test/integration/contract_test.rb
<|file_sep|>current/test/integration/contract_test.rb
<|file_sep|>updated/test/integration/contract_test.rb
# -*- coding: utf-8 -*-
require 'test_helper'
class ContractTest < ActionDispatch::IntegrationTest
test "Contract index should be exist" do
get "/co... | b3e3c80426afed58f633c3c53faee29a54459211 | test/integration/contract_test.rb | test/integration/contract_test.rb | Ruby |
<|file_sep|>src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java.diff
original:
updated:
int number = showHandler.getNumberOfRunningShows();
<|file_sep|>original/src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java
private final ShowHandler showHandler;
public Stopal... | private final ShowHandler showHandler;
public StopallCommand(ShowHandler showHandler) {
this.showHandler = showHandler;
}
@Override
public void run(CommandSender sender, String[] args)
throws WrongArgumentsNumberException, UnsupportedEncodingException {
if (args.length == 0) {
... | <|file_sep|>src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java.diff
original:
updated:
int number = showHandler.getNumberOfRunningShows();
<|file_sep|>original/src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java
private final ShowHandler showHandler;
public Stopal... | 01658167ee891257737b787d58b815dbbf1292f0 | src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java | src/main/java/net/omniscimus/fireworks/commands/StopallCommand.java | Java |
<|file_sep|>original/.travis.yml
language: clojure
lein: lein2
script:
- lein2 midje
- lein2 eastwood
branches:
only:
- master
- dev
jdk:
- oraclejdk8
services:
- redis
notifications:
hipchat:
rooms:
- ec1ead2b384476ea5bcb232b5bb9b6@Snooty Monkey
<|file_sep|>current/.travis.yml
language: c... | sudo: false
language: clojure
lein: lein2
script:
- lein2 midje
- lein2 eastwood
branches:
only:
- master
- dev
jdk:
- oraclejdk8
services:
- redis
notifications:
hipchat:
rooms:
- ec1ead2b384476ea5bcb232b5bb9b6@Snooty Monkey | <|file_sep|>original/.travis.yml
language: clojure
lein: lein2
script:
- lein2 midje
- lein2 eastwood
branches:
only:
- master
- dev
jdk:
- oraclejdk8
services:
- redis
notifications:
hipchat:
rooms:
- ec1ead2b384476ea5bcb232b5bb9b6@Snooty Monkey
<|file_sep|>current/.travis.yml
language: c... | 962e832b19a8bcf3a04c565d8c82832ddc41690a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/BBBAPI/BBBAPI/Classes/BBAAPIErrors.h
* Used when server cannot find a resource and returns 404
*/
BBAAPIErrorNotFound = 703,
/**
* Used when server returns 500
*/
BBAAPIServerError = 704,
/**
* Used when server returns 403
*/
BBAAPIErrorForbidden... | * Used when server returns 500
*/
BBAAPIServerError = 704,
/**
* Used when server returns 403
*/
BBAAPIErrorForbidden = 705,
/**
* Used when we cannot decode or read data returned from the server
*/
BBAAPIUnreadableData = 706,
/**
* Used when the server ret... | <|file_sep|>original/BBBAPI/BBBAPI/Classes/BBAAPIErrors.h
* Used when server cannot find a resource and returns 404
*/
BBAAPIErrorNotFound = 703,
/**
* Used when server returns 500
*/
BBAAPIServerError = 704,
/**
* Used when server returns 403
*/
BBAAPIErrorForbidden... | ee1c651b874656b27267266797d6fb693764c621 | BBBAPI/BBBAPI/Classes/BBAAPIErrors.h | BBBAPI/BBBAPI/Classes/BBAAPIErrors.h | C |
<|file_sep|>original/scss/skins/_jwShowcase.scss
}
.jw-display-icon-container > .jw-icon {
padding-left: 4px;
color: $primary-color;
font-size: 1.7em;
}
}
.jw-progress {
background-color: $primary-color;
}
.jw-button-color {
... | }
.jw-display-icon-container > .jw-icon {
padding-left: 4px;
color: $primary-color;
font-size: 1.7em;
}
}
&.jw-state-buffering .jw-display-icon-container {
background: none;
.jw-button-color:hover {
color: $white;
... | <|file_sep|>original/scss/skins/_jwShowcase.scss
}
.jw-display-icon-container > .jw-icon {
padding-left: 4px;
color: $primary-color;
font-size: 1.7em;
}
}
.jw-progress {
background-color: $primary-color;
}
.jw-button-color {
... | 2f2fe12f7dab4181309a53c392899e28c13be172 | scss/skins/_jwShowcase.scss | scss/skins/_jwShowcase.scss | SCSS |
<|file_sep|>original/scipy/io/matlab/setup.py
#!/usr/bin/env python
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('matlab', parent_package, top_path)
config.add_data_dir('tests')
return config
if __name__ == '__main__':
... | #!/usr/bin/env python
def configuration(parent_package='io',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('matlab', parent_package, top_path)
config.add_data_dir('tests')
return config
if __name__ == '__main__':
from numpy.distutils.core import setup
... | <|file_sep|>original/scipy/io/matlab/setup.py
#!/usr/bin/env python
def configuration(parent_package='',top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('matlab', parent_package, top_path)
config.add_data_dir('tests')
return config
if __name__ == '__main__':
... | 37ddf8b41ee770a27c4eb59d27fc74fea60faaee | scipy/io/matlab/setup.py | scipy/io/matlab/setup.py | Python |
<|file_sep|>original/asw2016-demo/asw2016-demo-webapp/src/main/java/de/asw/courses/web2016/demo/backend/el/ElExampleResource.java
<|file_sep|>current/asw2016-demo/asw2016-demo-webapp/src/main/java/de/asw/courses/web2016/demo/backend/el/ElExampleResource.java
<|file_sep|>updated/asw2016-demo/asw2016-demo-webapp/src/ma... | package de.asw.courses.web2016.demo.backend.el;
import javax.el.ELContext;
import javax.el.ELManager;
import javax.el.ELProcessor;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
@Path("/el")
public class ElExampleResource {
@GET
public String evaluatePath() {
Person person = new Person("Luke", new Address("Ta... | <|file_sep|>original/asw2016-demo/asw2016-demo-webapp/src/main/java/de/asw/courses/web2016/demo/backend/el/ElExampleResource.java
<|file_sep|>current/asw2016-demo/asw2016-demo-webapp/src/main/java/de/asw/courses/web2016/demo/backend/el/ElExampleResource.java
<|file_sep|>updated/asw2016-demo/asw2016-demo-webapp/src/ma... | 2e4daa0aaece1db5bacac265e68f5ec4980cbc7e | asw2016-demo/asw2016-demo-webapp/src/main/java/de/asw/courses/web2016/demo/backend/el/ElExampleResource.java | asw2016-demo/asw2016-demo-webapp/src/main/java/de/asw/courses/web2016/demo/backend/el/ElExampleResource.java | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.