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/.travis.yml language: "python" python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" install: pip install flake8 pip install coveralls before_script: flake8 . script: coverage run --source=geojson setup.py test after_success: coveralls <|file_sep|>c...
language: "python" python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" install: - pip install flake8 - pip install coveralls before_script: flake8 . script: coverage run --source=geojson setup.py test after_success: coveralls
<|file_sep|>original/.travis.yml language: "python" python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "pypy" - "pypy3" install: pip install flake8 pip install coveralls before_script: flake8 . script: coverage run --source=geojson setup.py test after_success: coveralls <|file_sep|>c...
bfa199092b5af63ac666a8e047d6b905c088f659
.travis.yml
.travis.yml
YAML
<|file_sep|>awx/ui/client/features/templates/index.view.html.diff original: <div ng-if="$state.is('templates')"> updated: <div ng-if="$state.includes('templates')"> <|file_sep|>original/awx/ui/client/features/templates/index.view.html <div ui-view="scheduler"></div> <div ui-view="form"></div> <at-panel ng-cloak...
<div ui-view="scheduler"></div> <div ui-view="form"></div> <at-panel ng-cloak id="htmlTemplate"> <div ng-if="$state.includes('templates')"> <at-panel-heading title="{{:: vm.strings.get('list.PANEL_TITLE') }}" hide-dismiss="true" badge="{{ vm.count }}"> </at-panel-...
<|file_sep|>awx/ui/client/features/templates/index.view.html.diff original: <div ng-if="$state.is('templates')"> updated: <div ng-if="$state.includes('templates')"> <|file_sep|>original/awx/ui/client/features/templates/index.view.html <div ui-view="scheduler"></div> <div ui-view="form"></div> <at-panel ng-cloak...
df3f10d71bc18504c2af44210a9c1d6814690d5d
awx/ui/client/features/templates/index.view.html
awx/ui/client/features/templates/index.view.html
HTML
<|file_sep|>test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl.diff original: updated: # Note that http2_protocol_options is a deprecated field and Envoy 1.17 # and up would prefer: # typed_extension_protocol_options: # envoy.extensions.upstreams.http.v3.HttpP...
# But that breaks 1.15 and 1.16. For now use this which is supported by # all our supported versions# to avoid needing to setup different # bootstrap based on the envoy version. envoy_extra_static_clusters_json = <<EOF { "name": "sds-cluster", "connect_timeout": "5s", "http2_protocol_optio...
<|file_sep|>test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl.diff original: updated: # Note that http2_protocol_options is a deprecated field and Envoy 1.17 # and up would prefer: # typed_extension_protocol_options: # envoy.extensions.upstreams.http.v3.HttpP...
843079f33a00b86d96e6898572b384af89862850
test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl
test/integration/connect/envoy/case-ingress-gateway-sds/service_gateway.hcl
HCL
<|file_sep|>original/fr/technical/pattern-register.md <|file_sep|>current/fr/technical/pattern-register.md <|file_sep|>updated/fr/technical/pattern-register.md
#Pattern register Ce chapitre a pour but de documenter un pattern qui est a plusieurs reprise utilisé dans Beluga. ##Implémentation Une implémentation simple est la suivante: RegsterPattern.hx ```haxe class RegisterPattern { var mydata : List<String>; //Cette fonction est appelé via un autobuild m...
<|file_sep|>original/fr/technical/pattern-register.md <|file_sep|>current/fr/technical/pattern-register.md <|file_sep|>updated/fr/technical/pattern-register.md #Pattern register Ce chapitre a pour but de documenter un pattern qui est a plusieurs reprise utilisé dans Beluga. ##Implémentation Une implémentation simp...
e41bd9d406b9776572ab86d3a7a3ab002d79110e
fr/technical/pattern-register.md
fr/technical/pattern-register.md
Markdown
<|file_sep|>original/.github/workflows/main.yml with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }} restore-keys: | ${{ runner.os }}-pip- - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: ...
with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }} restore-keys: | ${{ runner.os }}-pip- - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }}...
<|file_sep|>original/.github/workflows/main.yml with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('requirements/**') }} restore-keys: | ${{ runner.os }}-pip- - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: ...
126698baef0d6a0fcf86bc50d94d2d8e8355e945
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/tests/test-files/bad/Elm-0.19/UnexpectedEndOfInput.output.txt Unable to parse file <STDIN>:5:1 To see a detailed explanation, run elm make on the file. <|file_sep|>current/tests/test-files/bad/Elm-0.19/UnexpectedEndOfInput.output.txt Unable to parse file <STDIN>:5:1 To see a detailed explanation, r...
Unable to parse file <STDIN>:4:5 To see a detailed explanation, run elm make on the file.
<|file_sep|>original/tests/test-files/bad/Elm-0.19/UnexpectedEndOfInput.output.txt Unable to parse file <STDIN>:5:1 To see a detailed explanation, run elm make on the file. <|file_sep|>current/tests/test-files/bad/Elm-0.19/UnexpectedEndOfInput.output.txt Unable to parse file <STDIN>:5:1 To see a detailed explanation, r...
802d5cbbba2d3c453b6e61e85a2739e88fe4d183
tests/test-files/bad/Elm-0.19/UnexpectedEndOfInput.output.txt
tests/test-files/bad/Elm-0.19/UnexpectedEndOfInput.output.txt
Text
<|file_sep|>original/neo4j-ogm-docs/src/main/asciidoc/appendix/faq.adoc [appendix] [[faq]] = Frequently Asked Questions (FAQ) [qanda] What is the difference between Neo4j OGM and Spring Data Neo4j (SDN)?:: Spring Data Neo4j (SDN) uses the OGM under the covers. It's like Spring Data JPA, where JPA/Hibernate underly i...
[appendix] [[faq]] = Frequently Asked Questions (FAQ) [qanda] What is the difference between Neo4j OGM and Spring Data Neo4j (SDN)?:: Spring Data Neo4j (SDN) uses the OGM under the covers. It's like Spring Data JPA, where JPA/Hibernate underly it. Most of the power of SDN actually comes from the OGM. How are lab...
<|file_sep|>original/neo4j-ogm-docs/src/main/asciidoc/appendix/faq.adoc [appendix] [[faq]] = Frequently Asked Questions (FAQ) [qanda] What is the difference between Neo4j OGM and Spring Data Neo4j (SDN)?:: Spring Data Neo4j (SDN) uses the OGM under the covers. It's like Spring Data JPA, where JPA/Hibernate underly i...
776a8c58ff05f2a298354fae1bc6f854e6c1317c
neo4j-ogm-docs/src/main/asciidoc/appendix/faq.adoc
neo4j-ogm-docs/src/main/asciidoc/appendix/faq.adoc
AsciiDoc
<|file_sep|>original/lib/login.js // Apply login on current session and change session id for security reasons. 'use strict'; var rnd = require('nodeca.core/lib/rnd'); module.exports = function login(env, userId) { env.session.user_id = userId; env.origin.req.sid = rnd(); // Generate cryptostrong random hex s...
// Apply login on current session and change session id for security reasons. 'use strict'; var rnd = require('nodeca.core/lib/rnd'); module.exports = function login(env, userId) { env.session.user_id = userId; env.session_id = rnd(); // Generate cryptostrong random hex string. };
<|file_sep|>original/lib/login.js // Apply login on current session and change session id for security reasons. 'use strict'; var rnd = require('nodeca.core/lib/rnd'); module.exports = function login(env, userId) { env.session.user_id = userId; env.origin.req.sid = rnd(); // Generate cryptostrong random hex s...
7c28f176c0a645e2b647b16473a2c184dc015097
lib/login.js
lib/login.js
JavaScript
<|file_sep|>README.md.diff original: updated: # My Podcasts <|file_sep|>original/README.md [![Build Status](https://snap-ci.com/alabeduarte/mypodcasts-android/branch/master/build_image)](https://snap-ci.com/alabeduarte/mypodcasts-android/branch/master) # My Podcasts Podcast client for android. <img src="screenshot...
# My Podcasts [![Build Status](https://snap-ci.com/alabeduarte/mypodcasts-android/branch/master/build_image)](https://snap-ci.com/alabeduarte/mypodcasts-android/branch/master) Podcast client for android. <img src="screenshots/latest_episodes.png" width="200" height="400" /> <img src="screenshots/menu.png" width="200...
<|file_sep|>README.md.diff original: updated: # My Podcasts <|file_sep|>original/README.md [![Build Status](https://snap-ci.com/alabeduarte/mypodcasts-android/branch/master/build_image)](https://snap-ci.com/alabeduarte/mypodcasts-android/branch/master) # My Podcasts Podcast client for android. <img src="screenshot...
6980922986f642225ae72075ac6daf4ff8e5d8cd
README.md
README.md
Markdown
<|file_sep|>original/rand.h * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,...
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES * OR OTHER LIABILITY,...
<|file_sep|>original/rand.h * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,...
22ecd57dc0d2fa3e82dc0d2a39250ac0f2a5db4b
rand.h
rand.h
C
<|file_sep|>original/_includes/about-me.md ## About me living in Munich, Germany loving technology, martial arts, history and travelling working as a PHP/Laravel developer at [VerbraucherRitter](https://www.verbraucherritter.de) proud member of the [European Kyusho Academy](http://www.kyusho-academy.com/kyusho/k...
## About me living in Munich, Germany loving technology, martial arts, history and travelling proud member of the [European Kyusho Academy](http://www.kyusho-academy.com/kyusho/kyusho_eka_eng.html) {: #about}
<|file_sep|>original/_includes/about-me.md ## About me living in Munich, Germany loving technology, martial arts, history and travelling working as a PHP/Laravel developer at [VerbraucherRitter](https://www.verbraucherritter.de) proud member of the [European Kyusho Academy](http://www.kyusho-academy.com/kyusho/k...
432dd9e261bf82ced836e64c6e8fea5e3343fd41
_includes/about-me.md
_includes/about-me.md
Markdown
<|file_sep|>src/main/DatabaseConnection.java.diff original: updated: import java.sql.*; import java.util.ArrayList; <|file_sep|>original/src/main/DatabaseConnection.java public class DatabaseConnection { } <|file_sep|>current/src/main/DatabaseConnection.java import java.sql.*; import java.util.ArrayList; public cla...
import java.sql.*; import java.util.ArrayList; public class DatabaseConnection { public static Connection dbcon; public static void InsertData(ArrayList<String> array, String path) { try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); dbcon = DriverManager.getConnection("jdbc:sqlserver://serv...
<|file_sep|>src/main/DatabaseConnection.java.diff original: updated: import java.sql.*; import java.util.ArrayList; <|file_sep|>original/src/main/DatabaseConnection.java public class DatabaseConnection { } <|file_sep|>current/src/main/DatabaseConnection.java import java.sql.*; import java.util.ArrayList; public cla...
8b3d793eb65866ebe08b726c7f7557b08f1fcaf1
src/main/DatabaseConnection.java
src/main/DatabaseConnection.java
Java
<|file_sep|>apps/domain/src/main/core/manager/request_manager.py.diff original: updated: from syft.core.node.domain.service import RequestStatus from syft.core.common.uid import UID <|file_sep|>apps/domain/src/main/core/manager/request_manager.py.diff original: def create_request(self, user_id, user_name, object_i...
user_name=user_name, object_id=object_id, date=date, reason=reason, request_type=request_type, verify_key=verify_key, tags=tags, object_type=object_type, ) def status(self, request_id): _req = self.first...
<|file_sep|>apps/domain/src/main/core/manager/request_manager.py.diff original: updated: from syft.core.node.domain.service import RequestStatus from syft.core.common.uid import UID <|file_sep|>apps/domain/src/main/core/manager/request_manager.py.diff original: def create_request(self, user_id, user_name, object_i...
f659b022a942acdeef8adf75d32f1e77ee292b88
apps/domain/src/main/core/manager/request_manager.py
apps/domain/src/main/core/manager/request_manager.py
Python
<|file_sep|>original/spec/i18n_spec.rb require 'i18n/tasks' RSpec.describe 'I18n' do let(:i18n) { I18n::Tasks::BaseTask.new } let(:missing_keys) { i18n.missing_keys } let(:unused_keys) { i18n.unused_keys } it 'does not have missing keys' do expect(missing_keys).to be_empty, "Mi...
require 'i18n/tasks' RSpec.describe 'I18n' do let(:i18n) { I18n::Tasks::BaseTask.new } let(:missing_keys) { i18n.missing_keys } let(:unused_keys) { i18n.unused_keys } it 'does not have missing keys' do expect(missing_keys).to be_empty, "Missing #{missing_keys.leaves.count} i18n...
<|file_sep|>original/spec/i18n_spec.rb require 'i18n/tasks' RSpec.describe 'I18n' do let(:i18n) { I18n::Tasks::BaseTask.new } let(:missing_keys) { i18n.missing_keys } let(:unused_keys) { i18n.unused_keys } it 'does not have missing keys' do expect(missing_keys).to be_empty, "Mi...
973d9ea8bbc3a50b343674c37372b47bc2cc4ce1
spec/i18n_spec.rb
spec/i18n_spec.rb
Ruby
<|file_sep|>org/postgresql/util/PSQLDriverVersion.java.diff original: * $PostgreSQL: pgjdbc/org/postgresql/util/PSQLDriverVersion.java,v 1.21 2006/12/01 12:06:21 jurka Exp $ updated: * $PostgreSQL: pgjdbc/org/postgresql/util/PSQLDriverVersion.java,v 1.22 2007/07/31 06:05:43 jurka Exp $ <|file_sep|>original/org/post...
import org.postgresql.Driver; /** * This class holds the current build number and a utility program to print * it and the file it came from. The primary purpose of this is to keep * from filling the cvs history of Driver.java.in with commits simply * changing the build number. The utility program can also be hel...
<|file_sep|>org/postgresql/util/PSQLDriverVersion.java.diff original: * $PostgreSQL: pgjdbc/org/postgresql/util/PSQLDriverVersion.java,v 1.21 2006/12/01 12:06:21 jurka Exp $ updated: * $PostgreSQL: pgjdbc/org/postgresql/util/PSQLDriverVersion.java,v 1.22 2007/07/31 06:05:43 jurka Exp $ <|file_sep|>original/org/post...
4d2bf7028da05710cfba49a5ba8fecbe07de167d
org/postgresql/util/PSQLDriverVersion.java
org/postgresql/util/PSQLDriverVersion.java
Java
<|file_sep|>original/lib/bunny/concurrent/condition.rb module Bunny module Concurrent # Akin to java.util.concurrent.Condition and intrinsic object monitors (Object#wait, Object#notify, Object#notifyAll) in Java: # threads can wait (block until notified) on a condition other threads notify them about. # U...
module Bunny module Concurrent # Akin to java.util.concurrent.Condition and intrinsic object monitors (Object#wait, Object#notify, Object#notifyAll) in Java: # threads can wait (block until notified) on a condition other threads notify them about. # Unlike the j.u.c. version, this one has a single waiting...
<|file_sep|>original/lib/bunny/concurrent/condition.rb module Bunny module Concurrent # Akin to java.util.concurrent.Condition and intrinsic object monitors (Object#wait, Object#notify, Object#notifyAll) in Java: # threads can wait (block until notified) on a condition other threads notify them about. # U...
cb37aee9357fedcfbbc951b2f1d4aa43e19bf86d
lib/bunny/concurrent/condition.rb
lib/bunny/concurrent/condition.rb
Ruby
<|file_sep|>original/services/tnseq-phase0-d.clj {:name "tnseq-phase0-d", :path "", :graph {:coll {:type "func" :name "collapser"} :mail {:type "func" :name "mailit" :args ["#2" ; recipient "Aerobio job status: tnseq phase-0d" ...
{:name "tnseq-phase0-d", :path "", :graph {:coll {:type "func" :name "collapser" :args ["#1"]} :mail {:type "func" :name "mailit" :args ["#2" ; recipient "Aerobio job status: tnseq phase-0d" ...
<|file_sep|>original/services/tnseq-phase0-d.clj {:name "tnseq-phase0-d", :path "", :graph {:coll {:type "func" :name "collapser"} :mail {:type "func" :name "mailit" :args ["#2" ; recipient "Aerobio job status: tnseq phase-0d" ...
5a5480934fd90a8dd203d876abca2acea72a44a5
services/tnseq-phase0-d.clj
services/tnseq-phase0-d.clj
Clojure
<|file_sep|>original/i18n/pt-br.toml <|file_sep|>current/i18n/pt-br.toml <|file_sep|>updated/i18n/pt-br.toml
[create-header-md] other = "Crie um arquivo content/_header.md para customizar isto" [create-footer-md] other = "Crie um arquivo content/_footer.md para customizar o conteúdo do rodapé" [Search-placeholder] other = "Buscar..." [Clear-History] other = "Limpar Histórico" [Page] other = "Página" [Next-Pages] other = ...
<|file_sep|>original/i18n/pt-br.toml <|file_sep|>current/i18n/pt-br.toml <|file_sep|>updated/i18n/pt-br.toml [create-header-md] other = "Crie um arquivo content/_header.md para customizar isto" [create-footer-md] other = "Crie um arquivo content/_footer.md para customizar o conteúdo do rodapé" [Search-placeholder] ...
61b6794941194fe97a599f490f96c5490543cbd8
i18n/pt-br.toml
i18n/pt-br.toml
TOML
<|file_sep|>original/concourse/scripts/run_tinc_test.sh #!/bin/bash TINC_TARGET="$@" TINC_DIR=/home/gpadmin/gpdb_src/src/test/tinc trap look4diffs ERR function look4diffs() { find "\${TINC_DIR}" -name *.diff -exec cat {} \; >> "\${TINC_DIR}/regression.diffs" echo "===================================================...
#!/bin/bash TINC_TARGET="$@" TINC_DIR=/home/gpadmin/gpdb_src/src/test/tinc cat > ~/gpdb-env.sh << EOF source /usr/local/greenplum-db-devel/greenplum_path.sh export PGPORT=5432 export MASTER_DATA_DIRECTORY=/data/gpdata/master/gpseg-1 export PGDATABASE=gptest alias mdd='cd \$MASTER_DATA_DIRECTORY' alias ti...
<|file_sep|>original/concourse/scripts/run_tinc_test.sh #!/bin/bash TINC_TARGET="$@" TINC_DIR=/home/gpadmin/gpdb_src/src/test/tinc trap look4diffs ERR function look4diffs() { find "\${TINC_DIR}" -name *.diff -exec cat {} \; >> "\${TINC_DIR}/regression.diffs" echo "===================================================...
f9c01fb996e5e5051696aa20a4a4b4cc3fb9c5cd
concourse/scripts/run_tinc_test.sh
concourse/scripts/run_tinc_test.sh
Shell
<|file_sep|>original/CHANGELOG.md 1.18.0 ------- * Added an option to not colapse whitespaces when saving the HTML. 1.17.1 ----- * Fix drawing of underlines when they include the last character of content. 1.17.0 ----- * Fix drawing of underlines when they have a nbsp and span to the end of a line 1.16.0 ----- * I...
1.19.0 ------- * Add support for the sup and sub HTML tags. 1.18.0 ------- * Added an option to not colapse whitespaces when saving the HTML. 1.17.1 ----- * Fix drawing of underlines when they include the last character of content. 1.17.0 ----- * Fix drawing of underlines when they have a nbsp and span to the end o...
<|file_sep|>original/CHANGELOG.md 1.18.0 ------- * Added an option to not colapse whitespaces when saving the HTML. 1.17.1 ----- * Fix drawing of underlines when they include the last character of content. 1.17.0 ----- * Fix drawing of underlines when they have a nbsp and span to the end of a line 1.16.0 ----- * I...
5e1b037b66e40814540a0e8b313f0f550291f03f
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>spec/tic_tac_toe_spec.rb.diff original: board = TicTacToe::Board.new do_winning_test board, "X" updated: ["X", "O"].each do |mark| board = TicTacToe::Board.new do_winning_test board, mark end <|file_sep|>original/spec/tic_tac_toe_spec.rb expect(@board.pos 10).to...
expect(@board.pos 10).to eq(nil) end def do_winning_test board, mark board.move 0, mark board.move 1, mark board.move 2, mark expect(board.won).to eq mark end it 'knows when someone has won' do ["X", "O"].each do |mark| board = TicTacToe::Board.new ...
<|file_sep|>spec/tic_tac_toe_spec.rb.diff original: board = TicTacToe::Board.new do_winning_test board, "X" updated: ["X", "O"].each do |mark| board = TicTacToe::Board.new do_winning_test board, mark end <|file_sep|>original/spec/tic_tac_toe_spec.rb expect(@board.pos 10).to...
2f04db4341678f94c4a45dad60322640edc2050d
spec/tic_tac_toe_spec.rb
spec/tic_tac_toe_spec.rb
Ruby
<|file_sep|>broker.rb.diff original: "id" => "echo-service", "name"=> "Echo Service", "description"=> "A service that echoes back the body of each web request it receives", updated: "id" => "github-repo", "name"=> " GitHub repository service", "description"=> "An instance...
class ServiceBroker < Sinatra::Base get "/v2/catalog" do content_type :json description = { "services" => [{ "id" => "github-repo", "name"=> " GitHub repository service", "description"=> "An instance of this service provides a repository which an app write to and read from", ...
<|file_sep|>broker.rb.diff original: "id" => "echo-service", "name"=> "Echo Service", "description"=> "A service that echoes back the body of each web request it receives", updated: "id" => "github-repo", "name"=> " GitHub repository service", "description"=> "An instance...
fd261410d700624e5e5e49212bffd3ff541022eb
broker.rb
broker.rb
Ruby
<|file_sep|>original/lib/dap/input/csv.rb args.each do |arg| if arg =~ /^header=(.*)/ val =$1 self.has_header = !! (val =~ /^y|t|1/i) end end if self.has_header data = read_record unless data == :eof self.headers = data.values.map{|x| x.t...
args.each do |arg| if arg =~ /^header=(.*)/ val =$1 self.has_header = !! (val =~ /^y|t|1/i) end end if self.has_header data = read_record unless (data == :eof or data == :empty) self.headers = data.values.map{|x| x.to_s.strip } en...
<|file_sep|>original/lib/dap/input/csv.rb args.each do |arg| if arg =~ /^header=(.*)/ val =$1 self.has_header = !! (val =~ /^y|t|1/i) end end if self.has_header data = read_record unless data == :eof self.headers = data.values.map{|x| x.t...
6cb24a259a3834ac908f9e84951c0ab4fc86ac15
lib/dap/input/csv.rb
lib/dap/input/csv.rb
Ruby
<|file_sep|>original/tools/download-wheels.py <|file_sep|>current/tools/download-wheels.py <|file_sep|>updated/tools/download-wheels.py
#!/usr/bin/env python """ Download NumPy wheels from Anaconda staging area. """ import sys import os import re import shutil import argparse import urllib3 from bs4 import BeautifulSoup __version__ = '0.1' ANACONDA_INDEX = 'https://anaconda.org/multibuild-wheels-staging/numpy/files' ANACONDA_FILES = 'https://anacon...
<|file_sep|>original/tools/download-wheels.py <|file_sep|>current/tools/download-wheels.py <|file_sep|>updated/tools/download-wheels.py #!/usr/bin/env python """ Download NumPy wheels from Anaconda staging area. """ import sys import os import re import shutil import argparse import urllib3 from bs4 import Beautifu...
a205a7032aa72111e1cb44f4989363b4e64be28a
tools/download-wheels.py
tools/download-wheels.py
Python
<|file_sep|>modules/govuk_jenkins/templates/jobs/production/trade_tariff_reindex_elasticsearch.yaml.erb.diff original: name: Trade_Tariff_Reindex_ElsaticSearch display-name: Trade_Tariff_Reindex_ElsaticSearch updated: name: Trade_Tariff_Reindex_ElasticSearch display-name: Trade_Tariff_Reindex_ElasticSea...
--- - job: name: Trade_Tariff_Reindex_ElasticSearch display-name: Trade_Tariff_Reindex_ElasticSearch project-type: freestyle description: '<p>Drops and rebuilds the search index</p>' builders: - shell: | ssh deploy@backend-1.backend 'cd /var/apps/tariff-api && govuk_setenv tariff-...
<|file_sep|>modules/govuk_jenkins/templates/jobs/production/trade_tariff_reindex_elasticsearch.yaml.erb.diff original: name: Trade_Tariff_Reindex_ElsaticSearch display-name: Trade_Tariff_Reindex_ElsaticSearch updated: name: Trade_Tariff_Reindex_ElasticSearch display-name: Trade_Tariff_Reindex_ElasticSea...
e9def636c6461e836532378a20dec1189e90b6d9
modules/govuk_jenkins/templates/jobs/production/trade_tariff_reindex_elasticsearch.yaml.erb
modules/govuk_jenkins/templates/jobs/production/trade_tariff_reindex_elasticsearch.yaml.erb
HTML+ERB
<|file_sep|>original/app/design/frontend/base/default/template/laybuy/payments/method.phtml if($total){ $laybuy_payments = number_format( ($total / 6), 2, '.', ','); } ?> <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode(); ?>" style="display: none;"> <li> <div style="padding: 10p...
if($total){ $laybuy_payments = number_format( ($total / 6), 2, '.', ','); } ?> <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode(); ?>" style="display: none;"> <li> <div style="padding: 10px 0;"> <img style="display:inline-block;max-width: 200px; vertical-align: middl...
<|file_sep|>original/app/design/frontend/base/default/template/laybuy/payments/method.phtml if($total){ $laybuy_payments = number_format( ($total / 6), 2, '.', ','); } ?> <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode(); ?>" style="display: none;"> <li> <div style="padding: 10p...
c61e7bd20070e62915a6f5746326d3f148471452
app/design/frontend/base/default/template/laybuy/payments/method.phtml
app/design/frontend/base/default/template/laybuy/payments/method.phtml
HTML+PHP
<|file_sep|>original/app/views/projects/_permission_list.html.erb <tr> <th><%=_ 'User' %></th> <th><%=_ "Read" %></th> <th><%=_ 'Comment' %></th> <th><%=_ 'Work' %></th> <th><%=_ 'Close' %></th> <th><%=_ 'See unwatched' %></th> <th><%=_ 'Create' %></th> <th><%=_ 'Edit...
<tr> <th><%=_ 'User' %></th> <th><%=_ "Read" %></th> <th><%=_ 'Comment' %></th> <th><%=_ 'Work' %></th> <th><%=_ 'Close' %></th> <th><%=_ 'See unwatched' %></th> <th><%=_ 'Create' %></th> <th><%=_ 'Edit' %></th> <th><%=_ 'Assign' %></th> <th><%=_ 'Mileston...
<|file_sep|>original/app/views/projects/_permission_list.html.erb <tr> <th><%=_ 'User' %></th> <th><%=_ "Read" %></th> <th><%=_ 'Comment' %></th> <th><%=_ 'Work' %></th> <th><%=_ 'Close' %></th> <th><%=_ 'See unwatched' %></th> <th><%=_ 'Create' %></th> <th><%=_ 'Edit...
f52bebee167c8f95aa3c40ce019932b127b0fbad
app/views/projects/_permission_list.html.erb
app/views/projects/_permission_list.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml --- language: ruby rvm: - 1.9.3 branches: except: - master notifications: email: false <|file_sep|>current/.travis.yml --- language: ruby rvm: - 1.9.3 branches: except: - master notifications: email: false <|file_sep|>updated/.travis.yml
--- language: ruby rvm: - 1.9.3 notifications: email: false
<|file_sep|>original/.travis.yml --- language: ruby rvm: - 1.9.3 branches: except: - master notifications: email: false <|file_sep|>current/.travis.yml --- language: ruby rvm: - 1.9.3 branches: except: - master notifications: email: false <|file_sep|>updated/.travis.yml --- language: ruby rvm: - 1...
a6dc90ce1152326e7722ed075862f9437610fd58
.travis.yml
.travis.yml
YAML
<|file_sep|>src/test/groovy/ru/d10xa/allure/JunitSpec.groovy.diff original: import groovy.transform.Memoized updated: <|file_sep|>src/test/groovy/ru/d10xa/allure/JunitSpec.groovy.diff original: updated: import spock.lang.Unroll <|file_sep|>src/test/groovy/ru/d10xa/allure/JunitSpec.groovy.diff original: updated: @Unr...
.withProjectDir(testProjectDirectory) .withTestKitDir(new File(testProjectDirectory.parentFile.absolutePath, '.gradle')) .withArguments('test', 'allureReport') .withGradleVersion(gradleVersion) .withPluginClasspath(pluginClasspath) ...
<|file_sep|>src/test/groovy/ru/d10xa/allure/JunitSpec.groovy.diff original: import groovy.transform.Memoized updated: <|file_sep|>src/test/groovy/ru/d10xa/allure/JunitSpec.groovy.diff original: updated: import spock.lang.Unroll <|file_sep|>src/test/groovy/ru/d10xa/allure/JunitSpec.groovy.diff original: updated: @Unr...
f743b55700ee5d6fad42308011d077c4e6fe6b9b
src/test/groovy/ru/d10xa/allure/JunitSpec.groovy
src/test/groovy/ru/d10xa/allure/JunitSpec.groovy
Groovy
<|file_sep|>original/p1.go "bufio" "io" ) type P1 struct { rd *bufio.Reader } // NewReader returns a Reader whose read telegrams from a Reader object. func NewP1(rd io.Reader) P1 { return P1{rd: bufio.NewReader(rd)} } // Read reads data into p. It returns the number of bytes read into p. It reads // till it enco...
"bufio" "io" ) type P1 struct { rd *bufio.Reader } // NewReader returns a Reader whose read telegrams from a Reader object. func NewP1(rd io.Reader) P1 { return P1{rd: bufio.NewReader(rd)} } // Read reads data into p. It returns the number of bytes read into p. It reads // till it encounters a `!` byte. func (p1...
<|file_sep|>original/p1.go "bufio" "io" ) type P1 struct { rd *bufio.Reader } // NewReader returns a Reader whose read telegrams from a Reader object. func NewP1(rd io.Reader) P1 { return P1{rd: bufio.NewReader(rd)} } // Read reads data into p. It returns the number of bytes read into p. It reads // till it enco...
37bb7e70b0002d30171272ff4c454829c762a79e
p1.go
p1.go
Go
<|file_sep|>original/tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py <|file_sep|>current/tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py <|file_sep|>updated/tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py
import unittest from chainer.training import extensions class TestPlotReport(unittest.TestCase): def test_available(self): try: from matplotlib import pyplot # NOQA available = True except ImportError: available = False self.assertEqual(extensions.Pl...
<|file_sep|>original/tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py <|file_sep|>current/tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py <|file_sep|>updated/tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py import unittest from chainer.training im...
610396a7caa1c23532369d4bc5e382dbc21cba60
tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py
tests/chainer_tests/training_tests/extensions_tests/test_plot_report.py
Python
<|file_sep|>original/manifest.json { "name": "Crackbook", "version": "0.1.6", "icons": { "128": "images/hamburger-128px.png" }, "description": "Limit junk sites in your daily infodiet.", "browser_action": { "default_icon": "images/hamburger-19px.png", "popup": "popup.html" }, "options_page":...
{ "name": "Crackbook", "version": "0.1.6", "icons": { "128": "images/hamburger-128px.png" }, "description": "Limit junk sites in your daily infodiet.", "browser_action": { "default_icon": "images/carrot-19px.png", "popup": "popup.html" }, "options_page": "options.html", "background_page": ...
<|file_sep|>original/manifest.json { "name": "Crackbook", "version": "0.1.6", "icons": { "128": "images/hamburger-128px.png" }, "description": "Limit junk sites in your daily infodiet.", "browser_action": { "default_icon": "images/hamburger-19px.png", "popup": "popup.html" }, "options_page":...
c9c8e5aef16acc448ab540c7b5d3d0e89fafd5c0
manifest.json
manifest.json
JSON
<|file_sep|>original/test/index.js import main from '../' import test from 'ava' test('extends files', t => { const expected = [ 'airbnb', 'wyze/base', 'wyze/rules/react', 'wyze/rules/jsx-a11y', ] t.deepEqual(main.extends, expected) }) <|file_sep|>current/test/index.js import main from '../' imp...
import main from '../' import test from 'ava' test('extends files', t => { const expected = [ 'airbnb-base', 'airbnb-base/rules/strict', 'airbnb/rules/react', 'wyze/base', 'wyze/rules/react', 'wyze/rules/jsx-a11y', ] t.deepEqual(main.extends, expected) })
<|file_sep|>original/test/index.js import main from '../' import test from 'ava' test('extends files', t => { const expected = [ 'airbnb', 'wyze/base', 'wyze/rules/react', 'wyze/rules/jsx-a11y', ] t.deepEqual(main.extends, expected) }) <|file_sep|>current/test/index.js import main from '../' imp...
c52a6e1eb92bf034aa11f8dd5673125513a85102
test/index.js
test/index.js
JavaScript
<|file_sep|>original/newsfeed/test/newsfeed/integration/api.clj <|file_sep|>current/newsfeed/test/newsfeed/integration/api.clj <|file_sep|>updated/newsfeed/test/newsfeed/integration/api.clj
(ns newsfeed.integration.api (:require [midje.sweet :refer :all] [peridot.core :as p] [clojure.data.json :as json] [newsfeed.core :as nf] [newsfeed.api :as api])) (facts "about 'api'" (let [app (p/session nf/app)] (fact "returns 200 on /ping" ...
<|file_sep|>original/newsfeed/test/newsfeed/integration/api.clj <|file_sep|>current/newsfeed/test/newsfeed/integration/api.clj <|file_sep|>updated/newsfeed/test/newsfeed/integration/api.clj (ns newsfeed.integration.api (:require [midje.sweet :refer :all] [peridot.core :as p] [clojure.data.js...
490495fb6cab4c88d0dc56b7a0d949aeec55d603
newsfeed/test/newsfeed/integration/api.clj
newsfeed/test/newsfeed/integration/api.clj
Clojure
<|file_sep|>original/packages/gh/ghc-dump-util.yaml <|file_sep|>current/packages/gh/ghc-dump-util.yaml <|file_sep|>updated/packages/gh/ghc-dump-util.yaml
homepage: '' changelog-type: '' hash: eda9bf7904590a4e534d7f25044315efa85c041276694c45cf5c9db1005318c4 test-bench-deps: {} maintainer: ben@well-typed.com synopsis: Handy tools for working with @ghc-dump@ dumps. changelog: '' basic-deps: regex-tdfa-text: -any serialise: ! '>=0.2 && <0.3' bytestring: ! '>=0.10 && <...
<|file_sep|>original/packages/gh/ghc-dump-util.yaml <|file_sep|>current/packages/gh/ghc-dump-util.yaml <|file_sep|>updated/packages/gh/ghc-dump-util.yaml homepage: '' changelog-type: '' hash: eda9bf7904590a4e534d7f25044315efa85c041276694c45cf5c9db1005318c4 test-bench-deps: {} maintainer: ben@well-typed.com synopsis: ...
4bde6a6a91891a658218239a5224579b220a6ec0
packages/gh/ghc-dump-util.yaml
packages/gh/ghc-dump-util.yaml
YAML
<|file_sep|>package.json.diff original: "react": "~0.12.0", "reactify": "~0.15.2" updated: "react": "~0.12.0" <|file_sep|>package.json.diff original: updated: "reactify": "~0.15.2", <|file_sep|>original/package.json "del": "~0.1.3", "gulp": "~3.8.10", "gulp-connect": "~2.2.0", "gulp-gh-...
"del": "~0.1.3", "gulp": "~3.8.10", "gulp-connect": "~2.2.0", "gulp-gh-pages": "~0.4.0", "gulp-less": "~1.3.6", "gulp-util": "~3.0.1", "merge-stream": "~0.1.6", "reactify": "~0.15.2", "vinyl-source-stream": "~1.0.0", "watchify": "~2.1.1" }, "scripts": { "test": "echo \"no...
<|file_sep|>package.json.diff original: "react": "~0.12.0", "reactify": "~0.15.2" updated: "react": "~0.12.0" <|file_sep|>package.json.diff original: updated: "reactify": "~0.15.2", <|file_sep|>original/package.json "del": "~0.1.3", "gulp": "~3.8.10", "gulp-connect": "~2.2.0", "gulp-gh-...
def0194dd9a9b7bceb3ed8451716996c8e856db6
package.json
package.json
JSON
<|file_sep|>original/app/views/rooms/show.html.slim h1 = @room.name h2 = t('.users') - @room.users.each do |user| = user.name .clear h2 = t('.questions_and_answers') - @room.room_questions.each do |room_question| article h3 = room_question.question.text p strong Answers: = room_question.ques...
h1 = @room.name h2 = t('.users') - @room.users.each do |user| = link_to user.name, user, class: 'js-user-link' .clear h2 = t('.questions_and_answers') - @room.room_questions.each do |room_question| article h3 = room_question.question.text p strong Answers: = room_question.question.answers.pl...
<|file_sep|>original/app/views/rooms/show.html.slim h1 = @room.name h2 = t('.users') - @room.users.each do |user| = user.name .clear h2 = t('.questions_and_answers') - @room.room_questions.each do |room_question| article h3 = room_question.question.text p strong Answers: = room_question.ques...
bd2c6901904a6a61a301e881dc1f2fbd70500f94
app/views/rooms/show.html.slim
app/views/rooms/show.html.slim
Slim
<|file_sep|>original/requirements.txt # # This file is autogenerated by pip-compile with python 3.6 # To update, run: # # pip-compile requirements.in # certifi==2021.10.8 # via requests charset-normalizer==2.0.12 # via requests idna==3.3 # via requests requests==2.28.0 # via -r requirements.in urllib...
# # This file is autogenerated by pip-compile with python 3.6 # To update, run: # # pip-compile requirements.in # certifi==2021.10.8 # via requests charset-normalizer==2.1.0 # via requests idna==3.3 # via requests requests==2.28.0 # via -r requirements.in urllib3==1.26.9 # via requests xmltodict=...
<|file_sep|>original/requirements.txt # # This file is autogenerated by pip-compile with python 3.6 # To update, run: # # pip-compile requirements.in # certifi==2021.10.8 # via requests charset-normalizer==2.0.12 # via requests idna==3.3 # via requests requests==2.28.0 # via -r requirements.in urllib...
dc44881ed595a2457874fceda2f36ed6421d270d
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml - ./bootstrap - ./configure - make - sudo make install - sudo ldconfig - cd .. - pip install pylint coveralls - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi script: - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then MAXMINDDB_PURE_PYTHON=0 C...
- ./bootstrap - ./configure - make - sudo make install - sudo ldconfig - cd .. - pip install pylint coveralls - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi script: - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then MAXMINDDB_PURE_PYTHON=0 CFLAGS="-Werror -Wall -Wextra" pyt...
<|file_sep|>original/.travis.yml - ./bootstrap - ./configure - make - sudo make install - sudo ldconfig - cd .. - pip install pylint coveralls - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi script: - if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then MAXMINDDB_PURE_PYTHON=0 C...
5aa2c9f7e4269df9e958e5fdc59cab4f8d325b5a
.travis.yml
.travis.yml
YAML
<|file_sep|>app/routes/dashboard/session-manager/session/entries/new.js.diff original: 'appearances': [], updated: <|file_sep|>original/app/routes/dashboard/session-manager/session/entries/new.js import Route from '@ember/routing/route'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated...
import Route from '@ember/routing/route'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; export default Route.extend(AuthenticatedRouteMixin, { model() { return this.get('store').createRecord('entry', { 'isEvaluation': true, 'isPrivate': false, 'sessio...
<|file_sep|>app/routes/dashboard/session-manager/session/entries/new.js.diff original: 'appearances': [], updated: <|file_sep|>original/app/routes/dashboard/session-manager/session/entries/new.js import Route from '@ember/routing/route'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated...
e963fda9f831bff4f559b2db731d04e591e51c50
app/routes/dashboard/session-manager/session/entries/new.js
app/routes/dashboard/session-manager/session/entries/new.js
JavaScript
<|file_sep|>original/spec/dummy/config/routes.rb Rails.application.routes.draw do mount G5Authenticatable::Engine => '/g5_auth' resource :home, only: [:index, :show] match '/protected_page', to: 'home#show', as: :protected_page root to: 'home#index' end <|file_sep|>current/spec/dummy/config/routes.rb Rails....
Rails.application.routes.draw do mount G5Authenticatable::Engine => '/g5_auth' resource :home, only: [:index, :show] get '/protected_page', to: 'home#show', as: :protected_page root to: 'home#index' end
<|file_sep|>original/spec/dummy/config/routes.rb Rails.application.routes.draw do mount G5Authenticatable::Engine => '/g5_auth' resource :home, only: [:index, :show] match '/protected_page', to: 'home#show', as: :protected_page root to: 'home#index' end <|file_sep|>current/spec/dummy/config/routes.rb Rails....
ed639665105f07f33808cbac485501a0a505aea1
spec/dummy/config/routes.rb
spec/dummy/config/routes.rb
Ruby
<|file_sep|>author/urls.py.diff original: updated: from django.contrib.contenttypes.models import ContentType from django.contrib.auth.models import Permission <|file_sep|>author/urls.py.diff original: updated: from django.contrib.auth.decorators import permission_required <|file_sep|>author/urls.py.diff original: u...
if function is None: return actual_decorator(login_required) return actual_decorator(login_required(function)) urlpatterns = patterns( '', url(r'^$', RedirectView.as_view(url=reverse_lazy('author-login'), permanent=False)), url(r'^login/$', log...
<|file_sep|>author/urls.py.diff original: updated: from django.contrib.contenttypes.models import ContentType from django.contrib.auth.models import Permission <|file_sep|>author/urls.py.diff original: updated: from django.contrib.auth.decorators import permission_required <|file_sep|>author/urls.py.diff original: u...
6de1eb3e3279af6fa09ddafd0e220becac7edf21
author/urls.py
author/urls.py
Python
<|file_sep|>original/src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java <|file_sep|>current/src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java <|file_sep|>updated/src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java
/* * Copyright 2016-2019 Talsma ICT * * 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 agr...
<|file_sep|>original/src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java <|file_sep|>current/src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java <|file_sep|>updated/src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java /* * Copyright 2016-2019 Talsma ICT * * Licensed under the Apa...
e4fc78c905f6812eec9c31c6a7c8ff9473ffce8f
src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java
src/main/java/nl/talsmasoftware/umldoclet/uml/package-info.java
Java
<|file_sep|>original/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md # Why are unbound version constraints a bad idea? A version constraint without an upper bound such as `*`, `>=3.4` or `dev-master` will allow updates to any future version of the dependency. This includes major versions breaking backward c...
# Why are unbound version constraints a bad idea? A version constraint without an upper bound such as `*`, `>=3.4` or `dev-master` will allow updates to any future version of the dependency. This includes major versions breaking backward compatibility. Once a release of your package is tagged, you cannot tweak its de...
<|file_sep|>original/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md # Why are unbound version constraints a bad idea? A version constraint without an upper bound such as `*`, `>=3.4` or `dev-master` will allow updates to any future version of the dependency. This includes major versions breaking backward c...
567497ae9f181bf1ba0bddc649fc7d86b6b13dd5
doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md
doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md
Markdown
<|file_sep|>original/webpack.config.js var resolve = require("path").resolve; var webpack = require("webpack"); module.exports = { mode: "production", entry: ["regenerator-runtime/runtime", resolve(__dirname, "src/web.js")], devtool: "source-map", output: { path: resolve(__dirname, "build"), filename: ...
var resolve = require("path").resolve; var webpack = require("webpack"); module.exports = { mode: "production", entry: ["regenerator-runtime/runtime", resolve(__dirname, "src/web.js")], devtool: "source-map", output: { path: resolve(__dirname, "build"), filename: "web.js", library: { name: "arangoj...
<|file_sep|>original/webpack.config.js var resolve = require("path").resolve; var webpack = require("webpack"); module.exports = { mode: "production", entry: ["regenerator-runtime/runtime", resolve(__dirname, "src/web.js")], devtool: "source-map", output: { path: resolve(__dirname, "build"), filename: ...
e5ccf0ad46c242f382837685acc351d7e40a3d54
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/tests/cython/README.md HOWTO run these tests by hand: ------------------------------ You need to set up the PYTHON path: export PYTHONPATH=${PROJECT_BINARY_DIR}/opencog/cython or, if installed: export PYTHONPATH=/usr/local/share/opencog/python:${PYTHON} For example: export PYTHONPATH=build/openc...
HOWTO run these tests by hand: ------------------------------ You need to set up the PYTHON path: export PYTHONPATH=${PROJECT_BINARY_DIR}/opencog/cython or, if installed: export PYTHONPATH=/usr/local/python3.5/dist-packages/opencog:${PYTHON} For example: export PYTHONPATH=build/opencog/cython Then: nosetests -vs ....
<|file_sep|>original/tests/cython/README.md HOWTO run these tests by hand: ------------------------------ You need to set up the PYTHON path: export PYTHONPATH=${PROJECT_BINARY_DIR}/opencog/cython or, if installed: export PYTHONPATH=/usr/local/share/opencog/python:${PYTHON} For example: export PYTHONPATH=build/openc...
1af073dad9a90c8a77f124d299150a2aa59e3e72
tests/cython/README.md
tests/cython/README.md
Markdown
<|file_sep|>original/.github/config.yml # Configuration for welcome - https://github.com/behaviorbot/welcome # Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome # Comment to be posted to on first time issues newIssueWelcomeComment: > Hello! Thank you for opening your first issu...
# Configuration for welcome - https://github.com/behaviorbot/welcome # Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome # Comment to be posted to on first time issues newIssueWelcomeComment: > Hello! Thank you for opening your first issue in this repo. It’s people like you wh...
<|file_sep|>original/.github/config.yml # Configuration for welcome - https://github.com/behaviorbot/welcome # Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome # Comment to be posted to on first time issues newIssueWelcomeComment: > Hello! Thank you for opening your first issu...
458804c51c1d335f7cdae916b46e109c9fda4bad
.github/config.yml
.github/config.yml
YAML
<|file_sep|>original/Cargo.toml gtk-sys = "0.2.1" cairo-rs = "0.0.7" fern = "0.3.5" log = "0.3.5" rand = "0.3.12" search-graph = { git = "https://github.com/dstu/search-graph.git", branch = "master" } [profile.dev] opt-level = 3 debug = true rpath = false lto = false debug-assertions = false [[bin]] name = "console"...
gtk-sys = "0.2.1" cairo-rs = "0.0.7" fern = "0.3.5" log = "0.3.5" rand = "0.3.12" search-graph = { git = "https://github.com/dstu/search-graph.git", branch = "master" } [[bin]] name = "console" # [[bin]] # name = "gtk" # [[bin]] # name = "board_to_image" [[bin]] name = "console_mcts" [[bin]] name = "gtk_mcts"
<|file_sep|>original/Cargo.toml gtk-sys = "0.2.1" cairo-rs = "0.0.7" fern = "0.3.5" log = "0.3.5" rand = "0.3.12" search-graph = { git = "https://github.com/dstu/search-graph.git", branch = "master" } [profile.dev] opt-level = 3 debug = true rpath = false lto = false debug-assertions = false [[bin]] name = "console"...
e165867d91f2cbcb350741f5f76be2a656a489fd
Cargo.toml
Cargo.toml
TOML
<|file_sep|>server/config/paths.js.diff original: const http = require('http'); updated: const path = require('path'); <|file_sep|>original/server/config/paths.js const http = require('http'); const createPath = filePath => http.resolve(__dirname, '..', filePath); const paths = { indexHtml: createPath('server/publi...
const path = require('path'); const createPath = filePath => path.resolve(__dirname, '..', filePath); const paths = { indexHtml: createPath('server/public/index.html'), publicDir: createPath('server/public'), }; module.exports = paths;
<|file_sep|>server/config/paths.js.diff original: const http = require('http'); updated: const path = require('path'); <|file_sep|>original/server/config/paths.js const http = require('http'); const createPath = filePath => http.resolve(__dirname, '..', filePath); const paths = { indexHtml: createPath('server/publi...
6a4c7c89d8dac192d4375d2745dcadb33abad190
server/config/paths.js
server/config/paths.js
JavaScript
<|file_sep|>original/spec/games_spec.rb <|file_sep|>current/spec/games_spec.rb <|file_sep|>updated/spec/games_spec.rb
require 'discordrb/games' describe Discordrb::Games do describe Discordrb::Games::Game do it 'should initialize without errors' do hash = { id: 123, name: 'Pokémon Super Mystery Dungeon', executables: [] } Discordrb::Games::Game.new(hash) end it 'should contain...
<|file_sep|>original/spec/games_spec.rb <|file_sep|>current/spec/games_spec.rb <|file_sep|>updated/spec/games_spec.rb require 'discordrb/games' describe Discordrb::Games do describe Discordrb::Games::Game do it 'should initialize without errors' do hash = { id: 123, name: 'Pokémon Super M...
2ead768d4e0082fb829dd90bec34014858c4e961
spec/games_spec.rb
spec/games_spec.rb
Ruby
<|file_sep|>original/byceps/typing.py <|file_sep|>current/byceps/typing.py <|file_sep|>updated/byceps/typing.py
""" byceps.typing ~~~~~~~~~~~~~ BYCEPS-specific type aliases for PEP 484 type hints :Copyright: 2006-2017 Jochen Kupperschmidt :License: Modified BSD, see LICENSE for details. """ from uuid import UUID UserID = UUID BrandID = str PartyID = str
<|file_sep|>original/byceps/typing.py <|file_sep|>current/byceps/typing.py <|file_sep|>updated/byceps/typing.py """ byceps.typing ~~~~~~~~~~~~~ BYCEPS-specific type aliases for PEP 484 type hints :Copyright: 2006-2017 Jochen Kupperschmidt :License: Modified BSD, see LICENSE for details. """ from uuid import UUID ...
c26498c9295ffca534d42d80d7d22e53c19822b2
byceps/typing.py
byceps/typing.py
Python
<|file_sep|>original/Cargo.toml [package] name = "mp4parse" version = "0.1.0" authors = [ "Ralph Giles <giles@mozilla.com>", "Matthew Gregan <kinetik@flim.org>", ] description = "Parser for ISO base media file format (mp4)" license = "MPL-2.0" repository = "https://github.com/mozilla/mp4parse-rust" [dependencie...
[package] name = "mp4parse" version = "0.1.1" authors = [ "Ralph Giles <giles@mozilla.com>", "Matthew Gregan <kinetik@flim.org>", ] description = "Parser for ISO base media file format (mp4)" license = "MPL-2.0" repository = "https://github.com/mozilla/mp4parse-rust" [dependencies] byteorder = "0.3.8"
<|file_sep|>original/Cargo.toml [package] name = "mp4parse" version = "0.1.0" authors = [ "Ralph Giles <giles@mozilla.com>", "Matthew Gregan <kinetik@flim.org>", ] description = "Parser for ISO base media file format (mp4)" license = "MPL-2.0" repository = "https://github.com/mozilla/mp4parse-rust" [dependencie...
8f7e4cfb87a88782325971582d5c937b3196bd70
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/tools/CMakeLists.txt macro(IDYNTREE_ADD_TOOL tool_name tool_code) add_executable(${tool_name} ${tool_code}) target_link_libraries(${tool_name} iKin idyntree-core idyntree-regressors idyntree-modelio-urdf idyntree-modelio-symoro) install(TARGETS ${tool_name} DESTINATION bin) endmacro(IDY...
macro(IDYNTREE_ADD_TOOL tool_name tool_code) add_executable(${tool_name} ${tool_code}) target_link_libraries(${tool_name} iKin idyntree-core idyntree-regressors idyntree-modelio-urdf idyntree-modelio-symoro) install(TARGETS ${tool_name} DESTINATION bin) endmacro(IDYNTREE_ADD_TOOL tool_name tool_code) get_p...
<|file_sep|>original/tools/CMakeLists.txt macro(IDYNTREE_ADD_TOOL tool_name tool_code) add_executable(${tool_name} ${tool_code}) target_link_libraries(${tool_name} iKin idyntree-core idyntree-regressors idyntree-modelio-urdf idyntree-modelio-symoro) install(TARGETS ${tool_name} DESTINATION bin) endmacro(IDY...
363b6a5448c4f3408d07174905f2d7aec5d32af8
tools/CMakeLists.txt
tools/CMakeLists.txt
Text
<|file_sep|>original/README.md # Octarine - Manage Your Electronic Component Information Octarine is an application for OS X 10.10 and later that helps to manage a collection of electronic parts: * Search [Octopart's](https://octopart.com) library of millions of parts. * Retain bookmarks to the parts you're intereste...
# Octarine - Manage Your Electronic Component Information Octarine is an application for OS X 10.10 and later that helps to manage a collection of electronic parts: * Search [Octopart's](https://octopart.com) library of millions of parts. * Retain bookmarks to the parts you're interested in. * Organize the parts as y...
<|file_sep|>original/README.md # Octarine - Manage Your Electronic Component Information Octarine is an application for OS X 10.10 and later that helps to manage a collection of electronic parts: * Search [Octopart's](https://octopart.com) library of millions of parts. * Retain bookmarks to the parts you're intereste...
afa8a04758bbd8a34eb898266bea12aa77211873
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "author": "David Worms <david@adaltas.com>", updated: "author": "David Worms <david@adaltas.com> (http://www.adaltas.com)", <|file_sep|>original/package.json { "name": "connect-coffee-script", "version": "0.1.5", "description": "Simple connect middleware to serve Coffee...
{ "name": "connect-coffee-script", "version": "0.1.5", "description": "Simple connect middleware to serve CoffeeScript files", "homepage": "https://github.com/wdavidw/node-connect-coffee-script", "author": "David Worms <david@adaltas.com> (http://www.adaltas.com)", "contributors": [ "David Worms <david@...
<|file_sep|>package.json.diff original: "author": "David Worms <david@adaltas.com>", updated: "author": "David Worms <david@adaltas.com> (http://www.adaltas.com)", <|file_sep|>original/package.json { "name": "connect-coffee-script", "version": "0.1.5", "description": "Simple connect middleware to serve Coffee...
47b5b39e9e567bf5f5eea05583436b6b772c6825
package.json
package.json
JSON
<|file_sep|>original/.travis.yml sudo: required language: node_js node_js: - "0.10" before_install: - "curl -L http://git.io/ejPSng | /bin/sh" branches: only: - master <|file_sep|>current/.travis.yml sudo: required language: node_js node_js: - "0.10" before_install: - "curl -L http://git.io/ejPSng | /bin/...
sudo: required language: node_js node_js: - "0.12" - "0.11" - "0.10" before_install: - "curl -L http://git.io/ejPSng | /bin/sh" branches: only: - master
<|file_sep|>original/.travis.yml sudo: required language: node_js node_js: - "0.10" before_install: - "curl -L http://git.io/ejPSng | /bin/sh" branches: only: - master <|file_sep|>current/.travis.yml sudo: required language: node_js node_js: - "0.10" before_install: - "curl -L http://git.io/ejPSng | /bin/...
3ca907889c866d939e98288f4b158f74e21ed03a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/gitlab_git/git_stats.rb class GitStats attr_accessor :repo, :ref def initialize repo, ref @repo, @ref = repo, ref end def log log = nil Grit::Git.with_timeout(15) do # Limit log to 8k commits to avoid timeout for huge projects ...
class GitStats attr_accessor :repo, :ref def initialize repo, ref @repo, @ref = repo, ref end def log log = nil Grit::Git.with_timeout(30) do # Limit log to 6k commits to avoid timeout for huge projects args = ['-6000', '--format=%aN%x0a%aE%x0a%c...
<|file_sep|>original/lib/gitlab_git/git_stats.rb class GitStats attr_accessor :repo, :ref def initialize repo, ref @repo, @ref = repo, ref end def log log = nil Grit::Git.with_timeout(15) do # Limit log to 8k commits to avoid timeout for huge projects ...
9000133ed86d9e8fd52bcd03e1ae405bb40545f0
lib/gitlab_git/git_stats.rb
lib/gitlab_git/git_stats.rb
Ruby
<|file_sep|>original/requirements/dev.txt -r test.txt -r doc.txt flake8 keyring sphinx-autobuild twine yapf <|file_sep|>current/requirements/dev.txt -r test.txt -r doc.txt flake8 keyring sphinx-autobuild twine yapf <|file_sep|>updated/requirements/dev.txt
-r test.txt -r docs.txt flake8 keyring sphinx-autobuild twine yapf
<|file_sep|>original/requirements/dev.txt -r test.txt -r doc.txt flake8 keyring sphinx-autobuild twine yapf <|file_sep|>current/requirements/dev.txt -r test.txt -r doc.txt flake8 keyring sphinx-autobuild twine yapf <|file_sep|>updated/requirements/dev.txt -r test.txt -r docs.txt flake8 keyring sphinx-autobuild twine ya...
7c0cdbe6e52b7500ff0b3c22e5c7a687124fee37
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/package.json "repository": { "type": "git", "url": "git://github.com/bower/registry-client.git" }, "main": "Client", "engines": { "node": ">=0.8.0" }, "dependencies": { "async": "~0.2.8", "bower-config": "~0.4.3", "graceful-fs": "~2.0.0", "lru-cache": "~2.3.0...
"repository": { "type": "git", "url": "git://github.com/bower/registry-client.git" }, "main": "Client", "engines": { "node": ">=0.8.0" }, "dependencies": { "async": "~0.2.8", "bower-config": ">=0.5.0", "graceful-fs": "~2.0.0", "lru-cache": "~2.3.0", "request": "~2.27.0", ...
<|file_sep|>original/package.json "repository": { "type": "git", "url": "git://github.com/bower/registry-client.git" }, "main": "Client", "engines": { "node": ">=0.8.0" }, "dependencies": { "async": "~0.2.8", "bower-config": "~0.4.3", "graceful-fs": "~2.0.0", "lru-cache": "~2.3.0...
986202f6e14a4485f48a354a60f21511d7b1ae61
package.json
package.json
JSON
<|file_sep|>original/src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java <|file_sep|>current/src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java <|file_sep|>updated/src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.effect.EffectPlayer; import com.elmakers.mine.bukkit.api.spell.SpellResult; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; import java.util.Colle...
<|file_sep|>original/src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java <|file_sep|>current/src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java <|file_sep|>updated/src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java package com.elmakers.mine.bukkit.action; ...
d08514072d01331577a2de3e69fd831387015fb9
src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java
src/main/java/com/elmakers/mine/bukkit/action/BaseProjectileAction.java
Java
<|file_sep|>original/.travis.yml language: node_js env: - ASCIIDOCTOR_CORE_VERSION=v1.5.5 - ASCIIDOCTOR_CORE_VERSION=v1.5.6 - ASCIIDOCTOR_CORE_VERSION=master node_js: - '4' - '6' - node jdk: - oraclejdk8 script: - npm run lint - npm run package - npm run docs - SKIP_BUILD=1 npm run examples <|file_sep|>current/.tr...
language: node_js env: - ASCIIDOCTOR_CORE_VERSION=v1.5.5 - ASCIIDOCTOR_CORE_VERSION=v1.5.6.1 - ASCIIDOCTOR_CORE_VERSION=master node_js: - '4' - '6' - node jdk: - oraclejdk8 script: - npm run lint - npm run package - npm run docs - SKIP_BUILD=1 npm run examples
<|file_sep|>original/.travis.yml language: node_js env: - ASCIIDOCTOR_CORE_VERSION=v1.5.5 - ASCIIDOCTOR_CORE_VERSION=v1.5.6 - ASCIIDOCTOR_CORE_VERSION=master node_js: - '4' - '6' - node jdk: - oraclejdk8 script: - npm run lint - npm run package - npm run docs - SKIP_BUILD=1 npm run examples <|file_sep|>current/.tr...
90b0acbab68a0109cc0bd80094f41fe00444227a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/vendor/refinerycms/core/public/javascripts/refinery/core.js $(document).ready(function(){ // focus first field in an admin form. $('form input[type=text]:first').focus(); init_flash_messages(); }); init_flash_messages = function(){ $('#flash').hide().css('visibility', null).fadeIn(550); ...
$(document).ready(function(){ // focus first field in an admin form. $('form input[type=text]:first').focus(); init_flash_messages(); }); init_flash_messages = function(){ $('#flash').hide().css('visibility', '').fadeIn(550); $('#flash_close').click(function(e) { $('#flash').fadeOut({duration: 330}); ...
<|file_sep|>original/vendor/refinerycms/core/public/javascripts/refinery/core.js $(document).ready(function(){ // focus first field in an admin form. $('form input[type=text]:first').focus(); init_flash_messages(); }); init_flash_messages = function(){ $('#flash').hide().css('visibility', null).fadeIn(550); ...
8ef003e14952dafcdcee2a68111f425cf30a3ee1
vendor/refinerycms/core/public/javascripts/refinery/core.js
vendor/refinerycms/core/public/javascripts/refinery/core.js
JavaScript
<|file_sep|>original/map/src/styles/common/_base.scss @include border-box-sizing; h1 { font-size: 22px; line-height: 1.2; font-weight: bold; } h2 { font-size: 22px; line-height: 1.2; margin: 0; padding: 1em 0 0 0; } h3, h4 { font-size: 16px; } nav { <|file_sep|>current/map/src/styles/common/_base.sc...
*, *:before, *:after { box-sizing: border-box; } h1 { font-size: 22px; line-height: 1.2; font-weight: bold; } h2 { font-size: 22px; line-height: 1.2; margin: 0; padding: 1em 0 0 0; } h3, h4 {
<|file_sep|>original/map/src/styles/common/_base.scss @include border-box-sizing; h1 { font-size: 22px; line-height: 1.2; font-weight: bold; } h2 { font-size: 22px; line-height: 1.2; margin: 0; padding: 1em 0 0 0; } h3, h4 { font-size: 16px; } nav { <|file_sep|>current/map/src/styles/common/_base.sc...
83ffbf093c042167d5e13b241072d68a239fd2a0
map/src/styles/common/_base.scss
map/src/styles/common/_base.scss
SCSS
<|file_sep|>original/pmg/templates/saved_search_alert.html <p> We found <b>{{ results|length }} newly updated item{% if results|length > 0 %}s{% endif %}</b> for your search <a href="{{ search.url(_external=True) }}">{{ search.search }}</a>{% if search.content_type %} in {{ search.friendly_content_type }}{% endif %}: ...
<p> We found <b>{{ results|length }} newly updated item{% if results|length > 0 %}s{% endif %}</b> for your search <a href="{{ search.url(_external=True) }}">{{ search.search }}</a>{% if search.content_type %} in {{ search.friendly_content_type }}{% endif %}: </p> <ul> {% for result in results %} <li style="padding...
<|file_sep|>original/pmg/templates/saved_search_alert.html <p> We found <b>{{ results|length }} newly updated item{% if results|length > 0 %}s{% endif %}</b> for your search <a href="{{ search.url(_external=True) }}">{{ search.search }}</a>{% if search.content_type %} in {{ search.friendly_content_type }}{% endif %}: ...
3ec46975cdd5ad2a0422ef4bd3d8e1b4165194c4
pmg/templates/saved_search_alert.html
pmg/templates/saved_search_alert.html
HTML
<|file_sep|>original/app/components/theme-select/template.hbs <div class="form-group clearfix m-b-lg"> <label class="control-label " for="info-theme-select"> Select a Theme </label> <div class="theme-block p-sm"> {{#each themes as |theme|}} <div class="theme-box" style="backgroun...
<div class="form-group clearfix m-b-lg"> <label class="control-label " for="info-theme-select"> Select a Theme </label> <div class="theme-block p-sm"> {{#each themes as |theme|}} <div class="theme-box {{if (eq theme currentTheme) 'selected'}}" style="background:{{theme.background...
<|file_sep|>original/app/components/theme-select/template.hbs <div class="form-group clearfix m-b-lg"> <label class="control-label " for="info-theme-select"> Select a Theme </label> <div class="theme-block p-sm"> {{#each themes as |theme|}} <div class="theme-box" style="backgroun...
4ca2ea2773d7cb867e81a1348bef193826261a12
app/components/theme-select/template.hbs
app/components/theme-select/template.hbs
Handlebars
<|file_sep|>original/.github/workflows/UnitTests.yml <|file_sep|>current/.github/workflows/UnitTests.yml <|file_sep|>updated/.github/workflows/UnitTests.yml
name: UnitTests on: push: branches: - master jobs: test_on_macos: runs-on: macos-latest steps: - uses: actions/checkout@v2 - name: Build run: swift build - name: Test run: swift test test_on_linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 ...
<|file_sep|>original/.github/workflows/UnitTests.yml <|file_sep|>current/.github/workflows/UnitTests.yml <|file_sep|>updated/.github/workflows/UnitTests.yml name: UnitTests on: push: branches: - master jobs: test_on_macos: runs-on: macos-latest steps: - uses: actions/checkout@v2 - name...
ef67d4942ee694ab5732c5757032accacd107f62
.github/workflows/UnitTests.yml
.github/workflows/UnitTests.yml
YAML
<|file_sep|>Array/Validator/ArrayValidator.sh.diff original: updated: include Comparator/Comparator.sh <|file_sep|>original/Array/Validator/ArrayValidator.sh include Array/Util/ArrayUtil.sh ArrayValidator(){ hasUniqueEntry(){ local tempArray=($(ArrayUtil flipArray $@)) entry=${tempArray[0]} array=(${tempArray...
include Array/Util/ArrayUtil.sh include Comparator/Comparator.sh ArrayValidator(){ hasEntry(){ local flip=($(ArrayUtil flipArray $@)) entry=${flip[0]} array=(${flip[@]:1}) for a in ${array[@]}; do if [[ $(Comparator isEqual ${a} ${entry}) ]]; then echo true break fi done } hasUniqueEntry(...
<|file_sep|>Array/Validator/ArrayValidator.sh.diff original: updated: include Comparator/Comparator.sh <|file_sep|>original/Array/Validator/ArrayValidator.sh include Array/Util/ArrayUtil.sh ArrayValidator(){ hasUniqueEntry(){ local tempArray=($(ArrayUtil flipArray $@)) entry=${tempArray[0]} array=(${tempArray...
6fe3def91a3b792e40b0b81a29457a44b0b006a7
Array/Validator/ArrayValidator.sh
Array/Validator/ArrayValidator.sh
Shell
<|file_sep|>original/app/controllers/matrices_controller.rb def new # Get a list of kinds currently in the collection @kinds = helpers.kind_list # Add an option for an "Other" kind if the submission is really different @kinds.push("Other") end def submit # Verify the reCaptcha if verify...
def new # Get a list of kinds currently in the collection @kinds = helpers.kind_list # Add an option for an "Other" kind if the submission is really different @kinds.push("Other") end def submit # Verify the reCaptcha if verify_recaptcha flash[:notice] = "Matrix submitted successf...
<|file_sep|>original/app/controllers/matrices_controller.rb def new # Get a list of kinds currently in the collection @kinds = helpers.kind_list # Add an option for an "Other" kind if the submission is really different @kinds.push("Other") end def submit # Verify the reCaptcha if verify...
0efebea997c354a44d736aeee21186f583603a21
app/controllers/matrices_controller.rb
app/controllers/matrices_controller.rb
Ruby
<|file_sep|>README.md.diff original: ### Setup updated: ## Setup <|file_sep|>README.md.diff original: 1. Get the code updated: 1. Get the code: <|file_sep|>README.md.diff original: `% git clone https://github.com/thoughtbot/bourbon.io.git` updated: ``` git clone https://github.com/thoughtbot/bourbon.io.git ``` ...
1. Run the app: ``` bundle exec middleman ``` ``` open http://localhost:4567 ``` ## Available Rake tasks `% rake generate` or just `rake` This task generates documentation (as a new JSON file, for example: `data/bourbon_5_0_0.json`) for the gem version specified in the `Gemfile`. `% rake generate...
<|file_sep|>README.md.diff original: ### Setup updated: ## Setup <|file_sep|>README.md.diff original: 1. Get the code updated: 1. Get the code: <|file_sep|>README.md.diff original: `% git clone https://github.com/thoughtbot/bourbon.io.git` updated: ``` git clone https://github.com/thoughtbot/bourbon.io.git ``` ...
8bc2cd175415efde1296dc90b4b5e826b99beb7f
README.md
README.md
Markdown
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14...
#!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14.1%2B1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.1...
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u322-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u322b06.tar.gz" ;; java11) echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.14...
5932a395dbc3cebb8d2ea87de64ebdcdb05734c4
ci/images/get-jdk-url.sh
ci/images/get-jdk-url.sh
Shell
<|file_sep|>original/tests/Instances/Data/Dynamic.hs {-# OPTIONS_GHC -fno-warn-orphans #-} {-| Module: Instances.Data.Dynamic Copyright: (C) 2014-2015 Ryan Scott License: BSD-style (see the file LICENSE) Maintainer: Ryan Scott Stability: Experimental Portability: GHC 'Arbitrary' instance for 'Dynamic'. ...
{-| Module: Instances.Data.Dynamic Copyright: (C) 2014-2015 Ryan Scott License: BSD-style (see the file LICENSE) Maintainer: Ryan Scott Stability: Experimental Portability: GHC 'Arbitrary' instance for 'Dynamic'. -} module Instances.Data.Dynamic () where import Data.Dynamic (Dynamic, toDyn) import Prel...
<|file_sep|>original/tests/Instances/Data/Dynamic.hs {-# OPTIONS_GHC -fno-warn-orphans #-} {-| Module: Instances.Data.Dynamic Copyright: (C) 2014-2015 Ryan Scott License: BSD-style (see the file LICENSE) Maintainer: Ryan Scott Stability: Experimental Portability: GHC 'Arbitrary' instance for 'Dynamic'. ...
4f311600677819a3c741d0d29784c5c64505cc78
tests/Instances/Data/Dynamic.hs
tests/Instances/Data/Dynamic.hs
Haskell
<|file_sep|>nodejs/views/accounts/edit.jade.diff original: tr updated: tr.admin <|file_sep|>original/nodejs/views/accounts/edit.jade tr th.top_aligned label(for='domains') Domains .note one per line td textarea#domains(name='domains')= w.account.domains.join("\n") - if(w.user.doc.is_admin())...
tr th.top_aligned label(for='domains') Domains .note one per line td textarea#domains(name='domains')= w.account.domains.join("\n") - if(w.user.doc.is_admin()) tr.admin th.top_aligned label(for='role') Role td select#role(name='role') - for(var role in w.roles) op...
<|file_sep|>nodejs/views/accounts/edit.jade.diff original: tr updated: tr.admin <|file_sep|>original/nodejs/views/accounts/edit.jade tr th.top_aligned label(for='domains') Domains .note one per line td textarea#domains(name='domains')= w.account.domains.join("\n") - if(w.user.doc.is_admin())...
6877607af0f9fffb5c4c06d8dcd0af954b9c7027
nodejs/views/accounts/edit.jade
nodejs/views/accounts/edit.jade
Jade
<|file_sep|>original/scripts/filter_csv.py <|file_sep|>current/scripts/filter_csv.py <|file_sep|>updated/scripts/filter_csv.py
#!/usr/bin/env python3 import os import sys import logging import csv import argparse from signal import signal, SIGPIPE, SIG_DFL logger = logging.getLogger() signal(SIGPIPE, SIG_DFL) def unidentified_states(item): value = item.get('State', None) return (value is None or (len(value) > 2 and value.strip() !=...
<|file_sep|>original/scripts/filter_csv.py <|file_sep|>current/scripts/filter_csv.py <|file_sep|>updated/scripts/filter_csv.py #!/usr/bin/env python3 import os import sys import logging import csv import argparse from signal import signal, SIGPIPE, SIG_DFL logger = logging.getLogger() signal(SIGPIPE, SIG_DFL) def...
cf1d9fceb5b929a9f96acf7d0dca270109659e84
scripts/filter_csv.py
scripts/filter_csv.py
Python
<|file_sep|>original/views/index.erb <h2>Welcome to Pizza Shop</h2> <button class="btn btn-primary btn-lg">Click me</button> <|file_sep|>current/views/index.erb <h2>Welcome to Pizza Shop</h2> <button class="btn btn-primary btn-lg">Click me</button> <|file_sep|>updated/views/index.erb
<h2>Welcome to Pizza Shop</h2> <button class="btn btn-primary btn-lg" onclick="something()">Click me</button> <script> function something() { alert('Hello!'); } </script>
<|file_sep|>original/views/index.erb <h2>Welcome to Pizza Shop</h2> <button class="btn btn-primary btn-lg">Click me</button> <|file_sep|>current/views/index.erb <h2>Welcome to Pizza Shop</h2> <button class="btn btn-primary btn-lg">Click me</button> <|file_sep|>updated/views/index.erb <h2>Welcome to Pizza Shop</h2> <but...
85c0d9c7f380b1ba4d4fb72696bc165e5793965b
views/index.erb
views/index.erb
HTML+ERB
<|file_sep|>original/src/components/views/elements/CreateRoomButton.js limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const CreateRoomButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); r...
limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const CreateRoomButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( <ActionButton action="view_create_chat" lab...
<|file_sep|>original/src/components/views/elements/CreateRoomButton.js limitations under the License. */ import React from 'react'; import sdk from '../../../index'; import PropTypes from 'prop-types'; const CreateRoomButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); r...
d06bd3cf9dbe3faf6ef399130953f51a42260c4e
src/components/views/elements/CreateRoomButton.js
src/components/views/elements/CreateRoomButton.js
JavaScript
<|file_sep|>original/spec/spec_helper.rb # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} DatabaseCleaner.orm = :mongoid RSpec.configure do |config| config.mock_with :rspec config.before(:suite) do DatabaseCleaner.strategy = :truncation Databa...
DatabaseCleaner.strategy = :truncation DatabaseCleaner.clean_with(:truncation) end config.before(:each) do DatabaseCleaner.start end config.after(:each) do DatabaseCleaner.clean end end # def puts(*args) # super(caller.join("\n")) # super(args) # end # # def p(*args) # puts caller.jo...
<|file_sep|>original/spec/spec_helper.rb # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} DatabaseCleaner.orm = :mongoid RSpec.configure do |config| config.mock_with :rspec config.before(:suite) do DatabaseCleaner.strategy = :truncation Databa...
c6cb4227a3477fe5140b6b57005ed04f2b213e81
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/README.md WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> [![Build Status][travis_img]][travis_link] [![Maven Central][maven_img]][maven_link] gnome-keyring-java =...
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> [![Build Status][travis_img]][travis_link] [![Maven Central][maven_img]][maven_link] gnome-keyring-java ================== A Java libra...
<|file_sep|>original/README.md WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> [![Build Status][travis_img]][travis_link] [![Maven Central][maven_img]][maven_link] gnome-keyring-java =...
21231160f4f5a886f2e591db29194b68826d3c79
README.md
README.md
Markdown
<|file_sep|>original/_config.yml # visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings paginate: 10 # pagination based on number of posts paginate_path: "page:num" highlighter: rouge name: "[ antoinealb.net ]" description: A blog about robotics, embedded software and Linux author: name: An...
# visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings paginate: 10 # pagination based on number of posts paginate_path: "page:num" highlighter: rouge name: "[ antoinealb.net ]" description: A blog about robotics, embedded software and Linux. Also doubles as my personal wiki author: name: A...
<|file_sep|>original/_config.yml # visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings paginate: 10 # pagination based on number of posts paginate_path: "page:num" highlighter: rouge name: "[ antoinealb.net ]" description: A blog about robotics, embedded software and Linux author: name: An...
a7711f6e2d1595d5e427aa80f1ca9ba87a698f48
_config.yml
_config.yml
YAML
<|file_sep|>original/test/models/inclusion_test.rb # Encoding: utf-8 require 'test_helper' class InclusionTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end <|file_sep|>current/test/models/inclusion_test.rb # Encoding: utf-8 require 'test_helper' class InclusionTest < ActiveSupport::...
# Encoding: utf-8 require 'test_helper' # Test inclusion model class InclusionTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
<|file_sep|>original/test/models/inclusion_test.rb # Encoding: utf-8 require 'test_helper' class InclusionTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end <|file_sep|>current/test/models/inclusion_test.rb # Encoding: utf-8 require 'test_helper' class InclusionTest < ActiveSupport::...
5889f359e2daba07aeb4f626a3d5980f62e64acc
test/models/inclusion_test.rb
test/models/inclusion_test.rb
Ruby
<|file_sep|>bin/run-crawler.sh.diff original: # inject seeds into Elasticsearch $STORMCRAWLER com.digitalpebble.stormcrawler.elasticsearch.ESSeedInjector \ $PWD/seeds '*' -conf $PWD/conf/es-conf.yaml -conf $PWD/conf/crawler-conf.yaml # alternatively running the flux #$STORMCRAWLER org.apache.storm.flux.Flux --remote $...
cd $HOME/news-crawler/ # initialize Elasticsearch indices # CAVEAT: this deletes existing indices! bin/ES_IndexInit.sh sleep 10 STORMCRAWLER="storm jar $PWD/lib/crawler.jar" # run the crawler $STORMCRAWLER org.commoncrawl.stormcrawler.news.CrawlTopology \ $PWD/seeds '*' -conf $PWD/conf/es-conf.yaml -conf $PWD/conf...
<|file_sep|>bin/run-crawler.sh.diff original: # inject seeds into Elasticsearch $STORMCRAWLER com.digitalpebble.stormcrawler.elasticsearch.ESSeedInjector \ $PWD/seeds '*' -conf $PWD/conf/es-conf.yaml -conf $PWD/conf/crawler-conf.yaml # alternatively running the flux #$STORMCRAWLER org.apache.storm.flux.Flux --remote $...
7281e857fb40c4f43218ef19d3bf96661b881c34
bin/run-crawler.sh
bin/run-crawler.sh
Shell
<|file_sep|>packages/gh/ghc-api-compat.yaml.diff original: hash: cde370b1b4c8a090de1ba6a8e27f65def9af43ca88710b412a6545b876568626 updated: hash: c7f56849665ab1a02e0cd2c8b1d6e539fe3930cbf3c9dce511e3189ce8e15fad <|file_sep|>packages/gh/ghc-api-compat.yaml.diff original: ghc: ==8.10.5 || ==8.10.6 updated: ghc: ==8.10....
changelog-type: '' hash: c7f56849665ab1a02e0cd2c8b1d6e539fe3930cbf3c9dce511e3189ce8e15fad test-bench-deps: {} maintainer: sylvain@haskus.fr synopsis: GHC-API compatibility helpers changelog: '' basic-deps: ghc: ==8.10.5 || ==8.10.6 || ==8.10.7 base: <5.0 all-versions: - '8.6' - 8.10.5 - 8.10.6 - 8.10.7 author: Sylv...
<|file_sep|>packages/gh/ghc-api-compat.yaml.diff original: hash: cde370b1b4c8a090de1ba6a8e27f65def9af43ca88710b412a6545b876568626 updated: hash: c7f56849665ab1a02e0cd2c8b1d6e539fe3930cbf3c9dce511e3189ce8e15fad <|file_sep|>packages/gh/ghc-api-compat.yaml.diff original: ghc: ==8.10.5 || ==8.10.6 updated: ghc: ==8.10....
44dfd801efd5d91b29165ffb15cbd5a752c29a39
packages/gh/ghc-api-compat.yaml
packages/gh/ghc-api-compat.yaml
YAML
<|file_sep|>original/SiteWarmer/SiteWarmer.Core/Properties/AssemblyInfo.cs // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] //...
// Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed...
<|file_sep|>original/SiteWarmer/SiteWarmer.Core/Properties/AssemblyInfo.cs // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] //...
82b9d6eee5d7ff5bf318764ccef3c8d77cac5c2e
SiteWarmer/SiteWarmer.Core/Properties/AssemblyInfo.cs
SiteWarmer/SiteWarmer.Core/Properties/AssemblyInfo.cs
C#
<|file_sep|>tools/argdumper/CMakeLists.txt.diff original: updated: if(NOT LLDB_EXPORT_ALL_SYMBOLS) # if liblldb does not export everything we need to directly link these two # lldb libraries for lldb_private members set(extra_lldb_libs lldbCore lldbUtility) endif() <|file_sep|>original/tools/argdumper/CMakeList...
include(${LLDB_PROJECT_ROOT}/cmake/LLDBDependencies.cmake) if(NOT LLDB_EXPORT_ALL_SYMBOLS) # if liblldb does not export everything we need to directly link these two # lldb libraries for lldb_private members set(extra_lldb_libs lldbCore lldbUtility) endif() add_lldb_tool(lldb-argdumper INCLUDE_IN_FRAMEWORK ar...
<|file_sep|>tools/argdumper/CMakeLists.txt.diff original: updated: if(NOT LLDB_EXPORT_ALL_SYMBOLS) # if liblldb does not export everything we need to directly link these two # lldb libraries for lldb_private members set(extra_lldb_libs lldbCore lldbUtility) endif() <|file_sep|>original/tools/argdumper/CMakeList...
dafc67960e7a9d8586f9ab272545d651d14bbccd
tools/argdumper/CMakeLists.txt
tools/argdumper/CMakeLists.txt
Text
<|file_sep|>original/src/test/ui/async-await/issues/issue-61986.rs <|file_sep|>current/src/test/ui/async-await/issues/issue-61986.rs <|file_sep|>updated/src/test/ui/async-await/issues/issue-61986.rs
// compile-pass // edition:2018 // // Tests that we properly handle StorageDead/StorageLives for temporaries // created in async loop bodies. #![feature(async_await)] async fn bar() -> Option<()> { Some(()) } async fn listen() { while let Some(_) = bar().await { String::new(); } } fn main() { ...
<|file_sep|>original/src/test/ui/async-await/issues/issue-61986.rs <|file_sep|>current/src/test/ui/async-await/issues/issue-61986.rs <|file_sep|>updated/src/test/ui/async-await/issues/issue-61986.rs // compile-pass // edition:2018 // // Tests that we properly handle StorageDead/StorageLives for temporaries // created...
72ca844ca7d9debbb849eb3aa16c5c4df14d1293
src/test/ui/async-await/issues/issue-61986.rs
src/test/ui/async-await/issues/issue-61986.rs
Rust
<|file_sep|>original/requirements_dev.txt pip==19.3.1 bumpversion==0.5.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.9 tox==3.14.1 coverage==4.5.4 Sphinx==2.2.1 cryptography==2.8 PyYAML==5.1.2 pytest==5.3.0 pytest-runner==5.2 vcrpy==2.1.1 twine==2.0.0 <|file_sep|>current/requirements_dev.txt pip==19.3.1 bumpversion==0.5....
pip==19.3.1 bumpversion==0.5.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.9 tox==3.14.1 coverage==4.5.4 Sphinx==2.2.1 cryptography==2.8 PyYAML==5.1.2 pytest==5.3.1 pytest-runner==5.2 vcrpy==2.1.1 twine==2.0.0
<|file_sep|>original/requirements_dev.txt pip==19.3.1 bumpversion==0.5.3 wheel==0.33.6 watchdog==0.9.0 flake8==3.7.9 tox==3.14.1 coverage==4.5.4 Sphinx==2.2.1 cryptography==2.8 PyYAML==5.1.2 pytest==5.3.0 pytest-runner==5.2 vcrpy==2.1.1 twine==2.0.0 <|file_sep|>current/requirements_dev.txt pip==19.3.1 bumpversion==0.5....
557b7b9545489892bba371c62d534bbbe6c728c6
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/examples/eventhandler.rb <|file_sep|>current/examples/eventhandler.rb <|file_sep|>updated/examples/eventhandler.rb
class MyHandler def on_send_request_hdr puts 'on_send_request_hdr' c = ATS::Connection.new puts c.remote_ip end def on_read_response_hdr puts 'on_read_response_hdr' c = ATS::Connection.new puts c.remote_ip end def on_send_response_hdr puts 'on_send_response_hdr' c = ATS::Con...
<|file_sep|>original/examples/eventhandler.rb <|file_sep|>current/examples/eventhandler.rb <|file_sep|>updated/examples/eventhandler.rb class MyHandler def on_send_request_hdr puts 'on_send_request_hdr' c = ATS::Connection.new puts c.remote_ip end def on_read_response_hdr puts 'on_read_respons...
98dacd8097e3f083dfc414f11ad693eb46030b3a
examples/eventhandler.rb
examples/eventhandler.rb
Ruby
<|file_sep|>original/datapackage_pipelines_fiscal/processors/upload.py import tempfile from datapackage_pipelines.wrapper import ingest, spew import gobble params, datapackage, res_iter = ingest() spew(datapackage, res_iter) user = gobble.user.User() in_filename = open(params['in-file'], 'rb') in_file = zipfile.Zi...
import tempfile from datapackage_pipelines.wrapper import ingest, spew import gobble params, datapackage, res_iter = ingest() spew(datapackage, res_iter) user = gobble.user.User() in_filename = open(params['in-file'], 'rb') in_file = zipfile.ZipFile(in_filename) temp_dir = tempfile.mkdtemp() for name in in_file.na...
<|file_sep|>original/datapackage_pipelines_fiscal/processors/upload.py import tempfile from datapackage_pipelines.wrapper import ingest, spew import gobble params, datapackage, res_iter = ingest() spew(datapackage, res_iter) user = gobble.user.User() in_filename = open(params['in-file'], 'rb') in_file = zipfile.Zi...
94351ce09112c7bd4c9ed58722334ee48fe99883
datapackage_pipelines_fiscal/processors/upload.py
datapackage_pipelines_fiscal/processors/upload.py
Python
<|file_sep|>original/app/lint.xml <|file_sep|>current/app/lint.xml <|file_sep|>updated/app/lint.xml
<?xml version="1.0" encoding="UTF-8"?> <lint> <issue id="InvalidPackage"> <ignore regexp="okio-1.6.0.jar" /> <ignore regexp="retrofit-2.0.0-beta2.jar" /> </issue> </lint>
<|file_sep|>original/app/lint.xml <|file_sep|>current/app/lint.xml <|file_sep|>updated/app/lint.xml <?xml version="1.0" encoding="UTF-8"?> <lint> <issue id="InvalidPackage"> <ignore regexp="okio-1.6.0.jar" /> <ignore regexp="retrofit-2.0.0-beta2.jar" /> </issue> </lint>
959cd6867c5f1dbe243cbb3c2e275a3b9bdf5c0b
app/lint.xml
app/lint.xml
XML
<|file_sep|>original/org.springsource.ide.eclipse.commons.frameworks.core/src/org/springsource/ide/eclipse/commons/frameworks/core/workspace/ProjectDeletionListenerManager.java <|file_sep|>current/org.springsource.ide.eclipse.commons.frameworks.core/src/org/springsource/ide/eclipse/commons/frameworks/core/workspace/Pr...
/******************************************************************************* * Copyright (c) 2015 Pivotal, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
<|file_sep|>original/org.springsource.ide.eclipse.commons.frameworks.core/src/org/springsource/ide/eclipse/commons/frameworks/core/workspace/ProjectDeletionListenerManager.java <|file_sep|>current/org.springsource.ide.eclipse.commons.frameworks.core/src/org/springsource/ide/eclipse/commons/frameworks/core/workspace/Pr...
b59560e0079da9b1c692950601e20cd0cc85103f
org.springsource.ide.eclipse.commons.frameworks.core/src/org/springsource/ide/eclipse/commons/frameworks/core/workspace/ProjectDeletionListenerManager.java
org.springsource.ide.eclipse.commons.frameworks.core/src/org/springsource/ide/eclipse/commons/frameworks/core/workspace/ProjectDeletionListenerManager.java
Java
<|file_sep|>ngStorage.js.diff original: function _storageFactory(storageType){ updated: function _storageFactory(storageType) { <|file_sep|>ngStorage.js.diff original: storage = {}, updated: storage = { $clear: function() { for (var k in storage) { ...
} lastStorage = angular.copy(storage); $browser.addPollFn(function() { if (!angular.equals(storage, lastStorage)) { webStorage.clear(); angular.forEach(storage, function(v, k) { if (angular.isDefined(v) && '$clear' !== k) { ...
<|file_sep|>ngStorage.js.diff original: function _storageFactory(storageType){ updated: function _storageFactory(storageType) { <|file_sep|>ngStorage.js.diff original: storage = {}, updated: storage = { $clear: function() { for (var k in storage) { ...
67b36070e3b40218873195fd138f588c89008d5b
ngStorage.js
ngStorage.js
JavaScript
<|file_sep|>original/README.md The init task for hyper. exec ./autogen.sh to compile hyperinit <|file_sep|>current/README.md The init task for hyper. exec ./autogen.sh to compile hyperinit <|file_sep|>updated/README.md
# The init Task for Hyper You can get binary installer of Hyper and HyperStart through [The Hyper Page](https://github.com/hyperhq/hyper) ## Build from source clone this repo, and make sure have build-essentials installed. Go into the working copy and > ./autogen.sh > ./configure > make Then you can f...
<|file_sep|>original/README.md The init task for hyper. exec ./autogen.sh to compile hyperinit <|file_sep|>current/README.md The init task for hyper. exec ./autogen.sh to compile hyperinit <|file_sep|>updated/README.md # The init Task for Hyper You can get binary installer of Hyper and HyperStart through [The Hyper Pa...
377b5b89ce2e7853ee9fa36cc25dedfca0eb9d0b
README.md
README.md
Markdown
<|file_sep|>lib/tasks/encrypted_test_file_names.rake.diff original: updated: when 'test_unit' KnapsackPro::Adapters::TestUnitAdapter <|file_sep|>original/lib/tasks/encrypted_test_file_names.rake KnapsackPro::Adapters::RSpecAdapter when...
KnapsackPro::Adapters::RSpecAdapter when 'minitest' KnapsackPro::Adapters::MinitestAdapter when 'test_unit' KnapsackPro::Adapters::TestUnitAdapter when 'cucumber' KnapsackP...
<|file_sep|>lib/tasks/encrypted_test_file_names.rake.diff original: updated: when 'test_unit' KnapsackPro::Adapters::TestUnitAdapter <|file_sep|>original/lib/tasks/encrypted_test_file_names.rake KnapsackPro::Adapters::RSpecAdapter when...
6c3f36a0083b7c8733b6566960dac0cf014a0606
lib/tasks/encrypted_test_file_names.rake
lib/tasks/encrypted_test_file_names.rake
Ruby
<|file_sep|>tasks/symlink-setup.yml.diff original: # Ensure symlinks source exists befor deleting target - name: FUEL | Ensure symlinks source files exist before deleting target updated: # Ensure shared symlinks source exists befor deleting target - name: FUEL | Ensure shared symlinks source files exist before deleting...
--- # Ensure shared symlinks source exists befor deleting target - name: FUEL | Ensure shared symlinks source files exist before deleting target file: state=touch path={{ ansistrano_shared_path.stdout }}/{{ item }} with_items: fuel_shared_files # Ensure shared symlinks source exists befor deleting target - name: ...
<|file_sep|>tasks/symlink-setup.yml.diff original: # Ensure symlinks source exists befor deleting target - name: FUEL | Ensure symlinks source files exist before deleting target updated: # Ensure shared symlinks source exists befor deleting target - name: FUEL | Ensure shared symlinks source files exist before deleting...
993d31eaebd94391d46ab1ac4dfff3ea92763d63
tasks/symlink-setup.yml
tasks/symlink-setup.yml
YAML
<|file_sep|>original/developer/doctrine/schema/system_user.yml actAs: Timestampable: SoftDelete: Blameable: Sluggable: fields: [firstName, lastName] Searchable: fields: [firstName, lastName, username, email] className: SystemUserSearch relations: Roles: foreignAl...
Timestampable: SoftDelete: Blameable: Sluggable: fields: [firstName, lastName] Searchable: fields: [firstName, lastName, username, email] className: SystemUserSearch relations: Roles: foreignAlias : Users class: Role refClass: UserRole options: t...
<|file_sep|>original/developer/doctrine/schema/system_user.yml actAs: Timestampable: SoftDelete: Blameable: Sluggable: fields: [firstName, lastName] Searchable: fields: [firstName, lastName, username, email] className: SystemUserSearch relations: Roles: foreignAl...
345896e34530baf66f3daa588e8ad964775b41f1
developer/doctrine/schema/system_user.yml
developer/doctrine/schema/system_user.yml
YAML
<|file_sep|>original/requirements-tests.txt -r requirements.txt -e . ipdb==0.10.1 pytest==3.0.3 pytest-sugar == 0.5.1 <|file_sep|>current/requirements-tests.txt -r requirements.txt -e . ipdb==0.10.1 pytest==3.0.3 pytest-sugar == 0.5.1 <|file_sep|>updated/requirements-tests.txt
-r requirements.txt -e . ipdb==0.10.1 pytest==3.0.3 pytest-sugar==0.7.1
<|file_sep|>original/requirements-tests.txt -r requirements.txt -e . ipdb==0.10.1 pytest==3.0.3 pytest-sugar == 0.5.1 <|file_sep|>current/requirements-tests.txt -r requirements.txt -e . ipdb==0.10.1 pytest==3.0.3 pytest-sugar == 0.5.1 <|file_sep|>updated/requirements-tests.txt -r requirements.tx...
bcaa3bb59b765feb957506cf56c85a1de83b2958
requirements-tests.txt
requirements-tests.txt
Text
<|file_sep|>original/PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java <|file_sep|>current/PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java <|file_sep|>updated/PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java
package org.epics.pvmanager.tests; /* * Copyright 2011 Brookhaven National Laboratory * All rights reserved. Use is subject to license terms. */ import org.epics.pvmanager.PVManager; import org.epics.pvmanager.PVReader; import org.epics.pvmanager.jca.JCADataSource; import static org.epics.pvmanager.ExpressionLang...
<|file_sep|>original/PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java <|file_sep|>current/PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java <|file_sep|>updated/PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java package org.epics.pvmanager.tests; /* * Copyr...
dc414f048d881cee8a341ae5acc4c973f5880dd1
PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java
PVManager/src/test/java/org/epics/pvmanager/tests/JCALargeArrays.java
Java
<|file_sep|>packages/ya/yam-datasource.yaml.diff original: hash: c8c3f9c53f7049502d6d4092b53c6cd39d4165ade646260966e8d0de9d25a0a9 updated: hash: 368309defb3d2216040c669218582484b87389873d74fd9738e64d803b78906c <|file_sep|>packages/ya/yam-datasource.yaml.diff original: yam: ! '>=0.5.3 && <0.6' updated: yam: ! '>=0.5...
changelog: '' basic-deps: base: ! '>=4.7 && <5' persistent: ! '>=2.9.0 && <2.10' yam: ! '>=0.5.4 && <0.6' resource-pool: ! '>=0.2.3.2 && <0.3' conduit: ! '>=1.3.1 && <1.4' unliftio-core: ! '>=0.1.2.0 && <0.2' resourcet: ! '>=1.2.2 && <1.3' all-versions: - 0.5.2 - 0.5.3 - 0.5.4 author: Daniel YU latest: 0....
<|file_sep|>packages/ya/yam-datasource.yaml.diff original: hash: c8c3f9c53f7049502d6d4092b53c6cd39d4165ade646260966e8d0de9d25a0a9 updated: hash: 368309defb3d2216040c669218582484b87389873d74fd9738e64d803b78906c <|file_sep|>packages/ya/yam-datasource.yaml.diff original: yam: ! '>=0.5.3 && <0.6' updated: yam: ! '>=0.5...
0bbb8f3d88fd09a06de3859400f56768ee24a87f
packages/ya/yam-datasource.yaml
packages/ya/yam-datasource.yaml
YAML
<|file_sep|>original/requirements.txt -e git+https://github.com/amperser/proselint.git#egg=proselint -e git+https://github.com/charlierguo/gmail.git#egg=gmail APScheduler==3.5.1 bumpversion==0.5.3 click==6.7 coverage==4.5.1 coveralls==1.3.0 Flask-API==1.0 Flask-Cors==3.0.4 Flask==1.0.2 Flask-Limiter==1.0.1 future==0.16...
-e git+https://github.com/amperser/proselint.git#egg=proselint -e git+https://github.com/charlierguo/gmail.git#egg=gmail APScheduler==3.5.2 bumpversion==0.5.3 click==6.7 coverage==4.5.1 coveralls==1.3.0 Flask-API==1.0 Flask-Cors==3.0.4 Flask==1.0.2 Flask-Limiter==1.0.1 future==0.16.0 gunicorn==19.8.1 itsdangerous==0.24...
<|file_sep|>original/requirements.txt -e git+https://github.com/amperser/proselint.git#egg=proselint -e git+https://github.com/charlierguo/gmail.git#egg=gmail APScheduler==3.5.1 bumpversion==0.5.3 click==6.7 coverage==4.5.1 coveralls==1.3.0 Flask-API==1.0 Flask-Cors==3.0.4 Flask==1.0.2 Flask-Limiter==1.0.1 future==0.16...
8a18e17d8a9ff243adf5d63a4827f0d421d22c6b
requirements.txt
requirements.txt
Text
<|file_sep|>original/pgmStrToRAM.cpp #include <avr/pgmspace.h> #include <stdlib.h> char *to_print; char *pgmStrToRAM(PROGMEM char *theString) { free(to_print); to_print=(char *) malloc(strlen_P(theString) + 1); strcpy_P(to_print, theString); return (to_print); } <|file_sep|>current/pgmStrToRAM.cpp #include <avr/pg...
#include <avr/pgmspace.h> #include <stdlib.h> #include <string.h> char *to_print; char *pgmStrToRAM(PROGMEM char *theString) { free(to_print); to_print=(char *) malloc(strlen_P(theString) + 1); strcpy_P(to_print, theString); return (to_print); }
<|file_sep|>original/pgmStrToRAM.cpp #include <avr/pgmspace.h> #include <stdlib.h> char *to_print; char *pgmStrToRAM(PROGMEM char *theString) { free(to_print); to_print=(char *) malloc(strlen_P(theString) + 1); strcpy_P(to_print, theString); return (to_print); } <|file_sep|>current/pgmStrToRAM.cpp #include <avr/pg...
ac84bb8e83f8d05839c0e618778cce6940daeb44
pgmStrToRAM.cpp
pgmStrToRAM.cpp
C++
<|file_sep|>original/src/test/groovy/org/codehaus/gant/tests/GantBuilder_Test.groovy // License. package org.codehaus.gant.tests /** * A test for the <code>GantBuilder</code> class. * * @author Russel Winder <russel.winder@concertant.com> */ final class GantBuilder_Test extends GantTestCase { void testGroovy...
// License. package org.codehaus.gant.tests /** * A test for the <code>GantBuilder</code> class. * * @author Russel Winder <russel.winder@concertant.com> */ final class GantBuilder_Test extends GantTestCase { void testGroovycTaskFail ( ) { def path = '/tmp/tmp/tmp/tmp' script = """ target ( hello : '...
<|file_sep|>original/src/test/groovy/org/codehaus/gant/tests/GantBuilder_Test.groovy // License. package org.codehaus.gant.tests /** * A test for the <code>GantBuilder</code> class. * * @author Russel Winder <russel.winder@concertant.com> */ final class GantBuilder_Test extends GantTestCase { void testGroovy...
fee7600d88b57648db87be77892f326481cf6079
src/test/groovy/org/codehaus/gant/tests/GantBuilder_Test.groovy
src/test/groovy/org/codehaus/gant/tests/GantBuilder_Test.groovy
Groovy