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|>zaqar/transport/wsgi/app.py.diff
original:
updated:
from oslo_log import log
<|file_sep|>zaqar/transport/wsgi/app.py.diff
original:
updated:
log.register_options(conf)
<|file_sep|>original/zaqar/transport/wsgi/app.py
containers. For example:
$ gunicorn zaqar.transport.wsgi.app:app
NOTE: As for exter... |
NOTE: As for external containers, it is necessary
to put config files in the standard paths. There's
no common way to specify / pass configuration files
to the WSGI app when it is called from other apps.
"""
from oslo_config import cfg
from oslo_log import log
from zaqar import bootstrap
# Use the global CONF insta... | <|file_sep|>zaqar/transport/wsgi/app.py.diff
original:
updated:
from oslo_log import log
<|file_sep|>zaqar/transport/wsgi/app.py.diff
original:
updated:
log.register_options(conf)
<|file_sep|>original/zaqar/transport/wsgi/app.py
containers. For example:
$ gunicorn zaqar.transport.wsgi.app:app
NOTE: As for exter... | dfaa49b31e8abd10456761110d0cadc1b7c7640d | zaqar/transport/wsgi/app.py | zaqar/transport/wsgi/app.py | Python |
<|file_sep|>packages/ma/manifold-random.yaml.diff
original:
hash: 1dccb40e8c446573612f638c7399b383a4d70a686ff8cbc5dffb4e0d0187ab1b
updated:
hash: 3f6c1954e31086e128ffb2aeb598f97c3a87fb2ef2ece0d744536ff1e335026a
<|file_sep|>packages/ma/manifold-random.yaml.diff
original:
manifolds: ==0.5.1.0
updated:
manifolds: ==0.... | manifolds: ==0.6.0.0
random-fu: '>=0.2 && <0.3'
constrained-categories: -any
all-versions:
- 0.1.1.0
- 0.3.0.0
- 0.4.0.0
- 0.4.1.0
- 0.4.4.0
- 0.4.5.0
- 0.5.0.0
- 0.5.0.2
- 0.5.0.3
- 0.5.0.4
- 0.5.1.0
- 0.6.0.0
author: Justus Sagemüller
latest: 0.6.0.0
description-type: haddock
description: ''
license-name: GPL-3... | <|file_sep|>packages/ma/manifold-random.yaml.diff
original:
hash: 1dccb40e8c446573612f638c7399b383a4d70a686ff8cbc5dffb4e0d0187ab1b
updated:
hash: 3f6c1954e31086e128ffb2aeb598f97c3a87fb2ef2ece0d744536ff1e335026a
<|file_sep|>packages/ma/manifold-random.yaml.diff
original:
manifolds: ==0.5.1.0
updated:
manifolds: ==0.... | 2ee9cfdd689582ca133b8d8851d1bad9ae094010 | packages/ma/manifold-random.yaml | packages/ma/manifold-random.yaml | YAML |
<|file_sep|>app/views/layouts/application.html.erb.diff
original:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<%= javascript_include_tag "application" %>
updated:
<|file_sep|>or... | <title></title>
<!-- Stylesheets -->
<%= stylesheet_link_tag "application", :media => "all" %>
</head>
<body>
<!--Scripts -->
<% [:alert, :error, :notice].each do |key| %>
<% if flash[key] %>
<div class="flash flash-<%= key %>" data-alert="alert"><%= flash[key] %></div>
<% end %>
<% end %... | <|file_sep|>app/views/layouts/application.html.erb.diff
original:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<%= javascript_include_tag "application" %>
updated:
<|file_sep|>or... | 013c65b6ac811d2bcbbc201a0f51d12e6948e2df | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/tests/t0100-redo.t
cat > "b.do" <<'EOF'
#!/bin/sh -e
redo-ifchange c
[ -e "b" ] && exit 1
echo "b" | cat - c > $3
EOF
cat > "c.do" <<'EOF'
#!/bin/sh -e
redo-ifchange s
echo "c" > $3
EOF
test_expect_success "redo shortcuts" "
echo "s1" > s &&
redo a &&
echo "s2" > s &&
redo a
"
te... | echo "c" > $3
EOF
test_expect_success "redo shortcuts" "
echo "s1" > s &&
redo a &&
echo "s2" > s &&
redo a
"
cat > "nonexistant.do" << 'EOF'
#!/bin/sh -e
redo-ifchange nonexistant2
cat nonexistant2 > $3
EOF
cat > "nonexistant2.do" <<'EOF'
#!/bin/sh -e
[ -e "dir/b" ] && redo-ifchange dir/b && cat dir... | <|file_sep|>original/tests/t0100-redo.t
cat > "b.do" <<'EOF'
#!/bin/sh -e
redo-ifchange c
[ -e "b" ] && exit 1
echo "b" | cat - c > $3
EOF
cat > "c.do" <<'EOF'
#!/bin/sh -e
redo-ifchange s
echo "c" > $3
EOF
test_expect_success "redo shortcuts" "
echo "s1" > s &&
redo a &&
echo "s2" > s &&
redo a
"
te... | 966bcc06a43b8c128b5c100b5f6f635139b48389 | tests/t0100-redo.t | tests/t0100-redo.t | Perl |
<|file_sep|>RELEASING.md.diff
original:
Parity uses a set of `rake` tasks to create packages and bundles [traveling
ruby][traveling_ruby] to simplify the dependency on Ruby.
Generating packages
-------------------
Packages can be generated for the following systems:
* OSX `rake package:osx`
* Linux x86 `rake package... | Releasing
=========
1. Update the version in `lib/parity/version.rb`
1. Create a new tag based on the version number
1. Create a GitHub [release] for the latest tag
1. Update the [homebrew formula] to point to the latest GitHub release. Include
the path and the SHA.
Development Releases
====================
Updat... | <|file_sep|>RELEASING.md.diff
original:
Parity uses a set of `rake` tasks to create packages and bundles [traveling
ruby][traveling_ruby] to simplify the dependency on Ruby.
Generating packages
-------------------
Packages can be generated for the following systems:
* OSX `rake package:osx`
* Linux x86 `rake package... | 0dc1f9c0cf5fb59ffa9df592ef99734c46e7948b | RELEASING.md | RELEASING.md | Markdown |
<|file_sep|>original/parity-client/README.md
Parity Terminal Client
======================
Parity Terminal Client is a simple console application for entering orders
into Parity Trading System.
Download
--------
Download Parity Terminal Client from the [Releases][] page.
[Releases]: https://github.com/jvirtanen/... | Parity Terminal Client
======================
Parity Terminal Client is a simple console application for entering orders
into Parity Trading System.
Usage
-----
Run Parity Terminal Client with Java:
java -jar <executable> <configuration-file>
When started, the terminal client displays a command prompt:
T... | <|file_sep|>original/parity-client/README.md
Parity Terminal Client
======================
Parity Terminal Client is a simple console application for entering orders
into Parity Trading System.
Download
--------
Download Parity Terminal Client from the [Releases][] page.
[Releases]: https://github.com/jvirtanen/... | acb74cd20bf838c8d7c145152ead37540ca880f5 | parity-client/README.md | parity-client/README.md | Markdown |
<|file_sep|>original/doc/upstream-training/source/slides/howitsmade-release-cycle.rst
Exercise 2
==========
- How many milestones are there?
- What is the focus of each of the milestones?
Exercise 3
==========
- How many OpenStack releases are officially supported
by the community?
- Post the information on the I... |
Exercise 2
==========
- How many milestones are there?
- What is the focus of each of the milestones?
Exercise 3
==========
- How many OpenStack releases are currently maintained by the community?
- Post the information on the IRC channel
Exercise 4
==========
- Find some of the feature proposal freeze deadlines ... | <|file_sep|>original/doc/upstream-training/source/slides/howitsmade-release-cycle.rst
Exercise 2
==========
- How many milestones are there?
- What is the focus of each of the milestones?
Exercise 3
==========
- How many OpenStack releases are officially supported
by the community?
- Post the information on the I... | e779f320997d48f881d79af0309d4d84a9395eb8 | doc/upstream-training/source/slides/howitsmade-release-cycle.rst | doc/upstream-training/source/slides/howitsmade-release-cycle.rst | reStructuredText |
<|file_sep|>original/app/controllers/dashboard_controller.rb
class DashboardController < ApplicationController
def index
@backup_servers = BackupServer.accessible_by(current_ability).find(:all, :order => 'hostname')
@running = BackupJob.running(:include => [:servers]).select{|j| can? :read, j}
@failed = ... | class DashboardController < ApplicationController
def index
@backup_servers = BackupServer.accessible_by(current_ability).find(:all, :order => 'hostname')
@running = BackupJob.running(:include => [:servers]).select{|j| can? :read, j}
@failed = BackupJob.latest_problems(:include => [:servers]).select do |... | <|file_sep|>original/app/controllers/dashboard_controller.rb
class DashboardController < ApplicationController
def index
@backup_servers = BackupServer.accessible_by(current_ability).find(:all, :order => 'hostname')
@running = BackupJob.running(:include => [:servers]).select{|j| can? :read, j}
@failed = ... | fda8f4d8daaf54388c1dae9429365406f48fed6d | app/controllers/dashboard_controller.rb | app/controllers/dashboard_controller.rb | Ruby |
<|file_sep|>original/app/views/events/team_scoreboards/show.xml.builder
xml.instruct!
xml.EventResult do
xml.UniqueCode "skyderby-ws-performance-#{@event.id}-teams"
@team_ranking.ranking.each_with_index do |row, index|
xml.Entrant do
xml.CompetitionNo "00#{index + 1}"
xml.Name "#{row.team.name} (#{r... | xml.instruct!
xml.EventResult do
xml.UniqueCode "skyderby-ws-performance-#{@event.id}-teams"
@team_ranking.ranking.each_with_index do |row, index|
xml.Entrant do
xml.CompetitionNo "00#{index + 1}"
xml.Name row.team.name
xml.Members row.team.competitors.map(&:name).join(', ')
xml.Nation '... | <|file_sep|>original/app/views/events/team_scoreboards/show.xml.builder
xml.instruct!
xml.EventResult do
xml.UniqueCode "skyderby-ws-performance-#{@event.id}-teams"
@team_ranking.ranking.each_with_index do |row, index|
xml.Entrant do
xml.CompetitionNo "00#{index + 1}"
xml.Name "#{row.team.name} (#{r... | 8e07407d4e1dbc73dbb24a48dd5e4a3e6b4a8133 | app/views/events/team_scoreboards/show.xml.builder | app/views/events/team_scoreboards/show.xml.builder | Ruby |
<|file_sep|>original/messaging.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
s.version = '0.8.1.0'
s.summary = 'Messaging primitives for Eventide'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homepage = '... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
s.version = '0.9.0.0'
s.summary = 'Messaging primitives for Eventide'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homepage = 'https://github.com/eventide-project/mes... | <|file_sep|>original/messaging.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
s.version = '0.8.1.0'
s.summary = 'Messaging primitives for Eventide'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homepage = '... | 8e970a1b6763fe94e6358175e7278a964ea8d5ba | messaging.gemspec | messaging.gemspec | Ruby |
<|file_sep|>original/magic-puzzle/rust/Cargo.toml
[package]
name = "magic-puzzle"
version = "0.1.0"
authors = ["tbollman"]
edition = "2018"
[dependencies]
rayon = "1.1.0"
<|file_sep|>current/magic-puzzle/rust/Cargo.toml
[package]
name = "magic-puzzle"
version = "0.1.0"
authors = ["tbollman"]
edition = "2018"
[depende... | [package]
name = "magic-puzzle"
version = "0.1.0"
authors = ["tbollman"]
edition = "2018"
[dependencies]
rayon = "1.1.0"
[profile.release]
debug = true | <|file_sep|>original/magic-puzzle/rust/Cargo.toml
[package]
name = "magic-puzzle"
version = "0.1.0"
authors = ["tbollman"]
edition = "2018"
[dependencies]
rayon = "1.1.0"
<|file_sep|>current/magic-puzzle/rust/Cargo.toml
[package]
name = "magic-puzzle"
version = "0.1.0"
authors = ["tbollman"]
edition = "2018"
[depende... | 46d07eb192c2af64f4c6e2502d049c9627f2c8a7 | magic-puzzle/rust/Cargo.toml | magic-puzzle/rust/Cargo.toml | TOML |
<|file_sep|>original/config/application.rb
require "action_view/railtie"
require "action_cable/engine"
require "sprockets/railtie"
require "active_storage/engine"
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundle... | require "action_cable/engine"
require "sprockets/railtie"
require "active_storage/engine"
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Diaper
class Application < Rails::Appl... | <|file_sep|>original/config/application.rb
require "action_view/railtie"
require "action_cable/engine"
require "sprockets/railtie"
require "active_storage/engine"
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundle... | 0fafcfd06213e0b67908df8da30186f92c4548e2 | config/application.rb | config/application.rb | Ruby |
<|file_sep|>original/server/envs/dev/docker-compose.yml
POSTGRES_USER: geekmarks
POSTGRES_PASSWORD: geekmarks
POSTGRES_DB: geekmarks
geekmarks:
container_name: geekmarks-dev-main
image: dimonomid/geekmarks-server
depends_on:
- postgres
links:
- postgres
ports:
... | POSTGRES_USER: geekmarks
POSTGRES_PASSWORD: geekmarks
POSTGRES_DB: geekmarks
geekmarks:
container_name: geekmarks-dev-main
image: dimonomid/geekmarks-server
depends_on:
- postgres
links:
- postgres
ports:
- "4000:4000"
volumes:
- "/var/tmp/geekmarks_d... | <|file_sep|>original/server/envs/dev/docker-compose.yml
POSTGRES_USER: geekmarks
POSTGRES_PASSWORD: geekmarks
POSTGRES_DB: geekmarks
geekmarks:
container_name: geekmarks-dev-main
image: dimonomid/geekmarks-server
depends_on:
- postgres
links:
- postgres
ports:
... | 8472ae6f4e105ad211d4772f9139c23076e977de | server/envs/dev/docker-compose.yml | server/envs/dev/docker-compose.yml | YAML |
<|file_sep|>original/package.json
{
"name": "broccoli-static-compiler",
"description": "Broccoli compiler to copy static files",
"version": "0.1.0",
"author": "Jo Liss <joliss42@gmail.com>",
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joliss/broc... | {
"name": "broccoli-static-compiler",
"description": "Broccoli compiler to copy static files",
"version": "0.1.0",
"author": "Jo Liss <joliss42@gmail.com>",
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joliss/broccoli-static-compiler"
},
"keyw... | <|file_sep|>original/package.json
{
"name": "broccoli-static-compiler",
"description": "Broccoli compiler to copy static files",
"version": "0.1.0",
"author": "Jo Liss <joliss42@gmail.com>",
"main": "index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/joliss/broc... | fbeb2587070617d1ac55487137f9e4cf4d237d15 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
python:
- "2.6"
- "2.7"
before_install:
- sudo apt-get -qq update
- sudo apt-get -qq install libxml2-dev libxslt-dev ffmpeg python-dev sqlite
pep8
- pip install nose-cov mock python-coveralls
- pip install --timeout 120 "python-dat... | python:
- "2.6"
- "2.7"
before_install:
- sudo apt-get -qq update
- sudo apt-get -qq install libxml2-dev libxslt-dev ffmpeg python-dev sqlite
pep8
- pip install nose-cov mock python-coveralls
- pip install --timeout 120 "python-dateutil==2.1"
- if [ $(python -... | <|file_sep|>original/.travis.yml
python:
- "2.6"
- "2.7"
before_install:
- sudo apt-get -qq update
- sudo apt-get -qq install libxml2-dev libxslt-dev ffmpeg python-dev sqlite
pep8
- pip install nose-cov mock python-coveralls
- pip install --timeout 120 "python-dat... | dab8e7a2817dd3302bec0bf03929cd1464e19866 | .travis.yml | .travis.yml | YAML |
<|file_sep|>config.py.diff
original:
host = 'http://mech-ai.appspot.com'
updated:
import os
host_envs = {
'prod': 'http://mech-ai.appspot.com',
'dev': 'http://127.0.0.1:8080',
}
environment = os.getenv('ENV', 'dev')
host = host_env.get('environment')
username = os.getenv('USER')
access_token = os.getenv('TOK... | import os
host_envs = {
'prod': 'http://mech-ai.appspot.com',
'dev': 'http://127.0.0.1:8080',
}
environment = os.getenv('ENV', 'dev')
host = host_env.get('environment')
username = os.getenv('USER')
access_token = os.getenv('TOKEN')
try:
from local_config import * # Override with local settings if exist... | <|file_sep|>config.py.diff
original:
host = 'http://mech-ai.appspot.com'
updated:
import os
host_envs = {
'prod': 'http://mech-ai.appspot.com',
'dev': 'http://127.0.0.1:8080',
}
environment = os.getenv('ENV', 'dev')
host = host_env.get('environment')
username = os.getenv('USER')
access_token = os.getenv('TOK... | f8ac907837e198ddac3d4ce9c5f72243c89b5ca1 | config.py | config.py | Python |
<|file_sep|>original/generators/app/templates/github/workflows/ci.yml
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint<% if ( typescript ) { %>
- name: Check types
run: npm run lint:types<% } %><% if ( automatedTests ) { %><% if ( browserModule &&... |
- name: Lint
run: npm run lint<% if ( typescript ) { %>
- name: Check types
run: npm run lint:types<% } %><% if ( automatedTests ) { %><% if ( browserModule && !cloudBrowsers ) { %>
- name: Set display environment
run: export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; slee... | <|file_sep|>original/generators/app/templates/github/workflows/ci.yml
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint<% if ( typescript ) { %>
- name: Check types
run: npm run lint:types<% } %><% if ( automatedTests ) { %><% if ( browserModule &&... | 7da26eb7b6784c0a610133838cb52be27b691e56 | generators/app/templates/github/workflows/ci.yml | generators/app/templates/github/workflows/ci.yml | YAML |
<|file_sep|>original/django_dzenlog/templates/django_dzenlog/generalpost_list.html
{% extends 'base.html' %}
{% load i18n dzenlog_tags %}
{% block head %}
{{ block.super }}
<link rel="alternate" type="application/rss+xml" title="{% trans "All posts" %}" href="{% call all_feeds_url slug="rss" %}" />
<link r... | {% extends 'base.html' %}
{% load i18n dzenlog_tags %}
{% block head %}
{{ block.super }}
<link rel="alternate" type="application/rss+xml" title="{% trans "All posts" %}" href="{% call all_feeds_url slug="rss" %}" />
<link rel="alternate" type="application/rss+xml" title="{% trans "Posts with this type and... | <|file_sep|>original/django_dzenlog/templates/django_dzenlog/generalpost_list.html
{% extends 'base.html' %}
{% load i18n dzenlog_tags %}
{% block head %}
{{ block.super }}
<link rel="alternate" type="application/rss+xml" title="{% trans "All posts" %}" href="{% call all_feeds_url slug="rss" %}" />
<link r... | 617282bfd1b0ae994b15e473638d56bafe2bb248 | django_dzenlog/templates/django_dzenlog/generalpost_list.html | django_dzenlog/templates/django_dzenlog/generalpost_list.html | HTML |
<|file_sep|>original/manifests/cf-manifest/operations.d/320-cc-add-quotas.yml
<|file_sep|>current/manifests/cf-manifest/operations.d/320-cc-add-quotas.yml
<|file_sep|>updated/manifests/cf-manifest/operations.d/320-cc-add-quotas.yml | ---
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/quota_definitions?
value:
2xlarge:
memory_limit: 409600
non_basic_services_allowed: true
total_routes: 1000
total_services: 160
default:
memory_limit: 5120
non_basic_services_a... | <|file_sep|>original/manifests/cf-manifest/operations.d/320-cc-add-quotas.yml
<|file_sep|>current/manifests/cf-manifest/operations.d/320-cc-add-quotas.yml
<|file_sep|>updated/manifests/cf-manifest/operations.d/320-cc-add-quotas.yml
---
- type: replace
path: /instance_groups/name=api/jobs/name=cloud_controller_ng/pr... | ac98d0c470198255ace86a70a38d25720467dd0f | manifests/cf-manifest/operations.d/320-cc-add-quotas.yml | manifests/cf-manifest/operations.d/320-cc-add-quotas.yml | YAML |
<|file_sep|>original/Code/Cleavir/Documentation/chap-translating-ast-to-mir.tex
\chapter{Translating AST to MIR}
\label{chap-translating-ast-to-mir}
The translation of an abstract syntax tree
\seechap{chap-abstract-syntax-tree} to medium-level intermediate
representation \seechap{chap-ir} is done by an algorithm that ... | \chapter{Translating AST to HIR}
\label{chap-translating-ast-to-hir}
The translation of an abstract syntax tree
\seechap{chap-abstract-syntax-tree} to medium-level intermediate
representation \seechap{chap-ir} is done by an algorithm that is
similar to that of CPS-conversion.%
\footnote{CPS means Continuation Passing ... | <|file_sep|>original/Code/Cleavir/Documentation/chap-translating-ast-to-mir.tex
\chapter{Translating AST to MIR}
\label{chap-translating-ast-to-mir}
The translation of an abstract syntax tree
\seechap{chap-abstract-syntax-tree} to medium-level intermediate
representation \seechap{chap-ir} is done by an algorithm that ... | 8014e2cd3305ad857272bbe5cb06a2b8380c1d39 | Code/Cleavir/Documentation/chap-translating-ast-to-mir.tex | Code/Cleavir/Documentation/chap-translating-ast-to-mir.tex | TeX |
<|file_sep|>.travis.yml.diff
original:
updated:
#
# .travis.yaml contains YAML-formatted (http://www.yaml.org/) build
# instructions for continuous integration via Travis CI
# (http://docs.travis-ci.com/).
#
<|file_sep|>.travis.yml.diff
original:
python:
- "2.6"
- "2.7"
updated:
addons:
apt:
sourc... | # Install most recent beanstalkd from source
- wget https://github.com/kr/beanstalkd/archive/v1.10.tar.gz
- tar xf v1.10.tar.gz
- make -C beanstalkd-1.10/
- mv beanstalkd-1.10/beanstalkd .
# Bootstrap easy_install ...
- wget -O /tmp/ez_setup.py $ST
- sudo python$PYV /tmp/ez_setup.py
... | <|file_sep|>.travis.yml.diff
original:
updated:
#
# .travis.yaml contains YAML-formatted (http://www.yaml.org/) build
# instructions for continuous integration via Travis CI
# (http://docs.travis-ci.com/).
#
<|file_sep|>.travis.yml.diff
original:
python:
- "2.6"
- "2.7"
updated:
addons:
apt:
sourc... | d00103b89b88b55a88bd70547474062fca7457cf | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
To get started, clone the project, install the npm dependencies and start the server.
updated:
To get started, clone the project, install the npm dependencies and start the server. You will need Node.js.
<|file_sep|>original/README.md
A generic discount theme for Referral Saasquatch... |
Setup
-----
To get started, clone the project, install the npm dependencies and start the server. You will need Node.js.
The serve task will compile less and handlebars on changes and reload the page if you install the plugin for [LiveReload](http://livereload.com/).
```
git clone git@github.com:saasquatch/discou... | <|file_sep|>README.md.diff
original:
To get started, clone the project, install the npm dependencies and start the server.
updated:
To get started, clone the project, install the npm dependencies and start the server. You will need Node.js.
<|file_sep|>original/README.md
A generic discount theme for Referral Saasquatch... | bafb187c89cb8a93ded38eab0e8dd292d83c80b1 | README.md | README.md | Markdown |
<|file_sep|>original/app/src/main/AndroidManifest.xml
</intent-filter>
</activity>
<activity
android:name=".DetailActivity">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</activi... | android:name=".DetailActivity">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</activity>
<service
android:name=".ServiceOrderControl"
android:enabled="true"
andr... | <|file_sep|>original/app/src/main/AndroidManifest.xml
</intent-filter>
</activity>
<activity
android:name=".DetailActivity">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</activi... | baf5d059cd64b9a2ea7285f105c592a7daa178bc | app/src/main/AndroidManifest.xml | app/src/main/AndroidManifest.xml | XML |
<|file_sep|>original/sh/online.php
<?php
// change username column length for w command
putenv("PROCPS_USERLEN=20");
exec('w -h | awk \'{print ""$1","$3","$4","$5}\'',$users);
$result = array();
foreach ($users as $user)
{
$result[] = explode(",", $user);
}
header('Content-Type: a... | <?php
// change username column length for w command
putenv("PROCPS_USERLEN=20");
exec('w -h | awk \'{print $1","$3","$4","$5}\'',$users);
$result = array();
foreach ($users as $user)
{
$result[] = explode(",", $user);
}
header('Content-Type: application/json; charset=UTF-8');
... | <|file_sep|>original/sh/online.php
<?php
// change username column length for w command
putenv("PROCPS_USERLEN=20");
exec('w -h | awk \'{print ""$1","$3","$4","$5}\'',$users);
$result = array();
foreach ($users as $user)
{
$result[] = explode(",", $user);
}
header('Content-Type: a... | 742cc7260cb0aecd9f36efa252ffb825ee8cd1f4 | sh/online.php | sh/online.php | PHP |
<|file_sep|>original/test/src/com/orm/andorm/test/implementation/FilterTest.java
<|file_sep|>current/test/src/com/orm/andorm/test/implementation/FilterTest.java
<|file_sep|>updated/test/src/com/orm/andorm/test/implementation/FilterTest.java | package com.orm.andorm.test.implementation;
import android.test.AndroidTestCase;
import com.orm.androrm.Filter;
import com.orm.androrm.NoSuchFieldException;
import com.orm.androrm.impl.Brand;
public class FilterTest extends AndroidTestCase {
public void testNoSuchFieldException() {
Filter filter = new Filter();
... | <|file_sep|>original/test/src/com/orm/andorm/test/implementation/FilterTest.java
<|file_sep|>current/test/src/com/orm/andorm/test/implementation/FilterTest.java
<|file_sep|>updated/test/src/com/orm/andorm/test/implementation/FilterTest.java
package com.orm.andorm.test.implementation;
import android.test.AndroidTestC... | a57cbddbd98f52ad0816196e929059ea600a672c | test/src/com/orm/andorm/test/implementation/FilterTest.java | test/src/com/orm/andorm/test/implementation/FilterTest.java | Java |
<|file_sep|>original/.github/workflows/python-ci.yml
name: "Python Lint and Tests"
on: [push, pull_request]
jobs:
build-and-test:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
name: "Build and test Pyguetzli"
runs-on: ubuntu-latest
steps:
- name: "C... | name: "Python Lint and Tests"
env:
CXXFLAGS: "-D_GLIBCXX_ASSERTIONS"
on: [push, pull_request]
jobs:
build-and-test:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
name: "Build and test Pyguetzli"
runs-on: ubuntu-latest
steps:
- name: "Checkout the r... | <|file_sep|>original/.github/workflows/python-ci.yml
name: "Python Lint and Tests"
on: [push, pull_request]
jobs:
build-and-test:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
name: "Build and test Pyguetzli"
runs-on: ubuntu-latest
steps:
- name: "C... | cd3c5c4673fe19762379b92d716cf1e2901fcabb | .github/workflows/python-ci.yml | .github/workflows/python-ci.yml | YAML |
<|file_sep|>original/requirements.txt
Flask==0.12.2
idna==2.6
itsdangerous==0.24
Jinja2==2.9.6
MarkupSafe==1.0
numpy==1.13.3
python-dateutil==2.6.1
PyYAML==3.12
requests==2.18.4
singledispatch==3.4.0.3
six==1.11.0
tornado==4.5.2
urllib3==1.22
Werkzeug==0.12.2
pandas==0.21.0
scipy==1.0.0
astropy==2.0.2
matplotlib==2.0.2... | idna==2.6
itsdangerous==0.24
Jinja2==2.9.6
MarkupSafe==1.0
numpy==1.13.3
python-dateutil==2.6.1
PyYAML==3.12
requests==2.18.4
singledispatch==3.4.0.3
six==1.11.0
tornado==4.5.2
urllib3==1.22
Werkzeug==0.12.2
pandas==0.21.0
scipy==1.0.0
astropy==2.0.2
matplotlib==2.0.2
mpld3==0.3
tables===3.4.2
apscheduler==3.4.0
PyAstr... | <|file_sep|>original/requirements.txt
Flask==0.12.2
idna==2.6
itsdangerous==0.24
Jinja2==2.9.6
MarkupSafe==1.0
numpy==1.13.3
python-dateutil==2.6.1
PyYAML==3.12
requests==2.18.4
singledispatch==3.4.0.3
six==1.11.0
tornado==4.5.2
urllib3==1.22
Werkzeug==0.12.2
pandas==0.21.0
scipy==1.0.0
astropy==2.0.2
matplotlib==2.0.2... | 95a71b03b2b19b55bfb1cc281cfad0fbdee001f1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/test/smoke_test.sh
#!/bin/bash
set -e
GENEREATE_CREDO_CHECK="lib/my_first_credo_check.ex"
mix credo --mute-exit-status
mix credo list --mute-exit-status
mix credo suggest --mute-exit-status
mix credo lib/credo/sources.ex:1:11 --mute-exit-status
mix credo explain lib/credo/sources.ex:1:11 --mute... | #!/bin/bash
set -e
GENEREATE_CREDO_CHECK="lib/my_first_credo_check.ex"
mix compile --force --warnings-as-errors
mix credo --mute-exit-status
mix credo list --mute-exit-status
mix credo suggest --mute-exit-status
mix credo lib/credo/sources.ex:1:11 --mute-exit-status
mix credo explain lib/credo/sources.ex:1:11 --mu... | <|file_sep|>original/test/smoke_test.sh
#!/bin/bash
set -e
GENEREATE_CREDO_CHECK="lib/my_first_credo_check.ex"
mix credo --mute-exit-status
mix credo list --mute-exit-status
mix credo suggest --mute-exit-status
mix credo lib/credo/sources.ex:1:11 --mute-exit-status
mix credo explain lib/credo/sources.ex:1:11 --mute... | 766170432949844f58c4ba32d925c7dfda9f0029 | test/smoke_test.sh | test/smoke_test.sh | Shell |
<|file_sep|>original/rblib/tests/email_examples/bad_uuencoding.txt
<|file_sep|>current/rblib/tests/email_examples/bad_uuencoding.txt
<|file_sep|>updated/rblib/tests/email_examples/bad_uuencoding.txt | From: EMAIL_FROM
To: FOI Person <EMAIL_TO>
Bcc:
Subject: Re: Blah
Reply-To:
I've attached something, but badly.
begin 600 moo.txt
C0V]W<R!A<F4@;F]T(&%S(&-U=&4@87,@86%R9'9A<FMS+@H`
`
end | <|file_sep|>original/rblib/tests/email_examples/bad_uuencoding.txt
<|file_sep|>current/rblib/tests/email_examples/bad_uuencoding.txt
<|file_sep|>updated/rblib/tests/email_examples/bad_uuencoding.txt
From: EMAIL_FROM
To: FOI Person <EMAIL_TO>
Bcc:
Subject: Re: Blah
Reply-To:
I've attached something, but badly.
beg... | 8a827f7955513248cc1523a77a7a253ebef0f9be | rblib/tests/email_examples/bad_uuencoding.txt | rblib/tests/email_examples/bad_uuencoding.txt | Text |
<|file_sep|>original/.travis.yml
- gemfiles/standalone.gemfile
- gemfiles/binding_of_caller.gemfile
- gemfiles/delayed_job.gemfile
- gemfiles/rails.gemfile
- gemfiles/rack.gemfile
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.0
- jruby-19mode
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-19mod... | - gemfiles/rack.gemfile
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.0
- jruby-19mode
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-19mode
exclude:
- rvm: jruby-19mode
gemfile: gemfiles/binding_of_caller.gemfile
- rvm: jruby-19mode
gemfile: gemfiles/rails.gemfile
- rvm: 1.9.... | <|file_sep|>original/.travis.yml
- gemfiles/standalone.gemfile
- gemfiles/binding_of_caller.gemfile
- gemfiles/delayed_job.gemfile
- gemfiles/rails.gemfile
- gemfiles/rack.gemfile
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.0
- jruby-19mode
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-19mod... | 6390f5e3c831f80fc710bcdfcdb7e6b560319a6c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/LICENSE.md
<|file_sep|>current/LICENSE.md
<|file_sep|>updated/LICENSE.md | The WAV.jl package is licensed under the MIT Expat License:
> Copyright (c) 2013: Daniel C. Casimiro.
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> witho... | <|file_sep|>original/LICENSE.md
<|file_sep|>current/LICENSE.md
<|file_sep|>updated/LICENSE.md
The WAV.jl package is licensed under the MIT Expat License:
> Copyright (c) 2013: Daniel C. Casimiro.
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated docume... | e43a8eb1c5239cd7fb8c34583cae808c13923b3a | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/packages/fo/foldable-ix.yaml
<|file_sep|>current/packages/fo/foldable-ix.yaml
<|file_sep|>updated/packages/fo/foldable-ix.yaml | homepage: https://hackage.haskell.org/package/foldable-ix
changelog-type: markdown
hash: ff5869e1726198ef537533a3d669387504e06f0d4cb4083397c7f7fda2d91baf
test-bench-deps: {}
maintainer: olexandr543@yahoo.com
synopsis: Functions to find out the indices of the elements in the Foldable structures
changelog: |
# Revision... | <|file_sep|>original/packages/fo/foldable-ix.yaml
<|file_sep|>current/packages/fo/foldable-ix.yaml
<|file_sep|>updated/packages/fo/foldable-ix.yaml
homepage: https://hackage.haskell.org/package/foldable-ix
changelog-type: markdown
hash: ff5869e1726198ef537533a3d669387504e06f0d4cb4083397c7f7fda2d91baf
test-bench-deps:... | d4fe1363a6592bb763fff65026a529cce4fe3307 | packages/fo/foldable-ix.yaml | packages/fo/foldable-ix.yaml | YAML |
<|file_sep|>etc/hammerspoon/README.md.diff
original:
updated:
A | Lock Screen
<|file_sep|>original/etc/hammerspoon/README.md
# Hammerspoon Configuration
The hyper key is defined as ⌘ + ⌥ + ⌃ (ctrl + alt + cmd). Press this plus the defined key:
Key | Action
---|---
R | Reload config
## Launch Apps
Key | App
---|---... | # Hammerspoon Configuration
The hyper key is defined as ⌘ + ⌥ + ⌃ (ctrl + alt + cmd). Press this plus the defined key:
Key | Action
---|---
A | Lock Screen
R | Reload config
W | Print `¯\_(ツ)_/¯`
## Launch Apps
Key | App
---|---
C | Google Chrome
D | Dash
F | Finder
G | SourceTree (Git)
M | Mail
P | System Preferen... | <|file_sep|>etc/hammerspoon/README.md.diff
original:
updated:
A | Lock Screen
<|file_sep|>original/etc/hammerspoon/README.md
# Hammerspoon Configuration
The hyper key is defined as ⌘ + ⌥ + ⌃ (ctrl + alt + cmd). Press this plus the defined key:
Key | Action
---|---
R | Reload config
## Launch Apps
Key | App
---|---... | 451aa290ce6a0e904d11f97cd1731d526543eb41 | etc/hammerspoon/README.md | etc/hammerspoon/README.md | Markdown |
<|file_sep|>original/Library/Formula/kde-phonon.rb
require 'formula'
class KdePhonon <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.4/src/phonon-4.4.4.tar.bz2'
homepage 'http://phonon.kde.org/'
md5 '1deb14ecb2185e1f2fe2741a0bd46852'
depends_on 'cmake' => :build
depends_on 'automoc4' => :build
d... | require 'formula'
class KdePhonon <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.4/src/phonon-4.4.4.tar.bz2'
homepage 'http://phonon.kde.org/'
md5 '1deb14ecb2185e1f2fe2741a0bd46852'
depends_on 'cmake' => :build
depends_on 'automoc4' => :build
depends_on 'qt'
depends_on 'glib' => :build
keg... | <|file_sep|>original/Library/Formula/kde-phonon.rb
require 'formula'
class KdePhonon <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.4/src/phonon-4.4.4.tar.bz2'
homepage 'http://phonon.kde.org/'
md5 '1deb14ecb2185e1f2fe2741a0bd46852'
depends_on 'cmake' => :build
depends_on 'automoc4' => :build
d... | 2f836dce9cca6ed806daf74b7e3fb5dad1d9ffda | Library/Formula/kde-phonon.rb | Library/Formula/kde-phonon.rb | Ruby |
<|file_sep|>original/.travis.yml
language: php
install:
# We do not use it in unit tests.
- composer remove --dev friendsofphp/php-cs-fixer
- composer install
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
# - nightly
script:
- make test
- make bench
jobs:
include:
- stage: checks
... | language: php
install:
# We do not use it in unit tests.
- composer remove --dev friendsofphp/php-cs-fixer
- composer install
# We use a matrix to have access to old PHP versions, which requires to run old Ubuntu TravisCI build envs.
# https://docs.travis-ci.com/user/languages/php/#php-52x---53x-support-is-availa... | <|file_sep|>original/.travis.yml
language: php
install:
# We do not use it in unit tests.
- composer remove --dev friendsofphp/php-cs-fixer
- composer install
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
# - nightly
script:
- make test
- make bench
jobs:
include:
- stage: checks
... | e8368db401dbc58b4c97c1779ee70273d62c0de8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>post-install.txt.diff
original:
echo "mount_unionfs /etc fuse defaults 0 0" >> /rootfs/etc/fstab
updated:
<|file_sep|>post-install.txt.diff
original:
cp -al /rootfs/etc /rootfs/etc_orig
updated:
<|file_sep|>original/post-install.txt
################################################
### Make the system read... | ################################################
### Make the system read-only
# Package should've been installed by installer-config.txt, but still...
chroot /rootfs apt-get -y install unionfs-fuse
cp /bootfs/mount_unionfs /rootfs/usr/local/bin/mount_unionfs
chmod +x /rootfs/usr/local/bin/mount_unionfs
sed -i 's/^\... | <|file_sep|>post-install.txt.diff
original:
echo "mount_unionfs /etc fuse defaults 0 0" >> /rootfs/etc/fstab
updated:
<|file_sep|>post-install.txt.diff
original:
cp -al /rootfs/etc /rootfs/etc_orig
updated:
<|file_sep|>original/post-install.txt
################################################
### Make the system read... | 4a7e8dc0c13157038529e05690b947a41d63924c | post-install.txt | post-install.txt | Text |
<|file_sep|>original/spec/models/users_spec.rb
require 'rails_helper'
RSpec.describe User, type: :model do
describe "associations" do
it { should have_many(:initiated_conversations).with_foreign_key 'initiator_id' }
it { should have_many(:received_conversations).with_foreign_key 'received_id' }
# For s... | require 'rails_helper'
RSpec.describe User, type: :model do
describe "associations" do
it { should have_many(:initiated_conversations).with_foreign_key 'initiator_id' }
it { should have_many(:received_conversations).with_foreign_key 'receiver_id' }
# For some reason the PM one isn't working even though... | <|file_sep|>original/spec/models/users_spec.rb
require 'rails_helper'
RSpec.describe User, type: :model do
describe "associations" do
it { should have_many(:initiated_conversations).with_foreign_key 'initiator_id' }
it { should have_many(:received_conversations).with_foreign_key 'received_id' }
# For s... | 1699b8ace636681e6a793cd67b730e3ad6ce1473 | spec/models/users_spec.rb | spec/models/users_spec.rb | Ruby |
<|file_sep|>original/package.json
"name": "arctic-web-map-pages",
"version": "1.0.0",
"description": "This repository contains the HTML, CSS, and JavaScript for the promotional site for Arctic Web Map.",
"main": "public/index.html",
"scripts": {
"start": "NODE_ENV=production node index.js"
},
"reposit... | "version": "1.0.0",
"description": "This repository contains the HTML, CSS, and JavaScript for the promotional site for Arctic Web Map.",
"main": "public/index.html",
"scripts": {
"start": "NODE_ENV=production node index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/GeoSensorW... | <|file_sep|>original/package.json
"name": "arctic-web-map-pages",
"version": "1.0.0",
"description": "This repository contains the HTML, CSS, and JavaScript for the promotional site for Arctic Web Map.",
"main": "public/index.html",
"scripts": {
"start": "NODE_ENV=production node index.js"
},
"reposit... | ac1fbe7c30a3439569511b875863eb7fdd2ce0c7 | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
Django==2.1rc1
Babel==2.6.0
Pillow==5.2.0
celery[redis]==4.2.1
dj-database-url==0.5.0
django-redis-sessions==0.6.1
python3-memcached==1.51
feedparser==5.2.1
gunicorn==19.9.0
html2text==2018.1.9
markdown2==2.3.5
oauth2client==4.1.2
psycopg2cffi==2.7.7
python-dateutil==2.7.3
redis==2... | Django==2.1
Babel==2.6.0
Pillow==5.2.0
celery[redis]==4.2.1
dj-database-url==0.5.0
django-redis-sessions==0.6.1
python3-memcached==1.51
feedparser==5.2.1
gunicorn==19.9.0
html2text==2018.1.9
markdown2==2.3.5
oauth2client==4.1.2
psycopg2cffi==2.7.7
python-dateutil==2.7.3
redis==2.10.6
django-celery-results==1.0.1
# djan... | <|file_sep|>original/requirements.txt
Django==2.1rc1
Babel==2.6.0
Pillow==5.2.0
celery[redis]==4.2.1
dj-database-url==0.5.0
django-redis-sessions==0.6.1
python3-memcached==1.51
feedparser==5.2.1
gunicorn==19.9.0
html2text==2018.1.9
markdown2==2.3.5
oauth2client==4.1.2
psycopg2cffi==2.7.7
python-dateutil==2.7.3
redis==2... | ee84f85c4d9c4c220acbcbfd9d70afea0332f227 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/app.yaml
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for t... | # See the License for the specific language governing permissions and
# limitations under the License.
# TODO(proto): uncomment and supply a Google App Engine application instance
# application: FIXME
version: 1
runtime: python
api_version: 1
handlers:
- url: /soc/content
static_dir: soc/content
- url: /gsoc/conte... | <|file_sep|>original/app/app.yaml
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for t... | 4a3b3e8195500248651b2d1c243c4b47650d12a5 | app/app.yaml | app/app.yaml | YAML |
<|file_sep|>original/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>current/requi... | --requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.5
sphinxcontrib-httpdomain==1.5.0 | <|file_sep|>original/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>current/requi... | 735fac6800fc304d4d5058bb879949c5a8ca7d1b | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>spec/javascripts/bootstrap_toggle_spec.js.diff
original:
var header;
updated:
var link;
<|file_sep|>original/spec/javascripts/bootstrap_toggle_spec.js
describe('bootstrap toggle', function() {
var header;
beforeEach(function() {
setFixtures('<li class="dropdown" id="menuOrgs">'+
... | describe('bootstrap toggle', function() {
var link;
beforeEach(function() {
setFixtures('<li class="dropdown" id="menuOrgs">'+
'<a class="dropdown-toggle" href="#" data-toggle ="dropdown">Organisations</a>' +
'<ul class="dropdown-menu">' +
' <li><a href="/organizat... | <|file_sep|>spec/javascripts/bootstrap_toggle_spec.js.diff
original:
var header;
updated:
var link;
<|file_sep|>original/spec/javascripts/bootstrap_toggle_spec.js
describe('bootstrap toggle', function() {
var header;
beforeEach(function() {
setFixtures('<li class="dropdown" id="menuOrgs">'+
... | 85c90d0443f280fe722619a735a9866239e94322 | spec/javascripts/bootstrap_toggle_spec.js | spec/javascripts/bootstrap_toggle_spec.js | JavaScript |
<|file_sep|>original/.travis-packer-build-tmpl.yml
---
message: ":tada: :bomb: commit-range=%{commit_range_string}\n\n%{source_commit_message}"
branch: "%{template_name}"
config:
language: generic
dist: trusty
group: edge
sudo: true
before_install:
- if [[ $BUILDER = docker ]] ; then
sudo stop docker ... | ---
message: "%{source_commit_message}\n\n:tada: :bomb: commit-range=%{commit_range_string}"
branch: "%{template_name}"
config:
language: generic
dist: trusty
group: edge
sudo: true
before_install:
- if [[ $BUILDER = docker ]] ; then
sudo stop docker ;
sudo cat /etc/default/docker ;
echo '... | <|file_sep|>original/.travis-packer-build-tmpl.yml
---
message: ":tada: :bomb: commit-range=%{commit_range_string}\n\n%{source_commit_message}"
branch: "%{template_name}"
config:
language: generic
dist: trusty
group: edge
sudo: true
before_install:
- if [[ $BUILDER = docker ]] ; then
sudo stop docker ... | d4a3cc05f1530a20a6df4cc679c9680c6e5838ef | .travis-packer-build-tmpl.yml | .travis-packer-build-tmpl.yml | YAML |
<|file_sep|>original/.localhost/config.php
<?php
/** Change it if needed */
define( 'HOME_URL', 'http://' . $_SERVER['HTTP_HOST'] );
define( 'APACHE_DIR', '/etc/apache2' );
define( 'PROJECTS_DIR', realpath( '..' ) );
/** Add here the name of the virtual hosts files to be ignored */
$ignore = array(
'000-def... | <?php
/** Change it if needed */
define( 'HOME_URL', 'http://' . $_SERVER['HTTP_HOST'] );
define( 'APACHE_DIR', '/etc/apache2' );
define( 'PROJECTS_DIR', realpath( '..' ) );
/** Add here the name of the virtual hosts files to be ignored */
$ignore = array(
'000-default.conf',
'default-ssl.conf'
); | <|file_sep|>original/.localhost/config.php
<?php
/** Change it if needed */
define( 'HOME_URL', 'http://' . $_SERVER['HTTP_HOST'] );
define( 'APACHE_DIR', '/etc/apache2' );
define( 'PROJECTS_DIR', realpath( '..' ) );
/** Add here the name of the virtual hosts files to be ignored */
$ignore = array(
'000-def... | f9967a8f18f2e637c4b2708fb986f94f19d87b03 | .localhost/config.php | .localhost/config.php | PHP |
<|file_sep|>original/_framework/scss/helpers/_visually-hidden.scss
// ========================================================================
// Title: Visually hidden
// Type: Helper
// Credit: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
// ======================================... | // ========================================================================
// Title: Visually hidden
// Type: Helper
// Credit: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
// ========================================================================
@mixin visually-hidden {
bo... | <|file_sep|>original/_framework/scss/helpers/_visually-hidden.scss
// ========================================================================
// Title: Visually hidden
// Type: Helper
// Credit: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
// ======================================... | 0f5f93c15ca2ddd34af5e4b4aadef74d56f81dd4 | _framework/scss/helpers/_visually-hidden.scss | _framework/scss/helpers/_visually-hidden.scss | SCSS |
<|file_sep|>original/app/helpers/seo_cms/articles_helper.rb
module SeoCms
module ArticlesHelper
def generate_breadcrumbs(breadcrumbs_info)
breadcrumbs_info.map { |breadcrumb| link_to breadcrumb[:label], breadcrumb[:url] }.join(' > ').html_safe
end
end
end
<|file_sep|>current/app/helpers/seo_cms/articl... | module SeoCms
module ArticlesHelper
def generate_breadcrumbs(breadcrumbs_info)
breadcrumbs_info.each_with_index.map do |breadcrumb, i|
last_element = (i == breadcrumbs_info.size - 1)
if last_element
breadcrumb[:label]
else
link_to(breadcrumb[:label], breadcrumb[:u... | <|file_sep|>original/app/helpers/seo_cms/articles_helper.rb
module SeoCms
module ArticlesHelper
def generate_breadcrumbs(breadcrumbs_info)
breadcrumbs_info.map { |breadcrumb| link_to breadcrumb[:label], breadcrumb[:url] }.join(' > ').html_safe
end
end
end
<|file_sep|>current/app/helpers/seo_cms/articl... | 0f7dc12520f19de64c8cf0f6d28506633783f397 | app/helpers/seo_cms/articles_helper.rb | app/helpers/seo_cms/articles_helper.rb | Ruby |
<|file_sep|>spec/components/shared/advanced_search_component_spec.rb.diff
original:
describe "SDG filter" do
updated:
describe "SDG filter", controller: ProposalsController do
<|file_sep|>original/spec/components/shared/advanced_search_component_spec.rb
render_inline component
expect(page.find("form"))... | render_inline component
expect(page.find("form")).to have_button "Advanced search", visible: :hidden
end
end
describe "SDG filter", controller: ProposalsController do
before do
Setting["feature.sdg"] = true
Setting["sdg.process.proposals"] = true
end
it "does not render wh... | <|file_sep|>spec/components/shared/advanced_search_component_spec.rb.diff
original:
describe "SDG filter" do
updated:
describe "SDG filter", controller: ProposalsController do
<|file_sep|>original/spec/components/shared/advanced_search_component_spec.rb
render_inline component
expect(page.find("form"))... | a9095d1b6a5c1e1ce8922c2a89eceed67c6b599e | spec/components/shared/advanced_search_component_spec.rb | spec/components/shared/advanced_search_component_spec.rb | Ruby |
<|file_sep|>original/package.json
"name": "ConfBoilerplate",
"version": "0.2.0",
"description": "A kickstart to create websites for conference/events.",
"homepage": "http://confboilerplate.com",
"repository" : {
"type" : "git",
"url" : "http://github.com/braziljs/conf-boilerplate.git"
},
"engines"... | "description": "A kickstart to create websites for conference/events.",
"homepage": "http://confboilerplate.com",
"repository" : {
"type" : "git",
"url" : "http://github.com/braziljs/conf-boilerplate.git"
},
"engines" : {
"node": "0.9.x",
"npm": "1.1.x"
},
"scripts" : {
"install": "npm... | <|file_sep|>original/package.json
"name": "ConfBoilerplate",
"version": "0.2.0",
"description": "A kickstart to create websites for conference/events.",
"homepage": "http://confboilerplate.com",
"repository" : {
"type" : "git",
"url" : "http://github.com/braziljs/conf-boilerplate.git"
},
"engines"... | 0b34627e971d322dd2f3894799f24181b30f11d2 | package.json | package.json | JSON |
<|file_sep|>original/tests/TestCase/Model/Entity/TranscriptionTest.php
<|file_sep|>current/tests/TestCase/Model/Entity/TranscriptionTest.php
<|file_sep|>updated/tests/TestCase/Model/Entity/TranscriptionTest.php | <?php
namespace App\Test\TestCase\Model\Entity;
use App\Model\CurrentUser;
use App\Model\Entity\Sentence;
use App\Model\Entity\Transcription;
use Cake\TestSuite\TestCase;
class TranscriptionTest extends TestCase
{
public $fixtures = array(
'app.users_languages'
);
public function setUp()
... | <|file_sep|>original/tests/TestCase/Model/Entity/TranscriptionTest.php
<|file_sep|>current/tests/TestCase/Model/Entity/TranscriptionTest.php
<|file_sep|>updated/tests/TestCase/Model/Entity/TranscriptionTest.php
<?php
namespace App\Test\TestCase\Model\Entity;
use App\Model\CurrentUser;
use App\Model\Entity\Sentence;
... | 58cf8647e10ed5b891cce5a4b739befd15769b75 | tests/TestCase/Model/Entity/TranscriptionTest.php | tests/TestCase/Model/Entity/TranscriptionTest.php | PHP |
<|file_sep|>package.json.diff
original:
"name": "Mauve",
"version": "1.0.0",
updated:
"name": "maeve",
"version": "0.1.0",
<|file_sep|>original/package.json
"name": "Mauve",
"version": "1.0.0",
"description": "Very simple Markdown viewer",
"main": "./src/main.js",
"scripts": {
"start": "electron .... | "name": "maeve",
"version": "0.1.0",
"description": "Very simple Markdown viewer",
"main": "./src/main.js",
"scripts": {
"start": "electron ."
},
"keywords": [
"markdown",
"viewer"
],
"author": "Paweł Fertyk <pfertyk@pfertyk.me>",
"license": "MIT",
"devDependencies": {
"electron": ... | <|file_sep|>package.json.diff
original:
"name": "Mauve",
"version": "1.0.0",
updated:
"name": "maeve",
"version": "0.1.0",
<|file_sep|>original/package.json
"name": "Mauve",
"version": "1.0.0",
"description": "Very simple Markdown viewer",
"main": "./src/main.js",
"scripts": {
"start": "electron .... | df21ac7f981a1c0c28ddcefe138b00e93a297ce9 | package.json | package.json | JSON |
<|file_sep|>original/CHANGELOG.md
* Tolk 1.3.0 [not yet released]
* Improved header (bquorning)
* Tolk 1.2.0 [May 16th, 2012]
* Adding search within key (ZenCocoon)
* Update for Rails 3.2.3 whitelist attributes compatibility
* Tolk 1.1.0 [May 15th, 2012]
* Update for Rails 3.2 compatibility
* Added Travis ... | * Tolk 1.3.0 [not yet released]
* Improved header (bquorning)
* Adding a config file for Tolk in the hosted application
* Tolk 1.2.0 [May 16th, 2012]
* Adding search within key (ZenCocoon)
* Update for Rails 3.2.3 whitelist attributes compatibility
* Tolk 1.1.0 [May 15th, 2012]
* Update for Rails 3.2 compa... | <|file_sep|>original/CHANGELOG.md
* Tolk 1.3.0 [not yet released]
* Improved header (bquorning)
* Tolk 1.2.0 [May 16th, 2012]
* Adding search within key (ZenCocoon)
* Update for Rails 3.2.3 whitelist attributes compatibility
* Tolk 1.1.0 [May 15th, 2012]
* Update for Rails 3.2 compatibility
* Added Travis ... | 26d594aef0f852ceb69e91c11af3faa412084caa | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/lib/lineprof.rb
result = lineprof(filename) { value = block.call }
puts Term::ANSIColor.blue("\n[Lineprof] #{'=' * 70}")
puts "\n#{format(result)}\n"
value
end
private
def caller_filename(caller_lines)
caller_lines.first.split(':').first || DEFAULT_PATTE... | result = lineprof(filename) { value = block.call }
puts Term::ANSIColor.blue("\n[Lineprof] #{'=' * 70}")
puts "\n#{format(result)}\n"
value
end
private
def caller_filename(caller_lines)
filename = caller_lines.first.split(':').first
if filename
# Don't add \A ... | <|file_sep|>original/lib/lineprof.rb
result = lineprof(filename) { value = block.call }
puts Term::ANSIColor.blue("\n[Lineprof] #{'=' * 70}")
puts "\n#{format(result)}\n"
value
end
private
def caller_filename(caller_lines)
caller_lines.first.split(':').first || DEFAULT_PATTE... | cd653530a141102be86b2ffb4928eb8d10848935 | lib/lineprof.rb | lib/lineprof.rb | Ruby |
<|file_sep|>original/about.md
---
layout: page
title: About
permalink: /about/
feature-img: "img/sample_feature_img_2.png"
---
Type Theme is a free and open-source theme for [Jekyll](http://jekyllrb.com/), licensed under the MIT License.
Head over to the [theme's documentation](https://rohanchandra.github.io/project/... | ---
layout: page
title: About
permalink: /about/
feature-img: "img/sample_feature_img_2.png"
---
Type Theme is a free and open-source theme for [Jekyll](http://jekyllrb.com/), licensed under the MIT License.
Head over to the [theme's documentation](https://rohanchandra.github.io/project/type/) for much more informati... | <|file_sep|>original/about.md
---
layout: page
title: About
permalink: /about/
feature-img: "img/sample_feature_img_2.png"
---
Type Theme is a free and open-source theme for [Jekyll](http://jekyllrb.com/), licensed under the MIT License.
Head over to the [theme's documentation](https://rohanchandra.github.io/project/... | d1c58f171c3529100156dc8f8dcd105535f076c2 | about.md | about.md | Markdown |
<|file_sep|>original/app/views/catalog/_index_media_object.html.erb
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implie... | http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions... | <|file_sep|>original/app/views/catalog/_index_media_object.html.erb
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implie... | 17fc332187f1a309fcb160b5764f8994c7001ee5 | app/views/catalog/_index_media_object.html.erb | app/views/catalog/_index_media_object.html.erb | HTML+ERB |
<|file_sep|>stylish.js.diff
original:
ret += chalk.red.bold('✖ ' + total + ' problem' + (total === 1 ? '' : 's') + '\n');
updated:
ret += chalk.red.bold('✖ ' + total + ' problem' + (total === 1 ? '' : 's'));
<|file_sep|>stylish.js.diff
original:
ret += chalk.green.bold('✔ No problems\n');
updated:
ret += ch... | if (options.verbose) {
line.push(chalk.gray('(' + err.code + ')'));
}
prevfile = el.file;
return line;
})).split('\n').map(function (el, i) {
return headers[i] ? '\n' + chalk.underline(headers[i]) + '\n' + el : el;
}).join('\n') + '\n\n';
if (total > 0) {
ret += chalk.red.bold('✖ ' + tota... | <|file_sep|>stylish.js.diff
original:
ret += chalk.red.bold('✖ ' + total + ' problem' + (total === 1 ? '' : 's') + '\n');
updated:
ret += chalk.red.bold('✖ ' + total + ' problem' + (total === 1 ? '' : 's'));
<|file_sep|>stylish.js.diff
original:
ret += chalk.green.bold('✔ No problems\n');
updated:
ret += ch... | 224b6d4018466cbd3a6b174a89cf03668c64762e | stylish.js | stylish.js | JavaScript |
<|file_sep|>README.md.diff
original:
updated:
Prerequisite
------------
A couchdb server should listen on localhost:5984
<|file_sep|>original/README.md
Hosta
=======
Install
-------
```sh
sudo npm install -g grunt-cli
npm install
grunt build
cd server
npm start
```
Configuration
-------------
*TODO : describing av... | =======
Prerequisite
------------
A couchdb server should listen on localhost:5984
Install
-------
```sh
sudo npm install -g grunt-cli
npm install
grunt build
cd server
npm install
npm start
```
Configuration
-------------
*TODO : describing available configurations* | <|file_sep|>README.md.diff
original:
updated:
Prerequisite
------------
A couchdb server should listen on localhost:5984
<|file_sep|>original/README.md
Hosta
=======
Install
-------
```sh
sudo npm install -g grunt-cli
npm install
grunt build
cd server
npm start
```
Configuration
-------------
*TODO : describing av... | ac55550ee213ca811a8e390cc694e850dda4ddeb | README.md | README.md | Markdown |
<|file_sep|>original/testem.js
'Chrome'
],
launch_in_dev: [
'Chrome'
],
browser_args: {
Chrome: {
ci: [
// --no-sandbox is needed when running Chrome inside a container
process.env.CI ? '--no-sandbox' : null,
'--headless',
'--disable-gpu',
'--disable-dev... | launch_in_ci: [
'Chrome'
],
launch_in_dev: [
'Chrome'
],
browser_args: {
Chrome: {
ci: [
// --no-sandbox is needed when running Chrome inside a container
process.env.CI ? '--no-sandbox' : null,
'--headless',
'--disable-gpu',
'--disable-software-rasteri... | <|file_sep|>original/testem.js
'Chrome'
],
launch_in_dev: [
'Chrome'
],
browser_args: {
Chrome: {
ci: [
// --no-sandbox is needed when running Chrome inside a container
process.env.CI ? '--no-sandbox' : null,
'--headless',
'--disable-gpu',
'--disable-dev... | 0d7f2303ae7c8395a5f71a49694488e75eef55f6 | testem.js | testem.js | JavaScript |
<|file_sep|>original/recipes/rastervision-aws-batch/0001-fix-imports.patch
diff --git a/requirements.txt b/requirements.txt
index e69de29..652997b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -0,0 +1,3 @@
+boto3==1.17.*
+rastervision_pipeline==0.13
+awscli==1.19.*
\ No newline at end of file
diff --git a/set... | diff --git a/requirements.txt b/requirements.txt
index e69de29..652997b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -0,0 +1,3 @@
+boto3==1.17.*
+rastervision_pipeline==0.13
+awscli==1.19.*
+typing_extensions==3.10.0.0
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 2fb0a58..6ac077d 100644... | <|file_sep|>original/recipes/rastervision-aws-batch/0001-fix-imports.patch
diff --git a/requirements.txt b/requirements.txt
index e69de29..652997b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -0,0 +1,3 @@
+boto3==1.17.*
+rastervision_pipeline==0.13
+awscli==1.19.*
\ No newline at end of file
diff --git a/set... | b0aee40ec12f85e66fcdc1b1812a7839da17b7d2 | recipes/rastervision-aws-batch/0001-fix-imports.patch | recipes/rastervision-aws-batch/0001-fix-imports.patch | Diff |
<|file_sep|>original/README.md
[](https://travis-ci.org/OCA/carrier-delivery)
[](https://coveralls.io/r/OCA/carrier-delivery?branch=8.0)
Carriers And Deliver... | [](https://travis-ci.org/OCA/carrier-delivery)
[](https://coveralls.io/r/OCA/carrier-delivery?branch=8.0)
Carriers And Deliveries Management
================... | <|file_sep|>original/README.md
[](https://travis-ci.org/OCA/carrier-delivery)
[](https://coveralls.io/r/OCA/carrier-delivery?branch=8.0)
Carriers And Deliver... | 41e5b6d1ac4c9bfce02d4ee51be5a45cffe57c1c | README.md | README.md | Markdown |
<|file_sep|>original/src/tests/ggrc/models/test_control_assessment.py
<|file_sep|>current/src/tests/ggrc/models/test_control_assessment.py
<|file_sep|>updated/src/tests/ggrc/models/test_control_assessment.py | # Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
# Created By: miha@reciprocitylabs.com
# Maintained By: miha@reciprocitylabs.com
from ggrc import db
from ggrc.models import ControlAssessment
from tests.ggrc im... | <|file_sep|>original/src/tests/ggrc/models/test_control_assessment.py
<|file_sep|>current/src/tests/ggrc/models/test_control_assessment.py
<|file_sep|>updated/src/tests/ggrc/models/test_control_assessment.py
# Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
# Licensed under http://www.apa... | 21183a9b42be47aaa81b7132a960aea62f218f15 | src/tests/ggrc/models/test_control_assessment.py | src/tests/ggrc/models/test_control_assessment.py | Python |
<|file_sep|>original/README.md
# prosemirror-markdown
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror-markdown/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) ]
ProseMirror is a well-behaved rich semanti... | # prosemirror-markdown
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror-markdown/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) ]
This is a (non-core) module for [ProseMirror](http://prosemirror.net).
Pr... | <|file_sep|>original/README.md
# prosemirror-markdown
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror-markdown/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) ]
ProseMirror is a well-behaved rich semanti... | ace26e0e960c2286a02bbf41468557a4bb11565b | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
- sudo add-apt-repository -y ppa:boost-latest/ppa
<|file_sep|>original/.travis.yml
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
before_script:
... | addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
before_script:
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo apt-get update -qq
- sudo apt-get install libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-serialization1.55-dev libboos... | <|file_sep|>.travis.yml.diff
original:
updated:
- sudo add-apt-repository -y ppa:boost-latest/ppa
<|file_sep|>original/.travis.yml
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
before_script:
... | a239dde4ad375cf2f8cf6ade899bec9b0cf1bdc6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/topics/releases/2015.8.1.rst
===========================
Salt 2015.8.1 Release Notes
===========================
Version 2015.8.1 is a bugfix release for :doc:`2015.8.0
</topics/releases/2015.8.0>`.
Changes:
<|file_sep|>current/doc/topics/releases/2015.8.1.rst
===========================
Salt... | ===========================
Salt 2015.8.1 Release Notes
===========================
Version 2015.8.1 is a bugfix release for :doc:`2015.8.0
</topics/releases/2015.8.0>`.
Changes:
- Some issues with proxy minions were corrected.
Known Issues:
- Proxy minions currently cannot execute a highstate because of the way
... | <|file_sep|>original/doc/topics/releases/2015.8.1.rst
===========================
Salt 2015.8.1 Release Notes
===========================
Version 2015.8.1 is a bugfix release for :doc:`2015.8.0
</topics/releases/2015.8.0>`.
Changes:
<|file_sep|>current/doc/topics/releases/2015.8.1.rst
===========================
Salt... | 3a297d80366b7a493ab03b5746ae412dd421f023 | doc/topics/releases/2015.8.1.rst | doc/topics/releases/2015.8.1.rst | reStructuredText |
<|file_sep|>original/app/overrides/auth_shared_login_bar.rb
Deface::Override.new(:virtual_path => "spree/shared/_nav_bar",
:name => "auth_shared_login_bar",
:insert_before => "li#search-bar",
:partial => "spree/shared/login_bar",
:disab... | Deface::Override.new(
virtual_path: "spree/shared/_nav_bar",
name: "auth_shared_login_bar",
insert_before: "li#search-bar",
partial: "spree/shared/login_bar",
disabled: false,
original: 'eb3fa668cd98b6a1c75c36420ef1b238a1fc55ac'
) | <|file_sep|>original/app/overrides/auth_shared_login_bar.rb
Deface::Override.new(:virtual_path => "spree/shared/_nav_bar",
:name => "auth_shared_login_bar",
:insert_before => "li#search-bar",
:partial => "spree/shared/login_bar",
:disab... | 7626c1db9cd7f5eb0989d023195d35a357200cea | app/overrides/auth_shared_login_bar.rb | app/overrides/auth_shared_login_bar.rb | Ruby |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode9.3
script: xcodebuild clean && xcodebuild build -project FeistyDB.xcodeproj -scheme FeistyDB
before_install:
- ./get-sqlite.sh
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: xcode9.3
script: xcodebuild clean && xcodebuild build... | language: objective-c
osx_image: xcode11
script: xcodebuild clean && xcodebuild build -project FeistyDB.xcodeproj -scheme FeistyDB
before_install:
- ./get-sqlite.sh | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode9.3
script: xcodebuild clean && xcodebuild build -project FeistyDB.xcodeproj -scheme FeistyDB
before_install:
- ./get-sqlite.sh
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: xcode9.3
script: xcodebuild clean && xcodebuild build... | 79c346926aa47f7571af7e94aff3f43c01e29d34 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Sources/Moya/MoyaProvider+Defaults.swift
import Alamofire
/// These functions are default mappings to `MoyaProvider`'s properties: endpoints, requests, manager, etc.
public extension MoyaProvider {
public final class func defaultEndpointMapping(for target: Target) -> Endpoint<Target> {
... | import Foundation
import Alamofire
/// These functions are default mappings to `MoyaProvider`'s properties: endpoints, requests, manager, etc.
public extension MoyaProvider {
public final class func defaultEndpointMapping(for target: Target) -> Endpoint<Target> {
let url = target.baseURL.appendingPathCompo... | <|file_sep|>original/Sources/Moya/MoyaProvider+Defaults.swift
import Alamofire
/// These functions are default mappings to `MoyaProvider`'s properties: endpoints, requests, manager, etc.
public extension MoyaProvider {
public final class func defaultEndpointMapping(for target: Target) -> Endpoint<Target> {
... | 5baa844c5f0b53ec4c451ea6f7a661c919190c4a | Sources/Moya/MoyaProvider+Defaults.swift | Sources/Moya/MoyaProvider+Defaults.swift | Swift |
<|file_sep|>original/README.md
======
Arduino library for dynamixel servos
This library allows you to control the Robotis servo motors that use a custom half-duplex serial protocol.
You can control TTL models directly from Arduino, without any additional hardware, using hardware or software UART.
Communication speed... | This library allows you to control the Robotis servo motors that use a custom half-duplex serial protocol.
You can control TTL models directly from Arduino, without any additional hardware, using hardware or software UART.
Communication speed up to 1 MBd is supported with hardware serial.
The most useful functions (sp... | <|file_sep|>original/README.md
======
Arduino library for dynamixel servos
This library allows you to control the Robotis servo motors that use a custom half-duplex serial protocol.
You can control TTL models directly from Arduino, without any additional hardware, using hardware or software UART.
Communication speed... | 79b65e6b869344ace0f495bfff06826f0cace667 | README.md | README.md | Markdown |
<|file_sep|>original/templates/peering/bgpgroup/inc/sessions_table.html
{% extends 'utils/object_list.html' %}
{% block extra_buttons %}
{% if perms.peering.change_directpeeringsession and instance.check_bgp_session_states %}
<button type="button" class="btn btn-sm btn-success" id="id_poll_session_states">
<i class="... | {% extends 'utils/object_list.html' %}
{% block extra_buttons %}
{% if perms.peering.change_directpeeringsession and instance.check_bgp_session_states %}
<button type="button" class="btn btn-sm btn-success" id="id_poll_session_states">
<i class="fas fa-sync"></i> Poll States
</button>
{% endif %}
{% if perms.peering.... | <|file_sep|>original/templates/peering/bgpgroup/inc/sessions_table.html
{% extends 'utils/object_list.html' %}
{% block extra_buttons %}
{% if perms.peering.change_directpeeringsession and instance.check_bgp_session_states %}
<button type="button" class="btn btn-sm btn-success" id="id_poll_session_states">
<i class="... | 1efb7b21e7b9dde23316e88a77a0a880f04c75e7 | templates/peering/bgpgroup/inc/sessions_table.html | templates/peering/bgpgroup/inc/sessions_table.html | HTML |
<|file_sep|>original/assets/js/dataTables.filter.perlModule.js
* @summary Make Perl module names searchable
* @name Perl module
* @author Zak B. Elep
*
* @example
* $(document).ready(function() {
* $('#example').dataTable({
* columDefs: [
* { type: 'perlModule', target: 1 }
* ]
* ... | * @summary Make Perl module names searchable
* @name Perl module
* @author Zak B. Elep
*
* @example
* $(document).ready(function() {
* $('#example').dataTable({
* columDefs: [
* { type: 'perlModule', target: 1 }
* ]
* });
* });
*/
jQuery.fn.DataTable.ext.type.search.perlMod... | <|file_sep|>original/assets/js/dataTables.filter.perlModule.js
* @summary Make Perl module names searchable
* @name Perl module
* @author Zak B. Elep
*
* @example
* $(document).ready(function() {
* $('#example').dataTable({
* columDefs: [
* { type: 'perlModule', target: 1 }
* ]
* ... | e9251f0c4b9bc9d94afd02f97183f295edd3b59e | assets/js/dataTables.filter.perlModule.js | assets/js/dataTables.filter.perlModule.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "transmoglify-amd",
"version": "0.0.0",
"description": "",
"main": "lib",
"directories": {
"test": "test"
},
"scripts": {
"ci": "npm run test && npm run lint",
"test": "mocha --reporter spec --ui tdd test/tests/*",
"lint": "jshint lib/ test/tests... | {
"name": "transmogrify-amd",
"version": "0.0.0",
"description": "",
"main": "lib",
"directories": {
"test": "test"
},
"scripts": {
"ci": "npm run test && npm run lint",
"test": "mocha --reporter spec --ui tdd test/tests/*",
"lint": "jshint lib/ test/tests/*.js test/util/*.js",
"doc": ... | <|file_sep|>original/package.json
{
"name": "transmoglify-amd",
"version": "0.0.0",
"description": "",
"main": "lib",
"directories": {
"test": "test"
},
"scripts": {
"ci": "npm run test && npm run lint",
"test": "mocha --reporter spec --ui tdd test/tests/*",
"lint": "jshint lib/ test/tests... | 1bc18557cf34f367722d1ec6af6611dcf1e00ce5 | package.json | package.json | JSON |
<|file_sep|>original/requirements.txt
# json validation (inspector)
jsonschema==2.6.0
# testing
pytest==3.3.0
betamax==0.8.0
# documentation
Sphinx==1.6.5
nbsphinx==0.2.17
# data science
jupyter==1.0.0
matplotlib==2.1.0
# integration
tox==2.9.1
# code style
flake8==3.5.0
<|file_sep|>current/requirements.txt
# js... |
# json validation (inspector)
jsonschema==2.6.0
# testing
pytest==3.3.0
betamax==0.8.0
# documentation
Sphinx==1.6.5
nbsphinx==0.2.18
# data science
jupyter==1.0.0
matplotlib==2.1.0
# integration
tox==2.9.1
# code style
flake8==3.5.0 | <|file_sep|>original/requirements.txt
# json validation (inspector)
jsonschema==2.6.0
# testing
pytest==3.3.0
betamax==0.8.0
# documentation
Sphinx==1.6.5
nbsphinx==0.2.17
# data science
jupyter==1.0.0
matplotlib==2.1.0
# integration
tox==2.9.1
# code style
flake8==3.5.0
<|file_sep|>current/requirements.txt
# js... | d805bc0d3686400673343bc85a8278d74e648d15 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: csharp
solution: ./src/ScaffoldR.sln
install:
- nuget restore ./src/ScaffoldR.sln
script:
- xbuild /p:Configuration=Release ./src/ScaffoldR.sln
- mono ./testrunner/xunit.runner.console.*/tools/xunit.console.clr4.exe ./src/ScaffoldR.Tests/bin/Release/ScaffoldR.Tests.dll
... | language: csharp
solution: ./src/ScaffoldR.sln
install:
- nuget restore ./src/ScaffoldR.sln
script:
- xbuild /p:Configuration=Release ./src/ScaffoldR.sln
- mono ./testrunner/xunit.runner.console.*/tools/xunit.console.exe ./src/ScaffoldR.Tests/bin/Release/ScaffoldR.Tests.dll
- mono ./testrunner/xunit.runner.cons... | <|file_sep|>original/.travis.yml
language: csharp
solution: ./src/ScaffoldR.sln
install:
- nuget restore ./src/ScaffoldR.sln
script:
- xbuild /p:Configuration=Release ./src/ScaffoldR.sln
- mono ./testrunner/xunit.runner.console.*/tools/xunit.console.clr4.exe ./src/ScaffoldR.Tests/bin/Release/ScaffoldR.Tests.dll
... | a9916e6a7968b5b8651472c3b446740eb08b59a7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>platform/default/cuda_libdevice_path.cc.diff
original:
updated:
#include <string>
<|file_sep|>platform/default/cuda_libdevice_path.cc.diff
original:
std::vector<string> CandidateCudaRoots() {
updated:
std::vector<std::string> CandidateCudaRoots() {
<|file_sep|>platform/default/cuda_libdevice_path.cc.diff
o... | #include "tensorflow/core/platform/platform.h"
#if !defined(PLATFORM_GOOGLE)
#include "third_party/gpus/cuda/cuda_config.h"
#endif
#include "tensorflow/core/platform/logging.h"
namespace tensorflow {
std::vector<std::string> CandidateCudaRoots() {
#if !defined(PLATFORM_GOOGLE)
VLOG(3) << "CUDA root = " << TF_CUDA_... | <|file_sep|>platform/default/cuda_libdevice_path.cc.diff
original:
updated:
#include <string>
<|file_sep|>platform/default/cuda_libdevice_path.cc.diff
original:
std::vector<string> CandidateCudaRoots() {
updated:
std::vector<std::string> CandidateCudaRoots() {
<|file_sep|>platform/default/cuda_libdevice_path.cc.diff
o... | 34105548daf797b6fdd0e9ff4cd4e184c71c0700 | platform/default/cuda_libdevice_path.cc | platform/default/cuda_libdevice_path.cc | C++ |
<|file_sep|>sw-client/build.gradle.kts.diff
original:
val krossbowVersion = "1.1.0"
updated:
<|file_sep|>original/sw-client/build.gradle.kts
val krossbowVersion = "1.1.0"
kotlin {
jvm()
js {
browser() // necessary for local dependency from JS UI module
}
sourceSets {
val commonMain b... |
kotlin {
jvm()
js {
browser() // necessary for local dependency from JS UI module
}
sourceSets {
val commonMain by getting {
dependencies {
api(project(":sw-common-model"))
api("org.hildan.krossbow:krossbow-stomp-kxserialization:1.1.2")
... | <|file_sep|>sw-client/build.gradle.kts.diff
original:
val krossbowVersion = "1.1.0"
updated:
<|file_sep|>original/sw-client/build.gradle.kts
val krossbowVersion = "1.1.0"
kotlin {
jvm()
js {
browser() // necessary for local dependency from JS UI module
}
sourceSets {
val commonMain b... | 8bd6c8a7fcd28c9534feaf45b1d447d68185834d | sw-client/build.gradle.kts | sw-client/build.gradle.kts | Kotlin |
<|file_sep|>original/appveyor.yml
environment:
# The.NET Core CLI tries to add the default locations to the PATH environmentvariable on its first usage. Set to true to skip caching
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Specifies whether data about the.NET Coretools usageis collected and sent to Microsoft. Set... | environment:
# The.NET Core CLI tries to add the default locations to the PATH environmentvariable on its first usage. Set to true to skip caching
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Specifies whether data about the.NET Coretools usageis collected and sent to Microsoft. Set to true to opt-out of thetelemetr... | <|file_sep|>original/appveyor.yml
environment:
# The.NET Core CLI tries to add the default locations to the PATH environmentvariable on its first usage. Set to true to skip caching
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Specifies whether data about the.NET Coretools usageis collected and sent to Microsoft. Set... | 946e87e63d4bb726784ebeedf564b42c4e6a6a51 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>README.md.diff
original:
updated:
### DEPRECATED
**For current information about Cat Facts, please visit the [new repository][0].**
Original content for posterity.
<|file_sep|>original/README.md
# Cat Related Content
A bunch of cat related services
## catfacts.html
https://michael.standen.link/catfac... | ### DEPRECATED
**For current information about Cat Facts, please visit the [new repository][0].**
Original content for posterity.
https://michael.standen.link/catfacts.html
Subscribe to a daily mailing list of cat facts.
If you just want the facts, they are in [catfacts.txt](https://github.com/ScreamingHawk/milk-s... | <|file_sep|>README.md.diff
original:
updated:
### DEPRECATED
**For current information about Cat Facts, please visit the [new repository][0].**
Original content for posterity.
<|file_sep|>original/README.md
# Cat Related Content
A bunch of cat related services
## catfacts.html
https://michael.standen.link/catfac... | c7c7421382c4fd81fd891cf478d64e031b952ac2 | README.md | README.md | Markdown |
<|file_sep|>backend/server/db/model/access.js.diff
original:
allByProject: allByProject
updated:
allByProject: allByProject,
adminUsers: adminUsers,
<|file_sep|>original/backend/server/db/model/access.js
module.exports = function(r) {
'use strict';
return {
allByProject: allByPr... | allByProject: allByProject,
adminUsers: adminUsers,
};
function allByProject() {
return r.table('access').run().then(function(allAccess) {
let byProject = {};
allAccess.forEach(function(a) {
if (!(a.project_id in byProject)) {
... | <|file_sep|>backend/server/db/model/access.js.diff
original:
allByProject: allByProject
updated:
allByProject: allByProject,
adminUsers: adminUsers,
<|file_sep|>original/backend/server/db/model/access.js
module.exports = function(r) {
'use strict';
return {
allByProject: allByPr... | 2f3da69cc1e898bc89452d43fdca711f2cc00a3b | backend/server/db/model/access.js | backend/server/db/model/access.js | JavaScript |
<|file_sep|>src/block/serpent/serpent.h.diff
original:
updated:
/**
* For use by subclasses using SIMD, asm, etc
* @return const reference to the key schedule
*/
const SecureVector<u32bit, 132>& get_round_keys() const
{ return round_key; }
/**
* For use by subclasses... | * For use by subclasses using SIMD, asm, etc
* @return const reference to the key schedule
*/
const SecureVector<u32bit, 132>& get_round_keys() const
{ return round_key; }
/**
* For use by subclasses that implement the key schedule
* @param ks is the new key schedule ... | <|file_sep|>src/block/serpent/serpent.h.diff
original:
updated:
/**
* For use by subclasses using SIMD, asm, etc
* @return const reference to the key schedule
*/
const SecureVector<u32bit, 132>& get_round_keys() const
{ return round_key; }
/**
* For use by subclasses... | a62eaa2f7447d930db84f966986736d30ef522bb | src/block/serpent/serpent.h | src/block/serpent/serpent.h | C |
<|file_sep|>original/test/test_translate.py
class Test(unittest.TestCase):
def setUp(self):
self.longMessage = True
logging.root.setLevel(logging.DEBUG)
def test_translate_genomes(self):
# Select genomes
genomes = select_genomes_by_ids(['13305.1']).values()
# Call tr... |
# Call translate
dnafiles, aafiles = translate.translate_genomes(genomes)
# Verify expected output
first_header = '13305.1|NC_008253.1|YP_667942.1|None|thr'
first = next(SeqIO.parse(dnafiles[0], 'fasta'))
self.assertEqual(first_header, first.id)
first = next(Seq... | <|file_sep|>original/test/test_translate.py
class Test(unittest.TestCase):
def setUp(self):
self.longMessage = True
logging.root.setLevel(logging.DEBUG)
def test_translate_genomes(self):
# Select genomes
genomes = select_genomes_by_ids(['13305.1']).values()
# Call tr... | a2572d38eeaa7c004142a194b18fd6fdfff99f9a | test/test_translate.py | test/test_translate.py | Python |
<|file_sep|>original/package.json
"url": "git://github.com/fb55/readabilitysax.git"
},
"dependencies": {
"entities": "^2.2.0",
"htmlparser2": "^6.1.0",
"minreq": "^0.2.3",
"readable-stream": "^3.6.0"
},
"devDependencies": {
"coveralls": "^3.1.1",
"... | "url": "git://github.com/fb55/readabilitysax.git"
},
"dependencies": {
"entities": "^2.2.0",
"htmlparser2": "^6.1.0",
"minreq": "^0.2.3",
"readable-stream": "^3.6.0"
},
"devDependencies": {
"coveralls": "^3.1.1",
"eslint": "^7.31.0",
"eslin... | <|file_sep|>original/package.json
"url": "git://github.com/fb55/readabilitysax.git"
},
"dependencies": {
"entities": "^2.2.0",
"htmlparser2": "^6.1.0",
"minreq": "^0.2.3",
"readable-stream": "^3.6.0"
},
"devDependencies": {
"coveralls": "^3.1.1",
"... | 5a3f227a8c54e54414d0902e57c3184161b2e443 | package.json | package.json | JSON |
<|file_sep|>original/components/model/model.ts
import { ModelFactory } from './model-service';
export { Model } from './model-service';
export const ModelModule = angular.module( 'gj.Model', [] )
.factory( 'Model', ModelFactory )
.name
;
<|file_sep|>current/components/model/model.ts
import { ModelFactory } from './mod... | import { ModelFactory } from './model-service';
export { Model } from './model-service';
export default angular.module( 'gj.Model', [] )
.factory( 'Model', ModelFactory )
.name
; | <|file_sep|>original/components/model/model.ts
import { ModelFactory } from './model-service';
export { Model } from './model-service';
export const ModelModule = angular.module( 'gj.Model', [] )
.factory( 'Model', ModelFactory )
.name
;
<|file_sep|>current/components/model/model.ts
import { ModelFactory } from './mod... | d13cbba50f9c1f043e003a1988b0d4458b268a81 | components/model/model.ts | components/model/model.ts | TypeScript |
<|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- rbx
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- rbx
<|file_sep|>updated/.travis.yml | before_install:
- gem update bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- rbx | <|file_sep|>original/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- rbx
<|file_sep|>current/.travis.yml
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
- rbx
<|file_sep|>updated/.travis.yml
before_install:
- gem update bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.3.0
-... | 89132558204d4eae6f3b58d8d0efa0c5fe104216 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/test_requirements.txt
codacy-coverage==1.3.11
pytest==5.2.2
pytest-cov==2.8.1
python-coveralls==2.9.3
pytest-flask==0.15.0
pytest-xdist==1.29.0
<|file_sep|>current/test_requirements.txt
codacy-coverage==1.3.11
pytest==5.2.2
pytest-cov==2.8.1
python-coveralls==2.9.3
pytest-flask==0.15.0
pytest-xdist... | codacy-coverage==1.3.11
pytest==5.2.2
pytest-cov==2.8.1
python-coveralls==2.9.3
pytest-flask==0.15.0
pytest-xdist==1.30.0 | <|file_sep|>original/test_requirements.txt
codacy-coverage==1.3.11
pytest==5.2.2
pytest-cov==2.8.1
python-coveralls==2.9.3
pytest-flask==0.15.0
pytest-xdist==1.29.0
<|file_sep|>current/test_requirements.txt
codacy-coverage==1.3.11
pytest==5.2.2
pytest-cov==2.8.1
python-coveralls==2.9.3
pytest-flask==0.15.0
pytest-xdist... | 7c1c0ce6146cf4341bd429b2105c2f548382de6c | test_requirements.txt | test_requirements.txt | Text |
<|file_sep|>original/docs/source/_assets/js/app.js
const anchorJS = require('anchor-js')
const Prism = require('./prism')
window.anchors = new anchorJS()
window.Vue = require('vue')
Vue.component('responsive-code-sample', require('./components/ResponsiveCodeSample.vue'))
const app = new Vue({
el: '#app'
})
Pris... | const Prism = require('./prism')
window.anchors = new anchorJS()
window.Vue = require('vue')
Vue.component('responsive-code-sample', require('./components/ResponsiveCodeSample.vue'))
const app = new Vue({
el: '#app'
})
Prism.highlightAll()
anchors.options = { placement: 'left', class: 'text-slate-light' };
anch... | <|file_sep|>original/docs/source/_assets/js/app.js
const anchorJS = require('anchor-js')
const Prism = require('./prism')
window.anchors = new anchorJS()
window.Vue = require('vue')
Vue.component('responsive-code-sample', require('./components/ResponsiveCodeSample.vue'))
const app = new Vue({
el: '#app'
})
Pris... | 1ab8bfbe15bdc630aad637f77fac7155256f3b0c | docs/source/_assets/js/app.js | docs/source/_assets/js/app.js | JavaScript |
<|file_sep|>deployment/nether-all/deploy.ps1.diff
original:
updated:
<#
- from Nether.Web run "dotnet publish -c Release"
#>
#uncomment sample to delete previous resource groups by prefix
Get-AzureRmResourceGroup | Where-Object { $_.ResourceGroupName.StartsWith("nether-deploy-") } | Remove-AzureRmResourceGrou... | param
(
[string]
$ResourceGroupName
)
#Login-AzureRmAccount
<#
- from Nether.Web run "dotnet publish -c Release"
#>
#uncomment sample to delete previous resource groups by prefix
Get-AzureRmResourceGroup | Where-Object { $_.ResourceGroupName.StartsWith("nether-deploy-") } | Remove-AzureRmResourceGrou... | <|file_sep|>deployment/nether-all/deploy.ps1.diff
original:
updated:
<#
- from Nether.Web run "dotnet publish -c Release"
#>
#uncomment sample to delete previous resource groups by prefix
Get-AzureRmResourceGroup | Where-Object { $_.ResourceGroupName.StartsWith("nether-deploy-") } | Remove-AzureRmResourceGrou... | 34e6dda077e5c4567bbf5d10de15875ab23f3f64 | deployment/nether-all/deploy.ps1 | deployment/nether-all/deploy.ps1 | PowerShell |
<|file_sep|>original/tasks/intern.js
// local browser
browser: {
options: {
runType: 'runner',
config: 'tests/intern_browser',
suites: ['tests/all']
}
},
sauce: {
options: {
runType: 'runner',
config: 'tests/intern_sauce',
suites: ['tests... | // local browser
browser: {
options: {
runType: 'runner',
config: 'tests/intern_browser',
suites: ['tests/all']
}
},
sauce: {
options: {
runType: 'runner',
config: 'tests/intern_sauce',
suites: ['tests/all'],
sauceUsername: 'fxa-c... | <|file_sep|>original/tasks/intern.js
// local browser
browser: {
options: {
runType: 'runner',
config: 'tests/intern_browser',
suites: ['tests/all']
}
},
sauce: {
options: {
runType: 'runner',
config: 'tests/intern_sauce',
suites: ['tests... | fa9a2d1bcc78fc55bb4b7b4bfb12be2ec3f16eab | tasks/intern.js | tasks/intern.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.5
install:
- pip install -r requirements.txt
- pip install nosetests pep8
script:
- nosetests -v
- pep8 yaml_argparse.py
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.5
install:
- pip install -r requirements.txt
... | language: python
python:
- 2.7
- 3.5
install:
- pip install -r requirements.txt
- pip install nose pep8
script:
- nosetests -v
- pep8 yaml_argparse.py | <|file_sep|>original/.travis.yml
language: python
python:
- 2.7
- 3.5
install:
- pip install -r requirements.txt
- pip install nosetests pep8
script:
- nosetests -v
- pep8 yaml_argparse.py
<|file_sep|>current/.travis.yml
language: python
python:
- 2.7
- 3.5
install:
- pip install -r requirements.txt
... | d3f85ee8c814d476ea32b1de7d0ef8edfc4431c3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/code/tests/adlb-putget.sh
#!/bin/bash
set -x
THIS=$0
SCRIPT=${THIS%.sh}.tcl
OUTPUT=${THIS%.sh}.out
bin/turbine -n 3 ${SCRIPT} >& ${OUTPUT}
[[ ${?} == 0 ]] || exit 1
grep -q "answer_rank: 0" ${OUTPUT} || exit 1
grep -q "msg: hello" ${OUTPUT} || exit 1
LINES=$( grep -c OK ${OUTPUT} )
[[ ${LI... | #!/bin/bash
set -x
THIS=$0
SCRIPT=${THIS%.sh}.tcl
OUTPUT=${THIS%.sh}.out
bin/turbine -l -n 3 ${SCRIPT} >& ${OUTPUT}
[[ ${?} == 0 ]] || exit 1
grep -q "answer_rank: 0" ${OUTPUT} || exit 1
grep -q "msg: hello" ${OUTPUT} || exit 1
LINES=$( grep -c OK ${OUTPUT} )
[[ ${LINES} == 3 ]] || exit 1
exit 0 | <|file_sep|>original/code/tests/adlb-putget.sh
#!/bin/bash
set -x
THIS=$0
SCRIPT=${THIS%.sh}.tcl
OUTPUT=${THIS%.sh}.out
bin/turbine -n 3 ${SCRIPT} >& ${OUTPUT}
[[ ${?} == 0 ]] || exit 1
grep -q "answer_rank: 0" ${OUTPUT} || exit 1
grep -q "msg: hello" ${OUTPUT} || exit 1
LINES=$( grep -c OK ${OUTPUT} )
[[ ${LI... | 4ba5716fa694a069bf95d1c90db81339e62b3f07 | code/tests/adlb-putget.sh | code/tests/adlb-putget.sh | Shell |
<|file_sep|>original/cbits/counter.c
StgInt* hs_counter_new(void) {
StgInt* counter = malloc(sizeof(StgInt));
*counter = 0;
return counter;
}
void hs_counter_add(volatile StgInt* counter, StgInt n) {
StgInt temp = n;
#if SIZEOF_VOID_P == 8
__asm__ __volatile__("lock; xaddq %0,%1"
#elif SIZEOF_VOID_P == 4
__... | #include <stdlib.h>
#include "HsFFI.h"
StgInt* hs_counter_new(void) {
StgInt* counter = malloc(sizeof(StgInt));
*counter = 0;
return counter;
}
void hs_counter_add(volatile StgInt* counter, StgInt n) {
__sync_fetch_and_add(counter, n);
}
StgInt hs_counter_read(volatile const StgInt* counter) {
return *count... | <|file_sep|>original/cbits/counter.c
StgInt* hs_counter_new(void) {
StgInt* counter = malloc(sizeof(StgInt));
*counter = 0;
return counter;
}
void hs_counter_add(volatile StgInt* counter, StgInt n) {
StgInt temp = n;
#if SIZEOF_VOID_P == 8
__asm__ __volatile__("lock; xaddq %0,%1"
#elif SIZEOF_VOID_P == 4
__... | 308768c5b18790f8154396db181abefca65c699c | cbits/counter.c | cbits/counter.c | C |
<|file_sep|>original/libimagruby/test/test_store_id_load.rb
#!/usr/bin/env ruby
require 'fiddle'
lib = Fiddle::dlopen './target/debug/libimag_ruby.so'
Fiddle::Function::new(lib['imag_ruby_initialize'], [], Fiddle::TYPE_VOIDP).call
works = (not RStoreId.new_baseless("test").nil?)
puts "Works: #{works}"
<|file_sep|>... | #!/usr/bin/env ruby
require 'fiddle'
lib = Fiddle::dlopen '../target/release/liblibimagruby.so'
Fiddle::Function::new(lib['imag_ruby_initialize'], [], Fiddle::TYPE_VOIDP).call
works = (not RStoreId.new_baseless("test").nil?)
puts "Works: #{works}"
| <|file_sep|>original/libimagruby/test/test_store_id_load.rb
#!/usr/bin/env ruby
require 'fiddle'
lib = Fiddle::dlopen './target/debug/libimag_ruby.so'
Fiddle::Function::new(lib['imag_ruby_initialize'], [], Fiddle::TYPE_VOIDP).call
works = (not RStoreId.new_baseless("test").nil?)
puts "Works: #{works}"
<|file_sep|>... | 4fde23bc1b19c571ac8d74742559f480f9fb034e | libimagruby/test/test_store_id_load.rb | libimagruby/test/test_store_id_load.rb | Ruby |
<|file_sep|>webpack.config.js.diff
original:
updated:
const mainFile = "InfiniteAnyHeight.jsx"
<|file_sep|>webpack.config.js.diff
original:
main: __dirname + "/src/InfiniteAnyHeight.jsx",
updated:
main: __dirname + "/src/" + mainFile,
<|file_sep|>original/webpack.config.js
module.exports = {
entry: {
ma... | const mainFile = "InfiniteAnyHeight.jsx"
module.exports = {
entry: {
main: __dirname + "/src/" + mainFile,
},
output: {
filename: "[name].js",
path: __dirname + "/dist",
library: mainFile.substring (0, mainFile.indexOf(".")),
libraryTarget: "umd",
},
devtool: "source-map",
module: {
... | <|file_sep|>webpack.config.js.diff
original:
updated:
const mainFile = "InfiniteAnyHeight.jsx"
<|file_sep|>webpack.config.js.diff
original:
main: __dirname + "/src/InfiniteAnyHeight.jsx",
updated:
main: __dirname + "/src/" + mainFile,
<|file_sep|>original/webpack.config.js
module.exports = {
entry: {
ma... | 560f0f9050a4fc21b2f8e9c8f663c86ef0942eea | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>current/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>updated/.travis.yml | sudo: required
before_install: gem update --system
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0 | <|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>current/.travis.yml
sudo: required
dist: trusty
language: ruby
rvm:
- 2.0.0
- 2.1
- 2.2
- 2.3.0
<|file_sep|>updated/.travis.yml
sudo: required
before_install: gem update --system
dist: trusty
languag... | f0a541ab7ea9790f374844c373d38d449bfc992d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/InstitutionConfigurationOptionsService.php
<|file_sep|>current/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/InstitutionConfigurationOptionsService.php
<|file_sep|>updated/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/Ins... | <?php
/**
* Copyright 2016 SURFnet B.V.
*
* 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 a... | <|file_sep|>original/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/InstitutionConfigurationOptionsService.php
<|file_sep|>current/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/InstitutionConfigurationOptionsService.php
<|file_sep|>updated/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/Ins... | d807c911a629d860c79856165d9478ae2889c228 | src/Surfnet/StepupSelfService/SelfServiceBundle/Service/InstitutionConfigurationOptionsService.php | src/Surfnet/StepupSelfService/SelfServiceBundle/Service/InstitutionConfigurationOptionsService.php | PHP |
<|file_sep|>original/fuzz/Cargo.toml
[package]
name = "serde_yaml-fuzz"
version = "0.0.0"
authors = ["David Korczynski <david@adalogics.com>"]
publish = false
edition = "2018"
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.3"
serde_yaml = { path = ".." }
[[bin]]
name = "fuzz_from_slice"
path ... | [package]
name = "serde_yaml-fuzz"
version = "0.0.0"
authors = ["David Korczynski <david@adalogics.com>"]
publish = false
edition = "2018"
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.4.0"
serde_yaml = { path = ".." }
[[bin]]
name = "fuzz_from_slice"
path = "fuzz_targets/fuzz_from_slice.rs"... | <|file_sep|>original/fuzz/Cargo.toml
[package]
name = "serde_yaml-fuzz"
version = "0.0.0"
authors = ["David Korczynski <david@adalogics.com>"]
publish = false
edition = "2018"
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.3"
serde_yaml = { path = ".." }
[[bin]]
name = "fuzz_from_slice"
path ... | 48cbbf9e900199c6062c44b95b7d7c219b4e9c2a | fuzz/Cargo.toml | fuzz/Cargo.toml | TOML |
<|file_sep|>original/README.md
# -csc210-StudyAddiction
This is a repository that contains files related to a web application, called "StudyAddiction", for a Web Programming course.
**Milestone 1:** [Project Proposal](https://github.com/awsk1994/-csc210-StudyAddiction/blob/master/csc210-proposal.md)
**Milestone 2:**... | # -csc210-StudyAddiction
This is a repository that contains files related to a web application, called "StudyAddiction", for a Web Programming course.
**Milestone 1:** [Project Proposal](https://github.com/awsk1994/-csc210-StudyAddiction/blob/master/csc210-proposal.md)
**Milestone 2:** Go to milestone2 folder
3rd ... | <|file_sep|>original/README.md
# -csc210-StudyAddiction
This is a repository that contains files related to a web application, called "StudyAddiction", for a Web Programming course.
**Milestone 1:** [Project Proposal](https://github.com/awsk1994/-csc210-StudyAddiction/blob/master/csc210-proposal.md)
**Milestone 2:**... | e9d0d04c248555fd8efb81b1812b459671782da9 | README.md | README.md | Markdown |
<|file_sep|>original/src/Console/Commands/AddTranslations.php
* The console command description.
*/
protected $description = 'Add translations strings found in a file or directory.';
/**
* Execute the console command.
*/
public function handle()
{
foreach ($this->getFiles() ... | * The console command description.
*/
protected $description = 'Add translations strings found in a file or directory.';
/**
* Execute the console command.
*/
public function handle()
{
foreach ($this->getFiles() as $file) {
$targetDirectory = resource_path('lang... | <|file_sep|>original/src/Console/Commands/AddTranslations.php
* The console command description.
*/
protected $description = 'Add translations strings found in a file or directory.';
/**
* Execute the console command.
*/
public function handle()
{
foreach ($this->getFiles() ... | 058e79f40955fb8cebdb0b530ea1e6f3f89114b5 | src/Console/Commands/AddTranslations.php | src/Console/Commands/AddTranslations.php | PHP |
<|file_sep|>lib/json_expressions/rspec/matchers/match_json_expression.rb.diff
original:
updated:
alias_method :failure_message, :failure_message_for_should
<|file_sep|>original/lib/json_expressions/rspec/matchers/match_json_expression.rb
alias_method :===, :matches?
def failure_message_for_sho... | alias_method :===, :matches?
def failure_message_for_should
"expected #{@target.inspect} to match JSON expression #{@expected.inspect}\n" + @expected.last_error
end
alias_method :failure_message, :failure_message_for_should
def failure_message_for_should_not
... | <|file_sep|>lib/json_expressions/rspec/matchers/match_json_expression.rb.diff
original:
updated:
alias_method :failure_message, :failure_message_for_should
<|file_sep|>original/lib/json_expressions/rspec/matchers/match_json_expression.rb
alias_method :===, :matches?
def failure_message_for_sho... | 7386d91d247b2568a95ccca1b945afc01c2b248a | lib/json_expressions/rspec/matchers/match_json_expression.rb | lib/json_expressions/rspec/matchers/match_json_expression.rb | Ruby |
<|file_sep|>original/package.js
var where = 'client';
Package.describe({
name: 'lookback:dropdowns',
summary: 'Reactive dropdowns for Meteor.',
version: '1.1.0',
git: 'http://github.com/lookback/meteor-dropdowns'
});
Package.onUse(function(api) {
api.versionsFrom('1.0.2');
api.use('percolate:momentum@0.7.... | var where = 'client';
Package.describe({
name: 'lookback:dropdowns',
summary: 'Reactive dropdowns for Meteor.',
version: '1.1.0',
git: 'http://github.com/lookback/meteor-dropdowns'
});
Package.onUse(function(api) {
api.versionsFrom('METEOR@0.9.2');
api.use('percolate:momentum@0.7.2', where);
api.use([
... | <|file_sep|>original/package.js
var where = 'client';
Package.describe({
name: 'lookback:dropdowns',
summary: 'Reactive dropdowns for Meteor.',
version: '1.1.0',
git: 'http://github.com/lookback/meteor-dropdowns'
});
Package.onUse(function(api) {
api.versionsFrom('1.0.2');
api.use('percolate:momentum@0.7.... | 05acc2bfdd8ed19b586ebeaf830c03a8b8456722 | package.js | package.js | JavaScript |
<|file_sep|>test/test_random_seed.py.diff
original:
"gaussian_random_seed" : gaussian(0, 1, draws=1, random_seed=42)
updated:
"gaussian_random_seed" : gaussian(0, 1, draws=2, random_seed=42)
<|file_sep|>test/test_random_seed.py.diff
original:
val = genson.loads(gson).next()['gaussian_random_seed']
... | gson = \
"""
{
"gaussian_random_seed" : gaussian(0, 1, draws=2, random_seed=42)
}
"""
vals = [val['gaussian_random_seed'] for val in genson.loads(gson)]
assert_equal(vals[0], 0.4967141530112327)
assert_equal(vals[1], -0.13826430117118466)
def test_gaussian_uniform_seed():
g... | <|file_sep|>test/test_random_seed.py.diff
original:
"gaussian_random_seed" : gaussian(0, 1, draws=1, random_seed=42)
updated:
"gaussian_random_seed" : gaussian(0, 1, draws=2, random_seed=42)
<|file_sep|>test/test_random_seed.py.diff
original:
val = genson.loads(gson).next()['gaussian_random_seed']
... | e8ca2582404d44a6bc97f455187523713c49d90f | test/test_random_seed.py | test/test_random_seed.py | Python |
<|file_sep|>original/spec/controllers/lottery_spec.rb
# require 'assignment_helper'
require 'rails_helper'
include AssignmentHelper
describe LotteryController do
describe "#run_intelligent_bid" do
it "the assignment is intelligent" do
assignment = double("Assignment")
allow(assignment).to receive(:is... | # require 'assignment_helper'
require 'rails_helper'
include AssignmentHelper
describe LotteryController do
describe "#run_intelligent_assignmnent" do
it "webservice call should be successful" do
dat=double("data")
rest=double("RestClient")
result = RestC... | <|file_sep|>original/spec/controllers/lottery_spec.rb
# require 'assignment_helper'
require 'rails_helper'
include AssignmentHelper
describe LotteryController do
describe "#run_intelligent_bid" do
it "the assignment is intelligent" do
assignment = double("Assignment")
allow(assignment).to receive(:is... | c749bc07d7c6a898658c8c1aacb5476672315e7d | spec/controllers/lottery_spec.rb | spec/controllers/lottery_spec.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.