prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/app/views/layouts/course.html.slim
= render within_layout: layout do
= render_breadcrumbs
div.row.course-layout data-course-id=current_course.id
div.col-lg-2.col-md-3.col-sm-4
div.row
div.hidden-xs.text-center#course-sidebar-logo
= link_to course_path(current_course)... | = render within_layout: layout do
= render_breadcrumbs
div.row.course-layout data-course-id=current_course.id
div.col-lg-2.col-md-3.col-sm-4
div.row
div.hidden-xs.text-center#course-sidebar-logo
= link_to course_path(current_course) do
= display_course_logo(current_course)
... | <|file_sep|>original/app/views/layouts/course.html.slim
= render within_layout: layout do
= render_breadcrumbs
div.row.course-layout data-course-id=current_course.id
div.col-lg-2.col-md-3.col-sm-4
div.row
div.hidden-xs.text-center#course-sidebar-logo
= link_to course_path(current_course)... | b203d4f251fcae978cfb72c29bb0752b44b0a35e | app/views/layouts/course.html.slim | app/views/layouts/course.html.slim | Slim |
<|file_sep|>original/test/integration/default/serverspec/publisher_spec.rb
require 'serverspec'
# Required by serverspec under test-kitchen
set :backend, :exec
# See recipes/test_publisher
fixtures = {
:deleted => 'ms.omniti.com',
:created => 'perl.omniti.com',
}
describe 'The ips_publisher resource' do
conte... | require 'serverspec'
# Required by serverspec under test-kitchen
set :backend, :exec
# See recipes/test_publisher
fixtures = {
:deleted => 'omnios',
:created => 'perl.omniti.com',
}
describe 'The ips_publisher resource' do
context 'when the action is :delete' do
it 'should not appear on the list of publi... | <|file_sep|>original/test/integration/default/serverspec/publisher_spec.rb
require 'serverspec'
# Required by serverspec under test-kitchen
set :backend, :exec
# See recipes/test_publisher
fixtures = {
:deleted => 'ms.omniti.com',
:created => 'perl.omniti.com',
}
describe 'The ips_publisher resource' do
conte... | 77244d350888388b2717fcf6360bd5dbfe989a67 | test/integration/default/serverspec/publisher_spec.rb | test/integration/default/serverspec/publisher_spec.rb | Ruby |
<|file_sep|>original/recipes/6s/bld.bat
set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
:: Configure.
cmake -G "MinGW Makefiles" -D CMAKE_INSTALL_PREFIX=%PREFIX% .
if errorlevel 1 exit 1
:: Build.
mingw32-make
if errorlevel 1 exit 1
:: Install.
mingw32-make install
if errorlevel 1 exit 1
sixs < Example_In_1.txt
<|fi... | set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
:: Configure.
cmake -G "MinGW Makefiles" -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% .
if errorlevel 1 exit 1
:: Build.
mingw32-make
if errorlevel 1 exit 1
:: Install.
mingw32-make install
if errorlevel 1 exit 1
sixs < Example_In_1.txt | <|file_sep|>original/recipes/6s/bld.bat
set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
:: Configure.
cmake -G "MinGW Makefiles" -D CMAKE_INSTALL_PREFIX=%PREFIX% .
if errorlevel 1 exit 1
:: Build.
mingw32-make
if errorlevel 1 exit 1
:: Install.
mingw32-make install
if errorlevel 1 exit 1
sixs < Example_In_1.txt
<|fi... | b7a1a0f514143d7fc60d4566fd8dd56b139bd83c | recipes/6s/bld.bat | recipes/6s/bld.bat | Batchfile |
<|file_sep|>original/.travis.yml
language: csharp
solution: KWADTool.sln
script:
- xbuild /p:Configuration=Release /p:Platform=x86 KWADTool.sln
<|file_sep|>current/.travis.yml
language: csharp
solution: KWADTool.sln
script:
- xbuild /p:Configuration=Release /p:Platform=x86 KWADTool.sln
<|file_sep|>updated/.travis... | language: csharp
solution: KWADTool.sln
script:
- xbuild /p:Configuration=Release /p:Platform=AnyCPU KWADTool.sln
env:
- OUTPUT_DIR="KWADTool/bin/Release"
- ARTIFACT_NAME="KWADTool-${TRAVIS_TAG}.zip"
before_deploy: "7z a ${ARTIFACT_NAME} '${OUTPUT_DIR}/*.dll' '${OUTPUT_DIR}/KWADTool.exe' '${OUTPUT_DIR}/KWADTool.exe.... | <|file_sep|>original/.travis.yml
language: csharp
solution: KWADTool.sln
script:
- xbuild /p:Configuration=Release /p:Platform=x86 KWADTool.sln
<|file_sep|>current/.travis.yml
language: csharp
solution: KWADTool.sln
script:
- xbuild /p:Configuration=Release /p:Platform=x86 KWADTool.sln
<|file_sep|>updated/.travis... | 0755a0d49d9f6c37d22f6b4076fad0229abaec8e | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 1.8.7
- 1.9.2
updated:
<|file_sep|>original/.travis.yml
language: ruby
script: "bundle exec rake"
sudo: false
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.8
- 2.2.4
- 2.3.0
- 2.4.1
- ruby-head
- jruby-head
- jruby-18mode
- jruby-19mode
matrix:
fast_... | - 1.9.3
- 2.0.0
- 2.1.8
- 2.2.4
- 2.3.0
- 2.4.1
- ruby-head
- jruby-head
- jruby-18mode
- jruby-19mode
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: ree
include:
- rvm: 1.8.7
dist: precise
- rvm: 1.9.2
dist: trusty | <|file_sep|>.travis.yml.diff
original:
- 1.8.7
- 1.9.2
updated:
<|file_sep|>original/.travis.yml
language: ruby
script: "bundle exec rake"
sudo: false
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1.8
- 2.2.4
- 2.3.0
- 2.4.1
- ruby-head
- jruby-head
- jruby-18mode
- jruby-19mode
matrix:
fast_... | a882e60b913af5f9413753d0aa6d287a3acadc74 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tweetstream.py
# -*- coding: utf-8 -*-
import os
from tweepy import Stream
from tweepy import OAuthHandler
from tweepy import API
from tweepy.streaming import StreamListener
from listener import Listener
ckey = os.environ['CKEY']
consumer_secret = os.environ['CONSUMER_KEY']
access_token_key = os.e... | # -*- coding: utf-8 -*-
import os
from tweepy import Stream
from tweepy import OAuthHandler
from tweepy import API
from tweepy.streaming import StreamListener
from listener import Listener
ckey = os.environ['CKEY']
consumer_secret = os.environ['CONSUMER_SECRET']
access_token_key = os.environ['ACCESS_TOKEN_KEY']
access... | <|file_sep|>original/tweetstream.py
# -*- coding: utf-8 -*-
import os
from tweepy import Stream
from tweepy import OAuthHandler
from tweepy import API
from tweepy.streaming import StreamListener
from listener import Listener
ckey = os.environ['CKEY']
consumer_secret = os.environ['CONSUMER_KEY']
access_token_key = os.e... | a973f489d265c0f4f5baa3357eaf5a772a825821 | tweetstream.py | tweetstream.py | Python |
<|file_sep|>original/app/views/projects/index.html.erb
<li>
<% if logged_in? %>
<%= link_to 'Add', new_project_path %>
<% end %>
</li>
<% end %>
<div class="center">
<h2>Projects</h2>
<%= search_form_for @search do |f| %>
<%= f.label :badge_status %>
<%= f.collection_select(:badge_statu... | <li>
<% if logged_in? %>
<%= link_to 'Add', new_project_path %>
<% end %>
</li>
<% end %>
<div class="center">
<h2>Projects</h2>
<%= search_form_for @search do |f| %>
<%= f.label :badge_status_eq %>
<%= f.collection_select(:badge_status_eq,
Project::BADGE_S... | <|file_sep|>original/app/views/projects/index.html.erb
<li>
<% if logged_in? %>
<%= link_to 'Add', new_project_path %>
<% end %>
</li>
<% end %>
<div class="center">
<h2>Projects</h2>
<%= search_form_for @search do |f| %>
<%= f.label :badge_status %>
<%= f.collection_select(:badge_statu... | bf99cd01b50561b4eb321ead2f98bf152a3dde23 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | HTML+ERB |
<|file_sep|>original/config.example.py
# Must be a mysql database!
database_uri = 'mysql://root@localhost/pushjet_api'
# Are we debugging the server?
# Do not turn this on when in production!
debug = True
# Limit requests?
limiter = False
# Google Cloud Messaging configuration (required for android!)
google_api_key ... | # Must be a mysql database!
database_uri = 'mysql://root@localhost/pushjet_api'
# Are we debugging the server?
# Do not turn this on when in production!
debug = True
# Limit requests?
limiter = False
# Google Cloud Messaging configuration (required for android!)
google_api_key = ''
# Message Queueing, this should b... | <|file_sep|>original/config.example.py
# Must be a mysql database!
database_uri = 'mysql://root@localhost/pushjet_api'
# Are we debugging the server?
# Do not turn this on when in production!
debug = True
# Limit requests?
limiter = False
# Google Cloud Messaging configuration (required for android!)
google_api_key ... | 07a427d687a2618c03d62eb60d849c4ed26752c4 | config.example.py | config.example.py | Python |
<|file_sep|>original/web/views/book_view.ex
def render("index.json", %{books: books}) do
%{data: render_many(books, MicoseBackend.BookView, "book.json")}
end
def render("show.json", %{book: book}) do
%{data: render_one(book, MicoseBackend.BookView, "book.json")}
end
def render("book.json", %{book: ... |
def render("index.json", %{books: books}) do
%{data: render_many(books, MicoseBackend.BookView, "book.json")}
end
def render("show.json", %{book: book}) do
%{data: render_one(book, MicoseBackend.BookView, "book.json")}
end
def render("book.json", %{book: book}) do
%{id: book.id,
title: bo... | <|file_sep|>original/web/views/book_view.ex
def render("index.json", %{books: books}) do
%{data: render_many(books, MicoseBackend.BookView, "book.json")}
end
def render("show.json", %{book: book}) do
%{data: render_one(book, MicoseBackend.BookView, "book.json")}
end
def render("book.json", %{book: ... | 11c842ce6628966650359ad84b6c2f3841f77464 | web/views/book_view.ex | web/views/book_view.ex | Elixir |
<|file_sep|>original/requirements/test.txt
# Test dependencies go here.
-r base.txt
coverage==4.1
django-coverage-plugin==1.3.1
flake8==2.6.2 # pyup: != 2.6.0
django-test-plus==1.0.14
factory_boy==2.7.0
# pytest
pytest-django==2.9.1
pytest-sugar==0.7.1
<|file_sep|>current/requirements/test.txt
# Test dependencies g... | # Test dependencies go here.
-r base.txt
coverage==4.3.1
django-coverage-plugin==1.3.1
flake8==2.6.2 # pyup: != 2.6.0
django-test-plus==1.0.14
factory_boy==2.7.0
# pytest
pytest-django==2.9.1
pytest-sugar==0.7.1 | <|file_sep|>original/requirements/test.txt
# Test dependencies go here.
-r base.txt
coverage==4.1
django-coverage-plugin==1.3.1
flake8==2.6.2 # pyup: != 2.6.0
django-test-plus==1.0.14
factory_boy==2.7.0
# pytest
pytest-django==2.9.1
pytest-sugar==0.7.1
<|file_sep|>current/requirements/test.txt
# Test dependencies g... | d74ab180caad98654fd28f7bd0be709114331550 | requirements/test.txt | requirements/test.txt | Text |
<|file_sep|>original/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
<|file_sep|>current/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
<|file_sep|>updated/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt | Binding for Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller
The MISC interrupt controller is a secondary controller for lower priority
interrupt.
Required Properties:
- compatible: has to be "qca,<soctype>-cpu-intc", "qca,ar7100-misc-intc"
as fallback
- reg: Base address and size of the controllers memory ... | <|file_sep|>original/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
<|file_sep|>current/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
<|file_sep|>updated/Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
Binding for Qualcomm... | bb35586fd07447515deaa774c0aa07cdfa4d4743 | Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt | Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt | Text |
<|file_sep|>original/doc/install/linux-amd64.sh
#!/bin/sh
tar xzvf hyperdex-1.5.dev-linux-amd64.tar.gz -C /usr/local
export PATH=/usr/local/hyperdex/bin:${PATH}
hyperdex --version
<|file_sep|>current/doc/install/linux-amd64.sh
#!/bin/sh
tar xzvf hyperdex-1.5.dev-linux-amd64.tar.gz -C /usr/local
export PATH=/usr/local... | #!/bin/sh
tar xzvf hyperdex-1.8.dev-linux-amd64.tar.gz -C /usr/local
export PATH=/usr/local/hyperdex/bin:${PATH}
hyperdex --version | <|file_sep|>original/doc/install/linux-amd64.sh
#!/bin/sh
tar xzvf hyperdex-1.5.dev-linux-amd64.tar.gz -C /usr/local
export PATH=/usr/local/hyperdex/bin:${PATH}
hyperdex --version
<|file_sep|>current/doc/install/linux-amd64.sh
#!/bin/sh
tar xzvf hyperdex-1.5.dev-linux-amd64.tar.gz -C /usr/local
export PATH=/usr/local... | 4b8329d73c57a443434a0e64b0e76fe717b0421e | doc/install/linux-amd64.sh | doc/install/linux-amd64.sh | Shell |
<|file_sep|>lib/wobserver/application.ex.diff
original:
updated:
@doc ~S"""
The port the application uses.
"""
<|file_sep|>lib/wobserver/application.ex.diff
original:
import Supervisor.Spec, warn: false
updated:
case supervisor_children() do
[] ->
# Return the metric storage if we're not go... | # Return the metric storage if we're not going to start an application.
{:ok, Process.whereis(:wobserver_metrics)}
children ->
import Supervisor.Spec, warn: false
opts = [strategy: :one_for_one, name: Wobserver.Supervisor]
Supervisor.start_link(children, opts)
end
en... | <|file_sep|>lib/wobserver/application.ex.diff
original:
updated:
@doc ~S"""
The port the application uses.
"""
<|file_sep|>lib/wobserver/application.ex.diff
original:
import Supervisor.Spec, warn: false
updated:
case supervisor_children() do
[] ->
# Return the metric storage if we're not go... | aafa3c58632754e232f519bf49c1d6efbf674074 | lib/wobserver/application.ex | lib/wobserver/application.ex | Elixir |
<|file_sep|>original/wercker.yml
name: npm install
code: |-
sudo npm install -g npm
npm -v
mkdir -p $WERCKER_CACHE_DIR/wercker/npm
npm config set cache $WERCKER_CACHE_DIR/wercker/npm
sudo npm install
- wercker/bundle-install@1.1.1
... | name: npm install
code: |-
sudo npm install -g npm
npm -v
mkdir -p $WERCKER_CACHE_DIR/wercker/npm
npm config set cache $WERCKER_CACHE_DIR/wercker/npm
sudo npm install
- wercker/bundle-install@1.1.1
- script:
name: buil... | <|file_sep|>original/wercker.yml
name: npm install
code: |-
sudo npm install -g npm
npm -v
mkdir -p $WERCKER_CACHE_DIR/wercker/npm
npm config set cache $WERCKER_CACHE_DIR/wercker/npm
sudo npm install
- wercker/bundle-install@1.1.1
... | 3663490b68fc0877688960b53951b76867b23d3e | wercker.yml | wercker.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
cache:
directories:
- node_modules
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "5"
install:
- npm install -g elm
- npm install -g elm-test
- elm-package install -y
- pushd tests && elm-package install -y && popd
script:
... | sudo: false
language: node_js
node_js:
- "5"
cache:
directories:
- node_modules
install:
- npm install -g elm
- npm install -g elm-test
- elm-package install -y
- pushd tests && elm-package install -y && popd
script:
- elm-test | <|file_sep|>.travis.yml.diff
original:
updated:
cache:
directories:
- node_modules
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "5"
install:
- npm install -g elm
- npm install -g elm-test
- elm-package install -y
- pushd tests && elm-package install -y && popd
script:
... | b975603a2696f702d58011ef2edb1f5b2963548b | .travis.yml | .travis.yml | YAML |
<|file_sep|>km3pipe/tests/test_plot.py.diff
original:
from km3pipe.testing import TestCase
from km3pipe.plot import bincenters
updated:
from km3pipe.testing import TestCase, patch
from km3pipe.plot import bincenters, meshgrid, automeshgrid, diag
<|file_sep|>original/km3pipe/tests/test_plot.py
# Filename: test_plot.py
#... | __license__ = "MIT"
__maintainer__ = "Moritz Lotze"
__email__ = "mlotze@km3net.de"
__status__ = "Development"
class TestBins(TestCase):
def test_binlims(self):
bins = np.linspace(0, 20, 21)
assert bincenters(bins).shape[0] == bins.shape[0] - 1
class TestMeshStuff(TestCase):
def test_meshgrid... | <|file_sep|>km3pipe/tests/test_plot.py.diff
original:
from km3pipe.testing import TestCase
from km3pipe.plot import bincenters
updated:
from km3pipe.testing import TestCase, patch
from km3pipe.plot import bincenters, meshgrid, automeshgrid, diag
<|file_sep|>original/km3pipe/tests/test_plot.py
# Filename: test_plot.py
#... | a3a5d2d6b76a4e903fea232b746b2df8b208ec9e | km3pipe/tests/test_plot.py | km3pipe/tests/test_plot.py | Python |
<|file_sep|>.travis.yml.diff
original:
- TRAVIS_JOB_ID=$COV_TOK travis-cargo coveralls --no-sudo
updated:
- travis-cargo coveralls --no-sudo
<|file_sep|>original/.travis.yml
- 1.1.0
- beta
- nightly
sudo: false
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin/:$PATH
script:
- |
t... | - 1.1.0
- beta
- nightly
sudo: false
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin/:$PATH
script:
- |
travis-cargo build &&
travis-cargo test
after_success:
- travis-cargo coveralls --no-sudo
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libd... | <|file_sep|>.travis.yml.diff
original:
- TRAVIS_JOB_ID=$COV_TOK travis-cargo coveralls --no-sudo
updated:
- travis-cargo coveralls --no-sudo
<|file_sep|>original/.travis.yml
- 1.1.0
- beta
- nightly
sudo: false
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin/:$PATH
script:
- |
t... | b1bbc8eced05178df2fcab5878e4f6cd90c811f0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/start-sandbox.bash
/usr/java/jdk1.5.0_15/bin/java -jar start.jar &
popd
# Start mongo, already on the path
# mongod & # already started for us
# Start the forge
. sandbox-env/bin/activate
cd pyforge
paster reactor_setup sandbox.ini
paster reactor sandbox.ini &
paster setup-app sandbox.ini
past... | /usr/java/jdk1.5.0_15/bin/java -jar start.jar &
popd
# Start mongo, already on the path
# mongod & # already started for us
# Start the forge
. sandbox-env/bin/activate
cd pyforge
paster reactor_setup sandbox.ini
paster reactor sandbox.ini &
paster setup-app sandbox.ini
paster serve --reload sandbox.ini &
sleep 5... | <|file_sep|>original/start-sandbox.bash
/usr/java/jdk1.5.0_15/bin/java -jar start.jar &
popd
# Start mongo, already on the path
# mongod & # already started for us
# Start the forge
. sandbox-env/bin/activate
cd pyforge
paster reactor_setup sandbox.ini
paster reactor sandbox.ini &
paster setup-app sandbox.ini
past... | 52c99d9dad15db7b3265d2a8a7a9e9fd974a6333 | start-sandbox.bash | start-sandbox.bash | Shell |
<|file_sep|>original/.github/workflows/mirror-pull-requests.yaml
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
- name: Fetch PR refs
run: git... | runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
- name: Setup git-appraise and the pr mirror
run: |
go get github.com/google/git-appr... | <|file_sep|>original/.github/workflows/mirror-pull-requests.yaml
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
- name: Fetch PR refs
run: git... | ad2a05bff8885f73c2945cce50ccfd49794e1052 | .github/workflows/mirror-pull-requests.yaml | .github/workflows/mirror-pull-requests.yaml | YAML |
<|file_sep|>original/docs/reference/query-dsl/match-all-query.asciidoc
[[query-dsl-match-all-query]]
== Match All Query
The most simple query, which matches all documents, giving them all a `_score`
of `1.0`.
[source,js]
--------------------------------------------------
{ "match_all": {} }
--------------------------... | --------------------------------------------------
{ "match_all": {} }
--------------------------------------------------
The `_score` can be changed with the `boost` parameter:
[source,js]
--------------------------------------------------
{ "match_all": { "boost" : 1.2 }}
-------------------------------------------... | <|file_sep|>original/docs/reference/query-dsl/match-all-query.asciidoc
[[query-dsl-match-all-query]]
== Match All Query
The most simple query, which matches all documents, giving them all a `_score`
of `1.0`.
[source,js]
--------------------------------------------------
{ "match_all": {} }
--------------------------... | ecbc7774ca473e63b6e89e0de4213adb430283db | docs/reference/query-dsl/match-all-query.asciidoc | docs/reference/query-dsl/match-all-query.asciidoc | AsciiDoc |
<|file_sep|>src/widgets/component-new-edit/components/response-format/table/input-measure.jsx.diff
original:
import { InputWithVariableAutoCompletion } from 'forms/controls/control-with-suggestions';
updated:
import { RichTextareaWithVariableAutoCompletion } from 'forms/controls/control-with-suggestions';
import {toolb... | function InputMeasure(props) {
return (
<div>
<Field
name="label"
component={RichTextareaWithVariableAutoCompletion}
label={Dictionary.measureLabel}
toolbar={toolbarConfigTooltip}
required
/>
<SelectorView
label={Dictionary.typeMeasure}
... | <|file_sep|>src/widgets/component-new-edit/components/response-format/table/input-measure.jsx.diff
original:
import { InputWithVariableAutoCompletion } from 'forms/controls/control-with-suggestions';
updated:
import { RichTextareaWithVariableAutoCompletion } from 'forms/controls/control-with-suggestions';
import {toolb... | ab7b0ec22385e62203d16e02c8be1f763c61d6ed | src/widgets/component-new-edit/components/response-format/table/input-measure.jsx | src/widgets/component-new-edit/components/response-format/table/input-measure.jsx | JSX |
<|file_sep|>lumberjack/config/zmq.cfg.diff
original:
url = tcp://*:6999
bind = True
updated:
<|file_sep|>original/lumberjack/config/zmq.cfg
[loggers]
keys = root
[handlers]
keys = zmq
[formatters]
keys = json
[logger_root]
handlers = zmq
[handler_zmq]
class = lumberjack.zmq.ZMQPublisher
url = tcp://*:6999
bind = T... | [loggers]
keys = root
[handlers]
keys = zmq
[formatters]
keys = json
[logger_root]
handlers = zmq
[handler_zmq]
class = lumberjack.zmq.ZMQPublisher
formatter = json
level = NOTSET
args = ("tcp://*:6999", None, True) | <|file_sep|>lumberjack/config/zmq.cfg.diff
original:
url = tcp://*:6999
bind = True
updated:
<|file_sep|>original/lumberjack/config/zmq.cfg
[loggers]
keys = root
[handlers]
keys = zmq
[formatters]
keys = json
[logger_root]
handlers = zmq
[handler_zmq]
class = lumberjack.zmq.ZMQPublisher
url = tcp://*:6999
bind = T... | e1f8b0d399019b6d71d950d0bedde41ecef7ae0c | lumberjack/config/zmq.cfg | lumberjack/config/zmq.cfg | INI |
<|file_sep|>original/src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java
<|file_sep|>current/src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java
<|file_sep|>updated/src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java | /*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (C) 2016-2017 Barry DeZonia
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must ret... | <|file_sep|>original/src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java
<|file_sep|>current/src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java
<|file_sep|>updated/src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java
/*
* Zo... | b1df7ed86d909f4eba8f1bb821edd5d6b4e2ed00 | src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java | src/main/java/nom/bdezonia/zorbage/type/data/universal/ExponentialCalculation.java | Java |
<|file_sep|>pymortgage/d3_schedule.py.diff
original:
updated:
keys = ['balance', 'principal', 'interest', 'amount']
<|file_sep|>pymortgage/d3_schedule.py.diff
original:
d3_data.insert(0, self.add_year_key("balance"))
d3_data.insert(1, self.add_year_key("principal"))
... | keys = ['balance', 'principal', 'interest', 'amount']
if by_year:
for i in range(len(keys)):
d3_data.insert(i, self.add_key(keys[i], 'year'))
else:
for i in range(len(keys)):
d3_data.insert(i, self.add_key(keys[... | <|file_sep|>pymortgage/d3_schedule.py.diff
original:
updated:
keys = ['balance', 'principal', 'interest', 'amount']
<|file_sep|>pymortgage/d3_schedule.py.diff
original:
d3_data.insert(0, self.add_year_key("balance"))
d3_data.insert(1, self.add_year_key("principal"))
... | b6742ef3f8d1888e46938b2c678bfb093b7a31f2 | pymortgage/d3_schedule.py | pymortgage/d3_schedule.py | Python |
<|file_sep|>original/config/locales/en/_dotiw.yml
<|file_sep|>current/config/locales/en/_dotiw.yml
<|file_sep|>updated/config/locales/en/_dotiw.yml | en:
datetime:
dotiw:
seconds:
one: 1 second
other: "%{count} seconds"
minutes:
one: 1 minute
other: "%{count} minutes"
hours:
one: 1 hour
other: "%{count} hours"
days:
one: 1 day
other: "%{count} days"
weeks:
one... | <|file_sep|>original/config/locales/en/_dotiw.yml
<|file_sep|>current/config/locales/en/_dotiw.yml
<|file_sep|>updated/config/locales/en/_dotiw.yml
en:
datetime:
dotiw:
seconds:
one: 1 second
other: "%{count} seconds"
minutes:
one: 1 minute
other: "%{count} minutes"
... | 16f382a820dd6b79fc012bdfb366b3403f4ef0dc | config/locales/en/_dotiw.yml | config/locales/en/_dotiw.yml | YAML |
<|file_sep|>original/README.md
# ReactMobileApp
As one might expect it's a mobile app built using react-native.
## BUILD
Run:
* npm install
* rnpm link
* See https://github.com/lelandrichardson/react-native-maps/issues/371
* cp settings.json.dist settings.json
* react-native run-ios (or xcode or whatever)
## CUSTOMI... | # ReactMobileApp
As one might expect it's a mobile app built using react-native.
## BUILD
Run:
* npm install
* rnpm link
* See https://github.com/lelandrichardson/react-native-maps/issues/371
* cp settings.json.dist settings.json
* react-native run-ios (or xcode or whatever)
## CUSTOMIZING
Change settings.json as ne... | <|file_sep|>original/README.md
# ReactMobileApp
As one might expect it's a mobile app built using react-native.
## BUILD
Run:
* npm install
* rnpm link
* See https://github.com/lelandrichardson/react-native-maps/issues/371
* cp settings.json.dist settings.json
* react-native run-ios (or xcode or whatever)
## CUSTOMI... | 8255960406173a25b9f74b84a86d2373db324799 | README.md | README.md | Markdown |
<|file_sep|>original/presto-array/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<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</modelVers... | <?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.fa... | <|file_sep|>original/presto-array/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<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</modelVers... | 6c5905aa0f9e10b5dbee3538fffa8ce15b3f0c06 | presto-array/pom.xml | presto-array/pom.xml | XML |
<|file_sep|>original/README.md
magicdb
---
magicdb.DB wraps sql.DB objects in a way that can simplify certain operations.
First, instead of returning errors after every function call, DB and all
objects it creates (Tx, Stmt, etc) silently fail on any sql.DB error. This
error is stored internally, and prevents any of ... |
Additionally, there are optional types which utilize reflection to simplify the
most common operations so that you can tag your structures and get easy read,
update, and insert operations. These are extremely limited in scope as I don't
want to try and make magic-hell, and should really only be used for table-level
a... | <|file_sep|>original/README.md
magicdb
---
magicdb.DB wraps sql.DB objects in a way that can simplify certain operations.
First, instead of returning errors after every function call, DB and all
objects it creates (Tx, Stmt, etc) silently fail on any sql.DB error. This
error is stored internally, and prevents any of ... | 5f194f085120957e655cd4169b68ede1ec106d79 | README.md | README.md | Markdown |
<|file_sep|>SHTextFieldBlocks.podspec.diff
original:
s.summary = "Prefixed UITextField category replacing delegate calls with blocks. Without libffi and swizzling."
updated:
s.summary = "Prefixed UITextField category replacing delegate calls with blocks. without libffi and swizzling."
<|file_sep|>SHTextFi... | s.name = name
s.version = version
s.summary = "Prefixed UITextField category replacing delegate calls with blocks. without libffi and swizzling."
s.description = <<-DESC
Delegate callbacks via blocks.
Blocks are hold with a weak reference so you don't ... | <|file_sep|>SHTextFieldBlocks.podspec.diff
original:
s.summary = "Prefixed UITextField category replacing delegate calls with blocks. Without libffi and swizzling."
updated:
s.summary = "Prefixed UITextField category replacing delegate calls with blocks. without libffi and swizzling."
<|file_sep|>SHTextFi... | d22a85b24e6b252b4af79c38aa04ca17ce7c93f8 | SHTextFieldBlocks.podspec | SHTextFieldBlocks.podspec | Ruby |
<|file_sep|>original/test/Analysis/ConstantFolding/gep-alias.ll
; RUN: opt -instcombine -S -o - %s | FileCheck %s
; Test that we don't replace an alias with its aliasee when simplifying GEPs.
; In this test case the transformation is invalid because it replaces the
; reference to the symbol "b" (which refers to whichev... | ; RUN: opt -instcombine -S -o - %s | FileCheck %s
; Test that we don't replace an alias with its aliasee when simplifying GEPs.
; In this test case the transformation is invalid because it replaces the
; reference to the symbol "b" (which refers to whichever instance of "b"
; was chosen by the linker) with a reference ... | <|file_sep|>original/test/Analysis/ConstantFolding/gep-alias.ll
; RUN: opt -instcombine -S -o - %s | FileCheck %s
; Test that we don't replace an alias with its aliasee when simplifying GEPs.
; In this test case the transformation is invalid because it replaces the
; reference to the symbol "b" (which refers to whichev... | 856544160d86ca4c2be391b5d94dd73fe862994f | test/Analysis/ConstantFolding/gep-alias.ll | test/Analysis/ConstantFolding/gep-alias.ll | LLVM |
<|file_sep|>original/Tools/System/TaskSwapHandler.asm
<|file_sep|>current/Tools/System/TaskSwapHandler.asm
<|file_sep|>updated/Tools/System/TaskSwapHandler.asm | taskswapHandler :
pop ecx ; pop eip into ecx
pusha
mov ebx, [currentTaskNum] ; get the current task
imul ebx, TASK_OBJ_SIZE
add ebx, RunningTaskList
mov [ebx+Task_eip], ecx
mov [ebx+Task_stackLoc], esp ; store the relevent things
; get the next Task object into ebx
taskswapHandler.goLoop :
add ebx... | <|file_sep|>original/Tools/System/TaskSwapHandler.asm
<|file_sep|>current/Tools/System/TaskSwapHandler.asm
<|file_sep|>updated/Tools/System/TaskSwapHandler.asm
taskswapHandler :
pop ecx ; pop eip into ecx
pusha
mov ebx, [currentTaskNum] ; get the current task
imul ebx, TASK_OBJ_SIZE
add ebx, RunningTaskList
... | 845306b03bebfcd354d1266f960fb1632fe374ca | Tools/System/TaskSwapHandler.asm | Tools/System/TaskSwapHandler.asm | Assembly |
<|file_sep|>original/packages/in/invertible-hxt.yaml
<|file_sep|>current/packages/in/invertible-hxt.yaml
<|file_sep|>updated/packages/in/invertible-hxt.yaml | homepage: ''
changelog-type: ''
hash: 8495092e94f6a7eebbdf980a8ccd3684f2078b02b2faf4b4822b1202ee42dae9
test-bench-deps: {}
maintainer: dylan@dylex.net
synopsis: invertible transformer instances for HXT Picklers
changelog: ''
basic-deps:
base: ! '>=4.8 && <5'
invertible: -any
hxt: -any
mtl: -any
hxt-charproper... | <|file_sep|>original/packages/in/invertible-hxt.yaml
<|file_sep|>current/packages/in/invertible-hxt.yaml
<|file_sep|>updated/packages/in/invertible-hxt.yaml
homepage: ''
changelog-type: ''
hash: 8495092e94f6a7eebbdf980a8ccd3684f2078b02b2faf4b4822b1202ee42dae9
test-bench-deps: {}
maintainer: dylan@dylex.net
synopsis: ... | 3857670f5b55befea87dfc142e90b17b96979eea | packages/in/invertible-hxt.yaml | packages/in/invertible-hxt.yaml | YAML |
<|file_sep|>original/doc/source/index.rst
===========================
OpenStack-Ansible LXC hosts
===========================
Ansible role that configures a host for running LXC containers.
Default variables
~~~~~~~~~~~~~~~~~
.. literalinclude:: ../../defaults/main.yml
:language: yaml
:start-after: under the L... | ===========================
OpenStack-Ansible LXC hosts
===========================
Ansible role that configures a host for running LXC containers.
To clone or view the source code for this repository, visit the role repository
for `lxc_hosts <https://github.com/openstack/openstack-ansible-lxc_hosts>`_.
Default vari... | <|file_sep|>original/doc/source/index.rst
===========================
OpenStack-Ansible LXC hosts
===========================
Ansible role that configures a host for running LXC containers.
Default variables
~~~~~~~~~~~~~~~~~
.. literalinclude:: ../../defaults/main.yml
:language: yaml
:start-after: under the L... | 036a9910758af64307bf34f49b26c146d8e89a0d | doc/source/index.rst | doc/source/index.rst | reStructuredText |
<|file_sep|>original/src/less/blocks/input_group.less
right: 100%;
top: 50%;
transform: translateY(-50%);
}
}
.input_group__after {
margin: 0 0 0 10px;
&-outside_bottom {
position: absolute;
right: 0;
top: 100%;
margin: 10px 0 0 0;
font-size: 14px;
}
}
.input_group__input {
... | transform: translateY(-50%);
}
}
.input_group__after {
margin: 0 0 0 10px;
&-outside_bottom {
position: absolute;
right: 0;
top: 100%;
margin: 10px 0 0 0;
font-size: 14px;
}
}
.input_group__input {
flex: 1;
position: relative;
z-index: 10
} | <|file_sep|>original/src/less/blocks/input_group.less
right: 100%;
top: 50%;
transform: translateY(-50%);
}
}
.input_group__after {
margin: 0 0 0 10px;
&-outside_bottom {
position: absolute;
right: 0;
top: 100%;
margin: 10px 0 0 0;
font-size: 14px;
}
}
.input_group__input {
... | 68d62d99e5ce8b04c6ce287064712e83903a0652 | src/less/blocks/input_group.less | src/less/blocks/input_group.less | Less |
<|file_sep|>zones/canjs/cleanup.js.diff
original:
updated:
var nodeLists = require("can-view-nodelist");
<|file_sep|>zones/canjs/cleanup.js.diff
original:
updated:
<|file_sep|>original/zones/canjs/cleanup.js
var getDomMutate = getEither.bind(null, "domMutate", "can-dom-mutate/node");
return {
ended: function()... |
var getDomMutate = getEither.bind(null, "domMutate", "can-dom-mutate/node");
return {
ended: function(){
var domMutate = getDomMutate();
var docEl = data.document.documentElement;
// Run the removal within the zone so that the globals point to our globals.
var removeDocumentElement = this.wrap(functi... | <|file_sep|>zones/canjs/cleanup.js.diff
original:
updated:
var nodeLists = require("can-view-nodelist");
<|file_sep|>zones/canjs/cleanup.js.diff
original:
updated:
<|file_sep|>original/zones/canjs/cleanup.js
var getDomMutate = getEither.bind(null, "domMutate", "can-dom-mutate/node");
return {
ended: function()... | 83a9b35560bcd7f0112694f45e6375bd5004f4e5 | zones/canjs/cleanup.js | zones/canjs/cleanup.js | JavaScript |
<|file_sep|>Gruntfile.js.diff
original:
'<%= nodeunit.tests %>'
updated:
'<%= nodeunit.tests %>',
<|file_sep|>Gruntfile.js.diff
original:
jshintrc: '.jshintrc'
}
updated:
jshintrc: '.jshintrc',
},
<|file_sep|>original/Gruntfile.js
jshintrc: '.jshintrc'
}
},
... | jshintrc: '.jshintrc',
},
},
watch: {
all: {
files: ['<%= jshint.all %>'],
tasks: ['jshint', 'nodeunit'],
},
},
nodeunit: {
tests: ['test/tasks/*_test.js'],
},
});
// Dynamic alias task to nodeunit. Run individual tests with: grunt test:events
g... | <|file_sep|>Gruntfile.js.diff
original:
'<%= nodeunit.tests %>'
updated:
'<%= nodeunit.tests %>',
<|file_sep|>Gruntfile.js.diff
original:
jshintrc: '.jshintrc'
}
updated:
jshintrc: '.jshintrc',
},
<|file_sep|>original/Gruntfile.js
jshintrc: '.jshintrc'
}
},
... | 467e1990ab2d63ae5816a8e2fa0408fbf4f23153 | Gruntfile.js | Gruntfile.js | JavaScript |
<|file_sep|>original/recipes/default.rb
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | <|file_sep|>original/recipes/default.rb
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 76635e1382311c56b0400983d490aa199190eab2 | recipes/default.rb | recipes/default.rb | Ruby |
<|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.6
- 7.0
- 7.1
- 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... | b573d68c7a3be319298b3886e1ac8c2080e4e4ff | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/src/main/res/layout/fragment_fullscreen.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTo... | <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="-7dp">
<me.relex.photodraweeview.PhotoDraweeView
andr... | <|file_sep|>original/app/src/main/res/layout/fragment_fullscreen.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTo... | f402fe285e728a858a90b849d4e1dfc160d049a0 | app/src/main/res/layout/fragment_fullscreen.xml | app/src/main/res/layout/fragment_fullscreen.xml | XML |
<|file_sep|>original/lib/JWX/JWT/Claims.php
throw new \UnexpectedValueException("Invalid JSON");
}
foreach ($fields as $name => $value) {
$claims[] = Claim::fromNameAndValue($name, $value);
}
return new self(...$claims);
}
/**
* Convert to JSON
*
* @return string
*/
public function toJSON() {... | throw new \UnexpectedValueException("Invalid JSON");
}
foreach ($fields as $name => $value) {
$claims[] = Claim::fromNameAndValue($name, $value);
}
return new self(...$claims);
}
/**
* Convert to JSON
*
* @return string
*/
public function toJSON() {
$data = array();
foreach ($this->_claim... | <|file_sep|>original/lib/JWX/JWT/Claims.php
throw new \UnexpectedValueException("Invalid JSON");
}
foreach ($fields as $name => $value) {
$claims[] = Claim::fromNameAndValue($name, $value);
}
return new self(...$claims);
}
/**
* Convert to JSON
*
* @return string
*/
public function toJSON() {... | a98a383343ac74cee6cef52d1ad2846445372bad | lib/JWX/JWT/Claims.php | lib/JWX/JWT/Claims.php | PHP |
<|file_sep|>original/i18n/en.yaml
---
- id: latestPosts
translation: "Latest Posts"
- id: blogHeading
translation: "Blog"
- id: pageNotFound
translation: "Sorry, this page does not exist."
- id: visitHomePage
translation: "Visit home page"
- id: readingTime
translation:
one: "One minute read"
othe... | ---
- id: latestPosts
translation: "Latest Posts"
- id: blogHeading
translation: "Blog"
- id: pageNotFound
translation: "Sorry, this page does not exist."
- id: visitHomePage
translation: "Visit home page"
- id: readingTime
translation:
one: "One minute read"
other: "{{ .Count }} minutes read"
- ... | <|file_sep|>original/i18n/en.yaml
---
- id: latestPosts
translation: "Latest Posts"
- id: blogHeading
translation: "Blog"
- id: pageNotFound
translation: "Sorry, this page does not exist."
- id: visitHomePage
translation: "Visit home page"
- id: readingTime
translation:
one: "One minute read"
othe... | 27d6001dad175a46cff350fdc0237e8b5e246645 | i18n/en.yaml | i18n/en.yaml | YAML |
<|file_sep|>metadata/com.redcoracle.episodes.yml.diff
original:
updated:
- versionName: 0.13.5
versionCode: 18
commit: 0.13.5
subdir: app
gradle:
- standard
<|file_sep|>original/metadata/com.redcoracle.episodes.yml
gradle:
- standard
- versionName: 0.13.3
versionCode: 16
c... | gradle:
- standard
- versionName: 0.13.4
versionCode: 17
commit: 0.13.4
subdir: app
gradle:
- standard
- versionName: 0.13.5
versionCode: 18
commit: 0.13.5
subdir: app
gradle:
- standard
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9]+\.[0-9]+\.[0-9]+... | <|file_sep|>metadata/com.redcoracle.episodes.yml.diff
original:
updated:
- versionName: 0.13.5
versionCode: 18
commit: 0.13.5
subdir: app
gradle:
- standard
<|file_sep|>original/metadata/com.redcoracle.episodes.yml
gradle:
- standard
- versionName: 0.13.3
versionCode: 16
c... | e880731c578e74ab78eb36a287593153b51fc045 | metadata/com.redcoracle.episodes.yml | metadata/com.redcoracle.episodes.yml | YAML |
<|file_sep|>original/app/views/users/_trip.html.erb
<div class="row">
<<<<<<< HEAD
<div class="col-md-1"><%= link_to "Edit", edit_trip_path(trip) %></div>
<div class="col-md-3"><%= link_to "Delete", trip_path(trip), method: :delete %></div>
<div class="col-md-3"><%=trip.destination_address.city %></div>
<d... | <div class="row">
<div class="col-md-1"><%= link_to "Edit", edit_trip_path(trip) %></div>
<div class="col-md-3"><%= link_to "Delete", trip_path(trip), method: :delete %></div>
<div class="col-md-3"><%=trip.destination_address.city %></div>
<div class="col-md-3"><%= trip.arriving_at %></div>
</div> | <|file_sep|>original/app/views/users/_trip.html.erb
<div class="row">
<<<<<<< HEAD
<div class="col-md-1"><%= link_to "Edit", edit_trip_path(trip) %></div>
<div class="col-md-3"><%= link_to "Delete", trip_path(trip), method: :delete %></div>
<div class="col-md-3"><%=trip.destination_address.city %></div>
<d... | 2a10801047fecf96dfefc6c5da71955d963e5bf6 | app/views/users/_trip.html.erb | app/views/users/_trip.html.erb | HTML+ERB |
<|file_sep|>original/Cargo.toml
[package]
authors = ["Mika Attila <radiantstatue@gmail.com>"]
name = "rgmk"
version = "0.1.0"
[dependencies]
byteorder = "0.3.13"
log = "0.3.2"
quick-error = "0.1.4"
env_logger = "0.3.1"
<|file_sep|>current/Cargo.toml
[package]
authors = ["Mika Attila <radiantstatue@gmail.com>"]
name = ... | [package]
authors = ["Mika Attila <radiantstatue@gmail.com>"]
name = "rgmk"
version = "0.1.0"
[dependencies]
byteorder = "0.3.13"
log = { version = "0.3.3", features = ["release_max_level_info"] }
quick-error = "0.1.4"
env_logger = "0.3.1" | <|file_sep|>original/Cargo.toml
[package]
authors = ["Mika Attila <radiantstatue@gmail.com>"]
name = "rgmk"
version = "0.1.0"
[dependencies]
byteorder = "0.3.13"
log = "0.3.2"
quick-error = "0.1.4"
env_logger = "0.3.1"
<|file_sep|>current/Cargo.toml
[package]
authors = ["Mika Attila <radiantstatue@gmail.com>"]
name = ... | 526855be64f7a22a1ed33d8533056490f0e420bd | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/README.md
ros_controllers
===============
See [ros_control documentation](http://ros.org/wiki/ros_control) on ros.org
### Build Status
[](https://travis-ci.org/ros-controls/ros_controllers)
<|file_sep|>curr... | ros_controllers
===============
See [ros_control documentation](http://ros.org/wiki/ros_control) on ros.org
### Build Status
Indigo | Kinetic | Lunar
--- | --- | ---
[](https://travis-ci.org/ros-controls/ros_controllers) | [ on ros.org
### Build Status
[](https://travis-ci.org/ros-controls/ros_controllers)
<|file_sep|>curr... | 77be2a56ee048fbe7852377138faf3cb5c36285f | README.md | README.md | Markdown |
<|file_sep|>original/examples/simple-browser.js
(function () {
var indicator = document.createElement("h1");
indicator.innerHTML = "Press a key on your keyboard.";
document.body.appendChild(indicator);
window.addEventListener("keyup", function (e) {
buster.multicastClient.emit("update", e.keyCo... | (function () {
var indicator = document.createElement("h1");
indicator.innerHTML = "Press a key on your keyboard.";
document.body.appendChild(indicator);
window.addEventListener("keyup", function (e) {
buster.multicastClient.emit("update", e.keyCode);
}, false);
buster.multicastClient.... | <|file_sep|>original/examples/simple-browser.js
(function () {
var indicator = document.createElement("h1");
indicator.innerHTML = "Press a key on your keyboard.";
document.body.appendChild(indicator);
window.addEventListener("keyup", function (e) {
buster.multicastClient.emit("update", e.keyCo... | 726a39ddfd2fefa25a5a106e6c6bfc2a9a3a1cad | examples/simple-browser.js | examples/simple-browser.js | JavaScript |
<|file_sep|>original/packages/on/onama.yaml
<|file_sep|>current/packages/on/onama.yaml
<|file_sep|>updated/packages/on/onama.yaml | homepage: ''
changelog-type: ''
hash: 7018c84ac33617666b7397079bca7594fff8aebd75575c76077de5c4d45bfda8
test-bench-deps: {}
maintainer: williamyaoh@gmail.com
synopsis: HTML-parsing primitives for Parsec.
changelog: ''
basic-deps:
base: ! '>=4.8 && <4.9'
parsec: -any
tagsoup: -any
all-versions:
- '0.1.0.0'
author: ... | <|file_sep|>original/packages/on/onama.yaml
<|file_sep|>current/packages/on/onama.yaml
<|file_sep|>updated/packages/on/onama.yaml
homepage: ''
changelog-type: ''
hash: 7018c84ac33617666b7397079bca7594fff8aebd75575c76077de5c4d45bfda8
test-bench-deps: {}
maintainer: williamyaoh@gmail.com
synopsis: HTML-parsing primitiv... | 355c59635dd50a43eee1aacd1fe2d2e0315438f2 | packages/on/onama.yaml | packages/on/onama.yaml | YAML |
<|file_sep|>original/src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json
<|file_sep|>current/src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json
<|file_sep|>updated/src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json | {
"symbol": "EMB",
"name": "Emblem",
"type": "ERC20",
"address": "0x28b94f58b11ac945341329dbf2e5ef7f8bd44225",
"ens_address": "",
"decimals": 8,
"website": "https://blockcollider.org",
"logo": {
"src": "https://res.cloudinary.com/dnbcgedbu/image/upload/v1550314565/bc-logo-250x250.png",
"width": ... | <|file_sep|>original/src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json
<|file_sep|>current/src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json
<|file_sep|>updated/src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json
{
"symbol": "EMB",
"name": "Emblem",
"type": "ERC20",
"addre... | 04c9763350085fcadf1fb4af0db4ceb4a3203941 | src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json | src/tokens/eth/0x28b94f58b11ac945341329dbf2e5ef7f8bd44225.json | JSON |
<|file_sep|>original/package.json
"test": "mocha test"
},
"keywords": [
"bluebird",
"hook",
"hooks",
"bait"
],
"author": "Streethub",
"license": "MIT",
"dependencies": {
"lodash": "^2.4.1",
"bluebird": "^2.1.1"
},
"devDependencies": {
"sinon-chai": "^2.5.0",
"chai": "... | "test": "mocha test"
},
"keywords": [
"bluebird",
"hook",
"hooks",
"bait"
],
"author": "Streethub",
"license": "MIT",
"dependencies": {
"lodash": "^2.4.1",
"bluebird": "^3.5.2"
},
"devDependencies": {
"sinon-chai": "^2.5.0",
"chai": "^1.9.1",
"sinon": "^1.10.2",
... | <|file_sep|>original/package.json
"test": "mocha test"
},
"keywords": [
"bluebird",
"hook",
"hooks",
"bait"
],
"author": "Streethub",
"license": "MIT",
"dependencies": {
"lodash": "^2.4.1",
"bluebird": "^2.1.1"
},
"devDependencies": {
"sinon-chai": "^2.5.0",
"chai": "... | de3af39ab6c536110e089bade8690ba9bd1913d8 | package.json | package.json | JSON |
<|file_sep|>original/src/Recorder/EventRecorderCapabilities.php
/**
* Release and clear recorded events
*
* @return array
*/
public function releaseEvents()
{
$events = $this->recordedEvents;
$this->recordedEvents = [];
return $events;
}
/**
* Era... |
/**
* Release and clear recorded events
*
* @return array
*/
public function releaseEvents()
{
$events = $this->recordedEvents;
$this->eraseEvents();
return $events;
}
/**
* Erase all events
*/
public function eraseEvents()
{
... | <|file_sep|>original/src/Recorder/EventRecorderCapabilities.php
/**
* Release and clear recorded events
*
* @return array
*/
public function releaseEvents()
{
$events = $this->recordedEvents;
$this->recordedEvents = [];
return $events;
}
/**
* Era... | bb9e5e3680bf71935aecac101f23df0134af3f5f | src/Recorder/EventRecorderCapabilities.php | src/Recorder/EventRecorderCapabilities.php | PHP |
<|file_sep|>original/config.txt
base_payment = 1.00
lifetime = 24
duration = 1
us_only = true
approve_requirement = 95
contact_email_on_error = paxton.alexandra@berkeley.edu
ad_group = Estimation game
organization_name = University of California, Berkeley
browser_exclude_rule = MSIE, mobile, tablet
[Database]
database... | base_payment = 1.00
lifetime = 24
duration = 1
us_only = true
approve_requirement = 95
contact_email_on_error = paxton.alexandra@berkeley.edu
ad_group = Estimation game
organization_name = University of California, Berkeley
browser_exclude_rule = MSIE, mobile, tablet
[Database]
database_url = postgresql://postgres@loc... | <|file_sep|>original/config.txt
base_payment = 1.00
lifetime = 24
duration = 1
us_only = true
approve_requirement = 95
contact_email_on_error = paxton.alexandra@berkeley.edu
ad_group = Estimation game
organization_name = University of California, Berkeley
browser_exclude_rule = MSIE, mobile, tablet
[Database]
database... | 87505f91d6518bb33fa6db68d4006ebb81d39bd2 | config.txt | config.txt | Text |
<|file_sep|>original/db/migrate/20131123172825_create_asset_attachments.rb
class CreateAssetAttachments < ActiveRecord::Migration[5.1]
def change
create_table :assetable_asset_attachments do |t|
t.references :asset
t.references :assetable, :polymorphic => true
t.string :name
t.timestamps
... | class CreateAssetAttachments < ActiveRecord::Migration[5.1]
def change
create_table :assetable_asset_attachments do |t|
t.references :asset, index: false
t.references :assetable, :polymorphic => true, index: false
t.string :name
t.timestamps
end
add_index(:assetable_asset_attachme... | <|file_sep|>original/db/migrate/20131123172825_create_asset_attachments.rb
class CreateAssetAttachments < ActiveRecord::Migration[5.1]
def change
create_table :assetable_asset_attachments do |t|
t.references :asset
t.references :assetable, :polymorphic => true
t.string :name
t.timestamps
... | 3409840e7e68b3c6ec2e40107fb39b3ff38fa020 | db/migrate/20131123172825_create_asset_attachments.rb | db/migrate/20131123172825_create_asset_attachments.rb | Ruby |
<|file_sep|>original/docs/_includes/index/box3.md
## There's a new Coach in town
* * *
[<img src="{{site.baseurl}}/img/logos/coach.png" class="pull-left img-big" alt="I'm the coach" width="155" height="180">]({{site.baseurl}}/documentation/coach)
The Godfather of web performance tools [YSlow is dead](http://4.bp.blogs... | ## There's a new Coach in town
* * *
[<img src="{{site.baseurl}}/img/logos/coach.png" class="pull-left img-big" alt="I'm the coach" width="155" height="180">]({{site.baseurl}}/documentation/coach)
The Godfather of web performance tools [YSlow is dead](http://4.bp.blogspot.com/-gEqiZsYvoV4/T2FM-E7UvcI/AAAAAAAAIeE/Sg0Gx... | <|file_sep|>original/docs/_includes/index/box3.md
## There's a new Coach in town
* * *
[<img src="{{site.baseurl}}/img/logos/coach.png" class="pull-left img-big" alt="I'm the coach" width="155" height="180">]({{site.baseurl}}/documentation/coach)
The Godfather of web performance tools [YSlow is dead](http://4.bp.blogs... | f71861d4f2c2269e3d58d9132f9a12354ae4c758 | docs/_includes/index/box3.md | docs/_includes/index/box3.md | Markdown |
<|file_sep|>lib/pwdcalc/formtastic.rb.diff
original:
password_strength_meter(builder, method)
updated:
password_strength_meter
<|file_sep|>original/lib/pwdcalc/formtastic.rb
module Formtastic
module Inputs
class PwdcalcInput
include Base
include Base::Stringish
def to_html
... | module Formtastic
module Inputs
class PwdcalcInput
include Base
include Base::Stringish
def to_html
input_wrapping do
label_html <<
builder.password_field(method, input_html_options) <<
password_strength_meter
end
end
def password_stre... | <|file_sep|>lib/pwdcalc/formtastic.rb.diff
original:
password_strength_meter(builder, method)
updated:
password_strength_meter
<|file_sep|>original/lib/pwdcalc/formtastic.rb
module Formtastic
module Inputs
class PwdcalcInput
include Base
include Base::Stringish
def to_html
... | 7654813b318ccdf5c48d864dca2fe4e10eb75fc9 | lib/pwdcalc/formtastic.rb | lib/pwdcalc/formtastic.rb | Ruby |
<|file_sep|>original/src/public/views/header.jsx
// <p>
// To disable it add <i>use-thinblock=0</i> to your bitcoin.conf or use the command line flag <i>-use-thinblocks=0</i>.
// </p>
// </div>
//)
}
renderAnnounceMessage() {
return
/... | // <p>
// To disable it add <i>use-thinblock=0</i> to your bitcoin.conf or use the command line flag <i>-use-thinblocks=0</i>.
// </p>
// </div>
//)
}
renderAnnounceMessage() {
//return
return (
<div className='inline-blo... | <|file_sep|>original/src/public/views/header.jsx
// <p>
// To disable it add <i>use-thinblock=0</i> to your bitcoin.conf or use the command line flag <i>-use-thinblocks=0</i>.
// </p>
// </div>
//)
}
renderAnnounceMessage() {
return
/... | 01d06b54d89a3104aa29d07bbeff3e7be59d61ea | src/public/views/header.jsx | src/public/views/header.jsx | JSX |
<|file_sep|>original/.github/workflows/continuous-integration.yml
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@1.1... |
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@1.20.0
qa:
name: QA Checks
needs: [ matrix ]
runs-on: ... | <|file_sep|>original/.github/workflows/continuous-integration.yml
jobs:
matrix:
name: Generate job matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- name: Gather CI configuration
id: matrix
uses: laminas/laminas-ci-matrix-action@1.1... | a45e9e1d34593feeeb2b75e0b47b54cff6dfb366 | .github/workflows/continuous-integration.yml | .github/workflows/continuous-integration.yml | YAML |
<|file_sep|>original/tests/InsertReturnIdTest.php
<|file_sep|>current/tests/InsertReturnIdTest.php
<|file_sep|>updated/tests/InsertReturnIdTest.php | <?php
declare(strict_types=1);
namespace ParagonIE\EasyDB\Tests;
use InvalidArgumentException;
class InsertReturnIdTest extends InsertTest
{
/**
* @dataProvider goodFactoryCreateArgument2EasyDBProvider
* @param callable $cb
*/
public function testInsertReturnIdTableNameThrowsException(callabl... | <|file_sep|>original/tests/InsertReturnIdTest.php
<|file_sep|>current/tests/InsertReturnIdTest.php
<|file_sep|>updated/tests/InsertReturnIdTest.php
<?php
declare(strict_types=1);
namespace ParagonIE\EasyDB\Tests;
use InvalidArgumentException;
class InsertReturnIdTest extends InsertTest
{
/**
* @dataProvi... | 6d32e2fc76e96c025b7fdfdfe09401c14b94cda3 | tests/InsertReturnIdTest.php | tests/InsertReturnIdTest.php | PHP |
<|file_sep|>src/app/common/interceptors.js.diff
original:
var etag_header = null;
var last_modified_header = null;
updated:
var cache_headers = {};
var request_fxn = function(config) {
var headers = cache_headers[config.url];
if (_.isUndefined(headers)) {
... | var response_fxn = function(response) {
var etag = response.headers("ETag");
var last_modified = response.headers("Last-Modified");
var headers = {};
if (etag) {
headers.etag_header = etag;
}
if (last_modified) {
... | <|file_sep|>src/app/common/interceptors.js.diff
original:
var etag_header = null;
var last_modified_header = null;
updated:
var cache_headers = {};
var request_fxn = function(config) {
var headers = cache_headers[config.url];
if (_.isUndefined(headers)) {
... | 68312d1d3e9a2f4f3211c0ba91105e11270b6f3d | src/app/common/interceptors.js | src/app/common/interceptors.js | JavaScript |
<|file_sep|>src/select/index.js.diff
original:
if (options.aggregates) return aggregates(options.aggregates, options.groupBy, options.esri)
const geometryClause = createGeometryClause(options)
const fieldsClause = createFieldsClause(options)
updated:
if (options.aggregates) { return aggregates(options.aggregate... | const aggregates = require('./aggregates')
const createGeometryClause = require('./geometry').createClause
const createFieldsClause = require('./fields').createClause
function createClause (options) {
if (options.aggregates) { return aggregates(options.aggregates, options.groupBy, options.esri) }
var fieldsClause... | <|file_sep|>src/select/index.js.diff
original:
if (options.aggregates) return aggregates(options.aggregates, options.groupBy, options.esri)
const geometryClause = createGeometryClause(options)
const fieldsClause = createFieldsClause(options)
updated:
if (options.aggregates) { return aggregates(options.aggregate... | dfa89eb214a6ae6b07a89b04a73be23e72d9299e | src/select/index.js | src/select/index.js | JavaScript |
<|file_sep|>original/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bowler</title>
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:300,700' rel='stylesheet' type='text/css'>
<link href="dist/css/bowler.css" rel="stylesheet" type="text/css">
</head>
<body>... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bowler</title>
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:300,700' rel='stylesheet' type='text/css'>
<link href="dist/css/bowler.css" rel="stylesheet" type="text/css">
</head>
<body>
<section>
<h1>Bowle... | <|file_sep|>original/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bowler</title>
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:300,700' rel='stylesheet' type='text/css'>
<link href="dist/css/bowler.css" rel="stylesheet" type="text/css">
</head>
<body>... | f589f0836f4c664318d2a67cbf92488faee0ac4d | index.html | index.html | HTML |
<|file_sep|>original/config/initializers/prepend_draft_to_logs_in_development.rb
if Rails.env.development? && ENV['DRAFT'] == 'true'
ContentStore::Application.config.log_tags = ["DRAFT"]
end
<|file_sep|>current/config/initializers/prepend_draft_to_logs_in_development.rb
if Rails.env.development? && ENV['DRAFT'] == 't... | if Rails.env.development? && ENV['DRAFT'].present?
ContentStore::Application.config.log_tags = ["DRAFT"]
end | <|file_sep|>original/config/initializers/prepend_draft_to_logs_in_development.rb
if Rails.env.development? && ENV['DRAFT'] == 'true'
ContentStore::Application.config.log_tags = ["DRAFT"]
end
<|file_sep|>current/config/initializers/prepend_draft_to_logs_in_development.rb
if Rails.env.development? && ENV['DRAFT'] == 't... | 1741437bc12050b6f07ff8d676ec24060fab8ea9 | config/initializers/prepend_draft_to_logs_in_development.rb | config/initializers/prepend_draft_to_logs_in_development.rb | Ruby |
<|file_sep|>original/tests/RelayBuilderTest.php
$queue = [];
$relay = $this->relayBuilder->newInstance($queue);
$this->assertInstanceOf('Relay\Relay', $relay);
}
public function testArrayObject()
{
$queue = new ArrayObject([]);
$relay = $this->relayBuilder->newInstan... | $queue = [];
$relay = $this->relayBuilder->newInstance($queue);
$this->assertInstanceOf('Relay\Relay', $relay);
}
public function testArrayObject()
{
$queue = new ArrayObject([]);
$relay = $this->relayBuilder->newInstance($queue);
$this->assertInstanceOf('Rel... | <|file_sep|>original/tests/RelayBuilderTest.php
$queue = [];
$relay = $this->relayBuilder->newInstance($queue);
$this->assertInstanceOf('Relay\Relay', $relay);
}
public function testArrayObject()
{
$queue = new ArrayObject([]);
$relay = $this->relayBuilder->newInstan... | 410db4e6c42b0b4d422c7b56a315bbe2f9827106 | tests/RelayBuilderTest.php | tests/RelayBuilderTest.php | PHP |
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
setup(name='syse',
version='1.0',
description='A syntactic sentence extraction program.',
url='https://github.com/NathanWycoff/SySE',
author='Nathan Wycoff',
author_email='nathanbrwycoff@gmail.com',
packages=['syse'],
... | from setuptools import setup, find_packages
setup(name='syse',
version='1.0',
description='A syntactic sentence extraction program.',
url='https://github.com/NathanWycoff/SySE',
author='Nathan Wycoff',
author_email='nathanbrwycoff@gmail.com',
packages=['syse'],
license = 'MIT',
install_... | <|file_sep|>original/setup.py
from setuptools import setup, find_packages
setup(name='syse',
version='1.0',
description='A syntactic sentence extraction program.',
url='https://github.com/NathanWycoff/SySE',
author='Nathan Wycoff',
author_email='nathanbrwycoff@gmail.com',
packages=['syse'],
... | 4e66b44075cf8274204f5e6678d7ba6e57aadddf | setup.py | setup.py | Python |
<|file_sep|>apps/hortonworks/hdp2/centos6/README.md.diff
original:
Forward the port from localhost over SSH to the Ambari instance. From the
top-level project directory, run:
updated:
* run a [local SOCKS proxy](../../../../scripts/util/socks-proxy.md) and configure
your browser to use it
<|file_sep|>apps/hortonworks... | Accessing Ambari
----------------
* run a [local SOCKS proxy](../../../../scripts/util/socks-proxy.md) and configure
your browser to use it
* open [http://ambari-server:8080/](http://ambari-server:8080) to continue the
installation and monitor the cluster once installed
You will be able to access any of the host... | <|file_sep|>apps/hortonworks/hdp2/centos6/README.md.diff
original:
Forward the port from localhost over SSH to the Ambari instance. From the
top-level project directory, run:
updated:
* run a [local SOCKS proxy](../../../../scripts/util/socks-proxy.md) and configure
your browser to use it
<|file_sep|>apps/hortonworks... | 4d89dbd4f128b7fb87bd28ab6ddd3887cc0c3ce1 | apps/hortonworks/hdp2/centos6/README.md | apps/hortonworks/hdp2/centos6/README.md | Markdown |
<|file_sep|>original/project.clj
(defproject bukkure "0.4.2-SNAPSHOT"
:description "Bringing Clojure to the Bukkit API"
:url "http://github.com/SevereOverfl0w/Bukkure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:java-source-paths ["javasrc"]
:javac-o... | (defproject bukkure "0.4.2-SNAPSHOT"
:description "Bringing Clojure to the Bukkit API"
:url "http://github.com/SevereOverfl0w/Bukkure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:java-source-paths ["javasrc"]
:javac-options ["-d" "classes/" "-source"... | <|file_sep|>original/project.clj
(defproject bukkure "0.4.2-SNAPSHOT"
:description "Bringing Clojure to the Bukkit API"
:url "http://github.com/SevereOverfl0w/Bukkure"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:java-source-paths ["javasrc"]
:javac-o... | 70ec8429fcf3404c2362405a5bb02ba061396f40 | project.clj | project.clj | Clojure |
<|file_sep|>original/spec/wbench/integration_spec.rb
require 'spec_helper'
require File.expand_path(File.dirname(__FILE__)) + '/../support/test_sites'
describe 'wbench' do
sites.each do |site|
it "should return information from #{site} in chrome" do
expect { WBench::Benchmark.run(site, :loops => 1) }.to_n... | require 'spec_helper'
require File.expand_path(File.dirname(__FILE__)) + '/../support/test_sites'
describe 'wbench' do
sites.each_with_index do |site, index|
if index == 0
it 'accepts a user agent string' do
expect { WBench::Benchmark.run(sites.first, :loops => 1, :user_agent => 'a mobile browser'... | <|file_sep|>original/spec/wbench/integration_spec.rb
require 'spec_helper'
require File.expand_path(File.dirname(__FILE__)) + '/../support/test_sites'
describe 'wbench' do
sites.each do |site|
it "should return information from #{site} in chrome" do
expect { WBench::Benchmark.run(site, :loops => 1) }.to_n... | c2165f5672d9bb3565df282734d14c3965d85e7f | spec/wbench/integration_spec.rb | spec/wbench/integration_spec.rb | Ruby |
<|file_sep|>original/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
cryptography==2.1.4
tox==2.9.1
Sphinx==1.6.6
coverage==4.4.2
PyYAML==3.12
pytest-runner==3.0
pytest==3.3.2
<|file_sep|>current/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fl... | pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
cryptography==2.1.4
tox==2.9.1
Sphinx==1.6.6
coverage==4.4.2
PyYAML==3.12
pytest-runner==3.0
pytest==3.4.0
| <|file_sep|>original/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
cryptography==2.1.4
tox==2.9.1
Sphinx==1.6.6
coverage==4.4.2
PyYAML==3.12
pytest-runner==3.0
pytest==3.3.2
<|file_sep|>current/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fl... | da150b8b2890b6ac8f25e1a4e600680deef7748b | requirements.txt | requirements.txt | Text |
<|file_sep|>metadata/com.minar.birday.yml.diff
original:
updated:
- versionName: 1.8.0
versionCode: 10
commit: v1.8.0
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.minar.birday.yml
Repo: https://github.com/m-i-n-a-r/birday
Builds:
- versionName: 1.6.0
versionCode: 8
co... | gradle:
- yes
- versionName: 1.7.0
versionCode: 9
commit: v1.7.0
subdir: app
gradle:
- yes
- versionName: 1.8.0
versionCode: 10
commit: v1.8.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.8.0
CurrentVersionCode... | <|file_sep|>metadata/com.minar.birday.yml.diff
original:
updated:
- versionName: 1.8.0
versionCode: 10
commit: v1.8.0
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.minar.birday.yml
Repo: https://github.com/m-i-n-a-r/birday
Builds:
- versionName: 1.6.0
versionCode: 8
co... | ba9550b1e313d30a2608bf8011357895ae8cddd1 | metadata/com.minar.birday.yml | metadata/com.minar.birday.yml | YAML |
<|file_sep|>locales/fa/notes.properties.diff
original:
updated:
emptyPlaceHolder=یک یادداشت بنویسید…
<|file_sep|>original/locales/fa/notes.properties
welcomeTitle=خوشآمدید!
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronization, not Firefox Sync.
# LOCALIZATION NOTE (syncComplete): {dat... | welcomeTitle=خوشآمدید!
emptyPlaceHolder=یک یادداشت بنویسید…
openingLogin=در حال باز کردن صفحه ورود…
forgetEmail=این رایانامه را فراموش کن
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronization, not Firefox Sync.
# LOCALIZATION NOTE (syncComplete): {date} is the date of last sync. If this... | <|file_sep|>locales/fa/notes.properties.diff
original:
updated:
emptyPlaceHolder=یک یادداشت بنویسید…
<|file_sep|>original/locales/fa/notes.properties
welcomeTitle=خوشآمدید!
# LOCALIZATION NOTE (disableSync): Sync is intended as a generic
# synchronization, not Firefox Sync.
# LOCALIZATION NOTE (syncComplete): {dat... | df2d56b2638fbc2acefb2e23d2cf2911b93ca7bc | locales/fa/notes.properties | locales/fa/notes.properties | INI |
<|file_sep|>run_tests.sh.diff
original:
echo "Running acceptance tests"
updated:
#echo "Running acceptance tests"
<|file_sep|>original/run_tests.sh
}
trap 'cleanup_and_exit' 1 2 3 5 9 13
echo "Starting redis on port ${REDIS_PORT}"
echo "port ${REDIS_PORT}" | redis-server - > test.log &
PID_REDIS=$!
echo "Preparing t... | }
trap 'cleanup_and_exit' 1 2 3 5 9 13
echo "Starting redis on port ${REDIS_PORT}"
echo "port ${REDIS_PORT}" | redis-server - > test.log &
PID_REDIS=$!
echo "Preparing the database"
cd test; sh prepare_test >> test.log || die "database preparation failure (see test.log)"; cd -;
echo "Running unit tests"
mocha --ign... | <|file_sep|>run_tests.sh.diff
original:
echo "Running acceptance tests"
updated:
#echo "Running acceptance tests"
<|file_sep|>original/run_tests.sh
}
trap 'cleanup_and_exit' 1 2 3 5 9 13
echo "Starting redis on port ${REDIS_PORT}"
echo "port ${REDIS_PORT}" | redis-server - > test.log &
PID_REDIS=$!
echo "Preparing t... | e5848e6c4826d66804473da13021805ccd667011 | run_tests.sh | run_tests.sh | Shell |
<|file_sep|>original/package.json
{
"name": "v2",
"version": "0.0.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-cssmin": ... | {
"name": "v2",
"version": "0.1.0",
"dependencies": {
"connect": "2.*",
"socket.io": "0.9.*"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-jshint": "~0.7.0",
"grunt-c... | <|file_sep|>original/package.json
{
"name": "v2",
"version": "0.0.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-uglify": "~0.2.0",
"grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-cssmin": ... | 8693e3cb9b61c45e537a822183c5a2d4064bcc6c | package.json | package.json | JSON |
<|file_sep|>package.json.diff
original:
"loggy": "^1.0.2",
updated:
<|file_sep|>original/package.json
"svg"
],
"author": "Caleb Evans",
"license": "MIT",
"bugs": {
"url": "https://github.com/caleb531/rsvg-brunch/issues"
},
"homepage": "https://github.com/caleb531/rsvg-brunch#readme",
"devDepe... | ],
"author": "Caleb Evans",
"license": "MIT",
"bugs": {
"url": "https://github.com/caleb531/rsvg-brunch/issues"
},
"homepage": "https://github.com/caleb531/rsvg-brunch#readme",
"devDependencies": {
"chai": "^3.5.0",
"eslint": "^3.19.0",
"mocha": "^3.3.0",
"proxyquire": "^1.7.11",
"... | <|file_sep|>package.json.diff
original:
"loggy": "^1.0.2",
updated:
<|file_sep|>original/package.json
"svg"
],
"author": "Caleb Evans",
"license": "MIT",
"bugs": {
"url": "https://github.com/caleb531/rsvg-brunch/issues"
},
"homepage": "https://github.com/caleb531/rsvg-brunch#readme",
"devDepe... | 6921e99b6e143daa5af353e9e230aa6a6ac83688 | package.json | package.json | JSON |
<|file_sep|>original/fluent-plugin-swift.gemspec
# encoding: utf-8
$:.push File.expand_path('../lib', __FILE__)
Gem::Specification.new do |gem|
gem.name = "fluent-plugin-swift"
gem.description = "OpenStack Storage Service (Swift) output plugin for Fluentd event collector"
gem.homepage = "https://github... | # encoding: utf-8
$:.push File.expand_path('../lib', __FILE__)
Gem::Specification.new do |gem|
gem.name = "fluent-plugin-swift"
gem.description = "OpenStack Storage Service (Swift) output plugin for Fluentd event collector"
gem.homepage = "https://github.com/yuuzi41/fluent-plugin-swift"
gem.summary ... | <|file_sep|>original/fluent-plugin-swift.gemspec
# encoding: utf-8
$:.push File.expand_path('../lib', __FILE__)
Gem::Specification.new do |gem|
gem.name = "fluent-plugin-swift"
gem.description = "OpenStack Storage Service (Swift) output plugin for Fluentd event collector"
gem.homepage = "https://github... | ec5bd3f23fa2c981d739291f99788d86336e0707 | fluent-plugin-swift.gemspec | fluent-plugin-swift.gemspec | Ruby |
<|file_sep|>original/src/index.js
const { createClient } = require('./client')
const { attachCommands } = require('./commands')
require('dotenv').config()
const TG_API_TOKEN = process.env.TG_API_TOKEN
const WEBHOOK_PORT = parseInt(process.env.PORT || '1234', 10)
console.log(`Starting bot`)
const opts = { apiToken: T... | const { createClient } = require('./client')
const { attachCommands } = require('./commands')
require('dotenv').config()
const TG_API_TOKEN = process.env.TG_API_TOKEN
const WEBHOOK_PORT = parseInt(process.env.PORT || '1234', 10)
console.log('Starting bot')
const opts = { apiToken: TG_API_TOKEN }
if (process.env.HERO... | <|file_sep|>original/src/index.js
const { createClient } = require('./client')
const { attachCommands } = require('./commands')
require('dotenv').config()
const TG_API_TOKEN = process.env.TG_API_TOKEN
const WEBHOOK_PORT = parseInt(process.env.PORT || '1234', 10)
console.log(`Starting bot`)
const opts = { apiToken: T... | cc23d4eedb5d28a8737369f773d7b25f3e33e215 | src/index.js | src/index.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
node_js:
"6.3.0"
updated:
node_js:
"6.3.0"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
"6.3.0"
sudo: false
script:
- '( [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == "develop" ] ) && [ "$TRAVIS_PULL_REQUEST" == "false" ] && npm run deploy'
<|fil... | language: node_js
node_js:
"6.3.0"
sudo: false
script:
- 'echo Hello,World!'
# TODO: Write Test
after_success:
- '([ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == "develop" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ] && npm run deploy'
- '([ "$TRAVIS_PULL_REQUEST" != "develop" ] && [ "$TRAVIS_PULL_... | <|file_sep|>.travis.yml.diff
original:
node_js:
"6.3.0"
updated:
node_js:
"6.3.0"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
"6.3.0"
sudo: false
script:
- '( [ "$TRAVIS_BRANCH" == "master" ] || [ "$TRAVIS_BRANCH" == "develop" ] ) && [ "$TRAVIS_PULL_REQUEST" == "false" ] && npm run deploy'
<|fil... | 6f4f55c24633b812e99d634f40ba9a6c0d78b44d | .travis.yml | .travis.yml | YAML |
<|file_sep|>docker-compose.yml.diff
original:
updated:
links:
- db
<|file_sep|>original/docker-compose.yml
web:
build: .
command: bundle exec rails s -p 3000 -b '0.0.0.0'
volumes:
- .:/morph
ports:
- "3000:3000"
# TODO: Add data volume
elasticsearch:
image: elasticsearch:1.6.0
ports:
- "... | volumes:
- .:/morph
ports:
- "3000:3000"
links:
- db
# TODO: Add data volume
elasticsearch:
image: elasticsearch:1.6.0
ports:
- "9200:9200"
# TODO: Add data volume
# TODO: Use a specific version of mysql
db:
image: mysql
ports:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: abc123 | <|file_sep|>docker-compose.yml.diff
original:
updated:
links:
- db
<|file_sep|>original/docker-compose.yml
web:
build: .
command: bundle exec rails s -p 3000 -b '0.0.0.0'
volumes:
- .:/morph
ports:
- "3000:3000"
# TODO: Add data volume
elasticsearch:
image: elasticsearch:1.6.0
ports:
- "... | 8c63d7028023c23eb399997d9db6d80e1d0e6ed3 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
<|file_sep|>original/.travis.yml
dist: trusty
language: swift
matrix:
include:
# - os: linux
# language: generic
# sudo: required
# disable linux temporary
- os: osx
osx_image: xcode8.1
env:
global:
- SWIFT_VERSION=3.0.1... | language: swift
matrix:
include:
# - os: linux
# language: generic
# dist: trusty
# sudo: required
# disable linux temporary
- os: osx
osx_image: xcode8.1
env:
global:
- SWIFT_VERSION=3.0.1
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c76... | <|file_sep|>.travis.yml.diff
original:
dist: trusty
updated:
<|file_sep|>original/.travis.yml
dist: trusty
language: swift
matrix:
include:
# - os: linux
# language: generic
# sudo: required
# disable linux temporary
- os: osx
osx_image: xcode8.1
env:
global:
- SWIFT_VERSION=3.0.1... | 319c82795fec27c500650c80796b0fbb57992040 | .travis.yml | .travis.yml | YAML |
<|file_sep|>E02/A3.hs.diff
original:
-- We have to do brackets around to say that it is one argument
updated:
<|file_sep|>E02/A3.hs.diff
original:
countLeaf (Leaf a) = 1
countLeaf (Branch left right) = (countLeaf left) + (countLeaf right)
updated:
countLeaf (Leaf a) = 1
countLeaf (Branch left right) = count... | ( Tree
, tree1
, countLeaf
, leafsToList
) where
data Tree = Leaf Int | Branch Tree Tree deriving Show
-- a
tree1 = Branch ( Branch (Leaf 1) (Leaf 2)) (Branch (Branch (Leaf 3) (Leaf 4)) (Leaf 5))
--b
-- the patterns are now the different type constructors.
countLeaf :: Tree -> Int
countLeaf (Leaf a) = 1
... | <|file_sep|>E02/A3.hs.diff
original:
-- We have to do brackets around to say that it is one argument
updated:
<|file_sep|>E02/A3.hs.diff
original:
countLeaf (Leaf a) = 1
countLeaf (Branch left right) = (countLeaf left) + (countLeaf right)
updated:
countLeaf (Leaf a) = 1
countLeaf (Branch left right) = count... | c0a9eff20b657733a6c1dc104068be2b1b406f2b | E02/A3.hs | E02/A3.hs | Haskell |
<|file_sep|>docker-plugin/src/main/java/com/nirima/jenkins/plugins/docker/utils/LogUtils.java.diff
original:
updated:
import hudson.model.TaskListener;
<|file_sep|>original/docker-plugin/src/main/java/com/nirima/jenkins/plugins/docker/utils/LogUtils.java
import hudson.model.BuildListener;
/**
* @author Kanstantsin S... | import hudson.model.BuildListener;
import hudson.model.TaskListener;
/**
* @author Kanstantsin Shautsou
*/
public class LogUtils {
private LogUtils() {
}
public static void printResponseItemToListener(TaskListener listener, ResponseItem item) {
if (item.getStatus() != null) {
if (ite... | <|file_sep|>docker-plugin/src/main/java/com/nirima/jenkins/plugins/docker/utils/LogUtils.java.diff
original:
updated:
import hudson.model.TaskListener;
<|file_sep|>original/docker-plugin/src/main/java/com/nirima/jenkins/plugins/docker/utils/LogUtils.java
import hudson.model.BuildListener;
/**
* @author Kanstantsin S... | 463eac252b2e0ba16db908fe366fe372c4853517 | docker-plugin/src/main/java/com/nirima/jenkins/plugins/docker/utils/LogUtils.java | docker-plugin/src/main/java/com/nirima/jenkins/plugins/docker/utils/LogUtils.java | Java |
<|file_sep|>Casks/intellij-idea-community-eap.rb.diff
original:
updated:
version '138.1696'
sha256 '34bcdff6b9e33f94841ccba494845f3c917248b783e0bcf6dfc7fd5c78e902e3'
<|file_sep|>original/Casks/intellij-idea-community-eap.rb
class IntellijIdeaCommunityEap < Cask
url 'http://download.jetbrains.com/idea/ideaIC-138... | class IntellijIdeaCommunityEap < Cask
version '138.1696'
sha256 '34bcdff6b9e33f94841ccba494845f3c917248b783e0bcf6dfc7fd5c78e902e3'
url 'http://download.jetbrains.com/idea/ideaIC-138.1696.2.dmg'
homepage 'https://www.jetbrains.com/idea/index.html'
link 'IntelliJ IDEA 14 CE EAP.app'
end | <|file_sep|>Casks/intellij-idea-community-eap.rb.diff
original:
updated:
version '138.1696'
sha256 '34bcdff6b9e33f94841ccba494845f3c917248b783e0bcf6dfc7fd5c78e902e3'
<|file_sep|>original/Casks/intellij-idea-community-eap.rb
class IntellijIdeaCommunityEap < Cask
url 'http://download.jetbrains.com/idea/ideaIC-138... | 6aaec60406c821e31009d54346df85925cfcfae9 | Casks/intellij-idea-community-eap.rb | Casks/intellij-idea-community-eap.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- 2.1.0
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx
env:
- RACK_VERSION=1.4.1
- RAILS_VERSION=2.3.15
- RAILS_VERSION=3.2.0
- RAILS_VERSION=4.0.0
matrix:
exclude:
- rvm: 1.8.7
env... | language: ruby
rvm:
- 1.8.7
- 2.0.0
- 2.1.0
- jruby-18mode
- jruby-19mode
- rbx
env:
- RACK_VERSION=1.4.1
- RAILS_VERSION=2.3.15
- RAILS_VERSION=3.2.0
- RAILS_VERSION=4.0.0
before_install:
- '[ "$TRAVIS_RUBY_VERSION" = "2.1.0" ] && gem install bundler -v ">= 1.5.1" --conservative || true'
matrix:
... | <|file_sep|>.travis.yml.diff
original:
updated:
- 2.1.0
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.8.7
- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx
env:
- RACK_VERSION=1.4.1
- RAILS_VERSION=2.3.15
- RAILS_VERSION=3.2.0
- RAILS_VERSION=4.0.0
matrix:
exclude:
- rvm: 1.8.7
env... | 07fdfc2770d57bc9ae555f0b20dd047673b9d4da | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/ex_range.py
<|file_sep|>current/ex_range.py
<|file_sep|>updated/ex_range.py | from collections import namedtuple
from vintage_ex import EX_RANGE_REGEXP
import location
EX_RANGE = namedtuple('ex_range', 'left left_offset separator right right_offset')
def get_range_parts(range):
parts = EX_RANGE_REGEXP.search(range).groups()
return EX_RANGE(
left=parts[1],
... | <|file_sep|>original/ex_range.py
<|file_sep|>current/ex_range.py
<|file_sep|>updated/ex_range.py
from collections import namedtuple
from vintage_ex import EX_RANGE_REGEXP
import location
EX_RANGE = namedtuple('ex_range', 'left left_offset separator right right_offset')
def get_range_parts(range):
parts = EX_... | f9b38f675df9752a4b5309df059c6d15a1e1b3c2 | ex_range.py | ex_range.py | Python |
<|file_sep|>original/README.md
**wurstminebot** is an IRC bot for Minecraft. It was written for [wurstmineberg](http://wurstmineberg.de/) and may require some tweaking to run on your server. It also has some dependencies which we haven't added to this repository yet.
This is `wurstminebot` version 1.0.5 ([semver](http... | **wurstminebot** is an IRC bot for Minecraft. It was written for [wurstmineberg](http://wurstmineberg.de/) and may require some tweaking to run on your server. It also has some dependencies which we haven't added to this repository yet.
This is `wurstminebot` version 1.0.5 ([semver](http://semver.org/)). The versioned... | <|file_sep|>original/README.md
**wurstminebot** is an IRC bot for Minecraft. It was written for [wurstmineberg](http://wurstmineberg.de/) and may require some tweaking to run on your server. It also has some dependencies which we haven't added to this repository yet.
This is `wurstminebot` version 1.0.5 ([semver](http... | a10f399af165369a62bb32bd68165f3830064c7c | README.md | README.md | Markdown |
<|file_sep|>original/src/dicomweb_client/__init__.py
__version__ = '0.14.0'
from dicomweb_client.api import DICOMwebClient
<|file_sep|>current/src/dicomweb_client/__init__.py
__version__ = '0.14.0'
from dicomweb_client.api import DICOMwebClient
<|file_sep|>updated/src/dicomweb_client/__init__.py | __version__ = '0.20.0rc'
from dicomweb_client.api import DICOMwebClient | <|file_sep|>original/src/dicomweb_client/__init__.py
__version__ = '0.14.0'
from dicomweb_client.api import DICOMwebClient
<|file_sep|>current/src/dicomweb_client/__init__.py
__version__ = '0.14.0'
from dicomweb_client.api import DICOMwebClient
<|file_sep|>updated/src/dicomweb_client/__init__.py
__version__ = '0.20.0... | 9e8fd0f092c35b81abaf83c0099c6c8eccbbea25 | src/dicomweb_client/__init__.py | src/dicomweb_client/__init__.py | Python |
<|file_sep|>original/src/tbl/sinDIPs.tex
<|file_sep|>current/src/tbl/sinDIPs.tex
<|file_sep|>updated/src/tbl/sinDIPs.tex | \begin{tabular}{|c|c|}
\hline
\tbf{Open Bit} & \tbf{Meaured Voltage (\si{\volt}, P-P)}\\ \hline
None & 3.750 \\ \hline
0 & 3.750 \\ \hline
5 & 3.812 \\ \hline
7 & 2.437 \\ \hline
\end{tabular} | <|file_sep|>original/src/tbl/sinDIPs.tex
<|file_sep|>current/src/tbl/sinDIPs.tex
<|file_sep|>updated/src/tbl/sinDIPs.tex
\begin{tabular}{|c|c|}
\hline
\tbf{Open Bit} & \tbf{Meaured Voltage (\si{\volt}, P-P)}\\ \hline
None & 3.750 \\ \hline
0 & 3.750 \\ \hline
5 & 3.812 \\ \hline
7 & 2.437 \\ \hline... | 8ac79bf11398f33325c72586219b3a3ac3769e14 | src/tbl/sinDIPs.tex | src/tbl/sinDIPs.tex | TeX |
<|file_sep|>config/forms/user.php.diff
original:
]
updated:
],
<|file_sep|>config/forms/user.php.diff
original:
]
updated:
],
<|file_sep|>config/forms/user.php.diff
original:
'auth_password' => [
updated:
'new_password' => [
<|file_sep|>config/forms/user.p... | 'roles' => [
'multiCheckbox',
[
'label' => __('Roles'),
'options' => $roles,
'form_group_class' => 'mt-3',
],
],
'submit' => [
'submit',
[
'type' => 'submit',
... | <|file_sep|>config/forms/user.php.diff
original:
]
updated:
],
<|file_sep|>config/forms/user.php.diff
original:
]
updated:
],
<|file_sep|>config/forms/user.php.diff
original:
'auth_password' => [
updated:
'new_password' => [
<|file_sep|>config/forms/user.p... | d90d48bc54fecfe1b417fd862112db2ce80321df | config/forms/user.php | config/forms/user.php | PHP |
<|file_sep|>lib/tanker_article_defaults.rb.diff
original:
index = 'hnlanswers-development'
index = 'hnlanswers-production' if Rails.env === 'production'
updated:
index = ENV['SEARCHIFY_API_INDEX']
#index = 'hnlanswers-production' if Rails.env === 'production'
<|file_sep|>original/lib/tanker_article_defaul... | module TankerArticleDefaults
def self.included(base)
base.send(:include, ::Tanker)
index = ENV['SEARCHIFY_API_INDEX']
#index = 'hnlanswers-production' if Rails.env === 'production'
base.tankit index, :as => 'Article' do
indexes :title
indexes :content_md
indexes :category, :catego... | <|file_sep|>lib/tanker_article_defaults.rb.diff
original:
index = 'hnlanswers-development'
index = 'hnlanswers-production' if Rails.env === 'production'
updated:
index = ENV['SEARCHIFY_API_INDEX']
#index = 'hnlanswers-production' if Rails.env === 'production'
<|file_sep|>original/lib/tanker_article_defaul... | 39233b54ff2c2b343069d5280295c5557c915a09 | lib/tanker_article_defaults.rb | lib/tanker_article_defaults.rb | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
dist: trusty
cache:
directories:
- "$HOME/.m2"
language: java
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
script:
- mvn -B -fae -T1C -Dall clean ins... | sudo: false
dist: trusty
cache:
directories:
- "$HOME/.m2"
language: java
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
script:
- mvn -B -fae -T1C -Dall clean install
notifications:
email: fals... | <|file_sep|>original/.travis.yml
sudo: false
dist: trusty
cache:
directories:
- "$HOME/.m2"
language: java
before_install:
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
script:
- mvn -B -fae -T1C -Dall clean ins... | c7aacbc59cba133f29e9d3752986f547fa6bd93f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
* To build and run from SBT, type
```scala
project server
run
```
Development
-----------
### IDE Setup
* If you're using an IntelliJ project, note that by default IntelliJ will not include SSP files resources. Change settings in IntelliJ to to include '*' as resource extension.
### ... | * To build and run from SBT, type
```scala
project server
run
```
Development
-----------
[](http://travis-ci.org/copumpkin/scala-notebook)
### IDE Setup
* If you're using an IntelliJ project, note that by default IntelliJ will... | <|file_sep|>original/README.md
* To build and run from SBT, type
```scala
project server
run
```
Development
-----------
### IDE Setup
* If you're using an IntelliJ project, note that by default IntelliJ will not include SSP files resources. Change settings in IntelliJ to to include '*' as resource extension.
### ... | f4ff6a39604976918af958c2a4dd8c4493da3357 | README.md | README.md | Markdown |
<|file_sep|>original/app/controllers/books_controller.rb
class BooksController < ApplicationController
get '/books' do
@user = User.find(session[:user_id])
@books = @user.books
erb :'/books/books'
end
end
<|file_sep|>current/app/controllers/books_controller.rb
class BooksController < ApplicationControl... | class BooksController < ApplicationController
get '/books' do
if session[:user_id]
@user = User.find(session[:user_id])
@books = @user.books
erb :'/books/books'
else
redirect to '/login'
end
end
end | <|file_sep|>original/app/controllers/books_controller.rb
class BooksController < ApplicationController
get '/books' do
@user = User.find(session[:user_id])
@books = @user.books
erb :'/books/books'
end
end
<|file_sep|>current/app/controllers/books_controller.rb
class BooksController < ApplicationControl... | 0fa0887d6bf33a2b2df198fcf02b4e6042bf6182 | app/controllers/books_controller.rb | app/controllers/books_controller.rb | Ruby |
<|file_sep|>original/src/features/config/index.md
#### Unique `truffle develop` mnemonics
When you run `truffle develop`, Truffle no longer uses the classic `candy maple...` mnemonic. Instead, the first time you run the command it will generate a random mnemonic just for you and persist it!
We encourage you to exerci... | #### Unique `truffle develop` mnemonics
When you run `truffle develop`, Truffle no longer uses the classic `candy maple...` mnemonic. Instead, the first time you run the command it will generate a random mnemonic just for you and persist it!
We encourage you to exercise caution when working with mnemonics and private... | <|file_sep|>original/src/features/config/index.md
#### Unique `truffle develop` mnemonics
When you run `truffle develop`, Truffle no longer uses the classic `candy maple...` mnemonic. Instead, the first time you run the command it will generate a random mnemonic just for you and persist it!
We encourage you to exerci... | 0e9b0d756064e8decd4c9064bde334c87b8c1f21 | src/features/config/index.md | src/features/config/index.md | Markdown |
<|file_sep|>lib/utils.js.diff
original:
var response = 'Echo: ' + message.text;
updated:
<|file_sep|>lib/utils.js.diff
original:
updated:
} else {
// if nothing else, just echo back the message
callback('Echo: ' + message.text);
<|file_sep|>original/lib/utils.js
&& message.text.startsWith('<@' +... | && message.text.startsWith('<@' + botId + '>:'); // check it's for me
}
function createResponse(message, callback) {
if (message.text.startsWith('person')) {
var person = new Person(message.text.substring(7));
person.getDetails(callback);
} else {
// if nothing else, just echo back the messa... | <|file_sep|>lib/utils.js.diff
original:
var response = 'Echo: ' + message.text;
updated:
<|file_sep|>lib/utils.js.diff
original:
updated:
} else {
// if nothing else, just echo back the message
callback('Echo: ' + message.text);
<|file_sep|>original/lib/utils.js
&& message.text.startsWith('<@' +... | 6d22f9733610999ca48d912a125c3bde3e37b285 | lib/utils.js | lib/utils.js | JavaScript |
<|file_sep|>original/domain/project.clj
(defproject domain "0.1.0-SNAPSHOT"
:description "CV + RTB"
:url "http://example.com/OMGLOL"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[ring/ring-jet... | (defproject domain "0.1.0-SNAPSHOT"
:description "CV + RTB"
:url "http://example.com/OMGLOL"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[ring/ring-jetty-adapter "1.4.0"]
[ri... | <|file_sep|>original/domain/project.clj
(defproject domain "0.1.0-SNAPSHOT"
:description "CV + RTB"
:url "http://example.com/OMGLOL"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[ring/ring-jet... | 4cd021c13e8bff985884a973673eb2fb2cfcbb31 | domain/project.clj | domain/project.clj | Clojure |
<|file_sep|>original/lib/dots/bin/node/travis.js
___ . ___
*/
// TODO Really should be `dots node package --travis` or something.
require('arguable')(module, require('cadence')(function (async, program) {
var fs = require('fs')
var ok = require('assert').ok
var url = require('url')
async(function (... |
Create a GitHub issue from the command line using the given subject. If the
creation is successful, the new issue number is printed to standard out.
___ . ___
*/
// TODO Really should be `dots node package --travis` or something.
require('arguable')(module, require('cadence')(function (async, program) {
... | <|file_sep|>original/lib/dots/bin/node/travis.js
___ . ___
*/
// TODO Really should be `dots node package --travis` or something.
require('arguable')(module, require('cadence')(function (async, program) {
var fs = require('fs')
var ok = require('assert').ok
var url = require('url')
async(function (... | bbc137799221cb89f032253df2b9e6330ac81202 | lib/dots/bin/node/travis.js | lib/dots/bin/node/travis.js | JavaScript |
<|file_sep|>original/README.md
ottawaandroid.github.io
=======================
The Ottawa Android website and blog.
Development
===========
To run a local copy of the site while developing, execute ``jekyll server --watch``
in the project root directory.
You can have sass watch for file changes when working on the C... | ottawaandroid.github.io
=======================
The Ottawa Android website and blog.
Creating Content
================
If you are only interested in creating content, then this is the only section you
really need to read.
Posts
-----
Posts are inside the ``_posts`` folder. To create a new post simply
create a new fil... | <|file_sep|>original/README.md
ottawaandroid.github.io
=======================
The Ottawa Android website and blog.
Development
===========
To run a local copy of the site while developing, execute ``jekyll server --watch``
in the project root directory.
You can have sass watch for file changes when working on the C... | 1d0efefb1d5af15f5fb64b3fb7a034b3307812f8 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- python: 3.5
updated:
<|file_sep|>.travis.yml.diff
original:
env: PYTHON_VER=py38
updated:
- python: nightly
<|file_sep|>original/.travis.yml
---
language: python
cache: pip
dist: xenial
matrix:
fast_finish: true
include:
- python: 3.5
- python: 3.6
... | language: python
cache: pip
dist: xenial
matrix:
fast_finish: true
include:
- python: 3.6
- python: 3.7
- python: 3.8-dev
- python: nightly
allow_failures:
- python: 3.8-dev
- python: nightly
install:
- pip install --upgrade pip setuptools black
- pip install .
script:
- python se... | <|file_sep|>.travis.yml.diff
original:
- python: 3.5
updated:
<|file_sep|>.travis.yml.diff
original:
env: PYTHON_VER=py38
updated:
- python: nightly
<|file_sep|>original/.travis.yml
---
language: python
cache: pip
dist: xenial
matrix:
fast_finish: true
include:
- python: 3.5
- python: 3.6
... | 4d1ca7a5e0489b261d3940a10790d7fe43cfda1c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests.py
<|file_sep|>current/tests.py
<|file_sep|>updated/tests.py | # -*- coding: utf-8 -*-
import os
import unittest
import tempfile
from datetime import datetime
from flask.ext.sqlalchemy import SQLAlchemy
from app import app, db, Pass, Registration
class PassbookTestCase(unittest.TestCase):
def setUp(self):
temp = tempfile.mkstemp()
self.temp = temp
... | <|file_sep|>original/tests.py
<|file_sep|>current/tests.py
<|file_sep|>updated/tests.py
# -*- coding: utf-8 -*-
import os
import unittest
import tempfile
from datetime import datetime
from flask.ext.sqlalchemy import SQLAlchemy
from app import app, db, Pass, Registration
class PassbookTestCase(unittest.TestCase):... | a60e7b34a5c2f0a80f30ae7fa61efe507cd66161 | tests.py | tests.py | Python |
<|file_sep|>original/django/.aliases.sh
_runserver() {
production="${1}"
if "${production}" 2> /dev/null; then
export PRODUCTION=1
else
export PRODUCTION=0
fi
python manage.py runserver 0.0.0.0:8000
}
alias dbshell="python manage.py dbshell"
alias devrunserver="_runserver false"
... | else
export PRODUCTION=0
fi
python manage.py runserver 0.0.0.0:8000
}
alias dbshell="python manage.py dbshell"
alias devrunserver="_runserver false"
alias runserver="_runserver true"
shell() {
python manage.py debugsqlshell 2> /dev/null
if [ ! $? -eq 0 ]; then
python manage.py she... | <|file_sep|>original/django/.aliases.sh
_runserver() {
production="${1}"
if "${production}" 2> /dev/null; then
export PRODUCTION=1
else
export PRODUCTION=0
fi
python manage.py runserver 0.0.0.0:8000
}
alias dbshell="python manage.py dbshell"
alias devrunserver="_runserver false"
... | f9498c3e82e2fe1ec360d204cf1196155de81024 | django/.aliases.sh | django/.aliases.sh | Shell |
<|file_sep|>original/README.md
# fluent-plugin-gree_community
Fluentd input plugin from GREE community.
## Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-gree_community'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-gree_community
##... | # fluent-plugin-gree_community, a plugin for [Fluentd](http://fluentd.org)
Fluentd input plugin from GREE community.
## Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-gree_community'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-gree_... | <|file_sep|>original/README.md
# fluent-plugin-gree_community
Fluentd input plugin from GREE community.
## Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-gree_community'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-gree_community
##... | a85d656d6cf229b76cd9f7c4ff54236bed9f338a | README.md | README.md | Markdown |
<|file_sep|>original/circle.yml
test:
override:
- python manage.py test --coverage
post:
- mkdir -p $CIRCLE_TEST_REPORTS/python/
- mv test-reports/*.xml $CIRCLE_TEST_REPORTS/python/
# Update gh-pages with Coverage
- git checkout gh-pages
- git config --global user.email "lev@levlaz.org"
... | test:
override:
- python manage.py test --coverage
post:
- mkdir -p $CIRCLE_TEST_REPORTS/python/
- mv test-reports/*.xml $CIRCLE_TEST_REPORTS/python/
# Update gh-pages with Coverage
- git checkout gh-pages
- git config --global user.email "lev@levlaz.org"
- git config --global user.name ... | <|file_sep|>original/circle.yml
test:
override:
- python manage.py test --coverage
post:
- mkdir -p $CIRCLE_TEST_REPORTS/python/
- mv test-reports/*.xml $CIRCLE_TEST_REPORTS/python/
# Update gh-pages with Coverage
- git checkout gh-pages
- git config --global user.email "lev@levlaz.org"
... | 785d62d5d5a084e130e36cb60def83ebaf40e2b0 | circle.yml | circle.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.