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/rosrust/src/tcpros/mod.rs
mod client;
pub mod error;
mod header;
mod publisher;
mod service;
mod subscriber;
mod util;
pub type ServiceResult<T> = Result<T, String>;
pub trait Message: Clone + Debug + Default + PartialEq + RosMsg + Send + 'static {
fn msg_definition() -> String;
fn md5sum... | mod client;
pub mod error;
mod header;
mod publisher;
mod service;
mod subscriber;
mod util;
pub type ServiceResult<T> = Result<T, String>;
pub trait Message: Clone + Debug + Default + PartialEq + RosMsg + Send + Sync + 'static {
fn msg_definition() -> String;
fn md5sum() -> String;
fn msg_type() -> Strin... | <|file_sep|>original/rosrust/src/tcpros/mod.rs
mod client;
pub mod error;
mod header;
mod publisher;
mod service;
mod subscriber;
mod util;
pub type ServiceResult<T> = Result<T, String>;
pub trait Message: Clone + Debug + Default + PartialEq + RosMsg + Send + 'static {
fn msg_definition() -> String;
fn md5sum... | e4210a0094dc74a072039982db290857db87330e | rosrust/src/tcpros/mod.rs | rosrust/src/tcpros/mod.rs | Rust |
<|file_sep|>original/app/views/pulitzer/post_type_content_element_types/_new.html.erb
<%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append', sub_class: "AddALineForm", container: "#new_post_type_content_element_type_#{dom_id(ptcet.post_... | <%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append', sub_class: "AddALineForm", container: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}") do |f| %>
<%= render partial: 'form_fields', locals: { f: f, ptcet: ptcet }... | <|file_sep|>original/app/views/pulitzer/post_type_content_element_types/_new.html.erb
<%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append', sub_class: "AddALineForm", container: "#new_post_type_content_element_type_#{dom_id(ptcet.post_... | e04b5e3d9fb2cade636eeef769965bd3195c769b | app/views/pulitzer/post_type_content_element_types/_new.html.erb | app/views/pulitzer/post_type_content_element_types/_new.html.erb | HTML+ERB |
<|file_sep|>original/template.distillery/PROJECT_NAME.sql
CREATE EXTENSION citext; --DEFAULT
-- You may remove the above line if you use the type TEXT for emails instead of CITEXT
CREATE SCHEMA ocsigen_start
CREATE TABLE users ( -- DEFAULT
userid bigserial primary key, -- DEFAULT
firstname text NOT... | CREATE EXTENSION citext; --DEFAULT
-- You may remove the above line if you use the type TEXT for emails instead of CITEXT
CREATE SCHEMA ocsigen_start
CREATE TABLE users ( -- DEFAULT
userid bigserial primary key, -- DEFAULT
firstname text NOT NULL,
lastname text NOT NULL,
main_emai... | <|file_sep|>original/template.distillery/PROJECT_NAME.sql
CREATE EXTENSION citext; --DEFAULT
-- You may remove the above line if you use the type TEXT for emails instead of CITEXT
CREATE SCHEMA ocsigen_start
CREATE TABLE users ( -- DEFAULT
userid bigserial primary key, -- DEFAULT
firstname text NOT... | 24e37c97914dbe4933bda662fad958df9c1b6bde | template.distillery/PROJECT_NAME.sql | template.distillery/PROJECT_NAME.sql | SQL |
<|file_sep|>.travis.yml.diff
original:
updated:
- sudo apt-get update
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.4
- 0.6
- 0.7
before_install:
- sudo apt-get install php-pear
- sudo pear channel-discover pear.phpunit.de
- sudo pear channel-discover pear.symfony-project.com
- sudo p... | language: node_js
node_js:
- 0.4
- 0.6
- 0.7
before_install:
- sudo apt-get update
- sudo apt-get install php-pear
- sudo pear upgrade PEAR
- sudo pear channel-discover pear.phpunit.de
- sudo pear channel-discover pear.symfony-project.com
- sudo pear install --alldeps phpunit/PHPUnit
- sudo apt-get ... | <|file_sep|>.travis.yml.diff
original:
updated:
- sudo apt-get update
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.4
- 0.6
- 0.7
before_install:
- sudo apt-get install php-pear
- sudo pear channel-discover pear.phpunit.de
- sudo pear channel-discover pear.symfony-project.com
- sudo p... | 14744a46c4da09982a0fd34485432bb2baeb8ba6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>docs/cookbook/expressjs.md.diff
original:
The returned value is an ExpressJS application that can be used as is to create an HTTP server. *FoalTS is not designed to integrate Express middlewares in its controllers or hooks*. However, if for any reason you need to apply globally a middleware to the applicati... |
```typescript
import { createApp } from '@foal/core';
import * as express from 'express';
const expressApp = express();
expressApp.use(/* an Express middleware */)
const app = createApp(AppController, expressApp);
```
## Pre and Post Express Middlewares
You can also pass global Express middlewares as options to the... | <|file_sep|>docs/cookbook/expressjs.md.diff
original:
The returned value is an ExpressJS application that can be used as is to create an HTTP server. *FoalTS is not designed to integrate Express middlewares in its controllers or hooks*. However, if for any reason you need to apply globally a middleware to the applicati... | f2e0344cd634a5c2696998a042cccd5e3beb877a | docs/cookbook/expressjs.md | docs/cookbook/expressjs.md | Markdown |
<|file_sep|>original/install_formulae.sh
#!/usr/bin/env zsh
set -A base \
git git-extras willgit growlnotify hub jsl ctags lorem graphviz postgresql \
mongodb redis memcached node rlwrap couchdb subversion wget tree
set -A head macvim
TRAPINT () {
echo "Exiting..."
exit
}
brew install $base
brew install --H... | #!/usr/bin/env zsh
set -A base \
git git-extras willgit git-flow growlnotify hub jsl ctags lorem graphviz \
postgresql mongodb redis memcached node rlwrap couchdb subversion wget tree
set -A head macvim
TRAPINT () {
echo "Exiting..."
exit
}
brew install $base
brew install --HEAD $head | <|file_sep|>original/install_formulae.sh
#!/usr/bin/env zsh
set -A base \
git git-extras willgit growlnotify hub jsl ctags lorem graphviz postgresql \
mongodb redis memcached node rlwrap couchdb subversion wget tree
set -A head macvim
TRAPINT () {
echo "Exiting..."
exit
}
brew install $base
brew install --H... | 8d09dbc9c6c75f0800bae4f549786f397cc197ae | install_formulae.sh | install_formulae.sh | Shell |
<|file_sep|>core/mutex/lock_spec.rb.diff
original:
v = 1
updated:
<|file_sep|>core/mutex/lock_spec.rb.diff
original:
Thread.pass while th.status and th.status != "sleep"
ScratchPad.recorded.should be_nil
updated:
<|file_sep|>original/core/mutex/lock_spec.rb
ScratchPad.recorded.should == :aft... | th.join
ScratchPad.recorded.should == :after_lock
end
# Unable to find a specific ticket but behavior change may be
# related to this ML thread.
ruby_bug "[ruby-core:23457]", "1.8.7.174" do
it "raises a ThreadError when used recursively" do
m = Mutex.new
th = Thread.new do
m.lo... | <|file_sep|>core/mutex/lock_spec.rb.diff
original:
v = 1
updated:
<|file_sep|>core/mutex/lock_spec.rb.diff
original:
Thread.pass while th.status and th.status != "sleep"
ScratchPad.recorded.should be_nil
updated:
<|file_sep|>original/core/mutex/lock_spec.rb
ScratchPad.recorded.should == :aft... | 0c3c64b3380d71806d6642d4ab3989c6c10a8d8f | core/mutex/lock_spec.rb | core/mutex/lock_spec.rb | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2 | 83a525ea53cb9b0ddea27ffbba40b5bc05a5452d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
"licenses": [
{
"type": "MIT",
"url": "https://github.com/philwareham/hive-framework/blob/master/LICENSE"
}
],
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1",
"grunt-combine-media-queries": "1.0.19",
"grunt-contrib-compass": "1.0.2... | "licenses": [
{
"type": "MIT",
"url": "https://github.com/philwareham/hive-framework/blob/master/LICENSE"
}
],
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1",
"grunt-combine-media-queries": "1.0.19",
"grunt-contrib-compass": "1.0.3",
"grunt-contrib-concat": "0.... | <|file_sep|>original/package.json
"licenses": [
{
"type": "MIT",
"url": "https://github.com/philwareham/hive-framework/blob/master/LICENSE"
}
],
"devDependencies": {
"grunt": "~0.4.5",
"grunt-cli": "~0.1",
"grunt-combine-media-queries": "1.0.19",
"grunt-contrib-compass": "1.0.2... | 2fad72705281b1174c19566aa73142b336af96ab | package.json | package.json | JSON |
<|file_sep|>original/composer.json
"description": "Symfony cron",
"license": "MIT",
"authors": [
{
"name": "Dries De Peuter",
"email": "dries@nousefreak.be"
}
],
"require": {
"php": ">=5.5.0",
"symfony/framework-bundle": "^2.5|^3.0|^4.0",
... | "description": "Symfony cron",
"license": "MIT",
"authors": [
{
"name": "Dries De Peuter",
"email": "dries@nousefreak.be"
}
],
"require": {
"php": ">=5.5.0",
"symfony/framework-bundle": "^3.4|^4.0",
"cron/cron": "^1.0.1",
"doctr... | <|file_sep|>original/composer.json
"description": "Symfony cron",
"license": "MIT",
"authors": [
{
"name": "Dries De Peuter",
"email": "dries@nousefreak.be"
}
],
"require": {
"php": ">=5.5.0",
"symfony/framework-bundle": "^2.5|^3.0|^4.0",
... | 5864c3706755611fd1eb2860cb1901c6d5a93b26 | composer.json | composer.json | JSON |
<|file_sep|>LICENSE-topojson.txt.diff
original:
modification, are permitted provided that the following conditions are met:
• Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
updated:
modification, are permitted provided that the fo... | • Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
• Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or oth... | <|file_sep|>LICENSE-topojson.txt.diff
original:
modification, are permitted provided that the following conditions are met:
• Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
updated:
modification, are permitted provided that the fo... | b08211b0c60c2a7edee62c7dddb15b43c9d3f3cb | LICENSE-topojson.txt | LICENSE-topojson.txt | Text |
<|file_sep|>mongoid_genesis.gemspec.diff
original:
s.name = "mongoid_genesis"
updated:
s.name = "mongoid-genesis"
<|file_sep|>mongoid_genesis.gemspec.diff
original:
s.homepage = "http://www.demarque.com"
updated:
s.homepage = "https://github.com/demarque/mongoid-genesis"
<|file_sep|>original... | s.name = "mongoid-genesis"
s.version = '0.0.1'
s.authors = ["Sebastien Rosa"]
s.email = ["sebastien@demarque.com"]
s.extra_rdoc_files = ["LICENSE", "README.md"]
s.licenses = ["MIT"]
s.homepage = "https://github.com/demarque/mongoid-genesis"
s.summary = "Preserve the original ... | <|file_sep|>mongoid_genesis.gemspec.diff
original:
s.name = "mongoid_genesis"
updated:
s.name = "mongoid-genesis"
<|file_sep|>mongoid_genesis.gemspec.diff
original:
s.homepage = "http://www.demarque.com"
updated:
s.homepage = "https://github.com/demarque/mongoid-genesis"
<|file_sep|>original... | e441335f1ad136e279c41c45aad292335ad200a4 | mongoid_genesis.gemspec | mongoid_genesis.gemspec | Ruby |
<|file_sep|>original/client/views/tracks.jsx
<|file_sep|>current/client/views/tracks.jsx
<|file_sep|>updated/client/views/tracks.jsx | /** @jsx React.DOM */
module("views/tracks", function(require) {
var MusicTrack = require("models/tracks").Track;
var FileListReader = require("lib/file-list-reader");
var Track = React.createClass({
addToQueue: function() {
this.props.queue.add(this.props.track);
},
render: function() {
... | <|file_sep|>original/client/views/tracks.jsx
<|file_sep|>current/client/views/tracks.jsx
<|file_sep|>updated/client/views/tracks.jsx
/** @jsx React.DOM */
module("views/tracks", function(require) {
var MusicTrack = require("models/tracks").Track;
var FileListReader = require("lib/file-list-reader");
var T... | b6d9feb576f5d34347d1341fc654ea9250624d01 | client/views/tracks.jsx | client/views/tracks.jsx | JSX |
<|file_sep|>assets/styles/nuclides/fonts.scss.diff
original:
updated:
/** @font Inconsolata */
<|file_sep|>original/assets/styles/nuclides/fonts.scss
//
// Copyright (C) 2016 Michael Seibt
//
// With contributions from: -
//
// This software may be modified and distributed under the terms
// of the MIT license. See th... | //
// Copyright (C) 2016 Michael Seibt
//
// With contributions from: -
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
/** @font Inconsolata */
@import url('https://fonts.googleapis.com/css?family=Inconsolata');
/**
* @font Lato
* @hairli... | <|file_sep|>assets/styles/nuclides/fonts.scss.diff
original:
updated:
/** @font Inconsolata */
<|file_sep|>original/assets/styles/nuclides/fonts.scss
//
// Copyright (C) 2016 Michael Seibt
//
// With contributions from: -
//
// This software may be modified and distributed under the terms
// of the MIT license. See th... | 5750478950640d175312d459c6237fcca7b6bfdc | assets/styles/nuclides/fonts.scss | assets/styles/nuclides/fonts.scss | SCSS |
<|file_sep|>lib/smart_answer_flows/check-uk-visa/outcomes/outcome_marriage_visa_nat_datv.erb.diff
original:
If you want to live in the UK permanently, you must apply for a [family of a settled person visa](/join-family-in-uk) if your partner is any of the following:
updated:
If you want to live in the UK permanentl... | <% text_for :title do %>
You’ll need a visa to come to the UK
<% end %>
<% govspeak_for :body do %>
<%= render partial: 'stateless_or_refugee', locals: {calculator: calculator} %>
<%= render partial: 'estonia_or_latvia', locals: {calculator: calculator} %>
Apply for a [Marriage Visitor visa](/marriage-visa) ... | <|file_sep|>lib/smart_answer_flows/check-uk-visa/outcomes/outcome_marriage_visa_nat_datv.erb.diff
original:
If you want to live in the UK permanently, you must apply for a [family of a settled person visa](/join-family-in-uk) if your partner is any of the following:
updated:
If you want to live in the UK permanentl... | de956eb08a7639f829257f003a7d93a10c6dd8f0 | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_marriage_visa_nat_datv.erb | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_marriage_visa_nat_datv.erb | HTML+ERB |
<|file_sep|>original/articles/migrations/0010_auto_20180817_2321.py
<|file_sep|>current/articles/migrations/0010_auto_20180817_2321.py
<|file_sep|>updated/articles/migrations/0010_auto_20180817_2321.py | # Generated by Django 2.0.8 on 2018-08-17 23:21
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('articles', '0009_auto_20180727_1437'),
]
operations = [
migrations.AlterField(
model_name='arti... | <|file_sep|>original/articles/migrations/0010_auto_20180817_2321.py
<|file_sep|>current/articles/migrations/0010_auto_20180817_2321.py
<|file_sep|>updated/articles/migrations/0010_auto_20180817_2321.py
# Generated by Django 2.0.8 on 2018-08-17 23:21
from django.db import migrations, models
import django.db.models.de... | 079be3496b22d1ac08408dcee13bca02bb20babd | articles/migrations/0010_auto_20180817_2321.py | articles/migrations/0010_auto_20180817_2321.py | Python |
<|file_sep|>original/modules/vagrant/templates/install.sh
#!/bin/bash -e
curl -sL "<%= @url %>" > vagrant.deb
dpkg -i --force-confold vagrant.deb
ln -sf /opt/vagrant/bin/vagrant /usr/local/bin/vagrant
<|file_sep|>current/modules/vagrant/templates/install.sh
#!/bin/bash -e
curl -sL "<%= @url %>" > vagrant.deb
dpkg -i ... | #!/bin/bash -e
curl -sL "<%= @url %>" > vagrant.deb
for i in $(find /usr /opt /home /var -ipath '*/.vagrant.d'); do
rm -rf "${i}"
done
dpkg -i --force-confold vagrant.deb
ln -sf /opt/vagrant/bin/vagrant /usr/local/bin/vagrant | <|file_sep|>original/modules/vagrant/templates/install.sh
#!/bin/bash -e
curl -sL "<%= @url %>" > vagrant.deb
dpkg -i --force-confold vagrant.deb
ln -sf /opt/vagrant/bin/vagrant /usr/local/bin/vagrant
<|file_sep|>current/modules/vagrant/templates/install.sh
#!/bin/bash -e
curl -sL "<%= @url %>" > vagrant.deb
dpkg -i ... | 17d863fcc4b5d4ebc2e0e20c121c01e113c004e7 | modules/vagrant/templates/install.sh | modules/vagrant/templates/install.sh | Shell |
<|file_sep|>original/src/preferences/fixtures/selenium_test_data.json
<|file_sep|>current/src/preferences/fixtures/selenium_test_data.json
<|file_sep|>updated/src/preferences/fixtures/selenium_test_data.json | [
{
"pk": 1,
"model": "preferences.platformpreference",
"fields": {
"user": 1,
"name": "tip-0",
"value": "False"
}
},
{
"pk": 2,
"model": "preferences.platformpreference",
"fields": {
"user": 1,
... | <|file_sep|>original/src/preferences/fixtures/selenium_test_data.json
<|file_sep|>current/src/preferences/fixtures/selenium_test_data.json
<|file_sep|>updated/src/preferences/fixtures/selenium_test_data.json
[
{
"pk": 1,
"model": "preferences.platformpreference",
"fields": {
"u... | 184d71226c486545d0c4e3e3ff26a819d63d1452 | src/preferences/fixtures/selenium_test_data.json | src/preferences/fixtures/selenium_test_data.json | JSON |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx
django-extensions==1.6.1
Werkzeug==0.11.3
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.4
django-autofixture==0.11.0
<|file_sep|>current/requirements/local.txt
# Local development depend... | # Local development dependencies go here
-r base.txt
Sphinx
django-extensions==1.6.1
Werkzeug==0.11.9
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.4
django-autofixture==0.11.0 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx
django-extensions==1.6.1
Werkzeug==0.11.3
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.4
django-autofixture==0.11.0
<|file_sep|>current/requirements/local.txt
# Local development depend... | 128b1de011ad3f6f92e3ad5cb05ba95bdb6f4af5 | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>current/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>updated/.travis.yml | language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8 | <|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>current/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
<|file_sep|>updated/.travis.yml
language: "node_js"
node_js:
- 0.4
- 0.6
- 0.8 | b34310880ece4cd53749d9ab0a0e77ae1433aa65 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
{
"name": "bluecat",
"version": "0.2.0",
"description": "Generic REST API Test Framework",
"repository": {
"type" : "git",
"url" : "https://github.com/chenchaoyi/bluecat"
},
"keywords": ["testing", "api", "REST", "bdd", "bluecat"],
"dependencies": {
"request"... | {
"name": "bluecat",
"version": "0.2.0",
"description": "Generic REST API Test Framework",
"repository": {
"type" : "git",
"url" : "https://github.com/chenchaoyi/bluecat"
},
"keywords": ["testing", "api", "REST", "bdd", "bluecat"],
"dependencies": {
"request": "2.50.0",
"fibers": ">=1.0.2... | <|file_sep|>original/package.json
{
"name": "bluecat",
"version": "0.2.0",
"description": "Generic REST API Test Framework",
"repository": {
"type" : "git",
"url" : "https://github.com/chenchaoyi/bluecat"
},
"keywords": ["testing", "api", "REST", "bdd", "bluecat"],
"dependencies": {
"request"... | 9f921c937605844de44a4c0a720dc70a36496faf | package.json | package.json | JSON |
<|file_sep|>original/tools/valgrind/gtest_exclude/remoting_unittests.gtest-tsan.txt
# Following tests create real libjingle connections, and libjingle has
# hardcoded timeouts, so these tests fail under TSan.
JingleSessionTest.Connect
JingleSessionTest.TestControlChannel
JingleSessionTest.TestEventChannel
JingleSession... | # Following tests create real libjingle connections, and libjingle has
# hardcoded timeouts, so these tests fail under TSan.
JingleSessionTest.Connect
JingleSessionTest.TestControlChannel
JingleSessionTest.TestEventChannel
JingleSessionTest.TestVideoChannel
JingleSessionTest.TestVideoRtpChannel
# Fails, http://crbug.c... | <|file_sep|>original/tools/valgrind/gtest_exclude/remoting_unittests.gtest-tsan.txt
# Following tests create real libjingle connections, and libjingle has
# hardcoded timeouts, so these tests fail under TSan.
JingleSessionTest.Connect
JingleSessionTest.TestControlChannel
JingleSessionTest.TestEventChannel
JingleSession... | c3f7add77db4bcb96856b795c331ef9122942e1b | tools/valgrind/gtest_exclude/remoting_unittests.gtest-tsan.txt | tools/valgrind/gtest_exclude/remoting_unittests.gtest-tsan.txt | Text |
<|file_sep|>original/lib/formotion/row_type/button.rb
# for just this one UITableViewCell object, in order to
# center it's labels horizontally.
def build_cell(cell)
cell.selectionStyle = self.row.selection_style || UITableViewCellSelectionStyleBlue
cell.swizzle(:layoutSubviews) do
... | # for just this one UITableViewCell object, in order to
# center it's labels horizontally.
def build_cell(cell)
cell.selectionStyle = self.row.selection_style || UITableViewCellSelectionStyleBlue
cell.swizzle(:layoutSubviews) do
def layoutSubviews
old_layoutSubvie... | <|file_sep|>original/lib/formotion/row_type/button.rb
# for just this one UITableViewCell object, in order to
# center it's labels horizontally.
def build_cell(cell)
cell.selectionStyle = self.row.selection_style || UITableViewCellSelectionStyleBlue
cell.swizzle(:layoutSubviews) do
... | 13294715087ea8e398427862d64fb48cb08aa027 | lib/formotion/row_type/button.rb | lib/formotion/row_type/button.rb | Ruby |
<|file_sep|>original/app/views/answers/_best_answer_form.html.erb
<|file_sep|>current/app/views/answers/_best_answer_form.html.erb
<|file_sep|>updated/app/views/answers/_best_answer_form.html.erb | <%= form_tag('/best', :method=>'post') do %>
<%= hidden_field_tag "best_answer_id", "#{answer.id}" %>
<%= submit_tag "Mark this as the best answer" %>
<% end %> | <|file_sep|>original/app/views/answers/_best_answer_form.html.erb
<|file_sep|>current/app/views/answers/_best_answer_form.html.erb
<|file_sep|>updated/app/views/answers/_best_answer_form.html.erb
<%= form_tag('/best', :method=>'post') do %>
<%= hidden_field_tag "best_answer_id", "#{answer.id}" %>
<%= submit_tag "... | 89b9609a0a82d2a74d182a7c2ffee705c481b129 | app/views/answers/_best_answer_form.html.erb | app/views/answers/_best_answer_form.html.erb | HTML+ERB |
<|file_sep|>original/.github/workflows/ci.yml
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "2.7", "2.6", "2.5", "jruby-head"]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version ... | pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [3.1, "3.0", 2.7, 2.6, 2.5, jruby-head]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:... | <|file_sep|>original/.github/workflows/ci.yml
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "2.7", "2.6", "2.5", "jruby-head"]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version ... | 65dd19e6135e5eef67a79ad88e844296dce62700 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>README.md.diff
original:
If you found any bugs, if you have feature requests or any questions, please, either [file an issue at GitHub](https://github.com/literat/dsw-oddil-wp-theme/issues) or send me an e-mail at [tomas@litera.me](mailto:tomas@litera.me).
updated:
If you found any bugs, if you have feature... | # dsw-oddil-wp-theme
Dobrý Skautský Web Oddil WordPress Theme
Basic Wordpress theme for czech scout websites.
Responsive, Colorswitcher, Twitter Bootstrap, Shortcodes
## Bug reports, feature requests and contact
If you found any bugs, if you have feature requests or any questions, please, either [file an issue at ... | <|file_sep|>README.md.diff
original:
If you found any bugs, if you have feature requests or any questions, please, either [file an issue at GitHub](https://github.com/literat/dsw-oddil-wp-theme/issues) or send me an e-mail at [tomas@litera.me](mailto:tomas@litera.me).
updated:
If you found any bugs, if you have feature... | bfe1d2b11e41420dd3b963e3aef672456a640695 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
Grouse is a tool that can be used to generate a requirements document when
purchasing a Noark 5 system
The application has two components, a spring-boot rest app running on
http://localhost:9294 and a web-gui part that needs a webserver to run.
See [INSTALL](INSTALL.md) for more detail... | The application has two components, a spring-boot rest app running on
http://localhost:9294 and a web-gui part that needs a webserver to run.
See [INSTALL](INSTALL.md) for more details on how to get the application running
Once compiled to run the Grouse API simply run
mvn spring-boot:run -Dspring.profiles.acti... | <|file_sep|>original/README.md
Grouse is a tool that can be used to generate a requirements document when
purchasing a Noark 5 system
The application has two components, a spring-boot rest app running on
http://localhost:9294 and a web-gui part that needs a webserver to run.
See [INSTALL](INSTALL.md) for more detail... | 44ea316542ea54b19a9465607e0f28fe05dbf12c | README.md | README.md | Markdown |
<|file_sep|>original/griddler-mandrill.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'griddler/mandrill/version'
Gem::Specification.new do |spec|
spec.name = 'griddler-mandrill'
spec.version = Griddler::Mandrill::VERSION
spec.aut... | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'griddler/mandrill/version'
Gem::Specification.new do |spec|
spec.name = 'griddler-mandrill'
spec.version = Griddler::Mandrill::VERSION
spec.authors = ['Stafford Brunk']
spec.email ... | <|file_sep|>original/griddler-mandrill.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'griddler/mandrill/version'
Gem::Specification.new do |spec|
spec.name = 'griddler-mandrill'
spec.version = Griddler::Mandrill::VERSION
spec.aut... | bb776b3998e214ef84aa1721de3a8139aee0545f | griddler-mandrill.gemspec | griddler-mandrill.gemspec | Ruby |
<|file_sep|>Sources/Focus.swift.diff
original:
struct Focus {
updated:
public struct Focus {
<|file_sep|>Sources/Focus.swift.diff
original:
static var failureHandler: ((_ message: String, _ file: StaticString, _ line: UInt) -> (Void))?
static var successHandler: ((_ file: StaticString, _ line: UInt) -> (Void))?... | public struct Focus {
public static var failureHandler: ((_ message: String, _ file: StaticString, _ line: UInt) -> (Void))?
public static var successHandler: ((_ file: StaticString, _ line: UInt) -> (Void))?
}
public func expect<Item>(_ item: Item) -> Expect<Item> {
return Expect(item: item)
} | <|file_sep|>Sources/Focus.swift.diff
original:
struct Focus {
updated:
public struct Focus {
<|file_sep|>Sources/Focus.swift.diff
original:
static var failureHandler: ((_ message: String, _ file: StaticString, _ line: UInt) -> (Void))?
static var successHandler: ((_ file: StaticString, _ line: UInt) -> (Void))?... | 656552e1d434b6a64e6497135c3b28d6c05642ed | Sources/Focus.swift | Sources/Focus.swift | Swift |
<|file_sep|>original/app/views/fields/attachment/_form.html.erb
<%= f.label field.attribute %>
<%= f.attachment_field field.attribute, presigned: field.presigned?, direct: field.direct? %>
<progress value="0" max="100"></progress>
<|file_sep|>current/app/views/fields/attachment/_form.html.erb
<%= f.label field.attribut... | <%= f.label field.attribute %>
<%= f.attachment_field field.attribute, presigned: field.presigned?, direct: field.direct? %>
<% if field.direct? %>
<progress value="0" max="100"></progress>
<% end %> | <|file_sep|>original/app/views/fields/attachment/_form.html.erb
<%= f.label field.attribute %>
<%= f.attachment_field field.attribute, presigned: field.presigned?, direct: field.direct? %>
<progress value="0" max="100"></progress>
<|file_sep|>current/app/views/fields/attachment/_form.html.erb
<%= f.label field.attribut... | 4a530b02d8242efabd4327e7562eb7808d3cc123 | app/views/fields/attachment/_form.html.erb | app/views/fields/attachment/_form.html.erb | HTML+ERB |
<|file_sep|>original/assets/css/hyde-plus.css
.social-icons {
margin: 16px;
display: flex;
justify-content: space-evenly;
}
a.social:link, a.social:visited {
color: white;
text-decoration: none;
font-size: 32px;
padding: 8px;
}
a.social :hover {
opacity: 0.5;
}
figure {
margin-left: 0px;
margin-r... | .post-link {
color: #000;
}
.social-icons {
margin: 16px;
display: flex;
justify-content: space-evenly;
}
a.social:link, a.social:visited {
color: white;
text-decoration: none;
font-size: 32px;
padding: 8px;
}
a.social :hover {
opacity: 0.5;
}
| <|file_sep|>original/assets/css/hyde-plus.css
.social-icons {
margin: 16px;
display: flex;
justify-content: space-evenly;
}
a.social:link, a.social:visited {
color: white;
text-decoration: none;
font-size: 32px;
padding: 8px;
}
a.social :hover {
opacity: 0.5;
}
figure {
margin-left: 0px;
margin-r... | 4e0d2f73ab27d67879091e0ef912c6afbf688d0d | assets/css/hyde-plus.css | assets/css/hyde-plus.css | CSS |
<|file_sep|>original/index.js
setState: function(state) {
withLiveReactload(function(lrload) {
lrload.state = state;
})
},
expose: function(cls, id) {
withLiveReactload(function(lrload) {
if (lrload.makeHot) {
lrload.makeHot(cls, 'CUSTOM_' + id);
}
})
}
}
function w... |
setState: function(state) {
withLiveReactload(function(lrload) {
lrload.state = state;
})
},
expose: function(cls, id) {
withLiveReactload(function(lrload) {
if (lrload.makeHot) {
lrload.makeHot({exports: cls}, 'CUSTOM_' + id);
}
})
}
}
function withLiveReactload(cb... | <|file_sep|>original/index.js
setState: function(state) {
withLiveReactload(function(lrload) {
lrload.state = state;
})
},
expose: function(cls, id) {
withLiveReactload(function(lrload) {
if (lrload.makeHot) {
lrload.makeHot(cls, 'CUSTOM_' + id);
}
})
}
}
function w... | 46d2a2abafc5b29d2de94d5469affc4dad6f7530 | index.js | index.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
- DJANGO=Django==1.4.13
- DJANGO=Django==1.5.8
- DJANGO=Django==1.6.6
- DJANGO=git+https://github.com/django/django.git@stable/1.7.x#egg=Django
updated:
- DJANGO=Django==1.4.15
- DJANGO=Django==1.5.10
- DJANGO=Django==1.6.7
- DJANGO=Django==1.7
<|file_sep|>.travis.... | - DJANGO=Django==1.6.7
- DJANGO=Django==1.7
matrix:
exclude:
- python: 3.2
env: DJANGO=Django==1.4.15
- python: 3.3
env: DJANGO=Django==1.4.15
- python: 2.6
env: DJANGO=Django==1.7
install:
- pip install -q $DJANGO
- pip install model_mommy
- pip install coveralls
- python ... | <|file_sep|>.travis.yml.diff
original:
- DJANGO=Django==1.4.13
- DJANGO=Django==1.5.8
- DJANGO=Django==1.6.6
- DJANGO=git+https://github.com/django/django.git@stable/1.7.x#egg=Django
updated:
- DJANGO=Django==1.4.15
- DJANGO=Django==1.5.10
- DJANGO=Django==1.6.7
- DJANGO=Django==1.7
<|file_sep|>.travis.... | 6ca32ab4dbfda720f3fadc3ad3f69a517166a658 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
installation
updated:
Installation
<|file_sep|>original/README.md
Mailjet Nodejs library
======================
installation
-----------
`npm install mailjet`
<|file_sep|>current/README.md
Mailjet Nodejs library
======================
Installation
-----------
`npm install mailj... | Mailjet Nodejs library
======================
Installation
-----------
`npm install mailjet`
Usage
-----
load the mailjet library with:
`mailjet = require('mailjet');`
initialize mailjet with the init function and your API keys like this:
`mailjet.init('API_KEY', API_SECRET');
You can then make requests like th... | <|file_sep|>README.md.diff
original:
installation
updated:
Installation
<|file_sep|>original/README.md
Mailjet Nodejs library
======================
installation
-----------
`npm install mailjet`
<|file_sep|>current/README.md
Mailjet Nodejs library
======================
Installation
-----------
`npm install mailj... | f29ad36863601419fdd0209548035f0315bcc3a5 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
sudo: required
services:
- docker
script:
- pwd
- mkdir build
- docker run -v $(pwd):/Wangscape lukequaint/wangscape-build:latest /bin/sh -c \
'cd /Wangscape/build && cmake .. && make;
Xvfb :1 -screen 0 1600x900x24 &> xvfb.log &
DISPLAY=:1.0; export... | sudo: required
services:
- docker
script:
- pwd
- mkdir build
- docker run -v $(pwd):/Wangscape lukequaint/wangscape-build:latest /bin/sh -c 'travis-ubuntu-docker.sh' | <|file_sep|>original/.travis.yml
sudo: required
services:
- docker
script:
- pwd
- mkdir build
- docker run -v $(pwd):/Wangscape lukequaint/wangscape-build:latest /bin/sh -c \
'cd /Wangscape/build && cmake .. && make;
Xvfb :1 -screen 0 1600x900x24 &> xvfb.log &
DISPLAY=:1.0; export... | 9e64cfb7988466e31547fae092e76262686c03f4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml
<|file_sep|>current/bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml
<|file_sep|>updated/bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml | --- !ditz.rubyforge.org,2008-03-06/issue
title: Add ENABLE or WITH to SC_ARG defines
desc: |-
The SC_ARG_ENABLE and SC_ARG_WITH macres use AC_DEFINE
to define preprocessor macros. Currently these macros
do not include the ENABLE or WITH tokens which makes them
different from the AC_CONDITIONALS which include ... | <|file_sep|>original/bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml
<|file_sep|>current/bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml
<|file_sep|>updated/bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml
--- !ditz.rubyforge.org,2008-03-06/issue
title: Add ENABLE or WITH to SC_ARG defines
... | cde886f7dad7bf334af1d31e805b0a26827fe6d4 | bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml | bugs/issue-7f4c9393e1e2f9d173c9633dd3e1a96b947f702a.yaml | YAML |
<|file_sep|>custom/aaa/utils.py.diff
original:
updated:
from django.db import connections
<|file_sep|>custom/aaa/utils.py.diff
original:
updated:
from custom.aaa.models import AggAwc, AggVillage, CcsRecord, Child, Woman
<|file_sep|>original/custom/aaa/utils.py
from corehq.apps.locations.models import LocationType, S... | filters = {
"{}_id".format(ancestor.location_type.code): ancestor.location_id
for ancestor in location_ancestors
}
location_type = location.location_type
child_location_type = LocationType.objects.filter(domain=location_type.domain, parent_type=location_type)
filters["{}_id".format(... | <|file_sep|>custom/aaa/utils.py.diff
original:
updated:
from django.db import connections
<|file_sep|>custom/aaa/utils.py.diff
original:
updated:
from custom.aaa.models import AggAwc, AggVillage, CcsRecord, Child, Woman
<|file_sep|>original/custom/aaa/utils.py
from corehq.apps.locations.models import LocationType, S... | 0a5e0935782bdd4c8669a39566d619aa4816ab60 | custom/aaa/utils.py | custom/aaa/utils.py | Python |
<|file_sep|>README.md.diff
original:
updated:
Built with *BonitaBPMCommunity-6.5.2*.
------------------------------
**Organization** (LFM.xml)
* LFM
* Administration (user: admin | pw: admin)
* Consumers (user: consumer | pw: consumer)
* Legal Department (user: lawyer | pw: lawyer)
* Sales Department (user: sal... | * Consumers (user: consumer | pw: consumer)
* Legal Department (user: lawyer | pw: lawyer)
* Sales Department (user: sales | pw: sales)
* Stock Department (user: stock | pw: stock)
------------------------------
## Installation guide
### Pre-BonitaBPM:
1. Copy consumers.xml to your home directory (e.g. `/home/fa... | <|file_sep|>README.md.diff
original:
updated:
Built with *BonitaBPMCommunity-6.5.2*.
------------------------------
**Organization** (LFM.xml)
* LFM
* Administration (user: admin | pw: admin)
* Consumers (user: consumer | pw: consumer)
* Legal Department (user: lawyer | pw: lawyer)
* Sales Department (user: sal... | 4bfc41a03ca992386c905625ad4ee89959e9aafb | README.md | README.md | Markdown |
<|file_sep|>original/iatidq/dqusers.py
<|file_sep|>current/iatidq/dqusers.py
<|file_sep|>updated/iatidq/dqusers.py |
# IATI Data Quality, tools for Data QA on IATI-formatted publications
# by Mark Brough, Martin Keegan, Ben Webb and Jennifer Smith
#
# Copyright (C) 2013 Publish What You Fund
#
# This programme is free software; you may redistribute and/or modify
# it under the terms of the GNU Affero General Public License v3... | <|file_sep|>original/iatidq/dqusers.py
<|file_sep|>current/iatidq/dqusers.py
<|file_sep|>updated/iatidq/dqusers.py
# IATI Data Quality, tools for Data QA on IATI-formatted publications
# by Mark Brough, Martin Keegan, Ben Webb and Jennifer Smith
#
# Copyright (C) 2013 Publish What You Fund
#
# This programme i... | 15eb41ba9ac22eb2ecc60b82807ca7f333f578b9 | iatidq/dqusers.py | iatidq/dqusers.py | Python |
<|file_sep|>original/system/config/conf.c2dm.inc.php
<|file_sep|>current/system/config/conf.c2dm.inc.php
<|file_sep|>updated/system/config/conf.c2dm.inc.php | <?php
/**
* This file contains Android Push Notifcation Service configuration
* values, like:
* <ul>
* <li></li>
* </ul>
*
* PHP Version 5.3
*
* @category Config
* @package Core
* @subpackage Config
* @author M2Mobi <info@m2mobi.com>
* @author Jose viso <jose@m2mobi.com>
*/
/**
* Android P... | <|file_sep|>original/system/config/conf.c2dm.inc.php
<|file_sep|>current/system/config/conf.c2dm.inc.php
<|file_sep|>updated/system/config/conf.c2dm.inc.php
<?php
/**
* This file contains Android Push Notifcation Service configuration
* values, like:
* <ul>
* <li></li>
* </ul>
*
* PHP Version 5.3
*
* @categ... | 03123d246ec7888470c94b39f1e1eb027b1dd8a7 | system/config/conf.c2dm.inc.php | system/config/conf.c2dm.inc.php | PHP |
<|file_sep|>src/api/link.js.diff
original:
const localTarget = target || e.target || e.composedPath()[0];
updated:
const localTarget = e.target || e.composedPath()[0];
<|file_sep|>original/src/api/link.js
export default function (elem, target) {
return (e) => {
// We fallback to checking the composed pat... |
export default function (elem, target) {
return (e) => {
// We fallback to checking the composed path. Unfortunately this behaviour
// is difficult to impossible to reproduce as it seems to be a possible
// quirk in the shadydom polyfill that incorrectly returns null for the
// target but has the tar... | <|file_sep|>src/api/link.js.diff
original:
const localTarget = target || e.target || e.composedPath()[0];
updated:
const localTarget = e.target || e.composedPath()[0];
<|file_sep|>original/src/api/link.js
export default function (elem, target) {
return (e) => {
// We fallback to checking the composed pat... | 7f68b7980f1af0e5e2ac8f19022bb3b2e71675cb | src/api/link.js | src/api/link.js | JavaScript |
<|file_sep|>original/doc/source/index.rst
.. browbeat documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to browbeat's documentation!
======================... | .. browbeat documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to the browbeat project documentation!
======================================================... | <|file_sep|>original/doc/source/index.rst
.. browbeat documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to browbeat's documentation!
======================... | 51570540eda170039f44ef60e1dbc8b3149a7b47 | doc/source/index.rst | doc/source/index.rst | reStructuredText |
<|file_sep|>original/web/app/themes/omoshetech/lib/extras.php
function roots_excerpt_more() {
return ' … <a href="' . get_permalink() . '">' . __('Continued', 'roots') . '</a>';
}
add_filter('excerpt_more', 'roots_excerpt_more');
/**
* Disable page scroll when clicking the more link
*/
function disable_more... | function disable_more_link_scroll($link) {
return preg_replace('|#more-[0-9]+|', '', $link);
}
add_filter('the_content_more_link', 'disable_more_link_scroll');
/**
* Disable moving checked items out of the hierarchy and to the top of the list
*/
function disable_checked_ontop($args, $post_id = 0) {
$args['checked... | <|file_sep|>original/web/app/themes/omoshetech/lib/extras.php
function roots_excerpt_more() {
return ' … <a href="' . get_permalink() . '">' . __('Continued', 'roots') . '</a>';
}
add_filter('excerpt_more', 'roots_excerpt_more');
/**
* Disable page scroll when clicking the more link
*/
function disable_more... | dc050d3df1a8dd9494478679e315dbb742f16f3a | web/app/themes/omoshetech/lib/extras.php | web/app/themes/omoshetech/lib/extras.php | PHP |
<|file_sep|>original/spec/models/course_spec.rb
<|file_sep|>current/spec/models/course_spec.rb
<|file_sep|>updated/spec/models/course_spec.rb | require 'rails_helper'
describe Course do
let(:user) { build(:user) }
describe '.courses_for_person' do
before(:each) do
allow(described_class).to receive(:collection_for_person)
end
it 'calls .collection_for_person' do
expect(described_class).to receive(:collection_for_person).with(1)
... | <|file_sep|>original/spec/models/course_spec.rb
<|file_sep|>current/spec/models/course_spec.rb
<|file_sep|>updated/spec/models/course_spec.rb
require 'rails_helper'
describe Course do
let(:user) { build(:user) }
describe '.courses_for_person' do
before(:each) do
allow(described_class).to receive(:coll... | 080d4dbf2faadc63fe66743d80d246f2d4c11fce | spec/models/course_spec.rb | spec/models/course_spec.rb | Ruby |
<|file_sep|>capstone/rl/tabularf.py.diff
original:
updated:
_MEAN = 0.0
_STD = 0.3
<|file_sep|>original/capstone/rl/tabularf.py
class TabularF(dict):
'''
Tabular representation for any of the two types of value functions:
1. state value function (V-Functions).
e.g.
vf = TabularF()
vf... |
class TabularF(dict):
'''
Tabular representation for any of the two types of value functions:
1. state value function (V-Functions).
e.g.
vf = TabularF()
vf[state] = 1
2. state-action value functions (Q-functions)
e.g.
qf = TabularF()
qf[(state, action)] = 1
... | <|file_sep|>capstone/rl/tabularf.py.diff
original:
updated:
_MEAN = 0.0
_STD = 0.3
<|file_sep|>original/capstone/rl/tabularf.py
class TabularF(dict):
'''
Tabular representation for any of the two types of value functions:
1. state value function (V-Functions).
e.g.
vf = TabularF()
vf... | 3be244ab1d7b03648350356dd3d9b6025516def5 | capstone/rl/tabularf.py | capstone/rl/tabularf.py | Python |
<|file_sep|>original/.travis.yml
before_install:
- travis_retry sudo apt-add-repository ppa:chris-lea/zeromq -y
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install libzmq3 libzmq3-dev -y
language: ruby
rvm:
- 2.0.0
cache:
- bundler
- apt
<|file_sep|>current/.travis.yml
before_install:
-... | before_install:
- travis_retry sudo apt-add-repository ppa:chris-lea/zeromq -y
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install libzmq3 libzmq3-dev -y
language: ruby
rvm:
- 2.0.0
- 2.1.0
cache:
- bundler
- apt | <|file_sep|>original/.travis.yml
before_install:
- travis_retry sudo apt-add-repository ppa:chris-lea/zeromq -y
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install libzmq3 libzmq3-dev -y
language: ruby
rvm:
- 2.0.0
cache:
- bundler
- apt
<|file_sep|>current/.travis.yml
before_install:
-... | 3fcb75bfb11145dd04d76ff391c0d48dd1c8e985 | .travis.yml | .travis.yml | YAML |
<|file_sep|>recipes/msys2/50-install-components.rake.diff
original:
# Use one file out of many to indicate installation of devtools
self.devtools = File.join(self.sandboxdir, "/var/lib/pacman/local/mingw-w64-x86_64-gcc-6.3.0-3/desc")
updated:
self.devtools = File.join(thisdir, "devtools_installed")
# Use the cache of o... | self.devtools = File.join(thisdir, "devtools_installed")
# Use the cache of our main MSYS2 environment for package install
cachedir = File.join(Build.msys2_installation.msys_path, "/var/cache/pacman/pkg")
file self.devtools => [self.sandboxdir] do |t|
msys = RubyInstaller::Build::Msys2Installation.new(self.sandboxdi... | <|file_sep|>recipes/msys2/50-install-components.rake.diff
original:
# Use one file out of many to indicate installation of devtools
self.devtools = File.join(self.sandboxdir, "/var/lib/pacman/local/mingw-w64-x86_64-gcc-6.3.0-3/desc")
updated:
self.devtools = File.join(thisdir, "devtools_installed")
# Use the cache of o... | 25c194b3303791895d07167e3da6a0e55ad17de2 | recipes/msys2/50-install-components.rake | recipes/msys2/50-install-components.rake | Ruby |
<|file_sep|>original/package.json
{
"name": "chainpoint-binary",
"version": "3.0.0",
"description": "Tool for converting between Chainpoint JSON and binary formats",
"main": "index.js",
"repository": "https://github.com/chainpoint/chainpoint-binary",
"scripts": {
"test": "mocha test/*.js",
"bundle":... | {
"name": "chainpoint-binary",
"version": "3.0.0",
"description": "Tool for converting between Chainpoint JSON and binary formats",
"main": "index.js",
"repository": "https://github.com/chainpoint/chainpoint-binary",
"scripts": {
"test": "yarn bundle && mocha test/*.js",
"bundle": "./node_modules/.b... | <|file_sep|>original/package.json
{
"name": "chainpoint-binary",
"version": "3.0.0",
"description": "Tool for converting between Chainpoint JSON and binary formats",
"main": "index.js",
"repository": "https://github.com/chainpoint/chainpoint-binary",
"scripts": {
"test": "mocha test/*.js",
"bundle":... | f87a55d0566b397b27ce55a15e72cbaba53447be | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
- "6.0.0"
- "6" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "4.0.0"
- "4"
- "5.0.0"
- "5"
- "6.0.0"
- "6" | b40eb86a73fb5e4763e629edea9fd48647327432 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/TODO.md
1. Add random sampling
This needs to be a little intelligent because plugins may have different
criteria for sampling. For example, the RT plugin requires two pages --
one for tstart and one for tend. Since tstart is a relatively inexpensive
operation, it makes sense for u... | 1. Add random sampling
This needs to be a little intelligent because plugins may have different
criteria for sampling. For example, the RT plugin requires two pages --
one for tstart and one for tend. Since tstart is a relatively inexpensive
operation, it makes sense for us to set tstart on all pages, but... | <|file_sep|>original/doc/TODO.md
1. Add random sampling
This needs to be a little intelligent because plugins may have different
criteria for sampling. For example, the RT plugin requires two pages --
one for tstart and one for tend. Since tstart is a relatively inexpensive
operation, it makes sense for u... | 2bed9ded2d890179f07a1e71d7f2e32e8949f318 | doc/TODO.md | doc/TODO.md | Markdown |
<|file_sep|>src/components/Checkbox.js.diff
original:
import Control from './Control';
updated:
import {updateValue} from '../actions/controls';
import {connect} from '../store';
<|file_sep|>src/components/Checkbox.js.diff
original:
class Checkbox extends Control {
static propTypes = {
className: PropTypes.string... | checked={value || false}
onChange={(e) => updateValue(name, e.target.checked)}
/>;
Checkbox.propTypes = {
className: PropTypes.string,
id: PropTypes.string,
name: PropTypes.string.isRequired,
style: PropTypes.string,
value: PropTypes.bool,
};
const mapStateToProps = ({controls}, props) => ({
val... | <|file_sep|>src/components/Checkbox.js.diff
original:
import Control from './Control';
updated:
import {updateValue} from '../actions/controls';
import {connect} from '../store';
<|file_sep|>src/components/Checkbox.js.diff
original:
class Checkbox extends Control {
static propTypes = {
className: PropTypes.string... | f5141c4dcc4a020e19c414d6800037cbcc6cb32c | src/components/Checkbox.js | src/components/Checkbox.js | JavaScript |
<|file_sep|>original/snippet/docs/document/reStructuredText/README.md
<|file_sep|>current/snippet/docs/document/reStructuredText/README.md
<|file_sep|>updated/snippet/docs/document/reStructuredText/README.md |
reStructuredText
================
- [Quick reStructuredText](http://docutils.sourceforge.net/docs/user/rst/quickref.html)
- [reStructuredText Markup Specification](http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html)
- [reStructuredText 入门](http://sphinx-doc-zh.readthedocs.org/en/latest/rest.html)
- [S... | <|file_sep|>original/snippet/docs/document/reStructuredText/README.md
<|file_sep|>current/snippet/docs/document/reStructuredText/README.md
<|file_sep|>updated/snippet/docs/document/reStructuredText/README.md
reStructuredText
================
- [Quick reStructuredText](http://docutils.sourceforge.net/docs/user/rst/q... | 7803362db19ce68ab530195927938d0406aaafa4 | snippet/docs/document/reStructuredText/README.md | snippet/docs/document/reStructuredText/README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- "2.7"
updated:
- '2.7'
<|file_sep|>.travis.yml.diff
original:
# For more information about the nasty /dev/random hack, please see:
# https://github.com/travis-ci/travis-ci/issues/1913#issuecomment-33891474
updated:
<|file_sep|>.travis.yml.diff
original:
- sudo apt-get updat... | language: python
python:
- '2.7'
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update -qq
- sudo apt-get install --yes dpkg-dev fakeroot lintian python-apt rng-tools
- sudo rm -f /dev/random
- sudo mknod -m 0666 /dev/random c 1 9
- echo HRNGDEVICE=/dev/urandom | sudo tee /etc/default/rng-tools... | <|file_sep|>.travis.yml.diff
original:
- "2.7"
updated:
- '2.7'
<|file_sep|>.travis.yml.diff
original:
# For more information about the nasty /dev/random hack, please see:
# https://github.com/travis-ci/travis-ci/issues/1913#issuecomment-33891474
updated:
<|file_sep|>.travis.yml.diff
original:
- sudo apt-get updat... | 2f0925af45978c365a6c2c64bf1881de1035ca00 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/ui/dashboard.js.diff
original:
application.configure(function(){
application.set('views', path.join(topDirectory, 'views'));
application.set('view engine', 'jade');
application.use(prefix, express.favicon());
application.use(prefix, express.bodyParser());
application.use(prefix, ex... | prefix = prefix.replace(/\/$/, '');
var topDirectory = path.join(__dirname, '..', '..', '..');
application.set('views', path.join(topDirectory, 'views'));
application.set('view engine', 'jade');
application.use(prefix, express.favicon());
application.use(prefix, express.bodyParser());
application.use(pr... | <|file_sep|>lib/ui/dashboard.js.diff
original:
application.configure(function(){
application.set('views', path.join(topDirectory, 'views'));
application.set('view engine', 'jade');
application.use(prefix, express.favicon());
application.use(prefix, express.bodyParser());
application.use(prefix, ex... | 0a50cc70ea11324428934c9db1608f137473d828 | lib/ui/dashboard.js | lib/ui/dashboard.js | JavaScript |
<|file_sep|>original/app/views/collections/show.html.erb
<h5>it's kinda lonely here...</h5>
<% else %>
<% @collection.books.each do |book| %>
<li><%= link_to book.title, book_path(book.id) %></li>
<% end %>
<% end %>
</div><br>
<div class="custform">
<u><h3>Enter a Custom Book... | <% else %>
<% @collection.books.each do |book| %>
<li><%= link_to book.title, book_path(book.id) %></li>
<% end %>
<% end %>
</div><br>
<div class="custform">
<u><h3>Enter a Custom Book</h3></u>
<%= form_for @collection do |f| %>
<%= render partial: 'add_book', locals: { f... | <|file_sep|>original/app/views/collections/show.html.erb
<h5>it's kinda lonely here...</h5>
<% else %>
<% @collection.books.each do |book| %>
<li><%= link_to book.title, book_path(book.id) %></li>
<% end %>
<% end %>
</div><br>
<div class="custform">
<u><h3>Enter a Custom Book... | 94f38bfd649cfbd03d36e2f0d6662facc3d76a28 | app/views/collections/show.html.erb | app/views/collections/show.html.erb | HTML+ERB |
<|file_sep|>tests/unit/controllers/node-test.js.diff
original:
test('add a file tag', function(assert) {
updated:
test('add a node tag', function(assert) {
<|file_sep|>original/tests/unit/controllers/node-test.js
// Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.subject(... | // Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.subject();
assert.ok(controller);
});
test('add a node tag', function(assert) {
var ctrl = this.subject();
ctrl.set('model', Ember.Object.create({tags: ['one']}));
ctrl.set('model.save', function() {return;... | <|file_sep|>tests/unit/controllers/node-test.js.diff
original:
test('add a file tag', function(assert) {
updated:
test('add a node tag', function(assert) {
<|file_sep|>original/tests/unit/controllers/node-test.js
// Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.subject(... | 74fa1b6458ab5097cae05541a9de411f0ea3d4d3 | tests/unit/controllers/node-test.js | tests/unit/controllers/node-test.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "^6.1.1",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-con... | {
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "6.1.3",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-cont... | <|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "^6.1.1",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-con... | 4f7b57f406b5d9e4b9b7bb819f7d8f4ebf615526 | package.json | package.json | JSON |
<|file_sep|>recipes/vim/vim_7.2.bb.diff
original:
SRC_URI += "file://001-411.diff;apply=no"
SRC_URI += "file://configure.in_remove_CC_quotes.patch;apply=no"
updated:
SRC_URI += "file://001-411.diff;patchdir=.."
SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.."
<|file_sep|>original/recipes/vim/vim_7.2.... | # gvim recipes uses "--with-x"
VIMX ?= "--without-x"
require vim.inc
PR = "${INC_PR}.3"
# 001-411.diff contains 411 patches fetched from upstream
SRC_URI += "file://001-411.diff;patchdir=.."
SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.."
SRC_URI += "file://vimrc"
do_install_append() {
insta... | <|file_sep|>recipes/vim/vim_7.2.bb.diff
original:
SRC_URI += "file://001-411.diff;apply=no"
SRC_URI += "file://configure.in_remove_CC_quotes.patch;apply=no"
updated:
SRC_URI += "file://001-411.diff;patchdir=.."
SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.."
<|file_sep|>original/recipes/vim/vim_7.2.... | e135af12917a9822acd27dd92b3efa4a83b69da1 | recipes/vim/vim_7.2.bb | recipes/vim/vim_7.2.bb | BitBake |
<|file_sep|>original/SPAWithAngularJS/module4/events/templates/shoppingList.view.html
<!-- shoppingList.view.html -->
<ol>
<li data-ng-repeat="item in $ctrl.items track by $index">
{{ item.quantity }} of {{ item.name }}
<button type="button" data-ng-click="$ctrl.removeItem($index)" title="Remove {{ item.name ... | <!-- shoppingList.view.html -->
<ol>
<li data-ng-repeat="item in $ctrl.items track by $index">
{{ item.quantity }} of {{ item.name }}
<button type="button" data-ng-click="$ctrl.removeItem($index)" title="Remove {{ item.name }}">
onRemove x
</button>
Title: {{ :: $ctrl.title }}
</li>
</ol>
<di... | <|file_sep|>original/SPAWithAngularJS/module4/events/templates/shoppingList.view.html
<!-- shoppingList.view.html -->
<ol>
<li data-ng-repeat="item in $ctrl.items track by $index">
{{ item.quantity }} of {{ item.name }}
<button type="button" data-ng-click="$ctrl.removeItem($index)" title="Remove {{ item.name ... | ad5ff287f751029943331ddaff79316791626e35 | SPAWithAngularJS/module4/events/templates/shoppingList.view.html | SPAWithAngularJS/module4/events/templates/shoppingList.view.html | HTML |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.1
pytest-runner==4.0
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage=... | pip==9.0.1
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.2
pytest-runner==4.0 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5.1
Sphinx==1.7.1
cryptography==2.1.4
PyYAML==3.12
pytest==3.4.1
pytest-runner==4.0
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage=... | 734b01966f461d56dcc364ddf53d174d0d822f49 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/test/CodeGen/AArch64/mergestores_noimplicitfloat.ll
<|file_sep|>current/test/CodeGen/AArch64/mergestores_noimplicitfloat.ll
<|file_sep|>updated/test/CodeGen/AArch64/mergestores_noimplicitfloat.ll | ; RUN: llc -o - %s | FileCheck %s
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-ios10.0.0"
; PR33475 - Expect 64-bit operations as 128-operations are not legal
; CHECK-LABEL: pr33475
; CHECK-DAG: ldr [[R0:x[0-9]+]], [x1]
; CHECK-DAG: str [[R0]], [x0]
; CHECK-DAG: ldr [[R1:x[0-9... | <|file_sep|>original/test/CodeGen/AArch64/mergestores_noimplicitfloat.ll
<|file_sep|>current/test/CodeGen/AArch64/mergestores_noimplicitfloat.ll
<|file_sep|>updated/test/CodeGen/AArch64/mergestores_noimplicitfloat.ll
; RUN: llc -o - %s | FileCheck %s
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target tri... | d9d2f4eb1fc55272b52a6284aea85fdbb7c3fff8 | test/CodeGen/AArch64/mergestores_noimplicitfloat.ll | test/CodeGen/AArch64/mergestores_noimplicitfloat.ll | LLVM |
<|file_sep|>original/defaults/main.yml
---
# Package states: installed or latest
intellij_pkg_state: installed
intellij_tmp: /tmp/ideaIC-{{intellij_version}}.tar.gz
intellij_install_dir: /opt/intellij
intellij_version: 14.1.3
<|file_sep|>current/defaults/main.yml
---
# Package states: installed or latest
intellij_pkg_s... | ---
# Package states: installed or latest
intellij_pkg_state: installed
intellij_tmp: /tmp/ideaIC-{{intellij_version}}.tar.gz
intellij_install_dir: /opt/intellij
intellij_version: 14.1.4 | <|file_sep|>original/defaults/main.yml
---
# Package states: installed or latest
intellij_pkg_state: installed
intellij_tmp: /tmp/ideaIC-{{intellij_version}}.tar.gz
intellij_install_dir: /opt/intellij
intellij_version: 14.1.3
<|file_sep|>current/defaults/main.yml
---
# Package states: installed or latest
intellij_pkg_s... | dc125c4972009484cc2bcc9b7784bc6cc17adb16 | defaults/main.yml | defaults/main.yml | YAML |
<|file_sep|>metadata/io.github.lufte.lona.yml.diff
original:
updated:
AutoName: Lona
<|file_sep|>metadata/io.github.lufte.lona.yml.diff
original:
updated:
- versionName: 1.0.1
versionCode: 10001
commit: 1.0.1
subdir: android-app/app
gradle:
- yes
<|file_sep|>original/metadata/io.github.lufte.... | Repo: https://github.com/lufte/lona
Builds:
- versionName: 1.0.0
versionCode: 10000
commit: v1.0.0
subdir: android-app/app
gradle:
- yes
- versionName: 1.0.1
versionCode: 10001
commit: 1.0.1
subdir: android-app/app
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMo... | <|file_sep|>metadata/io.github.lufte.lona.yml.diff
original:
updated:
AutoName: Lona
<|file_sep|>metadata/io.github.lufte.lona.yml.diff
original:
updated:
- versionName: 1.0.1
versionCode: 10001
commit: 1.0.1
subdir: android-app/app
gradle:
- yes
<|file_sep|>original/metadata/io.github.lufte.... | b7931dc2a50b7dfca03ae9f5b17ac948b724e243 | metadata/io.github.lufte.lona.yml | metadata/io.github.lufte.lona.yml | YAML |
<|file_sep|>original/src/com/haxademic/core/draw/color/EasedRGBColor.java
<|file_sep|>current/src/com/haxademic/core/draw/color/EasedRGBColor.java
<|file_sep|>updated/src/com/haxademic/core/draw/color/EasedRGBColor.java | package com.haxademic.core.draw.color;
import com.haxademic.core.math.easing.EasingFloat;
public class EasedRGBColor {
protected EasingFloat r;
protected EasingFloat g;
protected EasingFloat b;
public EasedRGBColor(float r, float g, float b, float easeFactor) {
this.r = new EasingFloat(r, easeFactor);
this... | <|file_sep|>original/src/com/haxademic/core/draw/color/EasedRGBColor.java
<|file_sep|>current/src/com/haxademic/core/draw/color/EasedRGBColor.java
<|file_sep|>updated/src/com/haxademic/core/draw/color/EasedRGBColor.java
package com.haxademic.core.draw.color;
import com.haxademic.core.math.easing.EasingFloat;
public... | adddcc50b84abfadd49e86fd20a8a3957e05f9da | src/com/haxademic/core/draw/color/EasedRGBColor.java | src/com/haxademic/core/draw/color/EasedRGBColor.java | Java |
<|file_sep|>src/lang/en/api.php.diff
original:
updated:
* @since 2017-03-20 Replace codes to HTTP Codes.
<|file_sep|>src/lang/en/api.php.diff
original:
1 => 'Unknown method',
updated:
1 => 'Unknown method!',
<|file_sep|>src/lang/en/api.php.diff
original:
updated:
3 => 'Access denied.',
<|file_sep|>orig... | 3 => 'Access denied.',
200 => 'OK',
201 => 'Created',
202 => 'Accepted',
204 => 'No content',
301 => 'Moved',
302 => 'Found',
304 => 'Not Modified',
400 => 'Bad Request',
401 => 'Unauthorized',
403 => 'Forbidden',
404 => 'Not Found',
409 => 'Conflict',
... | <|file_sep|>src/lang/en/api.php.diff
original:
updated:
* @since 2017-03-20 Replace codes to HTTP Codes.
<|file_sep|>src/lang/en/api.php.diff
original:
1 => 'Unknown method',
updated:
1 => 'Unknown method!',
<|file_sep|>src/lang/en/api.php.diff
original:
updated:
3 => 'Access denied.',
<|file_sep|>orig... | 6be40c1d8d23949404a9fe90a718d00cd57479bb | src/lang/en/api.php | src/lang/en/api.php | PHP |
<|file_sep|>lib/ext/model.rb.diff
original:
updated:
def self.conditional_create(model, params, client = self.client)
model = new(model) unless model.is_a?(self)
client.conditional_create(model, params)
end
def create
client.create(self).resource
end
def conditional_create(param... | client.create(self).resource
end
def conditional_create(params)
client.conditional_create(self, params)
end
def update
client.update(self, id).resource
end
def conditional_update(params)
client.conditional_update(self, self.id, params).resource
end
def destroy... | <|file_sep|>lib/ext/model.rb.diff
original:
updated:
def self.conditional_create(model, params, client = self.client)
model = new(model) unless model.is_a?(self)
client.conditional_create(model, params)
end
def create
client.create(self).resource
end
def conditional_create(param... | d84a3dbf61dd48b8cf43ae0dae18aefbae3d7b70 | lib/ext/model.rb | lib/ext/model.rb | Ruby |
<|file_sep|>original/deploy.sh
#!/bin/sh
set -o errexit -o nounset
git config --global user.email "nobody@nobody.org"
git config --global user.name "Travis CI"
git clone "https://$GITHUB_TOKEN@github.com/open-curriculum/oerschema.git" -b gh-pages _dist
# Run Gulp
gulp
rm -R _dist/* #clean the directory to remove no... | #!/bin/sh
set -o errexit -o nounset
git config --global user.email "nobody@nobody.org"
git config --global user.name "Travis CI"
git clone "https://$GITHUB_TOKEN@github.com/open-curriculum/oerschema.git" -b gh-pages _dist
# Run Gulp
gulp
cd _dist/
ls | grep -v .git | parallel rm -R #clean the directory to remove no... | <|file_sep|>original/deploy.sh
#!/bin/sh
set -o errexit -o nounset
git config --global user.email "nobody@nobody.org"
git config --global user.name "Travis CI"
git clone "https://$GITHUB_TOKEN@github.com/open-curriculum/oerschema.git" -b gh-pages _dist
# Run Gulp
gulp
rm -R _dist/* #clean the directory to remove no... | 1b5aea070636b9f6f198cc8c7ec86196b3bb9eda | deploy.sh | deploy.sh | Shell |
<|file_sep|>original/sandbox/urls.py
from django.views.generic import TemplateView
from apps.app import application
from accounts.dashboard.app import application as accounts_app
from accounts.views import AccountBalanceView
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
... | from django.views.generic import TemplateView
from apps.app import application
from accounts.dashboard.app import application as accounts_app
from accounts.views import AccountBalanceView
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
url(r'^i18n/', include('django.co... | <|file_sep|>original/sandbox/urls.py
from django.views.generic import TemplateView
from apps.app import application
from accounts.dashboard.app import application as accounts_app
from accounts.views import AccountBalanceView
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
... | 30e261d895fd4260e3788398b8dd46a5e889815e | sandbox/urls.py | sandbox/urls.py | Python |
<|file_sep|>original/app/views/spree/admin/shared/_routes.html.erb
<script>
Spree.routes = <%== {
:variants_search => spree.admin_search_variants_path(:format => 'json'),
:taxons_search => main_app.api_taxons_path(:format => 'json'),
:user_search => spree.admin_search_users_path(:f... | <script>
Spree.routes = <%== {
:variants_search => spree.admin_search_variants_path(:format => 'json'),
:taxons_search => main_app.api_taxons_path(:format => 'json'),
:user_search => spree.admin_search_users_path(:format => 'json'),
:orders_api => main_app.api_orders... | <|file_sep|>original/app/views/spree/admin/shared/_routes.html.erb
<script>
Spree.routes = <%== {
:variants_search => spree.admin_search_variants_path(:format => 'json'),
:taxons_search => main_app.api_taxons_path(:format => 'json'),
:user_search => spree.admin_search_users_path(:f... | f8401795738c0ce30f7ead5efb66ddbe37991de6 | app/views/spree/admin/shared/_routes.html.erb | app/views/spree/admin/shared/_routes.html.erb | HTML+ERB |
<|file_sep|>original/apps/core/admin/controllers/app_admin_controller.rb
def before(action='', *params)
@scene.admin_breadcrumb ||= []
unless @_did_breadcrumb
@scene.admin_breadcrumb << {:url => self.class.http_url, :label => self.class.app.full_name}
end
... | def before(action='', *params)
@scene.admin_breadcrumb ||= []
unless @_did_breadcrumb
@scene.admin_breadcrumb << {:url => self.class.http_url, :label => self.class.app.full_name}
end
@_did_breadcrumb = true
super
unless chec... | <|file_sep|>original/apps/core/admin/controllers/app_admin_controller.rb
def before(action='', *params)
@scene.admin_breadcrumb ||= []
unless @_did_breadcrumb
@scene.admin_breadcrumb << {:url => self.class.http_url, :label => self.class.app.full_name}
end
... | 43564f8bdadfd7c78938a292ac4b6f01fe1b2995 | apps/core/admin/controllers/app_admin_controller.rb | apps/core/admin/controllers/app_admin_controller.rb | Ruby |
<|file_sep|>original/assets/less/_mixins.less
// Utilities
@import "mixins/_rem-size.less";
@import "mixins/_hide-text.less";
@import "mixins/_opacity.less";
@import "mixins/_image.less";
@import "mixins/_reset-filter.less";
@import "mixins/_resize.less";
@import "mixins/_responsive-visibility.less";
@import "mixins/_s... | // Utilities
@import "mixins/_rem-size.less";
@import "mixins/_hide-text.less";
@import "mixins/_opacity.less";
@import "mixins/_image.less";
@import "mixins/_reset-filter.less";
@import "mixins/_resize.less";
@import "mixins/_responsive-visibility.less";
@import "mixins/_size.less";
@import "mixins/_tab-focus.less";
@... | <|file_sep|>original/assets/less/_mixins.less
// Utilities
@import "mixins/_rem-size.less";
@import "mixins/_hide-text.less";
@import "mixins/_opacity.less";
@import "mixins/_image.less";
@import "mixins/_reset-filter.less";
@import "mixins/_resize.less";
@import "mixins/_responsive-visibility.less";
@import "mixins/_s... | aac583b0bc38909f567213bac93611fb771f49a1 | assets/less/_mixins.less | assets/less/_mixins.less | Less |
<|file_sep|>original/sample.html
<link type="text/css" src="https://dwi8drzf3c87f.cloudfront.net/before-after/before-after.min.css" rel="stylesheet">
<div class="ba-slider">
<img src="http://i.imgur.com/BIHN8KQ.jpg">
<div class=" resize">
<img src="http://i.imgur.com/nS6dvpq.jpg">
</div>
<span class... | <link type="text/css" href="https://dwi8drzf3c87f.cloudfront.net/before-after/before-after.min.css" rel="stylesheet">
<div class="ba-slider">
<img src="http://i.imgur.com/BIHN8KQ.jpg">
<div class=" resize">
<img src="http://i.imgur.com/nS6dvpq.jpg">
</div>
<span class="handle"></span>
</div>
<scrip... | <|file_sep|>original/sample.html
<link type="text/css" src="https://dwi8drzf3c87f.cloudfront.net/before-after/before-after.min.css" rel="stylesheet">
<div class="ba-slider">
<img src="http://i.imgur.com/BIHN8KQ.jpg">
<div class=" resize">
<img src="http://i.imgur.com/nS6dvpq.jpg">
</div>
<span class... | 907ec4a09fafc5cea4e715effa54c9e011cedfdc | sample.html | sample.html | HTML |
<|file_sep|>original/app/presenters/organization_detail_presenter.rb
class OrganizationDetailPresenter < OrganizationIndexPresenter
def as_json(opt = {})
super.merge(
{
members: org.users
.sort_by { |u| -u.last_seen_at.to_i }
.map { |u| UserPresenter.new(u) }
}
)
end... | class OrganizationDetailPresenter < OrganizationIndexPresenter
def as_json(opt = {})
super.merge(
{
members: org.users
.sort_by { |u| -u.last_seen_at.to_i }
.map { |u| UserPresenter.new(u) },
child_organizations: org.groups.map{|g| OrganizationIndexPresenter.new(g)}
... | <|file_sep|>original/app/presenters/organization_detail_presenter.rb
class OrganizationDetailPresenter < OrganizationIndexPresenter
def as_json(opt = {})
super.merge(
{
members: org.users
.sort_by { |u| -u.last_seen_at.to_i }
.map { |u| UserPresenter.new(u) }
}
)
end... | 560b1602c8ef6bed8d1e0c371b64bba21820fc5a | app/presenters/organization_detail_presenter.rb | app/presenters/organization_detail_presenter.rb | Ruby |
<|file_sep|>original/Package.swift
platforms: [
.iOS(.v9),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "RxGCXMulticastDNSKit",
targets: ["RxGCXMulticastDNSKit"]... | platforms: [
.iOS(.v9),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "RxGCXMulticastDNSKit",
targets: ["RxGCXMulticastDNSKit"]),
],
dependencies: [
... | <|file_sep|>original/Package.swift
platforms: [
.iOS(.v9),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "RxGCXMulticastDNSKit",
targets: ["RxGCXMulticastDNSKit"]... | c343c1138449c2ba8680956c83b709b527fbdb01 | Package.swift | Package.swift | Swift |
<|file_sep|>original/docker-compose.yaml
django:
build: .
ports:
- "8080:8080"
volumes:
- ./:/var/djangoproject
links:
- mysql
mysql:
image: mysql:8
expose:
- "3306"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=unsecure
<|file_sep|>current/docker-compose.yaml
django:
... | django:
build: .
ports:
- "8080:8080"
- "8000:8000"
volumes:
- ./:/var/djangoproject
links:
- mysql
mysql:
image: mysql:8
expose:
- "3306"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=unsecure
| <|file_sep|>original/docker-compose.yaml
django:
build: .
ports:
- "8080:8080"
volumes:
- ./:/var/djangoproject
links:
- mysql
mysql:
image: mysql:8
expose:
- "3306"
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=unsecure
<|file_sep|>current/docker-compose.yaml
django:
... | bc79cb54c6e79e00a4d1bb945c755f016a698905 | docker-compose.yaml | docker-compose.yaml | YAML |
<|file_sep|>lib/alfred/cli.rb.diff
original:
updated:
HELP = <<-HELP
Alfred is a tool for making your life easier.
Available tasks:
HELP
<|file_sep|>original/lib/alfred/cli.rb
def task_not_found(task_name)
printf("Task '#{task_name}' not found\n\n")
print_help
end
def help(task_name)
... | def task_not_found(task_name)
printf("Task '#{task_name}' not found\n\n")
print_help
end
def help(task_name)
printf("Wrong number of arguments.\n\n")
HelpTask.run(task_name)
end
def print_help
printf("%s", HELP)
tasks = Alfred::TaskManager.tasks_by_name
ta... | <|file_sep|>lib/alfred/cli.rb.diff
original:
updated:
HELP = <<-HELP
Alfred is a tool for making your life easier.
Available tasks:
HELP
<|file_sep|>original/lib/alfred/cli.rb
def task_not_found(task_name)
printf("Task '#{task_name}' not found\n\n")
print_help
end
def help(task_name)
... | c6ae2dad20f00cf4ced000bee6d3a898e639eff9 | lib/alfred/cli.rb | lib/alfred/cli.rb | Ruby |
<|file_sep|>lib/index.js.diff
original:
console.log('bixby express main!');
// TODO: clean this up
updated:
<|file_sep|>lib/index.js.diff
original:
console.log('PRE RUN!');
updated:
<|file_sep|>lib/index.js.diff
original:
// TODO: clean this up
updated:
<|file_sep|>lib/index.js.diff
original:
c... |
exports.main = function() {
function pre(IoC) {
IoC.use('http', require('bixby-http'));
IoC.use(exports);
}
function post(IoC) {
var server = IoC.create('http/server');
var service = IoC.create('service');
var init = IoC.create('initializer');
init.phase(require('bootable').di.r... | <|file_sep|>lib/index.js.diff
original:
console.log('bixby express main!');
// TODO: clean this up
updated:
<|file_sep|>lib/index.js.diff
original:
console.log('PRE RUN!');
updated:
<|file_sep|>lib/index.js.diff
original:
// TODO: clean this up
updated:
<|file_sep|>lib/index.js.diff
original:
c... | 1d06354cfcf366cb74c1947753d7e999a43e97ed | lib/index.js | lib/index.js | JavaScript |
<|file_sep|>original/.travis.yml
language: objective-c
before_install:
- gem install cocoapods
script:
- cd Demo
- pod repo update --silent
- pod install
- xctool -workspace ConsoleDemo.xcworkspace -scheme 'ConsoleDemo' -configuration Release -sdk iphonesimulator -arch i386 build
<|file_sep|>current/.travis.yml
lan... |
language: objective-c
before_install:
- gem install cocoapods
script:
- cd Demo
- pod repo update --silent
- pod update
- xctool -workspace ConsoleDemo.xcworkspace -scheme 'ConsoleDemo' -configuration Release -sdk iphonesimulator -arch i386 build | <|file_sep|>original/.travis.yml
language: objective-c
before_install:
- gem install cocoapods
script:
- cd Demo
- pod repo update --silent
- pod install
- xctool -workspace ConsoleDemo.xcworkspace -scheme 'ConsoleDemo' -configuration Release -sdk iphonesimulator -arch i386 build
<|file_sep|>current/.travis.yml
lan... | 4f58f69abede365c1ff85127611bff099cc9ea7d | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/utils/executors/serveFile.js.diff
original:
const opts = req.upstream.upstream.options
updated:
const { startTime, upstream } = req
const opts = upstream.upstream.options
<|file_sep|>lib/utils/executors/serveFile.js.diff
original:
updated:
const emitServingEvent = (err) => {
const duration... | if (err) {
eventEmitter.emit('servingFileError', err, upstream, duration)
} else {
eventEmitter.emit('servingFile', upstream, duration)
}
}
res.setHeader('content-type', mime.lookup(opts.file))
if (typeof opts.download === 'boolean' && opts.download) {
res.setHeader('content-disposit... | <|file_sep|>lib/utils/executors/serveFile.js.diff
original:
const opts = req.upstream.upstream.options
updated:
const { startTime, upstream } = req
const opts = upstream.upstream.options
<|file_sep|>lib/utils/executors/serveFile.js.diff
original:
updated:
const emitServingEvent = (err) => {
const duration... | 616a1459186d343f41887ea0f353fdcdb84579a6 | lib/utils/executors/serveFile.js | lib/utils/executors/serveFile.js | JavaScript |
<|file_sep|>config/adapters.js.diff
original:
updated:
var secrets = require('../secrets');
<|file_sep|>config/adapters.js.diff
original:
'default': 'disk',
updated:
'default': 'postgres',
<|file_sep|>original/config/adapters.js
// MySQL is the world's most popular relational database.
// Learn more: http://e... |
// MySQL is the world's most popular relational database.
// Learn more: http://en.wikipedia.org/wiki/MySQL
myLocalMySQLDatabase: {
module: 'sails-mysql',
host: 'YOUR_MYSQL_SERVER_HOSTNAME_OR_IP_ADDRESS',
user: 'YOUR_MYSQL_USER',
// Psst.. You can put your password in config/local.js instead
... | <|file_sep|>config/adapters.js.diff
original:
updated:
var secrets = require('../secrets');
<|file_sep|>config/adapters.js.diff
original:
'default': 'disk',
updated:
'default': 'postgres',
<|file_sep|>original/config/adapters.js
// MySQL is the world's most popular relational database.
// Learn more: http://e... | 0e5134d71da887d125b228ee773a47935b528c8a | config/adapters.js | config/adapters.js | JavaScript |
<|file_sep|>test/mail_form_test.rb.diff
original:
updated:
require 'fixtures/sample_mail'
<|file_sep|>original/test/mail_form_test.rb
require 'test_helper'
class MailFormTest < ActiveSupport::TestCase
test "truth" do
assert_kind_of Module, MailForm
end
end
<|file_sep|>current/test/mail_form_test.rb
require 't... | require 'test_helper'
require 'fixtures/sample_mail'
class MailFormTest < ActiveSupport::TestCase
test "sample mail has name and email as attributes" do
sample = SampleMail.new
sample.name = "User"
assert_equal "User", sample.name
sample.email = "user@example.com"
assert_equal "user@example.com"... | <|file_sep|>test/mail_form_test.rb.diff
original:
updated:
require 'fixtures/sample_mail'
<|file_sep|>original/test/mail_form_test.rb
require 'test_helper'
class MailFormTest < ActiveSupport::TestCase
test "truth" do
assert_kind_of Module, MailForm
end
end
<|file_sep|>current/test/mail_form_test.rb
require 't... | 967cceb20f03f4a480bcec87759df291e98dbeb7 | test/mail_form_test.rb | test/mail_form_test.rb | Ruby |
<|file_sep|>tests/common.py.diff
original:
if 'USE_SHOTGUN' in os.environ:
updated:
_shotgun_server = os.environ.get('SHOTGUN', 'mock')
if _shotgun_server == 'mock':
from sgmock import Shotgun, ShotgunError, Fault
else:
<|file_sep|>original/tests/common.py
from sgmock import TestCase
if 'USE_SHOTGUN' in os.environ... | from sgmock import TestCase
_shotgun_server = os.environ.get('SHOTGUN', 'mock')
if _shotgun_server == 'mock':
from sgmock import Shotgun, ShotgunError, Fault
else:
from shotgun_api3 import ShotgunError, Fault
import shotgun_api3_registry
def Shotgun():
return shotgun_api3_registry.connect('sgse... | <|file_sep|>tests/common.py.diff
original:
if 'USE_SHOTGUN' in os.environ:
updated:
_shotgun_server = os.environ.get('SHOTGUN', 'mock')
if _shotgun_server == 'mock':
from sgmock import Shotgun, ShotgunError, Fault
else:
<|file_sep|>original/tests/common.py
from sgmock import TestCase
if 'USE_SHOTGUN' in os.environ... | 2314829d58b200570272332c89a85b4009a396bf | tests/common.py | tests/common.py | Python |
<|file_sep|>original/Cargo.toml
env_logger="0.5"
libc = "0.2.36"
libmount = "0.1.10"
error-chain = "0.12"
libudev = "0.2.0"
lazy_static = "1.0.0"
timerfd = "1.0.0"
walkdir = "2.2.5"
[dependencies.uuid]
version = "0.6"
features = ["serde", "v4"]
[dev-dependencies]
loopdev = "0.2"
either = "1.1.0"
proptest = "0.7.2"
[... | libc = "0.2.36"
libmount = "0.1.10"
error-chain = "0.12"
libudev = "0.2.0"
lazy_static = "1.0.0"
timerfd = "1.0.0"
walkdir = "2.2.5"
[dependencies.uuid]
version = "0.6"
features = ["serde", "v4"]
[dev-dependencies]
loopdev = "0.2"
either = "1.1.0"
proptest = "0.7.2"
matches = "0.1.8"
[features]
default = ["dbus_enab... | <|file_sep|>original/Cargo.toml
env_logger="0.5"
libc = "0.2.36"
libmount = "0.1.10"
error-chain = "0.12"
libudev = "0.2.0"
lazy_static = "1.0.0"
timerfd = "1.0.0"
walkdir = "2.2.5"
[dependencies.uuid]
version = "0.6"
features = ["serde", "v4"]
[dev-dependencies]
loopdev = "0.2"
either = "1.1.0"
proptest = "0.7.2"
[... | c9051890202b0c27a274c58b8c8a87d78cba41b3 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/packages/ex/existential.yaml
<|file_sep|>current/packages/ex/existential.yaml
<|file_sep|>updated/packages/ex/existential.yaml | homepage: https://bitbucket.org/cipher2048/existential/wiki/Home
changelog-type: ''
hash: a1fbf765443df3060f605028c5d434d90b649a5662b44b8fd748548970d47483
test-bench-deps: {}
maintainer: simon.hudon@gmail.com
synopsis: A library for existential types
changelog: ''
basic-deps:
base: ==4.8.*
existential: -any
lens:... | <|file_sep|>original/packages/ex/existential.yaml
<|file_sep|>current/packages/ex/existential.yaml
<|file_sep|>updated/packages/ex/existential.yaml
homepage: https://bitbucket.org/cipher2048/existential/wiki/Home
changelog-type: ''
hash: a1fbf765443df3060f605028c5d434d90b649a5662b44b8fd748548970d47483
test-bench-deps... | 55c7e6db03405a2933fd13f7da32913b26075e8f | packages/ex/existential.yaml | packages/ex/existential.yaml | YAML |
<|file_sep|>original/src/doc/en/documentation/api_v2/README.md
### RESTFul API_(JSON)
API v2 is the new REST API. RESTFUL implementation using this API allows for controlling every feature of OpenSearchServer. API v2 frequently receives upgrades and new features.
* [Auto-completion](api_v2/auto-completion/README.md)
... | ### RESTFul API_(JSON)
API v2 is the new REST API. RESTFUL implementation using this API allows for controlling every feature of OpenSearchServer. API v2 frequently receives upgrades and new features.
* [Auto-completion](auto-completion/README.md)
* [Document](document/README.md): insert and delete records.
* [Field]... | <|file_sep|>original/src/doc/en/documentation/api_v2/README.md
### RESTFul API_(JSON)
API v2 is the new REST API. RESTFUL implementation using this API allows for controlling every feature of OpenSearchServer. API v2 frequently receives upgrades and new features.
* [Auto-completion](api_v2/auto-completion/README.md)
... | 506f0759df8f05a839842cb778424f7cf93d548e | src/doc/en/documentation/api_v2/README.md | src/doc/en/documentation/api_v2/README.md | Markdown |
<|file_sep|>original/README.rst
.. code:: sh
git clone https://github.com/philsc/vbox-tui.git
cd vbox-tui
./main.py
Even though the window doesn't say so, you can hit the ``u`` key to access the
USB view of a VM. Attach and detach USB devices with Space or Enter.
Limitations
===========
- Currently the TU... | git clone https://github.com/philsc/vbox-tui.git
cd vbox-tui
./main.py
Even though the window doesn't say so, you can hit the ``u`` key to access the
USB view of a VM. Attach and detach USB devices with Space or Enter.
Limitations
===========
- Currently the TUI can only attach and detach USB devices.
TO... | <|file_sep|>original/README.rst
.. code:: sh
git clone https://github.com/philsc/vbox-tui.git
cd vbox-tui
./main.py
Even though the window doesn't say so, you can hit the ``u`` key to access the
USB view of a VM. Attach and detach USB devices with Space or Enter.
Limitations
===========
- Currently the TU... | 3c71ae921c923c8fd9b10e0de49e0f353da543ae | README.rst | README.rst | reStructuredText |
<|file_sep|>lib/Sabre/VObject/Version.php.diff
original:
const VERSION = '1.3.3';
updated:
const VERSION = '1.4.0';
<|file_sep|>original/lib/Sabre/VObject/Version.php
* This class contains the version number for the VObject package
*
* @package Sabre
* @subpackage VObject
* @copyright Copyright (C) 2007-20... | * This class contains the version number for the VObject package
*
* @package Sabre
* @subpackage VObject
* @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
* @author Evert Pot (http://www.rooftopsolutions.nl/)
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD Licen... | <|file_sep|>lib/Sabre/VObject/Version.php.diff
original:
const VERSION = '1.3.3';
updated:
const VERSION = '1.4.0';
<|file_sep|>original/lib/Sabre/VObject/Version.php
* This class contains the version number for the VObject package
*
* @package Sabre
* @subpackage VObject
* @copyright Copyright (C) 2007-20... | fd2409b5f585623be93a3e759d5d667d3087519e | lib/Sabre/VObject/Version.php | lib/Sabre/VObject/Version.php | PHP |
<|file_sep|>original/tests/indeterminable-test.js
beforeEach: function () {
this.checkbox = $('<input type="checkbox">');
$('#qunit-fixture').append(this.checkbox);
}
});
QUnit.test('Regular checkbox cannot be set to "indeterminate"', function(assert) {
S(thi... | $('#qunit-fixture').append(this.checkbox);
}
});
QUnit.test('Regular checkbox cannot be set to "indeterminate"', function(assert) {
S(this.checkbox).click(function () {
assert.equal(this.prop('indeterminate'), false, 'Radio button should be checked');
});
... | <|file_sep|>original/tests/indeterminable-test.js
beforeEach: function () {
this.checkbox = $('<input type="checkbox">');
$('#qunit-fixture').append(this.checkbox);
}
});
QUnit.test('Regular checkbox cannot be set to "indeterminate"', function(assert) {
S(thi... | 095d011e03bd9034a52125766e3da767e2367325 | tests/indeterminable-test.js | tests/indeterminable-test.js | JavaScript |
<|file_sep|>original/appinfo/info.xml
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>weather</id>
<name>Weather</name>
<description>Watch the weather directly on your Nextcloud.</description>
<version>1.6.1</version>
<licence>AGPL</licence>
<author>Loi... | xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>weather</id>
<name>Weather</name>
<description>Watch the weather directly on your Nextcloud.</description>
<version>1.6.1</version>
<licence>AGPL</licence>
<author>Loic Blot</author>
<category>tools</c... | <|file_sep|>original/appinfo/info.xml
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>weather</id>
<name>Weather</name>
<description>Watch the weather directly on your Nextcloud.</description>
<version>1.6.1</version>
<licence>AGPL</licence>
<author>Loi... | 566a955ce57dc5fc19a17070b56b919b528b94a0 | appinfo/info.xml | appinfo/info.xml | XML |
<|file_sep|>packages/er/error-or.yaml.diff
original:
hash: 77dde73e89da71ae00311bf0eacb7d0b5d1ca7d074cb20020d972510b9585ba2
updated:
hash: 26ffe04cccd458e384ecb2e9786226eb8faaf3e7caacc0d88b72aa42ca2cdc99
<|file_sep|>packages/er/error-or.yaml.diff
original:
updated:
- 0.1.2.0
<|file_sep|>original/packages/er/error-or.y... | * Add `tagIO`
basic-deps:
base: '>=4.9 && <5'
text: -any
containers: -any
all-versions:
- 0.1.0.0
- 0.1.1.0
- 0.1.2.0
author: Kamil Dworakowski
latest: 0.1.2.0
description-type: markdown
description: |
# error-or
[](https://travis-c... | <|file_sep|>packages/er/error-or.yaml.diff
original:
hash: 77dde73e89da71ae00311bf0eacb7d0b5d1ca7d074cb20020d972510b9585ba2
updated:
hash: 26ffe04cccd458e384ecb2e9786226eb8faaf3e7caacc0d88b72aa42ca2cdc99
<|file_sep|>packages/er/error-or.yaml.diff
original:
updated:
- 0.1.2.0
<|file_sep|>original/packages/er/error-or.y... | 7d3e74746ab0037cbc1e52c113949444a4624332 | packages/er/error-or.yaml | packages/er/error-or.yaml | YAML |
<|file_sep|>original/include/oauth1_parameter_names.hrl
-define(PARAM_CALLBACK , <<"oauth_callback">>).
-define(PARAM_CONSUMER_KEY , <<"oauth_consumer_key">>).
-define(PARAM_NONCE , <<"oauth_nonce">>).
-define(PARAM_REALM , <<"realm">>).
-define(PARAM_SIGNATURE , <<"oauth_signat... | -define(PARAM_CALLBACK , <<"oauth_callback">>).
-define(PARAM_CALLBACK_CONFIRMED , <<"oauth_callback_confirmed">>).
-define(PARAM_CONSUMER_KEY , <<"oauth_consumer_key">>).
-define(PARAM_NONCE , <<"oauth_nonce">>).
-define(PARAM_REALM , <<"realm">>).
-define(PARAM_SIGNATURE , <<"... | <|file_sep|>original/include/oauth1_parameter_names.hrl
-define(PARAM_CALLBACK , <<"oauth_callback">>).
-define(PARAM_CONSUMER_KEY , <<"oauth_consumer_key">>).
-define(PARAM_NONCE , <<"oauth_nonce">>).
-define(PARAM_REALM , <<"realm">>).
-define(PARAM_SIGNATURE , <<"oauth_signat... | 85fd0143b50cdc4277fead2791dab449beefc83b | include/oauth1_parameter_names.hrl | include/oauth1_parameter_names.hrl | Erlang |
<|file_sep|>original/phpunit.xml.dist
<|file_sep|>current/phpunit.xml.dist
<|file_sep|>updated/phpunit.xml.dist | <phpunit
bootstrap="src/test/php/bootstrap.php"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="true"
stopOnSkipped="true"
verbose="true">
<logging>
<!-- Log Unit Test results into a JUnit XML file -->
<log type="junit"
target="build/repo... | <|file_sep|>original/phpunit.xml.dist
<|file_sep|>current/phpunit.xml.dist
<|file_sep|>updated/phpunit.xml.dist
<phpunit
bootstrap="src/test/php/bootstrap.php"
stopOnError="true"
stopOnFailure="true"
stopOnIncomplete="true"
stopOnSkipped="true"
verbose="true">
<logging>
... | de070101a708cd57cc9143279ddff975d472dfe3 | phpunit.xml.dist | phpunit.xml.dist | unknown |
<|file_sep|>original/spec/fake_app/mongo_mapper/config.rb
MongoMapper.connection = Mongo::Connection.new 'localhost', 27017
MongoMapper.database = 'kaminari_test'
<|file_sep|>current/spec/fake_app/mongo_mapper/config.rb
MongoMapper.connection = Mongo::Connection.new 'localhost', 27017
MongoMapper.database = 'kaminari_t... | MongoMapper.connection = Mongo::Connection.new '0.0.0.0', 27017
MongoMapper.database = 'kaminari_test' | <|file_sep|>original/spec/fake_app/mongo_mapper/config.rb
MongoMapper.connection = Mongo::Connection.new 'localhost', 27017
MongoMapper.database = 'kaminari_test'
<|file_sep|>current/spec/fake_app/mongo_mapper/config.rb
MongoMapper.connection = Mongo::Connection.new 'localhost', 27017
MongoMapper.database = 'kaminari_t... | a6715ef5fe691e2ecc25b2dbd472bdb68d620729 | spec/fake_app/mongo_mapper/config.rb | spec/fake_app/mongo_mapper/config.rb | Ruby |
<|file_sep|>original/.buildscript/deploy_snapshot.sh
# http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/
SLUG="apollostack/apollo-android"
JDK="oraclejdk8"
BRANCH="master"
set -e
if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then
echo "Skipping snapshot deployment: wrong repository... | # http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/
SLUG="apollostack/apollo-android"
JDK="oraclejdk8"
BRANCH="master"
set -e
if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then
echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'."
elif... | <|file_sep|>original/.buildscript/deploy_snapshot.sh
# http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/
SLUG="apollostack/apollo-android"
JDK="oraclejdk8"
BRANCH="master"
set -e
if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then
echo "Skipping snapshot deployment: wrong repository... | 9a298350d85a494630f7e21dc23153b9111919ea | .buildscript/deploy_snapshot.sh | .buildscript/deploy_snapshot.sh | Shell |
<|file_sep|>original/background.js
var usedTraffic = null,
quotaPerDay = 5 * 1024 * 1024,
maxQuota = quotaPerDay * 21;
/** Resets all modified values to their defaults. */
function clearState() {
chrome.browserAction.setIcon({path:"icon/inactive.png"});
usedTraffic = null;
}
/** Requests the current traffic usage... | var usedTraffic = null,
quotaPerDay = 10 * 1024 * 1024,
maxQuota = quotaPerDay * 21;
/** Resets all modified values to their defaults. */
function clearState() {
chrome.browserAction.setIcon({path:"icon/inactive.png"});
usedTraffic = null;
}
/** Requests the current traffic usage and updates the icon. */
function... | <|file_sep|>original/background.js
var usedTraffic = null,
quotaPerDay = 5 * 1024 * 1024,
maxQuota = quotaPerDay * 21;
/** Resets all modified values to their defaults. */
function clearState() {
chrome.browserAction.setIcon({path:"icon/inactive.png"});
usedTraffic = null;
}
/** Requests the current traffic usage... | ada67c997ca4957e09abdcf80a2747a9cfcf18e7 | background.js | background.js | JavaScript |
<|file_sep|>original/app/components/footballModule/footballPartial.html
<div class="text-right col-xs-1">GD</div>
<div class="text-right col-xs-1">Pts</div>
</div>
<div id="footballTableDiv">
<table class="table table-condensed">
<tbody>
... | <div class="text-right col-xs-1">GD</div>
<div class="text-right col-xs-1">Pts</div>
</div>
<div id="footballTableDiv">
<table class="table table-condensed">
<tbody>
<tr id="team{{$index}}" ng-repeat="team in leagueTableData.standin... | <|file_sep|>original/app/components/footballModule/footballPartial.html
<div class="text-right col-xs-1">GD</div>
<div class="text-right col-xs-1">Pts</div>
</div>
<div id="footballTableDiv">
<table class="table table-condensed">
<tbody>
... | 1ece7fb92b0f8b295ca289f27f68e7762a4fb739 | app/components/footballModule/footballPartial.html | app/components/footballModule/footballPartial.html | HTML |
<|file_sep|>original/uber/templates/emails/accounts/new_account.txt
{{ account.attendee.full_name }},
{{ creator }} has created an admin account for you on the {{ c.EVENT_NAME }} registration system.
Use the following link to log in: {{ c.URL_BASE }}accounts/login/
{% if c.ATTENDEE_ACCOUNTS_ENABLED %}Please note this... | {{ account.attendee.full_name }},
{{ creator }} has created an admin account for you on the {{ c.EVENT_NAME }} registration system.
Use the following link to log in: {{ c.URL_BASE }}/accounts/login/
{% if c.ATTENDEE_ACCOUNTS_ENABLED %}Please note this is NOT the account you use to manage your personal registration in... | <|file_sep|>original/uber/templates/emails/accounts/new_account.txt
{{ account.attendee.full_name }},
{{ creator }} has created an admin account for you on the {{ c.EVENT_NAME }} registration system.
Use the following link to log in: {{ c.URL_BASE }}accounts/login/
{% if c.ATTENDEE_ACCOUNTS_ENABLED %}Please note this... | 30f7ee79016acd9bf9fa855af29c1061c853877e | uber/templates/emails/accounts/new_account.txt | uber/templates/emails/accounts/new_account.txt | Text |
<|file_sep|>priv/templates/resource/index.html.eex.diff
original:
<table>
<tr>
<%= for {k, _} <- attrs do %> <th><%= Phoenix.Naming.camelize(k) %></th>
updated:
<table class="table">
<thead>
<tr>
<%= for {k, _} <- attrs do %> <th><%= Phoenix.Naming.camelize(k) %></th>
<|file_sep|>priv/templates/resource... | <%= for {k, _} <- attrs do %> <th><%= Phoenix.Naming.camelize(k) %></th>
<% end %>
<th></th>
</tr>
</thead>
<tbody>
<%= "<%=" %> for <%= singular %> <- @<%= plural %> do <%= "%\>" %>
<tr>
<%= for {k, _} <- attrs do %> <td><%= "<%=" %> <%= singular %>.<%= k %> <%= "%\>" %></td>
<% end %>
... | <|file_sep|>priv/templates/resource/index.html.eex.diff
original:
<table>
<tr>
<%= for {k, _} <- attrs do %> <th><%= Phoenix.Naming.camelize(k) %></th>
updated:
<table class="table">
<thead>
<tr>
<%= for {k, _} <- attrs do %> <th><%= Phoenix.Naming.camelize(k) %></th>
<|file_sep|>priv/templates/resource... | a178229f0ccf65aea92d009e69449fcbac94a448 | priv/templates/resource/index.html.eex | priv/templates/resource/index.html.eex | HTML+EEX |
<|file_sep|>original/app/controllers/home_controller.rb
# coding: UTF-8
class HomeController < ApplicationController
layout 'front_layout'
skip_before_filter :browser_is_html5_compliant?, :only => :app_status
# Don't force org urls
skip_before_filter :ensure_org_url_if_org_user
def app_status
return hea... | # coding: UTF-8
class HomeController < ApplicationController
layout 'front_layout'
skip_before_filter :browser_is_html5_compliant?, :only => :app_status
# Don't force org urls
skip_before_filter :ensure_org_url_if_org_user
def app_status
return head(503) if Cartodb.config[:disable_file] && File.exists?(... | <|file_sep|>original/app/controllers/home_controller.rb
# coding: UTF-8
class HomeController < ApplicationController
layout 'front_layout'
skip_before_filter :browser_is_html5_compliant?, :only => :app_status
# Don't force org urls
skip_before_filter :ensure_org_url_if_org_user
def app_status
return hea... | 1820dd1b7dde6b9d0b367db84c56778324be7a0e | app/controllers/home_controller.rb | app/controllers/home_controller.rb | Ruby |
<|file_sep|>Server.cpp.diff
original:
const char* p = sHostName.c_str();
updated:
<|file_sep|>original/Server.cpp
}
CServer::~CServer() {}
bool CServer::IsValidHostName(const CString& sHostName) {
const char* p = sHostName.c_str();
if (sHostName.empty()) {
return false;
}
while (*p) {
if (*p++ == ' ') {
... | }
CServer::~CServer() {}
bool CServer::IsValidHostName(const CString& sHostName) {
if (sHostName.empty()) {
return false;
}
if (sHostName.find(' ') != CString::npos) {
return false;
}
return true;
}
const CString& CServer::GetName() const { return m_sName; }
unsigned short CServer::GetPort() const { retur... | <|file_sep|>Server.cpp.diff
original:
const char* p = sHostName.c_str();
updated:
<|file_sep|>original/Server.cpp
}
CServer::~CServer() {}
bool CServer::IsValidHostName(const CString& sHostName) {
const char* p = sHostName.c_str();
if (sHostName.empty()) {
return false;
}
while (*p) {
if (*p++ == ' ') {
... | cd88623cbe387ac91a2882d1abe10abb83708eb2 | Server.cpp | Server.cpp | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.