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/src/ServerSocket.php
<?php
namespace Amp\Socket;
use Amp\ByteStream\ClosedException;
use Amp\Failure;
use Amp\Promise;
class ServerSocket extends Socket {
/** @inheritdoc */
public function enableCrypto(): Promise {
if (($resource = $this->getResource()) === null) {
r... | use Amp\Failure;
use Amp\Promise;
class ServerSocket extends Socket {
/** @inheritdoc */
public function enableCrypto(): Promise {
if (($resource = $this->getResource()) === null) {
return new Failure(new ClosedException("The socket has been closed"));
}
$ctx = \stream_cont... | <|file_sep|>original/src/ServerSocket.php
<?php
namespace Amp\Socket;
use Amp\ByteStream\ClosedException;
use Amp\Failure;
use Amp\Promise;
class ServerSocket extends Socket {
/** @inheritdoc */
public function enableCrypto(): Promise {
if (($resource = $this->getResource()) === null) {
r... | 0d1c83b3f5bc4022da8c372f82dbb8985d7ec750 | src/ServerSocket.php | src/ServerSocket.php | PHP |
<|file_sep|>original/spec/requests/feeds_controller_spec.rb
require 'spec_helper'
describe FeedsController, :type => :request do
include HTMLCompareHelper
fixtures :all
describe '#mp-info' do
it { compare_static '/feeds/mp-info.xml' }
it { compare_static '/feeds/mp-info.xml?house=lords' }
end
descr... | require 'spec_helper'
describe FeedsController, :type => :request do
include HTMLCompareHelper
fixtures :all
describe '#mp-info' do
it { compare_static '/feeds/mp-info.xml' }
it { compare_static '/feeds/mp-info.xml?house=lords' }
end
describe '#mpdream-info' do
it { compare_static '/feeds/mpdre... | <|file_sep|>original/spec/requests/feeds_controller_spec.rb
require 'spec_helper'
describe FeedsController, :type => :request do
include HTMLCompareHelper
fixtures :all
describe '#mp-info' do
it { compare_static '/feeds/mp-info.xml' }
it { compare_static '/feeds/mp-info.xml?house=lords' }
end
descr... | 7523bd1f2af4deab8c84770cf7e36aff021e4f3c | spec/requests/feeds_controller_spec.rb | spec/requests/feeds_controller_spec.rb | Ruby |
<|file_sep|>original/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.java
<|file_sep|>current/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.java
<|file_sep|>updated/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.j... | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | <|file_sep|>original/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.java
<|file_sep|>current/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.java
<|file_sep|>updated/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.j... | 2106e5f328971fcdd2c4de2c40a0263391b64187 | library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.java | library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/package-info.java | Java |
<|file_sep|>original/src/voglcore/vogl_warnings.h
<|file_sep|>current/src/voglcore/vogl_warnings.h
<|file_sep|>updated/src/voglcore/vogl_warnings.h | /**************************************************************************
*
* Copyright 2013-2014 RAD Game Tools and Valve Software
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... | <|file_sep|>original/src/voglcore/vogl_warnings.h
<|file_sep|>current/src/voglcore/vogl_warnings.h
<|file_sep|>updated/src/voglcore/vogl_warnings.h
/**************************************************************************
*
* Copyright 2013-2014 RAD Game Tools and Valve Software
* All Rights Reserved.
*
* Perm... | 62f40124d763af49bf9ef8f03ba23db2818b771f | src/voglcore/vogl_warnings.h | src/voglcore/vogl_warnings.h | C |
<|file_sep|>original/lib/solusvm/general.rb
<|file_sep|>current/lib/solusvm/general.rb
<|file_sep|>updated/lib/solusvm/general.rb | module Solusvm
class General < Base
def nodes(type)
type.strip!
validate_server_type!(type)
perform_request(:action => 'listnodes', :type => type)
returned_paramaters['nodes']
end
def templates(type)
validate_server_type!(type)
perform_request(:action => 'listtemplates... | <|file_sep|>original/lib/solusvm/general.rb
<|file_sep|>current/lib/solusvm/general.rb
<|file_sep|>updated/lib/solusvm/general.rb
module Solusvm
class General < Base
def nodes(type)
type.strip!
validate_server_type!(type)
perform_request(:action => 'listnodes', :type => type)
returned_pa... | b0f896d1047275427e71f4033a5bb1da37e77a26 | lib/solusvm/general.rb | lib/solusvm/general.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
dist: precise
updated:
dist: trusty
<|file_sep|>original/.travis.yml
language: cpp
sudo: enabled
dist: precise
before_install:
- pip3 install numpy simpleeval
- chmod +x install-dependencies.sh
- sudo ./install-dependencies.sh
- eval "${MATRIX_EVAL}"
install:
- cmake .
... | language: cpp
sudo: enabled
dist: trusty
before_install:
- pip3 install numpy simpleeval
- chmod +x install-dependencies.sh
- sudo ./install-dependencies.sh
- eval "${MATRIX_EVAL}"
- cmake --version
install:
- cmake .
- make
- make -f make-assets
- chmod +x test
- ./test
addons:
apt:
sources:
... | <|file_sep|>.travis.yml.diff
original:
dist: precise
updated:
dist: trusty
<|file_sep|>original/.travis.yml
language: cpp
sudo: enabled
dist: precise
before_install:
- pip3 install numpy simpleeval
- chmod +x install-dependencies.sh
- sudo ./install-dependencies.sh
- eval "${MATRIX_EVAL}"
install:
- cmake .
... | c4d494749c13a4cda2c1a5a2316b9deae232242f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/atom.xml
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[{{ site.name }}]]></title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
... | ---
layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[{{ site.name }}]]></title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}/</id>
... | <|file_sep|>original/atom.xml
---
layout: nil
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[{{ site.name }}]]></title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
... | 35eb131fe05286af7d8e0d2fcfb3d4d5614a7fa3 | atom.xml | atom.xml | XML |
<|file_sep|>original/Cargo.toml
repository = "https://github.com/tomjakubowski/json_macros"
description = """
Convenience macros for constructing JSON objects from literals.
"""
keywords = ["json", "macros", "plugins"]
[lib]
name = "json_macros"
path = "src/macro.rs"
plugin = true
[[test]]
name = "tests"
[dependenc... | description = """
Convenience macros for constructing JSON objects from literals.
"""
keywords = ["json", "macros", "plugins"]
[lib]
name = "json_macros"
path = "src/macro.rs"
plugin = true
[[test]]
name = "tests"
[dependencies]
rustc-serialize = "*"
log = "*"
[[example]]
name = "kitchen-sink"
path = "examples/kit... | <|file_sep|>original/Cargo.toml
repository = "https://github.com/tomjakubowski/json_macros"
description = """
Convenience macros for constructing JSON objects from literals.
"""
keywords = ["json", "macros", "plugins"]
[lib]
name = "json_macros"
path = "src/macro.rs"
plugin = true
[[test]]
name = "tests"
[dependenc... | ed9ef4689a2b51112a20836ac52423fe2d1c4b42 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/examples/tools.go
// +build tools
package hotstuff
import (
_ "github.com/relab/gorums"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
)
<|file_sep|>current/examples/tools.go
// +build tools
package hotstuff
import (
_ "github.com/relab/gorums"
_ "google.golang.org/protobuf/cmd/protoc-gen... | // +build tools
package examples
import (
_ "github.com/relab/gorums"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
) | <|file_sep|>original/examples/tools.go
// +build tools
package hotstuff
import (
_ "github.com/relab/gorums"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
)
<|file_sep|>current/examples/tools.go
// +build tools
package hotstuff
import (
_ "github.com/relab/gorums"
_ "google.golang.org/protobuf/cmd/protoc-gen... | 0574f5899feac372b447b8218beffe7c91f55ed1 | examples/tools.go | examples/tools.go | Go |
<|file_sep|>packages/fu/fuzzy-time.yaml.diff
original:
hash: 769fc273e9c4be85c2bb1315e6e09326789a9873f83dc354c1eed888b7f1b27a
updated:
hash: 69f21ceb71577f67dc994dd7f48234f16376858991a98b75593da310180a9e75
<|file_sep|>packages/fu/fuzzy-time.yaml.diff
original:
updated:
## [0.2.0.3] - 2022-09-25
### Changed
* ... | basic-deps:
base: '>=4.9 && <=5'
time: '>=1.9'
text: -any
megaparsec: -any
containers: -any
validity-time: '>=0.5'
validity: -any
deepseq: -any
all-versions:
- 0.0.0.0
- 0.1.0.0
- 0.2.0.0
- 0.2.0.1
- 0.2.0.2
- 0.2.0.3
author: Tom Sydney Kerckhove
latest: 0.2.0.3
description-type: haddock
description: Fu... | <|file_sep|>packages/fu/fuzzy-time.yaml.diff
original:
hash: 769fc273e9c4be85c2bb1315e6e09326789a9873f83dc354c1eed888b7f1b27a
updated:
hash: 69f21ceb71577f67dc994dd7f48234f16376858991a98b75593da310180a9e75
<|file_sep|>packages/fu/fuzzy-time.yaml.diff
original:
updated:
## [0.2.0.3] - 2022-09-25
### Changed
* ... | 0d39b171e1de8611de0ace65dd5764fdd4cd3030 | packages/fu/fuzzy-time.yaml | packages/fu/fuzzy-time.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
- node
updated:
- 5
- 6
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4
- node
after_success:
- if [[ $(node --version) == v4* ]]; then npm run test:coveralls; fi
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 4
- 5
- 6
after_success... | language: node_js
node_js:
- 4
- 5
- 6
after_success:
- if [[ $(node --version) == v6* ]]; then npm run test:coveralls; fi | <|file_sep|>.travis.yml.diff
original:
- node
updated:
- 5
- 6
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4
- node
after_success:
- if [[ $(node --version) == v4* ]]; then npm run test:coveralls; fi
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 4
- 5
- 6
after_success... | f5600de32fcabac7bc5027b2fdf233ec5f3d980d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/main.yml
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install samtools
run: sudo apt-get install -y samtools
- name: Compile and test Bedtools
run: make -j8 && make test
- name: Compil... | name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install samtools
run: sudo apt-get install -y samtools
- name: Compile and test Bedtools
run: make -j8 && make test
- name: Compile static binary
run: make -... | <|file_sep|>original/.github/workflows/main.yml
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install samtools
run: sudo apt-get install -y samtools
- name: Compile and test Bedtools
run: make -j8 && make test
- name: Compil... | 47a35a1ed945de3db5fdb434f24600bc713ddc54 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/metadata/com.github.notizklotz.derbunddownloader.txt
.
Repo Type:git
Repo:https://github.com/notizklotz/derbund-downloader
Build:1.1.1,11
commit=v1.1.1
subdir=app
gradle=yes
prebuild=sed -i -e 's/v4:21.0.2/v4:21.0.+/g' build.gradle ../build.gradle
Build:2.0,14
commit=v2.0
... | .
Repo Type:git
Repo:https://github.com/notizklotz/derbund-downloader
Build:1.1.1,11
commit=v1.1.1
subdir=app
gradle=yes
prebuild=sed -i -e 's/v4:21.0.2/v4:21.0.+/g' build.gradle ../build.gradle
Build:2.0,14
commit=v2.0
subdir=app
gradle=yes
Auto Update Mode:None
Update Check Mode:Tags
C... | <|file_sep|>original/metadata/com.github.notizklotz.derbunddownloader.txt
.
Repo Type:git
Repo:https://github.com/notizklotz/derbund-downloader
Build:1.1.1,11
commit=v1.1.1
subdir=app
gradle=yes
prebuild=sed -i -e 's/v4:21.0.2/v4:21.0.+/g' build.gradle ../build.gradle
Build:2.0,14
commit=v2.0
... | 1dab1e184d1ef7d13b267e0303852a4300c73fd0 | metadata/com.github.notizklotz.derbunddownloader.txt | metadata/com.github.notizklotz.derbunddownloader.txt | Text |
<|file_sep|>src/main/kotlin/venus/riscv/utils.kt.diff
original:
val radix = when (s.take(2)) {
"0x" -> 16
"0b" -> 2
updated:
val radix = when {
s.startsWith("0x") -> 16
s.startsWith("0b") -> 2
s.drop(1).startsWith("0x") -> 16
s.drop(1).startsWith("0b") -> 2
<|fil... | return characterLiteralToInt(s)
}
val radix = when {
s.startsWith("0x") -> 16
s.startsWith("0b") -> 2
s.drop(1).startsWith("0x") -> 16
s.drop(1).startsWith("0b") -> 2
else -> return s.toLong().toInt()
}
val skipSign = when (s.first()) {
'+', '-' ... | <|file_sep|>src/main/kotlin/venus/riscv/utils.kt.diff
original:
val radix = when (s.take(2)) {
"0x" -> 16
"0b" -> 2
updated:
val radix = when {
s.startsWith("0x") -> 16
s.startsWith("0b") -> 2
s.drop(1).startsWith("0x") -> 16
s.drop(1).startsWith("0b") -> 2
<|fil... | 58ff631144f1c7d73a1e752e367d842453d34f0f | src/main/kotlin/venus/riscv/utils.kt | src/main/kotlin/venus/riscv/utils.kt | Kotlin |
<|file_sep|>cloudbuild.yaml.diff
original:
options:
env:
- "TERRAFORM_ENVIRONMENT_PATH=environments/prod"
updated:
<|file_sep|>cloudbuild.yaml.diff
original:
cd "${TERRAFORM_ENVIRONMENT_PATH}"
updated:
cd $_TERRAFORM_ENVIRONMENT_PATH
<|file_sep|>cloudbuild.yaml.diff
original:
cd "${... | cd $_TERRAFORM_ENVIRONMENT_PATH
terraform plan || exit 1
cd ../../
- id: 'tf apply'
name: 'hashicorp/terraform:0.12.20'
entrypoint: 'sh'
args:
- '-c'
- |
if [ -d "${BRANCH_NAME}" = "master" ]; then
cd $_TERRAFORM_ENVIRONMENT_PATH
... | <|file_sep|>cloudbuild.yaml.diff
original:
options:
env:
- "TERRAFORM_ENVIRONMENT_PATH=environments/prod"
updated:
<|file_sep|>cloudbuild.yaml.diff
original:
cd "${TERRAFORM_ENVIRONMENT_PATH}"
updated:
cd $_TERRAFORM_ENVIRONMENT_PATH
<|file_sep|>cloudbuild.yaml.diff
original:
cd "${... | bfb278545705e68eb49afd3fd0124446246d3d9e | cloudbuild.yaml | cloudbuild.yaml | YAML |
<|file_sep|>docs/module_utilities.rst.diff
original:
updated:
The **Utilities** module contains several utility functions that help computation of several common linear algebra and
geometry operations.
Although most of the functions are designed for internal usage, the users can still use some of the functions for t... | geometry operations.
Although most of the functions are designed for internal usage, the users can still use some of the functions for their
advantage, especially the point and vector manipulation and generation functions. Functions related to point
manipulation have ``point_`` prefix and the ones related to vectors h... | <|file_sep|>docs/module_utilities.rst.diff
original:
updated:
The **Utilities** module contains several utility functions that help computation of several common linear algebra and
geometry operations.
Although most of the functions are designed for internal usage, the users can still use some of the functions for t... | da2292fff3fc5a3c76bfc979cbc9559993bb41f7 | docs/module_utilities.rst | docs/module_utilities.rst | reStructuredText |
<|file_sep|>original/modules/rooms/server/models/room.server.model.js
default: false
},
map: {
type: Schema.Types.Mixed,
default: null
},
configurations: {
type: [new Schema({
name: {
type: String,
unique: true
},
nbseries: {
type: Number,
defaul... | default: false
},
map: {
type: Schema.Types.Mixed,
default: null
},
configurations: {
type: [new Schema({
name: {
type: String,
default: 'Default configuration'
},
nbseries: {
type: Number,
default: 1
},
seats: {
type: [new Sc... | <|file_sep|>original/modules/rooms/server/models/room.server.model.js
default: false
},
map: {
type: Schema.Types.Mixed,
default: null
},
configurations: {
type: [new Schema({
name: {
type: String,
unique: true
},
nbseries: {
type: Number,
defaul... | 52a9e993ac077f4d0165980213ccfd7f4ba7d880 | modules/rooms/server/models/room.server.model.js | modules/rooms/server/models/room.server.model.js | JavaScript |
<|file_sep|>original/README.md
<a name="README">[Robolectric](http://pivotal.github.com/robolectric/index.html)</a>
=======
**An Android Testing Framework**
Robolectric can be built using either Maven or Ant. Both Eclipse (with the Maven plug-in) and
IntelliJ can import the pom.xml file and will automatically generat... | <a name="README">[Robolectric](http://pivotal.github.com/robolectric/index.html)</a>
=======
**An Android Testing Framework**
Robolectric can be built using either Maven or Ant. Both Eclipse (with the M2Eclipse plug-in) and
IntelliJ can import the pom.xml file and will automatically generate their project files from ... | <|file_sep|>original/README.md
<a name="README">[Robolectric](http://pivotal.github.com/robolectric/index.html)</a>
=======
**An Android Testing Framework**
Robolectric can be built using either Maven or Ant. Both Eclipse (with the Maven plug-in) and
IntelliJ can import the pom.xml file and will automatically generat... | 81c5c5ae2b51b1029be909bfba0299f3e3ec15d2 | README.md | README.md | Markdown |
<|file_sep|>original/vagrant_base/phpbuild/templates/default/default_configure_options.erb
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--enable-cgi
--with-curl=/usr
--with-tidy
--with-xmlrpc
--enable-sysvsem
--enable-sysvshm
--enable-shmop
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd... | --enable-xmlreader
--with-xsl
--enable-ftp
--enable-cgi
--with-curl=/usr
--with-tidy
--with-xmlrpc
--enable-sysvsem
--enable-sysvshm
--enable-shmop
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
--enable-pcntl
--with-readline
--enable-mbstring
--with-curl
--with-pdo-pgsql
--enable-intl
--with-gette... | <|file_sep|>original/vagrant_base/phpbuild/templates/default/default_configure_options.erb
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--enable-cgi
--with-curl=/usr
--with-tidy
--with-xmlrpc
--enable-sysvsem
--enable-sysvshm
--enable-shmop
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd... | 7dfae277651dc51b3c6b75aba1095d9ff0799404 | vagrant_base/phpbuild/templates/default/default_configure_options.erb | vagrant_base/phpbuild/templates/default/default_configure_options.erb | HTML+ERB |
<|file_sep|>original/README.md
HN for iOS
==========
This is a simple Flask app that scrapes Hacker News every 15 minutes and
presents the data in an iOS friendly way.

, method: :get %>
<%= @spot.address %><br>
<%= @spot.phone %><br>
<% if @spot.website %>
<%= @spot.website %><br>
<% end %>
<%#= show_price(@spot.price) %><br>
<%= show_photo(@spot.photo) if @spot.photo %>
<%= button_to "Leave Comment", new_spot_comment_path(@spot), method:... | <|file_sep|>app/views/spots/show.html.erb.diff
original:
updated:
<%= form_for [@spot, Comment.new] do |f| %>
<%= f.text_area :body, :placeholder => "How is this spot?" %><br>
<%= f.submit %>
<% end %>
<|file_sep|>original/app/views/spots/show.html.erb
<%= link_to 'Back', spots_path %><br>
<h1><%= @spot.name %>... | c6a994ffd81e11a1c4048049044bc56fa535dd2f | app/views/spots/show.html.erb | app/views/spots/show.html.erb | HTML+ERB |
<|file_sep|>original/services/git-bridge/start.sh
#!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json
exec java -Xms512m -Xmx3072m -jar /git-bridge.jar /conf/runtime.json
<|file_sep|>current/services/git-bridge/start.sh
#!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json
exec j... | #!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json
exec java -XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0 -jar /git-bridge.jar /conf/runtime.json | <|file_sep|>original/services/git-bridge/start.sh
#!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json
exec java -Xms512m -Xmx3072m -jar /git-bridge.jar /conf/runtime.json
<|file_sep|>current/services/git-bridge/start.sh
#!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json
exec j... | ed3507977bae62f84b46b8eaf95f37faa68b36ec | services/git-bridge/start.sh | services/git-bridge/start.sh | Shell |
<|file_sep|>lib/p1_meter_reader/data_parsing/stream_splitter.rb.diff
original:
require 'serialport'
updated:
<|file_sep|>lib/p1_meter_reader/data_parsing/stream_splitter.rb.diff
original:
def initialize(message_start, input: serial_port)
updated:
def initialize(message_start, input:)
<|file_sep|>original/... | @stream = input.each_line
end
def read
while (@stream.peek).strip != @message_start
@stream.next
end
result = ""
loop do
line = @stream.next
result << line
return result if line.strip.start_with?("!")
end
end
... | <|file_sep|>lib/p1_meter_reader/data_parsing/stream_splitter.rb.diff
original:
require 'serialport'
updated:
<|file_sep|>lib/p1_meter_reader/data_parsing/stream_splitter.rb.diff
original:
def initialize(message_start, input: serial_port)
updated:
def initialize(message_start, input:)
<|file_sep|>original/... | ea4d08606ba2a5f2ab0bd22a11bd1e92f3a3f025 | lib/p1_meter_reader/data_parsing/stream_splitter.rb | lib/p1_meter_reader/data_parsing/stream_splitter.rb | Ruby |
<|file_sep|>original/app/views/member_sessions/new.html.haml
%h3
Login
%div
= form_tag(member_session_path, :class => 'login') do
%p
= label_tag(:email)
= text_field_tag(:email)
%p
= label_tag(:password)
= password_field_tag(:password)
%p
= submit_tag "login", :id => 'submi... | %h3
Login
%div
- form_tag(member_session_path, :class => 'login') do
%p
= label_tag(:email)
= text_field_tag(:email)
%p
= label_tag(:password)
= password_field_tag(:password)
%p
= submit_tag "login", :id => 'submit'
%p
= link_to 'forgotten password', :controller =... | <|file_sep|>original/app/views/member_sessions/new.html.haml
%h3
Login
%div
= form_tag(member_session_path, :class => 'login') do
%p
= label_tag(:email)
= text_field_tag(:email)
%p
= label_tag(:password)
= password_field_tag(:password)
%p
= submit_tag "login", :id => 'submi... | fd8d1c1dfb481205380f363ac2dfc4e698285d41 | app/views/member_sessions/new.html.haml | app/views/member_sessions/new.html.haml | Haml |
<|file_sep|>original/src/mist/io/static/css/key_add.css
#key-add-upload {
display: none;
}
#key-add-popup .key-add-loader {
display: inline;
float: right;
}
#key-add-popup-screen {
height: 100%;
position: fixed;
top: 0;
}
#key-add-popup .generate-upload a {
width: 69px !important;
ov... |
#key-add-upload {
display: none;
}
#key-add-popup .key-add-loader {
display: inline;
float: right;
}
#key-add-screen {
height: 100%;
position: fixed;
top: 0;
}
#key-add-popup .generate-upload a {
width: 69px !important;
overflow: visible;
}
| <|file_sep|>original/src/mist/io/static/css/key_add.css
#key-add-upload {
display: none;
}
#key-add-popup .key-add-loader {
display: inline;
float: right;
}
#key-add-popup-screen {
height: 100%;
position: fixed;
top: 0;
}
#key-add-popup .generate-upload a {
width: 69px !important;
ov... | ac373b9c1892d1c46bd33a34523d5e8c6ac1b02b | src/mist/io/static/css/key_add.css | src/mist/io/static/css/key_add.css | CSS |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- '7.0'
- '7.1'
install: composer install
after_success:
- vendor/bin/test-reporter
addons:
code_climate:
repo_token: $CODECLIMATE_TOKEN
<|file_sep|>current/.travis.yml
language: php
php:
- '7.0'
- '7... | language: php
php:
- '7.0'
- '7.1'
install: composer install
script: vendor/bin/phpunit
after_success:
- vendor/bin/test-reporter
addons:
code_climate:
repo_token: $CODECLIMATE_TOKEN | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- '7.0'
- '7.1'
install: composer install
after_success:
- vendor/bin/test-reporter
addons:
code_climate:
repo_token: $CODECLIMATE_TOKEN
<|file_sep|>current/.travis.yml
language: php
php:
- '7.0'
- '7... | 6fc21ce1f380b1dd830c8dd63924a9d10ed01186 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/views/shared/_featured_news.html.erb.diff
original:
extra_class << " item-#{edition_counter}" if defined?(edition_counter)
updated:
extra_classes =
if defined?(edition_counter)
extra_class + " item-#{edition_counter}"
else
extra_class
end
<|file_sep|>original/app/views/shared... | extra_class ||= ""
extra_classes =
if defined?(edition_counter)
extra_class + " item-#{edition_counter}"
else
extra_class
end
image_size ||= :s300
show_meta ||= false
%>
<%= content_tag_for(:article, edition, nil, class: "#{edition_organisation_class(edition)} #{extra_classes.strip}") do... | <|file_sep|>app/views/shared/_featured_news.html.erb.diff
original:
extra_class << " item-#{edition_counter}" if defined?(edition_counter)
updated:
extra_classes =
if defined?(edition_counter)
extra_class + " item-#{edition_counter}"
else
extra_class
end
<|file_sep|>original/app/views/shared... | 6f85ad4ca83a92605f5638ce91dcae6eb6b63f18 | app/views/shared/_featured_news.html.erb | app/views/shared/_featured_news.html.erb | HTML+ERB |
<|file_sep|>original/test/features/legg_til_materialtype.feature
<|file_sep|>current/test/features/legg_til_materialtype.feature
<|file_sep|>updated/test/features/legg_til_materialtype.feature | # encoding: UTF-8
# language: no
@wip
Egenskap: Legge til materialtype
Som katalogisator
For å registrere en ny bok
Trenger jeg en materialtype for bøker
Scenario: Legge til materialtype via webgrensesnitt
Gitt at jeg er pålogget som adminbruker
Når jeg legger til en materialtype "Bok" med kode "L"
... | <|file_sep|>original/test/features/legg_til_materialtype.feature
<|file_sep|>current/test/features/legg_til_materialtype.feature
<|file_sep|>updated/test/features/legg_til_materialtype.feature
# encoding: UTF-8
# language: no
@wip
Egenskap: Legge til materialtype
Som katalogisator
For å registrere en ny bok
Tr... | e15353e681714cc55313bd9001fffaaae54254a7 | test/features/legg_til_materialtype.feature | test/features/legg_til_materialtype.feature | Cucumber |
<|file_sep|>original/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon==3.0.1
djangorestframework==3.9.3
pytz==2019.1
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon... | -r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.4
django-environ==0.4.5
radon==3.0.1
djangorestframework==3.9.3
pytz==2019.1
| <|file_sep|>original/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon==3.0.1
djangorestframework==3.9.3
pytz==2019.1
<|file_sep|>current/requirements_dev.txt
-r requirements.txt
django==2.2.1
bumpversion==0.5.3
wheel==0.33.1
django-environ==0.4.5
radon... | 9f5f56dfaa87db102cfb3641745f4fff294029f9 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/tests/EQ/CMakeLists.txt
FILE(GLOB_RECURSE
ATK_EQ_TEST_SRC
*.cpp
)
FILE(GLOB_RECURSE
ATK_EQ_TEST_HEADERS
*.h
)
include_directories(${PROJECT_SOURCE_DIR})
add_executable(ATKEQ_test ${ATK_EQ_TEST_SRC} ${ATK_EQ_TEST_HEADERS})
target_link_libraries (ATKEQ_test ATKEQ ATKTools ATKMock A... |
FILE(GLOB_RECURSE
ATK_EQ_TEST_SRC
*.cpp
)
FILE(GLOB_RECURSE
ATK_EQ_TEST_HEADERS
*.h
)
include_directories(${PROJECT_SOURCE_DIR})
add_executable(ATKEQ_test ${ATK_EQ_TEST_SRC} ${ATK_EQ_TEST_HEADERS})
target_link_libraries (ATKEQ_test ATKEQ ATKTools ATKMock ATKCore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
... | <|file_sep|>original/tests/EQ/CMakeLists.txt
FILE(GLOB_RECURSE
ATK_EQ_TEST_SRC
*.cpp
)
FILE(GLOB_RECURSE
ATK_EQ_TEST_HEADERS
*.h
)
include_directories(${PROJECT_SOURCE_DIR})
add_executable(ATKEQ_test ${ATK_EQ_TEST_SRC} ${ATK_EQ_TEST_HEADERS})
target_link_libraries (ATKEQ_test ATKEQ ATKTools ATKMock A... | 053726c3fc91e314932d8ba83a120a4d63c4db4c | tests/EQ/CMakeLists.txt | tests/EQ/CMakeLists.txt | Text |
<|file_sep|>original/_config.yml
# in the templates via {{ site.myvariable }}.
title: Your awesome title
email: christophe.meyer.pro@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in... | email: christophe.meyer.pro@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: ""... | <|file_sep|>original/_config.yml
# in the templates via {{ site.myvariable }}.
title: Your awesome title
email: christophe.meyer.pro@gmail.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in... | 8da7642fff3d93c7801d47cfd326cd8ae420ab6e | _config.yml | _config.yml | YAML |
<|file_sep|>original/roles/show-odl-info/tasks/ovs_flows.yaml
- name: Print statistics for network devices associated with "{{ item }}"
command: ovs-ofctl --protocols OpenFlow13 dump-ports "{{ item|quote }}"
become: true
- name: Print detailed information about network devices associated with "{{ item }}"
comman... | - name: Print information on "{{ item }}"
command: ovs-ofctl --protocols OpenFlow13 show "{{ item|quote }}"
become: true
- name: Print statistics for network devices associated with "{{ item }}"
command: ovs-ofctl --protocols OpenFlow13 dump-ports "{{ item|quote }}"
become: true
- name: Print detailed informa... | <|file_sep|>original/roles/show-odl-info/tasks/ovs_flows.yaml
- name: Print statistics for network devices associated with "{{ item }}"
command: ovs-ofctl --protocols OpenFlow13 dump-ports "{{ item|quote }}"
become: true
- name: Print detailed information about network devices associated with "{{ item }}"
comman... | d7a1a962fbaf81a9bfc47baa6c69487657c2cf09 | roles/show-odl-info/tasks/ovs_flows.yaml | roles/show-odl-info/tasks/ovs_flows.yaml | YAML |
<|file_sep|>original/package.json
"keywords": [
"babel",
"babel-plugin",
"types",
"typing",
"typecheck",
"type check",
"flow"
],
"author": "Charles Pick <charles@codemix.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/codemix/babel-plugin-typecheck/issues"
},
... | "keywords": [
"babel",
"babel-plugin",
"types",
"typing",
"typecheck",
"type check",
"flow"
],
"author": "Charles Pick <charles@codemix.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/codemix/babel-plugin-typecheck/issues"
},
"homepage": "https://github.com/co... | <|file_sep|>original/package.json
"keywords": [
"babel",
"babel-plugin",
"types",
"typing",
"typecheck",
"type check",
"flow"
],
"author": "Charles Pick <charles@codemix.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/codemix/babel-plugin-typecheck/issues"
},
... | 89e5203cce237f84a4cbc680d6577571f7c90c75 | package.json | package.json | JSON |
<|file_sep|>original/bin/messages/message.js
var message_states = Object.freeze(
{
MESSAGE_FAILED: -1,
MESSAGE_SENT: 1,
MESSAGE_DELIVERED_SERVICE: 2,
MESSAGE_DELIVERED_USER: 3,
MESSAGE_READ: 4,
MESSAGE_REPLIED: 5
}
)
var Message = {
body: null,
servicechain: null
}
module.exports = {me... | var message_states = Object.freeze(
{
MESSAGE_FAILED: -1,
MESSAGE_SENT: 1,
MESSAGE_DELIVERED_SERVICE: 2,
MESSAGE_DELIVERED_USER: 3,
MESSAGE_READ: 4,
MESSAGE_REPLIED: 5
}
)
var Message = {
body: null,
servicechain: null
}
exports.message_states = message_states
exports.Message = Message | <|file_sep|>original/bin/messages/message.js
var message_states = Object.freeze(
{
MESSAGE_FAILED: -1,
MESSAGE_SENT: 1,
MESSAGE_DELIVERED_SERVICE: 2,
MESSAGE_DELIVERED_USER: 3,
MESSAGE_READ: 4,
MESSAGE_REPLIED: 5
}
)
var Message = {
body: null,
servicechain: null
}
module.exports = {me... | b37209745e9a26ac7a8c5870fcfb4445a1630321 | bin/messages/message.js | bin/messages/message.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "storycrm.compile",
"private": true,
"version": "1.0.0",
"description": "PDF rendering microservice for Story CRM",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Untold Story",
"license": "MIT",
"dep... | {
"name": "storycrm.compile",
"version": "0.1.0",
"description": "PDF rendering microservice for Story CRM",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Untold Story",
"license": "MIT",
"dependencies": {
"async": "^0.9.0",
"bunyan": "^... | <|file_sep|>original/package.json
{
"name": "storycrm.compile",
"private": true,
"version": "1.0.0",
"description": "PDF rendering microservice for Story CRM",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Untold Story",
"license": "MIT",
"dep... | 8810190115dc1fa531f468245faf86e39380b199 | package.json | package.json | JSON |
<|file_sep|>src/js/source/view.jsx.diff
original:
updated:
import jQuery from "jquery";
<|file_sep|>original/src/js/source/view.jsx
import SourceCode from "./code.jsx";
let SourceView = React.createClass({
scrollIntoView: function() {
var element = null;
if (element = document.getElementById('l... | import jQuery from "jquery";
import SourceCode from "./code.jsx";
let SourceView = React.createClass({
scrollIntoView: function() {
var element = null;
if (element = document.getElementById('l' + (this.props.start - 5))) {
jQuery("html, body").animate({
scrollTop: jQu... | <|file_sep|>src/js/source/view.jsx.diff
original:
updated:
import jQuery from "jquery";
<|file_sep|>original/src/js/source/view.jsx
import SourceCode from "./code.jsx";
let SourceView = React.createClass({
scrollIntoView: function() {
var element = null;
if (element = document.getElementById('l... | 60ef06f016f5a9cc20eb8f46fe984437132cb739 | src/js/source/view.jsx | src/js/source/view.jsx | JSX |
<|file_sep|>original/include/Social/SLComposeSheetConfigurationItem.h
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN ... | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SO... | <|file_sep|>original/include/Social/SLComposeSheetConfigurationItem.h
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN ... | caf4ad66a4a7fac322753baae0057df99a5971fd | include/Social/SLComposeSheetConfigurationItem.h | include/Social/SLComposeSheetConfigurationItem.h | C |
<|file_sep|>vulkan/src/CMakeLists.txt.diff
original:
ADD_CUSTOM_COMMAND(
TARGET crimild_vulkan
PRE_BUILD
COMMAND sh
ARGS ${CRIMILD_SOURCE_DIR}/vulkan/src/Rendering/Shaders/build_shaders.sh .
updated:
ADD_CUSTOM_TARGET(
crimild_vulkan_shaders
ALL
COMMAND sh ${CRIMILD_SOURCE_DIR}/vulkan/src/Rendering/Shaders... |
SET( CRIMILD_LIBRARY_LINK_LIBRARIES
${CRIMILD_LIBRARY_LINK_LIBRARIES}
${Vulkan_LIBRARIES}
#"-framework Metal"
#"-framework IOSurface"
#"-framework QuartzCore"
)
INCLUDE( ModuleBuildLibrary )
ADD_CUSTOM_TARGET(
crimild_vulkan_shaders
ALL
COMMAND sh ${CRIMILD_SOURCE_DIR}/vulkan/src/Rendering/Shad... | <|file_sep|>vulkan/src/CMakeLists.txt.diff
original:
ADD_CUSTOM_COMMAND(
TARGET crimild_vulkan
PRE_BUILD
COMMAND sh
ARGS ${CRIMILD_SOURCE_DIR}/vulkan/src/Rendering/Shaders/build_shaders.sh .
updated:
ADD_CUSTOM_TARGET(
crimild_vulkan_shaders
ALL
COMMAND sh ${CRIMILD_SOURCE_DIR}/vulkan/src/Rendering/Shaders... | ad0c4f7486b294060a5f49ddcf2953611d1ab060 | vulkan/src/CMakeLists.txt | vulkan/src/CMakeLists.txt | Text |
<|file_sep|>packages/grid/backend/grid/api/users/models.py.diff
original:
updated:
institution: Optional[str]
website: Optional[str]
class ApplicantStatus(BaseModel):
status: str
<|file_sep|>original/packages/grid/backend/grid/api/users/models.py
class User(BaseUser):
id: int
role: Union[int, s... |
class User(BaseUser):
id: int
role: Union[int, str] # TODO: This should be int. Perhaps add role_name instead?
budget_spent: Optional[float]
institution: Optional[str]
website: Optional[str]
added_by: Optional[str]
class UserPrivate(User):
private_key: str
def get_signing_key(self)... | <|file_sep|>packages/grid/backend/grid/api/users/models.py.diff
original:
updated:
institution: Optional[str]
website: Optional[str]
class ApplicantStatus(BaseModel):
status: str
<|file_sep|>original/packages/grid/backend/grid/api/users/models.py
class User(BaseUser):
id: int
role: Union[int, s... | 95e61ccdebc33c1c610d0672558cd00798c3105f | packages/grid/backend/grid/api/users/models.py | packages/grid/backend/grid/api/users/models.py | Python |
<|file_sep|>original/README.md
# php-coverage-checker
php-coverage-checker is a library for automated code coverage percentage checking.
Initial commit is 100% the work of [Ocramius](https://github.com/ocramius): https://ocramius.github.io/blog/automated-code-coverage-check-for-github-pull-requests-with-travis/
## I... | # php-coverage-checker
php-coverage-checker is a library for automated code coverage percentage checking.
Initial commit is 100% the work of [Ocramius](https://github.com/ocramius): https://ocramius.github.io/blog/automated-code-coverage-check-for-github-pull-requests-with-travis/
## Installation
Composer!
`compos... | <|file_sep|>original/README.md
# php-coverage-checker
php-coverage-checker is a library for automated code coverage percentage checking.
Initial commit is 100% the work of [Ocramius](https://github.com/ocramius): https://ocramius.github.io/blog/automated-code-coverage-check-for-github-pull-requests-with-travis/
## I... | 4e205157249762a098a29e3485fcc034a207d77e | README.md | README.md | Markdown |
<|file_sep|>original/src/dyn_types.h
typedef uint64_t msgid_t;
typedef uint64_t msec_t;
typedef uint64_t usec_t;
<|file_sep|>current/src/dyn_types.h
typedef uint64_t msgid_t;
typedef uint64_t msec_t;
typedef uint64_t usec_t;
<|file_sep|>updated/src/dyn_types.h | #pragma once
typedef uint64_t msgid_t;
typedef uint64_t msec_t;
typedef uint64_t usec_t; | <|file_sep|>original/src/dyn_types.h
typedef uint64_t msgid_t;
typedef uint64_t msec_t;
typedef uint64_t usec_t;
<|file_sep|>current/src/dyn_types.h
typedef uint64_t msgid_t;
typedef uint64_t msec_t;
typedef uint64_t usec_t;
<|file_sep|>updated/src/dyn_types.h
#pragma once
typedef uint64_t msgid_t;
typedef uint64_t mse... | 1c34607f3b280ab0b40835b8f57555f941ed2b6c | src/dyn_types.h | src/dyn_types.h | C |
<|file_sep|>hrefutil.js.diff
original:
var baseURI = document.baseURI;
updated:
<|file_sep|>original/hrefutil.js
function createBookmarkletHref (name) {
var baseURI = document.baseURI;
var bookmarklet = "window.a11y" + name;
var scriptname = name.toLowerCase() + '.js';
return "javascript:if(" + bookmarklet +... | function createBookmarkletHref (name) {
var bookmarklet = "window.a11y" + name;
var scriptname = name.toLowerCase() + '.js';
var baseURI = document.baseURI;
var baseURIArray = baseURI.split('/');
var protocol = baseURIArray[0];
var domain = baseURIArray[2];
if (domain === 'accessibility-bookmarklets.org'... | <|file_sep|>hrefutil.js.diff
original:
var baseURI = document.baseURI;
updated:
<|file_sep|>original/hrefutil.js
function createBookmarkletHref (name) {
var baseURI = document.baseURI;
var bookmarklet = "window.a11y" + name;
var scriptname = name.toLowerCase() + '.js';
return "javascript:if(" + bookmarklet +... | 9341e0976346937cc74f4b621c8a7db66b5927f3 | hrefutil.js | hrefutil.js | JavaScript |
<|file_sep|>original/packages/test-in-browser/package.js
Package.describe({
summary: "Run tests interactively in the browser",
version: '1.0.6'
});
Package.onUse(function (api) {
// XXX this should go away, and there should be a clean interface
// that tinytest and the driver both implement?
api.use('tinytes... | Package.describe({
summary: "Run tests interactively in the browser",
version: '1.0.6',
documentation: null
});
Package.onUse(function (api) {
// XXX this should go away, and there should be a clean interface
// that tinytest and the driver both implement?
api.use('tinytest');
api.use('bootstrap@1.0.1');... | <|file_sep|>original/packages/test-in-browser/package.js
Package.describe({
summary: "Run tests interactively in the browser",
version: '1.0.6'
});
Package.onUse(function (api) {
// XXX this should go away, and there should be a clean interface
// that tinytest and the driver both implement?
api.use('tinytes... | 58d921e92620f220dc73d49792f791add873caaf | packages/test-in-browser/package.js | packages/test-in-browser/package.js | JavaScript |
<|file_sep|>original/.github/workflows/tests.yml
<|file_sep|>current/.github/workflows/tests.yml
<|file_sep|>updated/.github/workflows/tests.yml | name: tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.6, 2.7]
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: actions/setup-ruby@v1
with:
ruby-ve... | <|file_sep|>original/.github/workflows/tests.yml
<|file_sep|>current/.github/workflows/tests.yml
<|file_sep|>updated/.github/workflows/tests.yml
name: tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.6, 2.7]
name: Ruby ${{ matrix.ruby }}
... | e7cecd9552cc362bcc18f3020a46119dab3eef8a | .github/workflows/tests.yml | .github/workflows/tests.yml | YAML |
<|file_sep|>original/package.json
{
"name": "personal-website",
"version": "1.0.0",
"description": "Generator for my personal website.",
"main": "build.js",
"dependencies": {
"http-server": "^0.10.0",
"markdown": "^0.5.0"
},
"devDependencies": {},
"scripts": {
"start": "node build && http-se... | {
"name": "personal-website",
"version": "1.0.0",
"description": "Generator for my personal website.",
"main": "build.js",
"dependencies": {
"http-server": "^0.10.0",
"marked": "^0.3.6"
},
"devDependencies": {},
"scripts": {
"start": "node build && http-server ./www",
"build": "node buil... | <|file_sep|>original/package.json
{
"name": "personal-website",
"version": "1.0.0",
"description": "Generator for my personal website.",
"main": "build.js",
"dependencies": {
"http-server": "^0.10.0",
"markdown": "^0.5.0"
},
"devDependencies": {},
"scripts": {
"start": "node build && http-se... | a8fd4c7c7583d88c9ce2a9ddcd45fc3e9a62f728 | package.json | package.json | JSON |
<|file_sep|>original/appveyor.yml
- "SET PYTEST_ADDOPTS=-vv"
- "ECHO PATH=%PATH%"
build: off
install:
- pip3 install poetry
- poetry install
test_script:
- pytest -s --cov=isort/ --cov=test_isort.py --cov-report=term-missing ${@} --cov-report html
on_success:
# Add tox environment to PATH.
- "SET PATH... | - "SET PYTEST_ADDOPTS=-vv"
- "ECHO PATH=%PATH%"
build: off
install:
- pip3 install poetry
- poetry install
test_script:
- poetry run pytest -s --cov=isort/ --cov=test_isort.py --cov-report=term-missing ${@} --cov-report html
on_success:
# Add tox environment to PATH.
- "SET PATH=%CD%\\.tox\\%TOXENV%\\... | <|file_sep|>original/appveyor.yml
- "SET PYTEST_ADDOPTS=-vv"
- "ECHO PATH=%PATH%"
build: off
install:
- pip3 install poetry
- poetry install
test_script:
- pytest -s --cov=isort/ --cov=test_isort.py --cov-report=term-missing ${@} --cov-report html
on_success:
# Add tox environment to PATH.
- "SET PATH... | 6c44dcb448528c90a76de4e72dc2eb11dfb76226 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=3.0.2
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
<|file_sep|>current/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_... | sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=3.0.3
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh" | <|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=3.0.2
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
<|file_sep|>current/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_... | a99dce061e45ee05463136343c1cf79e01bd2ed9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>23_closures/src/main.rs.diff
original:
updated:
let expensive_result = simulated_expensive_calculation(intensity);
<|file_sep|>23_closures/src/main.rs.diff
original:
println!("Do {} pushups!", simulated_expensive_calculation(intensity));
println!("Next, do {} situps!", simulated_expens... |
fn simulated_expensive_calculation(intensity: i32) -> i32 {
println!("Very expensive calculation...");
thread::sleep(Duration::from_secs(2));
intensity
}
fn generate_workout(intensity: i32, random_number: i32) {
let expensive_result = simulated_expensive_calculation(intensity);
if intensity < 25 ... | <|file_sep|>23_closures/src/main.rs.diff
original:
updated:
let expensive_result = simulated_expensive_calculation(intensity);
<|file_sep|>23_closures/src/main.rs.diff
original:
println!("Do {} pushups!", simulated_expensive_calculation(intensity));
println!("Next, do {} situps!", simulated_expens... | 4ec3692af94e514cb5ff23ebdb21fddf184032af | 23_closures/src/main.rs | 23_closures/src/main.rs | Rust |
<|file_sep|>original/.circleci/config.yml
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.8
working_directory: /go/src/github.com/eyecuelab/kit
steps:
- checkout
- ru... | # Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.8
working_directory: /go/src/github.com/eyecuelab/kit
steps:
- checkout
- run: go get -v -t -d ./...
- run: go t... | <|file_sep|>original/.circleci/config.yml
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.8
working_directory: /go/src/github.com/eyecuelab/kit
steps:
- checkout
- ru... | 39121234096a6a184a766ebeb021db94f10f3681 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/announcements/_posts/2016-02-03-week-2-meeting-znc.md
<|file_sep|>current/announcements/_posts/2016-02-03-week-2-meeting-znc.md
<|file_sep|>updated/announcements/_posts/2016-02-03-week-2-meeting-znc.md | ---
author: Nate Levesque
title: Spring Week 2 Meeting
date: 2016-02-03
layout: post
---
Hey RITluggers! Welcome to week 2!
This week we will be having a talk about the IRC bouncer ZNC.
Many open source projects and communities communicate using IRC channels and many avid IRC users use an IRC bouncer, a proxy servic... | <|file_sep|>original/announcements/_posts/2016-02-03-week-2-meeting-znc.md
<|file_sep|>current/announcements/_posts/2016-02-03-week-2-meeting-znc.md
<|file_sep|>updated/announcements/_posts/2016-02-03-week-2-meeting-znc.md
---
author: Nate Levesque
title: Spring Week 2 Meeting
date: 2016-02-03
layout: post
---
Hey R... | 27a11e3f33efe80ab2ba9161230fb7bae4b2bde8 | announcements/_posts/2016-02-03-week-2-meeting-znc.md | announcements/_posts/2016-02-03-week-2-meeting-znc.md | Markdown |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-all.zip
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-all.zip | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-all.zip
<|file_sep|>current/gradle/wrapper/gradle-wrapper.proper... | a45b4ac1a8105be42c92b51c24c3d4ed776f33a1 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/create_credentials.sh
<|file_sep|>current/create_credentials.sh
<|file_sep|>updated/create_credentials.sh | #!/bin/bash
cat > "credentials.json" << EOF
/* SPHERE.IO credentials */
{
"aws_key": "${AWS_KEY}",
"aws_secret": "${AWS_SECRET}",
"aws_bucket": "${AWS_BUCKET}"
}
EOF | <|file_sep|>original/create_credentials.sh
<|file_sep|>current/create_credentials.sh
<|file_sep|>updated/create_credentials.sh
#!/bin/bash
cat > "credentials.json" << EOF
/* SPHERE.IO credentials */
{
"aws_key": "${AWS_KEY}",
"aws_secret": "${AWS_SECRET}",
"aws_bucket": "${AWS_BUCKET}"
}
EOF | a1113515e9baaba23167dab60df874ac10fd470f | create_credentials.sh | create_credentials.sh | Shell |
<|file_sep|>website/docs/cli-index.html.md.diff
original:
Welcome to the Terraform documentation! This documentation is more of a reference guide for all available features and options of Terraform. If you're just getting started with Terraform, please start with the introduction and getting started guide instead.
up... | page_title: "Documentation"
sidebar_current: "docs-home"
description: |-
Documentation for Terraform's core open source features, including the
configuration language, the commands, and the main Terraform providers.
---
# Terraform CLI Documentation
Welcome to the Terraform CLI documentation!
## What's in This S... | <|file_sep|>website/docs/cli-index.html.md.diff
original:
Welcome to the Terraform documentation! This documentation is more of a reference guide for all available features and options of Terraform. If you're just getting started with Terraform, please start with the introduction and getting started guide instead.
up... | 0834813ed5bb976fbe22ab5e08cf8675cce46ba6 | website/docs/cli-index.html.md | website/docs/cli-index.html.md | Markdown |
<|file_sep|>DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp.diff
original:
updated:
#include "../DNAnalyzerServer/Mots.h"
<|file_sep|>DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp.diff
original:
updated:
#include <unordered_set>
<|file_sep|>DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp.diff
origina... | {
// L'instance retourne ne doit pas tre null
Assert::IsTrue(&(Dictionnaire::ObtenirInstance())!=(Dictionnaire*) nullptr);
}
TEST_METHOD(ObtenirInstance_SameReference)
{
// L'instance retourne doit toujours tre la mme
Assert::IsTrue(&(Dictionnaire::ObtenirInstance()) == &(Dictionnaire::ObtenirInsta... | <|file_sep|>DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp.diff
original:
updated:
#include "../DNAnalyzerServer/Mots.h"
<|file_sep|>DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp.diff
original:
updated:
#include <unordered_set>
<|file_sep|>DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp.diff
origina... | 6f4f4cee4531769f856c7e11cddc90f89b7e7dad | DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp | DNAnalyzer/DNAnalyzerServerTest/DictionnaireTest.cpp | C++ |
<|file_sep|>original/init.rb
if RAILS_ENV == "test"
require 'active_support/test_case'
ActionController::Base.perform_caching = true
ActionController::Base.send(:include, Cosinux::PageCacheTest::ClassCachingMethods)
ActiveSupport::TestCase.send(:include, Cosinux::PageCacheTest::IntegrationTestMethods)
A... | if RAILS_ENV.index("test")
require 'active_support/test_case'
ActionController::Base.perform_caching = true
ActionController::Base.send(:include, Cosinux::PageCacheTest::ClassCachingMethods)
ActiveSupport::TestCase.send(:include, Cosinux::PageCacheTest::IntegrationTestMethods)
ActionController::Base.sen... | <|file_sep|>original/init.rb
if RAILS_ENV == "test"
require 'active_support/test_case'
ActionController::Base.perform_caching = true
ActionController::Base.send(:include, Cosinux::PageCacheTest::ClassCachingMethods)
ActiveSupport::TestCase.send(:include, Cosinux::PageCacheTest::IntegrationTestMethods)
A... | 85d6b80919aec13b12312d0e2844b6d060d3892b | init.rb | init.rb | Ruby |
<|file_sep|>original/lib/travis/build/appliances/fix_container_based_trusty.rb
def sh_is_linux?
'$(uname) = Linux'
end
def sh_is_trusty?
'$(lsb_release -sc 2>/dev/null) = trusty'
end
def patch_redis_init
sh.if "-f #{REDIS_INIT}" do
sh.... |
def sh_is_linux?
'$(uname) = Linux'
end
def sh_is_trusty?
'$(lsb_release -sc 2>/dev/null) = trusty'
end
def patch_redis_init
sh.if "-f #{REDIS_INIT}" do
sh.echo 'Patching redis-server init script', ansi: :yellow
sh.raw(
... | <|file_sep|>original/lib/travis/build/appliances/fix_container_based_trusty.rb
def sh_is_linux?
'$(uname) = Linux'
end
def sh_is_trusty?
'$(lsb_release -sc 2>/dev/null) = trusty'
end
def patch_redis_init
sh.if "-f #{REDIS_INIT}" do
sh.... | 24168243823d69571a363dbc27b31df6534ade77 | lib/travis/build/appliances/fix_container_based_trusty.rb | lib/travis/build/appliances/fix_container_based_trusty.rb | Ruby |
<|file_sep|>reference_guide/custom_language_support/registering_file_type.md.diff
original:
implementation class to its base class constructor.
To register a file type, the plugin developer provides an implementation of the
[FileTypeFactory](upsource:///platform/platform-api/src/com/intellij/openapi/fileTypes/FileTypeF... |
The first step in developing a custom language plugin is registering a file type the language will be associated with.
The IDE normally determines the type of a file by looking at its file name.
A custom language file type is a class derived from
[LanguageFileType](upsource:///platform/core-api/src/com/intellij/opena... | <|file_sep|>reference_guide/custom_language_support/registering_file_type.md.diff
original:
implementation class to its base class constructor.
To register a file type, the plugin developer provides an implementation of the
[FileTypeFactory](upsource:///platform/platform-api/src/com/intellij/openapi/fileTypes/FileTypeF... | 94b4334430b451cf3a9d5a0ccfc7df80852edd0e | reference_guide/custom_language_support/registering_file_type.md | reference_guide/custom_language_support/registering_file_type.md | Markdown |
<|file_sep|>original/README.md
BIFFUD Corporate
===================================================================
Current corporate status: 
Contents:
1. Introduction and Current Status
2. Background
3. Repository Organization
4. P... | BIFFUD Corporate
===================================================================
Current corporate status: 
Contents:
1. Introduction and Current Status
2. Background
3. Repository Organization
4. Participating in BIFFUD
-----... | <|file_sep|>original/README.md
BIFFUD Corporate
===================================================================
Current corporate status: 
Contents:
1. Introduction and Current Status
2. Background
3. Repository Organization
4. P... | 7f5a963eac7f9791e4a1a3ffb75b7b170cdc0732 | README.md | README.md | Markdown |
<|file_sep|>include/frozen/bits/constexpr_assert.h.diff
original:
updated:
#include <cassert>
<|file_sep|>original/include/frozen/bits/constexpr_assert.h
#ifndef FROZEN_LETITGO_CONSTEXPR_ASSERT_H
#define FROZEN_LETITGO_CONSTEXPR_ASSERT_H
#ifdef _MSC_VER
// FIXME: find a way to implement that correctly for msvc
#de... | * under the License.
*/
#ifndef FROZEN_LETITGO_CONSTEXPR_ASSERT_H
#define FROZEN_LETITGO_CONSTEXPR_ASSERT_H
#include <cassert>
#ifdef _MSC_VER
// FIXME: find a way to implement that correctly for msvc
#define constexpr_assert(cond, msg)
#else
#define constexpr_assert(cond, msg)\
assert(cond && msg);
#endif
... | <|file_sep|>include/frozen/bits/constexpr_assert.h.diff
original:
updated:
#include <cassert>
<|file_sep|>original/include/frozen/bits/constexpr_assert.h
#ifndef FROZEN_LETITGO_CONSTEXPR_ASSERT_H
#define FROZEN_LETITGO_CONSTEXPR_ASSERT_H
#ifdef _MSC_VER
// FIXME: find a way to implement that correctly for msvc
#de... | 691cb4414e03ca9cf56b86cf76740078c4208080 | include/frozen/bits/constexpr_assert.h | include/frozen/bits/constexpr_assert.h | C |
<|file_sep|>original/.stylelintrc.js
const declarationBlockPropertiesOrder = require(`./.csscomb.json`)[`sort-order`][0];
module.exports = {
extends: `stylelint-config-modularis`,
rules: {
'declaration-block-properties-order': declarationBlockPropertiesOrder,
'no-indistinguishable-colors': [true, { thresho... | const declarationBlockPropertiesOrder = require(`./.csscomb.json`)[`sort-order`][0];
module.exports = {
extends: `stylelint-config-modularis`,
rules: {
'declaration-block-properties-order': declarationBlockPropertiesOrder,
'no-indistinguishable-colors': [true, { threshold: 1 }],
'string-no-newline': nu... | <|file_sep|>original/.stylelintrc.js
const declarationBlockPropertiesOrder = require(`./.csscomb.json`)[`sort-order`][0];
module.exports = {
extends: `stylelint-config-modularis`,
rules: {
'declaration-block-properties-order': declarationBlockPropertiesOrder,
'no-indistinguishable-colors': [true, { thresho... | 6e1b30ca8028d016fc2a566141f6cabbe1acaaa4 | .stylelintrc.js | .stylelintrc.js | JavaScript |
<|file_sep|>original/in-class-code/2017-03-06-simulatingKinematics.py
<|file_sep|>current/in-class-code/2017-03-06-simulatingKinematics.py
<|file_sep|>updated/in-class-code/2017-03-06-simulatingKinematics.py | ### Import our stuff
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
### Set up initial values
position = 555 # feet
velocity = 0 # feet/second
acceleration = -32.17 # feet / second^2
time_steps = np.linspace(0, 5, 501) # creates two entries at time zero
time_step_size = time_steps[1] - time_ste... | <|file_sep|>original/in-class-code/2017-03-06-simulatingKinematics.py
<|file_sep|>current/in-class-code/2017-03-06-simulatingKinematics.py
<|file_sep|>updated/in-class-code/2017-03-06-simulatingKinematics.py
### Import our stuff
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
### Set up initia... | 395d534e44a5318e221f41d1fefbea3c10dc73f5 | in-class-code/2017-03-06-simulatingKinematics.py | in-class-code/2017-03-06-simulatingKinematics.py | Python |
<|file_sep|>original/grunt/tasks/aliases.json
{
"default": [
"test"
],
"test": [
"jshint",
"mochacov:html",
"mochacov:spec"
],
"ci-test": [
"test",
"mochacov:ci"
],
"dev": [
"licensy"
]
}
<|file_sep|>current/grunt/tasks/aliases.json
{
"default": [
"test"
],
"test": ... | {
"default": [
"test"
],
"test": [
"jshint",
"mochacov:html",
"mochacov:spec"
],
"ci-test": [
"jshint",
"mochacov:spec",
"mochacov:ci"
],
"dev": [
"licensy"
]
} | <|file_sep|>original/grunt/tasks/aliases.json
{
"default": [
"test"
],
"test": [
"jshint",
"mochacov:html",
"mochacov:spec"
],
"ci-test": [
"test",
"mochacov:ci"
],
"dev": [
"licensy"
]
}
<|file_sep|>current/grunt/tasks/aliases.json
{
"default": [
"test"
],
"test": ... | ab791f9431635916debb46695124284eeac1b1a1 | grunt/tasks/aliases.json | grunt/tasks/aliases.json | JSON |
<|file_sep|>lib/cathode/base.rb.diff
original:
require 'cathode/request'
require 'cathode/index_request'
require 'cathode/show_request'
require 'cathode/create_request'
require 'cathode/update_request'
require 'cathode/destroy_request'
require 'cathode/custom_request'
updated:
<|file_sep|>lib/cathode/base.rb.diff
orig... | require 'pry'
require 'cathode/exceptions'
require 'cathode/railtie'
module Cathode
autoload :Action, 'cathode/action'
autoload :ActionDsl, 'cathode/action_dsl'
autoload :CreateRequest, 'cathode/create_request'
autoload :CustomRequest, 'cathode/custom_request'
autoload :Debug, ... | <|file_sep|>lib/cathode/base.rb.diff
original:
require 'cathode/request'
require 'cathode/index_request'
require 'cathode/show_request'
require 'cathode/create_request'
require 'cathode/update_request'
require 'cathode/destroy_request'
require 'cathode/custom_request'
updated:
<|file_sep|>lib/cathode/base.rb.diff
orig... | bb164fcda5553ce4d9ecff7192e70259f039c738 | lib/cathode/base.rb | lib/cathode/base.rb | Ruby |
<|file_sep|>original/app/app.js
'use strict';
// Declare app level module which depends on views, and components
angular.module('myApp', [
'ngRoute',
'drupalService',
'myApp.node_add',
'myApp.node_nid',
'myApp.node',
'myApp.taxonomy_term'
]).
config(['$routeProvider', function($routeProvider) {... | 'use strict';
// Declare app level module which depends on views, and components
angular
.module('myApp', [
'ngRoute',
'drupalService',
'myApp.node_add',
'myApp.node_nid',
'myApp.node',
'myApp.taxonomy_term',
'myApp.node_lifecycle'
]).
config(['$route... | <|file_sep|>original/app/app.js
'use strict';
// Declare app level module which depends on views, and components
angular.module('myApp', [
'ngRoute',
'drupalService',
'myApp.node_add',
'myApp.node_nid',
'myApp.node',
'myApp.taxonomy_term'
]).
config(['$routeProvider', function($routeProvider) {... | a341760e3945404a64f597580df23dbcfe226a54 | app/app.js | app/app.js | JavaScript |
<|file_sep|>recipes/pytest-runner/meta.yaml.diff
original:
{% set version = "2.9" %}
updated:
{% set version = "2.10.1" %}
<|file_sep|>original/recipes/pytest-runner/meta.yaml
{% set version = "2.9" %}
package:
name: pytest-runner
version: {{ version }}
source:
fn: pytest-runner-{{version}}.tar.gz
url: https:... | {% set version = "2.10.1" %}
package:
name: pytest-runner
version: {{ version }}
source:
fn: pytest-runner-{{version}}.tar.gz
url: https://pypi.io/packages/source/p/pytest-runner/pytest-runner-{{version}}.tar.gz
sha256: ecc9549ed1ce9bbfc9e7c9bad33d3f9fa91da2334632070a191a35aa96f0be35
build:
script: pyt... | <|file_sep|>recipes/pytest-runner/meta.yaml.diff
original:
{% set version = "2.9" %}
updated:
{% set version = "2.10.1" %}
<|file_sep|>original/recipes/pytest-runner/meta.yaml
{% set version = "2.9" %}
package:
name: pytest-runner
version: {{ version }}
source:
fn: pytest-runner-{{version}}.tar.gz
url: https:... | 448af67e3e2c70e76e78f9cd3ccec15702f134b1 | recipes/pytest-runner/meta.yaml | recipes/pytest-runner/meta.yaml | YAML |
<|file_sep|>original/reflex-dom-core/ChangeLog.md
# Revision history for reflex-dom-core
## 0.5.2
* Update to use new dependent-sum/map packages and drop dependency on `*Tag` classes (e.g., `ShowTag`).
## 0.5.1
* Added support for marking elements with a "data-skip-hydration" attribute, which will cause hydration t... | # Revision history for reflex-dom-core
## 0.5.2
* Update to use new dependent-sum/map packages and drop dependency on `*Tag` classes (e.g., `ShowTag`).
* Update version bounds of base, containers, and stm
## 0.5.1
* Added support for marking elements with a "data-skip-hydration" attribute, which will cause hydratio... | <|file_sep|>original/reflex-dom-core/ChangeLog.md
# Revision history for reflex-dom-core
## 0.5.2
* Update to use new dependent-sum/map packages and drop dependency on `*Tag` classes (e.g., `ShowTag`).
## 0.5.1
* Added support for marking elements with a "data-skip-hydration" attribute, which will cause hydration t... | 76367f1a690777ef4c87fd2eec786b9b4967c78e | reflex-dom-core/ChangeLog.md | reflex-dom-core/ChangeLog.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- 10 # Current release
updated:
- 9
# - 10 disabled due to issues with targaryen + firebase-server and npm ci:
# "npm ERR! stringstream not accessible from targaryen:request"
<|file_sep|>.travis.yml.diff
original:
node: '10'
updated:
node: '9'
<|file_sep|>origi... | deploy:
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
node: '9'
branch: 'master'
- provider: npm
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
tag: next
on:
node: '9'
branch: 'next'
after_success:
- npm install ... | <|file_sep|>.travis.yml.diff
original:
- 10 # Current release
updated:
- 9
# - 10 disabled due to issues with targaryen + firebase-server and npm ci:
# "npm ERR! stringstream not accessible from targaryen:request"
<|file_sep|>.travis.yml.diff
original:
node: '10'
updated:
node: '9'
<|file_sep|>origi... | 6a30787df02097a0f1cc56a4ae28964fd4344653 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/web/WebItem.qml
///clickable and hoverable rectangle for mouse supportings applications
Rectangle {
property Mixin hoverMixin: HoverClickMixin {} ///< hover mixin object proveds common API for mouse properties
property alias hover: hoverMixin.value; ///< mouse hovered flag
property alias clic... | ///clickable and hoverable rectangle for mouse supportings applications
Rectangle {
property Mixin hoverMixin: HoverClickMixin {} ///< hover mixin object proveds common API for mouse properties
property alias hover: hoverMixin.value; ///< mouse hovered flag
property alias clickable: hoverMixin.clickable; ///< fla... | <|file_sep|>original/web/WebItem.qml
///clickable and hoverable rectangle for mouse supportings applications
Rectangle {
property Mixin hoverMixin: HoverClickMixin {} ///< hover mixin object proveds common API for mouse properties
property alias hover: hoverMixin.value; ///< mouse hovered flag
property alias clic... | e24ef0f08537c739987ff9a9533babdc39206e33 | web/WebItem.qml | web/WebItem.qml | QML |
<|file_sep|>original/.travis.yml
language: python
install:
- pip install stix2-validator==0.1.0
script:
- stix2_validator ./examples
<|file_sep|>current/.travis.yml
language: python
install:
- pip install stix2-validator==0.1.0
script:
- stix2_validator ./examples
<|file_sep|>updated/.travis.yml | language: python
install:
- pip install stix2-validator==0.2.0
script:
- stix2_validator ./examples | <|file_sep|>original/.travis.yml
language: python
install:
- pip install stix2-validator==0.1.0
script:
- stix2_validator ./examples
<|file_sep|>current/.travis.yml
language: python
install:
- pip install stix2-validator==0.1.0
script:
- stix2_validator ./examples
<|file_sep|>updated/.travis.yml
language: p... | 14a78af7365960ed60c8270ce00098f18ba4919b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/database/migrations/2015_12_23_133333_add_user_settings_table.php
<|file_sep|>current/database/migrations/2015_12_23_133333_add_user_settings_table.php
<|file_sep|>updated/database/migrations/2015_12_23_133333_add_user_settings_table.php | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddUserSettingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('user_settings', function(Blueprint $table) {
... | <|file_sep|>original/database/migrations/2015_12_23_133333_add_user_settings_table.php
<|file_sep|>current/database/migrations/2015_12_23_133333_add_user_settings_table.php
<|file_sep|>updated/database/migrations/2015_12_23_133333_add_user_settings_table.php
<?php
use Illuminate\Database\Schema\Blueprint;
use Illumi... | a0cf3e95270fb8c3c906d7983f32cd91120e17d0 | database/migrations/2015_12_23_133333_add_user_settings_table.php | database/migrations/2015_12_23_133333_add_user_settings_table.php | PHP |
<|file_sep|>original/zipfsong_old.py
<|file_sep|>current/zipfsong_old.py
<|file_sep|>updated/zipfsong_old.py | #!/usr/bin/python2
""""
Zipf's song problem
v1.0 without using any class structure like creating a Song class
Jose Antonio Navarrete
@joseanavarrete
"""
import sys
def process_info(n_played, song_name, song_number, songs_array):
"""
Inserts into songs_array song_name processed with its zipf coeficient
"... | <|file_sep|>original/zipfsong_old.py
<|file_sep|>current/zipfsong_old.py
<|file_sep|>updated/zipfsong_old.py
#!/usr/bin/python2
""""
Zipf's song problem
v1.0 without using any class structure like creating a Song class
Jose Antonio Navarrete
@joseanavarrete
"""
import sys
def process_info(n_played, song_name, son... | 301a7ff10f4a630ca403571aee8624bf98329b16 | zipfsong_old.py | zipfsong_old.py | Python |
<|file_sep|>original/_posts/2017-11-12-capsule-network.md
---
layout: post
date: 2017-11-12
title: [Paper Short Summary] Dynamic Routing Between Capsules
---
Introduces new concept called capsule whose output represents the instantiation parameters of a specific type of entity such as an object or object part. Output’... | ---
layout: post
date: 2017-11-12
title: Dynamic Routing Between Capsules
---
Introduces new concept called capsule whose output represents the instantiation parameters of a specific type of entity such as an object or object part. Output’s orientation represents its instantiation parameters and length represents its ... | <|file_sep|>original/_posts/2017-11-12-capsule-network.md
---
layout: post
date: 2017-11-12
title: [Paper Short Summary] Dynamic Routing Between Capsules
---
Introduces new concept called capsule whose output represents the instantiation parameters of a specific type of entity such as an object or object part. Output’... | a5e31af87f59f87e3cb671a2d7dfc8d813bebf50 | _posts/2017-11-12-capsule-network.md | _posts/2017-11-12-capsule-network.md | Markdown |
<|file_sep|>original/frontend/config/params.php
<?php
return [
'adminEmail' => 'kalnyanton@gmail.com',
'title' => 'Веб студия «Палитра»',
'title_short' => 'Палитра',
'title_long' => 'Студия веб дизайна «Палитра»',
'phone' => '+3 8(099) 008 20 17',
'vk_link' => 'https://vk.com/id249896813',
'... | <?php
return [
'title' => 'Веб студия «Палитра»',
'title_short' => 'Палитра',
'title_long' => 'Студия веб дизайна «Палитра»',
'phone' => '+3 8(099) 008 20 17',
'vk_link' => 'https://vk.com/id249896813',
'fb_link' => 'https://www.facebook.com/profile.php?id=100007822838492',
'tw_link' => 'htt... | <|file_sep|>original/frontend/config/params.php
<?php
return [
'adminEmail' => 'kalnyanton@gmail.com',
'title' => 'Веб студия «Палитра»',
'title_short' => 'Палитра',
'title_long' => 'Студия веб дизайна «Палитра»',
'phone' => '+3 8(099) 008 20 17',
'vk_link' => 'https://vk.com/id249896813',
'... | 8f6adc3f474ca80392960a0a07723627fcb3cb65 | frontend/config/params.php | frontend/config/params.php | PHP |
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
tags:
- sugarcli
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
tags:
- sugarcli
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
expire_in: '5m'
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
tags:
- sugarcli
<... | - git push git@github.com:inetprocess/sugarcli.git HEAD:master
mirror_tags:
stage: publish
tags:
- sugarcli
only:
- tags
script:
- git push --tags git@github.com:inetprocess/sugarcli.git
gitlab_release:
tags:
- docker
image: inetprocess/gitlab-release:la... | <|file_sep|>.gitlab-ci.yml.diff
original:
updated:
tags:
- sugarcli
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
tags:
- sugarcli
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
expire_in: '5m'
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
tags:
- sugarcli
<... | 2c3390101ea64ef1eca8641b5a0ccc7dbd4e5389 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>demo/demo_widgets/templates/widgy/demo_widgets/slide/render.html.diff
original:
{% load cachebuster %}
updated:
<|file_sep|>original/demo/demo_widgets/templates/widgy/demo_widgets/slide/render.html
{% load thumbnail_libs %}
{% load cachebuster %}
{% load widgy_tags %}
<div class="slide" {% sorl_thumbnail ... | {% load thumbnail_libs %}
{% load widgy_tags %}
<div class="slide" {% sorl_thumbnail self.background_image.file "640x300" as im %} style="background-image: url('{{ im.url }}')">{% endthumbnail %}>
<h1>{{ self.tagline }}</h1>
{% for child in self.get_children %}
{% render child %}
{% endfor %}
</div> | <|file_sep|>demo/demo_widgets/templates/widgy/demo_widgets/slide/render.html.diff
original:
{% load cachebuster %}
updated:
<|file_sep|>original/demo/demo_widgets/templates/widgy/demo_widgets/slide/render.html
{% load thumbnail_libs %}
{% load cachebuster %}
{% load widgy_tags %}
<div class="slide" {% sorl_thumbnail ... | 6317a607aa5e86dabb82da077929e84380220037 | demo/demo_widgets/templates/widgy/demo_widgets/slide/render.html | demo/demo_widgets/templates/widgy/demo_widgets/slide/render.html | HTML |
<|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libopenexr-dev
script:
- cargo build --verbose --all --no-default-features
- cargo test --verbose --all --no-default-features
<|file_sep|>current/.travis.yml
language: rust
rust:... | language: rust
rust:
- nightly
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libopenexr-dev
script:
- cargo build --verbose --all
- cargo test --verbose --all | <|file_sep|>original/.travis.yml
language: rust
rust:
- nightly
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libopenexr-dev
script:
- cargo build --verbose --all --no-default-features
- cargo test --verbose --all --no-default-features
<|file_sep|>current/.travis.yml
language: rust
rust:... | 5d0bac48b7c80496e50ca55f00e62afd147faac9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "io.js"
- "0.12"
- "0.10"
sudo: false
after_script: "npm run test-cov && cat ./coverage/lcov.info | codecov && cat ./coverage/lcov.info | coveralls"
webhooks:
urls: https://webhooks.gitter.im/e/237280ed4796c19cc626
on_success: change # options: ... | language: node_js
node_js:
- "4.0"
- "io.js"
- "0.12"
- "0.10"
sudo: false
after_script: "npm run test-cov && cat ./coverage/lcov.info | codecov && cat ./coverage/lcov.info | coveralls"
webhooks:
urls: https://webhooks.gitter.im/e/237280ed4796c19cc626
on_success: change # options: [always|never|change] d... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "io.js"
- "0.12"
- "0.10"
sudo: false
after_script: "npm run test-cov && cat ./coverage/lcov.info | codecov && cat ./coverage/lcov.info | coveralls"
webhooks:
urls: https://webhooks.gitter.im/e/237280ed4796c19cc626
on_success: change # options: ... | aaedf8a9d4a6fb48e565193ba64a3355d75ee300 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.codeclimate.yml
<|file_sep|>current/.codeclimate.yml
<|file_sep|>updated/.codeclimate.yml | engines:
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- function.js
- property.js
- proxy.js
exclude_paths:
- test/**/*
- .* | <|file_sep|>original/.codeclimate.yml
<|file_sep|>current/.codeclimate.yml
<|file_sep|>updated/.codeclimate.yml
engines:
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- function.js
- property.js
- proxy.js
exclude_paths:
- test/**/*
- .* | 96b62c77c02eaf6881945208282b2eb539e9b0ab | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/IdParser/Enums/Version.cs
// ReSharper disable once CheckNamespace
namespace IdParser
{
public enum Version : byte
{
PreStandard = 0,
Aamva2000 = 1,
Aamva2003 = 2,
Aamva2005 = 3,
Aamva2009 = 4,
Aamva2010 = 5,
Aamva2011 = 6,
Aa... | // ReSharper disable once CheckNamespace
namespace IdParser
{
public enum Version : byte
{
PreStandard = 0,
Aamva2000 = 1,
Aamva2003 = 2,
Aamva2005 = 3,
Aamva2009 = 4,
Aamva2010 = 5,
Aamva2011 = 6,
Aamva2012 = 7,
Aamva2013 = 8,
Aam... | <|file_sep|>original/IdParser/Enums/Version.cs
// ReSharper disable once CheckNamespace
namespace IdParser
{
public enum Version : byte
{
PreStandard = 0,
Aamva2000 = 1,
Aamva2003 = 2,
Aamva2005 = 3,
Aamva2009 = 4,
Aamva2010 = 5,
Aamva2011 = 6,
Aa... | e75b738d0e520cb9b0ed6684f4eceeb5436ba355 | IdParser/Enums/Version.cs | IdParser/Enums/Version.cs | C# |
<|file_sep|>original/test/helpers-Server.c
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include "Server.h"
char char_of_uint8(uint8_t x) {
return (char) x;
}
uint32_t bufstrcpy(char *dst, const char *src) {
/* The F* precondition guarantees that src is zero-terminated */
return sprintf(dst, "%... | #include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include "Server.h"
uint32_t bufstrcpy(char *dst, const char *src) {
/* The F* precondition guarantees that src is zero-terminated */
return sprintf(dst, "%s", src);
}
uint32_t print_u32(char *dst, uint32_t i) {
return sprintf(dst, "%"PRIu32, i);
} | <|file_sep|>original/test/helpers-Server.c
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include "Server.h"
char char_of_uint8(uint8_t x) {
return (char) x;
}
uint32_t bufstrcpy(char *dst, const char *src) {
/* The F* precondition guarantees that src is zero-terminated */
return sprintf(dst, "%... | 3624f96f852e276f9fc7731b9c43a9de42dd8983 | test/helpers-Server.c | test/helpers-Server.c | C |
<|file_sep|>bower.json.diff
original:
"version": "0.6.3",
updated:
"version": "0.6.4-pre",
<|file_sep|>bower.json.diff
original:
"basic-shared": "basic-web-components/basic-shared#0.6.3",
updated:
"basic-shared": "basic-web-components/basic-shared#master",
<|file_sep|>original/bower.json
"name": "basic-as... | "name": "basic-aspect",
"description": "An aspect of a component: a separable piece of component appearance or behavior that can be combined at runtime to produce an aggregate user experience.",
"version": "0.6.4-pre",
"license": "MIT",
"main": "basic-aspect.html",
"dependencies": {
"basic-shared": "bas... | <|file_sep|>bower.json.diff
original:
"version": "0.6.3",
updated:
"version": "0.6.4-pre",
<|file_sep|>bower.json.diff
original:
"basic-shared": "basic-web-components/basic-shared#0.6.3",
updated:
"basic-shared": "basic-web-components/basic-shared#master",
<|file_sep|>original/bower.json
"name": "basic-as... | 91217924e10767679fa60e29aedde597556da470 | bower.json | bower.json | JSON |
<|file_sep|>modules/performanceplatform/templates/internal-dns.erb.diff
original:
local=/internal/
updated:
local=/localdomain/
<|file_sep|>original/modules/performanceplatform/templates/internal-dns.erb
# File managed by puppet
domain-needed
bogus-priv
cache-size=15000
local=/internal/
expand-hosts
domain=internal
no... | # File managed by puppet
domain-needed
bogus-priv
cache-size=15000
local=/localdomain/
expand-hosts
domain=localdomain
no-negcache
strict-order
# load additional host definitions from /etc/hosts.dns
addn-hosts=/etc/hosts.dns
# alias external IPs to local IPs
<%- @aliases.each do |pair| -%>
alias=<%= pair[0] %>,<%= p... | <|file_sep|>modules/performanceplatform/templates/internal-dns.erb.diff
original:
local=/internal/
updated:
local=/localdomain/
<|file_sep|>original/modules/performanceplatform/templates/internal-dns.erb
# File managed by puppet
domain-needed
bogus-priv
cache-size=15000
local=/internal/
expand-hosts
domain=internal
no... | 08d170ded2b7d86710997e08614d37e78f27d159 | modules/performanceplatform/templates/internal-dns.erb | modules/performanceplatform/templates/internal-dns.erb | HTML+ERB |
<|file_sep|>original/.hound.ruby.yml
Style/AlignHash:
EnforcedHashRocketStyle: key
EnforcedColonStyle: key
Style/Documentation:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Metrics/MethodLength:
Max: 50
Metrics/ClassLength:
Max: 500
Metrics/Module... | Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Metrics/MethodLength:
Max: 50
Metrics/ClassLength:
Max: 500
Metrics/ModuleLength:
Max: 500
Metrics/BlockLength:
Max: 40
Exclude:
- "**/spec/**/*.rb" | <|file_sep|>original/.hound.ruby.yml
Style/AlignHash:
EnforcedHashRocketStyle: key
EnforcedColonStyle: key
Style/Documentation:
Enabled: false
Lint/UnusedMethodArgument:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Metrics/MethodLength:
Max: 50
Metrics/ClassLength:
Max: 500
Metrics/Module... | ecbb1f75d519457aaa9789a4ae8d70f2a0b30b0a | .hound.ruby.yml | .hound.ruby.yml | YAML |
<|file_sep|>unit_test/memory_unit_test.py.diff
original:
updated:
from keras import backend as K
import theano.tensor as T
import theano
<|file_sep|>unit_test/memory_unit_test.py.diff
original:
# import write_heads
updated:
#
# number_of_memory_locations = 6
# memory_vector_size = 3
#
# memory_t = memory.initial(numbe... | #
# weight_t = K.random_binomial((number_of_memory_locations, 1), 0.2)
#
# read_vector = head.reading(memory_t, weight_t)
#
# print memory_t.shape
# print weight_t.shape
# print read_vector
#
def logistic(x):
s = 1 / (1 + K.exp(x))
log = theano.function([x], s)
return log
# return s
x = [[0, 1], [-1,... | <|file_sep|>unit_test/memory_unit_test.py.diff
original:
updated:
from keras import backend as K
import theano.tensor as T
import theano
<|file_sep|>unit_test/memory_unit_test.py.diff
original:
# import write_heads
updated:
#
# number_of_memory_locations = 6
# memory_vector_size = 3
#
# memory_t = memory.initial(numbe... | e42d34e2e3163488daff15c5b584d5f3757d162f | unit_test/memory_unit_test.py | unit_test/memory_unit_test.py | Python |
<|file_sep|>md5.h.diff
original:
/* File: connection.h
updated:
/* File: md5.h
<|file_sep|>original/md5.h
/* File: connection.h
*
* Description: See "md.h"
*
* Comments: See "notice.txt" for copyright and license information.
*
*/
#ifndef __MD5_H__
#define __MD5_H__
#include "psqlodbc.h"
#include <stdl... | /* File: md5.h
*
* Description: See "md5.c"
*
* Comments: See "notice.txt" for copyright and license information.
*
*/
#ifndef __MD5_H__
#define __MD5_H__
#include "psqlodbc.h"
#include <stdlib.h>
#include <string.h>
#ifdef WIN32
#define MD5_ODBC
#define FRONTEND
#endif
#define MD5_PASSWD_LEN 35 | <|file_sep|>md5.h.diff
original:
/* File: connection.h
updated:
/* File: md5.h
<|file_sep|>original/md5.h
/* File: connection.h
*
* Description: See "md.h"
*
* Comments: See "notice.txt" for copyright and license information.
*
*/
#ifndef __MD5_H__
#define __MD5_H__
#include "psqlodbc.h"
#include <stdl... | 31f937755d32d1b6d6b2c30cecc6398f2aa00b3a | md5.h | md5.h | C |
<|file_sep|>Bindings/Java/tests/TestDataAdapter.java.diff
original:
updated:
<|file_sep|>Bindings/Java/tests/TestDataAdapter.java.diff
original:
String fileName = new String("testDataAdapter.mot");
updated:
String markerFileName = new String("markers.mot");
<|file_sep|>Bindings/Java/tests/Test... | assert markerTableFlat.getNumColumns() == 40 * 3;
String markerFileName = new String("markers.mot");
STOFileAdapter stoAdapter = new STOFileAdapter();
stoAdapter.write(markerTableFlat, markerFileName);
TimeSeriesTable markerTableDouble = stoAdapter.read(markerFileName);
... | <|file_sep|>Bindings/Java/tests/TestDataAdapter.java.diff
original:
updated:
<|file_sep|>Bindings/Java/tests/TestDataAdapter.java.diff
original:
String fileName = new String("testDataAdapter.mot");
updated:
String markerFileName = new String("markers.mot");
<|file_sep|>Bindings/Java/tests/Test... | 0c44232208b87c84a381d397ab9e9261063d500d | Bindings/Java/tests/TestDataAdapter.java | Bindings/Java/tests/TestDataAdapter.java | Java |
<|file_sep|>original/prolific.executable/header.js
const { Staccato } = require('staccato')
module.exports = async function (input) {
const staccato = new Staccato(input)
let accumulator = Buffer.alloc(0)
for (;;) {
const buffer = await staccato.readable.read()
if (buffer == null) {
... | const { Staccato } = require('staccato')
module.exports = async function (input) {
const staccato = new Staccato(input)
let accumulator = Buffer.alloc(0)
for (;;) {
const buffer = await staccato.readable.read()
if (buffer == null) {
return null
}
accumulator = Bu... | <|file_sep|>original/prolific.executable/header.js
const { Staccato } = require('staccato')
module.exports = async function (input) {
const staccato = new Staccato(input)
let accumulator = Buffer.alloc(0)
for (;;) {
const buffer = await staccato.readable.read()
if (buffer == null) {
... | 64b61935b843fd6245495699bfee732ab228a50c | prolific.executable/header.js | prolific.executable/header.js | JavaScript |
<|file_sep|>targets/mimasv2/Makefile.mk.diff
original:
updated:
PORT ?= /dev/ttyACM0
<|file_sep|>targets/mimasv2/Makefile.mk.diff
original:
python3 $$(which MimasV2Config.py) /dev/ttyACM0 $(TARGET_BUILD_DIR)/gateware/top.bin
updated:
python3 $$(which MimasV2Config.py) $(PORT) $(TARGET_BUILD_DIR)/gateware/top.bin
<|f... | # mimasv2 loading
TARGET ?= base
PORT ?= /dev/ttyACM0
gateware-load-mimasv2:
python3 $$(which MimasV2Config.py) $(PORT) $(TARGET_BUILD_DIR)/gateware/top.bin
image-load-mimasv2:
python mkimage.py
python3 $$(which MimasV2Config.py) $(PORT) $(TARGET_BUILD_DIR)/flash.bin
firmware-load-mimasv2:
flterm --port=$(PORT)... | <|file_sep|>targets/mimasv2/Makefile.mk.diff
original:
updated:
PORT ?= /dev/ttyACM0
<|file_sep|>targets/mimasv2/Makefile.mk.diff
original:
python3 $$(which MimasV2Config.py) /dev/ttyACM0 $(TARGET_BUILD_DIR)/gateware/top.bin
updated:
python3 $$(which MimasV2Config.py) $(PORT) $(TARGET_BUILD_DIR)/gateware/top.bin
<|f... | 4d46c22e265409c3d5f2041e59a4453d6ef9bbea | targets/mimasv2/Makefile.mk | targets/mimasv2/Makefile.mk | Makefile |
<|file_sep|>CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs.diff
original:
public class NofiticationSettingsViewModel : ObservableObject
{
private bool _isToastEnabled = SettingsService.Get<bool>(SettingsKeys.IsToastEnabled);
updated:
public class NofiticationSettingsViewModel : ObservableObject
... | SettingsService.Save(SettingsKeys.IsLiveTilesEnabled, value);
RaisePropertyChanged(() => IsLiveTilesEnabled);
}
if (!value && IsLiveTilesBadgeEnabled)
{
IsLiveTilesBadgeEnabled = false;
}
... | <|file_sep|>CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs.diff
original:
public class NofiticationSettingsViewModel : ObservableObject
{
private bool _isToastEnabled = SettingsService.Get<bool>(SettingsKeys.IsToastEnabled);
updated:
public class NofiticationSettingsViewModel : ObservableObject
... | 4142ba5bff4438150198811a4a422c86ee852c0b | CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs | CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs | C# |
<|file_sep|>original/requirements/defaults.txt
-e git+https://github.com/cos-forks/django-rest-framework-json-api.git@d8c3dc479e037d4c11599934551a61c410a89601#egg=djangorestframework_jsonapi
ciso8601==1.0.3
django-ace-overlay==0.6
django-bootstrap3==8.2.2
django-countries==4.4
django-debug-toolbar==1.8
#django-extensio... | -e git+https://github.com/cos-forks/django-rest-framework-json-api.git@d8c3dc479e037d4c11599934551a61c410a89601#egg=djangorestframework_jsonapi
ciso8601==1.0.3
django-ace-overlay==0.6
django-bootstrap3==8.2.2
django-countries==4.4
django-debug-toolbar==1.8
django-extensions==1.7.8
django-guardian==1.4.8
django-localfla... | <|file_sep|>original/requirements/defaults.txt
-e git+https://github.com/cos-forks/django-rest-framework-json-api.git@d8c3dc479e037d4c11599934551a61c410a89601#egg=djangorestframework_jsonapi
ciso8601==1.0.3
django-ace-overlay==0.6
django-bootstrap3==8.2.2
django-countries==4.4
django-debug-toolbar==1.8
#django-extensio... | 548b5f055808c1a3d83e39d1841bed9bc8a0ef26 | requirements/defaults.txt | requirements/defaults.txt | Text |
<|file_sep|>bndtools.utils/src/org/bndtools/utils/workspace/WorkspaceUtils.java.diff
original:
updated:
import org.eclipse.core.runtime.IPath;
<|file_sep|>bndtools.utils/src/org/bndtools/utils/workspace/WorkspaceUtils.java.diff
original:
if (project == null || !project.exists() || !project.isOpen())
... | if (checkProject(p, name)) {
return p;
}
}
return null;
}
public static IProject findCnfProject() throws Exception {
return findOpenProject(ResourcesPlugin.getWorkspace().getRoot(), "cnf");
}
private static boolean checkProject(IProject p... | <|file_sep|>bndtools.utils/src/org/bndtools/utils/workspace/WorkspaceUtils.java.diff
original:
updated:
import org.eclipse.core.runtime.IPath;
<|file_sep|>bndtools.utils/src/org/bndtools/utils/workspace/WorkspaceUtils.java.diff
original:
if (project == null || !project.exists() || !project.isOpen())
... | fca2057402dc0a6accfad39b49f7172cbe92e27c | bndtools.utils/src/org/bndtools/utils/workspace/WorkspaceUtils.java | bndtools.utils/src/org/bndtools/utils/workspace/WorkspaceUtils.java | Java |
<|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
- "0.8"
- "0.6"
before_install:
- "npm install make-node@0.3.x -g"
- "preinstall-compat"
script:
- "make test-cov"
after_success:
<|file_sep|>current/.travis.... | language: "node_js"
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
- "0.8"
- "0.6"
before_install:
- "npm install make-node@0.3.x -g"
- "preinstall-compat"
script: | <|file_sep|>original/.travis.yml
language: "node_js"
node_js:
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
- "0.8"
- "0.6"
before_install:
- "npm install make-node@0.3.x -g"
- "preinstall-compat"
script:
- "make test-cov"
after_success:
<|file_sep|>current/.travis.... | 88dc173acdc0d902a4009f37c21fe83e1ff77641 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
A opinionated scaffold and possibly/eventually framework for a [12factor](12factor.net) node web application.
updated:
A opinionated scaffold and possibly/eventually framework for a [12factor](http://12factor.net) node web application.
<|file_sep|>original/README.md
A opinionated sc... | A opinionated scaffold and possibly/eventually framework for a [12factor](http://12factor.net) node web application.
## Polarbear aims to <sup>[1](#12-factor-footnote)</sup>
* Orchestrate and manage multiple processes for your application using node-foreman
* Sale processes horizontally
* Load balance your applicatio... | <|file_sep|>README.md.diff
original:
A opinionated scaffold and possibly/eventually framework for a [12factor](12factor.net) node web application.
updated:
A opinionated scaffold and possibly/eventually framework for a [12factor](http://12factor.net) node web application.
<|file_sep|>original/README.md
A opinionated sc... | 3bef47c5f59aeaf309b8ef850257d1a276861efe | README.md | README.md | Markdown |
<|file_sep|>original/simpegEM/FDEM/__init__.py
from SurveyFDEM import *
from FDEM import ProblemFDEM_e, ProblemFDEM_b, ProblemFDEM_j, ProblemFDEM_h
<|file_sep|>current/simpegEM/FDEM/__init__.py
from SurveyFDEM import *
from FDEM import ProblemFDEM_e, ProblemFDEM_b, ProblemFDEM_j, ProblemFDEM_h
<|file_sep|>updated/simpe... | from SurveyFDEM import *
from FDEM import BaseFDEMProblem, ProblemFDEM_e, ProblemFDEM_b, ProblemFDEM_j, ProblemFDEM_h, omega | <|file_sep|>original/simpegEM/FDEM/__init__.py
from SurveyFDEM import *
from FDEM import ProblemFDEM_e, ProblemFDEM_b, ProblemFDEM_j, ProblemFDEM_h
<|file_sep|>current/simpegEM/FDEM/__init__.py
from SurveyFDEM import *
from FDEM import ProblemFDEM_e, ProblemFDEM_b, ProblemFDEM_j, ProblemFDEM_h
<|file_sep|>updated/simpe... | 127b90c88d1362e7b10e7bf36dff56b96a5c4f0b | simpegEM/FDEM/__init__.py | simpegEM/FDEM/__init__.py | Python |
<|file_sep|>original/public/js/views/sidebar_view.js
contentWidth: sidebar.width()
});
$("#sidebar_wrapper .jump_to_top").bind("click", function (e) {
var api = $("#sidebar").data("jsp")
if (api) {
api.scrollTo(0, 0);
$(this).removeCla... | contentWidth: sidebar.width()
});
$("#sidebar_wrapper .jump_to_top").bind("click", function (e) {
var api = $("#sidebar").data("jsp")
if (api) {
api.scrollTo(0, 0);
$(this).removeClass("clickable");
}
});
i... | <|file_sep|>original/public/js/views/sidebar_view.js
contentWidth: sidebar.width()
});
$("#sidebar_wrapper .jump_to_top").bind("click", function (e) {
var api = $("#sidebar").data("jsp")
if (api) {
api.scrollTo(0, 0);
$(this).removeCla... | 7438f9092bff0b6098a27c67f8af33dee8e61d30 | public/js/views/sidebar_view.js | public/js/views/sidebar_view.js | JavaScript |
<|file_sep|>original/src/clojure/com/hypirion/primes.clj
(ns com.hypirion.primes
(:import [com.hypirion.primes Primes])
(:refer-clojure :exclude [take get]))
(defn prime? [n]
(Primes/isPrime n))
(defn take [n]
(Primes/take n))
(defn get [n]
(Primes/get n))
(defn take-below [n]
(Primes/takeUnder n))
<|fi... | (ns com.hypirion.primes
(:import [com.hypirion.primes Primes])
(:refer-clojure :exclude [take get]))
(defn prime? [^long n]
(Primes/isPrime n))
(defn take [n]
(Primes/take n))
(defn get [n]
(Primes/get n))
(defn take-below [n]
(Primes/takeUnder n)) | <|file_sep|>original/src/clojure/com/hypirion/primes.clj
(ns com.hypirion.primes
(:import [com.hypirion.primes Primes])
(:refer-clojure :exclude [take get]))
(defn prime? [n]
(Primes/isPrime n))
(defn take [n]
(Primes/take n))
(defn get [n]
(Primes/get n))
(defn take-below [n]
(Primes/takeUnder n))
<|fi... | 4b5912a01970ebf8c4a3033e1239bb252bfaf845 | src/clojure/com/hypirion/primes.clj | src/clojure/com/hypirion/primes.clj | Clojure |
<|file_sep|>original/README.md
# StartupHeroes Checkstyle
Checkstyle corresponding to StartupHeroes's coding conventions.
For more info, please [visit wiki page.](https://github.com/startupheroes/startupheroes-checkstyle/wiki)
<|file_sep|>current/README.md
# StartupHeroes Checkstyle
Checkstyle corresponding to Star... | # StartupHeroes Checkstyle
Checkstyle corresponding to StartupHeroes's coding conventions.
[Download latest checkstyle version](https://bintray.com/startupheroes/maven/download_file?file_path=es%2Fstartuphero%2Fcheckstyle%2Fstartupheroes-checks%2F1.0.15%2Fstartupheroes-checks-1.0.15.jar)
[Raw configuration file](htt... | <|file_sep|>original/README.md
# StartupHeroes Checkstyle
Checkstyle corresponding to StartupHeroes's coding conventions.
For more info, please [visit wiki page.](https://github.com/startupheroes/startupheroes-checkstyle/wiki)
<|file_sep|>current/README.md
# StartupHeroes Checkstyle
Checkstyle corresponding to Star... | 544ecf36f45567e25891c41d983dae801842cc60 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
notifications:
email: false
language: java
jdk: openjdk7
cache:
directories:
- $HOME/.m2
script:
- mvn -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID test jacoco:report coveralls:report
- mvn clean compile assembly:single
- ./src/test/scripts/console/output/verify_3_0_0.sh
- ./src/test/script... | notifications:
email: false
language: java
jdk: openjdk7
cache:
directories:
- $HOME/.m2
script:
# - mvn -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID test jacoco:report coveralls:report
- mvn test
- mvn clean compile assembly:single
- ./src/test/scripts/console/output/verify_3_0_0.sh
- ./src/test/scripts/console/output/ver... | <|file_sep|>original/.travis.yml
notifications:
email: false
language: java
jdk: openjdk7
cache:
directories:
- $HOME/.m2
script:
- mvn -DTRAVIS_JOB_ID=$TRAVIS_JOB_ID test jacoco:report coveralls:report
- mvn clean compile assembly:single
- ./src/test/scripts/console/output/verify_3_0_0.sh
- ./src/test/script... | 30c7c13e86ac8ec6170f3076e261338cc2de14d4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/tasks/emails.rake.diff
original:
User.all.each do |user|
updated:
User.all.find_each do |user|
<|file_sep|>original/lib/tasks/emails.rake
task send_emails: :environment do
next unless PullRequest.in_date_range?
User.all.each do |user|
Notification.new(user).send_email # rescue nil
end
end... | task send_emails: :environment do
next unless PullRequest.in_date_range?
User.all.find_each do |user|
Notification.new(user).send_email # rescue nil
end
end
desc 'Send a november reminder to everyone'
task send_reminder: :environment do
User.where("email <> ''").where.not(email_frequency: 'none').find_eac... | <|file_sep|>lib/tasks/emails.rake.diff
original:
User.all.each do |user|
updated:
User.all.find_each do |user|
<|file_sep|>original/lib/tasks/emails.rake
task send_emails: :environment do
next unless PullRequest.in_date_range?
User.all.each do |user|
Notification.new(user).send_email # rescue nil
end
end... | 942a383ab34089da8a22626bc6afc262622b0681 | lib/tasks/emails.rake | lib/tasks/emails.rake | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.