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/spec/factories/sequences.rb
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :sequence do
title "MyString"
description "MyText"
end
end
<|file_sep|>current/spec/factories/sequences.rb
# Read about factories at https://github.com/thought... | # Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :sequence do
title "MyString"
description "MyText"
abstract "short abstract"
end
end | <|file_sep|>original/spec/factories/sequences.rb
# Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :sequence do
title "MyString"
description "MyText"
end
end
<|file_sep|>current/spec/factories/sequences.rb
# Read about factories at https://github.com/thought... | 1f687172c7f154ed9f098d398de6e0aa1b7ceef8 | spec/factories/sequences.rb | spec/factories/sequences.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
updated:
- curl http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar -xz
<|file_sep|>original/.travis.yml
# Use the language closest to rust, as rust itself is not supporte... | # Use the language closest to rust, as rust itself is not supported
language: c
notifications:
email:
on_success: never
on_failure: always
before_install:
- curl http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar -xz
install:
- sudo apt-get install rust-nightly nasm
- ... | <|file_sep|>.travis.yml.diff
original:
- yes | sudo add-apt-repository ppa:hansjorg/rust
- sudo apt-get update
updated:
- curl http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar -xz
<|file_sep|>original/.travis.yml
# Use the language closest to rust, as rust itself is not supporte... | 2513426048c306a558a2cc3e73416b7b6cac3db1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/requirements.txt
sphinx==5.2.3
furo==2022.9.15
sphinx-autodoc-typehints==1.19.4
<|file_sep|>current/docs/requirements.txt
sphinx==5.2.3
furo==2022.9.15
sphinx-autodoc-typehints==1.19.4
<|file_sep|>updated/docs/requirements.txt | sphinx==5.2.3
furo==2022.9.29
sphinx-autodoc-typehints==1.19.4 | <|file_sep|>original/docs/requirements.txt
sphinx==5.2.3
furo==2022.9.15
sphinx-autodoc-typehints==1.19.4
<|file_sep|>current/docs/requirements.txt
sphinx==5.2.3
furo==2022.9.15
sphinx-autodoc-typehints==1.19.4
<|file_sep|>updated/docs/requirements.txt
sphinx==5.2.3
furo==2022.9.29
sphinx-autodoc-typehints==1.19.4 | 018654c8531975d57b7ffbb61aa1a2e8881d6809 | docs/requirements.txt | docs/requirements.txt | Text |
<|file_sep|>original/README.md
# James' Dodgy Arduino-Oriented Pinout Maker For Microcontrollers
A quick-and-dirty tool to create a simple Arduino-oriented pinout diagrams of a Microcontroller (2 sided or 4 sided) IC from a JSON based description of the IC.
Download/Clone and open the index.html in your browser (no s... | # James' Dodgy Arduino-Oriented Pinout Maker For Microcontrollers
A quick-and-dirty tool to create a simple Arduino-oriented pinout diagrams of a Microcontroller (2 sided or 4 sided) IC from a JSON based description of the IC.
Download/Clone and open the index.html in your browser (no server required).
Tested in Chr... | <|file_sep|>original/README.md
# James' Dodgy Arduino-Oriented Pinout Maker For Microcontrollers
A quick-and-dirty tool to create a simple Arduino-oriented pinout diagrams of a Microcontroller (2 sided or 4 sided) IC from a JSON based description of the IC.
Download/Clone and open the index.html in your browser (no s... | f72d8b04939304824b7a3a6f1d0c75a4ca095542 | README.md | README.md | Markdown |
<|file_sep|>north.css.diff
original:
background: rgb(230, 240, 250);
color: rgb(10, 20, 30);
updated:
background: rgb(245, 250, 255);
color: rgb(10, 15, 20);
<|file_sep|>original/north.css
body {
background: rgb(230, 240, 250);
color: rgb(10, 20, 30);
font-family: "Helvetica Neue", Helvet... |
body {
background: rgb(245, 250, 255);
color: rgb(10, 15, 20);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
max-width: 40em;
margin-left: auto;
margin-right: auto;
margin-top: 3em;
margin-bottom: 6em;
}
@keyframes tossing {
0% {
transform: rotate(-4deg... | <|file_sep|>north.css.diff
original:
background: rgb(230, 240, 250);
color: rgb(10, 20, 30);
updated:
background: rgb(245, 250, 255);
color: rgb(10, 15, 20);
<|file_sep|>original/north.css
body {
background: rgb(230, 240, 250);
color: rgb(10, 20, 30);
font-family: "Helvetica Neue", Helvet... | 138fa96f4f9f034c5dec0487f1017d14e912f0d1 | north.css | north.css | CSS |
<|file_sep|>src/main/scala/co/technius/scalajs/mithril/Component.scala.diff
original:
def controller: js.UndefOr[js.Function]
updated:
def controller: js.Function
<|file_sep|>original/src/main/scala/co/technius/scalajs/mithril/Component.scala
package co.technius.scalajs.mithril
import scala.scalajs.js
import scala... | package co.technius.scalajs.mithril
import scala.scalajs.js
import scala.scalajs.js.|
import scala.scalajs.js.annotation._
import scala.annotation.meta.field
@js.native
trait MithrilComponent extends js.Object {
def controller: js.Function
def view: js.Function
}
@JSExportDescendentObjects
trait Component {
@J... | <|file_sep|>src/main/scala/co/technius/scalajs/mithril/Component.scala.diff
original:
def controller: js.UndefOr[js.Function]
updated:
def controller: js.Function
<|file_sep|>original/src/main/scala/co/technius/scalajs/mithril/Component.scala
package co.technius.scalajs.mithril
import scala.scalajs.js
import scala... | b2937969ab7ca16e684cee350872ae6bb0e9abe1 | src/main/scala/co/technius/scalajs/mithril/Component.scala | src/main/scala/co/technius/scalajs/mithril/Component.scala | Scala |
<|file_sep|>Package.swift.diff
original:
// swift-tools-version:5.1
updated:
// swift-tools-version:5.3
<|file_sep|>original/Package.swift
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "SwiftDate",
products: [
.library(
name: "SwiftDate",
targ... |
let package = Package(
name: "SwiftDate",
products: [
.library(
name: "SwiftDate",
targets: ["SwiftDate"])
],
dependencies: [],
targets: [
.target(
name: "SwiftDate",
dependencies: []
resources: [
.copy("Formatters/RelativeForma... | <|file_sep|>Package.swift.diff
original:
// swift-tools-version:5.1
updated:
// swift-tools-version:5.3
<|file_sep|>original/Package.swift
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "SwiftDate",
products: [
.library(
name: "SwiftDate",
targ... | b2e30da0180736d1a617af7925c85ad8de72ba85 | Package.swift | Package.swift | Swift |
<|file_sep|>original/platform/misc/org.openmole.ide.misc.widget/src/main/scala/org/openmole/ide/misc/widget/example/GroovyEditorExampleApp.scala
*/
package org.openmole.ide.misc.widget.example
import java.awt.Dimension
import org.openmole.ide.misc.widget.GroovyTextFieldEditor
import org.openmole.ide.misc.widget.Plug... | */
package org.openmole.ide.misc.widget.example
import java.awt.Dimension
import org.openmole.ide.misc.widget.GroovyTextFieldEditor
import org.openmole.ide.misc.widget.PluginPanel
import scala.swing.MainFrame
import scala.swing.SimpleSwingApplication
object GroovyEditorExampleApp extends SimpleSwingApplication
{
... | <|file_sep|>original/platform/misc/org.openmole.ide.misc.widget/src/main/scala/org/openmole/ide/misc/widget/example/GroovyEditorExampleApp.scala
*/
package org.openmole.ide.misc.widget.example
import java.awt.Dimension
import org.openmole.ide.misc.widget.GroovyTextFieldEditor
import org.openmole.ide.misc.widget.Plug... | 8a48e9c717a7294bccc594513f17c50725befb75 | platform/misc/org.openmole.ide.misc.widget/src/main/scala/org/openmole/ide/misc/widget/example/GroovyEditorExampleApp.scala | platform/misc/org.openmole.ide.misc.widget/src/main/scala/org/openmole/ide/misc/widget/example/GroovyEditorExampleApp.scala | Scala |
<|file_sep|>original/.travis.yml
branches:
only: [master]
env:
global: {secure: f8DSIJUgh+vATAUBTYoJhp0s1kk8CtDZgV6S+NC/gPsNCUEAVb0VdPxQkaM0hhl6fjee7537IOs8LV9VTfzG81GE2VVcN/sGKfmFYBJyR+8AvYqxHwh9OYuf2IZl9cBUQ463lB+EL0apRje0a8fn5hlPKLqQo23P8Xsvwpfor5I=}
install: ['wget https://github.com/getnikola/wheelhouse/archiv... | branches:
only: [master]
env:
global: {secure: f8DSIJUgh+vATAUBTYoJhp0s1kk8CtDZgV6S+NC/gPsNCUEAVb0VdPxQkaM0hhl6fjee7537IOs8LV9VTfzG81GE2VVcN/sGKfmFYBJyR+8AvYqxHwh9OYuf2IZl9cBUQ463lB+EL0apRje0a8fn5hlPKLqQo23P8Xsvwpfor5I=}
install: ['wget https://github.com/getnikola/wheelhouse/archive/v2.7.zip', unzip v2.7.zip,
pi... | <|file_sep|>original/.travis.yml
branches:
only: [master]
env:
global: {secure: f8DSIJUgh+vATAUBTYoJhp0s1kk8CtDZgV6S+NC/gPsNCUEAVb0VdPxQkaM0hhl6fjee7537IOs8LV9VTfzG81GE2VVcN/sGKfmFYBJyR+8AvYqxHwh9OYuf2IZl9cBUQ463lB+EL0apRje0a8fn5hlPKLqQo23P8Xsvwpfor5I=}
install: ['wget https://github.com/getnikola/wheelhouse/archiv... | 13caabd03a45b84b6ab9bfd4196a3402a70f58d1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/linux/include/stdint.h
/**
* @file linux/include/stdint.h
* @brief Define the uintX_t types for the Linux kernel
* @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
*/
#ifndef STDINT_H_
#define STDINT_H_
#ifndef __KERNEL__
# error "for Linux kernel only!"
#endif
#include <linux... | * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* @file linux/include/stdint.h
* @brief Define the uintX_t types for the Linux kernel
* @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
*/
#ifndef STD... | <|file_sep|>original/linux/include/stdint.h
/**
* @file linux/include/stdint.h
* @brief Define the uintX_t types for the Linux kernel
* @author Didier Barvaux <didier.barvaux@toulouse.viveris.com>
*/
#ifndef STDINT_H_
#define STDINT_H_
#ifndef __KERNEL__
# error "for Linux kernel only!"
#endif
#include <linux... | 3f2067c6dadb97125994dacc517a4be6f0b67256 | linux/include/stdint.h | linux/include/stdint.h | C |
<|file_sep|>lib/Panda/Builder.pm.diff
original:
updated:
use File::Find;
use File::Mkdir;
<|file_sep|>lib/Panda/Builder.pm.diff
original:
updated:
method build-order(@list) {
# TODO
return @list
}
<|file_sep|>original/lib/Panda/Builder.pm
use Pies;
use Panda::Common;
class Panda::Builder doe... | class Panda::Builder does Pies::Builder {
has $!srcdir;
method build-order(@list) {
# TODO
return @list
}
method build(Pies::Project $p) {
indir "$!srcdir/{dirname $p.name}", {
if "Configure.pl".IO ~~ :f {
run 'perl6 Configure.pl' and die "Configure.... | <|file_sep|>lib/Panda/Builder.pm.diff
original:
updated:
use File::Find;
use File::Mkdir;
<|file_sep|>lib/Panda/Builder.pm.diff
original:
updated:
method build-order(@list) {
# TODO
return @list
}
<|file_sep|>original/lib/Panda/Builder.pm
use Pies;
use Panda::Common;
class Panda::Builder doe... | cc9f7490f2ce160f301b329f9c56cef3ccec1833 | lib/Panda/Builder.pm | lib/Panda/Builder.pm | Perl |
<|file_sep|>original/tests/dummy/app/controllers/demos/sl-calendar.js
import Ember from 'ember';
export default Ember.ArrayController.extend({
actions: {
logLabel( dateObjects ) {
window.console.log( dateObjects[ 0 ] );
}
}
});
<|file_sep|>current/tests/dummy/app/controllers/demos/s... | import Ember from 'ember';
export default Ember.Controller.extend({
actions: {
logLabel( dateObjects ) {
window.console.log( dateObjects[ 0 ] );
}
}
}); | <|file_sep|>original/tests/dummy/app/controllers/demos/sl-calendar.js
import Ember from 'ember';
export default Ember.ArrayController.extend({
actions: {
logLabel( dateObjects ) {
window.console.log( dateObjects[ 0 ] );
}
}
});
<|file_sep|>current/tests/dummy/app/controllers/demos/s... | bb3d2cc7d2409d489222decacf7f0b2c9fe7610b | tests/dummy/app/controllers/demos/sl-calendar.js | tests/dummy/app/controllers/demos/sl-calendar.js | JavaScript |
<|file_sep|>Models/DetailProvider.cs.diff
original:
updated:
using System.IO;
<|file_sep|>Models/DetailProvider.cs.diff
original:
updated:
using System.Text;
using System.Text.RegularExpressions;
<|file_sep|>Models/DetailProvider.cs.diff
original:
updated:
using TirkxDownloader.Models;
<|file_sep|>Models/DetailProvi... | request.Method = "HEAD";
var response = await request.GetResponseAsync(ct);
detail.FileSize = response.ContentLength;
response.Close();
}
catch (OperationCanceledException) { }
}
public async Task FillCredential(Htt... | <|file_sep|>Models/DetailProvider.cs.diff
original:
updated:
using System.IO;
<|file_sep|>Models/DetailProvider.cs.diff
original:
updated:
using System.Text;
using System.Text.RegularExpressions;
<|file_sep|>Models/DetailProvider.cs.diff
original:
updated:
using TirkxDownloader.Models;
<|file_sep|>Models/DetailProvi... | 8c33934a2988be5344c47a0b737d9dca595bf9f2 | Models/DetailProvider.cs | Models/DetailProvider.cs | C# |
<|file_sep|>original/app/models/components/course/experience_points_records_ability_component.rb
<|file_sep|>current/app/models/components/course/experience_points_records_ability_component.rb
<|file_sep|>updated/app/models/components/course/experience_points_records_ability_component.rb | # frozen_string_literal: true
module Course::ExperiencePointsRecordsAbilityComponent
include AbilityHost::Component
def define_permissions
if user
allow_staff_manage_experience_points_records
allow_student_read_own_experience_points_records
end
super
end
private
def allow_staff_man... | <|file_sep|>original/app/models/components/course/experience_points_records_ability_component.rb
<|file_sep|>current/app/models/components/course/experience_points_records_ability_component.rb
<|file_sep|>updated/app/models/components/course/experience_points_records_ability_component.rb
# frozen_string_literal: true... | 6abc5f281ca9aea787c316bbb229ef4657323ba9 | app/models/components/course/experience_points_records_ability_component.rb | app/models/components/course/experience_points_records_ability_component.rb | Ruby |
<|file_sep|>original/test/test_timeout.rs
let (dispatcher, dispatch_recv) = MockDispatcher::new();
let dispatch_send = eloop.channel();
thread::spawn(move || {
eloop.run(dispatcher).unwrap();
});
thread::sleep(Duration::from_millis(50));
let token = 5;
dispatch_send.send(Mo... | let (dispatcher, dispatch_recv) = MockDispatcher::new();
let dispatch_send = eloop.channel();
thread::spawn(move || {
eloop.run(dispatcher).unwrap();
});
thread::sleep(Duration::from_millis(50));
let token = 5;
dispatch_send.send(MockMessage::SendTimeout(token, 50)).unwrap(... | <|file_sep|>original/test/test_timeout.rs
let (dispatcher, dispatch_recv) = MockDispatcher::new();
let dispatch_send = eloop.channel();
thread::spawn(move || {
eloop.run(dispatcher).unwrap();
});
thread::sleep(Duration::from_millis(50));
let token = 5;
dispatch_send.send(Mo... | e26fa8d09c275e93cf96129d3b4c33bb0a6caea2 | test/test_timeout.rs | test/test_timeout.rs | Rust |
<|file_sep|>original/README.md
[](http://travis-ci.org/shutterstock/node-timing-middleware)
## Example usage
```javascript
var timing = require('timing-middleware');
var express = require('express');
var app = express();
app.use(... | [](http://travis-ci.org/shutterstock/node-timing-middleware)
## Example usage
```javascript
var timing = require('timing-middleware');
var express = require('express');
var app = express();
app.use(timing(function(verb, path, dur... | <|file_sep|>original/README.md
[](http://travis-ci.org/shutterstock/node-timing-middleware)
## Example usage
```javascript
var timing = require('timing-middleware');
var express = require('express');
var app = express();
app.use(... | 431c7de18b14e229de565ee41d3ec74958c2ffd0 | README.md | README.md | Markdown |
<|file_sep|>original/app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java
<|file_sep|>current/app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java
<|file_sep|>updated/app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java | package de.philipphager.disclosure.util.ui;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatDialogFragment;
import de.philipphager.disclosure.ApplicationComponent;
import de.philipphager.disclosure.DisclosureApp;
import de.philipphager.disclosure.feature.nav... | <|file_sep|>original/app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java
<|file_sep|>current/app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java
<|file_sep|>updated/app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java
package de.philipphager.di... | 3c09952e70a627e8438459185384551d3495f6fc | app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java | app/src/main/java/de/philipphager/disclosure/util/ui/BaseDialogFragment.java | Java |
<|file_sep|>defaults/main.yml.diff
original:
dynatrace_collector_linux_installer_file_name: dynatrace-collector-linux-x86.jar
dynatrace_collector_linux_installer_file_url: "http://downloads.dynatracesaas.com/6.3/{{ dynatrace_collector_linux_installer_file_name }}"
updated:
dynatrace_collector_linux_installer_file_name:... | ---
dynatrace_collector_installer_bitsize: 64
dynatrace_collector_linux_install_dir: /opt
dynatrace_collector_linux_installer_file_name: dynatrace-collector-6.5.0.1289-linux-x86.jar
dynatrace_collector_linux_installer_file_url: "https://files.dynatrace.com/downloads/OnPrem/dynaTrace/6.5/6.5.0.1289/{{ dynatrace_collect... | <|file_sep|>defaults/main.yml.diff
original:
dynatrace_collector_linux_installer_file_name: dynatrace-collector-linux-x86.jar
dynatrace_collector_linux_installer_file_url: "http://downloads.dynatracesaas.com/6.3/{{ dynatrace_collector_linux_installer_file_name }}"
updated:
dynatrace_collector_linux_installer_file_name:... | 38b4309d10ed55a2bd6848b121672d387982ac10 | defaults/main.yml | defaults/main.yml | YAML |
<|file_sep|>ci/test.sh.diff
original:
updated:
# http://stackoverflow.com/questions/4023830/bash-how-compare-two-strings-in-version-format
function vercomp () {
echo $1
echo $2
if [[ $1 == $2 ]]
then
return 0
fi
local IFS=.
local i ver1=($1) ver2=($2)
# fill empty fields in ver1 with ... |
if [[ ! -z "$WP_VERSION" ]]; then
skip_tags="--tags='"
requires=($(grep "@require-wp-[0-9\.]*" -h -o features/*.feature | uniq))
for (( i = 0; i < ${#requires[@]}; i++ )); do
version=${requires[$i]:12}
comp=$(vercomp $version $WP_VERSION)
if [[ 1 == $comp ]]; then
skip_... | <|file_sep|>ci/test.sh.diff
original:
updated:
# http://stackoverflow.com/questions/4023830/bash-how-compare-two-strings-in-version-format
function vercomp () {
echo $1
echo $2
if [[ $1 == $2 ]]
then
return 0
fi
local IFS=.
local i ver1=($1) ver2=($2)
# fill empty fields in ver1 with ... | 57d689c7e05cb720ddc2174070a1d9b7e0b890c4 | ci/test.sh | ci/test.sh | Shell |
<|file_sep|>ValveResourceFormat/Resource/ResourceTypes/Sound.cs.diff
original:
private long DataOffset;
updated:
<|file_sep|>ValveResourceFormat/Resource/ResourceTypes/Sound.cs.diff
original:
DataOffset = Offset + Size;
updated:
<|file_sep|>ValveResourceFormat/Resource/ResourceTypes/Sound.cs.diff... | NTROBlock.Offset = Offset;
NTROBlock.Size = Size;
NTROBlock.Read(reader, resource);
}
}
public byte[] GetSound()
{
Reader.BaseStream.Position = Offset + Size;
return Reader.ReadBytes((int)(Reader.BaseStream.Len... | <|file_sep|>ValveResourceFormat/Resource/ResourceTypes/Sound.cs.diff
original:
private long DataOffset;
updated:
<|file_sep|>ValveResourceFormat/Resource/ResourceTypes/Sound.cs.diff
original:
DataOffset = Offset + Size;
updated:
<|file_sep|>ValveResourceFormat/Resource/ResourceTypes/Sound.cs.diff... | 71d00720b168ebbd5f1769b43511f79ae66c400b | ValveResourceFormat/Resource/ResourceTypes/Sound.cs | ValveResourceFormat/Resource/ResourceTypes/Sound.cs | C# |
<|file_sep|>src/environment.js.diff
original:
boolean: ["dev", "debug", "d", "v", "lint", "help", "version"],
updated:
boolean: ["dev", "debug", "d", "v", "validate", "help", "version"],
<|file_sep|>src/environment.js.diff
original:
* @param {{dev: boolean, debug: boolean, d: boolean, v: boolean, lint: boolean... | }
if (argv.v)
{
env.verbose = true;
}
if (argv.validate)
{
env.lint = true;
env.mode = "validate";
}
if (argv.debug)
{
env.debug = true;
}
return env;
} | <|file_sep|>src/environment.js.diff
original:
boolean: ["dev", "debug", "d", "v", "lint", "help", "version"],
updated:
boolean: ["dev", "debug", "d", "v", "validate", "help", "version"],
<|file_sep|>src/environment.js.diff
original:
* @param {{dev: boolean, debug: boolean, d: boolean, v: boolean, lint: boolean... | 070deac5790e43ee038b29d8106c18724416ebae | src/environment.js | src/environment.js | JavaScript |
<|file_sep|>original/Cargo.toml
description = "Simple slab based malloc implementation in rust. Can be used stand-alone or in order to provide the necessary interface to rusts liballoc library. slabmalloc only relies on libcore."
homepage = "https://github.com/gz/rust-slabmalloc"
repository = "https://github.com/gz/rus... | description = "Simple slab based malloc implementation in rust. Can be used stand-alone or in order to provide the necessary interface to rusts liballoc library. slabmalloc only relies on libcore."
homepage = "https://github.com/gz/rust-slabmalloc"
repository = "https://github.com/gz/rust-slabmalloc"
documentation = "h... | <|file_sep|>original/Cargo.toml
description = "Simple slab based malloc implementation in rust. Can be used stand-alone or in order to provide the necessary interface to rusts liballoc library. slabmalloc only relies on libcore."
homepage = "https://github.com/gz/rust-slabmalloc"
repository = "https://github.com/gz/rus... | a394aea9b5aeed661b75ea046270844ea43e6ce0 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>lua_test.go.diff
original:
"regexp"
updated:
"fmt"
<|file_sep|>lua_test.go.diff
original:
// https://github.com/Shopify/go-lua/pull/63
updated:
<|file_sep|>lua_test.go.diff
original:
updated:
expected := fmt.Sprintf("%p %s", l, "test")
<|file_sep|>original/lua_test.go
package lua
import (
"regexp"
"... | package lua
import (
"fmt"
"testing"
)
func TestPushFStringPointer(t *testing.T) {
l := NewState()
l.PushFString("%p %s", l, "test")
expected := fmt.Sprintf("%p %s", l, "test")
actual := CheckString(l, -1)
if expected != actual {
t.Errorf("PushFString, expected \"%s\" but found \"%s\"", expected, actual)
}... | <|file_sep|>lua_test.go.diff
original:
"regexp"
updated:
"fmt"
<|file_sep|>lua_test.go.diff
original:
// https://github.com/Shopify/go-lua/pull/63
updated:
<|file_sep|>lua_test.go.diff
original:
updated:
expected := fmt.Sprintf("%p %s", l, "test")
<|file_sep|>original/lua_test.go
package lua
import (
"regexp"
"... | 58b2bb5c502fd3bddf68ced3b20d0baa9e263603 | lua_test.go | lua_test.go | Go |
<|file_sep|>original/global.json
{
"sdk": {
"version": "6.0.100-preview.4.21262.10",
"allowPrerelease": false,
"rollForward": "latestMajor"
}
}
<|file_sep|>current/global.json
{
"sdk": {
"version": "6.0.100-preview.4.21262.10",
"allowPrerelease": false,
"rollForward": "latestMajor"
}
}
<... | {
"sdk": {
"version": "6.0.100-preview.4.21255.9",
"allowPrerelease": false,
"rollForward": "latestMajor"
}
} | <|file_sep|>original/global.json
{
"sdk": {
"version": "6.0.100-preview.4.21262.10",
"allowPrerelease": false,
"rollForward": "latestMajor"
}
}
<|file_sep|>current/global.json
{
"sdk": {
"version": "6.0.100-preview.4.21262.10",
"allowPrerelease": false,
"rollForward": "latestMajor"
}
}
<... | a285e8948f9df9b25ef60f90421e1c8c6138dd5d | global.json | global.json | JSON |
<|file_sep|>original/tests/pos/wildcardInInfixType.scala
<|file_sep|>current/tests/pos/wildcardInInfixType.scala
<|file_sep|>updated/tests/pos/wildcardInInfixType.scala | object wildcardInInfixType {
val useless: _ => _ = (x: Int) => 1
val pointless: (_ <: Int) => _ = (x: Int) => 1
val answer: Int Either _ = Left(42)
}
| <|file_sep|>original/tests/pos/wildcardInInfixType.scala
<|file_sep|>current/tests/pos/wildcardInInfixType.scala
<|file_sep|>updated/tests/pos/wildcardInInfixType.scala
object wildcardInInfixType {
val useless: _ => _ = (x: Int) => 1
val pointless: (_ <: Int) => _ = (x: Int) => 1
val answer: Int Either _ = L... | a1d0f3e55afc52457e9e8987d35ef04c04ac0807 | tests/pos/wildcardInInfixType.scala | tests/pos/wildcardInInfixType.scala | Scala |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode # JRuby in 1.9 mode
- rbx
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode # JRuby in 1.9 mode
- rbx
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.3
- jruby-19mode # JRuby in 1.9 mode
- rbx | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode # JRuby in 1.9 mode
- rbx
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode # JRuby in 1.9 mode
- rbx
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.3
-... | e38390a813550196c635794f29874333015fa542 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/generators/refile/postgres/migration/templates/migration.rb.erb
class Create<%= table_name.camelize %> < ActiveRecord::Migration
def up
execute %Q{
CREATE TABLE <%= table_name %> (
id integer NOT NULL,
oid oid NOT NULL,
namespace character varying NOT NULL,
c... | class Create<%= table_name.camelize %> < ActiveRecord::Migration[4.2]
def up
execute %Q{
CREATE TABLE <%= table_name %> (
id integer NOT NULL,
oid oid NOT NULL,
namespace character varying NOT NULL,
created_at timestamp without time zone DEFAULT ('now'::text)::timestamp without time ... | <|file_sep|>original/lib/generators/refile/postgres/migration/templates/migration.rb.erb
class Create<%= table_name.camelize %> < ActiveRecord::Migration
def up
execute %Q{
CREATE TABLE <%= table_name %> (
id integer NOT NULL,
oid oid NOT NULL,
namespace character varying NOT NULL,
c... | 89d82bfac48f7451964d7f47b4604739e68fdb2c | lib/generators/refile/postgres/migration/templates/migration.rb.erb | lib/generators/refile/postgres/migration/templates/migration.rb.erb | HTML+ERB |
<|file_sep|>original/roles/common/tasks/os-packages.yml
- name: install commonly used os dependencies
shell:
yum install -y unzip bzip2 gcc openssl-devel libffi-devel python-devel openssl-devel libcurl libcurl-devel patch
- name: upgrade all packages
shell:
yum update -y
- name: clean yum repository
s... | - name: Update repository subscription on FYRE
shell:
cd /etc/yum.repos.d ; rm -f devit-rh7-x86_64.repo* ; wget fyreyum1.fyre.ibm.com/redhat/devit-rh7-x86_64.repo; sed -i 's/enabled = 1/enabled = 0/' /etc/yum/pluginconf.d/rhnplugin.conf
when: ansible_domain | search("fyre.ibm.com")
- name: install commonly us... | <|file_sep|>original/roles/common/tasks/os-packages.yml
- name: install commonly used os dependencies
shell:
yum install -y unzip bzip2 gcc openssl-devel libffi-devel python-devel openssl-devel libcurl libcurl-devel patch
- name: upgrade all packages
shell:
yum update -y
- name: clean yum repository
s... | 3d4366aa27450568e6988733f0dfb8c2950646f8 | roles/common/tasks/os-packages.yml | roles/common/tasks/os-packages.yml | YAML |
<|file_sep|>original/travis_script.sh
# By default: all test runs
if [ -z $1 ]; then
TEST_SUITE="all"
else
TEST_SUITE="$1"
fi
case $TEST_SUITE in
linters)
bundle exec rubocop -Dc .rubocop.yml
jshint .
;;
rspec)
bundle exec rspec --color
;;
*)
bundle exec rubocop -Dc .rubocop.yml
j... | # By default: all test runs
if [ -z $1 ]; then
TEST_SUITE="all"
else
TEST_SUITE="$1"
fi
case $TEST_SUITE in
linters)
bundle exec rubocop -Dc .rubocop.yml
bundle exec slim-lint .
jshint .
;;
rspec)
bundle exec rspec --color
;;
*)
bundle exec rubocop -Dc .rubocop.yml
jshint .
... | <|file_sep|>original/travis_script.sh
# By default: all test runs
if [ -z $1 ]; then
TEST_SUITE="all"
else
TEST_SUITE="$1"
fi
case $TEST_SUITE in
linters)
bundle exec rubocop -Dc .rubocop.yml
jshint .
;;
rspec)
bundle exec rspec --color
;;
*)
bundle exec rubocop -Dc .rubocop.yml
j... | 2449ba32a1609c20bc2dff0f7552d759ac77a209 | travis_script.sh | travis_script.sh | Shell |
<|file_sep|>_posts/2022-08-05-ms-edge-suspended.md.diff
original:
- 7z
updated:
- edge
<|file_sep|>original/_posts/2022-08-05-ms-edge-suspended.md
tags:
- 7z
- windows
categories:
- notes
header:
overlay_filter: "0.5"
overlay_color: "#000"
teaser: /assets/the-most-terrifying.png
overlay_image: /assets... | categories:
- notes
header:
overlay_filter: "0.5"
overlay_color: "#000"
teaser: /assets/the-most-terrifying.png
overlay_image: /assets/the-most-terrifying.png
excerpt: Extract zip file
---
MS Edge may in the suspended process even when no browser window open.
;
<|file_sep|>original/lib/status.js
var NodeGit = require("../");
var Status = NodeGit.Status;
module.exports = Status;
<|file_sep|>current/lib/status.js
var NodeGit = require("../");
var normalizeOptions = r... | var NodeGit = require("../");
var normalizeOptions = require("./util/normalize_options");
var Status = NodeGit.Status;
// Override Status.foreach to eliminate the need to pass null payload
var foreach = Status.foreach;
Status.foreach = function(repo, callback) {
return foreach(repo, callback, null);
};
// Override... | <|file_sep|>lib/status.js.diff
original:
updated:
var normalizeOptions = require("./util/normalize_options");
<|file_sep|>original/lib/status.js
var NodeGit = require("../");
var Status = NodeGit.Status;
module.exports = Status;
<|file_sep|>current/lib/status.js
var NodeGit = require("../");
var normalizeOptions = r... | a843a9a71e1e7565401a25a15991da58df88e784 | lib/status.js | lib/status.js | JavaScript |
<|file_sep|>original/ruby/aliases.zsh
alias be='bundle exec'
alias brake='bundle exec rake'
alias server='ruby -run -ehttpd'
alias spec='SKIP_EMBER=true SELENIUM=true bundle exec rspec'
alias rspec='SKIP_EMBER=true SELENIUM=true bundle exec rspec'
alias spec_under_development='SKIP_EMBER=true SELENIUM=true bundle exec ... | alias be='bundle exec'
alias brake='bundle exec rake'
alias server='ruby -run -ehttpd'
alias spec='SKIP_EMBER=true SELENIUM=true bundle exec rspec'
alias rspec='SKIP_EMBER=true SELENIUM=true bundle exec rspec'
alias spec_under_development='SKIP_EMBER=true SELENIUM=true bundle exec rspec `git diff develop --name-only --... | <|file_sep|>original/ruby/aliases.zsh
alias be='bundle exec'
alias brake='bundle exec rake'
alias server='ruby -run -ehttpd'
alias spec='SKIP_EMBER=true SELENIUM=true bundle exec rspec'
alias rspec='SKIP_EMBER=true SELENIUM=true bundle exec rspec'
alias spec_under_development='SKIP_EMBER=true SELENIUM=true bundle exec ... | 0407ca67d380c1a7e4a24fdf590f4c9593c4e5e8 | ruby/aliases.zsh | ruby/aliases.zsh | Shell |
<|file_sep|>original/Sources/Code/GenStringsCommander.swift
// MARK: - Stored Class Properties
public static let sharedInstance = GenStringsCommander()
// MARK: - Instance Methods
public func export(stringsFilesToPath stringsFilePath: String, fromCodeInDirectoryPath codeDirectoryPath: String) -> Bo... |
// MARK: - Stored Class Properties
public static let sharedInstance = GenStringsCommander()
// MARK: - Instance Methods
public func export(stringsFilesToPath stringsFilePath: String, fromCodeInDirectoryPath codeDirectoryPath: String) -> Bool {
let findFilesResult = Commander.sharedInstance.... | <|file_sep|>original/Sources/Code/GenStringsCommander.swift
// MARK: - Stored Class Properties
public static let sharedInstance = GenStringsCommander()
// MARK: - Instance Methods
public func export(stringsFilesToPath stringsFilePath: String, fromCodeInDirectoryPath codeDirectoryPath: String) -> Bo... | db4fcfc0d92c3557bc5f2cc84ba2751d88c6bbcc | Sources/Code/GenStringsCommander.swift | Sources/Code/GenStringsCommander.swift | Swift |
<|file_sep|>original/requirements/testing.txt
-r pip.txt
-r local-docs-build.txt
django-dynamic-fixture==3.1.0
pytest==5.4.1
pytest-custom-exit-code==0.3.0
pytest-django==3.9.0
pytest-xdist==1.30.0
pytest-cov==2.8.1
apipkg==1.5
execnet==1.7.1
# Mercurial 4.3 and newer require Python 2.7
# Mercurial is actively being ... | -r pip.txt
-r local-docs-build.txt
django-dynamic-fixture==3.1.0
pytest==5.4.1
pytest-custom-exit-code==0.3.0
pytest-django==3.9.0
pytest-xdist==1.32.0
pytest-cov==2.8.1
apipkg==1.5
execnet==1.7.1
# Mercurial 4.3 and newer require Python 2.7
# Mercurial is actively being ported to Python 3. As of Mercurial 4.3,
# som... | <|file_sep|>original/requirements/testing.txt
-r pip.txt
-r local-docs-build.txt
django-dynamic-fixture==3.1.0
pytest==5.4.1
pytest-custom-exit-code==0.3.0
pytest-django==3.9.0
pytest-xdist==1.30.0
pytest-cov==2.8.1
apipkg==1.5
execnet==1.7.1
# Mercurial 4.3 and newer require Python 2.7
# Mercurial is actively being ... | db7f289f7b6eaa46cabdd898c333091d5004ff92 | requirements/testing.txt | requirements/testing.txt | Text |
<|file_sep|>original/README.md
# python-vaultclient
Python 2/3 client for the [Hashicorp](https://hashicorp.com/) [Vault](https://www.vaultproject.io) secret management tool.
## Usage
```python
import os
import vault
client = vault.Client(
url='https://localhost:8200',
token=os.environ['VAULT_TOKEN'])
cli... | # python-vaultclient
Python 2/3 client for the [Hashicorp](https://hashicorp.com/) [Vault](https://www.vaultproject.io) secret management tool.
[](https://travis-ci.org/ianunruh/python-vaultclient)
## Usage
```python
import os
import ... | <|file_sep|>original/README.md
# python-vaultclient
Python 2/3 client for the [Hashicorp](https://hashicorp.com/) [Vault](https://www.vaultproject.io) secret management tool.
## Usage
```python
import os
import vault
client = vault.Client(
url='https://localhost:8200',
token=os.environ['VAULT_TOKEN'])
cli... | 2977384e17ff21f5f7edba7367da88578b5608b8 | README.md | README.md | Markdown |
<|file_sep|>original/app/coffee/app.coffee
angular
.module("angularTodoList", ["ui.router"])
.config(['$stateProvider', '$urlMatcherFactoryProvider',
($stateProvider, $urlMatcherFactoryProvider) ->
$urlMatcherFactoryProvider.strictMode(false)
$stateProvider
.state("index",
... | angular
.module("angularTodoList", ["ui.router"])
.config(['$stateProvider', '$urlMatcherFactoryProvider',
($stateProvider, $urlMatcherFactoryProvider) ->
$urlMatcherFactoryProvider.strictMode(false)
$stateProvider
.state("index",
url: ""
templat... | <|file_sep|>original/app/coffee/app.coffee
angular
.module("angularTodoList", ["ui.router"])
.config(['$stateProvider', '$urlMatcherFactoryProvider',
($stateProvider, $urlMatcherFactoryProvider) ->
$urlMatcherFactoryProvider.strictMode(false)
$stateProvider
.state("index",
... | 6029b3e83c85ec44253763cb3249a7d6a639bbce | app/coffee/app.coffee | app/coffee/app.coffee | CoffeeScript |
<|file_sep|>original/microphone_match_gui.py
<|file_sep|>current/microphone_match_gui.py
<|file_sep|>updated/microphone_match_gui.py | #!/usr/bin/python2
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
import sys
import os
from PyQt5.QtWidgets import (QApplication, QWidget, QPushButton, QVBoxLayout, QHBoxLayout, QLabel, QSizePolicy)
from PyQt5.QtCore import (QCoreApplication, QThread)
import microphone_match
def main(argv):
app = QApp... | <|file_sep|>original/microphone_match_gui.py
<|file_sep|>current/microphone_match_gui.py
<|file_sep|>updated/microphone_match_gui.py
#!/usr/bin/python2
import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)
import sys
import os
from PyQt5.QtWidgets import (QApplication, QWidget, QPushButton, QVBoxLayout, QHBoxLa... | d954988fad088278e3a58d16b5928d5918a7e79a | microphone_match_gui.py | microphone_match_gui.py | Python |
<|file_sep|>original/spec/aruba/configuration_spec.rb
require 'spec_helper'
RSpec.describe Aruba::Configuration do
it_behaves_like 'a basic configuration'
end
<|file_sep|>current/spec/aruba/configuration_spec.rb
require 'spec_helper'
RSpec.describe Aruba::Configuration do
it_behaves_like 'a basic configuration'
e... | require 'spec_helper'
RSpec.describe Aruba::Configuration do
it_behaves_like 'a basic configuration'
context 'when is modified' do
let(:config) { described_class.new }
it "won't allow bad values" do
expect { config.fixtures_directories = [1, 2] }.to raise_error ReturnContractError
end
end
end | <|file_sep|>original/spec/aruba/configuration_spec.rb
require 'spec_helper'
RSpec.describe Aruba::Configuration do
it_behaves_like 'a basic configuration'
end
<|file_sep|>current/spec/aruba/configuration_spec.rb
require 'spec_helper'
RSpec.describe Aruba::Configuration do
it_behaves_like 'a basic configuration'
e... | 2753cad9a451feb62d5a84b744f48dbbc31aa750 | spec/aruba/configuration_spec.rb | spec/aruba/configuration_spec.rb | Ruby |
<|file_sep|>original/src/setupPostgresql.sh
#!/bin/bash
cd "$(dirname "$0")" || exit
function createRole {
echo "Setting up a database user."
echo "You may be prompted for the password for the $USERNAME user."
echo "As you type the password no output will be shown."
echo
sudo -u postgres psql -c "CREATE ROLE... |
function createRole {
echo "Setting up a database user."
echo "You may be prompted for the password for the $USERNAME user."
echo "As you type the password no output will be shown."
echo
sudo -u postgres psql -c "CREATE ROLE $USERNAME WITH LOGIN CREATEDB PASSWORD 'placeholder'"
}
# If There is no Postgre ro... | <|file_sep|>original/src/setupPostgresql.sh
#!/bin/bash
cd "$(dirname "$0")" || exit
function createRole {
echo "Setting up a database user."
echo "You may be prompted for the password for the $USERNAME user."
echo "As you type the password no output will be shown."
echo
sudo -u postgres psql -c "CREATE ROLE... | eefedd0e1f02c5a2541a1442b8351e6fb8209a83 | src/setupPostgresql.sh | src/setupPostgresql.sh | Shell |
<|file_sep|>original/panelsrc/music/FrontPanelMusicPreviewContentItem.qml
property bool imagePlayStatus: false
property bool isCurrentlyPlayingLayout: false
signal backButtonClicked()
signal playButtonClicked()
signal forwardButtonClicked()
mouseAreaActive: true
zoomImage: true
fallBa... |
property bool imagePlayStatus: false
property bool isCurrentlyPlayingLayout: false
signal backButtonClicked()
signal playButtonClicked()
signal forwardButtonClicked()
mouseAreaActive: true
zoomImage: true
fallBackImage: "image://themedimage/images/media/music_thumb_med"
imageCompo... | <|file_sep|>original/panelsrc/music/FrontPanelMusicPreviewContentItem.qml
property bool imagePlayStatus: false
property bool isCurrentlyPlayingLayout: false
signal backButtonClicked()
signal playButtonClicked()
signal forwardButtonClicked()
mouseAreaActive: true
zoomImage: true
fallBa... | 5dcb3ac258d3ab3dc1b974bb92814b963816a2f8 | panelsrc/music/FrontPanelMusicPreviewContentItem.qml | panelsrc/music/FrontPanelMusicPreviewContentItem.qml | QML |
<|file_sep|>original/pnc-ui/app/scripts/app.js
'ngResource',
'ui.router',
'pnc.Dashboard',
'pnc.BuildConfig'
]);
app.config(['$stateProvider', '$urlRouterProvider', '$locationProvider',
function($stateProvider, $urlRouterProvider, $locationProvider) {
$locationProvider.html5Mode(false).h... | 'pnc.BuildConfig'
]);
app.config(['$stateProvider', '$urlRouterProvider', '$locationProvider',
function($stateProvider, $urlRouterProvider, $locationProvider) {
$locationProvider.html5Mode(false).hashPrefix('!');
$stateProvider.state('error', {
url: '/error',
views: {
... | <|file_sep|>original/pnc-ui/app/scripts/app.js
'ngResource',
'ui.router',
'pnc.Dashboard',
'pnc.BuildConfig'
]);
app.config(['$stateProvider', '$urlRouterProvider', '$locationProvider',
function($stateProvider, $urlRouterProvider, $locationProvider) {
$locationProvider.html5Mode(false).h... | 8a5f700a999ed96c708bff6b09987326b02c8b47 | pnc-ui/app/scripts/app.js | pnc-ui/app/scripts/app.js | JavaScript |
<|file_sep|>original/test/phpunit/Handlers/NoopHandlerTest.php
<|file_sep|>current/test/phpunit/Handlers/NoopHandlerTest.php
<|file_sep|>updated/test/phpunit/Handlers/NoopHandlerTest.php | <?php
namespace EAMann\Sessionz\Handlers;
use EAMann\Sessionz\Handler;
use PHPUnit\Framework\TestCase;
/**
* @codeCoverageIgnore
*/
class ConcreteHandler extends NoopHandler {}
/**
* The BaseHandler doesn't actually do anything, but we need to ensure
* it passes method calls down to the next item in the stack.
... | <|file_sep|>original/test/phpunit/Handlers/NoopHandlerTest.php
<|file_sep|>current/test/phpunit/Handlers/NoopHandlerTest.php
<|file_sep|>updated/test/phpunit/Handlers/NoopHandlerTest.php
<?php
namespace EAMann\Sessionz\Handlers;
use EAMann\Sessionz\Handler;
use PHPUnit\Framework\TestCase;
/**
* @codeCoverageIgnore... | f1557d5b6613f324b8acc95f03ac4b5d86014170 | test/phpunit/Handlers/NoopHandlerTest.php | test/phpunit/Handlers/NoopHandlerTest.php | PHP |
<|file_sep|>original/composer.json
{
"name": "ticketmatic/ticketmatic",
"description": "API bindings for Ticketmatic",
"require-dev": {
"phpunit/phpunit": "~4.6",
"phpdocumentor/phpdocumentor": "2.*"
},
"license": "MIT X11",
"authors": [
{
"name": "Ticketmatic... | {
"name": "ticketmatic/phpsdk",
"description": "API bindings for Ticketmatic",
"require-dev": {
"phpunit/phpunit": "~4.6",
"phpdocumentor/phpdocumentor": "2.*"
},
"license": "MIT X11",
"authors": [
{
"name": "Ticketmatic",
"email": "developers@tick... | <|file_sep|>original/composer.json
{
"name": "ticketmatic/ticketmatic",
"description": "API bindings for Ticketmatic",
"require-dev": {
"phpunit/phpunit": "~4.6",
"phpdocumentor/phpdocumentor": "2.*"
},
"license": "MIT X11",
"authors": [
{
"name": "Ticketmatic... | 1cae17ca06613ebadbd97f85b240cb9f59bb9b34 | composer.json | composer.json | JSON |
<|file_sep|>views/index.jade.diff
original:
h2 All Projects
updated:
h2= projects.length > 0 ? 'All projects' : 'No projects'
<|file_sep|>original/views/index.jade
extends layout
append head
title Didit
block content
div.span3
include sidebar
div.span9
div.page-header
h1 Didit
if ... |
append head
title Didit
block content
div.span3
include sidebar
div.span9
div.page-header
h1 Didit
if authstaff
h2= projects.length > 0 ? 'All projects' : 'No projects'
each project in projects
h3: a(href="/#{project.kind}/#{project.proj}") #{project.kind}/#{project.proj}
... | <|file_sep|>views/index.jade.diff
original:
h2 All Projects
updated:
h2= projects.length > 0 ? 'All projects' : 'No projects'
<|file_sep|>original/views/index.jade
extends layout
append head
title Didit
block content
div.span3
include sidebar
div.span9
div.page-header
h1 Didit
if ... | 5a8122e5af3a15ffd7f771fbcc792b309c2fbe6a | views/index.jade | views/index.jade | Jade |
<|file_sep|>original/recipes/crc32c/meta.yaml
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: bdcd28f26b62838919480d465a0d166207a36c4f104102a0b6edf5b498544d36
build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "... | source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: bdcd28f26b62838919480d465a0d166207a36c4f104102a0b6edf5b498544d36
build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "
requirements:
build:
- {{ compiler('c'... | <|file_sep|>original/recipes/crc32c/meta.yaml
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: bdcd28f26b62838919480d465a0d166207a36c4f104102a0b6edf5b498544d36
build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "... | 7fb185304715b9cd1df1747a469cb9a49da30b1c | recipes/crc32c/meta.yaml | recipes/crc32c/meta.yaml | YAML |
<|file_sep|>lib/flux.js.diff
original:
updated:
this.stores = stores;
<|file_sep|>original/lib/flux.js
this.dispatcher = dispatcher;
this.actions = {};
for (var key in actions) {
if (actions.hasOwnProperty(key)) {
this.actions[key] = actions[key].bind(dispatchBinder);
}
}
for (key in stores... | this.actions = {};
this.stores = stores;
for (var key in actions) {
if (actions.hasOwnProperty(key)) {
this.actions[key] = actions[key].bind(dispatchBinder);
}
}
for (key in stores) {
if (stores.hasOwnProperty(key)) {
stores[key].flux = this;
}
}
};
Flux.prototype.store = func... | <|file_sep|>lib/flux.js.diff
original:
updated:
this.stores = stores;
<|file_sep|>original/lib/flux.js
this.dispatcher = dispatcher;
this.actions = {};
for (var key in actions) {
if (actions.hasOwnProperty(key)) {
this.actions[key] = actions[key].bind(dispatchBinder);
}
}
for (key in stores... | 4bd76c908bf177d3ed65f273dabb550f77130af2 | lib/flux.js | lib/flux.js | JavaScript |
<|file_sep|>original/client/views/pages/pages_index/pages_index.html
<template name="PagesIndex">
client/views/pages/pages_index/pages_index.html
</template>
<|file_sep|>current/client/views/pages/pages_index/pages_index.html
<template name="PagesIndex">
client/views/pages/pages_index/pages_index.html
</template>
<... | <template name="PagesIndex">
<ol class="breadcrumb">
<li><a href="/">Letterhead</a></li>
<li>Pages</li>
</ol>
</template> | <|file_sep|>original/client/views/pages/pages_index/pages_index.html
<template name="PagesIndex">
client/views/pages/pages_index/pages_index.html
</template>
<|file_sep|>current/client/views/pages/pages_index/pages_index.html
<template name="PagesIndex">
client/views/pages/pages_index/pages_index.html
</template>
<... | aeb2e0e8b24bc523f93c51920853a19e9e4026f4 | client/views/pages/pages_index/pages_index.html | client/views/pages/pages_index/pages_index.html | HTML |
<|file_sep|>original/app/views/users/show.html.erb
<%- model_class = User -%>
<div class="page-header">
<h1><%=t '.title', :default => model_class.model_name.human %></h1>
</div>
<dl class="dl-horizontal">
<dt><strong><%= model_class.human_attribute_name(:username) %>:</strong></dt>
<dd><%= @user.username %></dd... | <%- model_class = User -%>
<div class="page-header">
<h1><%=t '.title', :default => model_class.model_name.human %></h1>
</div>
<dl class="dl-horizontal">
<dt><strong><%= model_class.human_attribute_name(:username) %>:</strong></dt>
<dd><%= @user.username %></dd>
</dl>
<div class="form-actions">
<%= link_to t... | <|file_sep|>original/app/views/users/show.html.erb
<%- model_class = User -%>
<div class="page-header">
<h1><%=t '.title', :default => model_class.model_name.human %></h1>
</div>
<dl class="dl-horizontal">
<dt><strong><%= model_class.human_attribute_name(:username) %>:</strong></dt>
<dd><%= @user.username %></dd... | 3308e58f80a995e4ebb846f5a885d0495799bda3 | app/views/users/show.html.erb | app/views/users/show.html.erb | HTML+ERB |
<|file_sep|>setup.py.diff
original:
reqs = [
"decorator>=3.3.2",
"Pillow>=2.5.0"
updated:
install_reqs = [
"decorator>=3.3.2"
<|file_sep|>setup.py.diff
original:
updated:
test_reqs = [
"Pillow>=2.5.0"
]
<|file_sep|>setup.py.diff
original:
reqs.append("simplejson>=2.0.9")
updated:
install_reqs... |
setup(
name = "dogapi",
version = "1.9.1",
packages = find_packages("src"),
package_dir = {'':'src'},
author = "Datadog, Inc.",
author_email = "packages@datadoghq.com",
description = "Python bindings to Datadog's API and a user-facing command line tool.",
license = "BSD",
keywords =... | <|file_sep|>setup.py.diff
original:
reqs = [
"decorator>=3.3.2",
"Pillow>=2.5.0"
updated:
install_reqs = [
"decorator>=3.3.2"
<|file_sep|>setup.py.diff
original:
updated:
test_reqs = [
"Pillow>=2.5.0"
]
<|file_sep|>setup.py.diff
original:
reqs.append("simplejson>=2.0.9")
updated:
install_reqs... | deef4ac0d34409727d36f273cc63420deae982f7 | setup.py | setup.py | Python |
<|file_sep|>original/script/runSynthetic.sh
<|file_sep|>current/script/runSynthetic.sh
<|file_sep|>updated/script/runSynthetic.sh | CCTAG_SOFTWARE_PATH = /home/lcalvet/cpp_workspace/cctag
IMAGE_PATH=$DATA_PATH"/cctag/bench/images/synthetic/"$1"Crowns/xp"$2"/images/*.png";
echo $IMAGE_PATH
for j in $IMAGE_PATH; do
.$CCTAG_SOFTWARE_PATH/build/$3/src/detection -i $j -n $1 $CCTAG_SOFTWARE_PATH/parameters/param$1.xml -o $3
echo .$CCTAG_SOFTWARE_... | <|file_sep|>original/script/runSynthetic.sh
<|file_sep|>current/script/runSynthetic.sh
<|file_sep|>updated/script/runSynthetic.sh
CCTAG_SOFTWARE_PATH = /home/lcalvet/cpp_workspace/cctag
IMAGE_PATH=$DATA_PATH"/cctag/bench/images/synthetic/"$1"Crowns/xp"$2"/images/*.png";
echo $IMAGE_PATH
for j in $IMAGE_PATH; do
.... | 077fd6d7b4d049b5531606926010129f9d48782f | script/runSynthetic.sh | script/runSynthetic.sh | Shell |
<|file_sep|>javascripts/google.analytics.js.diff
original:
ga('create', 'UA-45243911-1', 'ddonahue.github.io');
updated:
ga('create', 'UA-45243911-1', 'dandonahue.net');
<|file_sep|>original/javascripts/google.analytics.js
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).... | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('cr... | <|file_sep|>javascripts/google.analytics.js.diff
original:
ga('create', 'UA-45243911-1', 'ddonahue.github.io');
updated:
ga('create', 'UA-45243911-1', 'dandonahue.net');
<|file_sep|>original/javascripts/google.analytics.js
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).... | 5116da634ccc74bc879c74dfbc40d48d937c8ca5 | javascripts/google.analytics.js | javascripts/google.analytics.js | JavaScript |
<|file_sep|>original/schemafy_lib/Cargo.toml
[package]
name = "schemafy_lib"
version = "0.5.1" # VERSION_TAG
authors = ["Markus Westerlind <marwes91@gmail.com>", "MATILLAT Quentin <qmatillat@gmail.com>"]
edition = "2018"
[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
schemafy_core = { version = "0.5.1", path = "../s... | [package]
name = "schemafy_lib"
version = "0.5.1" # VERSION_TAG
authors = ["Markus Westerlind <marwes91@gmail.com>", "MATILLAT Quentin <qmatillat@gmail.com>"]
edition = "2018"
description = "Generates serializeable Rust types from a json schema"
license = "MIT"
repository = "https://github.com/Marwes/schemafy"
docume... | <|file_sep|>original/schemafy_lib/Cargo.toml
[package]
name = "schemafy_lib"
version = "0.5.1" # VERSION_TAG
authors = ["Markus Westerlind <marwes91@gmail.com>", "MATILLAT Quentin <qmatillat@gmail.com>"]
edition = "2018"
[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
schemafy_core = { version = "0.5.1", path = "../s... | 61bc9b9c43d08814ca4d0d33d4a778d49d065994 | schemafy_lib/Cargo.toml | schemafy_lib/Cargo.toml | TOML |
<|file_sep|>original/.github/workflows/pullrequest-readyforreview.yml
name: Pull Request Ready for Review
on:
pull_request:
types: [labeled]
jobs:
addToProject:
runs-on: ubuntu-latest
steps:
- name: Move to "Ready for review" column
if: github.event.label.name == 'ready for review')
... | name: Pull Request Ready for Review
on:
pull_request:
types: [labeled]
jobs:
addToProject:
runs-on: ubuntu-latest
steps:
- name: Move to "Ready for review" column
if: github.event.label.name == 'ready for review'
uses: alex-page/github-project-automation-plus@v0.1.1
with:
... | <|file_sep|>original/.github/workflows/pullrequest-readyforreview.yml
name: Pull Request Ready for Review
on:
pull_request:
types: [labeled]
jobs:
addToProject:
runs-on: ubuntu-latest
steps:
- name: Move to "Ready for review" column
if: github.event.label.name == 'ready for review')
... | 12a42972ae0bda0a4925bdba853b6014d35485aa | .github/workflows/pullrequest-readyforreview.yml | .github/workflows/pullrequest-readyforreview.yml | YAML |
<|file_sep|>original/test/jumubase/showtime/instruments_test.exs
defmodule Jumubase.InstrumentsTest do
use Jumubase.DataCase
alias Jumubase.Showtime.Instruments
test "all/0 returns a list of all instruments" do
%{} = result = Instruments.all()
assert result |> Enum.count() == 34
end
test "name/1 ret... | defmodule Jumubase.InstrumentsTest do
use Jumubase.DataCase
alias Jumubase.Showtime.Instruments
test "all/0 returns a list of all instruments" do
%{} = result = Instruments.all()
assert result |> Enum.count() == 41
end
test "name/1 returns an instrument's display name, if found" do
assert Instru... | <|file_sep|>original/test/jumubase/showtime/instruments_test.exs
defmodule Jumubase.InstrumentsTest do
use Jumubase.DataCase
alias Jumubase.Showtime.Instruments
test "all/0 returns a list of all instruments" do
%{} = result = Instruments.all()
assert result |> Enum.count() == 34
end
test "name/1 ret... | 6f6315bfa0cc0a7093e9a947a8b0e439b378c5a4 | test/jumubase/showtime/instruments_test.exs | test/jumubase/showtime/instruments_test.exs | Elixir |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
gemfile: docs/Gemfile
script:
- bundle exec jekyll algolia --config docs/_config.yml
branches:
only:
# Change this to gh-pages if you're deploying using the gh-pages branch
- master
rvm:
- 2.4
<|file_sep|>current/.travis.yml
language: ruby
cach... | language: ruby
cache: bundler
gemfile: docs/Gemfile
script:
- bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml
branches:
only:
# Change this to gh-pages if you're deploying using the gh-pages branch
- master
rvm:
- 2.4 | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
gemfile: docs/Gemfile
script:
- bundle exec jekyll algolia --config docs/_config.yml
branches:
only:
# Change this to gh-pages if you're deploying using the gh-pages branch
- master
rvm:
- 2.4
<|file_sep|>current/.travis.yml
language: ruby
cach... | fa50bbbe3909d0ef103a09fe7abab51e68e87c07 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5.9
- 5.6
before_script:
- composer self-update
- composer install --prefer-source --no-interaction
script: composer test
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5.9
- 5.6
before_script:
- composer self-update
- composer install... | language: php
php:
- 5.5.9
- 5.6
- 7.0
- hhvm
matrix:
fast_finish: true
allow_failures:
- php: 7.0
- php: hhvm
before_script:
- composer self-update
- composer install --prefer-source --no-interaction
script: composer test | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5.9
- 5.6
before_script:
- composer self-update
- composer install --prefer-source --no-interaction
script: composer test
<|file_sep|>current/.travis.yml
language: php
php:
- 5.5.9
- 5.6
before_script:
- composer self-update
- composer install... | 76912a101399a75bd44d314d02291b60745ad13e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# OSVR-Unreal
> Maintained at <https://github.com/OSVR/OSVR-Unreal>
>
> For details, see <http://osvr.github.io>
>
> For support, see <http://support.osvr.com>
## Unreal Engine Plugin for OSVR
Currently in a functional but preliminary state. Contributions and cleanups gladly accepted.
T... | # OSVR-Unreal
> Maintained at <https://github.com/OSVR/OSVR-Unreal>
>
> For details, see <http://osvr.github.io>
>
> For support, see <http://support.osvr.com>
## Unreal Engine Plugin for OSVR
Currently in a functional but preliminary state. Contributions and cleanups gladly accepted.
The `OSVRUnreal` folder contains... | <|file_sep|>original/README.md
# OSVR-Unreal
> Maintained at <https://github.com/OSVR/OSVR-Unreal>
>
> For details, see <http://osvr.github.io>
>
> For support, see <http://support.osvr.com>
## Unreal Engine Plugin for OSVR
Currently in a functional but preliminary state. Contributions and cleanups gladly accepted.
T... | f86f25c09ac8ef14f06dc65461bf2d6669011b63 | README.md | README.md | Markdown |
<|file_sep|>pages/assure/assure_end_to_end.md.diff
original:
summary: "The Access page shows developers and users of the API how to access and call the API in the test environment"
updated:
summary: "The end to end page shows how APIs can be assured in the scenarios and system integration tests required to assure a sys... | summary: "The end to end page shows how APIs can be assured in the scenarios and system integration tests required to assure a system before deploying"
---
{% include important.html content="All phases outlined below are indicative and subject to on-going review." %}
# End to End Assurance #
Assurance of systems in ... | <|file_sep|>pages/assure/assure_end_to_end.md.diff
original:
summary: "The Access page shows developers and users of the API how to access and call the API in the test environment"
updated:
summary: "The end to end page shows how APIs can be assured in the scenarios and system integration tests required to assure a sys... | e692efac8361c859fb046ed6a527c98eeeb36b79 | pages/assure/assure_end_to_end.md | pages/assure/assure_end_to_end.md | Markdown |
<|file_sep|>original/TESTING.md
<|file_sep|>current/TESTING.md
<|file_sep|>updated/TESTING.md | Running the test suite
======================
Run the tests:
% rake
In order to do this you must have gems bundled, Appraisal set up, and
three databases configured.
bundler
-------
% bundle --binstubs
Appraisal
---------
% rake appraisal:install
| <|file_sep|>original/TESTING.md
<|file_sep|>current/TESTING.md
<|file_sep|>updated/TESTING.md
Running the test suite
======================
Run the tests:
% rake
In order to do this you must have gems bundled, Appraisal set up, and
three databases configured.
bundler
-------
% bundle --binstubs
Apprais... | 4c3a4756b75fc87d713481c1cbb1d8e69b7c697e | TESTING.md | TESTING.md | Markdown |
<|file_sep|>packages/wi/witch.yaml.diff
original:
changelog-type: ''
hash: e27cfdd94a5f1171f441707646f87a6372d2b8ab8a31739fc1ee4d1b30028238
updated:
changelog-type: markdown
hash: 2d0ec123e5ba6bdf4c07d93af4fc8ecda9e354e6213d8a71779210dacaf2aa1e
<|file_sep|>packages/wi/witch.yaml.diff
original:
changelog: ''
updated:
ch... | changelog: |
# Change log
Witch follows the [Package Versioning Policy](https://pvp.haskell.org). You can
find release notes [on GitHub](https://github.com/tfausak/witch/releases).
basic-deps:
bytestring: '>=0.10.8 && <0.11'
base: '>=4.12.0 && <4.15'
text: '>=1.2.3 && <1.3'
containers: '>=0.6.0 && <0.7'
... | <|file_sep|>packages/wi/witch.yaml.diff
original:
changelog-type: ''
hash: e27cfdd94a5f1171f441707646f87a6372d2b8ab8a31739fc1ee4d1b30028238
updated:
changelog-type: markdown
hash: 2d0ec123e5ba6bdf4c07d93af4fc8ecda9e354e6213d8a71779210dacaf2aa1e
<|file_sep|>packages/wi/witch.yaml.diff
original:
changelog: ''
updated:
ch... | 32cc986d3a8948dc3daf747dfdd684dcef5df0d2 | packages/wi/witch.yaml | packages/wi/witch.yaml | YAML |
<|file_sep|>original/setup.cfg
[pep8]
show-source = 1
exclude = .venv,.tox,dist,docs,build,*.egg
[bdist_wheel]
universal = 1
<|file_sep|>current/setup.cfg
[pep8]
show-source = 1
exclude = .venv,.tox,dist,docs,build,*.egg
[bdist_wheel]
universal = 1
<|file_sep|>updated/setup.cfg | [pep8]
show-source = 1
exclude = .venv,.tox,dist,docs,build,*.egg
[bdist_wheel]
universal = 1
[metadata]
license_file = LICENSE | <|file_sep|>original/setup.cfg
[pep8]
show-source = 1
exclude = .venv,.tox,dist,docs,build,*.egg
[bdist_wheel]
universal = 1
<|file_sep|>current/setup.cfg
[pep8]
show-source = 1
exclude = .venv,.tox,dist,docs,build,*.egg
[bdist_wheel]
universal = 1
<|file_sep|>updated/setup.cfg
[pep8]
show-source = 1
exclude = .venv,... | 62fd0923f1a673ad72e10545c73bb734773b14e9 | setup.cfg | setup.cfg | INI |
<|file_sep|>original/settings.json
<|file_sep|>current/settings.json
<|file_sep|>updated/settings.json | // Place your settings in this file to overwrite the default settings
// Goes in $USER/AppData/Roaming/Code/User
{
"vim.useSystemClipboard": true,
"vim.hlsearch": true,
"vim.easymotion": true,
"vim.leader": ",",
"vim.insertModeKeyBindings": [
{
"before": ["n", "n"],
... | <|file_sep|>original/settings.json
<|file_sep|>current/settings.json
<|file_sep|>updated/settings.json
// Place your settings in this file to overwrite the default settings
// Goes in $USER/AppData/Roaming/Code/User
{
"vim.useSystemClipboard": true,
"vim.hlsearch": true,
"vim.easymotion": true,
"vim.l... | f8b4ad053174ea389a135a13a7ead92c6ce03d41 | settings.json | settings.json | JSON |
<|file_sep|>.travis.yml.diff
original:
- 7.0
updated:
<|file_sep|>original/.travis.yml
- 5.5
- 5.4
- 5.3
env:
- BRANCHES=1.8/master
- BRANCHES=1.7/master
- BRANCHES=1.6/master
- BRANCHES=1.5/master
matrix:
exclude:
- php: 7.0
env: BRANCHES=1.7/master
- php: 7.0
env: BRANCHES=1.6/m... | language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
env:
- BRANCHES=1.8/master
- BRANCHES=1.7/master
- BRANCHES=1.6/master
- BRANCHES=1.5/master
before_install:
- git clone --recursive --quiet --branch=$BRANCHES git://github.com/fuel/fuel.git "$HOME/fuelphp"
install:
- if [ -e "$HOME/fuelphp/composer.json" ]... | <|file_sep|>.travis.yml.diff
original:
- 7.0
updated:
<|file_sep|>original/.travis.yml
- 5.5
- 5.4
- 5.3
env:
- BRANCHES=1.8/master
- BRANCHES=1.7/master
- BRANCHES=1.6/master
- BRANCHES=1.5/master
matrix:
exclude:
- php: 7.0
env: BRANCHES=1.7/master
- php: 7.0
env: BRANCHES=1.6/m... | b07026bf35b84d69964726055840004db83ee003 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/dev-requirements.txt
bumpversion==0.5.3
codecov==2.0.9
pypandoc==1.4
pytest==3.3.0
twine==1.9.1
<|file_sep|>current/dev-requirements.txt
bumpversion==0.5.3
codecov==2.0.9
pypandoc==1.4
pytest==3.3.0
twine==1.9.1
<|file_sep|>updated/dev-requirements.txt | bumpversion==0.5.3
codecov==2.0.9
pypandoc==1.4
pytest==3.3.1
twine==1.9.1
| <|file_sep|>original/dev-requirements.txt
bumpversion==0.5.3
codecov==2.0.9
pypandoc==1.4
pytest==3.3.0
twine==1.9.1
<|file_sep|>current/dev-requirements.txt
bumpversion==0.5.3
codecov==2.0.9
pypandoc==1.4
pytest==3.3.0
twine==1.9.1
<|file_sep|>updated/dev-requirements.txt
bumpversion==0.5.3
codecov==2.0.9
pypandoc==... | b9a0621601ba063e4014da54d3d2f9f54e658dc1 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/examples/06-list-activated-methods.py
"amount": {
"currency": "EUR",
"value": "100.00",
}
}
methods = mollie_client.methods.list(**params)
body = f"Your API key has {len(methods)} activated payment methods:<br>"
... | "amount": {
"currency": "EUR",
"value": "100.00",
}
}
methods = mollie_client.methods.list(**params)
body = f"Your API key has {len(methods)} activated payment methods:<br>"
for method in methods:
body += '<div style="l... | <|file_sep|>original/examples/06-list-activated-methods.py
"amount": {
"currency": "EUR",
"value": "100.00",
}
}
methods = mollie_client.methods.list(**params)
body = f"Your API key has {len(methods)} activated payment methods:<br>"
... | c370fdfc405d1ff3dd31d9f6a589b0b795c28c55 | examples/06-list-activated-methods.py | examples/06-list-activated-methods.py | Python |
<|file_sep|>original/_sass/options.scss
/* Variables and configuration style of website
–––––––––––––––––––––––––––––––––––––––––––––––––– */
// Values
$markdown-toc__title: "Table Of Contents";
$sidebar__img-rounded: "square";
<|file_sep|>current/_sass/options.scss
/* Variables and configuration style of website
–––... | /* Variables and configuration style of website
–––––––––––––––––––––––––––––––––––––––––––––––––– */
// Values
$markdown-toc__title: "Índice";
$sidebar__img-rounded: "square"; | <|file_sep|>original/_sass/options.scss
/* Variables and configuration style of website
–––––––––––––––––––––––––––––––––––––––––––––––––– */
// Values
$markdown-toc__title: "Table Of Contents";
$sidebar__img-rounded: "square";
<|file_sep|>current/_sass/options.scss
/* Variables and configuration style of website
–––... | 6c9d0e4d5be8c5a36c067534dbd2b63eb7313943 | _sass/options.scss | _sass/options.scss | SCSS |
<|file_sep|>docs/cookbook/modifying.rst.diff
original:
updated:
from journalism import NumberType
number_type = NumberType()
<|file_sep|>original/docs/cookbook/modifying.rst
This will compute the percent change between the :code:`july` and :code:`august` columns and put the result in a new :code:`pct_cha... | Rounding to two decimal places
==============================
journalism stores numerical values using Python's :class:`decimal.Decimal` type. This data type ensures numerical precision beyond what is supported by the native :func:`float` type, however, because of this we can not use Python's builtin :func:`round` fun... | <|file_sep|>docs/cookbook/modifying.rst.diff
original:
updated:
from journalism import NumberType
number_type = NumberType()
<|file_sep|>original/docs/cookbook/modifying.rst
This will compute the percent change between the :code:`july` and :code:`august` columns and put the result in a new :code:`pct_cha... | 952ea56f36d6656818bb9161dd60a6a7002087d5 | docs/cookbook/modifying.rst | docs/cookbook/modifying.rst | reStructuredText |
<|file_sep|>original/src/Illuminate/Database/README.md
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
),
);
$capsule = new Illuminate\Database\Capsule($config);
// If you want to use the Eloquent ORM...
$capsule->setupEloquent();
// Making A Query Builder Call...
$capsule-... | 'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
),
);
$capsule = new Illuminate\Database\Capsule($config);
// If you want to use the Eloquent ORM...
$capsule->bootEloquent();
// Making A Query Builder Call...
$capsule->connection()->table('users')->where('id', 1)->first();
... | <|file_sep|>original/src/Illuminate/Database/README.md
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
),
);
$capsule = new Illuminate\Database\Capsule($config);
// If you want to use the Eloquent ORM...
$capsule->setupEloquent();
// Making A Query Builder Call...
$capsule-... | 63cc14b06ad1e46dcef63f65f10909c23720c652 | src/Illuminate/Database/README.md | src/Illuminate/Database/README.md | Markdown |
<|file_sep|>original/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.5.0
matplotlib==2.2.2
numpy==1.14.5
pandas==0.23.3
Pillow==5.2.0
protobuf==3.6.0
requests==2.19.1
scipy==1.1.0
stevedore==1.28.0
<|file_sep|>current/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.5.0
matplotlib==2.2... | click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.6.0
matplotlib==2.2.2
numpy==1.14.5
pandas==0.23.3
Pillow==5.2.0
protobuf==3.6.0
requests==2.19.1
scipy==1.1.0
stevedore==1.28.0
| <|file_sep|>original/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.5.0
matplotlib==2.2.2
numpy==1.14.5
pandas==0.23.3
Pillow==5.2.0
protobuf==3.6.0
requests==2.19.1
scipy==1.1.0
stevedore==1.28.0
<|file_sep|>current/requirements.txt
click==6.7
h5py==2.8.0
Keras>=2.0.0
notebook==5.5.0
matplotlib==2.2... | 6f8a0d74f9ad647c849a4162057834aa28ee5be8 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/rapt/cmds/ingredients.py
# add filters if we need to be...
for i, ingredient in enumerate(query('Ingredient', vr, q)):
click.echo(ingredient.name)
@click.command()
@click.argument('name')
def ingredient(name):
"""View a complete ingredient config."""
vr = get_vr()
q =... | @click.argument('name')
def ingredient(name):
"""View a complete ingredient config."""
vr = get_vr()
q = {'name': name}
ingredient = query('Ingredient', vr, q).next()
doc = {
'config': load_yaml(ingredient.config_yaml),
'env': load_yaml(ingredient.env_yaml),
}
config = edit... | <|file_sep|>original/rapt/cmds/ingredients.py
# add filters if we need to be...
for i, ingredient in enumerate(query('Ingredient', vr, q)):
click.echo(ingredient.name)
@click.command()
@click.argument('name')
def ingredient(name):
"""View a complete ingredient config."""
vr = get_vr()
q =... | f791354a098c32617f02f05dbbb53861b7a94139 | rapt/cmds/ingredients.py | rapt/cmds/ingredients.py | Python |
<|file_sep|>original/.travis.yml
dist: trusty
language: cpp
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ./mc_01
<|file_sep|>current/.travis.yml
dist: trusty
language: cpp
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ./mc_01
<|file_sep|>updated/.... | dist: xenial
language: cpp
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ./mc_01
| <|file_sep|>original/.travis.yml
dist: trusty
language: cpp
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ./mc_01
<|file_sep|>current/.travis.yml
dist: trusty
language: cpp
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- ./mc_01
<|file_sep|>updated/.... | 7d1db72322da81342a6c1ef3d3a76c5f786aff3f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.zuul.yaml
- terraform-provider-openstack-acceptance-test-mitaka
recheck-newton:
jobs:
- terraform-provider-openstack-acceptance-test-newton
recheck-ocata:
jobs:
- terraform-provider-openstack-acceptance-test-ocata
recheck-pike:
jobs:
- ... | - terraform-provider-openstack-acceptance-test-mitaka
recheck-newton:
jobs:
- terraform-provider-openstack-acceptance-test-newton
recheck-ocata:
jobs:
- terraform-provider-openstack-acceptance-test-ocata
recheck-pike:
jobs:
- terraform-provider-openstack-acc... | <|file_sep|>original/.zuul.yaml
- terraform-provider-openstack-acceptance-test-mitaka
recheck-newton:
jobs:
- terraform-provider-openstack-acceptance-test-newton
recheck-ocata:
jobs:
- terraform-provider-openstack-acceptance-test-ocata
recheck-pike:
jobs:
- ... | d94fe23a95af1f6d98502cfc769d668abf235a20 | .zuul.yaml | .zuul.yaml | YAML |
<|file_sep|>original/services/service_goldenage_login.erl
Email = z_context:get_q("email", Context),
Name = z_context:get_q("name", Context),
SudoContext = z_acl:sudo(Context),
UID = case m_identity:lookup_by_type_and_key(email_only, Email, Context) of
undefined ->
... | {ok, UserId} = m_rsc:insert([{category, profile},
{is_published, true},
{title, Name},
{email, Email}], SudoContext),
{ok, _} = ... | <|file_sep|>original/services/service_goldenage_login.erl
Email = z_context:get_q("email", Context),
Name = z_context:get_q("name", Context),
SudoContext = z_acl:sudo(Context),
UID = case m_identity:lookup_by_type_and_key(email_only, Email, Context) of
undefined ->
... | 0cb5e2a5d208428e7819f0ff29c69f36c427fc6f | services/service_goldenage_login.erl | services/service_goldenage_login.erl | Erlang |
<|file_sep|>original/LXReorderableCollectionViewFlowLayout.podspec
Pod::Spec.new do |s|
s.name = 'LXReorderableCollectionViewFlowLayout'
s.version = '0.1.1'
s.summary = 'Extends UICollectionViewFlowLayout to support reordering of cells. Similar to long press and pan on books in iBook.'
s.homepage = 'https://git... | Pod::Spec.new do |s|
s.name = 'LXReorderableCollectionViewFlowLayout'
s.version = '0.1.1'
s.summary = 'Extends UICollectionViewFlowLayout to support reordering of cells. Similar to long press and pan on books in iBook.'
s.homepage = 'https://github.com/lxcid/LXReorderableCollectionViewFlowLayout'
s.license = ... | <|file_sep|>original/LXReorderableCollectionViewFlowLayout.podspec
Pod::Spec.new do |s|
s.name = 'LXReorderableCollectionViewFlowLayout'
s.version = '0.1.1'
s.summary = 'Extends UICollectionViewFlowLayout to support reordering of cells. Similar to long press and pan on books in iBook.'
s.homepage = 'https://git... | b5ddfe8d342b2d6ad4bdb607f8e9988f2affd34c | LXReorderableCollectionViewFlowLayout.podspec | LXReorderableCollectionViewFlowLayout.podspec | Ruby |
<|file_sep|>original/README.md
HTCondor-CE
===========
[](https://travis-ci.org/opensciencegrid/htcondor-ce)
---
A site grid gatekeeper technology based solely on HTCondor components.
This package is simply a thin set of wrappers ar... | HTCondor-CE
===========
[](https://travis-ci.org/htcondor/htcondor-ce)
---
A site grid gatekeeper technology based solely on HTCondor components.
This package is simply a thin set of wrappers around HTCondor, allowing you to
run a HTCondor... | <|file_sep|>original/README.md
HTCondor-CE
===========
[](https://travis-ci.org/opensciencegrid/htcondor-ce)
---
A site grid gatekeeper technology based solely on HTCondor components.
This package is simply a thin set of wrappers ar... | 88ab7812b34e9a382a0ea2f690992048f445fcef | README.md | README.md | Markdown |
<|file_sep|>original/tests/connect.cpp
#include <rusql/connection.hpp>
#include <assert.h>
int main(int argc, char *argv[]) {
assert(argc == 5);
try {
rusql::connection(rusql::connection::connection_info(argv[1], argv[2], argv[3], argv[4]));
} catch(...) {
return 0;
}
return 1;
}
<|file_sep|>current/tests/con... | #include <rusql/connection.hpp>
#include <cassert>
int main(int argc, char *argv[]) {
assert(argc == 5);
try {
rusql::connection(rusql::connection::connection_info(argv[1], argv[2], argv[3], argv[4]));
} catch(...) {
return 0;
}
return 1;
} | <|file_sep|>original/tests/connect.cpp
#include <rusql/connection.hpp>
#include <assert.h>
int main(int argc, char *argv[]) {
assert(argc == 5);
try {
rusql::connection(rusql::connection::connection_info(argv[1], argv[2], argv[3], argv[4]));
} catch(...) {
return 0;
}
return 1;
}
<|file_sep|>current/tests/con... | 8dd3d758c2b48fcc74d276da63d093ba31706c0f | tests/connect.cpp | tests/connect.cpp | C++ |
<|file_sep|>original/gemrat.gemspec
Gem::Specification.new do |spec|
spec.name = "gemrat"
spec.version = Gemrat::VERSION
spec.authors = ["Dru Riley"]
spec.email = ["dru@drurly.com"]
spec.description = "Add the latest gem versions to your Gemfile from the command line."
spec.su... | Gem::Specification.new do |spec|
spec.name = "gemrat"
spec.version = Gemrat::VERSION
spec.authors = ["Dru Riley"]
spec.email = ["dru@drurly.com"]
spec.description = "Add the latest gem versions to your Gemfile from the command line."
spec.summary = "Add the latest gem ve... | <|file_sep|>original/gemrat.gemspec
Gem::Specification.new do |spec|
spec.name = "gemrat"
spec.version = Gemrat::VERSION
spec.authors = ["Dru Riley"]
spec.email = ["dru@drurly.com"]
spec.description = "Add the latest gem versions to your Gemfile from the command line."
spec.su... | b1a2696063e4396250fbc5196844c225dc3eeb47 | gemrat.gemspec | gemrat.gemspec | Ruby |
<|file_sep|>original/package.json
{
"name": "easy-ideal",
"version": "0.0.0",
"description": "Qantani Easy iDeal API client for Node (unofficial).",
"main": "lib/easyideal.js",
"scripts": {
"test": "node ./test"
},
"repository": {
"type": "git",
"url": "git://github.com/Jarvix/node-easy-ideal"... | {
"name": "easy-ideal",
"version": "0.0.0",
"description": "Qantani Easy iDeal API client for Node (unofficial).",
"main": "lib/easyideal.js",
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git://github.com/Jarvix/node-easy-ideal"
},
"keywords": [
"qantani",
... | <|file_sep|>original/package.json
{
"name": "easy-ideal",
"version": "0.0.0",
"description": "Qantani Easy iDeal API client for Node (unofficial).",
"main": "lib/easyideal.js",
"scripts": {
"test": "node ./test"
},
"repository": {
"type": "git",
"url": "git://github.com/Jarvix/node-easy-ideal"... | fb27013aed1d03bdfb1ab58514c9229782ca45be | package.json | package.json | JSON |
<|file_sep|>original/requirements/base.txt
# ydf/requirements/base.txt
#
# Requirements for using this package.
-r build.txt
click==7.0
six==1.12.0
ruamel.yaml==0.15.88
jinja2==2.10
<|file_sep|>current/requirements/base.txt
# ydf/requirements/base.txt
#
# Requirements for using this package.
-r build.txt
click==7.0... | # ydf/requirements/base.txt
#
# Requirements for using this package.
-r build.txt
click==7.0
six==1.12.0
ruamel.yaml==0.15.89
jinja2==2.10 | <|file_sep|>original/requirements/base.txt
# ydf/requirements/base.txt
#
# Requirements for using this package.
-r build.txt
click==7.0
six==1.12.0
ruamel.yaml==0.15.88
jinja2==2.10
<|file_sep|>current/requirements/base.txt
# ydf/requirements/base.txt
#
# Requirements for using this package.
-r build.txt
click==7.0... | 1b3aac8fa3889629d77caea14e583f34d55742cb | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>src/lib/src/simple-select/component/simple-select.component.ts.diff
original:
import { Component } from '@angular/core';
updated:
import { Component, forwardRef } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
const SIMPLE_SELECT_VALUE_ACCESSOR = {
provide: NG_VALUE_ACCESSOR,
... | selector: 'ng-simple-select',
templateUrl: './simple-select.component.html',
styleUrls: ['./simple-select.component.css'],
providers: [SIMPLE_SELECT_VALUE_ACCESSOR],
})
export class SimpleSelectComponent {
private innerValue: any;
private onChange = (_: any) => {};
private onTouched = () => {};
get val... | <|file_sep|>src/lib/src/simple-select/component/simple-select.component.ts.diff
original:
import { Component } from '@angular/core';
updated:
import { Component, forwardRef } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
const SIMPLE_SELECT_VALUE_ACCESSOR = {
provide: NG_VALUE_ACCESSOR,
... | f98a2299d66d972dbc824a24881a6d89f880b378 | src/lib/src/simple-select/component/simple-select.component.ts | src/lib/src/simple-select/component/simple-select.component.ts | TypeScript |
<|file_sep|>original/_config.yml
# Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
#
# Use of `relative_permalinks` ensures post links from the index work properly.
permalink: pretty
relative_permalinks: true
# Setup
title: oonlab
tagline: 'La... | # Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
#
# Use of `relative_permalinks` ensures post links from the index work properly.
permalink: pretty
# Setup
title: oonlab
tagline: 'Lab of ariestiyansyah'
description: 'oonlab is crafte... | <|file_sep|>original/_config.yml
# Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
#
# Use of `relative_permalinks` ensures post links from the index work properly.
permalink: pretty
relative_permalinks: true
# Setup
title: oonlab
tagline: 'La... | fdc621cd68d36f5ddda980e0549a0be561490642 | _config.yml | _config.yml | YAML |
<|file_sep|>original/build.sbt
name := """cdex2"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
javaWs,
"mysql" % "mysql-connector-java" % "5.1.18"
)
<|file_sep|>current/build.sbt
... | name := """cdex"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
javaWs,
"mysql" % "mysql-connector-java" % "5.1.18"
) | <|file_sep|>original/build.sbt
name := """cdex2"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
javaWs,
"mysql" % "mysql-connector-java" % "5.1.18"
)
<|file_sep|>current/build.sbt
... | 83bc1032f3a9d6e1698c37beda48ac19fbae54e4 | build.sbt | build.sbt | Scala |
<|file_sep|>original/main/_config.py
import os
import inspect
# Flask
DEBUG = True
# Amazon S3 Settings
AWS_KEY = ''
AWS_SECRET_KEY = ''
AWS_BUCKET = 'www.vpr.net'
AWS_DIRECTORY = 'sandbox/members/'
NPR_API_KEY = ''
GOOGLE_SPREADSHEET = {'USER': '',
'PASSWORD': '',
'SOURCE': ''}
# Cache Settings (units in ... | import os
import inspect
# Flask
DEBUG = True
# Amazon S3 Settings
AWS_KEY = ''
AWS_SECRET_KEY = ''
AWS_BUCKET = 'www.vpr.net'
AWS_DIRECTORY = 'sandbox/members'
NPR_API_KEY = ''
GOOGLE_SPREADSHEET = {'USER': '',
'PASSWORD': '',
'SOURCE': ''}
# Cache Settings (units in seconds)
STATIC_EXPIRES = 60 * 24 * 36... | <|file_sep|>original/main/_config.py
import os
import inspect
# Flask
DEBUG = True
# Amazon S3 Settings
AWS_KEY = ''
AWS_SECRET_KEY = ''
AWS_BUCKET = 'www.vpr.net'
AWS_DIRECTORY = 'sandbox/members/'
NPR_API_KEY = ''
GOOGLE_SPREADSHEET = {'USER': '',
'PASSWORD': '',
'SOURCE': ''}
# Cache Settings (units in ... | 70d0b672eb9f857c052028be12ccae56ed798c8a | main/_config.py | main/_config.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js:
- "0.11"
- "0.12"
- "iojs"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
<|file_sep|>current/.travis.yml
language: node_js
notifications:
email:
... | language: node_js
notifications:
email:
on_success: never
on_failure: change
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
node_js:
- "0.11"
- "0.12"
- "iojs"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" | <|file_sep|>original/.travis.yml
language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js:
- "0.11"
- "0.12"
- "iojs"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
<|file_sep|>current/.travis.yml
language: node_js
notifications:
email:
... | 2ab8144143621e695b27a1fa9dbf4ff636c765b1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/spec/models/state_spec.rb
<|file_sep|>current/spec/models/state_spec.rb
<|file_sep|>updated/spec/models/state_spec.rb | require "rails_helper"
RSpec.describe State do
let!(:draft_item) { FactoryGirl.create(:draft_content_item, title: "Draft Title") }
let!(:published_item) { FactoryGirl.create(:live_content_item, title: "Published Title") }
describe "validations" do
subject { FactoryGirl.build(:state) }
it "is valid for ... | <|file_sep|>original/spec/models/state_spec.rb
<|file_sep|>current/spec/models/state_spec.rb
<|file_sep|>updated/spec/models/state_spec.rb
require "rails_helper"
RSpec.describe State do
let!(:draft_item) { FactoryGirl.create(:draft_content_item, title: "Draft Title") }
let!(:published_item) { FactoryGirl.create(... | 2f953bc5b0f2a23abf92e3ec6a9e35677eb601e3 | spec/models/state_spec.rb | spec/models/state_spec.rb | Ruby |
<|file_sep|>original/app/bootstrap.js
module.exports = (function() {
var Router = require('router'),
Connection = require('lib/connection');
// App namespace.
window.Boards = {};
// Load helpers.
require('lib/helpers');
// Register Swag Helpers.
Swag.registerHelpers();
// Initialize Router.
... | module.exports = (function() {
var Router = require('router'),
Connection = require('lib/connection');
// App namespace.
window.Boards = {
Models: {},
Collections: {}
};
// Load helpers.
require('lib/helpers');
// Register Swag Helpers.
Swag.registerHelpers();
// Initialize Router.
... | <|file_sep|>original/app/bootstrap.js
module.exports = (function() {
var Router = require('router'),
Connection = require('lib/connection');
// App namespace.
window.Boards = {};
// Load helpers.
require('lib/helpers');
// Register Swag Helpers.
Swag.registerHelpers();
// Initialize Router.
... | 0c1e38e422a0fdfd29359a741a9c2bd566bea8de | app/bootstrap.js | app/bootstrap.js | JavaScript |
<|file_sep|>webapp/byceps/blueprints/admin_dashboard/static/style/admin_dashboard.css.diff
original:
updated:
max-width: 33.3333%;
<|file_sep|>webapp/byceps/blueprints/admin_dashboard/static/style/admin_dashboard.css.diff
original:
updated:
height: 100%;
<|file_sep|>original/webapp/byceps/blueprints/admin_dashboa... | }
.grid .cell {
flex: 0 0 33.3333%;
padding: 20px 0 0 20px;
max-width: 33.3333%;
}
.grid .cell .box {
height: 100%;
position: relative;
overflow: hidden;
}
.cell-icon {
font-size: 5rem;
left: 0.25rem;
opacity: 0.075;
position: absolute;
top: 2rem;
}
.grid .cell .box :first-child {
margin-top: 0... | <|file_sep|>webapp/byceps/blueprints/admin_dashboard/static/style/admin_dashboard.css.diff
original:
updated:
max-width: 33.3333%;
<|file_sep|>webapp/byceps/blueprints/admin_dashboard/static/style/admin_dashboard.css.diff
original:
updated:
height: 100%;
<|file_sep|>original/webapp/byceps/blueprints/admin_dashboa... | 93921d6db356198f8e12ddca0cee4cda7bafdeeb | webapp/byceps/blueprints/admin_dashboard/static/style/admin_dashboard.css | webapp/byceps/blueprints/admin_dashboard/static/style/admin_dashboard.css | CSS |
<|file_sep|>java/client/src/org/openqa/selenium/lift/TestContext.java.diff
original:
public abstract void goTo(String url);
updated:
void goTo(String url);
<|file_sep|>java/client/src/org/openqa/selenium/lift/TestContext.java.diff
original:
public abstract void assertPresenceOf(Finder<WebElement, WebDriver> finder)... | * @author rchatley (Robert Chatley)
*
*/
public interface TestContext {
void goTo(String url);
void assertPresenceOf(Finder<WebElement, WebDriver> finder);
void assertPresenceOf(Matcher<Integer> cardinalityConstraint,
Finder<WebElement, WebDriver> finder);
void type(String input, Finder<WebElement,... | <|file_sep|>java/client/src/org/openqa/selenium/lift/TestContext.java.diff
original:
public abstract void goTo(String url);
updated:
void goTo(String url);
<|file_sep|>java/client/src/org/openqa/selenium/lift/TestContext.java.diff
original:
public abstract void assertPresenceOf(Finder<WebElement, WebDriver> finder)... | 87e257e37f1e5625d878bbcbb78ed25741c86209 | java/client/src/org/openqa/selenium/lift/TestContext.java | java/client/src/org/openqa/selenium/lift/TestContext.java | Java |
<|file_sep|>original/user_map/tests/urls.py
from django.conf.urls import patterns, include, url
urlpatterns = patterns(
'',
url(r'^user-map/', include('user_map.urls', namespace='user_map'))
)
<|file_sep|>current/user_map/tests/urls.py
from django.conf.urls import patterns, include, url
urlpatterns = patterns... | from django.conf.urls import patterns, include, url
urlpatterns = patterns(
'',
url(r'^user-map/', include('user_map.urls', namespace='user_map')),
url(r'^login/$',
'django.contrib.auth.views.login',
{'template_name': 'admin/login.html'},
name='my_login',
),
) | <|file_sep|>original/user_map/tests/urls.py
from django.conf.urls import patterns, include, url
urlpatterns = patterns(
'',
url(r'^user-map/', include('user_map.urls', namespace='user_map'))
)
<|file_sep|>current/user_map/tests/urls.py
from django.conf.urls import patterns, include, url
urlpatterns = patterns... | 1599bc03b0a1cd202836479fba2406457a17f118 | user_map/tests/urls.py | user_map/tests/urls.py | Python |
<|file_sep|>original/process-lines.py
<|file_sep|>current/process-lines.py
<|file_sep|>updated/process-lines.py | #!/usr/bin/env python
# coding: utf-8
import re
import envoy
def parse_state(line):
match = re.search('\[(?P<state>[^\]]+?)\] at time', line)
if match:
return match.group('state')
def parse_time(line):
time = line.rsplit(' ', 1)[-1]
time = map(float, time.split(':'))
return time[0] * 60 ... | <|file_sep|>original/process-lines.py
<|file_sep|>current/process-lines.py
<|file_sep|>updated/process-lines.py
#!/usr/bin/env python
# coding: utf-8
import re
import envoy
def parse_state(line):
match = re.search('\[(?P<state>[^\]]+?)\] at time', line)
if match:
return match.group('state')
def pa... | acda62ab8af2499c04ff15012039cb5fb5fa8968 | process-lines.py | process-lines.py | Python |
<|file_sep|>original/.github/workflows/deploy-snapshot.yml
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/native
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ ... | with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/native
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Get project version
... | <|file_sep|>original/.github/workflows/deploy-snapshot.yml
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/native
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ ... | 49532abcdaac61652af7e6a5bdcbde1698e0d47b | .github/workflows/deploy-snapshot.yml | .github/workflows/deploy-snapshot.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "tightenco/ziggy",
"description": "Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.",
"require": {
"laravel/framework": "~5.4"
},
"license": "MIT",
"authors": [... | {
"name": "tightenco/ziggy",
"description": "Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.",
"require": {
"laravel/framework": "~5.4|^6.0"
},
"license": "MIT",
"authors": [
{
"name":... | <|file_sep|>original/composer.json
{
"name": "tightenco/ziggy",
"description": "Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.",
"require": {
"laravel/framework": "~5.4"
},
"license": "MIT",
"authors": [... | 6a2e03784b0cec84f7ded0780ea4db976d48087e | composer.json | composer.json | JSON |
<|file_sep|>web/app/lib/creation.js.diff
original:
Q.nfcall(fs.readFile, '/web/web/assets/cloud-config.tmpl.yml', 'utf-8'),
updated:
Q.nfcall(fs.readFile, '/web/app/assets/cloud-config.tmpl.yml', 'utf-8'),
<|file_sep|>original/web/app/lib/creation.js
.fail(function () {
return childPro... | })
.then(function () {
return Q.all([
Q.nfcall(fs.readFile, '/web/app/assets/cloud-config.tmpl.yml', 'utf-8'),
Q.nfcall(fs.readFile, '/root/.ssh/id_rsa.pub', 'utf-8'),
]);
})
.then(function (result) {
var template = result[0];
var sshKey = resu... | <|file_sep|>web/app/lib/creation.js.diff
original:
Q.nfcall(fs.readFile, '/web/web/assets/cloud-config.tmpl.yml', 'utf-8'),
updated:
Q.nfcall(fs.readFile, '/web/app/assets/cloud-config.tmpl.yml', 'utf-8'),
<|file_sep|>original/web/app/lib/creation.js
.fail(function () {
return childPro... | 436331a80df022af3413e2139791c15bc5eb73c0 | web/app/lib/creation.js | web/app/lib/creation.js | JavaScript |
<|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
Sphinx==1.4.8
cryptography==1.5.2
PyYAML==3.12
pytest==3.0.3
<|file_sep|>current/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox... | pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
Sphinx==1.5.1
cryptography==1.5.2
PyYAML==3.12
pytest==3.0.3 | <|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
Sphinx==1.4.8
cryptography==1.5.2
PyYAML==3.12
pytest==3.0.3
<|file_sep|>current/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox... | 82282ad0297b12a4afb1fc6f36808c1fe459bd55 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/package.json
{
"name": "cross-spawn",
"version": "2.1.4",
"description": "Cross platform child_process#spawn and child_process#spawnSync",
"main": "index.js",
"scripts": {
"test": "node test/prepare && mocha --bail -R spec test/test"
},
"bugs": {
"url": "https://github.com/Ind... | {
"name": "cross-spawn",
"version": "2.1.4",
"description": "Cross platform child_process#spawn and child_process#spawnSync",
"main": "index.js",
"scripts": {
"test": "node test/prepare && mocha --bail test/test"
},
"bugs": {
"url": "https://github.com/IndigoUnited/node-cross-spawn/issues/"
},
... | <|file_sep|>original/package.json
{
"name": "cross-spawn",
"version": "2.1.4",
"description": "Cross platform child_process#spawn and child_process#spawnSync",
"main": "index.js",
"scripts": {
"test": "node test/prepare && mocha --bail -R spec test/test"
},
"bugs": {
"url": "https://github.com/Ind... | bcf1770aa8baba63980eaa54c71ba434b6d8bd07 | package.json | package.json | JSON |
<|file_sep|>original/app/javascript/flavours/glitch/containers/poll_container.js
import { connect } from 'react-redux';
import Poll from 'mastodon/components/poll';
const mapStateToProps = (state, { pollId }) => ({
poll: state.getIn(['polls', pollId]),
});
export default connect(mapStateToProps)(Poll);
<|file_sep|>... | import { connect } from 'react-redux';
import Poll from 'flavours/glitch/components/poll';
const mapStateToProps = (state, { pollId }) => ({
poll: state.getIn(['polls', pollId]),
});
export default connect(mapStateToProps)(Poll); | <|file_sep|>original/app/javascript/flavours/glitch/containers/poll_container.js
import { connect } from 'react-redux';
import Poll from 'mastodon/components/poll';
const mapStateToProps = (state, { pollId }) => ({
poll: state.getIn(['polls', pollId]),
});
export default connect(mapStateToProps)(Poll);
<|file_sep|>... | 2cd7bfac239561ab7ad119d558a6508e66e4ad22 | app/javascript/flavours/glitch/containers/poll_container.js | app/javascript/flavours/glitch/containers/poll_container.js | JavaScript |
<|file_sep|>original/binstar_client/tests/test_copy.py
<|file_sep|>current/binstar_client/tests/test_copy.py
<|file_sep|>updated/binstar_client/tests/test_copy.py | from __future__ import unicode_literals
# Standard library imports
import json
import unittest
# Local imports
from binstar_client.scripts.cli import main
from binstar_client.tests.fixture import CLITestCase
from binstar_client.tests.urlmock import urlpatch
class Test(CLITestCase):
@urlpatch
def test_copy_lab... | <|file_sep|>original/binstar_client/tests/test_copy.py
<|file_sep|>current/binstar_client/tests/test_copy.py
<|file_sep|>updated/binstar_client/tests/test_copy.py
from __future__ import unicode_literals
# Standard library imports
import json
import unittest
# Local imports
from binstar_client.scripts.cli import main... | 92f14f351c3674531c011923443f8b3b528543d9 | binstar_client/tests/test_copy.py | binstar_client/tests/test_copy.py | Python |
<|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '3.2'
- '3.3'
- '3.4'
install:
- pip install -r requirements.txt
- pip install coveralls
script: python setup.py test
after_success: coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- '2.7'
- '3.2'
- '3.3'
- '3.4'
install:
- pip insta... | language: python
python:
- '2.7'
- '3.2'
- '3.3'
install:
- pip install -r requirements.txt
- pip install coveralls
script: python setup.py test
after_success: coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- '2.7'
- '3.2'
- '3.3'
- '3.4'
install:
- pip install -r requirements.txt
- pip install coveralls
script: python setup.py test
after_success: coveralls
<|file_sep|>current/.travis.yml
language: python
python:
- '2.7'
- '3.2'
- '3.3'
- '3.4'
install:
- pip insta... | e7c7e5b1c91e875d0fdc113beefcd77e81b94002 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/system/db/Result.php
<?php
namespace DB;
class Result
{
private $sql;
private $data;
public function __construct($sql, $data)
{
$this->sql = $sql;
$this->data = $data;
}
}
?>
<|file_sep|>current/system/db/Result.php
... | <?php
namespace DB;
class Result
{
private $sql;
private $data;
public function __construct($sql, $data)
{
$this->sql = $sql;
$this->data = $data;
}
public function syntax()
{
return $this->sql;
}
}
?... | <|file_sep|>original/system/db/Result.php
<?php
namespace DB;
class Result
{
private $sql;
private $data;
public function __construct($sql, $data)
{
$this->sql = $sql;
$this->data = $data;
}
}
?>
<|file_sep|>current/system/db/Result.php
... | b7829d40749c2dba21e9f989b93367dd8a4f5a07 | system/db/Result.php | system/db/Result.php | PHP |
<|file_sep|>transactions_not_entry_line/models/account_invoice.py.diff
original:
updated:
<|file_sep|>original/transactions_not_entry_line/models/account_invoice.py
# © <YEAR(S)> <AUTHOR(S)>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import api, _, models
from openerp.exception... | from openerp import api, _, models
from openerp.exceptions import UserError
class AccountInvoice(models.Model):
_inherit = 'account.invoice'
@api.multi
def action_move_create(self):
for inv in self:
for line in inv.invoice_line_ids:
if line.product_id.id in (975887, 9... | <|file_sep|>transactions_not_entry_line/models/account_invoice.py.diff
original:
updated:
<|file_sep|>original/transactions_not_entry_line/models/account_invoice.py
# © <YEAR(S)> <AUTHOR(S)>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import api, _, models
from openerp.exception... | 7a1b6d1999682ef114f81143a99d0f4d8e1f4af2 | transactions_not_entry_line/models/account_invoice.py | transactions_not_entry_line/models/account_invoice.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.