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|>views/users.erb.diff
original:
<div class="name"><%= user.name %></div>
<div class="flags"><%= user.flags %></div>
updated:
<div class="name">Username: <%= user.name %></div>
<div class="flags">Flags: <%= user.flags %>
<% if @userFlags.include? :set_flags %>
<a href="/set_flags/<%=... | <div class="users">
<% @users.each do |user| %>
<div class="user">
<div class="name">Username: <%= user.name %></div>
<div class="flags">Flags: <%= user.flags %>
<% if @userFlags.include? :set_flags %>
<a href="/set_flags/<%= user.name %>">(set)</a>
<% end %>
</div>
</div>
<% end %>
... | <|file_sep|>views/users.erb.diff
original:
<div class="name"><%= user.name %></div>
<div class="flags"><%= user.flags %></div>
updated:
<div class="name">Username: <%= user.name %></div>
<div class="flags">Flags: <%= user.flags %>
<% if @userFlags.include? :set_flags %>
<a href="/set_flags/<%=... | 50a477bcaeffbb6030581597907f30ee1ec231b5 | views/users.erb | views/users.erb | HTML+ERB |
<|file_sep|>packages/ha/hashtable-benchmark.yaml.diff
original:
hash: 26c63e30b02ca3171fa28dfa304d2780226ad61a3ca070c9da0a6025602f624b
updated:
hash: 7bfbb3bb355b555eb8bd6519ae826b4b5968c02ef32f19fe80fa97262a0eef19
<|file_sep|>packages/ha/hashtable-benchmark.yaml.diff
original:
synopsis: Benchmark of hash table impleme... | - '0.1.1'
author: Hongchang Wu
latest: '0.1.1'
description-type: markdown
description: ! '# Haskell Hash Table Benchmark
[](https://travis-ci.org/hongchangwu/hashtable-benchmark)
Benchmark of implementations of hash table li... | <|file_sep|>packages/ha/hashtable-benchmark.yaml.diff
original:
hash: 26c63e30b02ca3171fa28dfa304d2780226ad61a3ca070c9da0a6025602f624b
updated:
hash: 7bfbb3bb355b555eb8bd6519ae826b4b5968c02ef32f19fe80fa97262a0eef19
<|file_sep|>packages/ha/hashtable-benchmark.yaml.diff
original:
synopsis: Benchmark of hash table impleme... | 8da5ae8c5fa7b27e1d31a85d1dbe7b316c731b78 | packages/ha/hashtable-benchmark.yaml | packages/ha/hashtable-benchmark.yaml | YAML |
<|file_sep|>original/programming/python/installed_packages.py
<|file_sep|>current/programming/python/installed_packages.py
<|file_sep|>updated/programming/python/installed_packages.py | # from http://stackoverflow.com/a/23885252
import pip
installed_packages = pip.get_installed_distributions()
installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
for i in installed_packages])
for package in installed_packages_list:
print package | <|file_sep|>original/programming/python/installed_packages.py
<|file_sep|>current/programming/python/installed_packages.py
<|file_sep|>updated/programming/python/installed_packages.py
# from http://stackoverflow.com/a/23885252
import pip
installed_packages = pip.get_installed_distributions()
installed_packages_list ... | 22a318b760d8332be8526fb755d2cf1f154874fc | programming/python/installed_packages.py | programming/python/installed_packages.py | Python |
<|file_sep|>original/tools/cppcheck_xml.sh
#!/bin/bash
MESON_CURRENT_SOURCE_DIR=${MESON_CURRENT_SOURCE_DIR:-./}
MESON_BUILD_ROOT=${MESON_BUILD_ROOT:-buildresults}
cppcheck --quiet --enable=style --force --xml --xml-version=2 \
-I ${MESON_CURRENT_SOURCE_DIR}/include \
src test \
2>${MESON_BUILD_ROOT}/cppcheck.xml
<... | #!/bin/bash
MESON_CURRENT_SOURCE_DIR=${MESON_CURRENT_SOURCE_DIR:-./}
MESON_BUILD_ROOT=${MESON_BUILD_ROOT:-buildresults}
cppcheck --quiet --enable=style --force --xml --xml-version=2 \
-I ${MESON_CURRENT_SOURCE_DIR}/include \
-I ${MESON_CURRENT_SOURCE_DIR}/dependencies/lib \
src test \
2>${MESON_BUILD_ROOT}/cppche... | <|file_sep|>original/tools/cppcheck_xml.sh
#!/bin/bash
MESON_CURRENT_SOURCE_DIR=${MESON_CURRENT_SOURCE_DIR:-./}
MESON_BUILD_ROOT=${MESON_BUILD_ROOT:-buildresults}
cppcheck --quiet --enable=style --force --xml --xml-version=2 \
-I ${MESON_CURRENT_SOURCE_DIR}/include \
src test \
2>${MESON_BUILD_ROOT}/cppcheck.xml
<... | 3268c136e5915f4aa8ad5dda24841c65d5e4d718 | tools/cppcheck_xml.sh | tools/cppcheck_xml.sh | Shell |
<|file_sep|>PennMobile/src/main/res/layout/include_main.xml.diff
original:
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
updated:
<LinearLayout
<|file_sep|>PennMobile/src/main/res/layout/include_main.xml.diff
original:
android:layout_height="wrap_content">
updated:
... | android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
andr... | <|file_sep|>PennMobile/src/main/res/layout/include_main.xml.diff
original:
<android.support.design.widget.AppBarLayout
android:id="@+id/appbar"
updated:
<LinearLayout
<|file_sep|>PennMobile/src/main/res/layout/include_main.xml.diff
original:
android:layout_height="wrap_content">
updated:
... | b342a7ad9ed08e0a390569f78c16e54a5f897dd0 | PennMobile/src/main/res/layout/include_main.xml | PennMobile/src/main/res/layout/include_main.xml | XML |
<|file_sep|>original/scripts/buildbox.sh
#!/bin/bash
set -e
echo '--- setting ruby version'
rbenv local 2.1.5
echo '--- bundling'
bundle install -j $(nproc) --without production --quiet
echo '--- running specs'
REVISION=https://github.com/$BUILDBOX_PROJECT_SLUG/commit/$BUILDBOX_COMMIT
if bundle exec rake spec; then
... | #!/bin/bash
set -e
echo '--- setting ruby version'
rbenv local 2.3.6
echo '--- bundling'
bundle install -j $(nproc) --without production --quiet
echo '--- running specs'
REVISION=https://github.com/$BUILDBOX_PROJECT_SLUG/commit/$BUILDBOX_COMMIT
if bundle exec rake spec; then
echo "[Successful] $BUILDBOX_PROJECT_SL... | <|file_sep|>original/scripts/buildbox.sh
#!/bin/bash
set -e
echo '--- setting ruby version'
rbenv local 2.1.5
echo '--- bundling'
bundle install -j $(nproc) --without production --quiet
echo '--- running specs'
REVISION=https://github.com/$BUILDBOX_PROJECT_SLUG/commit/$BUILDBOX_COMMIT
if bundle exec rake spec; then
... | 9657046da9c26a9ea977ff06d89ad7cac63c25e0 | scripts/buildbox.sh | scripts/buildbox.sh | Shell |
<|file_sep|>original/demo/www/index.html
<STYLE TYPE="text/css" MEDIA=screen>
<!--
.current-page {
margin: 25px;
width: 60%;
}
-->
</STYLE>
</head>
<body>
<div id="current-page" class="current... | <STYLE TYPE="text/css" MEDIA=screen>
<!--
.current-page {
margin: 25px;
width: 60%;
}
-->
</STYLE>
</head>
<body>
<header class="bar bar-nav">
<a href="/">Home</a>
</header... | <|file_sep|>original/demo/www/index.html
<STYLE TYPE="text/css" MEDIA=screen>
<!--
.current-page {
margin: 25px;
width: 60%;
}
-->
</STYLE>
</head>
<body>
<div id="current-page" class="current... | bacb07ce59ac90ca9d0dc77427d12b86e604b19c | demo/www/index.html | demo/www/index.html | HTML |
<|file_sep|>original/spec/support/coverage_loader.rb
MINIMUM_COVERAGE = 73.5
unless ENV['COVERAGE'] == 'off'
require 'simplecov'
require 'simplecov-rcov'
require 'coveralls'
Coveralls.wear!
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::RcovFormatter,
Coveralls::Si... | MINIMUM_COVERAGE = 73.5
unless ENV['COVERAGE'] == 'off'
require 'simplecov'
require 'simplecov-rcov'
require 'coveralls'
Coveralls.wear!
SimpleCov.formatters = [
SimpleCov::Formatter::RcovFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
add_filter '/vendor/'
add_filter '/s... | <|file_sep|>original/spec/support/coverage_loader.rb
MINIMUM_COVERAGE = 73.5
unless ENV['COVERAGE'] == 'off'
require 'simplecov'
require 'simplecov-rcov'
require 'coveralls'
Coveralls.wear!
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::RcovFormatter,
Coveralls::Si... | 1bdff0e8055edb6012dab1604cd608f753a271c8 | spec/support/coverage_loader.rb | spec/support/coverage_loader.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "iojs"
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "iojs"
notifications:
email: false
<|file_sep|>updated/.travis.yml | language: node_js
sudo: false
node_js:
- "iojs"
notifications:
email: false
after_success:
- npm run coveralls | <|file_sep|>original/.travis.yml
language: node_js
sudo: false
node_js:
- "iojs"
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_js
sudo: false
node_js:
- "iojs"
notifications:
email: false
<|file_sep|>updated/.travis.yml
language: node_js
sudo: false
node_js:
- "iojs"
notifications... | 0279ed91efb92c1a485fa3f8ff6d2dc65dba13a6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>appveyor.yml.diff
original:
updated:
environment:
CARGO_TARGET: x86_64-pc-windows-gnu
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-gnu
<|file_sep|>original/appveyor.yml
install:
- ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.exe'... | environment:
CARGO_TARGET: x86_64-pc-windows-gnu
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-gnu
install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rustc-nightly-${env:TARGET}.tar.gz"
- ps: Start-FileDownload "https://static.rust-lang.org/cargo-dist/cargo-nightly-${e... | <|file_sep|>appveyor.yml.diff
original:
updated:
environment:
CARGO_TARGET: x86_64-pc-windows-gnu
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-gnu
<|file_sep|>original/appveyor.yml
install:
- ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.exe'... | f615ae6fed37a52aa188323821b249b005ed1348 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>packages/create-razzle-app/templates/default/src/index.js.diff
original:
updated:
const noErrors = () => {
try {
require('./server').default;
} catch (error) {
console.error(error);
return false;
}
return true;
};
<|file_sep|>original/packages/create-razzle-app/templa... |
const noErrors = () => {
try {
require('./server').default;
} catch (error) {
console.error(error);
return false;
}
return true;
};
module.hot.accept('./server', () => {
if (noErrors()) {
console.log('🔁 HMR Reloading `./server`...');
server.removeListener('req... | <|file_sep|>packages/create-razzle-app/templates/default/src/index.js.diff
original:
updated:
const noErrors = () => {
try {
require('./server').default;
} catch (error) {
console.error(error);
return false;
}
return true;
};
<|file_sep|>original/packages/create-razzle-app/templa... | c8b55bebd5c4dadb6953dd3e8d94fac084c854d4 | packages/create-razzle-app/templates/default/src/index.js | packages/create-razzle-app/templates/default/src/index.js | JavaScript |
<|file_sep|>original/lang/en_utf8/help/quiz/decimalplacesquestion.html
<|file_sep|>current/lang/en_utf8/help/quiz/decimalplacesquestion.html
<|file_sep|>updated/lang/en_utf8/help/quiz/decimalplacesquestion.html | <h1>Decimal places in question grades</h1>
<p>You can choose a different precision to use when displaying the grades for
individual quesitons, as opposed to the overall quiz score. For example,
you may wish the final score for the quiz to be rounded to the nearest
whole number, while still having fractional scores for... | <|file_sep|>original/lang/en_utf8/help/quiz/decimalplacesquestion.html
<|file_sep|>current/lang/en_utf8/help/quiz/decimalplacesquestion.html
<|file_sep|>updated/lang/en_utf8/help/quiz/decimalplacesquestion.html
<h1>Decimal places in question grades</h1>
<p>You can choose a different precision to use when displaying ... | 08b2b79b4e970c4d1edfdbda37bb95096750a724 | lang/en_utf8/help/quiz/decimalplacesquestion.html | lang/en_utf8/help/quiz/decimalplacesquestion.html | HTML |
<|file_sep|>.travis.yml.diff
original:
- .pip_download_cache
updated:
- $HOME/.cache/pip
<|file_sep|>.travis.yml.diff
original:
- PIP_DOWNLOAD_CACHE=".pip_download_cache"
updated:
<|file_sep|>original/.travis.yml
- "$HOME/virtualenv/python2.7.9"
env:
matrix:
- DB=sqlite
- DB=mysql
- DB=po... | - "$HOME/virtualenv/python2.7.9"
env:
matrix:
- DB=sqlite
- DB=mysql
- DB=postgres
global:
- SENTRY_LIGHT_BUILD=1
- SKIP_BACKEND_VALIDATION=1
install:
- python -m pip install --upgrade pip==7.1.2
- time make develop dev-postgres dev-mysql
before_script:
- mysql -e 'create database sent... | <|file_sep|>.travis.yml.diff
original:
- .pip_download_cache
updated:
- $HOME/.cache/pip
<|file_sep|>.travis.yml.diff
original:
- PIP_DOWNLOAD_CACHE=".pip_download_cache"
updated:
<|file_sep|>original/.travis.yml
- "$HOME/virtualenv/python2.7.9"
env:
matrix:
- DB=sqlite
- DB=mysql
- DB=po... | 9aeb16ff89a45bfd6b1fa9a0a754577dbe71cacd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/db/seeds/prisons/VEI-the-verne.yml
nomis_id: VEI
address: |-
Verne Common Road
Portland
Dorset
postcode: DT5 1EQ
email_address: socialvisits.theverne@hmps.gsi.gov.uk
phone_no: 01305 825014 - Monday to Friday, 2:00pm to 4:00pm. Closed weekends and public holidays.
enabled: true
private: false
... | Verne Common Road
Portland
Dorset
postcode: DT5 1EQ
email_address: socialvisits.theverne@hmps.gsi.gov.uk
phone_no: 01305 825014 - Monday to Friday, 2:00pm to 4:00pm. Closed weekends and public holidays.
enabled: true
private: false
lead_days: 4
closed: false
recurring:
tue:
- 1400-1600
wed:
- 1400-1600
... | <|file_sep|>original/db/seeds/prisons/VEI-the-verne.yml
nomis_id: VEI
address: |-
Verne Common Road
Portland
Dorset
postcode: DT5 1EQ
email_address: socialvisits.theverne@hmps.gsi.gov.uk
phone_no: 01305 825014 - Monday to Friday, 2:00pm to 4:00pm. Closed weekends and public holidays.
enabled: true
private: false
... | beba56efea298f34c92a74e5c3d87ceb92958f77 | db/seeds/prisons/VEI-the-verne.yml | db/seeds/prisons/VEI-the-verne.yml | YAML |
<|file_sep|>original/README.rst
django-switch-user
======================================
Django Switch User is a reuasable application that allows users to assume the
identify of another user. It can be helpful when debugging user issues.
Django Switch User assumes you are using a Django model backend for your user.
... | django-switch-user
======================================
Django Switch User is a reuasable application that allows users to assume the
identify of another user. It can be helpful when debugging user issues.
Django Switch User assumes you are using a Django model backend for your user.
Beginning with the django-switc... | <|file_sep|>original/README.rst
django-switch-user
======================================
Django Switch User is a reuasable application that allows users to assume the
identify of another user. It can be helpful when debugging user issues.
Django Switch User assumes you are using a Django model backend for your user.
... | 0d87403627140eb2f1d1090a60a0b03738554d34 | README.rst | README.rst | reStructuredText |
<|file_sep|>app/views/sermons/index.html.haml.diff
original:
updated:
.col-md-3
.section
%h3 Sidebar
%p This is my sidebar!
%p Over here, maybe we can put some controls and stuff.
%p Maybe like a search box and whatever, some filters for like date, speaker, etc
.col-md-9
<|file_sep|>original/app/v... | .section
%h1 Sermons
%p Here's a sermons page header. Yeah!
.col-md-3
.section
%h3 Sidebar
%p This is my sidebar!
%p Over here, maybe we can put some controls and stuff.
%p Maybe like a search box and whatever, some filters for like date, speaker, etc
.col-md-9
- @sermons.each do |s|
.se... | <|file_sep|>app/views/sermons/index.html.haml.diff
original:
updated:
.col-md-3
.section
%h3 Sidebar
%p This is my sidebar!
%p Over here, maybe we can put some controls and stuff.
%p Maybe like a search box and whatever, some filters for like date, speaker, etc
.col-md-9
<|file_sep|>original/app/v... | b62a63170f715bb6f3577701015ffeeb40cb387a | app/views/sermons/index.html.haml | app/views/sermons/index.html.haml | Haml |
<|file_sep|>app/controllers/locations_controller.rb.diff
original:
updated:
before_action :set_postcode
<|file_sep|>app/controllers/locations_controller.rb.diff
original:
return render :search unless params[:postcode].present?
updated:
return render :search unless @postcode.present?
<|file_sep|>app/controlle... | end
private
def locations
Locations.nearest_to_postcode(@postcode, limit: 5)
end
def set_breadcrumbs
breadcrumb Breadcrumb.book_an_appointment
breadcrumb Breadcrumb.how_to_book
end
def set_postcode
@postcode = params[:postcode]
end
def send_cache_headers
expires_in Rails.appli... | <|file_sep|>app/controllers/locations_controller.rb.diff
original:
updated:
before_action :set_postcode
<|file_sep|>app/controllers/locations_controller.rb.diff
original:
return render :search unless params[:postcode].present?
updated:
return render :search unless @postcode.present?
<|file_sep|>app/controlle... | 6be1f029eb71f05baf7365bcaae062c24bb9b033 | app/controllers/locations_controller.rb | app/controllers/locations_controller.rb | Ruby |
<|file_sep|>pom.xml.diff
original:
<groupId>ibessonov</groupId>
updated:
<groupId>org.ibess</groupId>
<|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http... | <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ibess</groupId>
<artifactId>cdi</art... | <|file_sep|>pom.xml.diff
original:
<groupId>ibessonov</groupId>
updated:
<groupId>org.ibess</groupId>
<|file_sep|>original/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http... | bf35e748ea4ec27d4f7ae543cfb6769b3483ed3b | pom.xml | pom.xml | XML |
<|file_sep|>README.md.diff
original:
Olio
updated:
[](https://github.com/bigeasy/olio/actions)
[](https://codecov.io/gh/bigeasy/olio)
[](https://github.com/bigeasy/olio/actions)
[](https://codecov.io/gh/bigeasy/olio)
[](https://op... | <|file_sep|>README.md.diff
original:
Olio
updated:
[](https://github.com/bigeasy/olio/actions)
[](https://codecov.io/gh/bigeasy/olio)
[ => {
switch (moneyField.currencyCode) {
case "USD":
return moneyField.amount * 100
default:
throw new Error("Unknown currency, cann... | interface MoneyField {
amount: number
currencyCode: String
}
export const moneyFieldToUnit = (moneyField: MoneyField) => {
// this currently only supports currencies with cents
// and multiply the major value to 100 to get cent value
return moneyField.amount * 100
} | <|file_sep|>original/src/lib/moneyHelper.ts
interface MoneyField {
amount: number
currencyCode: String
}
export const moneyFieldToUnit = (moneyField: MoneyField) => {
switch (moneyField.currencyCode) {
case "USD":
return moneyField.amount * 100
default:
throw new Error("Unknown currency, cann... | 9454a664a3e92820cac3a8435eb591dd4cbfc275 | src/lib/moneyHelper.ts | src/lib/moneyHelper.ts | TypeScript |
<|file_sep|>original/.codenvy.dockerfile
&& apt-get install -y neovim zsh ssh git curl \
sudo python-pip make binutils bison gcc build-essential \
&& chsh -s /usr/bin/zsh \
&& rm /bin/sh \
&& ln -s /bin/zsh /bin/sh \
&& useradd -m iladin \
&& echo "iladin ALL=(ALL) NOPASSWD:ALL" >> /e... | && chsh -s /usr/bin/zsh \
&& rm /bin/sh \
&& ln -s /bin/zsh /bin/sh \
&& useradd -m iladin \
&& echo "iladin ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
&& chsh -s /bin/zsh iladin \
&& chown -R iladin:iladin /home/iladin \
&& pip install powerline-status \
&& rm -rf /var/lib/apt/lists... | <|file_sep|>original/.codenvy.dockerfile
&& apt-get install -y neovim zsh ssh git curl \
sudo python-pip make binutils bison gcc build-essential \
&& chsh -s /usr/bin/zsh \
&& rm /bin/sh \
&& ln -s /bin/zsh /bin/sh \
&& useradd -m iladin \
&& echo "iladin ALL=(ALL) NOPASSWD:ALL" >> /e... | 0c2ef130a8b72953de2ef8a80d5bc72c90db6a03 | .codenvy.dockerfile | .codenvy.dockerfile | Dockerfile |
<|file_sep|>original/README.md
# DOMQuery
Skinny library to touch the DOM for modern browsers
<|file_sep|>current/README.md
# DOMQuery
Skinny library to touch the DOM for modern browsers
<|file_sep|>updated/README.md | # DOMQuery
Skinny library to touch the DOM for modern browsers
## Build
### 1. Install dependancies
In root folder run:
```sh
$ npm install
```
### 2. Build files for production
In the root folder run:
```sh
$ npm run build
```
This will create a ```dist``` folder containing the distributable files. (unminified and ... | <|file_sep|>original/README.md
# DOMQuery
Skinny library to touch the DOM for modern browsers
<|file_sep|>current/README.md
# DOMQuery
Skinny library to touch the DOM for modern browsers
<|file_sep|>updated/README.md
# DOMQuery
Skinny library to touch the DOM for modern browsers
## Build
### 1. Install dependancies
I... | 4279d2ac71e194ffd8e0a461fcf4494a81461928 | README.md | README.md | Markdown |
<|file_sep|>original/Assets/PrimativeCreator/Editor/PrimitiveCreatorSaveData.cs
namespace RedBlueGames.ToolsExamples
{
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PrimitiveCreatorSaveData : ScriptableObject
{
public List<PrimitiveCreator.Conf... | namespace RedBlueGames.ToolsExamples
{
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PrimitiveCreatorSaveData : ScriptableObject
{
public List<PrimitiveCreator.Config> ConfigPresets;
private void OnEnable()
{
if (th... | <|file_sep|>original/Assets/PrimativeCreator/Editor/PrimitiveCreatorSaveData.cs
namespace RedBlueGames.ToolsExamples
{
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PrimitiveCreatorSaveData : ScriptableObject
{
public List<PrimitiveCreator.Conf... | 3ec91c58b823d3f4c8ff6afe0c2a0d5aa1a09be7 | Assets/PrimativeCreator/Editor/PrimitiveCreatorSaveData.cs | Assets/PrimativeCreator/Editor/PrimitiveCreatorSaveData.cs | C# |
<|file_sep|>setup.py.diff
original:
version="0.1.1",
updated:
version="0.1.2",
<|file_sep|>original/setup.py
)
setup(
name='alburnum-maas-client',
author='Gavin Panella',
author_email='gavinpanella@gmail.com',
url='https://github.com/alburnum/alburnum-maas-client',
version="0.1.1",
cla... | setup(
name='alburnum-maas-client',
author='Gavin Panella',
author_email='gavinpanella@gmail.com',
url='https://github.com/alburnum/alburnum-maas-client',
version="0.1.2",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audien... | <|file_sep|>setup.py.diff
original:
version="0.1.1",
updated:
version="0.1.2",
<|file_sep|>original/setup.py
)
setup(
name='alburnum-maas-client',
author='Gavin Panella',
author_email='gavinpanella@gmail.com',
url='https://github.com/alburnum/alburnum-maas-client',
version="0.1.1",
cla... | 4eea07a5f0a23ff71729c5b24a4886a08bf7f6b5 | setup.py | setup.py | Python |
<|file_sep|>original/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb
<|file_sep|>current/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb
<|file_sep|>updated/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb | module Sastrawi
module Morphology
module Disambiguator
class DisambiguatorPrefixRule36
def disambiguate(word)
contains = /^pe([bcdfghjkpqstvxz])(er[bcdfghjklmnpqrstvwxyz])(.*)$/.match(word)
if contains
matches = contains.captures
return matches[0] << mat... | <|file_sep|>original/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb
<|file_sep|>current/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb
<|file_sep|>updated/lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb
module Sastrawi
module Morphology
module Dis... | f7b991e4bcc380ea7cc232ca968e2a189bdb8ec8 | lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb | lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule36.rb | Ruby |
<|file_sep|>original/summit_xl_navigation/config/costmap_common_params.yaml
footprint: [[0.35, -0.3], [0.35, 0.3], [-0.35,0.3], [-0.35, -0.3]]
publish_frequency: 1.0
inflation_layer:
inflation_radius: 0.3
obstacle_laser_layer:
obstacle_range: 2.5
raytrace_range: 5.5
observation_sources: front_laser rear_lase... | footprint: [[0.375, -0.34], [0.375, 0.34], [-0.375,0.34], [-0.375, -0.34]]
publish_frequency: 1.0
inflation_layer:
inflation_radius: 0.3
obstacle_laser_layer:
obstacle_range: 2.5
raytrace_range: 5.5
observation_sources: front_laser rear_laser
front_laser:
sensor_frame: robot_front_laser_link
data_... | <|file_sep|>original/summit_xl_navigation/config/costmap_common_params.yaml
footprint: [[0.35, -0.3], [0.35, 0.3], [-0.35,0.3], [-0.35, -0.3]]
publish_frequency: 1.0
inflation_layer:
inflation_radius: 0.3
obstacle_laser_layer:
obstacle_range: 2.5
raytrace_range: 5.5
observation_sources: front_laser rear_lase... | 74b730d2d1545a13af18210403a7fddd23ee7900 | summit_xl_navigation/config/costmap_common_params.yaml | summit_xl_navigation/config/costmap_common_params.yaml | YAML |
<|file_sep|>original/upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php
<?php
class SV_WordCountSearch_XenForo_Search_DataHandler_Thread extends XFCP_SV_WordCountSearch_XenForo_Search_DataHandler_Thread
{
protected function _insertIntoIndex(XenForo_Search_Indexer $indexer, array $data, array $... | <?php
class SV_WordCountSearch_XenForo_Search_DataHandler_Thread extends XFCP_SV_WordCountSearch_XenForo_Search_DataHandler_Thread
{
protected function _insertIntoIndex(XenForo_Search_Indexer $indexer, array $data, array $parentData = null)
{
$wordcount = 0;
if (!empty($data['threadmark_count'... | <|file_sep|>original/upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php
<?php
class SV_WordCountSearch_XenForo_Search_DataHandler_Thread extends XFCP_SV_WordCountSearch_XenForo_Search_DataHandler_Thread
{
protected function _insertIntoIndex(XenForo_Search_Indexer $indexer, array $data, array $... | 5c7618bb5d50905afda75fa5f8bfc3975f325249 | upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php | upload/library/SV/WordCountSearch/XenForo/Search/DataHandler/Thread.php | PHP |
<|file_sep|>original/t/003_AliTV-Base-new.t
use strict;
use warnings;
use Test::More;
BEGIN { use_ok('AliTV::Base') };
can_ok('AliTV::Base', qw(new));
done_testing;
<|file_sep|>current/t/003_AliTV-Base-new.t
use strict;
use warnings;
use Test::More;
BEGIN { use_ok('AliTV::Base') };
can_ok('AliTV::Base', qw(new));
... | use strict;
use warnings;
use Test::More;
BEGIN { use_ok('AliTV::Base') };
can_ok('AliTV::Base', qw(new));
my $obj = new_ok('AliTV::Base');
done_testing; | <|file_sep|>original/t/003_AliTV-Base-new.t
use strict;
use warnings;
use Test::More;
BEGIN { use_ok('AliTV::Base') };
can_ok('AliTV::Base', qw(new));
done_testing;
<|file_sep|>current/t/003_AliTV-Base-new.t
use strict;
use warnings;
use Test::More;
BEGIN { use_ok('AliTV::Base') };
can_ok('AliTV::Base', qw(new));
... | 004c224f548f6bb5153d1e0d878208f2e3c3a96d | t/003_AliTV-Base-new.t | t/003_AliTV-Base-new.t | Perl |
<|file_sep|>original/.github/workflows/greetings.yml
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: '🧡 Thanks a lot for opening your first is... | name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thanks a lot for opening your first issue with us! 🧡 We''ll get back to you shortly! ⏳ If it ... | <|file_sep|>original/.github/workflows/greetings.yml
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: '🧡 Thanks a lot for opening your first is... | 1b667621d40c85d36f7f50fef4d257b6f773ac3a | .github/workflows/greetings.yml | .github/workflows/greetings.yml | YAML |
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt
# PRECAUTION: avoid production dependencies that aren't in development
-r ./base.txt
gunicorn==19.9.0 # https://github.com/benoitc/gunicorn
psycopg2==2.8.3 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
{%- if cookiecutter.us... | # PRECAUTION: avoid production dependencies that aren't in development
-r ./base.txt
gunicorn==19.9.0 # https://github.com/benoitc/gunicorn
psycopg2==2.8.3 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
{%- if cookiecutter.use_whitenoise == 'n' %}
Collectfast==1.3.0 # https://github.com/antonagestam/co... | <|file_sep|>original/{{cookiecutter.project_slug}}/requirements/production.txt
# PRECAUTION: avoid production dependencies that aren't in development
-r ./base.txt
gunicorn==19.9.0 # https://github.com/benoitc/gunicorn
psycopg2==2.8.3 --no-binary psycopg2 # https://github.com/psycopg/psycopg2
{%- if cookiecutter.us... | 3f0134a64b2dd148af1e59de4ce75780096f5d2b | {{cookiecutter.project_slug}}/requirements/production.txt | {{cookiecutter.project_slug}}/requirements/production.txt | Text |
<|file_sep|>original/glaciercmd/command_create_inventory_job_for_vault.py
<|file_sep|>current/glaciercmd/command_create_inventory_job_for_vault.py
<|file_sep|>updated/glaciercmd/command_create_inventory_job_for_vault.py | import boto
import datetime
class CommandCreateInventoryJobForVault(object):
def execute(self, args, config):
glacier_connection = boto.connect_glacier(aws_access_key_id=config.get('configuration', 'aws_key'), aws_secret_access_key=config.get('configuration', 'aws_secret'))
try:
vault = glacier_conne... | <|file_sep|>original/glaciercmd/command_create_inventory_job_for_vault.py
<|file_sep|>current/glaciercmd/command_create_inventory_job_for_vault.py
<|file_sep|>updated/glaciercmd/command_create_inventory_job_for_vault.py
import boto
import datetime
class CommandCreateInventoryJobForVault(object):
def execute(self,... | 4bde5fdb6eb8d87be42621c8c5ec9d68e5810d3a | glaciercmd/command_create_inventory_job_for_vault.py | glaciercmd/command_create_inventory_job_for_vault.py | Python |
<|file_sep|>original/CTestCustom.cmake.in
SET(CTEST_EXTRA_COVERAGE_GLOB "*.php")
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
"/tests/"
"/testing/"
"/append_coverage.php"
"/prepend_coverage.php"
)
<|file_sep|>current/CTestCustom.cmake.in
SET(CTEST_EXTRA_COVERAGE_GLOB "*.php")
SET(CTE... | SET(CTEST_EXTRA_COVERAGE_GLOB "*.php")
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
"[/\\\\]tests[/\\\\]"
"[/\\\\]testing[/\\\\]"
"[/\\\\]append_coverage.php"
"[/\\\\]prepend_coverage.php"
) | <|file_sep|>original/CTestCustom.cmake.in
SET(CTEST_EXTRA_COVERAGE_GLOB "*.php")
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
"/tests/"
"/testing/"
"/append_coverage.php"
"/prepend_coverage.php"
)
<|file_sep|>current/CTestCustom.cmake.in
SET(CTEST_EXTRA_COVERAGE_GLOB "*.php")
SET(CTE... | 614b2a2ef939f21268dc9cd07bad757f83ff13ac | CTestCustom.cmake.in | CTestCustom.cmake.in | unknown |
<|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/kszatan/gocd-phabricator-staging-material)
<|file_sep|>original/README.md
# gocd-phabricator-staging-material
GoCD SCM plugin for handling Phabricato... | [](https://travis-ci.org/kszatan/gocd-phabricator-staging-material)
# gocd-phabricator-staging-material
GoCD SCM plugin for handling Phabricator staging areas.
## Requirements
[GoCD](https://gocd.org) >= 17.4.0
## Inst... | <|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/kszatan/gocd-phabricator-staging-material)
<|file_sep|>original/README.md
# gocd-phabricator-staging-material
GoCD SCM plugin for handling Phabricato... | fa27fe39e428e20e4aa8f4983c194aa075ceb3c5 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
---
language: "node_js"
node_js: [ "4", "5" ]
sudo: false
script: ['npm run test', 'npm run lint']
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js: [ "4", "5" ]
sudo: false
script: ['npm run test', 'npm run lint']
<|file_sep|>updated/.travis.yml | ---
language: "node_js"
node_js: [ "4", "node" ]
sudo: false
script: ['npm run test', 'npm run lint'] | <|file_sep|>original/.travis.yml
---
language: "node_js"
node_js: [ "4", "5" ]
sudo: false
script: ['npm run test', 'npm run lint']
<|file_sep|>current/.travis.yml
---
language: "node_js"
node_js: [ "4", "5" ]
sudo: false
script: ['npm run test', 'npm run lint']
<|file_sep|>updated/.travis.yml
---
language: "node_js"
n... | bc23ec7e08527d610dd3ac229725b64dc95720f5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/eu.kanade.tachiyomi.txt.diff
original:
updated:
Build:0.2.2,8
commit=v0.2.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/eu.kanade.tachiyomi.txt
gradle=yes
Build:0.1.4,5
commit=v0.1.4
subdir=app
gradle=yes
Build:0.2.0,6
commit=v0.2.0
subdir=app
gra... | gradle=yes
Build:0.2.0,6
commit=v0.2.0
subdir=app
gradle=yes
Build:0.2.1,7
commit=v0.2.1
subdir=app
gradle=yes
Build:0.2.2,8
commit=v0.2.2
subdir=app
gradle=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:0.2.2
Current Version Code:8 | <|file_sep|>metadata/eu.kanade.tachiyomi.txt.diff
original:
updated:
Build:0.2.2,8
commit=v0.2.2
subdir=app
gradle=yes
<|file_sep|>original/metadata/eu.kanade.tachiyomi.txt
gradle=yes
Build:0.1.4,5
commit=v0.1.4
subdir=app
gradle=yes
Build:0.2.0,6
commit=v0.2.0
subdir=app
gra... | 2fee90b29def79a3610da121f03a67ea8455c855 | metadata/eu.kanade.tachiyomi.txt | metadata/eu.kanade.tachiyomi.txt | Text |
<|file_sep|>original/requirements-dev.txt
-r requirements.txt
flake8==3.7.7
pytest==4.4.1
pytest-cov==2.6.1
pytest-django==3.4.8
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
flake8==3.7.7
pytest==4.4.1
pytest-cov==2.6.1
pytest-django==3.4.8
<|file_sep|>updated/requirements-dev.txt | -r requirements.txt
flake8==3.7.7
pytest==4.4.1
pytest-cov==2.7.1
pytest-django==3.4.8 | <|file_sep|>original/requirements-dev.txt
-r requirements.txt
flake8==3.7.7
pytest==4.4.1
pytest-cov==2.6.1
pytest-django==3.4.8
<|file_sep|>current/requirements-dev.txt
-r requirements.txt
flake8==3.7.7
pytest==4.4.1
pytest-cov==2.6.1
pytest-django==3.4.8
<|file_sep|>updated/requirements-dev.txt
-r requirements.txt
fl... | 04b7cefcca5747709c6fe4be831b9c4d4fe95785 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/stack.yaml
resolver: lts-9.6
extra-deps:
- configurator-ng-0.0.0.1
- critbit-0.2.0.0
- hjsonpointer-1.1.1
- hjsonschema-1.5.0.1
- Ranged-sets-0.3.0
- protolude-0.2.2
- hasql-1.1
- hasql-pool-0.4.3
- hasql-transaction-0.5.2
- jose-0.7.0.0
ghc-options:
postgrest: -O2 -Werror -Wa... | resolver: lts-9.6
extra-deps:
- configurator-ng-0.0.0.1
- critbit-0.2.0.0
- hjsonpointer-1.1.1
- hjsonschema-1.5.0.1
- Ranged-sets-0.3.0
- protolude-0.2.2
- hasql-1.1
- hasql-pool-0.4.3
- hasql-transaction-0.5.2
- jose-0.7.0.0
- postgresql-libpq-0.9.4.1
ghc-options:
postgrest: -O2 -Werror -Wall ... | <|file_sep|>original/stack.yaml
resolver: lts-9.6
extra-deps:
- configurator-ng-0.0.0.1
- critbit-0.2.0.0
- hjsonpointer-1.1.1
- hjsonschema-1.5.0.1
- Ranged-sets-0.3.0
- protolude-0.2.2
- hasql-1.1
- hasql-pool-0.4.3
- hasql-transaction-0.5.2
- jose-0.7.0.0
ghc-options:
postgrest: -O2 -Werror -Wa... | 8cf68c63d97ad2b2996cd96b976a2a92ad7fd050 | stack.yaml | stack.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
# - 5.3 # requires old distro, see below
<|file_sep|>.travis.yml.diff
original:
updated:
- hhvm # ignore errors, see below
<|file_sep|>.travis.yml.diff
original:
dist: precise
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
# also test against HHVM... | - 5.5
- 5.6
- 7
- hhvm # ignore errors, see below
# lock distro so new future defaults will not break the build
dist: trusty
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: hhvm
sudo: false
install:
- composer install --no-interaction
script: | <|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
# - 5.3 # requires old distro, see below
<|file_sep|>.travis.yml.diff
original:
updated:
- hhvm # ignore errors, see below
<|file_sep|>.travis.yml.diff
original:
dist: precise
updated:
dist: trusty
<|file_sep|>.travis.yml.diff
original:
# also test against HHVM... | c014b696fb3384ce04aad8ba20c0386fe3f5e5d0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/browser/pages/finish/templates/success.tpl.html
<div class="row around-xs">
<div class="col-xs">
<div class="box text-center">
<h3><span class="tick tick--success" class="space-right-tiny"></span> Burn Complete!</h3>
<p class="soft" ng-show="finish.settings.unmountOnSuccess">S... | <div class="row around-xs">
<div class="col-xs">
<div class="box text-center">
<h3><span class="tick tick--success" class="space-right-tiny"></span> Burn Complete!</h3>
<p class="soft space-vertical-medium" ng-show="finish.settings.unmountOnSuccess">Safely ejected and ready for use</p>
<div cla... | <|file_sep|>original/lib/browser/pages/finish/templates/success.tpl.html
<div class="row around-xs">
<div class="col-xs">
<div class="box text-center">
<h3><span class="tick tick--success" class="space-right-tiny"></span> Burn Complete!</h3>
<p class="soft" ng-show="finish.settings.unmountOnSuccess">S... | 10b714a2ce4008bb6dc44bc82a81e03313332573 | lib/browser/pages/finish/templates/success.tpl.html | lib/browser/pages/finish/templates/success.tpl.html | HTML |
<|file_sep|>package.json.diff
original:
"start": "webpack --progress --colors",
updated:
"start": "webpack --progress --colors && http-server",
<|file_sep|>original/package.json
"test:watch": "nodemon --exec jasmine",
"compile": "webpack --progress --colors",
"dev": "webpack-dev-server --progress --... | "compile": "webpack --progress --colors",
"dev": "webpack-dev-server --progress --colors"
},
"keywords": [],
"author": "Juan Carlos Medina",
"license": "ISC",
"devDependencies": {
"jasmine": "^2.4.1",
"nodemon": "^1.9.1",
"webpack-dev-server": "^1.14.1"
},
"dependencies": {
"backbo... | <|file_sep|>package.json.diff
original:
"start": "webpack --progress --colors",
updated:
"start": "webpack --progress --colors && http-server",
<|file_sep|>original/package.json
"test:watch": "nodemon --exec jasmine",
"compile": "webpack --progress --colors",
"dev": "webpack-dev-server --progress --... | c3944abe3f78786d243776d6493e2c376c5fcd4e | package.json | package.json | JSON |
<|file_sep|>original/requirements/doc.txt
sphinx==1.7.6
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.7.6
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt | sphinx==1.7.7
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1 | <|file_sep|>original/requirements/doc.txt
sphinx==1.7.6
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.7.6
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt
sphinx==1.7.7
alagitpull==0.0.21
relea... | 6be08fe31c68bee6514a5d8b594a4ffdb3311873 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/Forge/src/main/resources/META-INF/mods.toml
modLoader = "javafml"
loaderVersion = "[41,)"
license = "${mod_license}"
issueTrackerURL = "${mod_issues}"
logoFile = "logo.png"
logoBlur = false
[[mods]]
modId = "${mod_id}"
updateJSONURL = "https://updates.blamejared.com/get?n=${mod_id}&gv=${minecraft_... | modLoader = "javafml"
loaderVersion = "[41,)"
license = "${mod_license}"
issueTrackerURL = "${mod_issues}"
logoFile = "logo.png"
logoBlur = false
[[mods]]
modId = "${mod_id}"
displayTest="IGNORE_ALL_VERSION"
updateJSONURL = "https://updates.blamejared.com/get?n=${mod_id}&gv=${minecraft_version}"
version = "${file.jarV... | <|file_sep|>original/Forge/src/main/resources/META-INF/mods.toml
modLoader = "javafml"
loaderVersion = "[41,)"
license = "${mod_license}"
issueTrackerURL = "${mod_issues}"
logoFile = "logo.png"
logoBlur = false
[[mods]]
modId = "${mod_id}"
updateJSONURL = "https://updates.blamejared.com/get?n=${mod_id}&gv=${minecraft_... | 6afe1bc3c6d35ba3271feeba59d841bf84cc7f78 | Forge/src/main/resources/META-INF/mods.toml | Forge/src/main/resources/META-INF/mods.toml | TOML |
<|file_sep|>unit-tests/ci/install_zephir_parser.sh.diff
original:
updated:
<|file_sep|>original/unit-tests/ci/install_zephir_parser.sh
set -o errexit
# Ensure that this is being run inside a CI container
if [ "${CI}" != "true" ]; then
echo "This script is designed to run inside a CI container only. Exiting"
... | echo "This script is designed to run inside a CI container only. Exiting"
exit 1
fi
CURRENT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
TRAVIS_BUILD_DIR="${TRAVIS_BUILD_DIR:-$(dirname $(dirname $CURRENT_DIR))}"
PARSER_DIR=$HOME/zephir-parser-${ZEPHIR_PARSER_VERSION}
# Use Travis cache
if [ ! -f ${P... | <|file_sep|>unit-tests/ci/install_zephir_parser.sh.diff
original:
updated:
<|file_sep|>original/unit-tests/ci/install_zephir_parser.sh
set -o errexit
# Ensure that this is being run inside a CI container
if [ "${CI}" != "true" ]; then
echo "This script is designed to run inside a CI container only. Exiting"
... | e7ea6bcf50cf4bf24cc3c09eab74e31b1ad097c6 | unit-tests/ci/install_zephir_parser.sh | unit-tests/ci/install_zephir_parser.sh | Shell |
<|file_sep|>original/.travis.yml
language: ruby
env:
- DB=
- DB=sqlite
- DB=postgres
- DB=mysql
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.0
- jruby-19mode
- rbx-2
gemfile:
- Gemfile
- gemfiles/Gemfile.ruby1.9.3
matrix:
exclude:
- rvm: 1.9.3
gemfile: Gemfile
- rvm: 2.0.0
<|file_sep|>curr... | language: ruby
sudo: false
env:
- DB=
- DB=sqlite
- DB=postgres
- DB=mysql
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.0
- jruby-19mode
- rbx-2
gemfile:
- Gemfile
- gemfiles/Gemfile.ruby1.9.3
matrix:
exclude:
- rvm: 1.9.3
gemfile: Gemfile | <|file_sep|>original/.travis.yml
language: ruby
env:
- DB=
- DB=sqlite
- DB=postgres
- DB=mysql
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.2.0
- jruby-19mode
- rbx-2
gemfile:
- Gemfile
- gemfiles/Gemfile.ruby1.9.3
matrix:
exclude:
- rvm: 1.9.3
gemfile: Gemfile
- rvm: 2.0.0
<|file_sep|>curr... | ff892bc37726f80bd25c285a0a9df6c712bce694 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java
private final LogstashFieldNames logstashFieldNames = new LogstashFieldNames();
{
// These are fields we want ignored for all LogstashEncoders
logstashFieldNames.setLevelValue("[ignore]");
logstashFieldNames.setVe... | private final LogstashFieldNames logstashFieldNames = new LogstashFieldNames();
{
// These are fields we want ignored for all LogstashEncoders
logstashFieldNames.setLevelValue("[ignore]");
logstashFieldNames.setVersion("[ignore]");
}
public CustomLogstashEncoder() {
super();
}
public Cust... | <|file_sep|>original/src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java
private final LogstashFieldNames logstashFieldNames = new LogstashFieldNames();
{
// These are fields we want ignored for all LogstashEncoders
logstashFieldNames.setLevelValue("[ignore]");
logstashFieldNames.setVe... | 6733b7a387e2c19d4cd7ec4ef1dfffa2b26e603c | src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java | src/main/java/com/spotify/logging/logback/CustomLogstashEncoder.java | Java |
<|file_sep|>tests/CroquetAustralia.WebApi.Specifications/Features/tournaments/index.feature.diff
original:
Feature: /tournaments
updated:
Feature: GET /tournaments
<|file_sep|>tests/CroquetAustralia.WebApi.Specifications/Features/tournaments/index.feature.diff
original:
updated:
# todo: Add all tournaments
<|file_se... | Feature: GET /tournaments
# todo: Add all tournaments
@ignore @todo
Scenario Outline: happy path
When get /tournaments
Then result should contain starts <starts>
And result should contain discipline <discipline>
And result should contain slug <slug>
Examples:
| starts | discipline | s... | <|file_sep|>tests/CroquetAustralia.WebApi.Specifications/Features/tournaments/index.feature.diff
original:
Feature: /tournaments
updated:
Feature: GET /tournaments
<|file_sep|>tests/CroquetAustralia.WebApi.Specifications/Features/tournaments/index.feature.diff
original:
updated:
# todo: Add all tournaments
<|file_se... | 6d617d3f4ff4e2bbfe404aecd70c5abd4772406f | tests/CroquetAustralia.WebApi.Specifications/Features/tournaments/index.feature | tests/CroquetAustralia.WebApi.Specifications/Features/tournaments/index.feature | Cucumber |
<|file_sep|>packages/la/language-vhdl.yaml.diff
original:
hash: efe9e29bfbd8fd12edd85a8f32516057e3a3c66365d4fdbb054b941da83d0cac
updated:
hash: 4e7e805fc66242550fca9b1565f171785f098ee003819b9af2dd1f3a7bd17769
<|file_sep|>packages/la/language-vhdl.yaml.diff
original:
base: ! '>=4 && <5'
pretty: ! '>=1 && <2'
updated... | pretty: '>=1 && <2'
all-versions:
- 0.1.0.0
- 0.1.0.2
- 0.1.1.0
- 0.1.2.0
- 0.1.2.1
- 0.1.2.2
- 0.1.2.3
- 0.1.2.4
- 0.1.2.6
- 0.1.2.8
- 0.1.3
- 0.1.4
author: Markus Aronsson <mararon@chalmers.se>
latest: 0.1.4
description-type: markdown
description: |
# language-vhdl
Haskell representation of VHDL
license-name: B... | <|file_sep|>packages/la/language-vhdl.yaml.diff
original:
hash: efe9e29bfbd8fd12edd85a8f32516057e3a3c66365d4fdbb054b941da83d0cac
updated:
hash: 4e7e805fc66242550fca9b1565f171785f098ee003819b9af2dd1f3a7bd17769
<|file_sep|>packages/la/language-vhdl.yaml.diff
original:
base: ! '>=4 && <5'
pretty: ! '>=1 && <2'
updated... | b25ff79782b7b5aeb2bae9a18e5bfe72865447ee | packages/la/language-vhdl.yaml | packages/la/language-vhdl.yaml | YAML |
<|file_sep|>tests/seed-element-basic.html.diff
original:
<link rel="import" href="tools/tools.html">
<script src="tools/htmltest.js"></script>
updated:
<link rel="import" href="../../polymer-test-tools/tools.html">
<script src="../../polymer-test-tools/htmltest.js"></script>
<|file_sep|>tests/seed-element-basic... |
document.addEventListener('polymer-ready', function() {
// Test a property
var myEl = document.querySelector('seed-element');
assert.equal(myEl.author, 'Dimitri Glazkov');
// Test a method
var hello = myEl.sayHello();
assert.equal(hello, 'seed-element says, Hello World!');
... | <|file_sep|>tests/seed-element-basic.html.diff
original:
<link rel="import" href="tools/tools.html">
<script src="tools/htmltest.js"></script>
updated:
<link rel="import" href="../../polymer-test-tools/tools.html">
<script src="../../polymer-test-tools/htmltest.js"></script>
<|file_sep|>tests/seed-element-basic... | dbf57eeddff1e17137ad85abd626a3871f65d6ad | tests/seed-element-basic.html | tests/seed-element-basic.html | HTML |
<|file_sep|>src/main/kotlin/venus/assembler/PseudoDispatcher.kt.diff
original:
j(J),
updated:
beqz(BEQZ),
bgez(BGEZ),
bgt(BGT),
bgtu(BGTU),
bgtz(BGTZ),
ble(BLE),
bleu(BLEU),
blez(BLEZ),
bltz(BLTZ),
bnez(BNEZ),
call(CALL),
<|file_sep|>src/main/kotlin/venus/assembler/Pseudo... | lb(Load),
lbu(Load),
lh(Load),
lhu(Load),
li(LI),
lw(Load),
mv(MV),
neg(NEG),
nop(NOP),
not(NOT),
ret(RET),
sb(Store),
seqz(SEQZ),
sgtz(SGTZ),
sh(Store),
sltz(SLTZ),
snez(SNEZ),
sw(Store),
tail(TAIL)
;
} | <|file_sep|>src/main/kotlin/venus/assembler/PseudoDispatcher.kt.diff
original:
j(J),
updated:
beqz(BEQZ),
bgez(BGEZ),
bgt(BGT),
bgtu(BGTU),
bgtz(BGTZ),
ble(BLE),
bleu(BLEU),
blez(BLEZ),
bltz(BLTZ),
bnez(BNEZ),
call(CALL),
<|file_sep|>src/main/kotlin/venus/assembler/Pseudo... | 371ba0c58cfb981c4afab9f94d54cd0289c18443 | src/main/kotlin/venus/assembler/PseudoDispatcher.kt | src/main/kotlin/venus/assembler/PseudoDispatcher.kt | Kotlin |
<|file_sep|>original/lib/comma.rb
# conditional loading of activesupport
if defined? Rails and Rails.version < '2.3.5'
require 'activesupport'
else
require 'active_support/core_ext/class/inheritable_attributes'
end
# load the right csv library
if RUBY_VERSION >= '1.9'
require 'csv'
FasterCSV = CSV
else
begin... | # conditional loading of activesupport
if defined? Rails and (Rails.version.split('.').map(&:to_i) <=> [2,3,5]) < 0
require 'activesupport'
else
require 'active_support/core_ext/class/inheritable_attributes'
end
# load the right csv library
if RUBY_VERSION >= '1.9'
require 'csv'
FasterCSV = CSV
else
begin
... | <|file_sep|>original/lib/comma.rb
# conditional loading of activesupport
if defined? Rails and Rails.version < '2.3.5'
require 'activesupport'
else
require 'active_support/core_ext/class/inheritable_attributes'
end
# load the right csv library
if RUBY_VERSION >= '1.9'
require 'csv'
FasterCSV = CSV
else
begin... | 1c2295a5b14eeaa6abfceb15b61d0a5271dfd8af | lib/comma.rb | lib/comma.rb | Ruby |
<|file_sep|>deployment/build_wheels_mac.sh.diff
original:
# This script requires that 'python36', 'python37', 'python38', and 'python39'
updated:
# This script requires that 'python37', 'python38', 'python39', and 'python310'
<|file_sep|>deployment/build_wheels_mac.sh.diff
original:
python36 setup.py bdist_wheel -d ./d... | # be present on the path, and that $CLANG_BIN be set to the location of a
# built-from-source Clang.
set -e -x
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR/../"
if [[ -z "${CLANG_BIN}" ]]; then
echo 'Please set $CLANG_BIN to point to a Clang built from source.' 2>&1
exit 1
fi
export CC="${CL... | <|file_sep|>deployment/build_wheels_mac.sh.diff
original:
# This script requires that 'python36', 'python37', 'python38', and 'python39'
updated:
# This script requires that 'python37', 'python38', 'python39', and 'python310'
<|file_sep|>deployment/build_wheels_mac.sh.diff
original:
python36 setup.py bdist_wheel -d ./d... | 6584f0aa2c4b761bc1b3f5ac1d1ff744b1d7cd44 | deployment/build_wheels_mac.sh | deployment/build_wheels_mac.sh | Shell |
<|file_sep|>original/server/server.js
const app = express();
const staticPath = path.join(__dirname, '../build/');
app.use(express.static(staticPath));
lodashExpress(app, 'html');
app.set('view engine', 'html');
const hash = fs.readFileSync(path.join(staticPath, 'hash'));
app.get('/', (req, res) => {
res.redire... | const staticPath = path.join(__dirname, '../build/');
app.use(express.static(staticPath));
lodashExpress(app, 'html');
app.set('view engine', 'html');
const hash = fs.readFileSync(path.join(staticPath, 'hash'));
app.get('/', (req, res) => {
res.redirect('/portal')
});
app.get('/portal*', (req, res) => {
res... | <|file_sep|>original/server/server.js
const app = express();
const staticPath = path.join(__dirname, '../build/');
app.use(express.static(staticPath));
lodashExpress(app, 'html');
app.set('view engine', 'html');
const hash = fs.readFileSync(path.join(staticPath, 'hash'));
app.get('/', (req, res) => {
res.redire... | dbcd077bd025dd71e21ab140839573a5f2f124d9 | server/server.js | server/server.js | JavaScript |
<|file_sep|>original/app/config/config_test.yml
storage_id: session.storage.mock_file
profiler:
collect: false
doctrine:
dbal:
default_connection: default
connections:
default:
driver: pdo_sqlite
path: %kernel.cache_dir%/test.db
... | storage_id: session.storage.mock_file
profiler:
collect: false
doctrine:
dbal:
default_connection: default
connections:
default:
driver: pdo_sqlite
path: "%kernel.cache_dir%/test.db"
liip_functional_test:
cache_sqlite_db: tr... | <|file_sep|>original/app/config/config_test.yml
storage_id: session.storage.mock_file
profiler:
collect: false
doctrine:
dbal:
default_connection: default
connections:
default:
driver: pdo_sqlite
path: %kernel.cache_dir%/test.db
... | dc19a53d9dcbf80bdace3b7ae6f6d6e3d7853ded | app/config/config_test.yml | app/config/config_test.yml | YAML |
<|file_sep|>logging.ini.diff
original:
level=NOTSET
updated:
level=INFO
<|file_sep|>logging.ini.diff
original:
handlers=stream
updated:
handlers=handler_file_pypeflow
<|file_sep|>logging.ini.diff
original:
propagate=0
updated:
propagate=1
<|file_sep|>logging.ini.diff
original:
handlers=stream
updated:
handlers=handler_... | [logger_pypeflow]
level=DEBUG
handlers=handler_file_pypeflow
qualname=pypeflow
propagate=1
[logger_fc_run]
level=DEBUG
handlers=handler_file_fc
qualname=fc_run
propagate=1
[handler_stream]
class=StreamHandler
level=NOTSET
formatter=form01
args=(sys.stderr,)
[handler_file_pypeflow]
class=FileHandler
level=NOTSET | <|file_sep|>logging.ini.diff
original:
level=NOTSET
updated:
level=INFO
<|file_sep|>logging.ini.diff
original:
handlers=stream
updated:
handlers=handler_file_pypeflow
<|file_sep|>logging.ini.diff
original:
propagate=0
updated:
propagate=1
<|file_sep|>logging.ini.diff
original:
handlers=stream
updated:
handlers=handler_... | 34826ddb88141bf2fb8dd650148a9ce9b4c00379 | logging.ini | logging.ini | INI |
<|file_sep|>original/assets/scripts/mandrill_merge.coffee
window.MandrillMerge or= {}
class MandrillMergeApp
constructor: ->
@bindEvents()
bindEvents: ->
$('#hello-coffeescript').on('click', @greet)
submit_my_form: (caller)->
caller.parent().prev('form').submit()
go_back: (caller)->
alert 'w... | window.MandrillMerge or= {}
class MandrillMergeApp
constructor: ->
@bindEvents()
bindEvents: ->
$('#hello-coffeescript').on('click', @greet)
submit_my_form: (caller)->
caller.parent().prev('form').submit()
go_back: (caller)->
caller.parents('.accordion-navigation').prev().find('a').click()
... | <|file_sep|>original/assets/scripts/mandrill_merge.coffee
window.MandrillMerge or= {}
class MandrillMergeApp
constructor: ->
@bindEvents()
bindEvents: ->
$('#hello-coffeescript').on('click', @greet)
submit_my_form: (caller)->
caller.parent().prev('form').submit()
go_back: (caller)->
alert 'w... | f514488656e5a2e5efc22e8e423d7befd4d9ce27 | assets/scripts/mandrill_merge.coffee | assets/scripts/mandrill_merge.coffee | CoffeeScript |
<|file_sep|>original/tox.ini
[tox]
minversion = 1.6
skipsdist = True
envlist = py33,py26,py27,pypy,pep8,docs
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python set... | [tox]
minversion = 1.6
skipsdist = True
envlist = py33,py34,py26,py27,pypy,pep8,docs
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python setup.py testr --testr-args... | <|file_sep|>original/tox.ini
[tox]
minversion = 1.6
skipsdist = True
envlist = py33,py26,py27,pypy,pep8,docs
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
python set... | f817818bfad0ffa78fee9dc9cd153457a15c3c23 | tox.ini | tox.ini | INI |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:
- master
<|file_sep|>updated/.travis.yml | language: ruby
cache: bundler
sudo: false
dist: trusty
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:
- master | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: ruby
cache: bundler
sudo: false
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
branches:
only:
- master
<|file_sep|>updated/.travis.yml
language:... | 2697149ec4870f79140ef5086d5399dc2d0f3494 | .travis.yml | .travis.yml | YAML |
<|file_sep|>tox.ini.diff
original:
updated:
black
<|file_sep|>original/tox.ini
py{34,35,36,37}-django20
py{35,36,37}-django21
lint
[testenv]
commands = py.test {posargs}
extras = test
pip_pre = true
deps =
django111: django>=1.11,<2.0
django20: django>=2.0,<2.1
django21: django>=2.1
ap... | lint
[testenv]
commands = py.test {posargs}
extras = test
pip_pre = true
deps =
django111: django>=1.11,<2.0
django20: django>=2.0,<2.1
django21: django>=2.1
appdirs==1.4.3
py27: mock==2.0.0
[testenv:lint]
basepython = python3.6
deps =
flake8
black
commands =
flake8 --max-line-leng... | <|file_sep|>tox.ini.diff
original:
updated:
black
<|file_sep|>original/tox.ini
py{34,35,36,37}-django20
py{35,36,37}-django21
lint
[testenv]
commands = py.test {posargs}
extras = test
pip_pre = true
deps =
django111: django>=1.11,<2.0
django20: django>=2.0,<2.1
django21: django>=2.1
ap... | 1e2068eed58f951d518738d8b8ee0660cdaf6d8c | tox.ini | tox.ini | INI |
<|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json | {
"name": "in-search-of-happiness",
"version": "1.0.0",
"description": "This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).",
"main": "server.js",
"dependencies": {},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\... | <|file_sep|>original/package.json
<|file_sep|>current/package.json
<|file_sep|>updated/package.json
{
"name": "in-search-of-happiness",
"version": "1.0.0",
"description": "This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).",
"main": "server.js",
"de... | c5793a10f6845b488d4def005a13331a7da3a5db | package.json | package.json | JSON |
<|file_sep|>original/src/math-module.specs.js
var chai = require('chai')
var mathModule = require('./math-module')
var expect = chai.expect
describe('math module', function () {
describe('add', function () {
it('should correctly add positive numbers', function () {
var result = mathModule.add(3, 2)
... | var chai = require('chai')
var mathModule = require('./math-module')
var expect = chai.expect
describe('math module', function () {
describe('add', function () {
it('should correctly add positive numbers', function () {
var result = mathModule.add(3, 2)
expect(result).to.equal(5)
})
it('sh... | <|file_sep|>original/src/math-module.specs.js
var chai = require('chai')
var mathModule = require('./math-module')
var expect = chai.expect
describe('math module', function () {
describe('add', function () {
it('should correctly add positive numbers', function () {
var result = mathModule.add(3, 2)
... | 5f8b5d243e7fb6036ad5bfa34cedc5869a2e9871 | src/math-module.specs.js | src/math-module.specs.js | JavaScript |
<|file_sep|>original/README.md
[](https://travis-ci.org/funkybob/rattle)
rattle
======
Python templating tool.
Overview
--------
With all the complains of Django's Template Language being "slow", whilst most
people never use half of its built i... | [](https://travis-ci.org/funkybob/rattle)
[](https://readthedocs.org/projects/rattle/?badge=latest)
rattle
======
Python templating tool.
Overview
--------
Wi... | <|file_sep|>original/README.md
[](https://travis-ci.org/funkybob/rattle)
rattle
======
Python templating tool.
Overview
--------
With all the complains of Django's Template Language being "slow", whilst most
people never use half of its built i... | e87ee1585ab82a8643f7184834b166ad0804edc9 | README.md | README.md | Markdown |
<|file_sep|>original/public/js/app/templates/footerTemplate.handlebars
<footer class="p-footer">
Freefeed © 2015 | Runs on <a href="https://github.com/pepyatka">Pepyatka</a> open-source engine v0.1.0 | <a href="https://about.freefeed.net">About</a>
</footer>
<|file_sep|>current/public/js/app/templates/footerTemp... | <footer class="p-footer">
Freefeed © 2015 | Runs on <a href="https://github.com/pepyatka">Pepyatka</a> open-source engine v0.1.0 | <a href="http://about.freefeed.net">About</a>
</footer> | <|file_sep|>original/public/js/app/templates/footerTemplate.handlebars
<footer class="p-footer">
Freefeed © 2015 | Runs on <a href="https://github.com/pepyatka">Pepyatka</a> open-source engine v0.1.0 | <a href="https://about.freefeed.net">About</a>
</footer>
<|file_sep|>current/public/js/app/templates/footerTemp... | 7afb8a892c8f850df3db423fa8569184244c1547 | public/js/app/templates/footerTemplate.handlebars | public/js/app/templates/footerTemplate.handlebars | Handlebars |
<|file_sep|>test/test_helper.rb.diff
original:
require 'test/unit'
updated:
require 'minitest/autorun'
<|file_sep|>original/test/test_helper.rb
if ENV['ABRIDGED']
require 'camping'
else
require 'camping-unabridged'
end
require 'test/unit'
require 'rack/test'
class TestCase < Test::Unit::TestCase
include Rack::... |
if ENV['ABRIDGED']
require 'camping'
else
require 'camping-unabridged'
end
require 'minitest/autorun'
require 'rack/test'
class TestCase < MiniTest::Unit::TestCase
include Rack::Test::Methods
def self.inherited(mod)
mod.app = Object.const_get(mod.to_s[/\w+/])
super
end
class << self
a... | <|file_sep|>test/test_helper.rb.diff
original:
require 'test/unit'
updated:
require 'minitest/autorun'
<|file_sep|>original/test/test_helper.rb
if ENV['ABRIDGED']
require 'camping'
else
require 'camping-unabridged'
end
require 'test/unit'
require 'rack/test'
class TestCase < Test::Unit::TestCase
include Rack::... | 7466b709d582837e0bfcd228a1a1551ff28a8a1d | test/test_helper.rb | test/test_helper.rb | Ruby |
<|file_sep|>original/web/router.ex
plug :fetch_session
plug :fetch_flash
plug :protect_from_forgery
plug :put_secure_browser_headers
end
pipeline :api do
plug :accepts, ["json"]
end
scope "/", HelloPhoenix do
pipe_through :browser # Use the default browser stack
get "/", PageContr... | plug :fetch_flash
plug :protect_from_forgery
plug :put_secure_browser_headers
end
pipeline :api do
plug :accepts, ["json"]
end
scope "/", HelloPhoenix do
pipe_through :browser # Use the default browser stack
get "/", PageController, :index
resources "/users", UserController
end
... | <|file_sep|>original/web/router.ex
plug :fetch_session
plug :fetch_flash
plug :protect_from_forgery
plug :put_secure_browser_headers
end
pipeline :api do
plug :accepts, ["json"]
end
scope "/", HelloPhoenix do
pipe_through :browser # Use the default browser stack
get "/", PageContr... | 96c93e56d01218ca71477bee0b9052feec75f01a | web/router.ex | web/router.ex | Elixir |
<|file_sep|>original/install.sh
homeshick link vim
brew install neovim
# https://robots.thoughtbot.com/my-life-with-neovim
mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config}
ln -s $HOME/.vim $XDG_CONFIG_HOME/nvim
ln -s $HOME/.vimrc $XDG_CONFIG_HOME/nvim/init.vim
curl -fLo $HOME/vim/autoload/plug.vim --create-dirs \
https... | homeshick link vim
brew install \
git\
neovim \
thesilversearcher \
# https://robots.thoughtbot.com/my-life-with-neovim
mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config}
ln -s $HOME/.vim $XDG_CONFIG_HOME/nvim
ln -s $HOME/.vimrc $XDG_CONFIG_HOME/nvim/init.vim
curl -fLo $HOME/vim/autoload/plug.vim --create-dirs \
ht... | <|file_sep|>original/install.sh
homeshick link vim
brew install neovim
# https://robots.thoughtbot.com/my-life-with-neovim
mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config}
ln -s $HOME/.vim $XDG_CONFIG_HOME/nvim
ln -s $HOME/.vimrc $XDG_CONFIG_HOME/nvim/init.vim
curl -fLo $HOME/vim/autoload/plug.vim --create-dirs \
https... | d81f0dacf4f881efe59a6729c2324a546a5af6ed | install.sh | install.sh | Shell |
<|file_sep|>original/config.ru
require './lib/tammer_saleh'
use Rack::Static, :urls => ["/stylesheets", "/images"],
:root => "public"
run TammerSaleh
<|file_sep|>current/config.ru
require './lib/tammer_saleh'
use Rack::Static, :urls => ["/stylesheets", "/images"],
:root => "publi... | Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
require './lib/tammer_saleh'
use Rack::Static, :urls => ["/stylesheets", "/images"],
:root => "public"
run TammerSaleh
| <|file_sep|>original/config.ru
require './lib/tammer_saleh'
use Rack::Static, :urls => ["/stylesheets", "/images"],
:root => "public"
run TammerSaleh
<|file_sep|>current/config.ru
require './lib/tammer_saleh'
use Rack::Static, :urls => ["/stylesheets", "/images"],
:root => "publi... | b00bd39229734dfdfbdc9075aa355cde665b1dbe | config.ru | config.ru | Ruby |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.2
cache: cocoapods
podfile: Example/Podfile
rvm: 2.2.2
before_install:
- gem install cocoapods
before_script:
- export LANG=en_US.UTF-8
script: xctool -workspace YaftDB.xcworkspace -scheme YaftDBTests -sdk iphonesimulator test
<|file_sep|>curr... | language: objective-c
osx_image: xcode7.3
cache: cocoapods
podfile: Example/Podfile
rvm: 2.2.2
before_install:
- gem install cocoapods
before_script:
- export LANG=en_US.UTF-8
script: xctool -workspace YaftDB.xcworkspace -scheme YaftDBTests -sdk iphonesimulator test | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.2
cache: cocoapods
podfile: Example/Podfile
rvm: 2.2.2
before_install:
- gem install cocoapods
before_script:
- export LANG=en_US.UTF-8
script: xctool -workspace YaftDB.xcworkspace -scheme YaftDBTests -sdk iphonesimulator test
<|file_sep|>curr... | 7d7b831cea287478aaf98cdb3bef82bcdccf7390 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/changeling.gemspec
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "changeling"
gem.require_paths = ["lib"]
gem.version = Changeling::VERSION
# Dependencies
gem.add_depe... | gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "changeling"
gem.require_paths = ["lib"]
gem.version = Changeling::VERSION
# Dependencies
gem.add_dependency "redis"
# Development Dependencies
case RUBY_VERSION
when "1.9.2"
gem.add_development_dependency "... | <|file_sep|>original/changeling.gemspec
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "changeling"
gem.require_paths = ["lib"]
gem.version = Changeling::VERSION
# Dependencies
gem.add_depe... | 2fc1b919be6180a408dd4a29f9a13040ca4f451a | changeling.gemspec | changeling.gemspec | Ruby |
<|file_sep|>banks/revolut_v2.toml.diff
original:
name = "Revolut (SEK)"
updated:
name = "Revolut"
<|file_sep|>original/banks/revolut_v2.toml
name = "Revolut (SEK)"
[currency_format]
thousands_separator = ''
decimal_point = '.'
[csv]
delimiter = ','
date_format = '%Y-%m-%d %H:%M:%S'
[ynab_mapping]
date = 'Started Dat... | name = "Revolut"
[currency_format]
thousands_separator = ''
decimal_point = '.'
[csv]
delimiter = ','
date_format = '%Y-%m-%d %H:%M:%S'
[ynab_mapping]
date = 'Started Date'
outflow = ['Amount', "Fee"]
inflow = 'Amount'
payee = 'Description' | <|file_sep|>banks/revolut_v2.toml.diff
original:
name = "Revolut (SEK)"
updated:
name = "Revolut"
<|file_sep|>original/banks/revolut_v2.toml
name = "Revolut (SEK)"
[currency_format]
thousands_separator = ''
decimal_point = '.'
[csv]
delimiter = ','
date_format = '%Y-%m-%d %H:%M:%S'
[ynab_mapping]
date = 'Started Dat... | f1ac93ebcf084b6cd6e399bdb3efdd682a0ca416 | banks/revolut_v2.toml | banks/revolut_v2.toml | TOML |
<|file_sep|>original/spec/spec_helper.rb
require 'bundler/setup'
require 'turnip/rspec'
require 'reportability'
Dir.glob("spec/lib/**/*_steps.rb") { |f| load f, true }
$LOAD_PATH << File.expand_path('../../lib', __FILE__) # the gem's lib dir
<|file_sep|>current/spec/spec_helper.rb
require 'bundler/setup'
require 'tur... | require 'bundler/setup'
require 'turnip/rspec'
require 'reportability'
Dir.glob("spec/lib/**/*_steps.rb") { |f| load f, true }
$LOAD_PATH << File.expand_path('../../lib', __FILE__) # the gem's lib dir
$LOAD_PATH << File.expand_path('../../lib/reportability', __FILE__) # the gem's lib dir | <|file_sep|>original/spec/spec_helper.rb
require 'bundler/setup'
require 'turnip/rspec'
require 'reportability'
Dir.glob("spec/lib/**/*_steps.rb") { |f| load f, true }
$LOAD_PATH << File.expand_path('../../lib', __FILE__) # the gem's lib dir
<|file_sep|>current/spec/spec_helper.rb
require 'bundler/setup'
require 'tur... | 580184d9172b67ebd5f00a9299ccbb6a13833b1c | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/_posts/2018-02-14-reflexao-1-sm-30-v8.md
<|file_sep|>current/_posts/2018-02-14-reflexao-1-sm-30-v8.md
<|file_sep|>updated/_posts/2018-02-14-reflexao-1-sm-30-v8.md | ---
layout: post
title: Reflexão - 1 Samuel 30:8
categories: devocionais
image: reflexao.jpg
logo: reflexao.jpg
description: Reflexão - 1 Samuel 30:8
url: https://eltonsantos.github.io/devocionais/reflexao-1-sm-30-v8/
author: Elton Santos
comments: true
---
**"Então consultou Davi ao Senhor, dizendo: Perseguirei eu o ... | <|file_sep|>original/_posts/2018-02-14-reflexao-1-sm-30-v8.md
<|file_sep|>current/_posts/2018-02-14-reflexao-1-sm-30-v8.md
<|file_sep|>updated/_posts/2018-02-14-reflexao-1-sm-30-v8.md
---
layout: post
title: Reflexão - 1 Samuel 30:8
categories: devocionais
image: reflexao.jpg
logo: reflexao.jpg
description: Reflexão ... | be24e7cc4525dd7f24f19bd08eba5546970f5796 | _posts/2018-02-14-reflexao-1-sm-30-v8.md | _posts/2018-02-14-reflexao-1-sm-30-v8.md | Markdown |
<|file_sep|>original/README.md
# Jekyll Mentions
@mentionable support for your Jekyll site
[](http://badge.fury.io/rb/jekyll-mentions)
[](https://travis-ci.org/jekyll/jekyll-menti... | # Jekyll Mentions
@mentionable support for your Jekyll site
[](http://badge.fury.io/rb/jekyll-mentions)
[](https://travis-ci.org/jekyll/jekyll-mentions)
## Usage
Add the followi... | <|file_sep|>original/README.md
# Jekyll Mentions
@mentionable support for your Jekyll site
[](http://badge.fury.io/rb/jekyll-mentions)
[](https://travis-ci.org/jekyll/jekyll-menti... | 99c05670be3d30ce15debea58282e91a5e00e0d0 | README.md | README.md | Markdown |
<|file_sep|>original/src/test/java/_3_reducing/ReduceBenchmarkTest.java
<|file_sep|>current/src/test/java/_3_reducing/ReduceBenchmarkTest.java
<|file_sep|>updated/src/test/java/_3_reducing/ReduceBenchmarkTest.java | package _3_reducing;
import org.junit.Test;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.Level;
import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.annotations.Scope;
import org.openjdk.jmh.annotations.Setup;
import org.openjdk.jmh.annotations.State;
import org.openjdk.j... | <|file_sep|>original/src/test/java/_3_reducing/ReduceBenchmarkTest.java
<|file_sep|>current/src/test/java/_3_reducing/ReduceBenchmarkTest.java
<|file_sep|>updated/src/test/java/_3_reducing/ReduceBenchmarkTest.java
package _3_reducing;
import org.junit.Test;
import org.openjdk.jmh.annotations.Benchmark;
import org.op... | 06e667092ff9eef757ffe66f3508700c3aa8f136 | src/test/java/_3_reducing/ReduceBenchmarkTest.java | src/test/java/_3_reducing/ReduceBenchmarkTest.java | Java |
<|file_sep|>original/emacs/emacs.d/my-terminal.el
(load-theme 'spacemacs-dark)
(face-spec-set 'hl-line '((t (:background "color-236" :inherit nil))))
;; (xterm-mouse-mode)
<|file_sep|>current/emacs/emacs.d/my-terminal.el
(load-theme 'spacemacs-dark)
(face-spec-set 'hl-line '((t (:background "color-236" :inherit nil)))... | (load-theme 'spacemacs-dark)
(set-face-background 'lazy-highlight "#29422d")
(face-spec-set 'hl-line '((t (:background "color-236" :inherit nil))))
;; (xterm-mouse-mode) | <|file_sep|>original/emacs/emacs.d/my-terminal.el
(load-theme 'spacemacs-dark)
(face-spec-set 'hl-line '((t (:background "color-236" :inherit nil))))
;; (xterm-mouse-mode)
<|file_sep|>current/emacs/emacs.d/my-terminal.el
(load-theme 'spacemacs-dark)
(face-spec-set 'hl-line '((t (:background "color-236" :inherit nil)))... | 14e79324ad07183f39bdc2d55f364f010baf6b75 | emacs/emacs.d/my-terminal.el | emacs/emacs.d/my-terminal.el | Emacs Lisp |
<|file_sep|>original/.travis.yml
language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js:
- 4
sudo: false
env: NODE_VERSION=4.4.7 CC=clang CXX=clang++ npm_config_clang=1
addons:
apt:
packages:
- build-essential
- clang-3.3
<|file_sep|>current/.travis.yml
langu... | language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js: 6
sudo: false
env: NODE_VERSION=4.4.7 CC=clang CXX=clang++ npm_config_clang=1
addons:
apt:
packages:
- build-essential
- clang-3.3 | <|file_sep|>original/.travis.yml
language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js:
- 4
sudo: false
env: NODE_VERSION=4.4.7 CC=clang CXX=clang++ npm_config_clang=1
addons:
apt:
packages:
- build-essential
- clang-3.3
<|file_sep|>current/.travis.yml
langu... | 79f01d40be6852203931b00c3636a1d7998b7d24 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/client/src/actions/index.js
export function receiveError(json) {
return {
type: types.RECEIVE_ERROR,
data: json
}
}
export function evaluateText(pattern, text) {
return function(dispatch) {
dispatch(requestData())
return axios.post('http://api.riveter.site/v1/process/', {
... | export function receiveError(json) {
return {
type: types.RECEIVE_ERROR,
data: json
}
}
export function evaluateText(pattern, text) {
return function(dispatch) {
dispatch(requestData())
return axios.post('https://api.riveter.site/v1/process/', {
pattern: pattern,
textContent: text
... | <|file_sep|>original/client/src/actions/index.js
export function receiveError(json) {
return {
type: types.RECEIVE_ERROR,
data: json
}
}
export function evaluateText(pattern, text) {
return function(dispatch) {
dispatch(requestData())
return axios.post('http://api.riveter.site/v1/process/', {
... | fb6bb2e453ea1b49593df36addb5c7f90f683452 | client/src/actions/index.js | client/src/actions/index.js | JavaScript |
<|file_sep|>original/shutdown/README.md
## Status
| Name | Result (FreeBSD) |
|:----------------------------------:|:----------------:|
[shutdown-rd](shutdown-rd.pkt) | Passed
[shutdown-wr](shutdown-wr.pkt) | Passed
[shutdown-rd-wr](shutdown-rd-wr.pkt) | Passed
## Descriptio... |
| Name | Result (FreeBSD) |
|:----------------------------------:|:----------------:|
[shutdown-rd](shutdown-rd.pkt) | Passed
[shutdown-wr](shutdown-wr.pkt) | Passed
[shutdown-rd-wr](shutdown-rd-wr.pkt) | Passed
## Description
* ~~After calling `shutdown(4, SHUT_RD)`, `read(... | <|file_sep|>original/shutdown/README.md
## Status
| Name | Result (FreeBSD) |
|:----------------------------------:|:----------------:|
[shutdown-rd](shutdown-rd.pkt) | Passed
[shutdown-wr](shutdown-wr.pkt) | Passed
[shutdown-rd-wr](shutdown-rd-wr.pkt) | Passed
## Descriptio... | 26f5ac7e10c7e72a179c0451032d23e8686dcd36 | shutdown/README.md | shutdown/README.md | Markdown |
<|file_sep|>original/roles/devenv/vars/main.yml
- libssl-dev
- libyaml-dev
- zlib1g-dev
editors:
- vim-gtk
general:
- exuberant-ctags
- silversearcher-ag
languages:
- nodejs
- npm
- python
- python-dev
- python3
- rbenv
networking:
- curl
<|file_sep|>curre... | - libssl-dev
- libyaml-dev
- zlib1g-dev
editors:
- vim-gtk
general:
- exuberant-ctags
- silversearcher-ag
- xclip
languages:
- nodejs
- npm
- python
- python-dev
- python3
- rbenv
networking: | <|file_sep|>original/roles/devenv/vars/main.yml
- libssl-dev
- libyaml-dev
- zlib1g-dev
editors:
- vim-gtk
general:
- exuberant-ctags
- silversearcher-ag
languages:
- nodejs
- npm
- python
- python-dev
- python3
- rbenv
networking:
- curl
<|file_sep|>curre... | 6968e0d39176e7988d5e864c2534c4d8d840bf7c | roles/devenv/vars/main.yml | roles/devenv/vars/main.yml | YAML |
<|file_sep|>original/alias/all.sh
#!/bin/bash
SCRIPT_FILENAME=$(readlink -f $0)
SCRIPT_PATH=$(dirname $SCRIPT_FILENAME)
DOTFILES_PATH=${SCRIPT_PATH}/..
source ${DOTFILES_PATH}/lib/bash/path_variable.sh
for INC_FILE in .; do
echo "Load alias file: ${INC_FILE}"
. ${INC_FILE}
done
<|file_sep|>current/alias/all.... | #!/bin/bash
SCRIPT_FILENAME=$(readlink -f $0)
SCRIPT_PATH=$(dirname $SCRIPT_FILENAME)
DOTFILES_PATH=${SCRIPT_PATH}/..
source ${DOTFILES_PATH}/lib/bash/path_variable.sh
echo "Load alias files"
for INC_FILE in $(find ${DOTFILES_PATH}/alias |grep -v "all.sh"); do
echo "Load alias file: ${INC_FILE}"
. ${INC_FILE... | <|file_sep|>original/alias/all.sh
#!/bin/bash
SCRIPT_FILENAME=$(readlink -f $0)
SCRIPT_PATH=$(dirname $SCRIPT_FILENAME)
DOTFILES_PATH=${SCRIPT_PATH}/..
source ${DOTFILES_PATH}/lib/bash/path_variable.sh
for INC_FILE in .; do
echo "Load alias file: ${INC_FILE}"
. ${INC_FILE}
done
<|file_sep|>current/alias/all.... | ee16d41531095c57cb3219d1eaeb31ad9dcbce7d | alias/all.sh | alias/all.sh | Shell |
<|file_sep|>tests/test_backend.py.diff
original:
updated:
from dateutil.tz import tzlocal
<|file_sep|>original/tests/test_backend.py
def test_serialize_dtstart(todo_factory):
now = datetime.now(tz=pytz.UTC)
todo = todo_factory(start=now)
vtodo = VtodoWritter(todo).serialize()
assert vtodo.get('dtstart... |
with pytest.raises(Exception):
writter.serialize_field('nonexistant', 7)
def test_supported_fields_are_serializeable():
supported_fields = set(Todo.ALL_SUPPORTED_FIELDS)
serialized_fields = set(VtodoWritter.FIELD_MAP.keys())
assert supported_fields == serialized_fields
def test_vtodo_seria... | <|file_sep|>tests/test_backend.py.diff
original:
updated:
from dateutil.tz import tzlocal
<|file_sep|>original/tests/test_backend.py
def test_serialize_dtstart(todo_factory):
now = datetime.now(tz=pytz.UTC)
todo = todo_factory(start=now)
vtodo = VtodoWritter(todo).serialize()
assert vtodo.get('dtstart... | ef7ac85615d9790525a6e5364105613905cae859 | tests/test_backend.py | tests/test_backend.py | Python |
<|file_sep|>src/main/java/net/glowstone/entity/monster/GlowMonster.java.diff
original:
updated:
* The range in blocks outside of which the hostile mob will despawn immediately.
*/
private static final double DESPAWN_RANGE_IMMEDIATE = 128;
/**
<|file_sep|>src/main/java/net/glowstone/entity/monster/Gl... | /**
* Creates a new non-passive mob.
*
* @param loc The location of the non-passive mob.
* @param type The type of mob.
* @param maxHealth The max health for this mob.
*/
public GlowMonster(Location loc, EntityType type, double maxHealth) {
super(loc, type, maxHe... | <|file_sep|>src/main/java/net/glowstone/entity/monster/GlowMonster.java.diff
original:
updated:
* The range in blocks outside of which the hostile mob will despawn immediately.
*/
private static final double DESPAWN_RANGE_IMMEDIATE = 128;
/**
<|file_sep|>src/main/java/net/glowstone/entity/monster/Gl... | de4487687b83250fedfdcf31ac238c2fe905265a | src/main/java/net/glowstone/entity/monster/GlowMonster.java | src/main/java/net/glowstone/entity/monster/GlowMonster.java | Java |
<|file_sep|>original/css/style.css
-webkit-animation: pulsate 0.9s infinite alternate;
-moz-animation: pulsate 0.9s infinite alternate;
-animation: pulsate 0.9s infinite alternate;
}
@-webkit-keyframes pulsate {
from { box-shadow: 0 0 0px #fff; }
to { box-shadow: 0 0 15px #4177BB; }
}
@-moz-keyframes pulsate... | from { box-shadow: 0 0 0px #fff; }
to { box-shadow: 0 0 15px #4177BB; }
}
@-moz-keyframes pulsate {
from { box-shadow: 0 0 0px #fff; }
to { box-shadow: 0 0 15px #4177BB; }
}
@keyframes pulsate {
from { box-shadow: 0 0 0px #fff; }
to { box-shadow: 0 0 15px #4177BB; }
}
select#serial-select {
-webkit-appea... | <|file_sep|>original/css/style.css
-webkit-animation: pulsate 0.9s infinite alternate;
-moz-animation: pulsate 0.9s infinite alternate;
-animation: pulsate 0.9s infinite alternate;
}
@-webkit-keyframes pulsate {
from { box-shadow: 0 0 0px #fff; }
to { box-shadow: 0 0 15px #4177BB; }
}
@-moz-keyframes pulsate... | 8799c5f5b4ec0ef3e1568ffb11f25345f8213b41 | css/style.css | css/style.css | CSS |
<|file_sep|>original/wicked_pdf.gemspec
s.name = "wicked_pdf"
s.version = "0.8.0"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "PDF generator (from HTML) plugin for Ruby on Rails"
s.homepage = "https://github.com/mileszs/wicked_pdf"
s.email ... | s.version = "0.8.0"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "PDF generator (from HTML) plugin for Ruby on Rails"
s.homepage = "https://github.com/mileszs/wicked_pdf"
s.email = "miles.sterrett@gmail.com"
s.authors = [ "Miles Z. Sterre... | <|file_sep|>original/wicked_pdf.gemspec
s.name = "wicked_pdf"
s.version = "0.8.0"
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "PDF generator (from HTML) plugin for Ruby on Rails"
s.homepage = "https://github.com/mileszs/wicked_pdf"
s.email ... | c8548247f09836f079350ec9276e4ee70ab98ee8 | wicked_pdf.gemspec | wicked_pdf.gemspec | Ruby |
<|file_sep|>original/src/ui/device-selector.js
genericText = VideoStream.UI.language['generic-audio-input'];
break;
default:
genericText = VideoStream.UI.language['generic-input'];
}
for(var i = 0, genericIndex = 1; i < devices.length; i++){
var label = devices[i].label === '' ? genericText + ' #' ... | genericText = VideoStream.UI.language['generic-audio-input'];
break;
default:
genericText = VideoStream.UI.language['generic-input'];
}
for(var i = 0, genericIndex = 1; i < devices.length; i++){
var label = devices[i].label === '' ? genericText + ' #' + (genericIndex++) : devices[i].label;
v... | <|file_sep|>original/src/ui/device-selector.js
genericText = VideoStream.UI.language['generic-audio-input'];
break;
default:
genericText = VideoStream.UI.language['generic-input'];
}
for(var i = 0, genericIndex = 1; i < devices.length; i++){
var label = devices[i].label === '' ? genericText + ' #' ... | 67fea541c8316f070466acdf96479e745994a372 | src/ui/device-selector.js | src/ui/device-selector.js | JavaScript |
<|file_sep|>pi_approach/Distance_Pi/recv.py.diff
original:
updated:
import sys
sys.path.insert(0, "/home/pi/lidar/pi_approach/Libraries")
import serverxclient
<|file_sep|>original/pi_approach/Distance_Pi/recv.py
class Client(object):
"""A class that uses sockets to connect to a server"""
HOST = "userinterface.local"... | # Lidar Project Distance Subsystem
import serial
import socket
import time
import sys
sys.path.insert(0, "/home/pi/lidar/pi_approach/Libraries")
import serverxclient
arduino_dist = serial.Serial('/dev/ttyUSB0',9600)
def get_distance():
distance = arduino_dist.readline()
return distance
client = Client()
client.so... | <|file_sep|>pi_approach/Distance_Pi/recv.py.diff
original:
updated:
import sys
sys.path.insert(0, "/home/pi/lidar/pi_approach/Libraries")
import serverxclient
<|file_sep|>original/pi_approach/Distance_Pi/recv.py
class Client(object):
"""A class that uses sockets to connect to a server"""
HOST = "userinterface.local"... | 361c0293085a688cc60e06b675eca66c9c52d72e | pi_approach/Distance_Pi/recv.py | pi_approach/Distance_Pi/recv.py | Python |
<|file_sep|>original/server/src/test/java/com/semation/jstatsd/server/messaging/disruptor/DisruptorMessageProcessorTest.java
<|file_sep|>current/server/src/test/java/com/semation/jstatsd/server/messaging/disruptor/DisruptorMessageProcessorTest.java
<|file_sep|>updated/server/src/test/java/com/semation/jstatsd/server/... | package com.semation.jstatsd.server.messaging.disruptor;
import org.junit.Before;
import org.junit.Test;
/**
* Created by IntelliJ IDEA.
* User: jabourbih
* Date: 09/04/2012
* Time: 15:48
*/
public class DisruptorMessageProcessorTest {
@Before
public void setUp() throws Exception {
}
@Test
... | <|file_sep|>original/server/src/test/java/com/semation/jstatsd/server/messaging/disruptor/DisruptorMessageProcessorTest.java
<|file_sep|>current/server/src/test/java/com/semation/jstatsd/server/messaging/disruptor/DisruptorMessageProcessorTest.java
<|file_sep|>updated/server/src/test/java/com/semation/jstatsd/server/... | e264ac072882ec16746a9782c1c72d865490e025 | server/src/test/java/com/semation/jstatsd/server/messaging/disruptor/DisruptorMessageProcessorTest.java | server/src/test/java/com/semation/jstatsd/server/messaging/disruptor/DisruptorMessageProcessorTest.java | Java |
<|file_sep|>app/main/forms.py.diff
original:
from wtforms.validators import DataRequired, Email
updated:
from wtforms import validators
<|file_sep|>app/main/forms.py.diff
original:
DataRequired(message="Email can not be empty"),
Email(message="Please enter a valid email address")
updated:
valid... | from dmutils.forms import StripWhitespaceStringField
class EmailAddressForm(Form):
email_address = StripWhitespaceStringField('Email address', validators=[
validators.DataRequired(message="Email can not be empty"),
validators.Email(message="Please enter a valid email address")
])
class MoveU... | <|file_sep|>app/main/forms.py.diff
original:
from wtforms.validators import DataRequired, Email
updated:
from wtforms import validators
<|file_sep|>app/main/forms.py.diff
original:
DataRequired(message="Email can not be empty"),
Email(message="Please enter a valid email address")
updated:
valid... | ba4c2dc22aae5dd4f862aad7c388eecf36acfbd8 | app/main/forms.py | app/main/forms.py | Python |
<|file_sep|>scripts/generate_db.py.diff
original:
def generate_tables(filename_db):
conn = sqlite3.connect(filename_db)
updated:
def generate_tables(db=DEFAULT_DB):
conn = sqlite3.connect(db)
<|file_sep|>original/scripts/generate_db.py
def generate_tables(filename_db):
conn = sqlite3.connect(filename_db)
... | def generate_tables(db=DEFAULT_DB):
conn = sqlite3.connect(db)
c = conn.cursor()
# Create tables
c.execute('''CREATE TABLE runs (
id INTEGER PRIMARY KEY,
start_time TEXT,
time_s INTEGER,
distance_m INTEGER,
... | <|file_sep|>scripts/generate_db.py.diff
original:
def generate_tables(filename_db):
conn = sqlite3.connect(filename_db)
updated:
def generate_tables(db=DEFAULT_DB):
conn = sqlite3.connect(db)
<|file_sep|>original/scripts/generate_db.py
def generate_tables(filename_db):
conn = sqlite3.connect(filename_db)
... | 5062700980fe432653a11173ab3c3835caf206c9 | scripts/generate_db.py | scripts/generate_db.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "8"
- "6"
before_install:
- npm i -g action-on-google@^2.5.0
script: npm run test:ci
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "8"
- "6"
before_install:
- npm i -g action-on-google@^2.5.0
script: npm run test:ci
<|file_sep|>upd... | language: node_js
node_js:
- "8"
- "6"
before_install:
- npm i -g actions-on-google@^2.5.0
script: npm run test:ci | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "8"
- "6"
before_install:
- npm i -g action-on-google@^2.5.0
script: npm run test:ci
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "8"
- "6"
before_install:
- npm i -g action-on-google@^2.5.0
script: npm run test:ci
<|file_sep|>upd... | 18630f134debf80c030e42dfb166c875a7ffe65c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/test-server.sh
#!/bin/sh
BASE=`pwd`/test-server
export LIT_CONFIG=$BASE/config
rm -rf $BASE
mkdir $BASE
echo "database: $BASE/db.git" > $LIT_CONFIG
echo "storage: git" >> $LIT_CONFIG
export LUVI_APP=`pwd`/app
luvit serve || exit -1
<|file_sep|>current/tests/test-server.sh
#!/bin/sh
BASE=`p... | #!/bin/sh
BASE=`pwd`/test-server
export LIT_CONFIG=$BASE/config
rm -rf $BASE
mkdir $BASE
echo "database: $BASE/db.git" > $LIT_CONFIG
echo "storage: git" >> $LIT_CONFIG
export LUVI_APP=`pwd`/app
luvit down || exit -1
luvit serve || exit -1 | <|file_sep|>original/tests/test-server.sh
#!/bin/sh
BASE=`pwd`/test-server
export LIT_CONFIG=$BASE/config
rm -rf $BASE
mkdir $BASE
echo "database: $BASE/db.git" > $LIT_CONFIG
echo "storage: git" >> $LIT_CONFIG
export LUVI_APP=`pwd`/app
luvit serve || exit -1
<|file_sep|>current/tests/test-server.sh
#!/bin/sh
BASE=`p... | 51c03ddd4f5676432bcb869161f33b47386c68fd | tests/test-server.sh | tests/test-server.sh | Shell |
<|file_sep|>original/test_data/harvester/mag/FieldsOfStudy.txt
0000109A Sign function
0000A73C Partition
<|file_sep|>current/test_data/harvester/mag/FieldsOfStudy.txt
0000109A Sign function
0000A73C Partition
<|file_sep|>updated/test_data/harvester/mag/FieldsOfStudy.txt | 0000109A Sign function
157034889 The intuitive criterion"
0000A73C Partition | <|file_sep|>original/test_data/harvester/mag/FieldsOfStudy.txt
0000109A Sign function
0000A73C Partition
<|file_sep|>current/test_data/harvester/mag/FieldsOfStudy.txt
0000109A Sign function
0000A73C Partition
<|file_sep|>updated/test_data/harvester/mag/FieldsOfStudy.txt
0000109A Sign function
157034889 The intuitive cr... | 464bde775e70d037364984b857c39bd39edbfc0e | test_data/harvester/mag/FieldsOfStudy.txt | test_data/harvester/mag/FieldsOfStudy.txt | Text |
<|file_sep|>original/README.rst
# -- Welcome!
You have come across a cloud computing network fabric controller. It has
identified itself as "Neutron." It aims to tame your (cloud) networking!
# -- External Resources:
The homepage for Neutron is: http://launchpad.net/neutron . Use this
site for asking for he... | # -- Welcome!
You have come across a cloud computing network fabric controller. It has
identified itself as "Neutron." It aims to tame your (cloud) networking!
# -- External Resources:
The homepage for Neutron is: http://launchpad.net/neutron. Use this
site for asking for help, and filing bugs. Code is avai... | <|file_sep|>original/README.rst
# -- Welcome!
You have come across a cloud computing network fabric controller. It has
identified itself as "Neutron." It aims to tame your (cloud) networking!
# -- External Resources:
The homepage for Neutron is: http://launchpad.net/neutron . Use this
site for asking for he... | 49c9b56eba535baba623c41c04c07636b141c81d | README.rst | README.rst | reStructuredText |
<|file_sep|>original/frontend/src/sass/buildStepOutput.sass
position: absolute
font-size: 2em
.layerText
overflow: auto
margin-top: 50px
max-height: calc(100% - 50px)
padding: 8px
background-color: $black
color: $white
.layerShadow
position: absolute
width: 100%
height: 100%
top: 0
left: 0
... | position: absolute
font-size: 2em
.layerText
overflow: auto
margin-top: 50px
max-height: calc(100% - 50px)
padding: 8px
background-color: $black
color: $white
.layerShadow
position: fixed
width: 100%
height: 100%
top: 0
left: 0
background-color: $transparent-black
.outputLine
font-famil... | <|file_sep|>original/frontend/src/sass/buildStepOutput.sass
position: absolute
font-size: 2em
.layerText
overflow: auto
margin-top: 50px
max-height: calc(100% - 50px)
padding: 8px
background-color: $black
color: $white
.layerShadow
position: absolute
width: 100%
height: 100%
top: 0
left: 0
... | caea110f2dc9eebcbf7772306d1266cf66b7c21e | frontend/src/sass/buildStepOutput.sass | frontend/src/sass/buildStepOutput.sass | Sass |
<|file_sep|>original/app/models/link.rb
class Link
include MongoMapper::Document
include Colorable
key :url, String
key :title, String
key :comment, String
key :user_id, ObjectId
timestamps!
# Relationships.
belongs_to :user
# Validations.
validates_presence_of :url, :title, :user_id
end
<|file... | class Link
include MongoMapper::Document
include Colorable
key :url, String
key :title, String
key :comment, String, :default => ""
key :user_id, ObjectId
timestamps!
# Relationships.
belongs_to :user
# Validations.
validates_presence_of :url, :title, :user_id
end | <|file_sep|>original/app/models/link.rb
class Link
include MongoMapper::Document
include Colorable
key :url, String
key :title, String
key :comment, String
key :user_id, ObjectId
timestamps!
# Relationships.
belongs_to :user
# Validations.
validates_presence_of :url, :title, :user_id
end
<|file... | 08fac166d753593706023b7ccbb73fba816e0cd3 | app/models/link.rb | app/models/link.rb | Ruby |
<|file_sep|>original/src/SlmQueue/Job/JobInterface.php
<?php
namespace SlmQueue\Job;
interface JobInterface
{
public function __invoke();
public function setOptions (array $options);
public function getOptions ();
public function getId();
}
<|file_sep|>current/src/SlmQueue/Job/JobInterface.php
<?php
... | <?php
namespace SlmQueue\Job;
interface JobInterface
{
public function __invoke();
public function setOptions (array $options);
public function getOptions ();
public function setId($id);
public function getId();
} | <|file_sep|>original/src/SlmQueue/Job/JobInterface.php
<?php
namespace SlmQueue\Job;
interface JobInterface
{
public function __invoke();
public function setOptions (array $options);
public function getOptions ();
public function getId();
}
<|file_sep|>current/src/SlmQueue/Job/JobInterface.php
<?php
... | 513b4f83fd2cc42fc070850109bd3c293e824457 | src/SlmQueue/Job/JobInterface.php | src/SlmQueue/Job/JobInterface.php | PHP |
<|file_sep|>packages/ca/canteven-log.yaml.diff
original:
hash: be1cca55af74970fac28fe2ed41783bad2a44525bd9c50120ccca0944d7df17f
updated:
hash: a99f57a33bbf7a94e179fbb7f0f17a49836d3d566efb5e504e4981617b92b689
<|file_sep|>packages/ca/canteven-log.yaml.diff
original:
updated:
- '2.0.1.0'
<|file_sep|>original/packages/ca/... | transformers: -any
aeson: -any
template-haskell: -any
yaml: -any
directory: -any
all-versions:
- '0.2.0.0'
- '0.3.0.2'
- '0.3.0.3'
- '1.0.0.0'
- '2.0.0.0'
- '2.0.0.1'
- '2.0.1.0'
author: Rick Owens
latest: '2.0.1.0'
description-type: haddock
description: ! 'A library that uses <https://hackage.haskell.org/pac... | <|file_sep|>packages/ca/canteven-log.yaml.diff
original:
hash: be1cca55af74970fac28fe2ed41783bad2a44525bd9c50120ccca0944d7df17f
updated:
hash: a99f57a33bbf7a94e179fbb7f0f17a49836d3d566efb5e504e4981617b92b689
<|file_sep|>packages/ca/canteven-log.yaml.diff
original:
updated:
- '2.0.1.0'
<|file_sep|>original/packages/ca/... | 9d997147ae6721b86defef96be3bf262e8528210 | packages/ca/canteven-log.yaml | packages/ca/canteven-log.yaml | YAML |
<|file_sep|>original/tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php
<|file_sep|>current/tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php
<|file_sep|>updated/tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php | <?php
namespace App\Test\TestCase\Model\Behavior;
use App\Model\Behavior\LimitResultsBehavior;
use Cake\TestSuite\TestCase;
use Cake\ORM\Query;
use Cake\ORM\TableRegistry;
class LimitResultsBehaviorTest extends TestCase
{
private $query;
private $behavior;
public $fixtures = [
'app.Sentences',
... | <|file_sep|>original/tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php
<|file_sep|>current/tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php
<|file_sep|>updated/tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php
<?php
namespace App\Test\TestCase\Model\Behavior;
use App\Model\Behavior\LimitR... | f1fa477d9a2b3157bed34e5bdd2f662e2e811136 | tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php | tests/TestCase/Model/Behavior/LimitResultsBehaviorTest.php | PHP |
<|file_sep|>original/tools/src/main/java/ml/alternet/util/EnumUtil.java
<|file_sep|>current/tools/src/main/java/ml/alternet/util/EnumUtil.java
<|file_sep|>updated/tools/src/main/java/ml/alternet/util/EnumUtil.java | package ml.alternet.util;
import java.lang.reflect.Field;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.function.UnaryOperator;
import java.util.logging.Logger;
import ml.alternet.misc.Thrower;
/**
* Enum-related utilities.
*
* @author Philippe Poulard
*/
@Util
pu... | <|file_sep|>original/tools/src/main/java/ml/alternet/util/EnumUtil.java
<|file_sep|>current/tools/src/main/java/ml/alternet/util/EnumUtil.java
<|file_sep|>updated/tools/src/main/java/ml/alternet/util/EnumUtil.java
package ml.alternet.util;
import java.lang.reflect.Field;
import java.security.AccessController;
import... | a61525663e27d59e1ae6b15d4a745a85d998afec | tools/src/main/java/ml/alternet/util/EnumUtil.java | tools/src/main/java/ml/alternet/util/EnumUtil.java | Java |
<|file_sep|>original/valohai_yaml/objs/input.py
class Input(Item):
def __init__(
self,
*,
name,
default=None,
optional=False,
description=None,
keep_directories=False,
filename=None,
) -> None:
self.name = name
self.default = defau... | class Input(Item):
def __init__(
self,
*,
name,
default=None,
optional=False,
description=None,
keep_directories=False,
filename=None
) -> None:
self.name = name
self.default = default # may be None, a string or a list of strings
... | <|file_sep|>original/valohai_yaml/objs/input.py
class Input(Item):
def __init__(
self,
*,
name,
default=None,
optional=False,
description=None,
keep_directories=False,
filename=None,
) -> None:
self.name = name
self.default = defau... | 9bb48f43c5b7b026d74710860e5427c4e0ec71dd | valohai_yaml/objs/input.py | valohai_yaml/objs/input.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.