prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/client/src/app/rp/services/banner-message.service.ts
import { Injectable } from '@angular/core';
import { of } from 'rxjs';
@Injectable()
export class BannerMessageService {
public message$ = of(
'This is the beta version of RPNow. Please report problems to <a href="mailto:rpnow.net@gmail.c... | import { Injectable } from '@angular/core';
import { of } from 'rxjs';
@Injectable()
export class BannerMessageService {
public message$ = of(
'By using RPNow, you agree to its <a target="_blank" href="/terms">terms of use.</a>'
);
} | <|file_sep|>original/client/src/app/rp/services/banner-message.service.ts
import { Injectable } from '@angular/core';
import { of } from 'rxjs';
@Injectable()
export class BannerMessageService {
public message$ = of(
'This is the beta version of RPNow. Please report problems to <a href="mailto:rpnow.net@gmail.c... | d918d81e102bdd563e78df3d4e0060ebc44c69f1 | client/src/app/rp/services/banner-message.service.ts | client/src/app/rp/services/banner-message.service.ts | TypeScript |
<|file_sep|>original/lint.sh
echo "Missing one of the following tools: ${LINT_TOOLS}"
echo "Running '${PIP_CMD}'"
$PIP_CMD
fi
if [[ $FORMAT == 1 ]]; then
isort ${LINT_FILES}
black ${LINT_FILES}
else
isort --check-only --diff ${LINT_FILES}
black --check --diff ${LINT_FILES}
fi
flake8 --sho... | echo "Missing one of the following tools: ${LINT_TOOLS}"
echo "Running '${PIP_CMD}'"
$PIP_CMD
fi
if [[ $FORMAT == 1 ]]; then
isort ${LINT_FILES}
black ${LINT_FILES}
else
isort --check-only --diff ${LINT_FILES}
black --check --diff ${LINT_FILES}
fi
flake8 --show-source ${LINT_FILES}
# Ind... | <|file_sep|>original/lint.sh
echo "Missing one of the following tools: ${LINT_TOOLS}"
echo "Running '${PIP_CMD}'"
$PIP_CMD
fi
if [[ $FORMAT == 1 ]]; then
isort ${LINT_FILES}
black ${LINT_FILES}
else
isort --check-only --diff ${LINT_FILES}
black --check --diff ${LINT_FILES}
fi
flake8 --sho... | bb3a7bfcb5394bbca65140bd2c7b5f41688fd874 | lint.sh | lint.sh | Shell |
<|file_sep|>knsq/convenience.go.diff
original:
updated:
"net/url"
<|file_sep|>knsq/convenience.go.diff
original:
// FIXME: Use socket API instead of HTTP
updated:
// TODO: Add socket implementation
<|file_sep|>knsq/convenience.go.diff
original:
// CreateTopic makes sure a topic exists on the given nsqd.
func CreateTo... | type HttpClient struct {
*url.URL
}
func (h HttpClient) CreateTopic(topic string) error {
resp, err := http.Get(h.String() + "/create_topic?topic=" + topic)
if resp != nil && resp.Body != nil {
resp.Body.Close()
}
return err
}
func (h HttpClient) Send(topic string, body io.Reader) error {
reqURL := h.String()... | <|file_sep|>knsq/convenience.go.diff
original:
updated:
"net/url"
<|file_sep|>knsq/convenience.go.diff
original:
// FIXME: Use socket API instead of HTTP
updated:
// TODO: Add socket implementation
<|file_sep|>knsq/convenience.go.diff
original:
// CreateTopic makes sure a topic exists on the given nsqd.
func CreateTo... | 7444dd213029bc8e3a1d9c0debdecc21199d13e3 | knsq/convenience.go | knsq/convenience.go | Go |
<|file_sep|>original/optional_requirements.txt
PySide; python_version != '2.7'
imread; python_version != '2.7' and python_version != '3.2'
SimpleITK; python_version != '3.2' and python_version != '3.4'
astropy
tifffile
<|file_sep|>current/optional_requirements.txt
PySide; python_version != '2.7'
imread; python_version ... | PySide; python_version != '2.7'
imread; python_version != '2.7' and python_version != '3.2'
SimpleITK; python_version != '3.2' and python_version != '3.4'
astropy
tifffile
imageio | <|file_sep|>original/optional_requirements.txt
PySide; python_version != '2.7'
imread; python_version != '2.7' and python_version != '3.2'
SimpleITK; python_version != '3.2' and python_version != '3.4'
astropy
tifffile
<|file_sep|>current/optional_requirements.txt
PySide; python_version != '2.7'
imread; python_version ... | 605ab952219ce9316e25e9b0c7157bab16ca818e | optional_requirements.txt | optional_requirements.txt | Text |
<|file_sep|>original/src/templates/argcache/view_all.html
{% block javascript %}
{{block.super}}
<script src="/media/scripts/sorttable.js"></script>
{% endblock %}
{% block title %}All Caches{% endblock %}
{% block content %}
<div id="program_form">
<table class="sortable" style="table-layout: fixed; width: 100%; w... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>All Caches</title>
</head>
<body>
<table class="sortable" style="table-layout: fixed; width: 100%; word-wrap: break-word;">
<thead>
<tr>
<th style="width: 70%;">Cache</th><th>Hits</th><th>Misses</th><th></th>... | <|file_sep|>original/src/templates/argcache/view_all.html
{% block javascript %}
{{block.super}}
<script src="/media/scripts/sorttable.js"></script>
{% endblock %}
{% block title %}All Caches{% endblock %}
{% block content %}
<div id="program_form">
<table class="sortable" style="table-layout: fixed; width: 100%; w... | 8c406362d38caababebd2108da7cc234211256f2 | src/templates/argcache/view_all.html | src/templates/argcache/view_all.html | HTML |
<|file_sep|>original/docs/githubteacher.md
# GitHub Teacher Bio
- **Name:** GitHub Teacher
- **Occupation:** Teacher
- **Location:** San Francisco, California, USA, Earth
<|file_sep|>current/docs/githubteacher.md
# GitHub Teacher Bio
- **Name:** GitHub Teacher
- **Occupation:** Teacher
- **Location:** San Francisco, ... | # GitHub Teacher Bio
- **Name:** GitHub Teacher
- **Occupation:** Teacher
- **Location:** San Francisco, California, USA, Earth
- **Favorite Vacation Spot:** Portland, Maine, USA, Earth | <|file_sep|>original/docs/githubteacher.md
# GitHub Teacher Bio
- **Name:** GitHub Teacher
- **Occupation:** Teacher
- **Location:** San Francisco, California, USA, Earth
<|file_sep|>current/docs/githubteacher.md
# GitHub Teacher Bio
- **Name:** GitHub Teacher
- **Occupation:** Teacher
- **Location:** San Francisco, ... | 7b321c24b3c8fed944da91dfc1ecc6e5a8dd4971 | docs/githubteacher.md | docs/githubteacher.md | Markdown |
<|file_sep|>original/custom/application/Ext/LogicHooks/logichooks.ext.php
<|file_sep|>current/custom/application/Ext/LogicHooks/logichooks.ext.php
<|file_sep|>updated/custom/application/Ext/LogicHooks/logichooks.ext.php | <?php
//WARNING: The contents of this file are auto-generated
/**
* Advanced OpenWorkflow, Automating SugarCRM.
* @package Advanced OpenWorkflow for SugarCRM
* @copyright SalesAgility Ltd http://www.salesagility.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms ... | <|file_sep|>original/custom/application/Ext/LogicHooks/logichooks.ext.php
<|file_sep|>current/custom/application/Ext/LogicHooks/logichooks.ext.php
<|file_sep|>updated/custom/application/Ext/LogicHooks/logichooks.ext.php
<?php
//WARNING: The contents of this file are auto-generated
/**
* Advanced OpenWorkflow, Au... | 1354b593f7acf18687af29d97a07dc6876c24b1b | custom/application/Ext/LogicHooks/logichooks.ext.php | custom/application/Ext/LogicHooks/logichooks.ext.php | PHP |
<|file_sep|>src/Rateable/Rateable.php.diff
original:
updated:
public function sumRating()
{
return $this->ratings()
->selectRaw('SUM(rating) as sumRating')
->pluck('sumRating');
}
<|file_sep|>original/src/Rateable/Rateable.php
public function averageRating()
{
... | }
public function ratingPercent($max = 5)
{
$ratings = $this->ratings();
$quantity = $ratings->count();
$total = $ratings->selectRaw('SUM(rating) as total')->pluck('total');
return $total / (($quantity * $max) / 100);
}
public function getAverageRatingAttribute()
... | <|file_sep|>src/Rateable/Rateable.php.diff
original:
updated:
public function sumRating()
{
return $this->ratings()
->selectRaw('SUM(rating) as sumRating')
->pluck('sumRating');
}
<|file_sep|>original/src/Rateable/Rateable.php
public function averageRating()
{
... | ee24365f429db91a8277bc12ee9b95bb6b61551d | src/Rateable/Rateable.php | src/Rateable/Rateable.php | PHP |
<|file_sep|>original/privacyidea/static/components/dialogs/views/dialog.autocreate_realm.html
<h4 class="modal-title" id="myModalLabel" translate
>Create default realm</h4>
</div>
<div class="modal-body" translate>
Obviously you have no realms defined. Do you want me to creat... | >Create default realm</h4>
</div>
<div class="modal-body" translate>
Obviously you have no realms defined. Do you want me to create a
default realm for you from the machines /etc/passwd?
</div>
<div class="modal-footer">
<button type="button" class="btn ... | <|file_sep|>original/privacyidea/static/components/dialogs/views/dialog.autocreate_realm.html
<h4 class="modal-title" id="myModalLabel" translate
>Create default realm</h4>
</div>
<div class="modal-body" translate>
Obviously you have no realms defined. Do you want me to creat... | 83e3dd205063cd7ff8625ce90e2f307097d47323 | privacyidea/static/components/dialogs/views/dialog.autocreate_realm.html | privacyidea/static/components/dialogs/views/dialog.autocreate_realm.html | HTML |
<|file_sep|>.circleci/config.yml.diff
original:
updated:
- run:
shell: /bin/sh
command: |
lein phantomtest
<|file_sep|>original/.circleci/config.yml
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "project.clj" }}
... |
environment:
LEIN_ROOT: "true"
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "project.clj" }}
- v1-dependencies-
- run: lein do ancient, kibit
workflows:
version: 2
test_analysis:
jobs:
... | <|file_sep|>.circleci/config.yml.diff
original:
updated:
- run:
shell: /bin/sh
command: |
lein phantomtest
<|file_sep|>original/.circleci/config.yml
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "project.clj" }}
... | 2999cb86218a74a2ed8afd7ec1166f8a1535a651 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/app/models/service_version.rb
class ServiceVersion < ApplicationRecord
belongs_to :service
belongs_to :user
validates :spec, swagger_spec: true
before_create :set_version_number
after_save :update_search_metadata
after_create :retract_proposed
# proposed: 0, current: 1, rejected: 2, ... | class ServiceVersion < ApplicationRecord
belongs_to :service
belongs_to :user
validates :spec, swagger_spec: true
before_create :set_version_number
after_save :update_search_metadata
after_create :retract_proposed
# proposed: 0, current: 1, rejected: 2, retracted:3 , outdated:4 , retired:5
#
# The li... | <|file_sep|>original/app/models/service_version.rb
class ServiceVersion < ApplicationRecord
belongs_to :service
belongs_to :user
validates :spec, swagger_spec: true
before_create :set_version_number
after_save :update_search_metadata
after_create :retract_proposed
# proposed: 0, current: 1, rejected: 2, ... | 39c3b0bcfc55946f7f48c48351c509fcc0fa20f3 | app/models/service_version.rb | app/models/service_version.rb | Ruby |
<|file_sep|>original/lib/System/Darwin/MappedFile.cpp
//===- Darwin/MappedFile.cpp - Darwin MappedFile Implementation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. Se... | //===- Darwin/MappedFile.cpp - Darwin MappedFile Implementation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===------------------... | <|file_sep|>original/lib/System/Darwin/MappedFile.cpp
//===- Darwin/MappedFile.cpp - Darwin MappedFile Implementation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. Se... | 83d3aad50e64704109d9fd745b799f3c5bf0f412 | lib/System/Darwin/MappedFile.cpp | lib/System/Darwin/MappedFile.cpp | C++ |
<|file_sep|>original/lib/knapsack_pro/runners/rspec_runner.rb
runner = new(KnapsackPro::Adapters::RSpecAdapter)
if runner.test_files_to_execute_exist?
require 'rspec/core/rake_task'
task_name = 'knapsack_pro:rspec_run'
if Rake::Task.task_defined?(task_name)
R... |
if runner.test_files_to_execute_exist?
require 'rspec/core/rake_task'
task_name = 'knapsack_pro:rspec_run'
if Rake::Task.task_defined?(task_name)
Rake::Task[task_name].clear
end
RSpec::Core::RakeTask.new(task_name) do |t|
# we cannot p... | <|file_sep|>original/lib/knapsack_pro/runners/rspec_runner.rb
runner = new(KnapsackPro::Adapters::RSpecAdapter)
if runner.test_files_to_execute_exist?
require 'rspec/core/rake_task'
task_name = 'knapsack_pro:rspec_run'
if Rake::Task.task_defined?(task_name)
R... | 02158ced7a75638defff93dadd2d317a9ac15b3a | lib/knapsack_pro/runners/rspec_runner.rb | lib/knapsack_pro/runners/rspec_runner.rb | Ruby |
<|file_sep|>src/init.js.diff
original:
updated:
var predictor;
<|file_sep|>src/init.js.diff
original:
var predictor = new Predictor(interpreter.map);
updated:
predictor = new Predictor(interpreter.map);
<|file_sep|>src/init.js.diff
original:
predictor.updated = [];
updated:
<|file_sep|>src/init.js.diff
origin... | // Predict
predictor.stack = [{
segment: predictor.segments.length,
x: interpreter.state.x,
y: interpreter.state.y,
direction: {
x: interpreter.state.direction.x,
y: interpreter.state.direction.y
}
}];
predictor.segments.push([]);
for(var i = 0; i <... | <|file_sep|>src/init.js.diff
original:
updated:
var predictor;
<|file_sep|>src/init.js.diff
original:
var predictor = new Predictor(interpreter.map);
updated:
predictor = new Predictor(interpreter.map);
<|file_sep|>src/init.js.diff
original:
predictor.updated = [];
updated:
<|file_sep|>src/init.js.diff
origin... | de2767f8aa7d0aa772b62de4cb20b1341a015ba3 | src/init.js | src/init.js | JavaScript |
<|file_sep|>packages/lesswrong/components/walledGarden/GardenCodesList.tsx.diff
original:
enableTotal: false,
fetchPolicy: 'cache-and-network',
updated:
<|file_sep|>original/packages/lesswrong/components/walledGarden/GardenCodesList.tsx
import { useCurrentUser } from '../common/withUser';
export const Gar... | import { useCurrentUser } from '../common/withUser';
export const GardenCodesList = ({classes, terms}:{classes:ClassesType, terms: GardenCodesViewTerms}) => {
const { GardenCodesItem } = Components
const currentUser = useCurrentUser()
const { results } = useMulti({
terms: {
userId: currentUser?._id,
... | <|file_sep|>packages/lesswrong/components/walledGarden/GardenCodesList.tsx.diff
original:
enableTotal: false,
fetchPolicy: 'cache-and-network',
updated:
<|file_sep|>original/packages/lesswrong/components/walledGarden/GardenCodesList.tsx
import { useCurrentUser } from '../common/withUser';
export const Gar... | 898b3cb29e7bbebc0624dbea640abdf2ecdd1418 | packages/lesswrong/components/walledGarden/GardenCodesList.tsx | packages/lesswrong/components/walledGarden/GardenCodesList.tsx | TypeScript |
<|file_sep|>original/config/template_LMSconf.json
<|file_sep|>current/config/template_LMSconf.json
<|file_sep|>updated/config/template_LMSconf.json | {
"username": "",
"password": "",
"canvas_url": "https://canvas.instructure.com/api",
"course_code": "CS3114_rev",
"access_token": "",
"consumer_key": "",
"consumer_secret": "",
"build_date": "2015-10-01 13:08:33",
"tool_name": "OpenDSA-LTI",
"tool_url": "https://lti.cs.vt.edu",
"tool_xml_file": "... | <|file_sep|>original/config/template_LMSconf.json
<|file_sep|>current/config/template_LMSconf.json
<|file_sep|>updated/config/template_LMSconf.json
{
"username": "",
"password": "",
"canvas_url": "https://canvas.instructure.com/api",
"course_code": "CS3114_rev",
"access_token": "",
"consumer_key": "",
"... | e64a3b534ca8f0a2f7fd4d9d47171d13eb42cf95 | config/template_LMSconf.json | config/template_LMSconf.json | JSON |
<|file_sep|>original/netlify.toml
[build]
command = "npm run build"
publish = "public"
[template.environment]
NODE_ENV = "production"
YARN_VERSION = "0.18.0"
<|file_sep|>current/netlify.toml
[build]
command = "npm run build"
publish = "public"
[template.environment]
NODE_ENV = "production"
YARN_VE... | [build]
command = "npm run build"
publish = "public/" | <|file_sep|>original/netlify.toml
[build]
command = "npm run build"
publish = "public"
[template.environment]
NODE_ENV = "production"
YARN_VERSION = "0.18.0"
<|file_sep|>current/netlify.toml
[build]
command = "npm run build"
publish = "public"
[template.environment]
NODE_ENV = "production"
YARN_VE... | f6eafab06221a3a8682e0438e4ddbada219c764b | netlify.toml | netlify.toml | TOML |
<|file_sep|>makecard.py.diff
original:
updated:
import sys
<|file_sep|>original/makecard.py
#!/usr/bin/env python
import svgwrite
def main():
print 'test'
if __name__ == '__main__':
main()
<|file_sep|>current/makecard.py
#!/usr/bin/env python
import sys
import svgwrite
def main():
print 'test'
if __name__ ... | #!/usr/bin/env python
import sys
import svgwrite
def main():
drawing = svgwrite.Drawing(size=('1000', '1400'))
img = svgwrite.image.Image('bullets/NYCS-bull-trans-1.svg',insert=(100, 100), size=(100,100))
drawing.add(img)
sys.stdout.write(drawing.tostring())
if __name__ == '__main__':
main() | <|file_sep|>makecard.py.diff
original:
updated:
import sys
<|file_sep|>original/makecard.py
#!/usr/bin/env python
import svgwrite
def main():
print 'test'
if __name__ == '__main__':
main()
<|file_sep|>current/makecard.py
#!/usr/bin/env python
import sys
import svgwrite
def main():
print 'test'
if __name__ ... | abff14b5804bf43bc2bffeac6418259580bdbae5 | makecard.py | makecard.py | Python |
<|file_sep|>original/LICENSE.md
# The MIT License (MIT)
Copyright (c) 2015 Freek Van der Herten <freek@spatie.be>
> 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, includ... | # The MIT License (MIT)
Copyright (c) Freek Van der Herten <freek@spatie.be>
> 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 without limitation the rights
> t... | <|file_sep|>original/LICENSE.md
# The MIT License (MIT)
Copyright (c) 2015 Freek Van der Herten <freek@spatie.be>
> 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, includ... | 58a183b9226adf4c53adcef4835072371a26c6ea | LICENSE.md | LICENSE.md | Markdown |
<|file_sep|>original/swagger_to_sdk_config.json
{
"meta": {
"after_scripts": [
"dep ensure",
"go generate ./profiles/...",
"gofmt -w ./profiles/",
"gofmt -w ./services/"
],
"autorest_options": {
"use": "@microsoft.azure/autorest.go@~2.1.110",
"go": "",
"verbose": ... | {
"meta": {
"after_scripts": [
"dep ensure",
"go generate ./profiles/...",
"gofmt -w ./profiles/",
"gofmt -w ./services/"
],
"autorest_options": {
"use": "@microsoft.azure/autorest.go@~2.1.113",
"go": "",
"verbose": "",
"sdkrel:go-sdk-folder": ".",
"mu... | <|file_sep|>original/swagger_to_sdk_config.json
{
"meta": {
"after_scripts": [
"dep ensure",
"go generate ./profiles/...",
"gofmt -w ./profiles/",
"gofmt -w ./services/"
],
"autorest_options": {
"use": "@microsoft.azure/autorest.go@~2.1.110",
"go": "",
"verbose": ... | 024532ae06b8566794361157859cb38d8bc0d10a | swagger_to_sdk_config.json | swagger_to_sdk_config.json | JSON |
<|file_sep|>Python/brewcaskupgrade.py.diff
original:
install_status = check_output(info_command).decode()
updated:
install_status = str.splitlines(check_output(info_command).decode())
<|file_sep|>original/Python/brewcaskupgrade.py
brew_bin,
'cask',
'info',
cask
]
... | brew_bin,
'cask',
'info',
cask
]
try:
install_status = str.splitlines(check_output(info_command).decode())
except:
install_status = 'Not installed'
version = str.strip(str.split(install_status[0], ':')[1])
is_version_installed = False
for line in ... | <|file_sep|>Python/brewcaskupgrade.py.diff
original:
install_status = check_output(info_command).decode()
updated:
install_status = str.splitlines(check_output(info_command).decode())
<|file_sep|>original/Python/brewcaskupgrade.py
brew_bin,
'cask',
'info',
cask
]
... | 7c9d2ace7de2727c43b0ee00f8f2280d8a465301 | Python/brewcaskupgrade.py | Python/brewcaskupgrade.py | Python |
<|file_sep|>dictionary/management/commands/writeLiblouisTables.py.diff
original:
if options['verbosity'] >= 2:
updated:
verbosity = int(options['verbosity'])
if verbosity >= 2:
<|file_sep|>original/dictionary/management/commands/writeLiblouisTables.py
from daisyproducer.dictionary.brailleTables ... | from daisyproducer.dictionary.brailleTables import writeWhiteListTables, writeLocalTables
from daisyproducer.dictionary.models import Word
from daisyproducer.documents.models import Document
from django.core.management.base import BaseCommand
class Command(BaseCommand):
args = ''
help = 'Write Liblouis tables ... | <|file_sep|>dictionary/management/commands/writeLiblouisTables.py.diff
original:
if options['verbosity'] >= 2:
updated:
verbosity = int(options['verbosity'])
if verbosity >= 2:
<|file_sep|>original/dictionary/management/commands/writeLiblouisTables.py
from daisyproducer.dictionary.brailleTables ... | 63241b7fb62166f4a31ef7ece38edf8b36129f63 | dictionary/management/commands/writeLiblouisTables.py | dictionary/management/commands/writeLiblouisTables.py | Python |
<|file_sep|>original/_pages/timeline.md
---
permalink: /timeline/
title: "Timeline"
excerpt: "Interactive feature with timeline and map."
layout: single
---
<iframe src="http://timemapper.okfnlabs.org/anon/8nz7rf-early-american-serialized-novels-time-map?embed=1" frameborder="0" style="border: none;" width... | ---
permalink: /timeline/
title: "Timeline"
excerpt: "Interactive feature with timeline and map."
layout: single
---
Please click to see our [interactive timeline and map](http://timemapper.okfnlabs.org/anon/8nz7rf-early-american-serialized-novels-time-map). | <|file_sep|>original/_pages/timeline.md
---
permalink: /timeline/
title: "Timeline"
excerpt: "Interactive feature with timeline and map."
layout: single
---
<iframe src="http://timemapper.okfnlabs.org/anon/8nz7rf-early-american-serialized-novels-time-map?embed=1" frameborder="0" style="border: none;" width... | 9c9233384e5e68fd7fc5e8b0189e440d24224124 | _pages/timeline.md | _pages/timeline.md | Markdown |
<|file_sep|>original/src/index.js
}
// Use global document if we don't have one
doc = doc || window.document;
// Handle DOM load
const done = () => resolve(cb && setTimeout(cb));
// Resolve now if DOM has already loaded
// Otherwise wait for DOMContentLoaded
if (loadedStates.includes(doc.readyState)) {
don... | }
// Use global document if we don't have one
doc = doc || window.document;
// Handle DOM load
const done = () => resolve(cb && setTimeout(cb));
// Resolve now if DOM has already loaded
// Otherwise wait for DOMContentLoaded
if (loadedStates.includes(doc.readyState)) {
done();
} else {
doc.addEventListe... | <|file_sep|>original/src/index.js
}
// Use global document if we don't have one
doc = doc || window.document;
// Handle DOM load
const done = () => resolve(cb && setTimeout(cb));
// Resolve now if DOM has already loaded
// Otherwise wait for DOMContentLoaded
if (loadedStates.includes(doc.readyState)) {
don... | 2a9f9d860ed5f6c6d95db30e54f8eadfbc8b0dfe | src/index.js | src/index.js | JavaScript |
<|file_sep|>security/protectPropertiesEdit/protectPropertiesEdit.groovy.diff
original:
updated:
status = 403
<|file_sep|>original/security/protectPropertiesEdit/protectPropertiesEdit.groovy
import org.artifactory.repo.*
storage {
beforePropertyCreate { item, name, values ->
checkPropChangeAuthoriz... |
storage {
beforePropertyCreate { item, name, values ->
checkPropChangeAuthorization(item, name, values)
}
beforePropertyDelete { item, name ->
checkPropChangeAuthorization(item, name, "")
}
}
def checkPropChangeAuthorization(item, name, values) {
def userName = 'admin'
// the o... | <|file_sep|>security/protectPropertiesEdit/protectPropertiesEdit.groovy.diff
original:
updated:
status = 403
<|file_sep|>original/security/protectPropertiesEdit/protectPropertiesEdit.groovy
import org.artifactory.repo.*
storage {
beforePropertyCreate { item, name, values ->
checkPropChangeAuthoriz... | c23ed9019fe4e0da959f7325adff24609c5b71c3 | security/protectPropertiesEdit/protectPropertiesEdit.groovy | security/protectPropertiesEdit/protectPropertiesEdit.groovy | Groovy |
<|file_sep|>original/style/prosemirror.css
position: relative;
}
.ProseMirror {
word-wrap: break-word;
white-space: pre-wrap;
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
}
.ProseMirror ul, .ProseMirror ol {
cursor: default;
}
.ProseMirror pre {
white-space: pre-wrap;
}
.ProseMi... | position: relative;
}
.ProseMirror {
word-wrap: break-word;
white-space: pre-wrap;
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
}
.ProseMirror pre {
white-space: pre-wrap;
}
.ProseMirror li {
position: relative;
}
.ProseMirror-hideselection *::selection { background: transparent... | <|file_sep|>original/style/prosemirror.css
position: relative;
}
.ProseMirror {
word-wrap: break-word;
white-space: pre-wrap;
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
}
.ProseMirror ul, .ProseMirror ol {
cursor: default;
}
.ProseMirror pre {
white-space: pre-wrap;
}
.ProseMi... | be7905cb843d7b306ada7939796d635b67a5be05 | style/prosemirror.css | style/prosemirror.css | CSS |
<|file_sep|>original/kimochi/templates/sections/wrapper.mako
<%page args="section" />
<li data-section-id="${section.id}" data-parent-section-id="${section.parent_section_id if section.parent_section_id else ''}" data-section-type="${section.type}" class="page-section-element">
<div style="overflow: hidden; margin-... | <%page args="section" />
<li data-section-id="${section.id}" data-parent-section-id="${section.parent_section_id if section.parent_section_id else ''}" data-section-type="${section.type}" class="page-section-element">
<div style="overflow: hidden; margin-bottom: 1.0em;">
<div class="sort-handle">☰</div>
... | <|file_sep|>original/kimochi/templates/sections/wrapper.mako
<%page args="section" />
<li data-section-id="${section.id}" data-parent-section-id="${section.parent_section_id if section.parent_section_id else ''}" data-section-type="${section.type}" class="page-section-element">
<div style="overflow: hidden; margin-... | 78d5de5c38695bf606f18a8750d0575e878f6a1d | kimochi/templates/sections/wrapper.mako | kimochi/templates/sections/wrapper.mako | Mako |
<|file_sep|>original/requirements.txt
aiohttp==2.2.5
motor==1.1
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-catchlog==1.2.2
pytest-cov==2.5.1
pytest-flakes==2.0.0
pytest-mock==1.6.2
yarl==0.12.0
<|file_sep|>current/requirements.txt
aiohttp==2.2.5
motor==1.1
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-catchlog==1.2.2
pyte... | aiohttp==2.2.5
motor==1.1
pytest==3.2.1
pytest-asyncio==0.8.0
pytest-catchlog==1.2.2
pytest-cov==2.5.1
pytest-flakes==2.0.0
pytest-mock==1.6.2
yarl==0.12.0 | <|file_sep|>original/requirements.txt
aiohttp==2.2.5
motor==1.1
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-catchlog==1.2.2
pytest-cov==2.5.1
pytest-flakes==2.0.0
pytest-mock==1.6.2
yarl==0.12.0
<|file_sep|>current/requirements.txt
aiohttp==2.2.5
motor==1.1
pytest==3.2.1
pytest-asyncio==0.6.0
pytest-catchlog==1.2.2
pyte... | 41c5f62d27c4704956ce60c72e28044c4b379205 | requirements.txt | requirements.txt | Text |
<|file_sep|>.eslintrc.js.diff
original:
"comma-dangle": ["error", "always-multiline"],
updated:
"comma-dangle": ["warn", "always-multiline"],
<|file_sep|>original/.eslintrc.js
module.exports = {
"extends": "react-app",
"rules": {
"comma-dangle": ["error", "always-multiline"],
// disallow unnecessary... | module.exports = {
"extends": "react-app",
"rules": {
"comma-dangle": ["warn", "always-multiline"],
// disallow unnecessary semicolons
'no-extra-semi': 'warn',
},
}; | <|file_sep|>.eslintrc.js.diff
original:
"comma-dangle": ["error", "always-multiline"],
updated:
"comma-dangle": ["warn", "always-multiline"],
<|file_sep|>original/.eslintrc.js
module.exports = {
"extends": "react-app",
"rules": {
"comma-dangle": ["error", "always-multiline"],
// disallow unnecessary... | 37738318c9c13f5c796467a302776cca08c441bc | .eslintrc.js | .eslintrc.js | JavaScript |
<|file_sep|>original/lib/engines/pancakes/app/views/pancakes/records/create.js.erb
<% if response.status == 200 %>
$(".empty-row").replaceWith("<%= j render 'pancakes/records/new_record', record: @record %>")
<% else %>
$(".footer .errors").addClass("alert-danger");
$(".footer .errors").append("<p><%= j @error.me... | $(".footer .errors").removeClass("alert-danger");
$(".footer .errors").empty();
<% if response.status == 200 %>
$(".empty-row").replaceWith("<%= j render 'pancakes/records/new_record', record: @record %>")
<% else %>
$(".footer .errors").addClass("alert-danger");
$(".footer .errors").append("<p><%= j @error.mess... | <|file_sep|>original/lib/engines/pancakes/app/views/pancakes/records/create.js.erb
<% if response.status == 200 %>
$(".empty-row").replaceWith("<%= j render 'pancakes/records/new_record', record: @record %>")
<% else %>
$(".footer .errors").addClass("alert-danger");
$(".footer .errors").append("<p><%= j @error.me... | 32dc44274306b86c08602a3df02700cad0d252fd | lib/engines/pancakes/app/views/pancakes/records/create.js.erb | lib/engines/pancakes/app/views/pancakes/records/create.js.erb | HTML+ERB |
<|file_sep|>src/html/includes/screens/main.jade.diff
original:
.fa.fa-spinner.fa-spin
updated:
.fa.fa-refresh.fa-spin
<|file_sep|>src/html/includes/screens/main.jade.diff
original:
.fa.fa-spinner.fa-spin
updated:
.fa.fa-refresh.fa-spin
<|file_sep|>src/html/includes/screen... | div(style='height:calc(100% - 30px)')
.col-xs-3
.content
.artists.height-full.artist-names
.column-loading
.fa.fa-refresh.fa-spin
.col-xs-3
.content
.lottery.height-full.lottery-names
.column-loading
.fa.fa-refresh.fa-spin
.col-xs-3
... | <|file_sep|>src/html/includes/screens/main.jade.diff
original:
.fa.fa-spinner.fa-spin
updated:
.fa.fa-refresh.fa-spin
<|file_sep|>src/html/includes/screens/main.jade.diff
original:
.fa.fa-spinner.fa-spin
updated:
.fa.fa-refresh.fa-spin
<|file_sep|>src/html/includes/screen... | e400cfd7516d78c7b15fc1de79ca7c7014d01d1e | src/html/includes/screens/main.jade | src/html/includes/screens/main.jade | Jade |
<|file_sep|>main.js.diff
original:
gpx.load(
"gpx/blue_hills.gpx",
function(gpx) {
updated:
function getURLParameter(name) {
return decodeURIComponent(
(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20')) || null;
}
var fileName = getURLParameter... | });
require(["jquery", "gpx", "map", "elevation_profile"], function($, gpx, map, elevationProfile) {
function getURLParameter(name) {
return decodeURIComponent(
(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20')) || null;
}
var fileName = getURLPara... | <|file_sep|>main.js.diff
original:
gpx.load(
"gpx/blue_hills.gpx",
function(gpx) {
updated:
function getURLParameter(name) {
return decodeURIComponent(
(new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20')) || null;
}
var fileName = getURLParameter... | a3d7f70715b55b2e8a5383abf767280c0aa8c79e | main.js | main.js | JavaScript |
<|file_sep|>original/.github/workflows/ci.yml
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run heroku-postbuild
- name: Install MongoDB
uses: supercharge/mongodb-gith... | restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run heroku-postbuild
- name: Install MongoDB
uses: supercharge/mongodb-github-action@1.3.0
with:
mongod... | <|file_sep|>original/.github/workflows/ci.yml
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run heroku-postbuild
- name: Install MongoDB
uses: supercharge/mongodb-gith... | 02cd795531ebf935b6ac8ad9b3254baf4aada37d | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/lib/all_seeing_pi/uploader.rb
directory_name = fetch_or_create_directory_name(directories)
directory = directories.get(directory_name) || directories.create(key: directory_name)
filename = File.basename(image_path)
directory.files.create(key: filename, body: File.open(image... | directory_name = fetch_or_create_directory_name(directories)
directory = directories.get(directory_name) || directories.create(key: directory_name)
filename = File.basename(image_path)
directory.files.create(key: filename, body: File.open(image_path))
end
def fetch_or_create_directory_... | <|file_sep|>original/lib/all_seeing_pi/uploader.rb
directory_name = fetch_or_create_directory_name(directories)
directory = directories.get(directory_name) || directories.create(key: directory_name)
filename = File.basename(image_path)
directory.files.create(key: filename, body: File.open(image... | a925e1e3efd824112fee1c7fbb056f945e2bd903 | lib/all_seeing_pi/uploader.rb | lib/all_seeing_pi/uploader.rb | Ruby |
<|file_sep|>original/lib/kumo_dockercloud/docker_cloud_api.rb
require 'docker_cloud'
require 'base64' # left out of DockerCloud gem
module KumoDockerCloud
class DockerCloudApi
# Note: DockerCloud handles the options in a "very" different way.
def initialize(options = {})
@client = ::DockerCloud::Client... | require 'docker_cloud'
require 'base64' # left out of DockerCloud gem
module KumoDockerCloud
class DockerCloudApi
def initialize(options = {})
@client = ::DockerCloud::Client.new(options[:username], options[:api_key])
end
def stack_by_name(name)
@client.stacks.all.find { |s| s.name == name }... | <|file_sep|>original/lib/kumo_dockercloud/docker_cloud_api.rb
require 'docker_cloud'
require 'base64' # left out of DockerCloud gem
module KumoDockerCloud
class DockerCloudApi
# Note: DockerCloud handles the options in a "very" different way.
def initialize(options = {})
@client = ::DockerCloud::Client... | dd8b306757fa3ccbc617135d5ada4678ee400a59 | lib/kumo_dockercloud/docker_cloud_api.rb | lib/kumo_dockercloud/docker_cloud_api.rb | Ruby |
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md | ## Submit a feature request or bug report
- [ ] This is a feature request
- [ ] This is a bug report
- [ ] This request isn't a duplicate of an [existing issue](https://github.com/roots/sage/issues)
- [ ] I've read the [docs](https://roots.io/sage/docs) and [NPM Debugging Guidelines post](https://discourse.roots.io/t/... | <|file_sep|>original/.github/ISSUE_TEMPLATE.md
<|file_sep|>current/.github/ISSUE_TEMPLATE.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE.md
## Submit a feature request or bug report
- [ ] This is a feature request
- [ ] This is a bug report
- [ ] This request isn't a duplicate of an [existing issue](https://github.co... | 6571dac5569a5d88dfdfd361c014fb01bd37c0f6 | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>utils.py.diff
original:
updated:
from six.moves import filterfalse
<|file_sep|>original/utils.py
def partition(pred, iterable):
"""
Partition the iterable into two disjoint entries based
on the predicate.
@return: Tuple (iterable1, iterable2)
"""
iter1, iter2 = itertools.tee(iterable)
retur... | import numpy as np
def partition(pred, iterable):
"""
Partition the iterable into two disjoint entries based
on the predicate.
@return: Tuple (iterable1, iterable2)
"""
iter1, iter2 = itertools.tee(iterable)
return filterfalse(pred, iter1), filter(pred, iter2)
def decay(val, min_val, decay_rate):
ret... | <|file_sep|>utils.py.diff
original:
updated:
from six.moves import filterfalse
<|file_sep|>original/utils.py
def partition(pred, iterable):
"""
Partition the iterable into two disjoint entries based
on the predicate.
@return: Tuple (iterable1, iterable2)
"""
iter1, iter2 = itertools.tee(iterable)
retur... | 962fc49f734b04e717bf936745013ab0c19c4ee1 | utils.py | utils.py | Python |
<|file_sep|>original/app/src/main/java/com/saraighatsoftware/flexicalculator/ResultFormat.java
package com.saraighatsoftware.flexicalculator;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.DecimalFormat;
class ResultFormat {
private static final int RESULT_SCALE = 6;
private sta... | package com.saraighatsoftware.flexicalculator;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.DecimalFormat;
class ResultFormat {
private static final int RESULT_SCALE = 9;
private static final DecimalFormat format = new DecimalFormat();
static String Format(BigDecimal valu... | <|file_sep|>original/app/src/main/java/com/saraighatsoftware/flexicalculator/ResultFormat.java
package com.saraighatsoftware.flexicalculator;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.DecimalFormat;
class ResultFormat {
private static final int RESULT_SCALE = 6;
private sta... | c2c6d03fbccce03c541c28f35e7643f7705a62f8 | app/src/main/java/com/saraighatsoftware/flexicalculator/ResultFormat.java | app/src/main/java/com/saraighatsoftware/flexicalculator/ResultFormat.java | Java |
<|file_sep|>original/test/issue990-download-optional-selected.sh
#!/usr/bin/env bash
. $(dirname "${BASH_SOURCE[0]}")/common.sh
cd ${CURR_DIR}/issue990-download-optional-selected
rm -rf b/.dub
${DUB} remove gitcompatibledubpackage -n --version=* 2>/dev/null || true
${DUB} run
<|file_sep|>current/test/issue990-download... | #!/usr/bin/env bash
. $(dirname "${BASH_SOURCE[0]}")/common.sh
cd ${CURR_DIR}/issue990-download-optional-selected
${DUB} clean
${DUB} remove gitcompatibledubpackage -n --version=* 2>/dev/null || true
${DUB} run | <|file_sep|>original/test/issue990-download-optional-selected.sh
#!/usr/bin/env bash
. $(dirname "${BASH_SOURCE[0]}")/common.sh
cd ${CURR_DIR}/issue990-download-optional-selected
rm -rf b/.dub
${DUB} remove gitcompatibledubpackage -n --version=* 2>/dev/null || true
${DUB} run
<|file_sep|>current/test/issue990-download... | f70667a758ee3714d09d6bb187da6938396f4f72 | test/issue990-download-optional-selected.sh | test/issue990-download-optional-selected.sh | Shell |
<|file_sep|>original/lib/tasks/rummager.rake
namespace :rummager do
desc "index all published documents in rummager"
task index: :environment do
Guide.all.each do |guide|
puts "Indexing #{guide.title}..."
GuideSearchIndexer.new(guide).index
end
end
desc "A temporary task to delete some unp... | namespace :rummager do
desc "index all published documents in rummager"
task index: :environment do
Guide.all.each do |guide|
puts "Indexing #{guide.title}..."
GuideSearchIndexer.new(guide).index
end
Rake::Task['rummager:index_service_standard'].execute
end
desc 'index the service sta... | <|file_sep|>original/lib/tasks/rummager.rake
namespace :rummager do
desc "index all published documents in rummager"
task index: :environment do
Guide.all.each do |guide|
puts "Indexing #{guide.title}..."
GuideSearchIndexer.new(guide).index
end
end
desc "A temporary task to delete some unp... | 7cda6884b2894cffecf7c54895fdcd01efc83968 | lib/tasks/rummager.rake | lib/tasks/rummager.rake | Ruby |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script:
- "py.test"
notifications:
email: false
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script:
- "py.test"
notifications:
email: false
<|file_sep|>upd... | language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script:
- "py.test -vv"
notifications:
email: false | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script:
- "py.test"
notifications:
email: false
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
script:
- "py.test"
notifications:
email: false
<|file_sep|>upd... | 4ff6bfb313e3dc064080f0b0bf531936b349b923 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- 2.1.3
<|file_sep|>original/.travis.yml
language: ruby
script: 'bundle exec rake ci'
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
- rvm: jruby
env: JRUBY_O... | language: ruby
script: 'bundle exec rake ci'
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.1.3
- rbx-2
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov | <|file_sep|>.travis.yml.diff
original:
updated:
- 2.1.3
<|file_sep|>original/.travis.yml
language: ruby
script: 'bundle exec rake ci'
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- rbx-2
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov
- rvm: jruby
env: JRUBY_O... | 43c5238bcde19a11ee065912693e34762f2a87c0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/doc/Deployment.md
# Deployment
The easiest way is to deploy the application to your webserver and execute the following commands from the root directory.
Make sure to adjust the config.php to your requirements. The web-root of the application is the _src_ directory.
# Requirements
The app requir... | # Deployment
The easiest way is to deploy the application to your webserver and execute the following commands from the root directory.
Make sure to adjust the config.php to your requirements. The web-root of the application is the _src_ directory.
# Requirements
The app requires a couple of packages you need to ins... | <|file_sep|>original/doc/Deployment.md
# Deployment
The easiest way is to deploy the application to your webserver and execute the following commands from the root directory.
Make sure to adjust the config.php to your requirements. The web-root of the application is the _src_ directory.
# Requirements
The app requir... | 56d564ef0de4ec44cea6a22988853027f07187ff | doc/Deployment.md | doc/Deployment.md | Markdown |
<|file_sep|>self-post-stream/stream.py.diff
original:
updated:
<|file_sep|>original/self-post-stream/stream.py
import praw
import argparse
parser = argparse.ArgumentParser(description='Stream self posts from any subreddit.')
parser.add_argument('-sub', required=False, default='all', help='Subreddit name (default=\'a... | import praw
import argparse
parser = argparse.ArgumentParser(description='Stream self posts from any subreddit.')
parser.add_argument('-sub', required=False, default='all', help='Subreddit name (default=\'all\')')
parser.add_argument('-limit', required=False, default=100, help='Post limit (default=100, max=1000)', typ... | <|file_sep|>self-post-stream/stream.py.diff
original:
updated:
<|file_sep|>original/self-post-stream/stream.py
import praw
import argparse
parser = argparse.ArgumentParser(description='Stream self posts from any subreddit.')
parser.add_argument('-sub', required=False, default='all', help='Subreddit name (default=\'a... | 19c2f919c6deb11331e927ad3f794424905fc4f3 | self-post-stream/stream.py | self-post-stream/stream.py | Python |
<|file_sep|>original/config/environments/production.json
{
"apiUrl": "http://hmda-pilot.ec2.devis.com/api",
"confirmSessionReset": true
}
<|file_sep|>current/config/environments/production.json
{
"apiUrl": "http://hmda-pilot.ec2.devis.com/api",
"confirmSessionReset": true
}
<|file_sep|>updated/config/en... | {
"apiUrl": "http://hmda-pilot.devis.com/api",
"confirmSessionReset": true
} | <|file_sep|>original/config/environments/production.json
{
"apiUrl": "http://hmda-pilot.ec2.devis.com/api",
"confirmSessionReset": true
}
<|file_sep|>current/config/environments/production.json
{
"apiUrl": "http://hmda-pilot.ec2.devis.com/api",
"confirmSessionReset": true
}
<|file_sep|>updated/config/en... | 86038d1ccc3b44e243de212a2021feb0995d6798 | config/environments/production.json | config/environments/production.json | JSON |
<|file_sep|>original/styles/config.rb
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "."
sass_dir = "src"
images_dir = "../images"
javascripts_dir = "../scripts"
# To enable relative paths to assets via compass helper functions. Uncomment:
... | # Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "."
sass_dir = "src"
images_dir = "../images"
javascripts_dir = "../scripts"
line_comments = false
# To enable relative paths to assets via compass helper functions. Uncomment:
relative_assets ... | <|file_sep|>original/styles/config.rb
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "."
sass_dir = "src"
images_dir = "../images"
javascripts_dir = "../scripts"
# To enable relative paths to assets via compass helper functions. Uncomment:
... | 3afe94045d8e1aae85b3a9e0fe5561e24768c4b1 | styles/config.rb | styles/config.rb | Ruby |
<|file_sep|>JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs.diff
original:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
updated:
using System.Web.Mvc;
<|file_sep|>JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs.diff
original:
namespace JabberBCIT {
updated:
... | using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT
{
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "EditProfile",
url... | <|file_sep|>JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs.diff
original:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
updated:
using System.Web.Mvc;
<|file_sep|>JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs.diff
original:
namespace JabberBCIT {
updated:
... | 4e8da0224e3f779d8ea753a09ffdd296aefaba4d | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | C# |
<|file_sep|>original/module/Application/view/application/index/index.phtml
<div class="jumbotron">
<h1><?php echo sprintf($this->translate('Welcome to %sMagazinePro%s'), '<span class="zf-green">', '</span>') ?></h1>
<p><?php echo sprintf($this->translate('Congratulations! We have successfully installed the %sMa... | <div class="jumbotron">
<h1><?php echo sprintf($this->translate('Welcome to %sMagazinePro%s'), '<span class="zf-green">', '</span>') ?></h1>
<p><?php echo sprintf($this->translate('Congratulations! We have successfully installed the %sMagazinePro Application%s.<br/>We are currently running Zend Framework versio... | <|file_sep|>original/module/Application/view/application/index/index.phtml
<div class="jumbotron">
<h1><?php echo sprintf($this->translate('Welcome to %sMagazinePro%s'), '<span class="zf-green">', '</span>') ?></h1>
<p><?php echo sprintf($this->translate('Congratulations! We have successfully installed the %sMa... | 69e7cd9b80ccaf98dcaa94c01f0b0bab848e69c2 | module/Application/view/application/index/index.phtml | module/Application/view/application/index/index.phtml | HTML+PHP |
<|file_sep|>original/styles/shared/arrow-span.scss
.arrow-span {
background-color: #eee;
border-radius: .25em;
cursor: pointer;
&:hover {
background-color: rgb(238, 238, 238);
}
}
<|file_sep|>current/styles/shared/arrow-span.scss
.arrow-span {
background-color: #eee;
border-radius: .25em;
cursor: po... | .arrow-span {
background-color: #eee;
border-radius: .25em;
cursor: pointer;
padding: 0 0.2em;
} | <|file_sep|>original/styles/shared/arrow-span.scss
.arrow-span {
background-color: #eee;
border-radius: .25em;
cursor: pointer;
&:hover {
background-color: rgb(238, 238, 238);
}
}
<|file_sep|>current/styles/shared/arrow-span.scss
.arrow-span {
background-color: #eee;
border-radius: .25em;
cursor: po... | 656ae78a72956414195ad821b83958bf485a9bea | styles/shared/arrow-span.scss | styles/shared/arrow-span.scss | SCSS |
<|file_sep|>original/dev-requirements.txt
mypy==0.510
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.4
pylint==1.7.1
typed-ast==1.0.3
<|file_sep|>current/dev-requirements.txt
mypy==0.510
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.4
pylint==1.7.1
typed-... | mypy==0.510
pytest==3.0.7
pytest-cov==2.5.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.4
pylint==1.7.1
typed-ast==1.0.3 | <|file_sep|>original/dev-requirements.txt
mypy==0.510
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.4
pylint==1.7.1
typed-ast==1.0.3
<|file_sep|>current/dev-requirements.txt
mypy==0.510
pytest==3.0.7
pytest-cov==2.4.0
pytest-asyncio==0.5.0
jedi==0.10.2
coverage==4.4
pylint==1.7.1
typed-... | 4f2858e96919d1af47820970756330223ce286d9 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>original/hist/histdrawv7/test/CMakeLists.txt
# Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.
ROOT_ADD_UNITTEST_DIR(ROOTHistDraw ROOTGpadv7)
<|file_sep|>current/hist... | # Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.
if(NOT MSVC OR win_broken_tests)
ROOT_ADD_UNITTEST_DIR(ROOTHistDraw ROOTGpadv7)
endif() | <|file_sep|>original/hist/histdrawv7/test/CMakeLists.txt
# Copyright (C) 1995-2019, Rene Brun and Fons Rademakers.
# All rights reserved.
#
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.
ROOT_ADD_UNITTEST_DIR(ROOTHistDraw ROOTGpadv7)
<|file_sep|>current/hist... | 91a37104a51b4335fa8151dd18b4f2ae9fc10302 | hist/histdrawv7/test/CMakeLists.txt | hist/histdrawv7/test/CMakeLists.txt | Text |
<|file_sep|>deploy-to-ghpages.sh.diff
original:
rm -rf dist || exit 0;
mkdir dist;
updated:
# clean up
rm -rf tmp || exit 0;
# build
<|file_sep|>original/deploy-to-ghpages.sh
#!/bin/bash
rm -rf dist || exit 0;
mkdir dist;
npm run build;
( cd dist
git init
git config user.name "Travis-CI"
git config user.email "con... | #!/bin/bash
# clean up
rm -rf tmp || exit 0;
# build
npm run build;
TMP_CHECKOUT_DIR=tmp/origin-gh-pages
(
git config user.name "Travis-CI"
git config user.email "contact+travis-for-tddbin@uxebu.com"
git clone --branch=gh-pages "https://${GH_TOKEN}@${GH_REF}" $TMP_CHECKOUT_DIR
rm -rf $TMP_CHECKOUT_DIR/*
c... | <|file_sep|>deploy-to-ghpages.sh.diff
original:
rm -rf dist || exit 0;
mkdir dist;
updated:
# clean up
rm -rf tmp || exit 0;
# build
<|file_sep|>original/deploy-to-ghpages.sh
#!/bin/bash
rm -rf dist || exit 0;
mkdir dist;
npm run build;
( cd dist
git init
git config user.name "Travis-CI"
git config user.email "con... | 4d46aeb229660aed672f5d53bc7ca71d9eff9da3 | deploy-to-ghpages.sh | deploy-to-ghpages.sh | Shell |
<|file_sep|>lib/provider/zendesk.rb.diff
original:
ZendeskAPI::Search.find(:first, :params => {:query => "status:open"})
updated:
begin
!ZendeskAPI::Search.find(:first, :params => {:query => "status:open"}).nil?
rescue
false
end
<|file_sep|>original/lib/provider/zendesk.rb
... | def projects(*options)
[Project.new({:account => @authentication.account, :username => @authentication.username, :name => "#{@authentication.account}-project"})]
end
def project(*options)
unless options.empty?
Project.new({:account => @authentication.account, :username => @authenticatio... | <|file_sep|>lib/provider/zendesk.rb.diff
original:
ZendeskAPI::Search.find(:first, :params => {:query => "status:open"})
updated:
begin
!ZendeskAPI::Search.find(:first, :params => {:query => "status:open"}).nil?
rescue
false
end
<|file_sep|>original/lib/provider/zendesk.rb
... | 0cc3e0fbc99dc83068cdf3bba0ba8e09a682862a | lib/provider/zendesk.rb | lib/provider/zendesk.rb | Ruby |
<|file_sep|>original/open-secret-santa-app/src/main/res/drawable/member_listview_row_bg_color.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:drawable="@color/shade_of_holo_blue2"/>
<item android:state_p... | <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_activated="true" android:drawable="@color/shade_of_holo_blue3"/>
<item android:drawable="@color/shade_of_holo_blue1" />
</selector>
| <|file_sep|>original/open-secret-santa-app/src/main/res/drawable/member_listview_row_bg_color.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:drawable="@color/shade_of_holo_blue2"/>
<item android:state_p... | 04062c0bc47f9bc9b933a920083fd95e1915f7da | open-secret-santa-app/src/main/res/drawable/member_listview_row_bg_color.xml | open-secret-santa-app/src/main/res/drawable/member_listview_row_bg_color.xml | XML |
<|file_sep|>bin/cli.js.diff
original:
updated:
var chalk = require('chalk');
<|file_sep|>original/bin/cli.js
#!/usr/bin/env node
var program = require('commander');
var prompt = require('inquirer');
var path = require('path');
var pkg = require(path.resolve(__dirname, '..', 'package.json'));
program.version(pkg.ver... | #!/usr/bin/env node
var program = require('commander');
var prompt = require('inquirer');
var path = require('path');
var chalk = require('chalk');
var pkg = require(path.resolve(__dirname, '..', 'package.json'));
program.version(pkg.version)
program
.command('new <name>')
.description('Create a new project... | <|file_sep|>bin/cli.js.diff
original:
updated:
var chalk = require('chalk');
<|file_sep|>original/bin/cli.js
#!/usr/bin/env node
var program = require('commander');
var prompt = require('inquirer');
var path = require('path');
var pkg = require(path.resolve(__dirname, '..', 'package.json'));
program.version(pkg.ver... | 5f27a002870f293b93fa04a4448398d14c5343b8 | bin/cli.js | bin/cli.js | JavaScript |
<|file_sep|>original/dev/golang/select/README.md
# select
## Articles
* [Golang的select/非缓冲的Channel实例详解](https://blog.csdn.net/liuxinmingcode/article/details/49507991/)
* [Part 24: Select](https://golangbot.com/select/)
* [How can I use 'time.After' and 'default' in Golang?](https://stackoverflow.com/questions/39212333... | # select
## Articles
* [Golang的select/非缓冲的Channel实例详解](https://blog.csdn.net/liuxinmingcode/article/details/49507991/)
* [Part 24: Select](https://golangbot.com/select/)
* [How can I use 'time.After' and 'default' in Golang?](https://stackoverflow.com/questions/39212333/how-can-i-use-time-after-and-default-in-golang)
... | <|file_sep|>original/dev/golang/select/README.md
# select
## Articles
* [Golang的select/非缓冲的Channel实例详解](https://blog.csdn.net/liuxinmingcode/article/details/49507991/)
* [Part 24: Select](https://golangbot.com/select/)
* [How can I use 'time.After' and 'default' in Golang?](https://stackoverflow.com/questions/39212333... | 3f8fb3842f8640a47922e49fdaf0ea658ee4db28 | dev/golang/select/README.md | dev/golang/select/README.md | Markdown |
<|file_sep|>original/sedlex/AddGitHubArticleLinkVisitor.py
<|file_sep|>current/sedlex/AddGitHubArticleLinkVisitor.py
<|file_sep|>updated/sedlex/AddGitHubArticleLinkVisitor.py | # -*- coding: utf-8 -*-
from AbstractVisitor import AbstractVisitor
class AddGitHubArticleLinkVisitor(AbstractVisitor):
def __init__(self, args):
self.repo = args.github_repository
self.law_id = None
super(AddGitHubArticleLinkVisitor, self).__init__()
def visit_law_reference_node(sel... | <|file_sep|>original/sedlex/AddGitHubArticleLinkVisitor.py
<|file_sep|>current/sedlex/AddGitHubArticleLinkVisitor.py
<|file_sep|>updated/sedlex/AddGitHubArticleLinkVisitor.py
# -*- coding: utf-8 -*-
from AbstractVisitor import AbstractVisitor
class AddGitHubArticleLinkVisitor(AbstractVisitor):
def __init__(self... | 7a8488327ba41275d4b569fc73da617140e64aea | sedlex/AddGitHubArticleLinkVisitor.py | sedlex/AddGitHubArticleLinkVisitor.py | Python |
<|file_sep|>original/sym/tests/test_cse.py
<|file_sep|>current/sym/tests/test_cse.py
<|file_sep|>updated/sym/tests/test_cse.py | from .. import Backend
import pytest
backends = []
for bk in Backend.backends.keys():
try:
_be = Backend(bk)
except ImportError:
continue
_x = _be.Symbol('x')
try:
_be.cse([_x])
except:
continue
backends.append(bk)
def _inverse_cse(subs_cses, cse_exprs): | <|file_sep|>original/sym/tests/test_cse.py
<|file_sep|>current/sym/tests/test_cse.py
<|file_sep|>updated/sym/tests/test_cse.py
from .. import Backend
import pytest
backends = []
for bk in Backend.backends.keys():
try:
_be = Backend(bk)
except ImportError:
continue
_x = _be.Symbol('x')
... | 6db2328cee6d26d0db7a6abf4a58adb40b583799 | sym/tests/test_cse.py | sym/tests/test_cse.py | Python |
<|file_sep|>src/Exclusion/DepthExclusionStrategy.php.diff
original:
$depth = $context->getDepth();
$metadataStack = $context->getMetadataStack();
updated:
$relativeDepth = 0;
<|file_sep|>src/Exclusion/DepthExclusionStrategy.php.diff
original:
$nthProperty = 0;
// iterate from the... | }
private function isTooDeep(Context $context): bool
{
$relativeDepth = 0;
foreach ($context->getMetadataStack() as $metadata) {
if (!$metadata instanceof PropertyMetadata) {
continue;
}
$relativeDepth++;
if (null !== $metad... | <|file_sep|>src/Exclusion/DepthExclusionStrategy.php.diff
original:
$depth = $context->getDepth();
$metadataStack = $context->getMetadataStack();
updated:
$relativeDepth = 0;
<|file_sep|>src/Exclusion/DepthExclusionStrategy.php.diff
original:
$nthProperty = 0;
// iterate from the... | a1ccb90b5cb6be304fdc4239884c9f50b8d1849d | src/Exclusion/DepthExclusionStrategy.php | src/Exclusion/DepthExclusionStrategy.php | PHP |
<|file_sep|>original/test-requirements.txt
# Hacking already pins down pep8, pyflakes and flake8
hacking>=0.8.0,<0.9
# Testing Requirements
coverage>=3.6
django-nose
mock>=1.0
mox>=0.5.3
nose
nose-exclude
nosexcover
openstack.nose_plugin>=0.7
nosehtmloutput>=0.0.3
selenium
# Docs Requirements
sphinx>=1.1.2,<1.2
# for b... | # Hacking already pins down pep8, pyflakes and flake8
hacking>=0.8.0,<0.9
# Testing Requirements
coverage>=3.6
django-nose
mock>=1.0
mox>=0.5.3
nose
nose-exclude
nosexcover
openstack.nose_plugin>=0.7
nosehtmloutput>=0.0.3
selenium
# Docs Requirements
sphinx>=1.1.2,<1.2
# for bug 1091333, remove after sphinx >1.1.3 is r... | <|file_sep|>original/test-requirements.txt
# Hacking already pins down pep8, pyflakes and flake8
hacking>=0.8.0,<0.9
# Testing Requirements
coverage>=3.6
django-nose
mock>=1.0
mox>=0.5.3
nose
nose-exclude
nosexcover
openstack.nose_plugin>=0.7
nosehtmloutput>=0.0.3
selenium
# Docs Requirements
sphinx>=1.1.2,<1.2
# for b... | 072d359a9aeaa850d43bceca0bb5bae1e180e5f0 | test-requirements.txt | test-requirements.txt | Text |
<|file_sep|>CMakeLists.txt.diff
original:
# Start with modern standard: C++14, or C++1y if using APPLE
# TODO Better check for C++14 compiler support, and fallback/failure.
if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++14")
updated:
# Start with modern standard: C++14, or C++1y
include(CheckCXXCompilerF... |
# Start with modern standard: C++14, or C++1y
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CXX14)
CHECK_CXX_COMPILER_FLAG("-std=c++1y" COMPILER_SUPPORTS_CXX1Y)
if(COMPILER_SUPPORTS_CXX14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
elseif(COMPILER_SUPPORTS_CXX1Y)
se... | <|file_sep|>CMakeLists.txt.diff
original:
# Start with modern standard: C++14, or C++1y if using APPLE
# TODO Better check for C++14 compiler support, and fallback/failure.
if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++14")
updated:
# Start with modern standard: C++14, or C++1y
include(CheckCXXCompilerF... | fa4bd2b2a8a712f66ec9894ca4438678ee337f94 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>lib/sequel/schema-sharding/connection_strategies/random.rb.diff
original:
updated:
# This strategy is used for choosing a :read_only server
# to connect to.
#
# A random server will be chosen from the replica list
# for this physical shard.
<|file_sep|>original/lib/sequel/schema-sharding/connection_strateg... | # This strategy is used for choosing a :read_only server
# to connect to.
#
# A random server will be chosen from the replica list
# for this physical shard.
module Sequel
module SchemaSharding
module ConnectionStrategy
class Random
def self.choose(db, config)
config['replicas'].sample
... | <|file_sep|>lib/sequel/schema-sharding/connection_strategies/random.rb.diff
original:
updated:
# This strategy is used for choosing a :read_only server
# to connect to.
#
# A random server will be chosen from the replica list
# for this physical shard.
<|file_sep|>original/lib/sequel/schema-sharding/connection_strateg... | ac72487c6dc459752ccfe2cb6ef08e6388d1972e | lib/sequel/schema-sharding/connection_strategies/random.rb | lib/sequel/schema-sharding/connection_strategies/random.rb | Ruby |
<|file_sep|>tests/functional/staging_and_prod/test_admin.py.diff
original:
updated:
import pytest
<|file_sep|>original/tests/functional/staging_and_prod/test_admin.py
from tests.postman import (
send_notification_via_csv,
get_notification_by_id_via_api,
)
from tests.test_utils import assert_notification_body... | from tests.pages import UploadCsvPage
from tests.postman import (
send_notification_via_csv,
get_notification_by_id_via_api,
)
from tests.test_utils import assert_notification_body, recordtime, NotificationStatuses
@pytest.mark.skip(reason="intermittent pager duty alerts due to queue backlog")
def test_admi... | <|file_sep|>tests/functional/staging_and_prod/test_admin.py.diff
original:
updated:
import pytest
<|file_sep|>original/tests/functional/staging_and_prod/test_admin.py
from tests.postman import (
send_notification_via_csv,
get_notification_by_id_via_api,
)
from tests.test_utils import assert_notification_body... | 1eacbac722ca949518e1a8e9d6a0a957e193ba9e | tests/functional/staging_and_prod/test_admin.py | tests/functional/staging_and_prod/test_admin.py | Python |
<|file_sep|>original/requirements.txt
aiohttp==2.2.5
elasticsearch==5.4.0
flake8==3.4.1
ipdb==0.10.3
ipython==6.1.0
pytest==3.2.2
pytest-cov==2.5.1
pytest-mock==1.6.2
tox==2.8.1
docker==2.5.1
isort==4.2.15
-e .
<|file_sep|>current/requirements.txt
aiohttp==2.2.5
elasticsearch==5.4.0
flake8==3.4.1
ipdb==0.10.3
ipython==... | aiohttp==2.2.5
elasticsearch==5.4.0
flake8==3.4.1
ipdb==0.10.3
ipython==6.1.0
pytest==3.2.2
pytest-cov==2.5.1
pytest-mock==1.6.2
tox==2.8.2
docker==2.5.1
isort==4.2.15
-e . | <|file_sep|>original/requirements.txt
aiohttp==2.2.5
elasticsearch==5.4.0
flake8==3.4.1
ipdb==0.10.3
ipython==6.1.0
pytest==3.2.2
pytest-cov==2.5.1
pytest-mock==1.6.2
tox==2.8.1
docker==2.5.1
isort==4.2.15
-e .
<|file_sep|>current/requirements.txt
aiohttp==2.2.5
elasticsearch==5.4.0
flake8==3.4.1
ipdb==0.10.3
ipython==... | 3b1fb5e0246966e2d24d8dcfb681592acefbeab3 | requirements.txt | requirements.txt | Text |
<|file_sep|>src/main/resources/application.yml.diff
original:
updated:
eureka:
client:
serviceUrl:
defaultZone: http://${EUREKA_ADVERTISED_HOST_NAME:localhost}:8081/eureka/
healthcheck:
enabled: true
<|file_sep|>original/src/main/resources/application.yml
server:
port: 80
context-path: /... | client:
serviceUrl:
defaultZone: http://${EUREKA_ADVERTISED_HOST_NAME:localhost}:8081/eureka/
healthcheck:
enabled: true
management:
security:
enabled: false
feign:
compression:
request:
enabled: true
mime-types: application/json
response:
enabled: true
elsie... | <|file_sep|>src/main/resources/application.yml.diff
original:
updated:
eureka:
client:
serviceUrl:
defaultZone: http://${EUREKA_ADVERTISED_HOST_NAME:localhost}:8081/eureka/
healthcheck:
enabled: true
<|file_sep|>original/src/main/resources/application.yml
server:
port: 80
context-path: /... | a9d247eb0cc0c60b51cd330cd8688ced51d52f29 | src/main/resources/application.yml | src/main/resources/application.yml | YAML |
<|file_sep|>README.md.diff
original:
updated:
Because Firefox 48 and above require add-on signing, development is recommended using an
[unbranded build](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds)
that allows installing unsigned add-ons.
<|file_sep|>README.md.diff
original:
jpm run
updated:
j... |
A Firefox add-on to configure UITour preferences for easier development, testing and debugging.
##Contributing
Install jpm by following the [instructions on MDN](https://developer.mozilla.org/Add-ons/SDK/Tools/jpm#Installation).
Because Firefox 48 and above require add-on signing, development is recommended using an... | <|file_sep|>README.md.diff
original:
updated:
Because Firefox 48 and above require add-on signing, development is recommended using an
[unbranded build](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds)
that allows installing unsigned add-ons.
<|file_sep|>README.md.diff
original:
jpm run
updated:
j... | 4f6ef35ec1a6fdb414bd2345370b1d6ced436c31 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
coverage==4.5.2
gunicorn==19.9.0
Django==2.1.7
django-pigeon==0.3.0
python-memcached==1.59
psycopg2==2.7.7
whitenoise==4.1.2
Pillow==5.4.1
django-classbasedsettings==1.5.0
dj-database-url==0.5.0
sorl-thumbnail==12.5.0
django-s3-storage==0.12.4
raven==6.10.0
<|file_sep|>current/requ... | coverage==4.5.3
gunicorn==19.9.0
Django==2.1.7
django-pigeon==0.3.0
python-memcached==1.59
psycopg2==2.7.7
whitenoise==4.1.2
Pillow==5.4.1
django-classbasedsettings==1.5.0
dj-database-url==0.5.0
sorl-thumbnail==12.5.0
django-s3-storage==0.12.4
raven==6.10.0 | <|file_sep|>original/requirements.txt
coverage==4.5.2
gunicorn==19.9.0
Django==2.1.7
django-pigeon==0.3.0
python-memcached==1.59
psycopg2==2.7.7
whitenoise==4.1.2
Pillow==5.4.1
django-classbasedsettings==1.5.0
dj-database-url==0.5.0
sorl-thumbnail==12.5.0
django-s3-storage==0.12.4
raven==6.10.0
<|file_sep|>current/requ... | ba858050108ee7bceb73ce510e5c3b27e93e435d | requirements.txt | requirements.txt | Text |
<|file_sep|>original/String/ShortestWordDistance.swift
<|file_sep|>current/String/ShortestWordDistance.swift
<|file_sep|>updated/String/ShortestWordDistance.swift | /**
* Question Link: https://leetcode.com/problems/shortest-word-distance/
* Primary idea: Iterate and update index and distance when encounter word1 or word2
* Time Complexity: O(n), Space Complexity: O(1)
*/
class ShortestWordDistance {
func shortestDistance(_ words: [String], _ word1: String, _ word2: Strin... | <|file_sep|>original/String/ShortestWordDistance.swift
<|file_sep|>current/String/ShortestWordDistance.swift
<|file_sep|>updated/String/ShortestWordDistance.swift
/**
* Question Link: https://leetcode.com/problems/shortest-word-distance/
* Primary idea: Iterate and update index and distance when encounter word1 or ... | 6d3ad8ed9c19d5144c900802d28d66da3677e51e | String/ShortestWordDistance.swift | String/ShortestWordDistance.swift | Swift |
<|file_sep|>original/manual/en/meta.edn
{:name "Rook Manual"
:description "Sane, smart, fast, Clojure web services."
:github "AvisoNovate/rook"
:page-order ["index"
"example"
"getting-started"
"arguments"
"namespaces"
"middleware... | {:name "Rook Manual"
:description "Sane, smart, fast, Clojure web services."
:github "AvisoNovate/rook"
:api "http://howardlewisship.com/io.aviso/rook/"
:page-order ["index"
"example"
"getting-started"
"arguments"
"namespaces"
... | <|file_sep|>original/manual/en/meta.edn
{:name "Rook Manual"
:description "Sane, smart, fast, Clojure web services."
:github "AvisoNovate/rook"
:page-order ["index"
"example"
"getting-started"
"arguments"
"namespaces"
"middleware... | a51d1d0c6b9acaf3d3d71099db4f3d90626d423d | manual/en/meta.edn | manual/en/meta.edn | edn |
<|file_sep|>original/lib/errpage.html
<|file_sep|>current/lib/errpage.html
<|file_sep|>updated/lib/errpage.html | <html>
<head>
<title>Quizzer - page not found</title>
<link rel="stylesheet" type="text/css" href="css/simple-grid.css"/>
</head>
<body>
<div class="grid">
<div class="col-1-1">
<h1>Page not found</h1>
<hr/>
<p>
Quizzer URLs are temporary, and change each time a... | <|file_sep|>original/lib/errpage.html
<|file_sep|>current/lib/errpage.html
<|file_sep|>updated/lib/errpage.html
<html>
<head>
<title>Quizzer - page not found</title>
<link rel="stylesheet" type="text/css" href="css/simple-grid.css"/>
</head>
<body>
<div class="grid">
<div class="col-1-1">
... | a87c95159c4db5ba006cf324400dfb83a60734cf | lib/errpage.html | lib/errpage.html | HTML |
<|file_sep|>original/requirements.txt
Flask==0.9
Jinja2==2.7.3
MarkupSafe==0.23
PyYAML==3.11
Werkzeug==0.8.3
bcdoc==0.12.0
boto==2.34.0
botocore==0.31.0
clan==0.1.3
colorama==0.2.5
copytext==0.1.6
cssmin==0.1.4
docutils==0.11
facebook-sdk==0.4.0
gunicorn==19.1.1
httplib2==0.9
jmespath==0.2.1
nose==1.2.1
odict==1.5.1
op... | Flask==0.9
Jinja2==2.7.3
MarkupSafe==0.23
PyYAML==3.11
Werkzeug==0.8.3
bcdoc==0.12.0
boto==2.34.0
botocore==0.31.0
clan==0.1.3
colorama==0.2.5
copytext==0.1.8
cssmin==0.1.4
docutils==0.11
facebook-sdk==0.4.0
gunicorn==19.1.1
httplib2==0.9
jmespath==0.2.1
nose==1.2.1
odict==1.5.1
openpyxl==1.8.5
ply==3.4 | <|file_sep|>original/requirements.txt
Flask==0.9
Jinja2==2.7.3
MarkupSafe==0.23
PyYAML==3.11
Werkzeug==0.8.3
bcdoc==0.12.0
boto==2.34.0
botocore==0.31.0
clan==0.1.3
colorama==0.2.5
copytext==0.1.6
cssmin==0.1.4
docutils==0.11
facebook-sdk==0.4.0
gunicorn==19.1.1
httplib2==0.9
jmespath==0.2.1
nose==1.2.1
odict==1.5.1
op... | 71541c1ce021f553161b94c056f6e7491da2a604 | requirements.txt | requirements.txt | Text |
<|file_sep|>_features/quick-start.md.diff
original:
title: Quick Start
updated:
title: Persistent Layouts
<|file_sep|>original/_features/quick-start.md
---
icon: fa-floppy-o
title: Quick Start
---
The grouping of terminals can be saved and loaded from disk.
<|file_sep|>current/_features/quick-start.md
---
icon: fa-flop... | ---
icon: fa-floppy-o
title: Persistent Layouts
---
Grouping of terminals can be saved and loaded from disk. | <|file_sep|>_features/quick-start.md.diff
original:
title: Quick Start
updated:
title: Persistent Layouts
<|file_sep|>original/_features/quick-start.md
---
icon: fa-floppy-o
title: Quick Start
---
The grouping of terminals can be saved and loaded from disk.
<|file_sep|>current/_features/quick-start.md
---
icon: fa-flop... | 2dad103626f8f5e730c5ab2bf2c8131145a0b845 | _features/quick-start.md | _features/quick-start.md | Markdown |
<|file_sep|>lib/mill/navigator.rb.diff
original:
def initialize(items: [])
updated:
def initialize(items: [], site: nil)
<|file_sep|>original/lib/mill/navigator.rb
end
def initialize(items: [])
@items = Hash[
items.map do |uri, title|
item = Item.new(uri: uri, title: title)
... |
end
def initialize(items: [], site: nil)
@items = Hash[
items.map do |uri, title|
item = Item.new(uri: uri, title: title)
[item.uri, item]
end
]
@site = site
end
def items
@items.values
end
def first_item
@items.values.first
... | <|file_sep|>lib/mill/navigator.rb.diff
original:
def initialize(items: [])
updated:
def initialize(items: [], site: nil)
<|file_sep|>original/lib/mill/navigator.rb
end
def initialize(items: [])
@items = Hash[
items.map do |uri, title|
item = Item.new(uri: uri, title: title)
... | 3cfb6000ae1084edee0a495bad03208520846784 | lib/mill/navigator.rb | lib/mill/navigator.rb | Ruby |
<|file_sep|>original/renovate.json
{
"extends": [
"config:base"
],
"baseBranches": ["master", "release/2.0.x", "release/2.1.x", "release/2.2.x", "release/3.0.x"],
"dependencyDashboard": true,
"labels": ["dependencies"],
"reviewers": ["team:committers"],
"separateMinorPatch": true,
"schedule": [
... | {
"extends": [
"config:base"
],
"baseBranches": ["master", "release/2.0.x", "release/2.1.x", "release/3.0.x", "release/4.0.x"],
"dependencyDashboard": true,
"labels": ["dependencies"],
"reviewers": ["team:committers"],
"separateMinorPatch": true,
"schedule": [
"before 2am"
],
"vulnerabilityA... | <|file_sep|>original/renovate.json
{
"extends": [
"config:base"
],
"baseBranches": ["master", "release/2.0.x", "release/2.1.x", "release/2.2.x", "release/3.0.x"],
"dependencyDashboard": true,
"labels": ["dependencies"],
"reviewers": ["team:committers"],
"separateMinorPatch": true,
"schedule": [
... | aa70fb35784b56af61e3ff64f3e9dcddb247d14f | renovate.json | renovate.json | JSON |
<|file_sep|>original/CHANGELOG.md
Changelog
=========
## x.y.z - UNRELEASED
--------
## 0.1.0 - 2015-05-19
### Added
* [Providers] Google provider.
* [Providers] Voxygen provider.
* [Providers] Voice RSS provider.
<|file_sep|>current/CHANGELOG.md
Changelog
=========
## x.y.z - UNRELEASED
--------
## 0.1.0 - 201... | Changelog
=========
## x.y.z - UNRELEASED
--------
## 0.2.0 - 2015-05-20
### Added
* [TextToSpeech] getFile() method to cache webservice calls.
* [TextToSpeech] save() method to store the audio on the local filesystem.
--------
## 0.1.0 - 2015-05-19
### Added
* [Providers] Google provider. | <|file_sep|>original/CHANGELOG.md
Changelog
=========
## x.y.z - UNRELEASED
--------
## 0.1.0 - 2015-05-19
### Added
* [Providers] Google provider.
* [Providers] Voxygen provider.
* [Providers] Voice RSS provider.
<|file_sep|>current/CHANGELOG.md
Changelog
=========
## x.y.z - UNRELEASED
--------
## 0.1.0 - 201... | 930f293f6c19ac6418f5bfe016657f4b66ddbb59 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/lib/mailer.rb
<|file_sep|>current/lib/mailer.rb
<|file_sep|>updated/lib/mailer.rb | require 'pony'
class Mailer
def self.send(address, subject, message)
Pony.mail(
to: address,
from: "government_api_validator@continuity.net",
subject: subject,
body: message,
via: :smtp,
via_options: {
address: 'smtp.sendgrid.net',
port: '587',
domain: '... | <|file_sep|>original/lib/mailer.rb
<|file_sep|>current/lib/mailer.rb
<|file_sep|>updated/lib/mailer.rb
require 'pony'
class Mailer
def self.send(address, subject, message)
Pony.mail(
to: address,
from: "government_api_validator@continuity.net",
subject: subject,
body: message,
via:... | 4628bee0d1839b9b9753a07f4d60ecead2c3c275 | lib/mailer.rb | lib/mailer.rb | Ruby |
<|file_sep|>original/validation-test/Sema/SwiftUI/issue-59716.swift
<|file_sep|>current/validation-test/Sema/SwiftUI/issue-59716.swift
<|file_sep|>updated/validation-test/Sema/SwiftUI/issue-59716.swift | // RUN: %target-typecheck-verify-swift -target %target-cpu-apple-macosx10.15 -swift-version 5 -enable-experimental-feature ResultBuilderASTTransform
// REQUIRES: OS=macosx
import SwiftUI
protocol TestLayout {}
extension TestLayout {
func callAsFunction<V: View>(_ f: () -> V) -> some View {
return f()
}
}
stru... | <|file_sep|>original/validation-test/Sema/SwiftUI/issue-59716.swift
<|file_sep|>current/validation-test/Sema/SwiftUI/issue-59716.swift
<|file_sep|>updated/validation-test/Sema/SwiftUI/issue-59716.swift
// RUN: %target-typecheck-verify-swift -target %target-cpu-apple-macosx10.15 -swift-version 5 -enable-experimental-f... | cc11e1938fb59ee4c93eee22859c400754bebac7 | validation-test/Sema/SwiftUI/issue-59716.swift | validation-test/Sema/SwiftUI/issue-59716.swift | Swift |
<|file_sep|>config/initializers/7_cache_settings.rb.diff
original:
redis_config_file = Rails.root.join('config', 'resque.yml')
updated:
Gitlab::Application.configure do
redis_config_file = Rails.root.join('config', 'resque.yml')
<|file_sep|>config/initializers/7_cache_settings.rb.diff
original:
redis_url_string = if ... | Gitlab::Application.configure do
redis_config_file = Rails.root.join('config', 'resque.yml')
redis_url_string = if File.exists?(redis_config_file)
YAML.load_file(redis_config_file)[Rails.env]
else
"redis://localhost:6379"
end
... | <|file_sep|>config/initializers/7_cache_settings.rb.diff
original:
redis_config_file = Rails.root.join('config', 'resque.yml')
updated:
Gitlab::Application.configure do
redis_config_file = Rails.root.join('config', 'resque.yml')
<|file_sep|>config/initializers/7_cache_settings.rb.diff
original:
redis_url_string = if ... | 0a52b70b923af6d4351d4b7a28527c6740e812cf | config/initializers/7_cache_settings.rb | config/initializers/7_cache_settings.rb | Ruby |
<|file_sep|>applications/git/default.nix.diff
original:
updated:
gitAndTools.gh
<|file_sep|>original/applications/git/default.nix
{ pkgs, ... }:
{
home.packages = with pkgs; [
git
gitAndTools.diff-so-fancy
];
home.file.".gitconfig".source = ./gitconfig;
home.file.".gitignore".source = ./gitignore;... | { pkgs, ... }:
{
home.packages = with pkgs; [
git
gitAndTools.diff-so-fancy
gitAndTools.gh
];
home.file.".gitconfig".source = ./gitconfig;
home.file.".gitignore".source = ./gitignore;
} | <|file_sep|>applications/git/default.nix.diff
original:
updated:
gitAndTools.gh
<|file_sep|>original/applications/git/default.nix
{ pkgs, ... }:
{
home.packages = with pkgs; [
git
gitAndTools.diff-so-fancy
];
home.file.".gitconfig".source = ./gitconfig;
home.file.".gitignore".source = ./gitignore;... | 149f76759e985145df8932519bb8fcd97ae27b94 | applications/git/default.nix | applications/git/default.nix | Nix |
<|file_sep|>original/README.md
# Development environment for Errbot plugins
## Requirements and recommendations
- Vagrant
- VirtualBox
## Usage
Install any prerequisites listed in Requirements section.
Clone this project to your computer:
```
git clone https://github.com/alimac/errbot-dev.git
```
Build the `ubu... | # Development environment for Errbot plugins
## Requirements and recommendations
Download and install:
- [Vagrant](https://www.vagrantup.com/downloads.html)
- [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
For keeping VirtualBox Guest Additions in sync, I recommend installing the
`vagrant-vbguest` plugin:... | <|file_sep|>original/README.md
# Development environment for Errbot plugins
## Requirements and recommendations
- Vagrant
- VirtualBox
## Usage
Install any prerequisites listed in Requirements section.
Clone this project to your computer:
```
git clone https://github.com/alimac/errbot-dev.git
```
Build the `ubu... | a749a4a77e13d2530f9079dbd425d80378d2467b | README.md | README.md | Markdown |
<|file_sep|>original/hunting/crow.json
"firearms": {
"range": {
"statewide": {
"season": {
"date": {
"starts": "2013-08-17",
"ends": "2014-03-15"
},
"days": ["Monday", "Wednesday", "Friday", "Saturday"]
}
}
"national forest lands and department land... | "firearms": {
"range": {
"statewide": {
"season": {
"date": {
"starts": "2013-08-17",
"ends": "2014-03-15"
},
"days": ["Monday", "Wednesday", "Friday", "Saturday"]
}
},
"national_forest_lands_and_department_lands": {
"season": {
"date":... | <|file_sep|>original/hunting/crow.json
"firearms": {
"range": {
"statewide": {
"season": {
"date": {
"starts": "2013-08-17",
"ends": "2014-03-15"
},
"days": ["Monday", "Wednesday", "Friday", "Saturday"]
}
}
"national forest lands and department land... | ebd71ae711851cad70f3550dca43de9e0705abac | hunting/crow.json | hunting/crow.json | JSON |
<|file_sep|>original/Documentation/user-search-projects.txt
[[search-operators]]
== Search Operators
Operators act as restrictions on the search. As more operators
are added to the same query string, they further restrict the
returned results.
[[name]]
name:'NAME'::
+
Matches projects that have the NAME 'NAME'.
== M... | [[search-operators]]
== Search Operators
Operators act as restrictions on the search. As more operators
are added to the same query string, they further restrict the
returned results.
[[name]]
name:'NAME'::
+
Matches projects that have exactly the name 'NAME'.
[[inname]]
inname:'NAME'::
+
Matches projects that a nam... | <|file_sep|>original/Documentation/user-search-projects.txt
[[search-operators]]
== Search Operators
Operators act as restrictions on the search. As more operators
are added to the same query string, they further restrict the
returned results.
[[name]]
name:'NAME'::
+
Matches projects that have the NAME 'NAME'.
== M... | 5815a78397ae4ba10297ef0227adbabbee1e518e | Documentation/user-search-projects.txt | Documentation/user-search-projects.txt | Text |
<|file_sep|>pkgs/tools/text/diffutils/default.nix.diff
original:
updated:
<|file_sep|>pkgs/tools/text/diffutils/default.nix.diff
original:
preConfigure = ''
configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
'';
updated:
<|file_sep|>original/pkgs/tools/text/diffutils/default.nix
{stdenv... | {stdenv, fetchurl, coreutils ? null}:
stdenv.mkDerivation {
name = "diffutils-2.8.1";
src = fetchurl {
url = mirror://gnu/diffutils/diffutils-2.8.1.tar.gz;
md5 = "71f9c5ae19b60608f6c7f162da86a428";
};
/* If no explicit coreutils is given, use the one from stdenv. */
buildInputs = [coreutils];
... | <|file_sep|>pkgs/tools/text/diffutils/default.nix.diff
original:
updated:
<|file_sep|>pkgs/tools/text/diffutils/default.nix.diff
original:
preConfigure = ''
configureFlags="--infodir=$out/share/info --mandir=$out/share/man"
'';
updated:
<|file_sep|>original/pkgs/tools/text/diffutils/default.nix
{stdenv... | ffebdb77c3c7a505bb08554775bc1fe8d49d358d | pkgs/tools/text/diffutils/default.nix | pkgs/tools/text/diffutils/default.nix | Nix |
<|file_sep|>original/modules/http4s/src/main/scala/ciris/http4s/http4s.scala
* Copyright 2017-2022 Viktor Lövgren
*
* SPDX-License-Identifier: MIT
*/
package ciris
import com.comcast.ip4s.Host
import com.comcast.ip4s.Port
import org.http4s.Uri
package object http4s {
implicit final val hostConfigDecoder: Confi... | * Copyright 2017-2022 Viktor Lövgren
*
* SPDX-License-Identifier: MIT
*/
package ciris
import com.comcast.ip4s.Host
import com.comcast.ip4s.Port
import org.http4s.Uri
package object http4s {
implicit final val hostConfigDecoder: ConfigDecoder[String, Host] =
ConfigDecoder[String].mapOption("Host")(Host.fro... | <|file_sep|>original/modules/http4s/src/main/scala/ciris/http4s/http4s.scala
* Copyright 2017-2022 Viktor Lövgren
*
* SPDX-License-Identifier: MIT
*/
package ciris
import com.comcast.ip4s.Host
import com.comcast.ip4s.Port
import org.http4s.Uri
package object http4s {
implicit final val hostConfigDecoder: Confi... | 38f1ff12010cc789b25f1c0ea797f2f132108664 | modules/http4s/src/main/scala/ciris/http4s/http4s.scala | modules/http4s/src/main/scala/ciris/http4s/http4s.scala | Scala |
<|file_sep|>original/.travis.yml
language: cpp
sudo: required
dist: trusty
os:
- linux
- osx
env:
- DEFINES=standard
- DEFINES=PUGIXML_WCHAR_MODE
- DEFINES=PUGIXML_COMPACT
script:
- make test cxxstd=c++11 defines=$DEFINES config=coverage -j2
- make test cxxstd=c++11 defines=$DEFINES config=release -j2
-... | language: cpp
sudo: required
dist: trusty
os:
- linux
- osx
env:
- DEFINES=standard
- DEFINES=PUGIXML_WCHAR_MODE
- DEFINES=PUGIXML_COMPACT
- DEFINES=PUGIXML_NO_EXCEPTIONS
script:
- make test cxxstd=c++11 defines=$DEFINES config=coverage -j2
- make test cxxstd=c++11 defines=$DEFINES config=release -j2
... | <|file_sep|>original/.travis.yml
language: cpp
sudo: required
dist: trusty
os:
- linux
- osx
env:
- DEFINES=standard
- DEFINES=PUGIXML_WCHAR_MODE
- DEFINES=PUGIXML_COMPACT
script:
- make test cxxstd=c++11 defines=$DEFINES config=coverage -j2
- make test cxxstd=c++11 defines=$DEFINES config=release -j2
-... | 34b8c5908b338fb00197a758c98ac36777cad35b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.11"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.11"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.10"
- "0.12" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.11"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.11"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12" | da7a0c7db3cc5379a54bf1560e8cb3f026ed2ca5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>docs/json/equals_del_to_forward_del.json.diff
original:
"description": "= + Del to Forward Del",
updated:
"description": "Simultaneously press Equals + Del to get a ForwardDel",
<|file_sep|>docs/json/equals_del_to_forward_del.json.diff
original:
"key_code": "equal_sign"
},
... | },
{
"key_code": "delete_or_backspace"
}
],
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "delete_forward"
... | <|file_sep|>docs/json/equals_del_to_forward_del.json.diff
original:
"description": "= + Del to Forward Del",
updated:
"description": "Simultaneously press Equals + Del to get a ForwardDel",
<|file_sep|>docs/json/equals_del_to_forward_del.json.diff
original:
"key_code": "equal_sign"
},
... | 76ec64e760835c9475fb8534869b4bb57228e921 | docs/json/equals_del_to_forward_del.json | docs/json/equals_del_to_forward_del.json | JSON |
<|file_sep|>original/config/deploy.rb
require 'recipes/rails31'
require 'recipes/database/sync'
namespace :deploy do
task :cold do # Overriding the default deploy:cold
update
setup_db
start
end
task :setup_db, :roles => :app do
run "cd #{current_path}; /usr/bin/env bundle exec rake db:setu... | require 'cookbook/rails31'
require 'recipes/database/sync'
namespace :deploy do
task :cold do # Overriding the default deploy:cold
update
setup_db
start
end
task :setup_db, :roles => :app do
run "cd #{current_path}; /usr/bin/env bundle exec rake db:setup RAILS_ENV=#{rails_env}"
end
end
... | <|file_sep|>original/config/deploy.rb
require 'recipes/rails31'
require 'recipes/database/sync'
namespace :deploy do
task :cold do # Overriding the default deploy:cold
update
setup_db
start
end
task :setup_db, :roles => :app do
run "cd #{current_path}; /usr/bin/env bundle exec rake db:setu... | d50ba37f91353d759d7a7cb182cf9859e4944ee4 | config/deploy.rb | config/deploy.rb | Ruby |
<|file_sep|>original/app/js/arethusa.conf_editor/directives/plugin_conf.js
"use strict";
angular.module('arethusa.confEditor').directive('pluginConf', function() {
return {
restrict: 'AE',
scope: true,
link: function(scope, element, attrs) {
var name = scope.$eval(attrs.name);
scope.template ... | "use strict";
angular.module('arethusa.confEditor').directive('pluginConf', function() {
return {
restrict: 'AE',
scope: true,
link: function(scope, element, attrs) {
var name = scope.$eval(attrs.name);
// Right now paths to such configuration are hardcoded to a specific
// folder. Thi... | <|file_sep|>original/app/js/arethusa.conf_editor/directives/plugin_conf.js
"use strict";
angular.module('arethusa.confEditor').directive('pluginConf', function() {
return {
restrict: 'AE',
scope: true,
link: function(scope, element, attrs) {
var name = scope.$eval(attrs.name);
scope.template ... | 662aaae249f1411499aaf21b02c6527ceec1cca4 | app/js/arethusa.conf_editor/directives/plugin_conf.js | app/js/arethusa.conf_editor/directives/plugin_conf.js | JavaScript |
<|file_sep|>original/Installation/License.txt
<div class="License">
<h3>License</h3>
<p class="Owner">
DotNetNuke® - <a href=http://www.dotnetnuke.com>http://www.dotnetnuke.com</a><br/>
Copyright (c) 2002-2011<br/>
by DotNetNuke Corporation
</p>
<p>
Permission is hereby granted, free of charge, to any person obtai... | <div class="License">
<h3>License</h3>
<p class="Owner">
DotNetNuke® - <a href=http://www.dotnetnuke.com>http://www.dotnetnuke.com</a><br/>
Copyright (c) 2002-2012<br/>
by DotNetNuke Corporation
</p>
<p>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
d... | <|file_sep|>original/Installation/License.txt
<div class="License">
<h3>License</h3>
<p class="Owner">
DotNetNuke® - <a href=http://www.dotnetnuke.com>http://www.dotnetnuke.com</a><br/>
Copyright (c) 2002-2011<br/>
by DotNetNuke Corporation
</p>
<p>
Permission is hereby granted, free of charge, to any person obtai... | b382bf9a5b52f05894d7419e2efe6dce3d4e514e | Installation/License.txt | Installation/License.txt | Text |
<|file_sep|>src/service_deployment_tools/paasta_cli/utils/cmd_utils.py.diff
original:
# List of commands the paasta client can execute
CMDS = None
updated:
<|file_sep|>original/src/service_deployment_tools/paasta_cli/utils/cmd_utils.py
"""
Read the files names in the cmds directory to determine the various co... | """
import glob
import os
def paasta_commands():
"""
Read the files names in the cmds directory to determine the various commands
the paasta client is able to execute
:return: a list of string such as ['list','check'] that correspond to a
file in cmds
"""
path = '%s/cmds/*.py' % os.path.... | <|file_sep|>src/service_deployment_tools/paasta_cli/utils/cmd_utils.py.diff
original:
# List of commands the paasta client can execute
CMDS = None
updated:
<|file_sep|>original/src/service_deployment_tools/paasta_cli/utils/cmd_utils.py
"""
Read the files names in the cmds directory to determine the various co... | 51cdd71cbcbcfd80105cc5ccb5b95f4d79dc593e | src/service_deployment_tools/paasta_cli/utils/cmd_utils.py | src/service_deployment_tools/paasta_cli/utils/cmd_utils.py | Python |
<|file_sep|>original/config/fish/config.fish
# Turn off the default greeting
set fish_greeting
# Specify my preferred path dirs here (in reverse order) and ensure they get
# re-placed at the front of the current $PATH.
#
# Include Postgres.app here, before asdf inits, so asdf's shims end up first
# of all (allowing Po... | # Turn off the default greeting
set fish_greeting
fish_add_path /opt/homebrew/bin
direnv hook fish | source
source /opt/homebrew/opt/asdf/asdf.fish
source ~/.secrets.fish
set --export EDITOR "code"
# Required for postgres to build, see https://github.com/smashedtoatoms/asdf-postgres/issues/52
set --export HOMEBRE... | <|file_sep|>original/config/fish/config.fish
# Turn off the default greeting
set fish_greeting
# Specify my preferred path dirs here (in reverse order) and ensure they get
# re-placed at the front of the current $PATH.
#
# Include Postgres.app here, before asdf inits, so asdf's shims end up first
# of all (allowing Po... | 1d4a402da234119420c7a6f569613cd8d4c4a0e5 | config/fish/config.fish | config/fish/config.fish | fish |
<|file_sep|>original/spec/spec_helper.rb
require 'pathname'
require 'rubygems'
gem 'rspec', '~>1.1.12'
require 'spec'
ROOT = Pathname(__FILE__).dirname.parent.expand_path
# use local dm-adjust if running from dm-more directly
lib = ROOT.parent.join('dm-adjust', 'lib').expand_path
$LOAD_PATH.unshift(lib) if lib.direc... | require 'pathname'
require 'rubygems'
gem 'rspec', '>=1.1.12'
require 'spec'
ROOT = Pathname(__FILE__).dirname.parent.expand_path
# use local dm-adjust if running from dm-more directly
lib = ROOT.parent.join('dm-adjust', 'lib').expand_path
$LOAD_PATH.unshift(lib) if lib.directory?
require ROOT + 'lib/dm-is-nested_s... | <|file_sep|>original/spec/spec_helper.rb
require 'pathname'
require 'rubygems'
gem 'rspec', '~>1.1.12'
require 'spec'
ROOT = Pathname(__FILE__).dirname.parent.expand_path
# use local dm-adjust if running from dm-more directly
lib = ROOT.parent.join('dm-adjust', 'lib').expand_path
$LOAD_PATH.unshift(lib) if lib.direc... | 2723c4b6058fec1249f49ce864438d0d48f9fb97 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/bench/bench_enum_i.rb
<|file_sep|>current/bench/bench_enum_i.rb
<|file_sep|>updated/bench/bench_enum_i.rb | require File.expand_path(File.join(File.dirname(__FILE__), "bench_helper"))
module LibTest
extend FFI::Library
ffi_lib LIBTEST_PATH
enum :foo, [ :a, :b, :c ]
attach_function :ffi_bench, :bench_s32_v, [ :foo ], :void, :save_errno => true
attach_function :ffi_bench_i, :bench_s32_v, [ :int ], :void, :save_errno... | <|file_sep|>original/bench/bench_enum_i.rb
<|file_sep|>current/bench/bench_enum_i.rb
<|file_sep|>updated/bench/bench_enum_i.rb
require File.expand_path(File.join(File.dirname(__FILE__), "bench_helper"))
module LibTest
extend FFI::Library
ffi_lib LIBTEST_PATH
enum :foo, [ :a, :b, :c ]
attach_function :ffi_ben... | 86406df431e75b8c47311c72052e6d933d7ac9f3 | bench/bench_enum_i.rb | bench/bench_enum_i.rb | Ruby |
<|file_sep|>original/metadata/com.money.manager.ex.txt
* Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Repo:https://github.com/moneymanagerex/android-mon... | * Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Repo:https://github.com/moneymanagerex/android-money-manager-ex
Build:2.15.2,687
disable=third party... | <|file_sep|>original/metadata/com.money.manager.ex.txt
* Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Repo:https://github.com/moneymanagerex/android-mon... | 47584f52dc30f11d3f954c15d3952ffef997643f | metadata/com.money.manager.ex.txt | metadata/com.money.manager.ex.txt | Text |
<|file_sep|>original/README.rst
MAIN {
outln("Hello, world!");
}
Influence
---------
Mill takes ideas from many languages, in no particular order:
- Clojure: protocols.
- D: contracts, exceptions.
- Eiffel: contracts, CQS.
- Elixir: pipelines.
- F#: type system.
- Go: concurrency, control structures... |
MAIN {
outln("Hello, world!");
}
Influence
---------
Mill takes ideas from many languages, in no particular order:
- Clojure: dynamic variables, protocols.
- D: contracts, exceptions.
- Eiffel: contracts, CQS.
- Elixir: pipelines.
- F#: type system.
- Go: concurrency, control structures, I/O.
- Hask... | <|file_sep|>original/README.rst
MAIN {
outln("Hello, world!");
}
Influence
---------
Mill takes ideas from many languages, in no particular order:
- Clojure: protocols.
- D: contracts, exceptions.
- Eiffel: contracts, CQS.
- Elixir: pipelines.
- F#: type system.
- Go: concurrency, control structures... | 569cf332eab57ef7d2812eeaaf57e4d6df0c5a77 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/src/main/resources/templates/home-sponsor.mustache
<a href="/sponsors/#{{#urlEncode}}{{login}}{{/urlEncode}}">
<picture>
{{#logoWebpUrl}}<source srcset="/images/{{logoWebpUrl}}" type=" image/webp" alt="{{company}}" class="mxt-img--sponsors-home">{{/logoWebpUrl}}
<source srcset="... | <a href="/sponsors#{{#urlEncode}}{{login}}{{/urlEncode}}">
<picture>
{{#logoWebpUrl}}<source srcset="/images/{{logoWebpUrl}}" type=" image/webp" alt="{{company}}" class="mxt-img--sponsors-home">{{/logoWebpUrl}}
<source srcset="/images/{{logoUrl}}" type="{{logoType}}" alt="{{company}}" class="mxt-img... | <|file_sep|>original/src/main/resources/templates/home-sponsor.mustache
<a href="/sponsors/#{{#urlEncode}}{{login}}{{/urlEncode}}">
<picture>
{{#logoWebpUrl}}<source srcset="/images/{{logoWebpUrl}}" type=" image/webp" alt="{{company}}" class="mxt-img--sponsors-home">{{/logoWebpUrl}}
<source srcset="... | 6ac9e227d004526a765eefb7f3dee3eba01da98c | src/main/resources/templates/home-sponsor.mustache | src/main/resources/templates/home-sponsor.mustache | HTML+Django |
<|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Postgresql database access
psycopg2==2.7.3.2
# Documentation
Sphinx==1.6.6
# Testing
pytest==3.4.0
pytest-cov==2.5.1
coveralls==1.2.0
# Linting
flake8==3.5.0
mccabe==0.6.1
pep8==1.7.1
pyflakes==1.6.0
<|file_sep|>curren... | # Runtime requirements
--requirement requirements.txt
# Postgresql database access
psycopg2==2.7.4
# Documentation
Sphinx==1.6.6
# Testing
pytest==3.4.0
pytest-cov==2.5.1
coveralls==1.2.0
# Linting
flake8==3.5.0
mccabe==0.6.1
pep8==1.7.1
pyflakes==1.6.0 | <|file_sep|>original/requirements-dev.txt
# Runtime requirements
--requirement requirements.txt
# Postgresql database access
psycopg2==2.7.3.2
# Documentation
Sphinx==1.6.6
# Testing
pytest==3.4.0
pytest-cov==2.5.1
coveralls==1.2.0
# Linting
flake8==3.5.0
mccabe==0.6.1
pep8==1.7.1
pyflakes==1.6.0
<|file_sep|>curren... | b7248c4fc0815fd9c055d5df0e2bc1f039b2f4d6 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/lib/relax/base.rb
module Relax
class Base
def self.redis
if uri = ENV['REDISTOGO_URL']
redis_uri = URI.parse(uri)
elsif uri = ENV['REDIS_URL']
redis_uri = URI.parse(uri)
else
redis_uri = URI.parse("redis://localhost:6379")
end
@@conn ||= ... | module Relax
class Base
def self.redis
if uri = ENV['REDISTOGO_URL']
redis_uri = URI.parse(uri)
elsif uri = ENV['REDIS_URL']
redis_uri = URI.parse(uri)
else
redis_uri = URI.parse("redis://localhost:6379")
end
@@conn ||= ConnectionPool.new(timeout: 1, size: 2)... | <|file_sep|>original/lib/relax/base.rb
module Relax
class Base
def self.redis
if uri = ENV['REDISTOGO_URL']
redis_uri = URI.parse(uri)
elsif uri = ENV['REDIS_URL']
redis_uri = URI.parse(uri)
else
redis_uri = URI.parse("redis://localhost:6379")
end
@@conn ||= ... | e63cff245521b31a020ae7b7d2ff4f5ece91c91c | lib/relax/base.rb | lib/relax/base.rb | Ruby |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode10.1
xcode_workspace: Amethyst.xcworkspace
xcode_scheme: Amethyst
before_install:
- bundle install
- pod repo update
script: set -o pipefail && xcodebuild -workspace Amethyst.xcworkspace -scheme Amethyst clean test | bundle exec xcpretty
<|file_se... | language: objective-c
osx_image: xcode10.1
xcode_workspace: Amethyst.xcworkspace
xcode_scheme: Amethyst
before_install:
- bundle install
- pod repo update
script: set -o pipefail && xcodebuild -workspace Amethyst.xcworkspace -scheme Amethyst clean test | bundle exec xcpretty
branches:
only:
- development | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode10.1
xcode_workspace: Amethyst.xcworkspace
xcode_scheme: Amethyst
before_install:
- bundle install
- pod repo update
script: set -o pipefail && xcodebuild -workspace Amethyst.xcworkspace -scheme Amethyst clean test | bundle exec xcpretty
<|file_se... | ab8e4dfbc52a1ad6f9fa82b8342c9dc512610c83 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.