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/requirements.txt
base58==0.2.4
botocore==1.4.70
boto3==1.4.1
docutils==0.12
futures==3.0.5
hjson==2.0.2
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.10.0
python-dateutil==2.6.0
python-slugify==1.2.1
requests>=2.10.0
six==1.10.0
tqdm==4.9.0
troposphere==1.8.2
Werkzeug==0.11.11
wheel==0.29.0
wsgi-... | base58==0.2.4
botocore==1.4.71
boto3==1.4.1
docutils==0.12
futures==3.0.5
hjson==2.0.2
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.10.0
python-dateutil==2.6.0
python-slugify==1.2.1
requests>=2.10.0
six==1.10.0
tqdm==4.9.0
troposphere==1.8.2
Werkzeug==0.11.11
wheel==0.29.0
wsgi-request-logger==0.4.6 | <|file_sep|>original/requirements.txt
base58==0.2.4
botocore==1.4.70
boto3==1.4.1
docutils==0.12
futures==3.0.5
hjson==2.0.2
jmespath==0.9.0
kappa==0.6.0
lambda-packages==0.10.0
python-dateutil==2.6.0
python-slugify==1.2.1
requests>=2.10.0
six==1.10.0
tqdm==4.9.0
troposphere==1.8.2
Werkzeug==0.11.11
wheel==0.29.0
wsgi-... | c7456b65581faebf4b27e0990eb1fcb03b6786a2 | requirements.txt | requirements.txt | Text |
<|file_sep|>client/js/controllers/index-controller.js.diff
original:
updated:
progressbar.start();
<|file_sep|>original/client/js/controllers/index-controller.js
"use strict";
var IndexController = function($scope, analytics, navigation, progressbar, search) {
$scope.searchQuery = "";
$scope.search = function() {
... | "use strict";
var IndexController = function($scope, analytics, navigation, progressbar, search) {
$scope.searchQuery = "";
progressbar.start();
$scope.search = function() {
if ($scope.searchQuery.trim().length === 0) {
navigation.toEntry("the-narrows");
} else {
search.search($scope.searchQuery);
}
};... | <|file_sep|>client/js/controllers/index-controller.js.diff
original:
updated:
progressbar.start();
<|file_sep|>original/client/js/controllers/index-controller.js
"use strict";
var IndexController = function($scope, analytics, navigation, progressbar, search) {
$scope.searchQuery = "";
$scope.search = function() {
... | cb4c27d7b90b1e525db8eef3b5f9b72a29efd6c1 | client/js/controllers/index-controller.js | client/js/controllers/index-controller.js | JavaScript |
<|file_sep|>original/.travis.yml
---
language: node_js
node_js: node
sudo: false
script: npm test
<|file_sep|>current/.travis.yml
---
language: node_js
node_js: node
sudo: false
script: npm test
<|file_sep|>updated/.travis.yml | ---
language: node_js
node_js: node
sudo: false
script:
- npm test
- npm run lint
- npm run licenses
- npm run depcheck
- npm run nsp | <|file_sep|>original/.travis.yml
---
language: node_js
node_js: node
sudo: false
script: npm test
<|file_sep|>current/.travis.yml
---
language: node_js
node_js: node
sudo: false
script: npm test
<|file_sep|>updated/.travis.yml
---
language: node_js
node_js: node
sudo: false
script:
- npm test
- npm run lint
- npm run l... | effddcdb6aa4907b32eff47abd5ac4205f85f84e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/tasks/acme/debugging-failing-orders.rst
========================
Debugging failing Orders
========================
<|file_sep|>current/docs/tasks/acme/debugging-failing-orders.rst
========================
Debugging failing Orders
========================
<|file_sep|>updated/docs/tasks/acme/deb... | ========================
Debugging failing Orders
========================
This guide is still in the process of being written.
Please check the :doc:`Order resource reference docs </reference/orders>` to
understand how to debug ACME Orders & Challenges when you are having issues.
Common problems
===============
..... | <|file_sep|>original/docs/tasks/acme/debugging-failing-orders.rst
========================
Debugging failing Orders
========================
<|file_sep|>current/docs/tasks/acme/debugging-failing-orders.rst
========================
Debugging failing Orders
========================
<|file_sep|>updated/docs/tasks/acme/deb... | 8df9cb5be26468e97f89361bc2870549ad835192 | docs/tasks/acme/debugging-failing-orders.rst | docs/tasks/acme/debugging-failing-orders.rst | reStructuredText |
<|file_sep|>original/app/routes/project/tasks/task.js
model(params) {
let projectId = this.modelFor('project').id;
let { number } = params;
return this.store.queryRecord('task', { projectId, number });
},
setupController(controller, task) {
let user = this.get('currentUser.user');
let newCom... | model(params) {
let projectId = this.modelFor('project').id;
let { number } = params;
return this.store.queryRecord('task', { projectId, number });
},
setupController(controller, task) {
let user = this.get('currentUser.user');
let newComment = this.store.createRecord('comment', { user });
... | <|file_sep|>original/app/routes/project/tasks/task.js
model(params) {
let projectId = this.modelFor('project').id;
let { number } = params;
return this.store.queryRecord('task', { projectId, number });
},
setupController(controller, task) {
let user = this.get('currentUser.user');
let newCom... | 819eb850191f68dc8667925a667f6763b2292347 | app/routes/project/tasks/task.js | app/routes/project/tasks/task.js | JavaScript |
<|file_sep|>original/README.md
# Random Youtube Video
This code is in charge of @randomytvideo, a Twitter bot that posts a link to a random YouTube video every half hour.
<|file_sep|>current/README.md
# Random Youtube Video
This code is in charge of @randomytvideo, a Twitter bot that posts a link to a random YouTube vi... | # Random Youtube Video
This code is in charge of [@randomytvideo](https://twitter.com/randomytvideo), a Twitter bot that posts a link to a random YouTube video every half hour. | <|file_sep|>original/README.md
# Random Youtube Video
This code is in charge of @randomytvideo, a Twitter bot that posts a link to a random YouTube video every half hour.
<|file_sep|>current/README.md
# Random Youtube Video
This code is in charge of @randomytvideo, a Twitter bot that posts a link to a random YouTube vi... | 2706b9ee69b36b28ae3db84cefdc3c8696aca1a3 | README.md | README.md | Markdown |
<|file_sep|>original/cmsplugin_date/templates/cms/plugins/date.html
{% load i18n %}
<h2>{{ object.title }}</h2>
{% if object.image %}
{% if link %}<a href="{{ link }}">{% endif %}
<img src="{{ object.image.url }}" alt="{{ object.title }}"/>
{% if link %}</a>{% endif %}
{% endif %}
{% if object.description %}
<p>{{ ... | {{ object.date }} | <|file_sep|>original/cmsplugin_date/templates/cms/plugins/date.html
{% load i18n %}
<h2>{{ object.title }}</h2>
{% if object.image %}
{% if link %}<a href="{{ link }}">{% endif %}
<img src="{{ object.image.url }}" alt="{{ object.title }}"/>
{% if link %}</a>{% endif %}
{% endif %}
{% if object.description %}
<p>{{ ... | acb4ef6b3d9f8a61efaeedee8a0410436a56616b | cmsplugin_date/templates/cms/plugins/date.html | cmsplugin_date/templates/cms/plugins/date.html | HTML |
<|file_sep|>original/.travis.yml
language:
- python
- node_js
node_js:
- "0.10"
python:
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- npm install
- pip install -r requirements.txt --use-mirrors
- pip install flake8 --use-mirrors
# c... | language:
- python
- node_js
node_js:
- "0.10"
python:
- "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- npm install
- pip install -r requirements.txt --use-mirrors
- pip install flake8 --use-mirrors
# command to run tests, e.g. python setup.py t... | <|file_sep|>original/.travis.yml
language:
- python
- node_js
node_js:
- "0.10"
python:
- "2.7"
- "2.6"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- npm install
- pip install -r requirements.txt --use-mirrors
- pip install flake8 --use-mirrors
# c... | 546d1c619469fd232d3839b501f5f7c7dacaf256 | .travis.yml | .travis.yml | YAML |
<|file_sep|>unittests/mixer_test.cpp.diff
original:
updated:
int ret;
<|file_sep|>unittests/mixer_test.cpp.diff
original:
char* args[] = {argv[0], "../../ROMFS/px4fmu_common/mixers/IO_pass.mix",
"../../ROMFS/px4fmu_common/mixers/FMU_quad_w.mix"};
updated:
char* args[] = {argv[0], "../ROMFS/px4fmu_common/mixe... | #include <systemlib/mixer/mixer.h>
#include <systemlib/err.h>
#include "../../src/systemcmds/tests/tests.h"
int main(int argc, char *argv[]) {
int ret;
warnx("Host execution started");
char* args[] = {argv[0], "../ROMFS/px4fmu_common/mixers/IO_pass.mix",
"../ROMFS/px4fmu_common/mixers/FMU_quad_w.mix"};
if... | <|file_sep|>unittests/mixer_test.cpp.diff
original:
updated:
int ret;
<|file_sep|>unittests/mixer_test.cpp.diff
original:
char* args[] = {argv[0], "../../ROMFS/px4fmu_common/mixers/IO_pass.mix",
"../../ROMFS/px4fmu_common/mixers/FMU_quad_w.mix"};
updated:
char* args[] = {argv[0], "../ROMFS/px4fmu_common/mixe... | 55112fd0169b941a0d6fab21d4a11ddfcdc0c577 | unittests/mixer_test.cpp | unittests/mixer_test.cpp | C++ |
<|file_sep|>original/src/test/groovy/Base64Test.groovy
// turn the bytes back into a string for later comparison
testString = new String(testBytes, "ISO-8859-1")
// encode the bytes as base64. This produces a Writable object convert it to a String
encodedBytes = testBytes.encodeBase64().to... | testString ="1234567890-=!@$%^&*()_+qwertyuiop[]QWERTYUIOP{}asdfghjkl;'\\ASDFGHJKL:\"|`zxcvbnm,./~ZXCVBNM<>?\u0000\u00ff\u00f0\u000f"
// get a byte array using the least significant eigth bits of each caharacter
testBytes = testString.getBytes("ISO-8859-1")
// turn the bytes back into a string f... | <|file_sep|>original/src/test/groovy/Base64Test.groovy
// turn the bytes back into a string for later comparison
testString = new String(testBytes, "ISO-8859-1")
// encode the bytes as base64. This produces a Writable object convert it to a String
encodedBytes = testBytes.encodeBase64().to... | 27be41a5a66bb49a063fffe50a21a1bcfa5615a7 | src/test/groovy/Base64Test.groovy | src/test/groovy/Base64Test.groovy | Groovy |
<|file_sep|>original/spec/features/category_spec.rb
RSpec.feature 'Category', type: :feature do
describe 'when a category is assigned to tags' do
let!(:ada) {FactoryBot.create(:published, topic_list: ['fruehling'])}
let!(:pierre){FactoryBot.create(:published, topic_list: ['fruehling', 'sommer'])}
let(:ta... | RSpec.feature 'Category', type: :feature do
describe 'when a category is assigned to tags' do
let!(:ada) {FactoryBot.create(:published, topic_list: ['fruehling'])}
let!(:pierre){FactoryBot.create(:published, topic_list: ['fruehling', 'sommer'])}
let(:tag_fruehling) {ActsAsTaggableOn::Tag.find_by_name('fr... | <|file_sep|>original/spec/features/category_spec.rb
RSpec.feature 'Category', type: :feature do
describe 'when a category is assigned to tags' do
let!(:ada) {FactoryBot.create(:published, topic_list: ['fruehling'])}
let!(:pierre){FactoryBot.create(:published, topic_list: ['fruehling', 'sommer'])}
let(:ta... | defe582f134338aa91afb95a925035c76302df00 | spec/features/category_spec.rb | spec/features/category_spec.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- make cudd
updated:
- make -e cudd
<|file_sep|>original/.travis.yml
language: c
compiler:
- gcc
- clang
install:
- ./get-deps.sh
- make cudd
script:
- make all
- make check
notifications:
email: false
<|file_sep|>current/.travis.yml
language: c
compiler:
- g... | language: c
compiler:
- gcc
- clang
install:
- ./get-deps.sh
- make -e cudd
script:
- make -e all
- make -e check
notifications:
email: false | <|file_sep|>.travis.yml.diff
original:
- make cudd
updated:
- make -e cudd
<|file_sep|>original/.travis.yml
language: c
compiler:
- gcc
- clang
install:
- ./get-deps.sh
- make cudd
script:
- make all
- make check
notifications:
email: false
<|file_sep|>current/.travis.yml
language: c
compiler:
- g... | dbacc95e1c3dfd3ea7a928cc372d933eaf9ac793 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/_includes/get-data.htm
{% for tab in site.data.tabs.fruits %}
|{{ tab.fruitNameEn }}|{:class="img-responsive"}{:height="32px" width="32px"}|{{ tab.fruitNameEs }}|
{% endfor %}
<|file_sep|>current/docs/_includes/get-data.htm
{% for tab in site.data.tabs.... | {% for tab in site.data.tabs.fruits %}
|{{ tab.fruitNameEn }}|{:class="img-responsive"}{:height="32px" width="32px"}|{{ tab.fruitNameEs }}|
{% endfor %} | <|file_sep|>original/docs/_includes/get-data.htm
{% for tab in site.data.tabs.fruits %}
|{{ tab.fruitNameEn }}|{:class="img-responsive"}{:height="32px" width="32px"}|{{ tab.fruitNameEs }}|
{% endfor %}
<|file_sep|>current/docs/_includes/get-data.htm
{% for tab in site.data.tabs.... | 86b72ae74d88c337d8bbf03899ab18c29a18ac2c | docs/_includes/get-data.htm | docs/_includes/get-data.htm | HTML |
<|file_sep|>original/contents/includes/buttons/buttons-types-ghost.html
<div class="cf nr2 nl2 mb3">
<div class="fl-ns w-50-ns ph2">
<p>
Ghost buttons are used with icons only.
</p>
<p>
Add a background if there is not enough cue that the button is actionable.
</p>
</div>
<div class="f... | <div class="cf nr2 nl2 mb3">
<div class="fl-ns w-50-ns ph2">
<p>
Ghost buttons include an icon with no accompanying text.
</p>
<p>
Add a background if there is not enough cue that the button is actionable.
</p>
</div>
<div class="fl-ns w-50-ns ph2">
<img class="db w-100-ns outline ... | <|file_sep|>original/contents/includes/buttons/buttons-types-ghost.html
<div class="cf nr2 nl2 mb3">
<div class="fl-ns w-50-ns ph2">
<p>
Ghost buttons are used with icons only.
</p>
<p>
Add a background if there is not enough cue that the button is actionable.
</p>
</div>
<div class="f... | 819843bae496b16fcb0dff8f26211dd7aaa47004 | contents/includes/buttons/buttons-types-ghost.html | contents/includes/buttons/buttons-types-ghost.html | HTML |
<|file_sep|>SSPSolution/SSPSolution/LevelState.cpp.diff
original:
updated:
GraphicsComponent* tempComp = this->m_cHandler->GetGraphicsComponent();
<|file_sep|>SSPSolution/SSPSolution/LevelState.cpp.diff
original:
updated:
tempComp->active = 1;
tempComp->modelID = 1337;
tempComp->worldMatrix = DirectX::XMMatrixIde... |
//Read from file
//Get Components
GraphicsComponent* tempComp = this->m_cHandler->GetGraphicsComponent();
//Set Component values
tempComp->active = 1;
tempComp->modelID = 1337;
tempComp->worldMatrix = DirectX::XMMatrixIdentity();
//Give Components to entities
this->m_player1.Initialize();
return result;
}
i... | <|file_sep|>SSPSolution/SSPSolution/LevelState.cpp.diff
original:
updated:
GraphicsComponent* tempComp = this->m_cHandler->GetGraphicsComponent();
<|file_sep|>SSPSolution/SSPSolution/LevelState.cpp.diff
original:
updated:
tempComp->active = 1;
tempComp->modelID = 1337;
tempComp->worldMatrix = DirectX::XMMatrixIde... | 05dfd60217ac7ee0143bb080f02605ef167018ea | SSPSolution/SSPSolution/LevelState.cpp | SSPSolution/SSPSolution/LevelState.cpp | C++ |
<|file_sep|>app/assets/javascripts/git_import.js.diff
original:
updated:
TASK_POLL_TIMEOUT: 1500,
<|file_sep|>app/assets/javascripts/git_import.js.diff
original:
if (messages && messages.level === "error") {
updated:
if (messages && messages.level === 'error') {
<|file_sep|>original/app/assets/javas... | GitImport.pollForGitTaskCompletion(parsedData);
}
});
});
},
pollForGitTaskCompletion: function(gitData) {
$.get('check_git_task', gitData, function(data) {
var parsedData = JSON.parse(data);
if (parsedData.state) {
setTimeout(GitImport.pollForGitTaskCompletion, ... | <|file_sep|>app/assets/javascripts/git_import.js.diff
original:
updated:
TASK_POLL_TIMEOUT: 1500,
<|file_sep|>app/assets/javascripts/git_import.js.diff
original:
if (messages && messages.level === "error") {
updated:
if (messages && messages.level === 'error') {
<|file_sep|>original/app/assets/javas... | dbff1b629627610e45ed00d9f7bc9728ba6205e4 | app/assets/javascripts/git_import.js | app/assets/javascripts/git_import.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "ray-input",
"version": "0.1.2",
"description": "Cross platform VR input capabilities. For desktop, mobile, Cardboard, Daydream and Vive.",
"main": "src/ray-input.js",
"scripts": {
"build": "browserify --standalone RayInput -vdt [ babelify --presets [ es2015 ] ]... | {
"name": "ray-input",
"version": "0.1.2",
"description": "Cross platform VR input capabilities. For desktop, mobile, Cardboard, Daydream and Vive.",
"main": "src/ray-input.js",
"scripts": {
"build": "browserify --standalone RayInput -vdt [ babelify --presets [ es2015 ] ] src/ray-input.js -o build/ray.js ... | <|file_sep|>original/package.json
{
"name": "ray-input",
"version": "0.1.2",
"description": "Cross platform VR input capabilities. For desktop, mobile, Cardboard, Daydream and Vive.",
"main": "src/ray-input.js",
"scripts": {
"build": "browserify --standalone RayInput -vdt [ babelify --presets [ es2015 ] ]... | 7829682bdc2122f65fe2324b3e8e89cdf20342fb | package.json | package.json | JSON |
<|file_sep|>original/us_ignite/blog/admin.py
from django.contrib.auth.models import User
from us_ignite.common import sanitizer
from us_ignite.blog.models import BlogLink, Post, PostAttachment
from tinymce.widgets import TinyMCE
class PostAdminForm(forms.ModelForm):
author = forms.ModelChoiceField(
quer... | from django.contrib.auth.models import User
from us_ignite.common import sanitizer
from us_ignite.blog.models import BlogLink, Post, PostAttachment
from tinymce.widgets import TinyMCE
class PostAdminForm(forms.ModelForm):
author = forms.ModelChoiceField(
queryset=User.objects.filter(is_superuser=True), ... | <|file_sep|>original/us_ignite/blog/admin.py
from django.contrib.auth.models import User
from us_ignite.common import sanitizer
from us_ignite.blog.models import BlogLink, Post, PostAttachment
from tinymce.widgets import TinyMCE
class PostAdminForm(forms.ModelForm):
author = forms.ModelChoiceField(
quer... | 0a035a93666eb98b460d083e5dd822d7adb0614f | us_ignite/blog/admin.py | us_ignite/blog/admin.py | Python |
<|file_sep|>original/test/specs.coffee
require 'coffee-script/register'
require './setup'
{eachGroup} = require('../lib/specs_iterator')
eachGroup (group) ->
run = if group.pending then xdescribe else describe
run group.name, ->
group.specs.forEach (spec) ->
it spec.name, do (spec) -> ->
result... | require 'coffee-script/register'
require './setup'
{eachGroup} = require('../lib/specs_iterator')
eachGroup (group) ->
run = if group.pending then xdescribe else describe
run group.name, ->
group.specs.forEach (spec) ->
it spec.name, do (spec) -> ->
result = js2coffee(spec.input)
try
... | <|file_sep|>original/test/specs.coffee
require 'coffee-script/register'
require './setup'
{eachGroup} = require('../lib/specs_iterator')
eachGroup (group) ->
run = if group.pending then xdescribe else describe
run group.name, ->
group.specs.forEach (spec) ->
it spec.name, do (spec) -> ->
result... | f046ca2bc28e4fb41480c23686ccc470c4ec5ea3 | test/specs.coffee | test/specs.coffee | CoffeeScript |
<|file_sep|>original/workshops/templates/bootstrap4/whole_uni_form.html
<|file_sep|>current/workshops/templates/bootstrap4/whole_uni_form.html
<|file_sep|>updated/workshops/templates/bootstrap4/whole_uni_form.html | {% load crispy_forms_utils %}
{% specialspaceless %}
{% if form_tag %}<form {{ flat_attrs|safe }} method="{{ form_method }}" {% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>{% endif %}
{% if duplicate_buttons_on_top %}
{% include "bootstrap4/inputs.html" %}
{% endif %}
{% if fo... | <|file_sep|>original/workshops/templates/bootstrap4/whole_uni_form.html
<|file_sep|>current/workshops/templates/bootstrap4/whole_uni_form.html
<|file_sep|>updated/workshops/templates/bootstrap4/whole_uni_form.html
{% load crispy_forms_utils %}
{% specialspaceless %}
{% if form_tag %}<form {{ flat_attrs|safe }} metho... | 1368395fece6b8a58e370b458724996d43c07060 | workshops/templates/bootstrap4/whole_uni_form.html | workshops/templates/bootstrap4/whole_uni_form.html | HTML |
<|file_sep|>original/_drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md
<|file_sep|>current/_drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md
<|file_sep|>updated/_drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md | ---
layout: post
title: "Change Ruby on Rails database from PostgreSQL to MySQL"
date: 2018-05-25 08:30:00 +0800
categories: ruby rails postgresql mysql
tags: [ ruby, rails, postgresql, mysql ]
---
<p>My preferred database for developing Ruby on Rails application has always been
PostgreSQL but unfortunately I've rec... | <|file_sep|>original/_drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md
<|file_sep|>current/_drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md
<|file_sep|>updated/_drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md
---
layout: post
title: "Change Ruby on Rails dat... | 44ef59470de3c03d8ea97c716dd2f1db1354323b | _drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md | _drafts/2018-02-25-change-rails-database-from-postgresql-to-mysql.md | Markdown |
<|file_sep|>original/.travis.yml
after_script: bash <(curl -s https://codecov.io/bash)
sudo: false
deploy:
- provider: npm
skip_cleanup: true
email: tituswormer@gmail.com
api_key:
secure: PCWvrojD+Q2aXU16SscuTLh6+QHpam49PtXCMasr5HgRth4TL7DHotK3dtGNOs+CE5WgUCbpXc49MKz8Hbb4aU6Tv0jaVPqW6UCf1Z/QkfDrs4n1... | language: node_js
node_js:
- '4.0'
- '9.0'
after_script: bash <(curl -s https://codecov.io/bash)
sudo: false
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: BKjnHlfFBAArikqXStceLfDQD4P+zSer83O9fumSplDQNVIz6qJoDn1tlVQQ1+OcQKYbtiLtsHnTx1Ml5I6TthLwJKhnB2N6SQurDe25BH5cnmS4oU7rMoLj0ohZjixNdrxsH5s7B4... | <|file_sep|>original/.travis.yml
after_script: bash <(curl -s https://codecov.io/bash)
sudo: false
deploy:
- provider: npm
skip_cleanup: true
email: tituswormer@gmail.com
api_key:
secure: PCWvrojD+Q2aXU16SscuTLh6+QHpam49PtXCMasr5HgRth4TL7DHotK3dtGNOs+CE5WgUCbpXc49MKz8Hbb4aU6Tv0jaVPqW6UCf1Z/QkfDrs4n1... | f660cf684f3b4269ccb1fcbe6255d2c0a6fefda1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/dummy/db/schema.rb
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and uns... | # Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# yo... | <|file_sep|>original/spec/dummy/db/schema.rb
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and uns... | e0e171e37f344c35f8fd102ae34f42b51c212171 | spec/dummy/db/schema.rb | spec/dummy/db/schema.rb | Ruby |
<|file_sep|>original/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb
SUMMARY = "Twisted Web Sockets"
HOMEPAGE = "https://github.com/MostAwesomeDude/txWS"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8"
DEPENDS = "python-twisted python-six python-vcvers... | SUMMARY = "Twisted Web Sockets"
HOMEPAGE = "https://github.com/MostAwesomeDude/txWS"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8"
DEPENDS = "python-twisted python-six python-vcversioner python-six-native python-vcversioner-native"
SRC_URI = "git://github.com/MostAwe... | <|file_sep|>original/meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb
SUMMARY = "Twisted Web Sockets"
HOMEPAGE = "https://github.com/MostAwesomeDude/txWS"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8"
DEPENDS = "python-twisted python-six python-vcvers... | 645018e0ee4f1cb1b5f0e11550b3a05c91b4f070 | meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb | meta-python/recipes-connectivity/python-txws/python-txws_0.9.1.bb | BitBake |
<|file_sep|>original/vim/bundle/vim-images/autoload/vimages.vim
" vim-images.vim - Image pasting for vim
" Maintainer: Blake Taylor <http://blakefrost.com/>
" Version: 0.1
if exists("g:loaded_vimages") || &cp
finish
endif
let g:loaded_vimages = 1
let g:images_root = '/Users/blake/images/' "TODO: Inject this
... | " vim-images.vim - Image pasting for vim
" Maintainer: Blake Taylor <http://blakefrost.com/>
" Version: 0.1
if exists("g:loaded_vimages") || &cp
finish
endif
let g:loaded_vimages = 1
if !exists("g:images_root")
let g:images_root = expand('~/images/')
endif
function! s:warn(msg)
echohl WarningMsg
echom... | <|file_sep|>original/vim/bundle/vim-images/autoload/vimages.vim
" vim-images.vim - Image pasting for vim
" Maintainer: Blake Taylor <http://blakefrost.com/>
" Version: 0.1
if exists("g:loaded_vimages") || &cp
finish
endif
let g:loaded_vimages = 1
let g:images_root = '/Users/blake/images/' "TODO: Inject this
... | e3ed13f8054b085fc4f6bc8d4a1166ac7ff12535 | vim/bundle/vim-images/autoload/vimages.vim | vim/bundle/vim-images/autoload/vimages.vim | VimL |
<|file_sep|>original/.github/workflows/enforce-label.yml
<|file_sep|>current/.github/workflows/enforce-label.yml
<|file_sep|>updated/.github/workflows/enforce-label.yml | name: Enforce PR label
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: enforce-triage-label
uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1 | <|file_sep|>original/.github/workflows/enforce-label.yml
<|file_sep|>current/.github/workflows/enforce-label.yml
<|file_sep|>updated/.github/workflows/enforce-label.yml
name: Enforce PR label
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-l... | ad17d5f5c35e562d9423f93afdb00dee687d5c9f | .github/workflows/enforce-label.yml | .github/workflows/enforce-label.yml | YAML |
<|file_sep|>src/ProjetWeb/ClassiqueBundle/Resources/views/Musicien/view.html.twig.diff
original:
{% extends "ProjetWebHomeBundle::layout.html.twig" %}
updated:
{% extends "ProjetWebClassiqueBundle::layout.html.twig" %}
<|file_sep|>original/src/ProjetWeb/ClassiqueBundle/Resources/views/Musicien/view.html.twig
{% extends... | {% extends "ProjetWebClassiqueBundle::layout.html.twig" %}
{% block title %}
Fiche d'un musicien - {{ parent() }}
{% endblock %}
{% block classiqueweb_body %}
Voici le musicien de code {{ musicien.codeMusicien }} <br>
de nom {{ musicien.nomMusicien }} <br>
de prénom {{ musicien.prénomMusicien }}
{% e... | <|file_sep|>src/ProjetWeb/ClassiqueBundle/Resources/views/Musicien/view.html.twig.diff
original:
{% extends "ProjetWebHomeBundle::layout.html.twig" %}
updated:
{% extends "ProjetWebClassiqueBundle::layout.html.twig" %}
<|file_sep|>original/src/ProjetWeb/ClassiqueBundle/Resources/views/Musicien/view.html.twig
{% extends... | e9243ec3c4eeaf5aa0f17bcf3184207084fd5662 | src/ProjetWeb/ClassiqueBundle/Resources/views/Musicien/view.html.twig | src/ProjetWeb/ClassiqueBundle/Resources/views/Musicien/view.html.twig | Twig |
<|file_sep|>lib/views/user/_show_user_info.html.erb.diff
original:
<% if @is_you %>
updated:
<% if @is_you %>
<|file_sep|>original/lib/views/user/_show_user_info.html.erb
<% if !@display_user.get_about_me_for_html_display.empty? || @is_you %>
<div class="user_about_me">
<img class="comme... |
<% if !@display_user.get_about_me_for_html_display.empty? || @is_you %>
<div class="user_about_me">
<img class="comment_quote" src="/images/quote.png" alt="">
<%= @display_user.get_about_me_for_html_display %>
<% if @is_you %>
(<%= link_to _("edit text ab... | <|file_sep|>lib/views/user/_show_user_info.html.erb.diff
original:
<% if @is_you %>
updated:
<% if @is_you %>
<|file_sep|>original/lib/views/user/_show_user_info.html.erb
<% if !@display_user.get_about_me_for_html_display.empty? || @is_you %>
<div class="user_about_me">
<img class="comme... | a4f8613b374eb425018b31b0eb4026c4568efe53 | lib/views/user/_show_user_info.html.erb | lib/views/user/_show_user_info.html.erb | HTML+ERB |
<|file_sep|>original/tools/get_digest.py
<|file_sep|>current/tools/get_digest.py
<|file_sep|>updated/tools/get_digest.py | import sys
import hashlib
FILE_BUFFER_SIZE = 4096
def get_digest(file_path, digest_func='md5'):
digester = getattr(hashlib, digest_func, None)
if digester is None:
raise ValueError('Unknow digest method: ' + digest_func)
h = digester()
with open(file_path, 'rb') as f:
while True:
... | <|file_sep|>original/tools/get_digest.py
<|file_sep|>current/tools/get_digest.py
<|file_sep|>updated/tools/get_digest.py
import sys
import hashlib
FILE_BUFFER_SIZE = 4096
def get_digest(file_path, digest_func='md5'):
digester = getattr(hashlib, digest_func, None)
if digester is None:
raise ValueErr... | 162d7f14cbc3f705b018669448eda369473a6b5a | tools/get_digest.py | tools/get_digest.py | Python |
<|file_sep|>lib/favicons.php.diff
original:
updated:
include(LIB_PATH . '/Favicon/FaviconDLType.php');
include(LIB_PATH . '/Favicon/DataAccess.php');
<|file_sep|>lib/favicons.php.diff
original:
include(LIB_PATH . '/Favicon/DataAccess.php');
updated:
<|file_sep|>lib/favicons.php.diff
original:
global $favicons_dir, $... | <?php
include(LIB_PATH . '/Favicon/FaviconDLType.php');
include(LIB_PATH . '/Favicon/DataAccess.php');
include(LIB_PATH . '/Favicon/Favicon.php');
$favicons_dir = DATA_PATH . '/favicons/';
$default_favicon = PUBLIC_PATH . '/themes/icons/default_favicon.ico';
function download_favicon($website, $dest) {
global $defa... | <|file_sep|>lib/favicons.php.diff
original:
updated:
include(LIB_PATH . '/Favicon/FaviconDLType.php');
include(LIB_PATH . '/Favicon/DataAccess.php');
<|file_sep|>lib/favicons.php.diff
original:
include(LIB_PATH . '/Favicon/DataAccess.php');
updated:
<|file_sep|>lib/favicons.php.diff
original:
global $favicons_dir, $... | 1af1b3702e5336947d49f62b21c21b1ad9f9fba8 | lib/favicons.php | lib/favicons.php | PHP |
<|file_sep|>original/Cargo.toml
[package]
name = "nalgebra"
version = "0.11.1"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "Linear algebra library for computer physics, computer graphics and general low-dimensional linear algebra for Rust."
documentation = "http://nalgebra.org/doc/nalgebra/... | [package]
name = "nalgebra"
version = "0.11.1"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "Linear algebra library with transformations and satically-sized or dynamically-sized matrices."
documentation = "http://nalgebra.org/doc/nalgebra/index.html"
homepage = "http://nalgebra.org"
reposito... | <|file_sep|>original/Cargo.toml
[package]
name = "nalgebra"
version = "0.11.1"
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
description = "Linear algebra library for computer physics, computer graphics and general low-dimensional linear algebra for Rust."
documentation = "http://nalgebra.org/doc/nalgebra/... | 4b9246ec102645aab251cdb9f2fc0b614a0c77e3 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>src/reduce_framerate.py.diff
original:
self.image_pub = rospy.Publisher("/output/slow_image_raw",
Image, queue_size=1)
updated:
self.image_publisher = rospy.Publisher("/output/slow_image_raw",
Image, queu... | def frame_callback(self, frame):
"""
Callback function of subscribed topic.
"""
# Publish every fifteenth frame
if not self.count % 15:
self.image_publisher.publish(frame)
self.count += 1
def main():
"""Initialize ROS node."""
rospy.init_node("f... | <|file_sep|>src/reduce_framerate.py.diff
original:
self.image_pub = rospy.Publisher("/output/slow_image_raw",
Image, queue_size=1)
updated:
self.image_publisher = rospy.Publisher("/output/slow_image_raw",
Image, queu... | db51cb32148a595f74eb4ed8cbcc5dc989db5786 | src/reduce_framerate.py | src/reduce_framerate.py | Python |
<|file_sep|>original/packages/dash-html-components/dash_html_components/__init__.py
import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, '../lib/metadata.json'),
['content', 'i... | import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, 'metadata.json'),
['content', 'id', 'key', 'className', 'style', 'dependencies'],
globals(),
_sys._getframe(1).f_gl... | <|file_sep|>original/packages/dash-html-components/dash_html_components/__init__.py
import os
import dash as _dash
import sys as _sys
current_path = os.path.dirname(os.path.abspath(__file__))
_dash.development.component_loader.load_components(
os.path.join(current_path, '../lib/metadata.json'),
['content', 'i... | 52138f389d5b8ef3e2cd25179716b36170b94242 | packages/dash-html-components/dash_html_components/__init__.py | packages/dash-html-components/dash_html_components/__init__.py | Python |
<|file_sep|>original/roles/mesos/handlers/main.yml
with_items:
- systemctl stop mesos-slave
- rm -rf /tmp/mesos/meta/slaves/latest
- systemctl start mesos-slave
- name: restart mesos follower
sudo: yes
command: systemctl restart mesos-slave
- name: reload consul
sudo: yes
command: "{{ consul_bin... | with_items:
- systemctl stop mesos-slave
- rm -rf /tmp/mesos/meta/slaves/latest
- systemctl start mesos-slave
- name: restart mesos follower
sudo: yes
command: systemctl restart mesos-slave
- name: restart nginx-mesos-leader
sudo: yes
command: systemctl restart nginx-mesos-leader
- name: reload... | <|file_sep|>original/roles/mesos/handlers/main.yml
with_items:
- systemctl stop mesos-slave
- rm -rf /tmp/mesos/meta/slaves/latest
- systemctl start mesos-slave
- name: restart mesos follower
sudo: yes
command: systemctl restart mesos-slave
- name: reload consul
sudo: yes
command: "{{ consul_bin... | 3ab177ca9b86bfba17d5b0ed6796dfdc92fda09f | roles/mesos/handlers/main.yml | roles/mesos/handlers/main.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- jruby
updated:
- jruby-20mode
- jruby-21mode
- jruby-9000
<|file_sep|>original/.travis.yml
language: ruby
dist: trusty
rvm:
- 2.1
- 2.2
- ruby-2.3.0
- jruby
before_install:
- rvm get head
- gem install bundler
script:
- rake
- rubocop
<|file_sep|>curr... | language: ruby
dist: trusty
rvm:
- 2.1
- 2.2
- ruby-2.3.0
- jruby-20mode
- jruby-21mode
- jruby-9000
before_install:
- gem install bundler
script:
- rake
- rubocop | <|file_sep|>.travis.yml.diff
original:
- jruby
updated:
- jruby-20mode
- jruby-21mode
- jruby-9000
<|file_sep|>original/.travis.yml
language: ruby
dist: trusty
rvm:
- 2.1
- 2.2
- ruby-2.3.0
- jruby
before_install:
- rvm get head
- gem install bundler
script:
- rake
- rubocop
<|file_sep|>curr... | e852aca6f26d98db55a72932a5d4f511e8c806fa | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java
<|file_sep|>current/src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java
<|file_sep|>updated/src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java | package com.maddenabbott.jenny.command;
import com.maddenabbott.jenny.Application;
import org.junit.After;
import org.junit.Rule;
import org.junit.Test;
import org.junit.contrib.java.lang.system.StandardOutputStreamLog;
import static com.maddenabbott.jenny.test.OutputMatcher.isIn;
import static com.maddenabbott.jenny.... | <|file_sep|>original/src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java
<|file_sep|>current/src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java
<|file_sep|>updated/src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java
package com.maddenabbott.jenny.command;
import com.maddena... | 5a02cca38d399dfb421d93333cf2b74fe5d07ebd | src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java | src/test/java/com/maddenabbott/jenny/command/RemoveCommandIT.java | Java |
<|file_sep|>original/src/intercom/IntercomBasicAuthClient.php
<|file_sep|>current/src/intercom/IntercomBasicAuthClient.php
<|file_sep|>updated/src/intercom/IntercomBasicAuthClient.php | <?php
namespace Intercom;
use InvalidArgumentException;
use Guzzle\Common\Collection;
use Guzzle\Service\Client;
use Guzzle\Service\Description\ServiceDescription;
class IntercomBasicAuthClient extends Client
{
/**
* @todo: Remove hardcoded constant, discuss with platform how to obtain a service definition
... | <|file_sep|>original/src/intercom/IntercomBasicAuthClient.php
<|file_sep|>current/src/intercom/IntercomBasicAuthClient.php
<|file_sep|>updated/src/intercom/IntercomBasicAuthClient.php
<?php
namespace Intercom;
use InvalidArgumentException;
use Guzzle\Common\Collection;
use Guzzle\Service\Client;
use Guzzle\Service\D... | 575742d66adfcdda857b4c9dfeb1bfbb8559dbea | src/intercom/IntercomBasicAuthClient.php | src/intercom/IntercomBasicAuthClient.php | PHP |
<|file_sep|>.travis.yml.diff
original:
- 2.1.8
updated:
- 2.1.10
<|file_sep|>original/.travis.yml
- 2.3.0
- ruby-head
gemfile:
- gemfiles/Gemfile-rails.3.2.x
- gemfiles/Gemfile-rails.4.0.x
- gemfiles/Gemfile-rails.4.1.x
- gemfiles/Gemfile-rails.4.2.x
- gemfiles/Gemfile-rails.5.0.0.beta3
sudo: false
... | - 2.3.0
- ruby-head
gemfile:
- gemfiles/Gemfile-rails.3.2.x
- gemfiles/Gemfile-rails.4.0.x
- gemfiles/Gemfile-rails.4.1.x
- gemfiles/Gemfile-rails.4.2.x
- gemfiles/Gemfile-rails.5.0.0.beta3
sudo: false
matrix:
exclude:
- rvm: ruby-head
gemfile: gemfiles/Gemfile-rails.3.2.x
- rvm: 2.0.0
... | <|file_sep|>.travis.yml.diff
original:
- 2.1.8
updated:
- 2.1.10
<|file_sep|>original/.travis.yml
- 2.3.0
- ruby-head
gemfile:
- gemfiles/Gemfile-rails.3.2.x
- gemfiles/Gemfile-rails.4.0.x
- gemfiles/Gemfile-rails.4.1.x
- gemfiles/Gemfile-rails.4.2.x
- gemfiles/Gemfile-rails.5.0.0.beta3
sudo: false
... | ee32ebd74c7d15055d12d99e8ff6ce95689bc6bd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/schema/scripts/20140521-092810.sql
<|file_sep|>current/schema/scripts/20140521-092810.sql
<|file_sep|>updated/schema/scripts/20140521-092810.sql | update users
set email = 'admin@apidoc.me'
where email = 'admin@apidoc.com'
and deleted_at is null;
update services
set deleted_at = now(),
deleted_by_guid = (select guid from users where deleted_at is null and email='admin@apidoc.me')
where deleted_at is null
and created_at < '2014-05-21 10:27:07... | <|file_sep|>original/schema/scripts/20140521-092810.sql
<|file_sep|>current/schema/scripts/20140521-092810.sql
<|file_sep|>updated/schema/scripts/20140521-092810.sql
update users
set email = 'admin@apidoc.me'
where email = 'admin@apidoc.com'
and deleted_at is null;
update services
set deleted_at = now(),
... | 8d82f1a880c885adfad509ca4fec14c3fa8bdd48 | schema/scripts/20140521-092810.sql | schema/scripts/20140521-092810.sql | SQL |
<|file_sep|>original/international.js
<|file_sep|>current/international.js
<|file_sep|>updated/international.js | function hello(language) {
var hellos = {
'Chinese': '你好世界',
'Dutch': 'Hello wereld',
'English': 'Hello world',
'French': 'Bonjour monde',
'German': 'Hallo Welt',
'Greek': 'γειά σου κόσμος',
'Italian': 'Ciao mondo',
'Japanese': 'こんにちは世界',
'Korean': '안녕하세요 세계',
'Portuguese': 'Ol... | <|file_sep|>original/international.js
<|file_sep|>current/international.js
<|file_sep|>updated/international.js
function hello(language) {
var hellos = {
'Chinese': '你好世界',
'Dutch': 'Hello wereld',
'English': 'Hello world',
'French': 'Bonjour monde',
'German': 'Hallo Welt',
'Greek': 'γειά σο... | 5a3202480e1e150c5c2194d57aff74133a5cc096 | international.js | international.js | JavaScript |
<|file_sep|>original/quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml
<|file_sep|>current/quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml
<|file_sep|>updated/quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml | <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
<Configure id="webAppCtx" class="org.eclipse.jetty.webapp.WebAppContext">
<New id="BeanManager" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg>
<Ref id="webAppCtx"/>
<... | <|file_sep|>original/quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml
<|file_sep|>current/quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml
<|file_sep|>updated/quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//D... | f1f9ddb74af9b3449c5431e61db67a16948e39ee | quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml | quickstarts/simplecontextname/src/main/webapp/WEB-INF/jetty-env.xml | XML |
<|file_sep|>original/_posts/2015-09-06-question-asking-cheat-sheet.md
<|file_sep|>current/_posts/2015-09-06-question-asking-cheat-sheet.md
<|file_sep|>updated/_posts/2015-09-06-question-asking-cheat-sheet.md | ---
layout: post
title: "Question Asking Cheat Sheet"
date: 2015-09-06 1:00:00
categories: "dbc-culture"
---
When you ask a question, knowing how to ask is just as important as knowing what to ask. Here are some quick rules-of-thumb for asking technical questions online.
## Write a good title
* Include enough detai... | <|file_sep|>original/_posts/2015-09-06-question-asking-cheat-sheet.md
<|file_sep|>current/_posts/2015-09-06-question-asking-cheat-sheet.md
<|file_sep|>updated/_posts/2015-09-06-question-asking-cheat-sheet.md
---
layout: post
title: "Question Asking Cheat Sheet"
date: 2015-09-06 1:00:00
categories: "dbc-culture"
--... | c253685027f9a04549b1b2b65a6a617ed2b8ffda | _posts/2015-09-06-question-asking-cheat-sheet.md | _posts/2015-09-06-question-asking-cheat-sheet.md | Markdown |
<|file_sep|>original/packages/ja/ja-base-extra.yaml
<|file_sep|>current/packages/ja/ja-base-extra.yaml
<|file_sep|>updated/packages/ja/ja-base-extra.yaml | homepage: ''
changelog-type: ''
hash: b06c83ae8db09fbe52678d275b3a39968c24d6ebf4157a3f6b2dda12f74d0f44
test-bench-deps: {}
maintainer: dev@justus.science
synopsis: Extra functions I require in base
changelog: ''
basic-deps:
base: ! '>=4.0 && <5'
all-versions:
- '0.1.0.0'
author: Justus Adam
latest: '0.1.0.0'
descript... | <|file_sep|>original/packages/ja/ja-base-extra.yaml
<|file_sep|>current/packages/ja/ja-base-extra.yaml
<|file_sep|>updated/packages/ja/ja-base-extra.yaml
homepage: ''
changelog-type: ''
hash: b06c83ae8db09fbe52678d275b3a39968c24d6ebf4157a3f6b2dda12f74d0f44
test-bench-deps: {}
maintainer: dev@justus.science
synopsis: ... | 59490ee10fc76d24f9ce42d650927bb7e3536b30 | packages/ja/ja-base-extra.yaml | packages/ja/ja-base-extra.yaml | YAML |
<|file_sep|>original/README.md
## Usage
```
require 'ipconverter'
IpConverter.str_to_int "192.168.2.1"
=> 3232236033
```
str_to_int raises an error if the address is not valid:
```
IpConverter.str_to_int "192.168.2"
=> raises ArgumentError
```
## Contributing
1. Fork it ( https://github.com/joshuawscott/ipconvert... | require 'ipconverter'
IpConverter.str_to_int "192.168.2.1"
=> 3232236033
```
str_to_int raises an error if the address is not valid:
```
IpConverter.str_to_int "192.168.2"
=> raises ArgumentError
```
## Running the tests
Clone the repo
```
bundle install
bundle exec rake compile
bundle exec rake test
```
## Contri... | <|file_sep|>original/README.md
## Usage
```
require 'ipconverter'
IpConverter.str_to_int "192.168.2.1"
=> 3232236033
```
str_to_int raises an error if the address is not valid:
```
IpConverter.str_to_int "192.168.2"
=> raises ArgumentError
```
## Contributing
1. Fork it ( https://github.com/joshuawscott/ipconvert... | 9aa7349902c0a18938eda439c7e7465c63f2f804 | README.md | README.md | Markdown |
<|file_sep|>OpenSim/Tests/VisualizeModel/CMakeLists.txt.diff
original:
cmake_minimum_required(VERSION 2.6)
updated:
<|file_sep|>OpenSim/Tests/VisualizeModel/CMakeLists.txt.diff
original:
include_directories(${OpenSim_SOURCE_DIR}
${OpenSim_SOURCE_DIR}/Vendors)
updated:
add_executable(${VISUALIZE_MODEL}... |
set(VISUALIZE_MODEL visualizeModel)
add_executable(${VISUALIZE_MODEL} VisualizeModel.cpp)
target_link_libraries(${VISUALIZE_MODEL} osimTools)
set_target_properties(${VISUALIZE_MODEL}
PROPERTIES
PROJECT_LABEL "Utilities - ${VISUALIZE_MODEL}"
) | <|file_sep|>OpenSim/Tests/VisualizeModel/CMakeLists.txt.diff
original:
cmake_minimum_required(VERSION 2.6)
updated:
<|file_sep|>OpenSim/Tests/VisualizeModel/CMakeLists.txt.diff
original:
include_directories(${OpenSim_SOURCE_DIR}
${OpenSim_SOURCE_DIR}/Vendors)
updated:
add_executable(${VISUALIZE_MODEL}... | 962745617c74692a6b7a75b4e35a5b34bc505dbf | OpenSim/Tests/VisualizeModel/CMakeLists.txt | OpenSim/Tests/VisualizeModel/CMakeLists.txt | Text |
<|file_sep|>original/examples/app/main.js
/**
* Created by leojin on 3/20/16.
*/
import ReactDom from 'react-dom';
import React from 'react';
import App from './App';
ReactDom.render(<App/>, document.getElementById("examples"));
<|file_sep|>current/examples/app/main.js
/**
* Created by leojin on 3/20/16.
*/
import... | /**
* Created by leojin on 3/20/16.
*/
import ReactDom from 'react-dom';
import React from 'react';
import App from './app';
ReactDom.render(<App/>, document.getElementById("examples")); | <|file_sep|>original/examples/app/main.js
/**
* Created by leojin on 3/20/16.
*/
import ReactDom from 'react-dom';
import React from 'react';
import App from './App';
ReactDom.render(<App/>, document.getElementById("examples"));
<|file_sep|>current/examples/app/main.js
/**
* Created by leojin on 3/20/16.
*/
import... | bf80fe88a9966d70d94bd567f60805be396fb375 | examples/app/main.js | examples/app/main.js | JavaScript |
<|file_sep|>registration/templates/registration/activation_email.txt.diff
original:
Someone, hopefully you, signed up for a new account at {{ site_url }} using this email address. If it was you, and you'd like to activate and use your account, click the link below or copy and paste it into your web browser's address ba... | {% load humanize %}
Someone, hopefully you, signed up for a new account at {{ site }} using this email address. If it was you, and you'd like to activate and use your account, click the link below or copy and paste it into your web browser's address bar:
http://{{ site.domain }}accounts/activate/{{ activation_key }}/
... | <|file_sep|>registration/templates/registration/activation_email.txt.diff
original:
Someone, hopefully you, signed up for a new account at {{ site_url }} using this email address. If it was you, and you'd like to activate and use your account, click the link below or copy and paste it into your web browser's address ba... | b0760424b69feafead2cbdc01dad501191aaa1c8 | registration/templates/registration/activation_email.txt | registration/templates/registration/activation_email.txt | Text |
<|file_sep|>original/system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php
<|file_sep|>current/system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php
<|file_sep|>updated/system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php | <?php
/**
* Tests for the Pickr model.
*
* @package Pickr
* @author Stephen Lewis <stephen@experienceinternet.co.uk>
* @copyright Experience Internet
*/
require_once PATH_THIRD .'pickr/models/pickr_model' .EXT;
require_once PATH_THIRD .'pickr/libraries/pickr_flickr' .EXT;
class Test_pickr_model_live ext... | <|file_sep|>original/system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php
<|file_sep|>current/system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php
<|file_sep|>updated/system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php
<?php
/**
* Tests for the Pickr m... | 923c71491f636fecdd26c9b05e05fdbc831d2f04 | system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php | system/expressionengine/third_party/pickr/tests/test_pickr_model_live.php | PHP |
<|file_sep|>run_after_install-asdf.sh.diff
original:
echo "Installing asdf plugins"
updated:
# echo "Installing asdf plugins"
<|file_sep|>run_after_install-asdf.sh.diff
original:
cut -d' ' -f1 ${HOME}/.tool-versions | xargs -I {} asdf plugin add {}
updated:
# cut -d' ' -f1 ${HOME}/.tool-versions | xargs -I {} asdf plug... | #!/bin/bash
. $HOME/.shrc
# echo "Installing asdf plugins"
# cut -d' ' -f1 ${HOME}/.tool-versions | xargs -I {} asdf plugin add {}
# echo "Installing asdf tools"
# asdf install | <|file_sep|>run_after_install-asdf.sh.diff
original:
echo "Installing asdf plugins"
updated:
# echo "Installing asdf plugins"
<|file_sep|>run_after_install-asdf.sh.diff
original:
cut -d' ' -f1 ${HOME}/.tool-versions | xargs -I {} asdf plugin add {}
updated:
# cut -d' ' -f1 ${HOME}/.tool-versions | xargs -I {} asdf plug... | 8dcec3cfe9b5b076109bd49841e121c21e1c124a | run_after_install-asdf.sh | run_after_install-asdf.sh | Shell |
<|file_sep|>original/backend/common/package.json
{
"name": "cmpd-common-api",
"version": "1.0.0",
"main": "dist/index.js",
"license": "MIT",
"private": true,
"scripts": {
"build": "tsc"
}
}
<|file_sep|>current/backend/common/package.json
{
"name": "cmpd-common-api",
"version": "1.0.0",
"main": "... | {
"name": "cmpd-common-api",
"version": "1.0.0",
"main": "dist/index.js",
"license": "MIT",
"private": true,
"scripts": {
"preinstall": "yarn run build",
"build": "tsc -p tsconfig.build.json"
}
} | <|file_sep|>original/backend/common/package.json
{
"name": "cmpd-common-api",
"version": "1.0.0",
"main": "dist/index.js",
"license": "MIT",
"private": true,
"scripts": {
"build": "tsc"
}
}
<|file_sep|>current/backend/common/package.json
{
"name": "cmpd-common-api",
"version": "1.0.0",
"main": "... | ff1b98ad653cdc42e2054a9cd70cce4df77ad672 | backend/common/package.json | backend/common/package.json | JSON |
<|file_sep|>original/bower.json
{
"name": "digitalmarketplace-supplier-frontend",
"version": "0.0.1",
"dependencies": {
"jquery": "1.11.2",
"hogan": "3.0.2",
"jquery-details": "https://github.com/mathiasbynens/jquery-details/archive/v0.1.0.tar.gz",
"digitalmarketplace-frontend-toolkit": "git://git... | {
"name": "digitalmarketplace-supplier-frontend",
"version": "0.0.1",
"dependencies": {
"jquery": "1.11.2",
"hogan": "3.0.2",
"jquery-details": "https://github.com/mathiasbynens/jquery-details/archive/v0.1.0.tar.gz",
"digitalmarketplace-frontend-toolkit": "git://github.com/alphagov/digitalmarketpl... | <|file_sep|>original/bower.json
{
"name": "digitalmarketplace-supplier-frontend",
"version": "0.0.1",
"dependencies": {
"jquery": "1.11.2",
"hogan": "3.0.2",
"jquery-details": "https://github.com/mathiasbynens/jquery-details/archive/v0.1.0.tar.gz",
"digitalmarketplace-frontend-toolkit": "git://git... | ae36854168c28723a63d01d0d68c937cc3d83730 | bower.json | bower.json | JSON |
<|file_sep|>metadata.json.diff
original:
"license": "Apache 2.0",
updated:
"license": "Apache-2.0",
<|file_sep|>original/metadata.json
"version": "0.1.6",
"author": "Dennis Hoppe",
"summary": "This module installs, configures and manages the OpenVPN service.",
"license": "Apache 2.0",
"source": "git://git... | "version": "0.1.6",
"author": "Dennis Hoppe",
"summary": "This module installs, configures and manages the OpenVPN service.",
"license": "Apache-2.0",
"source": "git://github.com/dhoppe/puppet-openvpn.git",
"project_page": "https://github.com/dhoppe/puppet-openvpn",
"issues_url": "https://github.com/dhopp... | <|file_sep|>metadata.json.diff
original:
"license": "Apache 2.0",
updated:
"license": "Apache-2.0",
<|file_sep|>original/metadata.json
"version": "0.1.6",
"author": "Dennis Hoppe",
"summary": "This module installs, configures and manages the OpenVPN service.",
"license": "Apache 2.0",
"source": "git://git... | 3be8ab389573ad3817df0d02a67cc6c1c3b97c31 | metadata.json | metadata.json | JSON |
<|file_sep|>original/routes/index.js
});
res.send();
});
});
router.post('/destroy_all_the_things', function(req, res, next) {
kue.Job.rangeByState('delayed', 0, 10000, 'asc', function( err, jobs ) {
jobs.forEach(function(job) {
job.remove()
.then(function(res) {
})
.catch(funct... | });
res.send();
});
});
router.post('/destroy_all_the_things', function(req, res, next) {
kue.Job.rangeByState('delayed', 0, 10000, 'asc', function( err, jobs ) {
jobs.forEach(function(job) {
job.remove(function(err) {
if (err) console.log(err);
});
});
});
Bot.remove({})
... | <|file_sep|>original/routes/index.js
});
res.send();
});
});
router.post('/destroy_all_the_things', function(req, res, next) {
kue.Job.rangeByState('delayed', 0, 10000, 'asc', function( err, jobs ) {
jobs.forEach(function(job) {
job.remove()
.then(function(res) {
})
.catch(funct... | 0f4aa813546a29fb55e08bf67c2a659b0f85b0fa | routes/index.js | routes/index.js | JavaScript |
<|file_sep|>original/tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php
<|file_sep|>current/tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php
<|file_sep|>updated/tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php | <?php
namespace Marein\Nchan\HttpAdapter;
use Marein\Nchan\Exception\NchanException;
use PHPUnit\Framework\TestCase;
class HttpStreamWrapperResponseTest extends TestCase
{
/**
* @test
*/
public function itShouldBeCreatedWithItsValues(): void
{
$expectedStatusCode = 200;
$expecte... | <|file_sep|>original/tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php
<|file_sep|>current/tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php
<|file_sep|>updated/tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php
<?php
namespace Marein\Nchan\HttpAdapter;
use Marein\Nchan\Exception\NchanException;... | a9ea7b53205125da51283996a9b78832aea908b5 | tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php | tests/unit/HttpAdapter/HttpStreamWrapperResponseTest.php | PHP |
<|file_sep|>original/spring-boot-admin-server-ui/modules/applications-logfile/module.js
var angular = require('angular');
var module = angular.module('sba-applications-logfile', ['sba-applications']);
global.sbaModules.push(module.name);
module.run(function ($sce, $http, ApplicationViews) {
ApplicationViews.regist... | var angular = require('angular');
var module = angular.module('sba-applications-logfile', ['sba-applications']);
global.sbaModules.push(module.name);
module.run(function ($sce, $http, ApplicationViews) {
ApplicationViews.register({
order: 1,
title: $sce.trustAsHtml('<i class="fa fa-file-text-o fa-fw"></i>L... | <|file_sep|>original/spring-boot-admin-server-ui/modules/applications-logfile/module.js
var angular = require('angular');
var module = angular.module('sba-applications-logfile', ['sba-applications']);
global.sbaModules.push(module.name);
module.run(function ($sce, $http, ApplicationViews) {
ApplicationViews.regist... | 57f2d4bcd868196f9adcdde16c9015b65e815cfc | spring-boot-admin-server-ui/modules/applications-logfile/module.js | spring-boot-admin-server-ui/modules/applications-logfile/module.js | JavaScript |
<|file_sep|>original/indico/modules/events/surveys/templates/edit_survey.html
{% from 'forms/_form.html' import simple_form %}
{% block title %}
{% if survey %}
{% trans %}Survey{% endtrans %}
{% else %}
{% trans %}Surveys{% endtrans %}
{% endif %}
{% endblock %}
{% block subtitle %}
{... | {% from 'forms/_form.html' import simple_form %}
{% block title %}
{% if survey %}
{% trans %}Survey{% endtrans %}
{% else %}
{% trans %}Surveys{% endtrans %}
{% endif %}
{% endblock %}
{% block subtitle %}
{% if survey %}
{% trans title=survey.title -%}Edit "{{ title }}"{%- en... | <|file_sep|>original/indico/modules/events/surveys/templates/edit_survey.html
{% from 'forms/_form.html' import simple_form %}
{% block title %}
{% if survey %}
{% trans %}Survey{% endtrans %}
{% else %}
{% trans %}Surveys{% endtrans %}
{% endif %}
{% endblock %}
{% block subtitle %}
{... | 936f847b8c888079669fc7587386060a78e4d90b | indico/modules/events/surveys/templates/edit_survey.html | indico/modules/events/surveys/templates/edit_survey.html | HTML |
<|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Changed
- Allow access to the Magento Con... | # Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [v0.11.0] - 2016-11-09
### Changed
- Allow access to the Magento Connect Manager (see issue... | <|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Changed
- Allow access to the Magento Con... | bb2581374fbcb91af089247d47a9d4e7c6fb8140 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>src/Data/LLVM/Testing.hs.diff
original:
import System.FilePath
updated:
<|file_sep|>src/Data/LLVM/Testing.hs.diff
original:
readInputAndExpected :: (Read a) => (FilePath -> FilePath) -> Bool -> FilePath -> IO (Module, a)
updated:
readInputAndExpected :: (Read a) => (FilePath -> FilePath) -> Bool -> FilePat... | readInputAndExpected :: (Read a) => (FilePath -> FilePath) -> Bool -> FilePath ->
IO (FilePath, Module, a)
readInputAndExpected expectedFunc optimize inputFile = do
let exFile = expectedFunc inputFile
exContent <- readFile exFile
-- use seq here to force the full evaluation of the read fil... | <|file_sep|>src/Data/LLVM/Testing.hs.diff
original:
import System.FilePath
updated:
<|file_sep|>src/Data/LLVM/Testing.hs.diff
original:
readInputAndExpected :: (Read a) => (FilePath -> FilePath) -> Bool -> FilePath -> IO (Module, a)
updated:
readInputAndExpected :: (Read a) => (FilePath -> FilePath) -> Bool -> FilePat... | afcdb9da284c117cbf90649fe915371723d35ee8 | src/Data/LLVM/Testing.hs | src/Data/LLVM/Testing.hs | Haskell |
<|file_sep|>content/content_creation/index.html.diff
original:
# Content Creation
updated:
# Art, Sound and Assets
<|file_sep|>original/content/content_creation/index.html
tags:
- section
topic: content creation
index: 1
---
# Content Creation
PlayCanvas supports the importing of a wide variety of content types:
... | tags:
- section
topic: content creation
index: 1
---
# Art, Sound and Assets
PlayCanvas supports the importing of a wide variety of content types:
* Models (built in most mainstream 3D modelling packages).
* Animations.
* Images.
* Audio samples.
Once imported into your online project, these assets are made ava... | <|file_sep|>content/content_creation/index.html.diff
original:
# Content Creation
updated:
# Art, Sound and Assets
<|file_sep|>original/content/content_creation/index.html
tags:
- section
topic: content creation
index: 1
---
# Content Creation
PlayCanvas supports the importing of a wide variety of content types:
... | 09fc19d8dc1c655e596bc52eb686b8bac30bdab5 | content/content_creation/index.html | content/content_creation/index.html | HTML |
<|file_sep|>original/backend/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb
<%= render partial: 'spree/admin/promotions/actions/promotion_calculators_with_custom_fields',
locals: { calculators: Spree::Promotion::Actions::CreateItemAdjustments.calculators, promotion_action: promoti... | <%= render(
"spree/admin/promotions/actions/promotion_calculators_with_custom_fields",
calculators: Spree::Promotion::Actions::CreateItemAdjustments.calculators,
promotion_action: promotion_action,
param_prefix: param_prefix
) %> | <|file_sep|>original/backend/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb
<%= render partial: 'spree/admin/promotions/actions/promotion_calculators_with_custom_fields',
locals: { calculators: Spree::Promotion::Actions::CreateItemAdjustments.calculators, promotion_action: promoti... | ef6380016b955ccd051e376084d145624aa7f7c2 | backend/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb | backend/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb | HTML+ERB |
<|file_sep|>original/support/linux/install_dev_0_ubuntu_latest.sh
direnv \
file \
gdb \
git \
httpie \
iproute2 \
libarchive-dev \
libprotobuf-dev \
libsodium-dev \
libssl-dev \
libczmq-dev \
man \
musl-tools \
net-tools \
pkg-config \
protobuf-compiler \
software-properties-common \
... | file \
gdb \
git \
httpie \
iproute2 \
libarchive-dev \
libprotobuf-dev \
libsodium-dev \
libssl-dev \
libczmq-dev \
man \
musl-tools \
net-tools \
pkg-config \
postgresql-server-dev-9.6 \
protobuf-compiler \
software-properties-common \
sudo \
tmux \
vim \
wget | <|file_sep|>original/support/linux/install_dev_0_ubuntu_latest.sh
direnv \
file \
gdb \
git \
httpie \
iproute2 \
libarchive-dev \
libprotobuf-dev \
libsodium-dev \
libssl-dev \
libczmq-dev \
man \
musl-tools \
net-tools \
pkg-config \
protobuf-compiler \
software-properties-common \
... | a5069f2ca270ec361ec42ac63ee916908f58c81b | support/linux/install_dev_0_ubuntu_latest.sh | support/linux/install_dev_0_ubuntu_latest.sh | Shell |
<|file_sep|>original/requirements/doc.txt
-r ./base.txt
docutils==0.13.1
requests[security]==2.13.0
sphinx==1.5.3
reportlab==3.4.0
alabaster==0.7.10
releases==1.3.0 # Updated from 1.2.0
aafigure==0.5
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
docutils==0.13.1
requests[security]==2.13.0
sphinx==1.5.3
reportl... | -r ./base.txt
docutils==0.13.1
requests[security]==2.13.0
sphinx==1.5.4
reportlab==3.4.0
alabaster==0.7.10
releases==1.3.0 # Updated from 1.2.0
aafigure==0.5 | <|file_sep|>original/requirements/doc.txt
-r ./base.txt
docutils==0.13.1
requests[security]==2.13.0
sphinx==1.5.3
reportlab==3.4.0
alabaster==0.7.10
releases==1.3.0 # Updated from 1.2.0
aafigure==0.5
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
docutils==0.13.1
requests[security]==2.13.0
sphinx==1.5.3
reportl... | f946de4f8c7295d83720c623e56d12a94154a932 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>src/dk/cmol/arduinorgb_controller/SliderFragment.java.diff
original:
import android.graphics.Color;
import android.graphics.PorterDuff;
updated:
<|file_sep|>src/dk/cmol/arduinorgb_controller/SliderFragment.java.diff
original:
import android.widget.Button;
updated:
<|file_sep|>src/dk/cmol/arduinorgb_contro... | package dk.cmol.arduinorgb_controller;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class SliderFragment extends Fragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup ... | <|file_sep|>src/dk/cmol/arduinorgb_controller/SliderFragment.java.diff
original:
import android.graphics.Color;
import android.graphics.PorterDuff;
updated:
<|file_sep|>src/dk/cmol/arduinorgb_controller/SliderFragment.java.diff
original:
import android.widget.Button;
updated:
<|file_sep|>src/dk/cmol/arduinorgb_contro... | a43bb2120b3c3d598fb3e28d0d1382fbbc0a10d1 | src/dk/cmol/arduinorgb_controller/SliderFragment.java | src/dk/cmol/arduinorgb_controller/SliderFragment.java | Java |
<|file_sep|>original/packages/wo/workflow-pure.yaml
<|file_sep|>current/packages/wo/workflow-pure.yaml
<|file_sep|>updated/packages/wo/workflow-pure.yaml | homepage: http://github.com/sboosali/workflow-pure#readme
changelog-type: ''
hash: b33a522f310eb88f902fa08e6714e11951abcbc3486f8e9755fa6aedbd890630
test-bench-deps:
base: -any
hspec: ==2.2.*
criterion: -any
doctest: -any
workflow-pure: -any
deepseq: -any
QuickCheck: ==2.8.*
maintainer: samboosalis@gmail.c... | <|file_sep|>original/packages/wo/workflow-pure.yaml
<|file_sep|>current/packages/wo/workflow-pure.yaml
<|file_sep|>updated/packages/wo/workflow-pure.yaml
homepage: http://github.com/sboosali/workflow-pure#readme
changelog-type: ''
hash: b33a522f310eb88f902fa08e6714e11951abcbc3486f8e9755fa6aedbd890630
test-bench-deps:... | fa2c1588d795754a4b3e2a00ae0ef1a2e6e1d5a6 | packages/wo/workflow-pure.yaml | packages/wo/workflow-pure.yaml | YAML |
<|file_sep|>original/app/views/partials/_social-sharer.html.haml
.social-share
%ul
%li
%a.twitter{ href: 'javascript: void(0)', title: 'Share on Twitter', onClick: 'window.open("https://twitter.com/intent/tweet?text='+title+'&url='+request.original_url+'","sharer","toolbar=0,status=0,width=548,height=500");... | .social-share
%ul
%li
%a.twitter{ href: 'javascript: void(0)', title: 'Share on Twitter', onClick: 'window.open("https://twitter.com/intent/tweet?text='+title+'&url='+request.original_url+'","sharer","toolbar=0,status=0,width=548,height=500");' }
= render 'partials/icons/twitter'
= _('Share ... | <|file_sep|>original/app/views/partials/_social-sharer.html.haml
.social-share
%ul
%li
%a.twitter{ href: 'javascript: void(0)', title: 'Share on Twitter', onClick: 'window.open("https://twitter.com/intent/tweet?text='+title+'&url='+request.original_url+'","sharer","toolbar=0,status=0,width=548,height=500");... | 3439d7a6506882974b344b999b6d3047bffaf4d1 | app/views/partials/_social-sharer.html.haml | app/views/partials/_social-sharer.html.haml | Haml |
<|file_sep|>original/static/css/styles.css
}
a {
color: #FFF;
text-decoration: none;
}
.content {
display: block;
width: 50%;
height: 50vh;
float: left;
text-align: center;
}
.mainvideo {
position: absolute;
left:0;
width: 100%;
height: 100%;
}
<|file_sep|>current/static/c... | text-decoration: none;
}
.content {
display: block;
width: 50%;
height: 50vh;
float: left;
text-align: center;
}
.content video {
width: 100%;
}
.mainvideo {
position: absolute;
left:0;
width: 100%;
height: 100%;
} | <|file_sep|>original/static/css/styles.css
}
a {
color: #FFF;
text-decoration: none;
}
.content {
display: block;
width: 50%;
height: 50vh;
float: left;
text-align: center;
}
.mainvideo {
position: absolute;
left:0;
width: 100%;
height: 100%;
}
<|file_sep|>current/static/c... | c5b23a7b839a0a3e0daf6031f51a05aa7b85551c | static/css/styles.css | static/css/styles.css | CSS |
<|file_sep|>app/assets/stylesheets/components/_intro.scss.diff
original:
updated:
> img {
@include respond-to(700px) {
float:left;
margin-right: $bl*3;
}
}
<|file_sep|>original/app/assets/stylesheets/components/_intro.scss
// Larger text size for the article introductory paragraph.
//
// Style... | // Larger text size for the article introductory paragraph.
//
// Styleguide intro
.intro {
@extend %text-introParagraph;
@extend %clearfix;
clear: both;
line-height: $bl*5;
> img {
@include respond-to(700px) {
float:left;
margin-right: $bl*3;
}
}
}
| <|file_sep|>app/assets/stylesheets/components/_intro.scss.diff
original:
updated:
> img {
@include respond-to(700px) {
float:left;
margin-right: $bl*3;
}
}
<|file_sep|>original/app/assets/stylesheets/components/_intro.scss
// Larger text size for the article introductory paragraph.
//
// Style... | f77a38e59acd30ed6f005ac4f36fd90729719ba5 | app/assets/stylesheets/components/_intro.scss | app/assets/stylesheets/components/_intro.scss | SCSS |
<|file_sep|>tests/phpunit.xml.diff
original:
<file>/path/to/file</file>
updated:
<|file_sep|>original/tests/phpunit.xml
convertWarningsToExceptions="false">
<testsuites>
<!-- Declare a testsuite called All -->
<testsuite name="All">
<!-- Look for our unit tests in th... | convertWarningsToExceptions="false">
<testsuites>
<!-- Declare a testsuite called All -->
<testsuite name="All">
<!-- Look for our unit tests in the following directory. They must end with Test.php -->
<directory suffix="Test.php">.</directory>
<directory ... | <|file_sep|>tests/phpunit.xml.diff
original:
<file>/path/to/file</file>
updated:
<|file_sep|>original/tests/phpunit.xml
convertWarningsToExceptions="false">
<testsuites>
<!-- Declare a testsuite called All -->
<testsuite name="All">
<!-- Look for our unit tests in th... | 2cec442dbad27cac8a5ac39d0cb16384a0399ffe | tests/phpunit.xml | tests/phpunit.xml | XML |
<|file_sep|>Rant.Tests/Expressions/Loops.cs.diff
original:
var parts = (""this"", ""is"", ""a"", ""test"");
var i = 0;
var buffer = """";
while(i < parts.length)
updated:
(function()
<|file_sep|>original/Rant.Tests/Expressions/Loops.cs
public class Loops
{
private readonly RantEngin... |
[Test]
public void StringBuildingWhileLoop()
{
var output = rant.Do(@"
[@
(function()
{
var parts = (""this"", ""is"", ""a"", ""test"");
var i = 0;
var buffer = """";
while(i < parts.length)
{
if (i > 0) buffer ~= "" "";
... | <|file_sep|>Rant.Tests/Expressions/Loops.cs.diff
original:
var parts = (""this"", ""is"", ""a"", ""test"");
var i = 0;
var buffer = """";
while(i < parts.length)
updated:
(function()
<|file_sep|>original/Rant.Tests/Expressions/Loops.cs
public class Loops
{
private readonly RantEngin... | 6e0db31a528fae2fbbf953a6dab7f7e1bd766428 | Rant.Tests/Expressions/Loops.cs | Rant.Tests/Expressions/Loops.cs | C# |
<|file_sep|>src/serialize/CMakeLists.txt.diff
original:
updated:
include_directories(
${YAJL_INCLUDE_DIRS}
)
add_definitions(
${YAJL_DEFINITIONS}
)
<|file_sep|>src/serialize/CMakeLists.txt.diff
original:
add_library(serialize OBJECT
updated:
add_library(serialize STATIC
<|file_sep|>original/src/serialize/CM... |
set(SOURCE_FILES
deserializer.c
json/deserializer.c
json/deserializer_callbacks.c
json/serializer.c
json/serializer_state.c
serializer.c
)
add_library(serialize STATIC
${SOURCE_FILES}
)
target_link_libraries(serialize
objects
command
${YAJL_LIBRARIES}
)
| <|file_sep|>src/serialize/CMakeLists.txt.diff
original:
updated:
include_directories(
${YAJL_INCLUDE_DIRS}
)
add_definitions(
${YAJL_DEFINITIONS}
)
<|file_sep|>src/serialize/CMakeLists.txt.diff
original:
add_library(serialize OBJECT
updated:
add_library(serialize STATIC
<|file_sep|>original/src/serialize/CM... | 04ce39dce5c0a2be020de0b764bc7ff531151b4f | src/serialize/CMakeLists.txt | src/serialize/CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
php:
- 7.1
- 7.0
- 5.6
cache:
directories:
- vendor
before_install:
- phpenv config-rm xdebug.ini || true
- echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
install:
- composer update --prefer-dist
scri... | - 7.0
- 5.6
cache:
directories:
- vendor
before_install:
- phpenv config-rm xdebug.ini || true
- echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
install:
- composer update --prefer-dist
before_script:
- (cd tests/Application && bin/con... | <|file_sep|>original/.travis.yml
php:
- 7.1
- 7.0
- 5.6
cache:
directories:
- vendor
before_install:
- phpenv config-rm xdebug.ini || true
- echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
install:
- composer update --prefer-dist
scri... | b36b5c5c093216b74af861bde57418a6a88c6009 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test-requirements.txt
docker==4.0.2
elasticsearch==7.0.2
falcon==2.0.0
falcon-cors==1.1.7
npyscreen==4.10.5
pika==1.1.0
pytest==5.0.1
pytest-cov==2.7.1
python-magic==0.4.15
pyyaml==5.1.1
redis==3.3.4
rq==1.1.0
sphinx==2.1.2
urllib3==1.25.3
watchdog==0.9.0
<|file_sep|>current/test-requirements.txt
d... | docker==4.0.2
elasticsearch==7.0.2
falcon==2.0.0
falcon-cors==1.1.7
npyscreen==4.10.5
pika==1.1.0
pytest==5.0.1
pytest-cov==2.7.1
python-magic==0.4.15
pyyaml==5.1.2
redis==3.3.4
rq==1.1.0
sphinx==2.1.2
urllib3==1.25.3
watchdog==0.9.0 | <|file_sep|>original/test-requirements.txt
docker==4.0.2
elasticsearch==7.0.2
falcon==2.0.0
falcon-cors==1.1.7
npyscreen==4.10.5
pika==1.1.0
pytest==5.0.1
pytest-cov==2.7.1
python-magic==0.4.15
pyyaml==5.1.1
redis==3.3.4
rq==1.1.0
sphinx==2.1.2
urllib3==1.25.3
watchdog==0.9.0
<|file_sep|>current/test-requirements.txt
d... | 5a7f3efed6ac37a659c3d3fd248a5bb46df2ad8a | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
- "4"
- "5"
- "6"
- "7"
- "8"
<|file_sep|>.travis.yml.diff
original:
- "8"
- "7"
- "6"
- "5"
- "4"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
- "10"
<|file_sep|>current/.trav... | language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
- "9"
- "10"
- "11" | <|file_sep|>.travis.yml.diff
original:
updated:
- "4"
- "5"
- "6"
- "7"
- "8"
<|file_sep|>.travis.yml.diff
original:
- "8"
- "7"
- "6"
- "5"
- "4"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
- "10"
<|file_sep|>current/.trav... | 63e1d734d64adc1fd9d44fdb2d50c5eca2ed4ee0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/grunt/handler.rb
timeout = (Grunt.config["timeout"] || 10).to_i
SystemTimer.timeout_after(timeout) do
result = Evaluator.new(command[:name], command[:args], locals).eval!
privmsg(result, response.channel) if result
end
rescue NoComma... | timeout = (Grunt.config["timeout"] || 10).to_i
SystemTimer.timeout_after(timeout) do
result = Evaluator.new(command[:name], command[:args], locals).eval!
privmsg(result, response.channel) if result
end
rescue NoCommandError => e
notice(%{"#{e.comma... | <|file_sep|>original/lib/grunt/handler.rb
timeout = (Grunt.config["timeout"] || 10).to_i
SystemTimer.timeout_after(timeout) do
result = Evaluator.new(command[:name], command[:args], locals).eval!
privmsg(result, response.channel) if result
end
rescue NoComma... | 822a4178813b9c286943a5b40a2f39a425bbeee1 | lib/grunt/handler.rb | lib/grunt/handler.rb | Ruby |
<|file_sep|>original/_config.yml
with Brain Computer Interfaces (BCI).
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://iraquitan.github.io" # the base hostname & protocol for your site
# collections
collections:
posts:
permalink: /blog/:categories/:year/:month/:day/:title/
# exclude
exclude: [... | with Brain Computer Interfaces (BCI).
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://iraquitan.github.io" # the base hostname & protocol for your site
# collections
collections:
posts:
permalink: /blog/:categories/:year/:month/:day/:title/
# exclude
exclude: [assets, node_modules, Gemfile, Ge... | <|file_sep|>original/_config.yml
with Brain Computer Interfaces (BCI).
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://iraquitan.github.io" # the base hostname & protocol for your site
# collections
collections:
posts:
permalink: /blog/:categories/:year/:month/:day/:title/
# exclude
exclude: [... | 32db263b8e1f675f11d58d2544bdf29ea0626231 | _config.yml | _config.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: required
language: node_js
install:
- sudo pip install -r requirements.txt
- npm install
node_js:
- node
services:
- docker
script:
- yamllint --strict $(git ls-files '*.yaml' '*.yml') || exit 1
- find -name "*.md" -not -path "*/node_modules/*" | xargs markdownlin... |
install:
- sudo pip install -r requirements.txt
- npm install
node_js:
- node
services:
- docker
script:
- yamllint --strict $(git ls-files '*.yaml' '*.yml') || exit 1
- >
find -name "*.md" -not -path "*/node_modules/*"
| xargs markdownlint
|| exit 1
- find . -type f -iname "*.sh" | while ... | <|file_sep|>original/.travis.yml
sudo: required
language: node_js
install:
- sudo pip install -r requirements.txt
- npm install
node_js:
- node
services:
- docker
script:
- yamllint --strict $(git ls-files '*.yaml' '*.yml') || exit 1
- find -name "*.md" -not -path "*/node_modules/*" | xargs markdownlin... | e789a4adbe479fbbe03b68752d886c44f6c42107 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/meta/main.yml
<|file_sep|>current/meta/main.yml
<|file_sep|>updated/meta/main.yml | ---
galaxy_info:
author: "shrikeh"
description: "Install JumpCloud (https://jumpcloud.com) Active Directory and LDAP agent"
company: "B H Hanlon Ventures Ltd"
min_ansible_version: 1.5
platforms:
- name: Ubuntu
versions:
- precise
- quantal
- raring
- saucy
- t... | <|file_sep|>original/meta/main.yml
<|file_sep|>current/meta/main.yml
<|file_sep|>updated/meta/main.yml
---
galaxy_info:
author: "shrikeh"
description: "Install JumpCloud (https://jumpcloud.com) Active Directory and LDAP agent"
company: "B H Hanlon Ventures Ltd"
min_ansible_version: 1.5
platforms:
- name... | 15c81d6670aea84e2581af05027302c86557927b | meta/main.yml | meta/main.yml | YAML |
<|file_sep|>original/app/controllers/gobierto_budgets/pages_controller.rb
end
def legal_legal
end
def legal_privacy
end
def en
end
def request_access
render layout: false
end
def map
@year = params[:year]
end
end
end
<|file_sep|>current/app/controllers/gob... | end
def legal_privacy
end
def en
end
def request_access
render layout: false
end
def map
@year = params[:year].to_i
unless GobiertoBudgets::SearchEngineConfiguration::Year.all.include?(@year)
redirect_to gobierto_budgets_map_path(year: GobiertoBudgets::Searc... | <|file_sep|>original/app/controllers/gobierto_budgets/pages_controller.rb
end
def legal_legal
end
def legal_privacy
end
def en
end
def request_access
render layout: false
end
def map
@year = params[:year]
end
end
end
<|file_sep|>current/app/controllers/gob... | 8a145f630557ed04939a90e77f395e3cc740b891 | app/controllers/gobierto_budgets/pages_controller.rb | app/controllers/gobierto_budgets/pages_controller.rb | Ruby |
<|file_sep|>original/l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml
<|file_sep|>current/l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml
<|file_sep|>updated/l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml | <?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Binovo IT Human Project SL
Copyright 2022 Landoo Sistemas de Informacion SL
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="l10n_es_tbai_invoice_rule" model="ir.rule">
<field name="name">Ticketbai Inv... | <|file_sep|>original/l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml
<|file_sep|>current/l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml
<|file_sep|>updated/l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2021 Binovo IT H... | b85616e68baf3cbbdabb731aa49077fbbe8ad2e9 | l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml | l10n_es_ticketbai_api/security/l10n_es_ticketbai_security.xml | XML |
<|file_sep|>original/requirements.txt
Fabric==1.14.0
ZODB==5.3.0
SysScribe==0.1.2
zodbpickle==0.7.0
nose==1.3.7
Jinja2==2.9.6
<|file_sep|>current/requirements.txt
Fabric==1.14.0
ZODB==5.3.0
SysScribe==0.1.2
zodbpickle==0.7.0
nose==1.3.7
Jinja2==2.9.6
<|file_sep|>updated/requirements.txt | Fabric==1.14.0
ZODB==5.3.0
SysScribe==0.1.2
zodbpickle==1.0.3
nose==1.3.7
Jinja2==2.9.6 | <|file_sep|>original/requirements.txt
Fabric==1.14.0
ZODB==5.3.0
SysScribe==0.1.2
zodbpickle==0.7.0
nose==1.3.7
Jinja2==2.9.6
<|file_sep|>current/requirements.txt
Fabric==1.14.0
ZODB==5.3.0
SysScribe==0.1.2
zodbpickle==0.7.0
nose==1.3.7
Jinja2==2.9.6
<|file_sep|>updated/requirements.txt
Fabric==1.14.0
ZODB==5.3.0
SysSc... | e2125569c0f72a5bbd83b04aec9365e96cde743f | requirements.txt | requirements.txt | Text |
<|file_sep|>api/views.py.diff
original:
updated:
import django_filters
<|file_sep|>api/views.py.diff
original:
updated:
class EntryFilter(django_filters.rest_framework.FilterSet):
min_date = django_filters.DateFilter(name="date", lookup_expr="gte")
max_date = django_filters.DateFilter(name="date", lookup_expr... |
class TaskViewSet(viewsets.ModelViewSet):
queryset = Task.objects.all()
serializer_class = TaskSerializer
filter_fields = ('id', 'timesheet',)
class EntryFilter(django_filters.rest_framework.FilterSet):
min_date = django_filters.DateFilter(name="date", lookup_expr="gte")
max_date = django_filter... | <|file_sep|>api/views.py.diff
original:
updated:
import django_filters
<|file_sep|>api/views.py.diff
original:
updated:
class EntryFilter(django_filters.rest_framework.FilterSet):
min_date = django_filters.DateFilter(name="date", lookup_expr="gte")
max_date = django_filters.DateFilter(name="date", lookup_expr... | 1bf4116bbd449769d209c4ff98b609b72bd312aa | api/views.py | api/views.py | Python |
<|file_sep|>original/app/initializers/conditional-compile.js
var feature_flags = EMBER_CLI_CONDITIONAL_COMPILE_INJECTIONS;
var initializer = {
name: 'ember-cli-conditional-compile-helpers',
initialize: function(container, application) {
Object.keys(feature_flags).map(function(flag) {
Ember.Handlebars.re... |
var feature_flags = EMBER_CLI_CONDITIONAL_COMPILE_INJECTIONS;
var initializer = {
name: 'ember-cli-conditional-compile-helpers',
initialize: function(container, application) {
Object.keys(feature_flags).map(function(flag) {
Ember.Handlebars.registerHelper('if-flag-' + flag, function(options) {
i... | <|file_sep|>original/app/initializers/conditional-compile.js
var feature_flags = EMBER_CLI_CONDITIONAL_COMPILE_INJECTIONS;
var initializer = {
name: 'ember-cli-conditional-compile-helpers',
initialize: function(container, application) {
Object.keys(feature_flags).map(function(flag) {
Ember.Handlebars.re... | 087cadad1a36c477ad124ecf645adc0aa8ffa2d2 | app/initializers/conditional-compile.js | app/initializers/conditional-compile.js | JavaScript |
<|file_sep|>src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt.diff
original:
var versions = 0
updated:
if (settings.version < SETTINGS_VERSION) {
var versions = 0
<|file_sep|>src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt.diff
original:
for (i in se... | upgrade[i]?.invoke(settings) ?: continue
++versions
}
settings.version = SETTINGS_VERSION
if (versions > 0) {
val plural = if (versions > 1) "s" else ""
log.warning("Your config is $versions version$plural out of date. New values have been inferred.")
log.warning("It is rec... | <|file_sep|>src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt.diff
original:
var versions = 0
updated:
if (settings.version < SETTINGS_VERSION) {
var versions = 0
<|file_sep|>src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt.diff
original:
for (i in se... | cf6b38e0438a9aaf94f643c17333e213cc02548a | src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt | src/main/kotlin/net/moltendorf/bukkit/intellidoors/settings/SettingsUpgrade.kt | Kotlin |
<|file_sep|>5_Web_app_basics.md.diff
original:
unitstandard: 115384-SO1-AC4, 115384-SO2-AC1, 115384-SO2-AC4
updated:
<|file_sep|>5_Web_app_basics.md.diff
original:
Have another look at the [User Experience](http://fefg.projectcodex.co/user-experience.html) of your web app. Use the principles there to review your app. ... | ---
layout: default
title: Create, read, update & delete database basics
---
# Web application basics
<!--codex ignore purchase-->
> Nelisa needs data to be managed online with Sales and Purchase data captured online.
Add support to Add, Delete and Update records for Products, Categories, Sales and Purchases in the ... | <|file_sep|>5_Web_app_basics.md.diff
original:
unitstandard: 115384-SO1-AC4, 115384-SO2-AC1, 115384-SO2-AC4
updated:
<|file_sep|>5_Web_app_basics.md.diff
original:
Have another look at the [User Experience](http://fefg.projectcodex.co/user-experience.html) of your web app. Use the principles there to review your app. ... | 70d45b07842816a0b1a5b405ce42c73ef1ab899c | 5_Web_app_basics.md | 5_Web_app_basics.md | Markdown |
<|file_sep|>original/packages/truffle-error/index.js
var ExtendableBuiltin = require("./extendablebuiltin");
var inherits = require("util").inherits;
inherits(ExtendableError, ExtendableBuiltin(Error));
// From: http://stackoverflow.com/questions/31089801/extending-error-in-javascript-with-es6-syntax
function Extenda... | var ExtendableBuiltin = require("./extendablebuiltin");
var inherits = require("util").inherits;
inherits(ExtendableError, ExtendableBuiltin(Error));
// From: http://stackoverflow.com/questions/31089801/extending-error-in-javascript-with-es6-syntax
function ExtendableError(message) {
ExtendableError.super_.call(thi... | <|file_sep|>original/packages/truffle-error/index.js
var ExtendableBuiltin = require("./extendablebuiltin");
var inherits = require("util").inherits;
inherits(ExtendableError, ExtendableBuiltin(Error));
// From: http://stackoverflow.com/questions/31089801/extending-error-in-javascript-with-es6-syntax
function Extenda... | 1b0b8e939bf5f2b7845fa07cf9f2b60650671f5f | packages/truffle-error/index.js | packages/truffle-error/index.js | JavaScript |
<|file_sep|>original/package.json
"url": "http://github.com/flatiron/utile.git"
},
"dependencies": {
"async": "0.1.x",
"i": "0.3.x",
"mkdirp": "0.x.x",
"ncp": "0.2.x",
"rimraf": "1.x.x"
},
"devDependencies": {
"vows": "0.6.x"
},
"scripts": {
"test": "vows --spec --isolate"
... | "url": "http://github.com/flatiron/utile.git"
},
"dependencies": {
"async": "0.1.x",
"i": "0.3.x",
"mkdirp": "0.x.x",
"ncp": "0.2.x",
"rimraf": "1.x.x"
},
"devDependencies": {
"vows": "0.6.x"
},
"scripts": {
"test": "vows --spec"
},
"main": "./lib/index",
"engines": {
... | <|file_sep|>original/package.json
"url": "http://github.com/flatiron/utile.git"
},
"dependencies": {
"async": "0.1.x",
"i": "0.3.x",
"mkdirp": "0.x.x",
"ncp": "0.2.x",
"rimraf": "1.x.x"
},
"devDependencies": {
"vows": "0.6.x"
},
"scripts": {
"test": "vows --spec --isolate"
... | 2df50c67fc5bbf0b243ff478d37f28dc4a84563a | package.json | package.json | JSON |
<|file_sep|>original/adlb_build.sh
export CC=mpicc
if [ -f Makefile ]; then
make clean
fi
./setup.sh
EXTRA_ARGS=
if [ ! -z "$EXM_OPT_BUILD" ]; then
EXTRA_ARGS+="--enable-fast"
fi
if [ ! -z "$ENABLE_MPE"]; then
EXTRA_ARGS+="--with-mpe=${MPE_INST}"
fi
./configure --disable-f77 \
--with-c-utils... | if [ -f Makefile ]; then
make clean
fi
./setup.sh
EXTRA_ARGS=
if [ ! -z "$EXM_OPT_BUILD" ]; then
EXTRA_ARGS+="--enable-fast"
fi
if [ ! -z "$EXM_DEBUG_BUILD" ]; then
EXTRA_ARGS+="--enable-log-debug"
fi
if [ ! -z "$ENABLE_MPE"]; then
EXTRA_ARGS+="--with-mpe=${MPE_INST}"
fi
./configure --disable-f77 \... | <|file_sep|>original/adlb_build.sh
export CC=mpicc
if [ -f Makefile ]; then
make clean
fi
./setup.sh
EXTRA_ARGS=
if [ ! -z "$EXM_OPT_BUILD" ]; then
EXTRA_ARGS+="--enable-fast"
fi
if [ ! -z "$ENABLE_MPE"]; then
EXTRA_ARGS+="--with-mpe=${MPE_INST}"
fi
./configure --disable-f77 \
--with-c-utils... | 5a279ed1a0ffe769bffa471a1ed99ee82e5e66f8 | adlb_build.sh | adlb_build.sh | Shell |
<|file_sep|>app/scripts/controllers/account.js.diff
original:
updated:
$scope.agent = Token.data();
<|file_sep|>app/scripts/controllers/account.js.diff
original:
updated:
console.log('AccountCtrl init');
<|file_sep|>original/app/scripts/controllers/account.js
angular.module('geboRegistrantHaiApp')
.con... |
$scope.agent = Token.data();
/**
* init
*/
$scope.init = function() {
console.log('AccountCtrl init');
Token.request({
action: 'ls',
resource: 'friends',
recipient: $scope.agent.email,
fields: ['name', '_id', 'email'... | <|file_sep|>app/scripts/controllers/account.js.diff
original:
updated:
$scope.agent = Token.data();
<|file_sep|>app/scripts/controllers/account.js.diff
original:
updated:
console.log('AccountCtrl init');
<|file_sep|>original/app/scripts/controllers/account.js
angular.module('geboRegistrantHaiApp')
.con... | 4b5c61e6c07987ddb2131635bac6813a32054c58 | app/scripts/controllers/account.js | app/scripts/controllers/account.js | JavaScript |
<|file_sep|>original/src/server/interface/pointerdetector.kmd.json
{
"name": "pointerdetector",
"version": "1.0.2",
"kurentoVersion": "^5.0.0",
"code": {
"api": {
"js": {
"nodeName": "kurento-module-pointerdetector",
"npmDescription": "Pointer Detector Filter",
"npmGit": "Kuren... | {
"name": "pointerdetector",
"version": "1.0.3-dev",
"kurentoVersion": "^5.0.0",
"code": {
"api": {
"js": {
"nodeName": "kurento-module-pointerdetector",
"npmDescription": "Pointer Detector Filter",
"npmGit": "Kurento/kurento-module-pointerdetector-js"
}
}
}
} | <|file_sep|>original/src/server/interface/pointerdetector.kmd.json
{
"name": "pointerdetector",
"version": "1.0.2",
"kurentoVersion": "^5.0.0",
"code": {
"api": {
"js": {
"nodeName": "kurento-module-pointerdetector",
"npmDescription": "Pointer Detector Filter",
"npmGit": "Kuren... | 5efe78cdcf957c4257316f14fb29f128421c9001 | src/server/interface/pointerdetector.kmd.json | src/server/interface/pointerdetector.kmd.json | JSON |
<|file_sep|>original/starter-microservice-microprofile/repository/0.0.3/server-snippet.xml
<|file_sep|>current/starter-microservice-microprofile/repository/0.0.3/server-snippet.xml
<|file_sep|>updated/starter-microservice-microprofile/repository/0.0.3/server-snippet.xml | <!-- Copyright (c) 2016,17 IBM Corp.
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 agreed to in wr... | <|file_sep|>original/starter-microservice-microprofile/repository/0.0.3/server-snippet.xml
<|file_sep|>current/starter-microservice-microprofile/repository/0.0.3/server-snippet.xml
<|file_sep|>updated/starter-microservice-microprofile/repository/0.0.3/server-snippet.xml
<!-- Copyright (c) 2016,17 IBM Corp.
Licens... | 1a73f4c8e4b6e8775d17089172a064d0a89601cb | starter-microservice-microprofile/repository/0.0.3/server-snippet.xml | starter-microservice-microprofile/repository/0.0.3/server-snippet.xml | XML |
<|file_sep|>lib/resolve-script/is-executable.js.diff
original:
var OTHERS = parseInt('0001', 8)
var GROUP = parseInt('0010', 8)
var USER = parseInt('0100', 8)
updated:
<|file_sep|>lib/resolve-script/is-executable.js.diff
original:
updated:
var mode = stats.mode
var owner = mode >> 6
var group = (mode <<... | var fs = require('fs')
module.exports = function (path, cb) {
fs.stat(path, function (er, stats) {
var mode = stats.mode
var owner = mode >> 6
var group = (mode << 3) >> 6
var others = (mode << 6) >> 6
if (er) return cb(er)
cb(er, !!(owner & 1) || !!(group & 1) || !!(others & 1))
})
} | <|file_sep|>lib/resolve-script/is-executable.js.diff
original:
var OTHERS = parseInt('0001', 8)
var GROUP = parseInt('0010', 8)
var USER = parseInt('0100', 8)
updated:
<|file_sep|>lib/resolve-script/is-executable.js.diff
original:
updated:
var mode = stats.mode
var owner = mode >> 6
var group = (mode <<... | 5cb753dbbc72533b00d3e487178eebf4be473bae | lib/resolve-script/is-executable.js | lib/resolve-script/is-executable.js | JavaScript |
<|file_sep|>original/README.md
# Context project by goto fail;
This is the Context project of the team 'goto fail;'. This project aims to improve the workflow and overall productivity of the scripting and production at 'Polycast'.
## Lombok and annotation processing
This project uses lombok, an annotation processor fo... | # Context project by goto fail;
This is the Context project of the team 'goto fail;'. This project aims to improve the workflow and overall productivity of the scripting and production at 'Polycast'.
## Lombok and annotation processing
This project uses lombok, an annotation processor for java. This annotation process... | <|file_sep|>original/README.md
# Context project by goto fail;
This is the Context project of the team 'goto fail;'. This project aims to improve the workflow and overall productivity of the scripting and production at 'Polycast'.
## Lombok and annotation processing
This project uses lombok, an annotation processor fo... | 4aad54e8973910be0f0293dc97ce3adbf13bc026 | README.md | README.md | Markdown |
<|file_sep|>Web/public/js/app/services/apiService.js.diff
original:
angular.module('app').factory('api', function($http, $q, config){
updated:
angular.module('app').factory('api', function ($http, $q, config) {
<|file_sep|>Web/public/js/app/services/apiService.js.diff
original:
single: function(sexe){
updated:
... | number = number || 1;
var deferred = $q.defer();
$http({
method: 'GET',
url: config.apiUrl + '/blind/generate/multi/' + category + '/' + number
})
.success(function (result) {
deferred.resolve(result);
... | <|file_sep|>Web/public/js/app/services/apiService.js.diff
original:
angular.module('app').factory('api', function($http, $q, config){
updated:
angular.module('app').factory('api', function ($http, $q, config) {
<|file_sep|>Web/public/js/app/services/apiService.js.diff
original:
single: function(sexe){
updated:
... | cf748be9d8c2e921a5b23b5637425de17e0150f5 | Web/public/js/app/services/apiService.js | Web/public/js/app/services/apiService.js | JavaScript |
<|file_sep|>lib/scrapper/exceptionScrapper.js.diff
original:
const exception = $(".strong.title")[0].childNodes[1].textContent;
const info = $(".info.normal")[0].textContent;
updated:
var exception;
const info = document.querySelector(".info.normal").textContent;
const ex... | /*global $*/
module.exports = function(page) {
return page.evaluate(function() {
var exception;
const info = document.querySelector(".info.normal").textContent;
const exceptionChildNodes = document.querySelector(".strong.title").childNodes;
for (var i = 0; i < exceptionChildNodes.le... | <|file_sep|>lib/scrapper/exceptionScrapper.js.diff
original:
const exception = $(".strong.title")[0].childNodes[1].textContent;
const info = $(".info.normal")[0].textContent;
updated:
var exception;
const info = document.querySelector(".info.normal").textContent;
const ex... | cb546b2d0e3bd800d44656fbd664a74f2176a31e | lib/scrapper/exceptionScrapper.js | lib/scrapper/exceptionScrapper.js | JavaScript |
<|file_sep|>original/README.md
# DICOM-rs
An efficient and practical base library for DICOM compliant systems.
At its core, this library is a pure Rust implementation of the DICOM representation format,
allowing users to read/write DICOM objects from/to files and other sources/destinations,
while remaining intrinsica... | # DICOM-rs
[](https://travis-ci.org/Enet4/dicom-rs)
An efficient and practical base library for DICOM compliant systems.
At its core, this library is a pure Rust implementation of the DICOM representation format,
allowing users to read/write DIC... | <|file_sep|>original/README.md
# DICOM-rs
An efficient and practical base library for DICOM compliant systems.
At its core, this library is a pure Rust implementation of the DICOM representation format,
allowing users to read/write DICOM objects from/to files and other sources/destinations,
while remaining intrinsica... | 7b65cda011affe8c8d99d6557731844ec8fd81a9 | README.md | README.md | Markdown |
<|file_sep|>original/setup.cfg
[flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, F401, F403, F405
exclude = ./squash/dashboard/migrations
<|file_sep|>current/setup.cfg
[flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, F401, F403, F405
exclude = ./squash/dashboard/migrations
<|fil... | [flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, F401, F403, F405
exclude = ./env,./squash/dashboard/migrations | <|file_sep|>original/setup.cfg
[flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, F401, F403, F405
exclude = ./squash/dashboard/migrations
<|file_sep|>current/setup.cfg
[flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, F401, F403, F405
exclude = ./squash/dashboard/migrations
<|fil... | 0380cdb6e9d014d1fb91bd4decece747e7626df0 | setup.cfg | setup.cfg | INI |
<|file_sep|>original/README.md
# lively4-serviceworker
Lively4's service worker with caching and unified cloud storage access
[](https://travis-ci.org/LivelyKernel/lively4-serviceworker) [](https://travis-ci.org/LivelyKernel/lively4-serviceworker) [](https://travis-ci.org/LivelyKernel/lively4-serviceworker) [;
var each = lodash.each;
updated:
<|file_sep|>lib/event_stream.js.diff
original:
if(!(this instanceof EventStream))
updated:
if (!(this instanceof EventStream)) {
<|file_sep|>lib/event_stream.js.diff
original:
updated:
}
<|file_... | EventStream.prototype.on = function on(event, callback) {
if (!this.callbacks[event]) {
this.callbacks[event] = [];
}
this.callbacks[event].push(callback);
};
EventStream.prototype.publish = function publish() {
var event = arguments[0];
var args = arguments.length >= 2 ? slice.call(arg... | <|file_sep|>lib/event_stream.js.diff
original:
var lodash = require('lodash');
var each = lodash.each;
updated:
<|file_sep|>lib/event_stream.js.diff
original:
if(!(this instanceof EventStream))
updated:
if (!(this instanceof EventStream)) {
<|file_sep|>lib/event_stream.js.diff
original:
updated:
}
<|file_... | 734e5ab53241c39615717604d98ee46e673ebc42 | lib/event_stream.js | lib/event_stream.js | JavaScript |
<|file_sep|>sass-timestamp.gemspec.diff
original:
s.version = "0.0.1.alpha.1"
updated:
s.version = "0.0.1"
<|file_sep|>original/sass-timestamp.gemspec
Gem::Specification.new do |s|
s.name = %q{sass-timestamp}
s.version = "0.0.1.alpha.1"
s.date = %q{2014-08-12}
s.license = 'MIT'
s.summary = %q{SASS compile timest... | Gem::Specification.new do |s|
s.name = %q{sass-timestamp}
s.version = "0.0.1"
s.date = %q{2014-08-12}
s.license = 'MIT'
s.summary = %q{SASS compile timestamp function}
s.description = "Sass function for addimg timestamps to compiled CSS."
s.authors = ["madastro"]
s.email = 'hello@madastro.com'
s.homepage = 'ht... | <|file_sep|>sass-timestamp.gemspec.diff
original:
s.version = "0.0.1.alpha.1"
updated:
s.version = "0.0.1"
<|file_sep|>original/sass-timestamp.gemspec
Gem::Specification.new do |s|
s.name = %q{sass-timestamp}
s.version = "0.0.1.alpha.1"
s.date = %q{2014-08-12}
s.license = 'MIT'
s.summary = %q{SASS compile timest... | 6efbac1119533d506d72be0509cb5e4a196ad782 | sass-timestamp.gemspec | sass-timestamp.gemspec | Ruby |
<|file_sep|>original/scripts/root_setup.sh
#!/bin/bash
set -e
# Updating and Upgrading dependencies
sudo apt-get update -y -qq > /dev/null
sudo apt-get upgrade -y -qq > /dev/null
# Install necessary libraries for guest additions and Vagrant NFS Share
sudo apt-get -y -q install linux-headers-$(uname -r) build-essenti... | #!/bin/bash
set -e
# Updating and Upgrading dependencies
sudo apt-get update -y -qq > /dev/null
sudo apt-get upgrade -y -qq > /dev/null
# Install necessary libraries for guest additions and Vagrant NFS Share
sudo apt-get -y -q install linux-headers-$(uname -r) build-essential dkms nfs-common python-prettytable devsc... | <|file_sep|>original/scripts/root_setup.sh
#!/bin/bash
set -e
# Updating and Upgrading dependencies
sudo apt-get update -y -qq > /dev/null
sudo apt-get upgrade -y -qq > /dev/null
# Install necessary libraries for guest additions and Vagrant NFS Share
sudo apt-get -y -q install linux-headers-$(uname -r) build-essenti... | 56e7f207d818d316a49102a9b540aff8d4c7b6cd | scripts/root_setup.sh | scripts/root_setup.sh | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.