prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/app/views/articles/index.html.slim
- @articles.each do |a|
article.article
header.article__header
time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)')
h2.article__title= link_to a.title, "#{a.published_on.strftime('%Y/%m/%d')}/#{a.slug}.html"
- if a.eye_catch... | - @articles.each do |a|
article.article
header.article__header
time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)')
h2.article__title= link_to a.title, article_url(a)
- if a.eye_catching_image_url?
= image_tag a.eye_catching_image_url, class: "article__header__eye_catchin... | <|file_sep|>original/app/views/articles/index.html.slim
- @articles.each do |a|
article.article
header.article__header
time.article__published_on= a.published_on.strftime('%Y-%m-%d (%a)')
h2.article__title= link_to a.title, "#{a.published_on.strftime('%Y/%m/%d')}/#{a.slug}.html"
- if a.eye_catch... | 182b0d3ce42266f4d40396e2a7bf7e501e1f6a15 | app/views/articles/index.html.slim | app/views/articles/index.html.slim | Slim |
<|file_sep|>app/views/devise/sessions/_new_ldap.html.haml.diff
original:
= text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' } required: true }
updated:
= text_field_tag :username, nil, { class: "form-cont... | - server = local_assigns.fetch(:server)
= form_tag(omniauth_callback_path(:user, server['provider_name']), id: 'new_ldap_user', class: "gl-show-field-errors") do
.form-group
= label_tag :username, "#{server['label']} Username"
= text_field_tag :username, nil, { class: "form-control top", title: "This field i... | <|file_sep|>app/views/devise/sessions/_new_ldap.html.haml.diff
original:
= text_field_tag :username, nil, { class: "form-control top", title: "This field is required.", autofocus: "autofocus", data: { qa_selector: 'username_field' } required: true }
updated:
= text_field_tag :username, nil, { class: "form-cont... | 41e2be78b58f63d5637ea97093118ab0fb5fdcd5 | app/views/devise/sessions/_new_ldap.html.haml | app/views/devise/sessions/_new_ldap.html.haml | Haml |
<|file_sep|>original/requirements-dev.txt
black==21.6b0
coveralls==3.2.0
ddt==1.4.4
flake8-import-order==0.18.1
pytest==5.4.3
pytest-cov==3.0.0
pytest-json==0.4.0
pytest-pythonpath==0.7.3
pylama==7.7.1
mock==4.0.3
tox==3.24.4
mypy==0.910
<|file_sep|>current/requirements-dev.txt
black==21.6b0
coveralls==3.2.0
ddt==1.4.4... | black==21.9b0
coveralls==3.2.0
ddt==1.4.4
flake8-import-order==0.18.1
pytest==5.4.3
pytest-cov==3.0.0
pytest-json==0.4.0
pytest-pythonpath==0.7.3
pylama==7.7.1
mock==4.0.3
tox==3.24.4
mypy==0.910 | <|file_sep|>original/requirements-dev.txt
black==21.6b0
coveralls==3.2.0
ddt==1.4.4
flake8-import-order==0.18.1
pytest==5.4.3
pytest-cov==3.0.0
pytest-json==0.4.0
pytest-pythonpath==0.7.3
pylama==7.7.1
mock==4.0.3
tox==3.24.4
mypy==0.910
<|file_sep|>current/requirements-dev.txt
black==21.6b0
coveralls==3.2.0
ddt==1.4.4... | 6d672c44aedd81eb0c1b282caeb15a184a283619 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json
{
"scim2.enable_schema_extension": true,
"scim2.enable_custom_schema_extension": true,
"scim2.custom_user_schema_uri": "urn:scim:custom:schema",
"scim2.max_bulk_operat... | {
"scim2.enable_schema_extension": true,
"scim2.enable_custom_schema_extension": true,
"scim2.custom_user_schema_uri": "urn:scim:wso2:schema",
"scim2.max_bulk_operations": "1000",
"scim2.max_bulk_payload": "1048576",
"scim2.documentation_uri": "https://docs.wso2.com/display/IS580/Using+the+SCIM+2.0+REST+API... | <|file_sep|>original/features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json
{
"scim2.enable_schema_extension": true,
"scim2.enable_custom_schema_extension": true,
"scim2.custom_user_schema_uri": "urn:scim:custom:schema",
"scim2.max_bulk_operat... | 0411eb1507c30d83d062cda0293489a3397a6ade | features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json | features/org.wso2.carbon.identity.scim2.common.feature/resources/org.wso2.carbon.identity.scim2.common.feature.default.json | JSON |
<|file_sep|>defprogramming/settings_production.py.diff
original:
updated:
import os
<|file_sep|>original/defprogramming/settings_production.py
from defprogramming.settings import *
ALLOWED_HOSTS = ['*']
DEBUG = False
TEMPLATE_DEBUG = DEBUG
# Update database configuration with $DATABASE_URL.
import dj_database_url
d... | import os
from defprogramming.settings import *
ALLOWED_HOSTS = ['*']
DEBUG = False
TEMPLATE_DEBUG = DEBUG
# Update database configuration with $DATABASE_URL.
import dj_database_url
db_from_env = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(db_from_env)
# SECURE_PROXY_SSL_HEADER = ('HTTP_X_F... | <|file_sep|>defprogramming/settings_production.py.diff
original:
updated:
import os
<|file_sep|>original/defprogramming/settings_production.py
from defprogramming.settings import *
ALLOWED_HOSTS = ['*']
DEBUG = False
TEMPLATE_DEBUG = DEBUG
# Update database configuration with $DATABASE_URL.
import dj_database_url
d... | 38ae4ddab1a5b94d03941c4080df72fea4e750bc | defprogramming/settings_production.py | defprogramming/settings_production.py | Python |
<|file_sep|>original/app/views/yogo_data/new.html.erb
<H3><%= @model.name.demodulize.titleize.singularize %></H3>
<br />
<%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize),
:builder => YogoDataFormBuilder,
:html => { :method => :post, :enc... | <H3><%= @model.name.demodulize.titleize.singularize %></H3>
<br />
<%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize),
:builder => YogoDataFormBuilder,
:html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%>
... | <|file_sep|>original/app/views/yogo_data/new.html.erb
<H3><%= @model.name.demodulize.titleize.singularize %></H3>
<br />
<%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize),
:builder => YogoDataFormBuilder,
:html => { :method => :post, :enc... | 6cb0c8dd49d707aab821128c0ed14f66f5e1bc57 | app/views/yogo_data/new.html.erb | app/views/yogo_data/new.html.erb | HTML+ERB |
<|file_sep|>original/src/js/Helpers/Collapse.d.ts
import * as React from 'react';
import { Props } from '../index';
export interface CollapseProps extends Props {
defaultStyle?: React.CSSProperties;
collapsed: boolean;
springConfig: Object;
children?: React.ReactElement<any>;
animate?: boolean;
}
declare co... | import * as React from 'react';
import { Props } from '../index';
export interface CollapseProps extends Props {
defaultStyle?: React.CSSProperties;
collapsed: boolean;
springConfig?: Object;
children?: React.ReactElement<any>;
animate?: boolean;
}
declare const Collapse: React.ComponentClass<CollapseProps>... | <|file_sep|>original/src/js/Helpers/Collapse.d.ts
import * as React from 'react';
import { Props } from '../index';
export interface CollapseProps extends Props {
defaultStyle?: React.CSSProperties;
collapsed: boolean;
springConfig: Object;
children?: React.ReactElement<any>;
animate?: boolean;
}
declare co... | b6b47ac07a27f7b8c4b4d8c96c2c4f5c1858ec95 | src/js/Helpers/Collapse.d.ts | src/js/Helpers/Collapse.d.ts | TypeScript |
<|file_sep|>src/foremast/app/aws.py.diff
original:
from foremast.app.base import BaseApp
updated:
from foremast.app import base
<|file_sep|>original/src/foremast/app/aws.py
"""AWS Spinnaker Application."""
from pprint import pformat
from foremast.app.base import BaseApp
from foremast.utils import wait_for_task
class... | """AWS Spinnaker Application."""
from pprint import pformat
from foremast.app import base
from foremast.utils import wait_for_task
class SpinnakerApp(base.BaseApp):
"""Create AWS Spinnaker Application."""
def create(self):
"""Send a POST to spinnaker to create a new application with class variables.... | <|file_sep|>src/foremast/app/aws.py.diff
original:
from foremast.app.base import BaseApp
updated:
from foremast.app import base
<|file_sep|>original/src/foremast/app/aws.py
"""AWS Spinnaker Application."""
from pprint import pformat
from foremast.app.base import BaseApp
from foremast.utils import wait_for_task
class... | ebe21ef2014b9b6c6d77c1254a87546d5096642f | src/foremast/app/aws.py | src/foremast/app/aws.py | Python |
<|file_sep|>original/tests/modules/fail_union_atype.aug
module Fail_union_atype =
(* This is illegal, otherwise we don't know which alternative *)
(* to take for a tree { "a" = "?" } *)
let del_str (s:string) = del s s
let lns = [ key /a/ . store /b/ . del_str " (l)"
| [ ... | module Fail_union_atype =
(* This is illegal, otherwise we don't know which alternative *)
(* to take for a tree { "a" = "?" } *)
let del_str (s:string) = del s s
let lns = [ key /a/ . store /b/ . del_str " (l)" ]
| [ key /a/ . store /c/ . del_str " (r)" ]
(* To make thi... | <|file_sep|>original/tests/modules/fail_union_atype.aug
module Fail_union_atype =
(* This is illegal, otherwise we don't know which alternative *)
(* to take for a tree { "a" = "?" } *)
let del_str (s:string) = del s s
let lns = [ key /a/ . store /b/ . del_str " (l)"
| [ ... | b740b0a14d469f57b50a4a258c275a53ddbe3953 | tests/modules/fail_union_atype.aug | tests/modules/fail_union_atype.aug | Augeas |
<|file_sep|>original/Cargo.toml
repository = "https://github.com/mneumann/graph-neighbor-matching"
description = "Graph similarity score using neighbor matching"
keywords = ["graph", "algorithm", "similarity"]
include = ["graphs/**/*.gml", "**/*.rs", "Cargo.toml", "README.md", "LICENSE"]
edition = "2018"
[dependencies... | edition = "2018"
[dependencies]
nalgebra = "0.13"
munkres = "0.4"
closed01 = "0.5"
petgraph = "0.4"
approx = "0.1"
[dev-dependencies]
asexp = "0.3"
graph-io-gml = "0.2"
criterion = "0.2"
[[bench]]
name = "score_graphs"
harness = false
# This section is required to make "cargo bench -- --save-baseline" work
[lib]
be... | <|file_sep|>original/Cargo.toml
repository = "https://github.com/mneumann/graph-neighbor-matching"
description = "Graph similarity score using neighbor matching"
keywords = ["graph", "algorithm", "similarity"]
include = ["graphs/**/*.gml", "**/*.rs", "Cargo.toml", "README.md", "LICENSE"]
edition = "2018"
[dependencies... | baac4543492e2a3b98fbd6223248b36b33a48e6f | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
<|file_sep|>current/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
<|file_sep|>updated/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java | // Copyright 2008 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | <|file_sep|>original/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
<|file_sep|>current/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
<|file_sep|>updated/src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java
// Copyright 2008 Google Inc.
//
// Licensed... | e1a47fd933252b1f09fe719a7348e37f5dd9899f | src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java | src/main/java/com/google/gwtexpui/user/client/AutoCenterDialogBox.java | Java |
<|file_sep|>original/packs/gpg/README.md
# GPG Integration Pack
Pack which allows integration with [GnuPG](https://www.gnupg.org/).
## Configuration
* ``gpgbinary`` - Optional path to the gpg binary to use.
* ``gpghome`` - Optional path to gpg keyring home. If not provided,
``~/.gnupg`` is used as a default.
* ``d... | # GPG Integration Pack
Pack which allows integration with [GnuPG](https://www.gnupg.org/).
## Requirements
For this pack to work you need to have access to a compatible version of the
GnuGP executable.
## Configuration
* ``gpgbinary`` - Optional path to the gpg binary to use.
* ``gpghome`` - Optional path to gpg k... | <|file_sep|>original/packs/gpg/README.md
# GPG Integration Pack
Pack which allows integration with [GnuPG](https://www.gnupg.org/).
## Configuration
* ``gpgbinary`` - Optional path to the gpg binary to use.
* ``gpghome`` - Optional path to gpg keyring home. If not provided,
``~/.gnupg`` is used as a default.
* ``d... | 349aa8200942b1ac8be2c7382505c4256565f25d | packs/gpg/README.md | packs/gpg/README.md | Markdown |
<|file_sep|>original/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java
*/
public void pop() throws EmptyStackException {
super.pop();
}
// Enqueue a placeholder task and wait until it (and all preceding tasks)
// are dequeued. This helps prevent tasks from running after th... | */
public void pop() throws EmptyStackException {
super.pop();
}
// Enqueue a placeholder task and wait until it (and all preceding tasks)
// are dequeued. This helps prevent tasks from running after the pop().
public static void drain() {
if (EventQueue.isDispatchThread()) {
... | <|file_sep|>original/lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java
*/
public void pop() throws EmptyStackException {
super.pop();
}
// Enqueue a placeholder task and wait until it (and all preceding tasks)
// are dequeued. This helps prevent tasks from running after th... | 42c3582208d72b8d8ff4fec5b5bf088a11651ca1 | lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java | lightcrafts/src/com/lightcrafts/utils/awt/PoppableEventQueue.java | Java |
<|file_sep|>lib/pry-rails.rb.diff
original:
require "pry-rails/version"
updated:
require 'pry'
require 'pry-rails/version'
<|file_sep|>lib/pry-rails.rb.diff
original:
begin
require 'pry'
updated:
class Railtie < Rails::Railtie
console do
if Rails::VERSION::MAJOR == 3
Rails::Console::IRB = Pry
... | if Rails::VERSION::MAJOR == 3
Rails::Console::IRB = Pry
unless defined? Pry::ExtendCommandBundle
Pry::ExtendCommandBundle = Module.new
end
end
if Rails::VERSION::MAJOR == 4
Rails.application.config.console = Pry
end
if (Rails::VERSION::MAJOR == ... | <|file_sep|>lib/pry-rails.rb.diff
original:
require "pry-rails/version"
updated:
require 'pry'
require 'pry-rails/version'
<|file_sep|>lib/pry-rails.rb.diff
original:
begin
require 'pry'
updated:
class Railtie < Rails::Railtie
console do
if Rails::VERSION::MAJOR == 3
Rails::Console::IRB = Pry
... | 811b4ca2fb39e2acf2911f527b7009b66ebb3fa9 | lib/pry-rails.rb | lib/pry-rails.rb | Ruby |
<|file_sep|>lib/lecture_list.rb.diff
original:
def self.update
updated:
def self.update(status)
<|file_sep|>lib/lecture_list.rb.diff
original:
updated:
<|file_sep|>lib/lecture_list.rb.diff
original:
tickets = get_tickets(data)
capacity = data['capacity']
updated:
if data['status'] == status
... | tickets = get_tickets(data)
capacity = data['capacity']
people = ""
(capacity - tickets).times { people += "<span class='icon-user'></span>" }
tickets.times { people += "<span class='icon-user available'></span>" }
{url: url, text: data['name'], date: Date.p... | <|file_sep|>lib/lecture_list.rb.diff
original:
def self.update
updated:
def self.update(status)
<|file_sep|>lib/lecture_list.rb.diff
original:
updated:
<|file_sep|>lib/lecture_list.rb.diff
original:
tickets = get_tickets(data)
capacity = data['capacity']
updated:
if data['status'] == status
... | 9dd3588ee0f4fcc86e7554ea4993a14bcd0da3bc | lib/lecture_list.rb | lib/lecture_list.rb | Ruby |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
flake8==3.5.0
moto==1.3.4
pytest==3.7.3
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.23.0
coveralls==1.4.0
freezegun==0.3.10
requests-mock==1.5.2
# optional requirements for jsonschema
strict-rfc3339==0.7
rfc3987==1.3.8
<|file... | -r requirements.txt
flake8==3.5.0
moto==1.3.4
pytest==3.7.4
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.23.0
coveralls==1.4.0
freezegun==0.3.10
requests-mock==1.5.2
# optional requirements for jsonschema
strict-rfc3339==0.7
rfc3987==1.3.8 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
flake8==3.5.0
moto==1.3.4
pytest==3.7.3
pytest-env==0.6.2
pytest-mock==1.10.0
pytest-cov==2.5.1
pytest-xdist==1.23.0
coveralls==1.4.0
freezegun==0.3.10
requests-mock==1.5.2
# optional requirements for jsonschema
strict-rfc3339==0.7
rfc3987==1.3.8
<|file... | e24d08868329f8b6cf76c05acceccc3b2d4efa3c | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>source/_layouts/master.blade.php.diff
original:
<link rel="stylesheet" href="/css/foundation.css">
updated:
<link rel="stylesheet" href="/css/main.css">
<|file_sep|>original/source/_layouts/master.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<m... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
@yie... | <|file_sep|>source/_layouts/master.blade.php.diff
original:
<link rel="stylesheet" href="/css/foundation.css">
updated:
<link rel="stylesheet" href="/css/main.css">
<|file_sep|>original/source/_layouts/master.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<m... | 73743d682178e9c9b27c751e335a470428c78a51 | source/_layouts/master.blade.php | source/_layouts/master.blade.php | PHP |
<|file_sep|>src/MetaViewComposer.php.diff
original:
use Metrique\Meta\Contracts\MetaRepositoryInterface as MetaRepository;
updated:
use Metrique\Meta\Contracts\MetaRepositoryInterface as Repository;
<|file_sep|>src/MetaViewComposer.php.diff
original:
* @var MetaRepository
updated:
* @var Repository
<|file_sep... | * @var Repository
*/
protected $meta;
/**
* Create a new profile composer.
*
* @param Repository $meta
* @return void
*/
public function __construct(Repository $meta)
{
// Dependencies automatically resolved by service container...
$this->meta = $met... | <|file_sep|>src/MetaViewComposer.php.diff
original:
use Metrique\Meta\Contracts\MetaRepositoryInterface as MetaRepository;
updated:
use Metrique\Meta\Contracts\MetaRepositoryInterface as Repository;
<|file_sep|>src/MetaViewComposer.php.diff
original:
* @var MetaRepository
updated:
* @var Repository
<|file_sep... | add1b61b67d77f593c98f5656cd08a4042da5b43 | src/MetaViewComposer.php | src/MetaViewComposer.php | PHP |
<|file_sep|>original/src/containers/Counter/Counter.js
import React, { PropTypes } from 'react'
import { connect } from 'react-redux'
import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter'
import {} from './counter.scss'
let Counter = ({ counter, onIncrementCounter, onDecre... | import React, { PropTypes } from 'react'
import { connect } from 'react-redux'
import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter'
import {} from './counter.scss'
class Counter {
render() {
return (
<div className="counter">
<h2 className="counter__nu... | <|file_sep|>original/src/containers/Counter/Counter.js
import React, { PropTypes } from 'react'
import { connect } from 'react-redux'
import { incrementCounter, decrementCounter, incrementCounterAsync } from '../../actions/counter'
import {} from './counter.scss'
let Counter = ({ counter, onIncrementCounter, onDecre... | 6a6f01988849b84605de83d2dccf1a1485c87c56 | src/containers/Counter/Counter.js | src/containers/Counter/Counter.js | JavaScript |
<|file_sep|>docs/_navbar.md.diff
original:
* [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases)
updated:
<|file_sep|>original/docs/_navbar.md
* [Home](/)
* [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases)
* [Get Started](Get_Started.md)
* [Documentation](Documentation/)
* [Disks](https://... | * [Home](/)
* [Get Started](Get_Started.md)
* [Documentation](Documentation/)
* [Disks](https://ramilego4game.github.io/LIKO-12-Disks/)
* External Links
* [Itch.io](https://ramilego4game.itch.io/liko12)
* [Twitter](https://twitter.com/ramilego4game)
* [Discord](https://discord.gg/GDtHrsJ)
* [Tasks board](https... | <|file_sep|>docs/_navbar.md.diff
original:
* [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases)
updated:
<|file_sep|>original/docs/_navbar.md
* [Home](/)
* [Get Started](https://github.com/RamiLego4Game/LIKO-12/releases)
* [Get Started](Get_Started.md)
* [Documentation](Documentation/)
* [Disks](https://... | dfe1f4b3b7b365c0768f27426ef88fdce8181065 | docs/_navbar.md | docs/_navbar.md | Markdown |
<|file_sep|>original/README.txt
RELEASE INFORMATION
---------------
Ticket Evolution Framework for PHP.
May 20, 2011
Added data-loaders which is a handy app for caching the data locally in MySQL.
To use it you will need to run the create_tables.mysql script in scripts folder.
Added sortResults() method to ResultSet t... | RELEASE INFORMATION
---------------
Ticket Evolution Framework for PHP.
May 20, 2011
Added data-loaders which is a handy app for caching the data locally in MySQL.
To use it you will need to run teh create_tables.mysql script in scripts folder.
Added "search" endpoint which searches venues and performers
Many genera... | <|file_sep|>original/README.txt
RELEASE INFORMATION
---------------
Ticket Evolution Framework for PHP.
May 20, 2011
Added data-loaders which is a handy app for caching the data locally in MySQL.
To use it you will need to run the create_tables.mysql script in scripts folder.
Added sortResults() method to ResultSet t... | 333665604e30373d29e7fbf0ffc7f1f09a54d06d | README.txt | README.txt | Text |
<|file_sep|>original/etc/metadefs/compute-cpu-pinning.json
<|file_sep|>current/etc/metadefs/compute-cpu-pinning.json
<|file_sep|>updated/etc/metadefs/compute-cpu-pinning.json | {
"namespace": "OS::Compute::CPUPinning",
"display_name": "CPU Pinning",
"description": "This provides the preferred CPU Pinning policy when pinning vCPU of the guest to pCPU of the host. Default 'shared' option doesn't change current default guest CPU placement policy. 'Dedicated' will make guest CPU(s) to... | <|file_sep|>original/etc/metadefs/compute-cpu-pinning.json
<|file_sep|>current/etc/metadefs/compute-cpu-pinning.json
<|file_sep|>updated/etc/metadefs/compute-cpu-pinning.json
{
"namespace": "OS::Compute::CPUPinning",
"display_name": "CPU Pinning",
"description": "This provides the preferred CPU Pinning po... | 85de1149b61eb43ac085afe7b0e26d7e71456b93 | etc/metadefs/compute-cpu-pinning.json | etc/metadefs/compute-cpu-pinning.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
python: "3.4"
before_install:
- curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
- sudo python get-pip.py
- sudo pip install -U setuptools
- sudo pip install -U virtualenvwrapper
- python -V
- pip -V
install:
- bundle install
- sudo pip install ... | language: ruby
python: "3.4"
before_install:
- curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
- sudo python get-pip.py
- python -V
- pip -V
install:
- bundle install
- sudo pip install -r requirements.txt
rvm:
- 2.1
- 2.2 | <|file_sep|>original/.travis.yml
language: ruby
python: "3.4"
before_install:
- curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
- sudo python get-pip.py
- sudo pip install -U setuptools
- sudo pip install -U virtualenvwrapper
- python -V
- pip -V
install:
- bundle install
- sudo pip install ... | f65f57e67e85983850b98da4b0c3e3f3dffc73f8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>recipes/hkl/meta.yaml.diff
original:
skip: True # [py<36 or win]
updated:
skip: True # [py<36 or win or osx]
<|file_sep|>original/recipes/hkl/meta.yaml
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- autoconf
- automake
- gobject-introspection
- gsl
-... | requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- autoconf
- automake
- gobject-introspection
- gsl
- libtool
- m4
- patchelf
- pkg-config
- pygobject
host:
- python
run:
- python
- gsl
- libiconv
- numpy
- pcre | <|file_sep|>recipes/hkl/meta.yaml.diff
original:
skip: True # [py<36 or win]
updated:
skip: True # [py<36 or win or osx]
<|file_sep|>original/recipes/hkl/meta.yaml
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- autoconf
- automake
- gobject-introspection
- gsl
-... | a0fbe86587256b1e13dedf009695e94a3924742b | recipes/hkl/meta.yaml | recipes/hkl/meta.yaml | YAML |
<|file_sep|>original/share/goodie/cheat_sheets/homebrew.json
<|file_sep|>current/share/goodie/cheat_sheets/homebrew.json
<|file_sep|>updated/share/goodie/cheat_sheets/homebrew.json | {
"id": "homebrew_cheat_sheet",
"name": "Homebrew",
"description": "The missing package manager for OS X",
"metadata": {
"sourceName": "Homebrew",
"sourceUrl": "http://brew.sh/"
},
"section_order": [
"Essential Commands",
"Troubleshooting",
"Brewing"
... | <|file_sep|>original/share/goodie/cheat_sheets/homebrew.json
<|file_sep|>current/share/goodie/cheat_sheets/homebrew.json
<|file_sep|>updated/share/goodie/cheat_sheets/homebrew.json
{
"id": "homebrew_cheat_sheet",
"name": "Homebrew",
"description": "The missing package manager for OS X",
"metadata": {... | 22ace93eb0051b796cd2895cc3816483b37f5a72 | share/goodie/cheat_sheets/homebrew.json | share/goodie/cheat_sheets/homebrew.json | JSON |
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(yardstick)
set(YS_VERSION 0.1.0)
if(WIN32)
set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME})
set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME})
elseif(CMAKE_SIZEOF_VOID_P MATCHES 8)
SET(YS_BINDIR bin64)
SET(YS_BINDIR lib64)
else()
SET(YS_BINDI... | cmake_minimum_required(VERSION 3.0)
project(yardstick)
set(YS_VERSION 0.1.0)
if(WIN32)
set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME})
set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME})
elseif(CMAKE_SIZEOF_VOID_P MATCHES 8)
SET(YS_BINDIR bin64)
SET(YS_BINDIR lib64)
else()
SET(YS_BINDIR bin)
SET(YS_BINDIR lib)
endif()
s... | <|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.0)
project(yardstick)
set(YS_VERSION 0.1.0)
if(WIN32)
set(YS_BINDIR bin/${CMAKE_VS_PLATFORM_NAME})
set(YS_LIBDIR lib/${CMAKE_VS_PLATFORM_NAME})
elseif(CMAKE_SIZEOF_VOID_P MATCHES 8)
SET(YS_BINDIR bin64)
SET(YS_BINDIR lib64)
else()
SET(YS_BINDI... | ea87900e163f74c4997b050cfb66d70e87a057e6 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java
<|file_sep|>current/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java
<|file_sep|>updated/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/pr... | package jp.ac.shibaura_it.se.tslab.aaextractor.predicate.attributes;
import static org.junit.Assert.*;
import static org.hamcrest.core.Is.*;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
public class KskipNgramCounterTest {
@Test
public void ひとつのKskipNgramの正規表現を生成する() {
List<String> ... | <|file_sep|>original/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java
<|file_sep|>current/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java
<|file_sep|>updated/src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/pr... | 6dbc6473f428b8332823b0b9e79463e990f57956 | src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java | src/test/java/jp/ac/shibaura_it/se/tslab/aaextractor/predicate/attributes/KskipNgramCounterTest.java | Java |
<|file_sep|>src/grid-interaction.js.diff
original:
updated:
this.isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints
};
<|file_sep|>original/src/grid-interaction.js
}
clear () {
this.gh.clearCanvas()
}
render () {
const x = MouseHandler.position().x
const y = MouseHandler.pos... | };
}
clear () {
this.gh.clearCanvas()
}
render () {
const x = MouseHandler.position().x
const y = MouseHandler.position().y
if (!isTouchDevice && x !== this.oldX && y !== this.oldY) {
this.oldX = x
this.oldY = y
const gPos = gtr.toGlobal(x, y)
const isoCoord = getIsomet... | <|file_sep|>src/grid-interaction.js.diff
original:
updated:
this.isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints
};
<|file_sep|>original/src/grid-interaction.js
}
clear () {
this.gh.clearCanvas()
}
render () {
const x = MouseHandler.position().x
const y = MouseHandler.pos... | 6e69926de990faac1132b2f434c493750766b101 | src/grid-interaction.js | src/grid-interaction.js | JavaScript |
<|file_sep|>original/project/build/GraphiteRelayProject.scala
lazy val log4j = Dependencies.log4j
lazy val scalatest = Dependencies.scalatest % "test"
object Repositories {
def jboss = "JBoss Repo" at
"http://repository.jboss.org/nexus/content/groups/public/"
def nexusSnapshots = "Nexus Snapsh... | lazy val log4j = Dependencies.log4j
lazy val scalatest = Dependencies.scalatest % "test"
object Repositories {
def jboss = "JBoss Repo" at
"http://repository.jboss.org/nexus/content/groups/public/"
def nexusSnapshots = "Nexus Snapshots" at
"https://oss.sonatype.org/content/repositories/s... | <|file_sep|>original/project/build/GraphiteRelayProject.scala
lazy val log4j = Dependencies.log4j
lazy val scalatest = Dependencies.scalatest % "test"
object Repositories {
def jboss = "JBoss Repo" at
"http://repository.jboss.org/nexus/content/groups/public/"
def nexusSnapshots = "Nexus Snapsh... | 7ab0ac108d59aaf4f5d4bdb902ad3cafe36ca953 | project/build/GraphiteRelayProject.scala | project/build/GraphiteRelayProject.scala | Scala |
<|file_sep|>app/views/devise/registrations/new.html.haml.diff
original:
%h2 Sign up
updated:
- content_for :title, 'Sign up'
%h1= yield :title
%p
Quickly fill in the information below, and we'll send you
a confirmation email. You will then be able to edit division descriptions and policies.
%br
= link_to 'Lo... | %b= f.label 'Your name (first and last)'
%br
= f.text_field :real_name
%div
%b= f.label :password
%br
= f.password_field :password, autocomplete: "off"
%div
%b= f.label :password_confirmation
%br
= f.password_field :password_confirmation, autocomplete: "off"
%p
Privacy p... | <|file_sep|>app/views/devise/registrations/new.html.haml.diff
original:
%h2 Sign up
updated:
- content_for :title, 'Sign up'
%h1= yield :title
%p
Quickly fill in the information below, and we'll send you
a confirmation email. You will then be able to edit division descriptions and policies.
%br
= link_to 'Lo... | 768386b5be282d0dbbaccceb6bda3e156e90bd81 | app/views/devise/registrations/new.html.haml | app/views/devise/registrations/new.html.haml | Haml |
<|file_sep|>original/python/use_decorator.py
<|file_sep|>current/python/use_decorator.py
<|file_sep|>updated/python/use_decorator.py | #class to print out the x, y coordinate
class Coordinate(object):
def __init__(self, x, y):
self.x = x
self.y = y
def __repr__(self):
return "Coord: " + str(self.__dict__)
#function to add
def add(a, b):
return Coordinate(a.x + b.x, a.y + b.y)
#function to substract
... | <|file_sep|>original/python/use_decorator.py
<|file_sep|>current/python/use_decorator.py
<|file_sep|>updated/python/use_decorator.py
#class to print out the x, y coordinate
class Coordinate(object):
def __init__(self, x, y):
self.x = x
self.y = y
def __repr__(self):
return "Coord: " + ... | be8b2f0d82131f04bd4c3e4d8d4a017734e4efa6 | python/use_decorator.py | python/use_decorator.py | Python |
<|file_sep|>original/.github/workflows/options.yml
<|file_sep|>current/.github/workflows/options.yml
<|file_sep|>updated/.github/workflows/options.yml | name: options
on:
push:
pull_request:
jobs:
validate-conf:
strategy:
matrix:
node-version:
- 14
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-n... | <|file_sep|>original/.github/workflows/options.yml
<|file_sep|>current/.github/workflows/options.yml
<|file_sep|>updated/.github/workflows/options.yml
name: options
on:
push:
pull_request:
jobs:
validate-conf:
strategy:
matrix:
node-version:
- 14
runs-on: ubuntu-latest
st... | 2632dc6c01e98d49e4d37ffbe97f736d1fa0ecc2 | .github/workflows/options.yml | .github/workflows/options.yml | YAML |
<|file_sep|>original/snyk-test-requirements/requirements.txt
--index-url https://pypi.sunet.se/simple/
-r ../requirements/prod.txt
<|file_sep|>current/snyk-test-requirements/requirements.txt
--index-url https://pypi.sunet.se/simple/
-r ../requirements/prod.txt
<|file_sep|>updated/snyk-test-requirements/requirements.txt | --index-url https://pypi.sunet.se/simple/
blinker
coverage==3.6
cryptography>=2.0.3
eduid-am>=0.6.2b2
eduid-common>=0.3.2b16
eduid_lookup_mobile>=0.0.6b3
eduid-msg>=0.10.3b0
eduid-userdb>=0.4.0b2
Flask>=0.12,<0.13
flask-babel>=0.11.1
gunicorn
hammock>=0.2.4
jose>=0.3.0
marshmallow>=2.10,<2.11
mock==1.0.1
nose==1.2.1
no... | <|file_sep|>original/snyk-test-requirements/requirements.txt
--index-url https://pypi.sunet.se/simple/
-r ../requirements/prod.txt
<|file_sep|>current/snyk-test-requirements/requirements.txt
--index-url https://pypi.sunet.se/simple/
-r ../requirements/prod.txt
<|file_sep|>updated/snyk-test-requirements/requirements.txt... | fa524468d5fe566ad80d43a4e8308c29d88361ff | snyk-test-requirements/requirements.txt | snyk-test-requirements/requirements.txt | Text |
<|file_sep|>original/src/components/views/elements/StartChatButton.js
limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';
const StartChatButton = function(props) {
const ActionButton = sdk.getComponent('elements.ActionButton');
ret... | limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';
const StartChatButton = function(props) {
const ActionButton = sdk.getComponent('elements.ActionButton');
return (
<ActionButton action="start_chat"
label="Sta... | <|file_sep|>original/src/components/views/elements/StartChatButton.js
limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';
const StartChatButton = function(props) {
const ActionButton = sdk.getComponent('elements.ActionButton');
ret... | f8d1a6d24042925692827f6ee100416a34fa516f | src/components/views/elements/StartChatButton.js | src/components/views/elements/StartChatButton.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
- 5.4
<|file_sep|>.travis.yml.diff
original:
updated:
- 5.6
- hhvm
<|file_sep|>.travis.yml.diff
original:
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
before_script:
- composer ins... | language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
before_script:
- composer install --prefer-source --no-interaction
script:
- php phing.phar default-ci | <|file_sep|>.travis.yml.diff
original:
updated:
- 5.4
<|file_sep|>.travis.yml.diff
original:
updated:
- 5.6
- hhvm
<|file_sep|>.travis.yml.diff
original:
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
updated:
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
before_script:
- composer ins... | ecb048e5a1291c5b78b2c4a66a652d319850907b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_footer.php
</div><!--/container-->
<!-- script references -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>
<|file_sep|... | </div><!--/container-->
<!-- script references -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<!--<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>-->
</body>
</html> | <|file_sep|>original/_footer.php
</div><!--/container-->
<!-- script references -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>
<|file_sep|... | 2935f369c0aed3940d010b63e31c22f648c46bb6 | _footer.php | _footer.php | PHP |
<|file_sep|>original/yolk/__init__.py
"""yolk.
Author: Rob Cakebread <cakebread at gmail>
License : BSD
"""
__version__ = '0.7.2'
<|file_sep|>current/yolk/__init__.py
"""yolk.
Author: Rob Cakebread <cakebread at gmail>
License : BSD
"""
__version__ = '0.7.2'
<|file_sep|>updated/yolk/__init__.py | """yolk.
Author: Rob Cakebread <cakebread at gmail>
License : BSD
"""
__version__ = '0.7.3' | <|file_sep|>original/yolk/__init__.py
"""yolk.
Author: Rob Cakebread <cakebread at gmail>
License : BSD
"""
__version__ = '0.7.2'
<|file_sep|>current/yolk/__init__.py
"""yolk.
Author: Rob Cakebread <cakebread at gmail>
License : BSD
"""
__version__ = '0.7.2'
<|file_sep|>updated/yolk/__init__.py
"""yolk.
Auth... | b510b01b1a67ab5a606eefb251f6649d2b238ccc | yolk/__init__.py | yolk/__init__.py | Python |
<|file_sep|>original/console/kubernetes/darzee-network-policy.yaml
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: web-allow-all
namespace: default
spec:
podSelector:
matchLabels:
app: web
ingress:
- {}
<|file_sep|>current/console/kubernetes/darzee-network-policy.yaml
kind: Net... | kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: web-allow-all
namespace: default
spec:
podSelector:
matchLabels:
app: darzee
ingress:
- {}
| <|file_sep|>original/console/kubernetes/darzee-network-policy.yaml
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: web-allow-all
namespace: default
spec:
podSelector:
matchLabels:
app: web
ingress:
- {}
<|file_sep|>current/console/kubernetes/darzee-network-policy.yaml
kind: Net... | 8c19c822c2a4af97318b7614b113e92fa22aa4a3 | console/kubernetes/darzee-network-policy.yaml | console/kubernetes/darzee-network-policy.yaml | YAML |
<|file_sep|>original/bin/testfiles/jmeter-batch.properties
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not us... | ## (the "License"); you may not use this file except in compliance with
## the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on a... | <|file_sep|>original/bin/testfiles/jmeter-batch.properties
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not us... | b7ca193eda9e6aaaf880d4d5785c48295007829c | bin/testfiles/jmeter-batch.properties | bin/testfiles/jmeter-batch.properties | INI |
<|file_sep|>original/bower.json
"**/.*",
"node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-prelude": "^2.0.0",
"purescript-maps": "^2.0.0",
"purescript-eff": "^2.0.0",
"purescript-generics": "^3.1.0",
"purescript-strings": "^2.0.2",
"purescript-fol... | "node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-prelude": "^2.0.0",
"purescript-maps": "^2.0.0",
"purescript-eff": "^2.0.0",
"purescript-generics": "^3.1.0",
"purescript-strings": "^2.0.2",
"purescript-foldable-traversable": "^2.0.0",
"purescript... | <|file_sep|>original/bower.json
"**/.*",
"node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-prelude": "^2.0.0",
"purescript-maps": "^2.0.0",
"purescript-eff": "^2.0.0",
"purescript-generics": "^3.1.0",
"purescript-strings": "^2.0.2",
"purescript-fol... | 612e3af9f37111d6968afdbb3b52a2f88e09b96d | bower.json | bower.json | JSON |
<|file_sep|>assistant/utils.js.diff
original:
updated:
function uncapitalizeFirstLetter (string) {
return string.charAt(0).toLowerCase() + string.slice(1);
}
<|file_sep|>assistant/utils.js.diff
original:
switch (value) {
updated:
const val = uncapitalizeFirstLetter(value);
switch (val) {
<|file_sep|... | break;
case 'pressure':
valueId = val;
measureUnit = ' Pa';
break;
case 'sea level pressure':
valueId = 'sealevel_pressure';
measureUnit = ' Pa';
break;
case 'altitude':
valueId = val;
mea... | <|file_sep|>assistant/utils.js.diff
original:
updated:
function uncapitalizeFirstLetter (string) {
return string.charAt(0).toLowerCase() + string.slice(1);
}
<|file_sep|>assistant/utils.js.diff
original:
switch (value) {
updated:
const val = uncapitalizeFirstLetter(value);
switch (val) {
<|file_sep|... | 05edf964c50eac5f6668c6980d33d3d7aa8aba87 | assistant/utils.js | assistant/utils.js | JavaScript |
<|file_sep|>original/setup.cfg
[metadata]
name = dsmtpd
version = attr: dsmtpd.__version__
url = https://github.com/matrixise/dsmtpd
description = Simple SMTP Server for debugging
long_description = file: README.rst, CHANGES.rst
long_description_content_type = "text/x-rst"
author = Stéphane Wirtel
author_email = stepha... | [metadata]
name = dsmtpd
version = attr: dsmtpd.__version__
url = https://github.com/matrixise/dsmtpd
description = Simple SMTP Server for debugging
long_description = file: README.rst, CHANGES.rst
long_description_content_type = text/x-rst
author = Stéphane Wirtel
author_email = stephane@wirtel.be
license = BSD
classi... | <|file_sep|>original/setup.cfg
[metadata]
name = dsmtpd
version = attr: dsmtpd.__version__
url = https://github.com/matrixise/dsmtpd
description = Simple SMTP Server for debugging
long_description = file: README.rst, CHANGES.rst
long_description_content_type = "text/x-rst"
author = Stéphane Wirtel
author_email = stepha... | 1ea5688fe35606cf4de094701c54d3ecfffab5bc | setup.cfg | setup.cfg | INI |
<|file_sep|>angular-typescript-webpack-jasmine/webpack/webpack.test.js.diff
original:
const loaders = require("./loaders");
updated:
const rules = require("./rules");
<|file_sep|>original/angular-typescript-webpack-jasmine/webpack/webpack.test.js
".ts",
".js",
".json"
]
},
resolveLoader: {
... | output: {
filename: "build.js",
path: path.resolve("temp"),
publicPath: "/"
},
resolve: {
extensions: [
".ts",
".js",
".json"
]
},
resolveLoader: {
modules: ["node_modules"]
},
devtool: "source-map-inline",
module: {
rules: rules
}
};
| <|file_sep|>angular-typescript-webpack-jasmine/webpack/webpack.test.js.diff
original:
const loaders = require("./loaders");
updated:
const rules = require("./rules");
<|file_sep|>original/angular-typescript-webpack-jasmine/webpack/webpack.test.js
".ts",
".js",
".json"
]
},
resolveLoader: {
... | 14c9a161b2362d84905476ffb31be2864eec8a4a | angular-typescript-webpack-jasmine/webpack/webpack.test.js | angular-typescript-webpack-jasmine/webpack/webpack.test.js | JavaScript |
<|file_sep|>original/isettools/data/sensor/photodetectors/macularDensity.mat
MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 17:10:28 2015 IM macularDensity q
78d
q
q
q
(8
q
DZ?8?(q
q?88@88@$q
... | MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 20:48:25 2015 IM xc``X l@AbF0fa
w
@7a{Otwˏ?lf]F
!}7
u\WSXt$t:dpsŭ= 97w xc``Xl@AbF(ɥ&'30p@,uPG}-
X
Ȁ$)1h?
goo q
O q-
>>Q
:o x-N[J@
AE#ԗ$"? :$d
{... | <|file_sep|>original/isettools/data/sensor/photodetectors/macularDensity.mat
MATLAB 5.0 MAT-file, Platform: MACI64, Created on: Sat Sep 19 17:10:28 2015 IM macularDensity q
78d
q
q
q
(8
q
DZ?8?(q
q?88@88@$q
... | ee6838b503cb3952dc663cfd2cb954d6d39a2c83 | isettools/data/sensor/photodetectors/macularDensity.mat | isettools/data/sensor/photodetectors/macularDensity.mat | Unity3D Asset |
<|file_sep|>uiComponents/components.js.diff
original:
class Input extends React.Component {
updated:
class OneLineInputForm extends React.Component {
<|file_sep|>uiComponents/components.js.diff
original:
<input type="text" value={this.state.value}
onChange={this.handleChange} />
updated:
<form ... |
handleSubmit(event) {
if (this.props.onSubmit != null) {
this.props.onSubmit(this.state.value);
}
this.setState({value: ""});
event.preventDefault();
}
}
export class App extends React.Component {
render() {
return (
<div>
<OneLineInputForm />
<VisibleMessageList... | <|file_sep|>uiComponents/components.js.diff
original:
class Input extends React.Component {
updated:
class OneLineInputForm extends React.Component {
<|file_sep|>uiComponents/components.js.diff
original:
<input type="text" value={this.state.value}
onChange={this.handleChange} />
updated:
<form ... | 12b380d1c5cf7b8f772c96e028dab190c30084c1 | uiComponents/components.js | uiComponents/components.js | JavaScript |
<|file_sep|>original/playbooks/security-patches.yml
---
- hosts: all
tasks:
- name: Patch CVE-2014-0160
apt: pkg={{ item }}
with_items:
- libssl1.0.0
- openssl
notify: restart haproxy
handlers:
- name: restart haproxy
shell: service haproxy status && service haproxy restart || true
<|fi... | ---
- hosts: all
tasks:
- name: Patch CVE-2014-0160
apt: update_cache=true pkg={{ item }}
with_items:
- libssl1.0.0
- openssl
notify: restart haproxy
handlers:
- name: restart haproxy
shell: service haproxy status && service haproxy restart || true
| <|file_sep|>original/playbooks/security-patches.yml
---
- hosts: all
tasks:
- name: Patch CVE-2014-0160
apt: pkg={{ item }}
with_items:
- libssl1.0.0
- openssl
notify: restart haproxy
handlers:
- name: restart haproxy
shell: service haproxy status && service haproxy restart || true
<|fi... | dff626450ad649e67fed5b4c6455cbe80e188de7 | playbooks/security-patches.yml | playbooks/security-patches.yml | YAML |
<|file_sep|>original/appveyor.yml
clone_folder: c:\gopath\src\github.com\git-time-metric\gtm
environment:
GOPATH: c:\gopath
install:
- set PATH=C:\msys64\usr\bin;%PATH%
- go get -d github.com\libgit2\git2go
- cd c:\gopath\src\github.com\libgit2\git2go
- git checkout next
- git submodule update --init
-... | clone_folder: c:\gopath\src\github.com\git-time-metric\gtm
environment:
GOPATH: c:\gopath
install:
- set PATH=C:\msys64\usr\bin;%PATH%
- go get -d github.com\libgit2\git2go
- cd c:\gopath\src\github.com\libgit2\git2go
- git checkout next
- git submodule update --init
- bash -lc "cp /c/gopath/src/github... | <|file_sep|>original/appveyor.yml
clone_folder: c:\gopath\src\github.com\git-time-metric\gtm
environment:
GOPATH: c:\gopath
install:
- set PATH=C:\msys64\usr\bin;%PATH%
- go get -d github.com\libgit2\git2go
- cd c:\gopath\src\github.com\libgit2\git2go
- git checkout next
- git submodule update --init
-... | cfba32a810077c33d6bba10381c4d727fae5de43 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/site-lisp/clgc-org.el
(require 'org)
;; Make windmove work in org-mode:
(add-hook 'org-shiftup-final-hook 'windmove-up)
(add-hook 'org-shiftleft-final-hook 'windmove-left)
(add-hook 'org-shiftdown-final-hook 'windmove-down)
(add-hook 'org-shiftright-final-hook 'windmove-right)
(add-hook 'org-mode... | (require 'org)
;; Make windmove work in org-mode:
(add-hook 'org-shiftup-final-hook 'windmove-up)
(add-hook 'org-shiftleft-final-hook 'windmove-left)
(add-hook 'org-shiftdown-final-hook 'windmove-down)
(add-hook 'org-shiftright-final-hook 'windmove-right)
(add-hook 'org-mode-hook 'turn-on-visual-line-mode)
(setq org... | <|file_sep|>original/site-lisp/clgc-org.el
(require 'org)
;; Make windmove work in org-mode:
(add-hook 'org-shiftup-final-hook 'windmove-up)
(add-hook 'org-shiftleft-final-hook 'windmove-left)
(add-hook 'org-shiftdown-final-hook 'windmove-down)
(add-hook 'org-shiftright-final-hook 'windmove-right)
(add-hook 'org-mode... | 7be5319abfb598ced2d56bbff4d362beba861a5a | site-lisp/clgc-org.el | site-lisp/clgc-org.el | Emacs Lisp |
<|file_sep|>original/.travis_create_doxygen_and_deploy.sh
git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git .
##### Configure git.
# Set the push default to simple i.e. push only the current branch.
git config --global push.default simple
# Pretend to be an user called Travis CI.
git c... | git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git .
##### Configure git.
# Set the push default to simple i.e. push only the current branch.
git config --global push.default simple
# Pretend to be an user called Travis CI.
git config user.name "Travis CI"
git config user.email "travis@... | <|file_sep|>original/.travis_create_doxygen_and_deploy.sh
git clone -b gh-pages https://github.com/LukasWoodtli/DesignByContractPlusPlus.git .
##### Configure git.
# Set the push default to simple i.e. push only the current branch.
git config --global push.default simple
# Pretend to be an user called Travis CI.
git c... | 1a4ab7f6e92adb836edc21f13b110937bc3074b3 | .travis_create_doxygen_and_deploy.sh | .travis_create_doxygen_and_deploy.sh | Shell |
<|file_sep|>original/packaging/postinst.sh
#!/bin/sh -eu
mkdir -p /ida
[ ! -L /ida/front ] && ln -s /opt/front /ida/front
# We manage service restarts via the meta package
ln -fs /opt/front/upstart/front.conf /etc/init/front.conf
# We want to ensure upstart realizes it's config may have changed.
/sbin/initctl reload... | #!/bin/sh -eu
mkdir -p /ida
[ ! -L /ida/front ] && ln -s /opt/front /ida/front
# We manage service restarts via the meta package
ln -fs /opt/front/upstart/front.conf /etc/init/front.conf
# We want to ensure upstart realizes it's config may have changed.
/sbin/initctl reload-configuration
chown -R deployer:deployer ... | <|file_sep|>original/packaging/postinst.sh
#!/bin/sh -eu
mkdir -p /ida
[ ! -L /ida/front ] && ln -s /opt/front /ida/front
# We manage service restarts via the meta package
ln -fs /opt/front/upstart/front.conf /etc/init/front.conf
# We want to ensure upstart realizes it's config may have changed.
/sbin/initctl reload... | c21bcb7d5ab6dadfcdb6c344873aa0bdb1bad5e1 | packaging/postinst.sh | packaging/postinst.sh | Shell |
<|file_sep|>original/tasks/create-deployment-source-config/task.yml
---
platform: linux
image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
inputs:
- name: bbl-state
- name: buildpacks-ci
outputs:
- name: deployment-source-config
run:
path: bash
args:
- -cl
- buildpacks-ci... | ---
platform: linux
image_resource:
type: docker-image
source:
repository: relintdockerhubpushbot/cf-deployment-concourse-tasks
inputs:
- name: bbl-state
- name: buildpacks-ci
outputs:
- name: deployment-source-config
run:
path: bash
args:
- -cl
- buildpacks-ci/tasks/create-deployment-source... | <|file_sep|>original/tasks/create-deployment-source-config/task.yml
---
platform: linux
image_resource:
type: docker-image
source:
repository: cfbuildpacks/ci
inputs:
- name: bbl-state
- name: buildpacks-ci
outputs:
- name: deployment-source-config
run:
path: bash
args:
- -cl
- buildpacks-ci... | 4cf197af0315642bd281967b74a8b8eac5b1aee0 | tasks/create-deployment-source-config/task.yml | tasks/create-deployment-source-config/task.yml | YAML |
<|file_sep|>original/.lintstagedrc.json
{
"*.js": ["eslint --fix", "git add"],
"*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"]
}
<|file_sep|>current/.lintstagedrc.json
{
"*.js": ["eslint --fix", "git add"],
"*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"]
}
<|file_sep|>updated/.lintstagedrc... | {
"*.js": "eslint --fix",
"*.{json,md,ts,yml,yaml}": "prettier --write"
} | <|file_sep|>original/.lintstagedrc.json
{
"*.js": ["eslint --fix", "git add"],
"*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"]
}
<|file_sep|>current/.lintstagedrc.json
{
"*.js": ["eslint --fix", "git add"],
"*.{json,md,ts,yml,yaml}": ["prettier --write", "git add"]
}
<|file_sep|>updated/.lintstagedrc... | d773e8572092773f53e9519b4fd15af834855f36 | .lintstagedrc.json | .lintstagedrc.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
env:
global:
- secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI="
- secure: "3fkfH1qCQMVFJkyyGqq79+... | sudo: false
language: node_js
node_js:
- '0.10'
env:
global:
- secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI="
- secure: "3fkfH1qCQMVFJkyyGqq79+DwOiX0/Zor4iwHr0x1fRt... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
env:
global:
- secure: "j17tHs7MhF1VuJ7ChImA0a3kd+uHPri2HJJxJ++PKCEF7pAu/cksMq9v3xQp9ZajPJJ0z4gTQnMjrzUSjhL11cpweBy84suA/vqjoh4Rp6ouV9yv/wThcij6GHd0S9MzYol6b3iR1CCauQpQwy+dff1HJvcGrcheuxD62EhVzoI="
- secure: "3fkfH1qCQMVFJkyyGqq79+... | b286e915a17d6521a95386abd1085c2989a77e49 | .travis.yml | .travis.yml | YAML |
<|file_sep|>eloquent_js/chapter10/roads.js.diff
original:
// Depend on ./graph module
const {buildGraph} = require("./graph");
updated:
const graph = require("./graph");
<|file_sep|>eloquent_js/chapter10/roads.js.diff
original:
"Alice's House-Bob's House", "Alice's House-Cabin",
"Alice's House-Post Office", ... | const graph = require("./graph");
const roads = [
"Alice's House-Bob's House", "Alice's House-Cabin",
"Alice's House-Post Office", "Bob's House-Town Hall",
"Daria's House-Ernie's House", "Daria's House-Town Hall",
"Ernie's House-Grete's House", "Grete's House-Farm",
"Grete's House-Shop", "Marketplace... | <|file_sep|>eloquent_js/chapter10/roads.js.diff
original:
// Depend on ./graph module
const {buildGraph} = require("./graph");
updated:
const graph = require("./graph");
<|file_sep|>eloquent_js/chapter10/roads.js.diff
original:
"Alice's House-Bob's House", "Alice's House-Cabin",
"Alice's House-Post Office", ... | 1cbb01464c3fe479db53849b242dc6961969e0a4 | eloquent_js/chapter10/roads.js | eloquent_js/chapter10/roads.js | JavaScript |
<|file_sep|>original/packages/ha/haskus-system-build.yaml
<|file_sep|>current/packages/ha/haskus-system-build.yaml
<|file_sep|>updated/packages/ha/haskus-system-build.yaml | homepage: http://www.haskus.org/system
changelog-type: ''
hash: 8b2a4c3e2cc57e63cc80f49da83e51f6c2c9ff69dd34eec6e6f21c3a244da6e2
test-bench-deps: {}
maintainer: sylvain@haskus.fr
synopsis: Haskus system build tool
changelog: ''
basic-deps:
simple-download: ! '>=0.0 && <0.1'
base: ! '>=4.9 && <4.10'
text: ! '>=1.2... | <|file_sep|>original/packages/ha/haskus-system-build.yaml
<|file_sep|>current/packages/ha/haskus-system-build.yaml
<|file_sep|>updated/packages/ha/haskus-system-build.yaml
homepage: http://www.haskus.org/system
changelog-type: ''
hash: 8b2a4c3e2cc57e63cc80f49da83e51f6c2c9ff69dd34eec6e6f21c3a244da6e2
test-bench-deps: ... | bdd31e21b1228d6d2bff3a1f413fbd4a50393f66 | packages/ha/haskus-system-build.yaml | packages/ha/haskus-system-build.yaml | YAML |
<|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.4.2
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.4.2
<|file_sep|>updated/requirements/doc.txt | -r ./base.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.5.0 | <|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.4.2
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.4.2
<|file_sep|>updated/requirements/doc.txt
-r ./base.txt
sphinx==1.7.4
alagitpull==0.0.20
releases==1.5.0 | a44a2ece9f63e6c20e226d29cbaad4617d5f81d2 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>playbooks/edx-east/feanil_deploy.yml.diff
original:
updated:
<|file_sep|>original/playbooks/edx-east/feanil_deploy.yml
- nginx
- edxapp
- hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xserver
sudo: True
vars_files:
- "{{ secure_dir }}/vars/edxapp_continuous_integratio... | - common
- nginx
- xserver
- hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_rabbitmq
serial: 1
sudo: True
vars_files:
- "{{ secure_dir }}/vars/edxapp_continuous_integration_vars.yml"
- "{{ secure_dir }}/vars/users.yml"
roles:
- common
- rabbitmq
- hosts: tag_aws_c... | <|file_sep|>playbooks/edx-east/feanil_deploy.yml.diff
original:
updated:
<|file_sep|>original/playbooks/edx-east/feanil_deploy.yml
- nginx
- edxapp
- hosts: tag_aws_cloudformation_stack-name_feanilpractice:&tag_group_xserver
sudo: True
vars_files:
- "{{ secure_dir }}/vars/edxapp_continuous_integratio... | 0d9729689420249bd4ae4aecfc1f1554493d04cc | playbooks/edx-east/feanil_deploy.yml | playbooks/edx-east/feanil_deploy.yml | YAML |
<|file_sep|>.kitchen.yml.diff
original:
Name: storage-ebs-ubuntu-1404
updated:
Name: et-storage-ebs-test
<|file_sep|>.kitchen.yml.diff
original:
Name: storage-es-ubuntu-1404
updated:
Name: et-storage-es-test
<|file_sep|>original/.kitchen.yml
- name: ubuntu-16.04
run_list:
- r... | - name: ubuntu-16.04
run_list:
- recipe[aws::ec2_hints]
- recipe[storage::default]
suites:
- name: ebs
driver:
tags:
Name: et-storage-ebs-test
instance_type: t2.medium
- name: es
driver:
tags:
Name: et-storage-es-test
instance_type: c3.xlarge
- na... | <|file_sep|>.kitchen.yml.diff
original:
Name: storage-ebs-ubuntu-1404
updated:
Name: et-storage-ebs-test
<|file_sep|>.kitchen.yml.diff
original:
Name: storage-es-ubuntu-1404
updated:
Name: et-storage-es-test
<|file_sep|>original/.kitchen.yml
- name: ubuntu-16.04
run_list:
- r... | 891eab2c6ddd082d2b156d6c3672e45b5a3dcf90 | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
services:
- mongodb
install:
- "pip install coverage"
- "pip install nose"
- "pip install coveralls"
- "pip install -e ."
script: "python setup.py nosetests --with-coverage --cover-package=depot --co... | python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
services:
- mongodb
secure: "AOD+7FtWk9oHqLwtbS/aCoKNPsYA/uNsC9N3js7UZO7/5qQAYzvYvWiEiRUAtI620+hsAyTd8hyHZkI7Yk+BFqtdA1XWbDIjYam5WI2euW2ME+FtokxyT3LoLu2fNAabMaNdru0JxSThW+bOurFwshRDEwxvkAgAkgZIMashMVs="
secure: "Ub7LbB1M9Uh1qBXZTyOyP65bgZrn62ZFqmc9mdlJmeQHks... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
services:
- mongodb
install:
- "pip install coverage"
- "pip install nose"
- "pip install coveralls"
- "pip install -e ."
script: "python setup.py nosetests --with-coverage --cover-package=depot --co... | 2e67459fc5dc7a6d97969397524ede487fd2bbde | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
before_install:
- gem update bundler
branches:
only:
- master
env:
global:
- secure: | # CODECLIMATE_REPO_TOKEN
lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu
OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD
FRlk1Q5fGhgp1mt... | before_install:
- gem update bundler rake
branches:
only:
- master
env:
global:
- secure: | # CODECLIMATE_REPO_TOKEN
lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu
OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD
FRlk1Q5fGhgp1mt59sMn3GZZ/mv31v+sd9iYC3AVIM0... | <|file_sep|>original/.travis.yml
before_install:
- gem update bundler
branches:
only:
- master
env:
global:
- secure: | # CODECLIMATE_REPO_TOKEN
lK3tYDk/63jRamEfGKbC27mPAoV7XsebCurx6doeisv1r4926lyPY4B9ZoSu
OeVmjXQWHX9U7IgPH1C+zoIh1wVHVA8h5FVuqlGUMlA6IJi2xaI+ChEo3WeD
FRlk1Q5fGhgp1mt... | 6fdac4aa02e48eea89ca54ad3f0e8d478fbd4af9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/sana/core/models/__init__.py.diff
original:
from sana.core.models.concept import Concept, Relationship, RelationshipCategory
from sana.core.models.device import Device
from sana.core.models.encounter import Encounter
from sana.core.models.events import Event
from sana.core.models.notification import Not... |
from .concept import Concept, Relationship, RelationshipCategory
from .device import Device
from .encounter import Encounter
from .events import Event
from .notification import Notification
from .observation import Observation
from .observer import Observer
from .procedure import Procedure
from .subject import Patient... | <|file_sep|>src/sana/core/models/__init__.py.diff
original:
from sana.core.models.concept import Concept, Relationship, RelationshipCategory
from sana.core.models.device import Device
from sana.core.models.encounter import Encounter
from sana.core.models.events import Event
from sana.core.models.notification import Not... | 198d1d8827ffc04bf7f33e99bc929a33c8a7ba8c | src/sana/core/models/__init__.py | src/sana/core/models/__init__.py | Python |
<|file_sep|>original/prow/cluster/branchprotector_cronjob.yaml
image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4
args:
- --config-path=/etc/config/config
- --github-token-path=/etc/github/oauth
- --confirm
volumeMounts:
- name:... | - name: branchprotector
image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4
args:
- --config-path=/etc/config/config
- --github-token-path=/etc/github/oauth
- --confirm
volumeMounts:
- name: oauth
mountPat... | <|file_sep|>original/prow/cluster/branchprotector_cronjob.yaml
image: gcr.io/k8s-prow/branchprotector:v20180129-3123648b4
args:
- --config-path=/etc/config/config
- --github-token-path=/etc/github/oauth
- --confirm
volumeMounts:
- name:... | ac65cf066802920f2f2b6fe509488edf936fd9aa | prow/cluster/branchprotector_cronjob.yaml | prow/cluster/branchprotector_cronjob.yaml | YAML |
<|file_sep|>date-range.gemspec.diff
original:
spec.authors = ['Chris Mytton']
spec.email = ['chrismytton@gmail.com']
updated:
spec.authors = ['EveryPolitician']
spec.email = ['team@everypolitician.org']
<|file_sep|>original/date-range.gemspec
$LOAD_PATH.unshift(lib) unless $LOAD_PATH... | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date_range/version'
Gem::Specification.new do |spec|
spec.name = 'date-range'
spec.version = DateRange::VERSION
spec.authors = ['EveryPolitician']
spec.email = ['team@everypolitician.org']
spec.summary = "Rub... | <|file_sep|>date-range.gemspec.diff
original:
spec.authors = ['Chris Mytton']
spec.email = ['chrismytton@gmail.com']
updated:
spec.authors = ['EveryPolitician']
spec.email = ['team@everypolitician.org']
<|file_sep|>original/date-range.gemspec
$LOAD_PATH.unshift(lib) unless $LOAD_PATH... | a7376c82ec83f3b9336c1fcf1f7ed4f0c49be941 | date-range.gemspec | date-range.gemspec | Ruby |
<|file_sep|>src/Context/Drush/DrushContext.php.diff
original:
* @Given /^(?:|I )login with one time link$/
updated:
* @param string
* User ID, email or name. Argument for "drush uli".
*
* @throws \Exception
*
* @Given /^(?:|I )login with one time link(?:| \(([^"]*)\))$/
<|file_sep|>... | $argument = $userContext->createTestUser()->name;
}
// Care about not-configured Drupal installations, when
// the "$base_url" variable is not set in "settings.php".
// Also, remove the last underscore symbol from link for
// prevent opening the page for reset the pa... | <|file_sep|>src/Context/Drush/DrushContext.php.diff
original:
* @Given /^(?:|I )login with one time link$/
updated:
* @param string
* User ID, email or name. Argument for "drush uli".
*
* @throws \Exception
*
* @Given /^(?:|I )login with one time link(?:| \(([^"]*)\))$/
<|file_sep|>... | e246643720d9536c897ecdebd14904785212c715 | src/Context/Drush/DrushContext.php | src/Context/Drush/DrushContext.php | PHP |
<|file_sep|>original/vim/config/neosnippet.vim
" Mappings for neosnippet https://github.com/Shougo/neosnippet.vim
let g:neosnippet#snippets_directory .= ", ~/.dotfiles/vim/snippets"
" SuperTab like snippets behavior.
imap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: pumvi... | " Mappings for neosnippet https://github.com/Shougo/neosnippet.vim
let g:neosnippet#snippets_directory .= ",~/.dotfiles/vim/snippets"
" SuperTab like snippets behavior.
imap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: pumvisible() ? "\<C-n>" : "\<TAB>"
smap <expr><TAB> n... | <|file_sep|>original/vim/config/neosnippet.vim
" Mappings for neosnippet https://github.com/Shougo/neosnippet.vim
let g:neosnippet#snippets_directory .= ", ~/.dotfiles/vim/snippets"
" SuperTab like snippets behavior.
imap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: pumvi... | 365b43bc42f35751b0405ac4e7e68872d48959b9 | vim/config/neosnippet.vim | vim/config/neosnippet.vim | VimL |
<|file_sep|>.travis.yml.diff
original:
updated:
# referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml
sudo: required
dist: precise
<|file_sep|>original/.travis.yml
language: cpp
compiler:
- gcc
- clang
before_script:
- mkdir build
- cd build
-... | # referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml
sudo: required
dist: precise
language: cpp
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
e... | <|file_sep|>.travis.yml.diff
original:
updated:
# referenced https://github.com/genbattle/dkm/blob/9c893efb556516f4b121a6201b66e000f838dd59/.travis.yml
sudo: required
dist: precise
<|file_sep|>original/.travis.yml
language: cpp
compiler:
- gcc
- clang
before_script:
- mkdir build
- cd build
-... | ccc51dbe5f66017563360248a3001fad00b899ed | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
<|file_sep|>current/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
<|file_sep|>updated/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | <|file_sep|>original/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
<|file_sep|>current/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
<|file_sep|>updated/src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt
/* Copyright 2016-present The KotlinNLP Authors. All Rights Re... | 1ebfd82f8606b3f34a32e6beae301dcd7673c36c | src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt | src/test/kotlin/core/layers/merge/distance/DistanceLayerUtils.kt | Kotlin |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "https://github.com/JOBBOX/jobbox-joblint.git"
},
"homepage": "https://github.com/JOBBOX/jobbox-joblint",
"bugs": "https://github.com/JOBBOX/jobbox-joblint/issues",
"engines": {
"node": "0.10.x"
},
"dependencies": {
"e... | "license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/JOBBOX/jobbox-joblint.git"
},
"homepage": "https://github.com/JOBBOX/jobbox-joblint",
"bugs": "https://github.com/JOBBOX/jobbox-joblint/issues",
"engines": {
"node": "0.10.x"
},
"dependencies": {
"express": "~3.4... | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "https://github.com/JOBBOX/jobbox-joblint.git"
},
"homepage": "https://github.com/JOBBOX/jobbox-joblint",
"bugs": "https://github.com/JOBBOX/jobbox-joblint/issues",
"engines": {
"node": "0.10.x"
},
"dependencies": {
"e... | d3b04d3a0c1f6b95f790b36d965f60ecf20366eb | package.json | package.json | JSON |
<|file_sep|>original/bin/test.sh
<|file_sep|>current/bin/test.sh
<|file_sep|>updated/bin/test.sh | #! /usr/bin/env bash
tmux new-session -d bin/server -t0 \; \
split-window -h "sleep 0.1; bin/client" \; \
set remain-on-exit on \; \
attach | <|file_sep|>original/bin/test.sh
<|file_sep|>current/bin/test.sh
<|file_sep|>updated/bin/test.sh
#! /usr/bin/env bash
tmux new-session -d bin/server -t0 \; \
split-window -h "sleep 0.1; bin/client" \; \
set remain-on-exit on \; \
attach | e460d348d388d0daed8421771365a433c3df0462 | bin/test.sh | bin/test.sh | Shell |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Plac... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Plac... | 91967f300623206b9b132b0e56f5c763323bad0a | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/config/locales/en.yml
en:
metasploit:
model:
errors:
messages:
# have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope
taken: "has already been taken"
<|file_sep|>current/config/locales/en.yml
en:
metasploit:
mode... | en:
metasploit:
model:
errors:
messages:
# have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope
taken: "has already been taken"
models:
metasploit_data_models/search/operation/range:
attributes:
... | <|file_sep|>original/config/locales/en.yml
en:
metasploit:
model:
errors:
messages:
# have to duplicate activerecord.model.errors.message.taken because of the different i18n_scope
taken: "has already been taken"
<|file_sep|>current/config/locales/en.yml
en:
metasploit:
mode... | 3d44bc60834c01bf34d88ee8d1b0e53781ac92c8 | config/locales/en.yml | config/locales/en.yml | YAML |
<|file_sep|>original/firmware/common/binsize.py
<|file_sep|>current/firmware/common/binsize.py
<|file_sep|>updated/firmware/common/binsize.py | #!/usr/bin/env python
from subprocess import Popen, PIPE
class app(object):
def __init__(self):
pass
motolink = app()
motolink.name = "ch"
motolink.path = "build/ch.elf"
motolink.max_ccm = 4*1024
motolink.max_ram = 12*1024
motolink.max_rom = 64*1024
APPS = [motolink]
for app in APPS:
| <|file_sep|>original/firmware/common/binsize.py
<|file_sep|>current/firmware/common/binsize.py
<|file_sep|>updated/firmware/common/binsize.py
#!/usr/bin/env python
from subprocess import Popen, PIPE
class app(object):
def __init__(self):
pass
motolink = app()
motolink.name = "ch"
motolink.path = "bui... | 17c69212ff5ea1a5991dc89ba1ca7365c8d666c2 | firmware/common/binsize.py | firmware/common/binsize.py | Python |
<|file_sep|>original/app/controllers/application_controller.rb
# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
protect_from_forgery
include AuthHelper
... | # Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
protect_from_forgery
include AMEE::Authentication::AuthHelper
include ApplicationHelper
helper_meth... | <|file_sep|>original/app/controllers/application_controller.rb
# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
protect_from_forgery
include AuthHelper
... | 039fc8f5286ae6540c900e1822686bc342c39f66 | app/controllers/application_controller.rb | app/controllers/application_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
dist: xenial
python:
- "2.7"
cache:
apt: true
# TODO local node modules path correct?
directories:
- $HOME/data
before_install:
- sudo apt-get update -yy
- sudo apt-get install make
install:
- make stack-up
script:
- make test
- make doc
# after_success:... | - "2.7"
cache:
apt: true
# TODO local node modules path correct?
directories:
- $HOME/data
before_install:
- sudo apt-get update -yy
- sudo apt-get install make
- sudo (curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker... | <|file_sep|>original/.travis.yml
dist: xenial
python:
- "2.7"
cache:
apt: true
# TODO local node modules path correct?
directories:
- $HOME/data
before_install:
- sudo apt-get update -yy
- sudo apt-get install make
install:
- make stack-up
script:
- make test
- make doc
# after_success:... | c1b256d875ed91c30683e127ecf6606bc8efaa11 | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/assets/stylesheets/_enhanced.scss.diff
original:
@import 'layout/common/_all';
@import 'layout/page_specific/_all';
@import 'components/common/_all';
@import 'components/page_specific/_all';
updated:
@import 'layout/common/all';
@import 'layout/page_specific/all';
@import 'components/common/all';
@impor... | @import "settings";
@import 'frontend-assets/stylesheets/lib';
@import 'frontend-assets/stylesheets/common';
@import 'frontend-assets/stylesheets/optional';
@import 'lib/variables';
@import 'lib/links';
@import 'lib/typography';
@import 'layout/common/all';
@import 'layout/page_specific/all';
@import 'components/com... | <|file_sep|>app/assets/stylesheets/_enhanced.scss.diff
original:
@import 'layout/common/_all';
@import 'layout/page_specific/_all';
@import 'components/common/_all';
@import 'components/page_specific/_all';
updated:
@import 'layout/common/all';
@import 'layout/page_specific/all';
@import 'components/common/all';
@impor... | 485cd3775811c5f73bc352816a5b21b3f7c7641f | app/assets/stylesheets/_enhanced.scss | app/assets/stylesheets/_enhanced.scss | SCSS |
<|file_sep|>.teamcity/ReleaseType.kt.diff
original:
updated:
const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%"
const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%"
<|file_sep|>original/.teamcity/ReleaseType.kt
enu... | const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%"
const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%"
enum class ReleaseType(val gradleProperty: String, val username: String, val password: String, val userProvided... | <|file_sep|>.teamcity/ReleaseType.kt.diff
original:
updated:
const val gradleInternalRepositoryUsername = "%gradle.internal.repository.build-tool.publish.username%"
const val gradleInternalRepositoryPassword = "%gradle.internal.repository.build-tool.publish.password%"
<|file_sep|>original/.teamcity/ReleaseType.kt
enu... | 52aeea3fcf586e7feefdda51779478244cf28fe7 | .teamcity/ReleaseType.kt | .teamcity/ReleaseType.kt | Kotlin |
<|file_sep|>original/templates/default/view.xml.erb
<listView>
<owner class="hudson" reference="../../.."/>
<name><%= @new_resource.view_name %></name>
<filterExecutors>false</filterExecutors>
<filterQueue>false</filterQueue>
<properties class="hudson.model.View$PropertyList"/>
<jobNames>
<comparator cl... | <listView>
<owner class="hudson" reference="../../.."/>
<name><%= @new_resource.view_name %></name>
<filterExecutors>false</filterExecutors>
<filterQueue>false</filterQueue>
<properties class="hudson.model.View$PropertyList"/>
<jobNames>
<comparator class="hudson.util.CaseInsensitiveComparator"/>
<%... | <|file_sep|>original/templates/default/view.xml.erb
<listView>
<owner class="hudson" reference="../../.."/>
<name><%= @new_resource.view_name %></name>
<filterExecutors>false</filterExecutors>
<filterQueue>false</filterQueue>
<properties class="hudson.model.View$PropertyList"/>
<jobNames>
<comparator cl... | 1ecbc48598b25dbe93a1913e3123f7b8fec022d2 | templates/default/view.xml.erb | templates/default/view.xml.erb | HTML+ERB |
<|file_sep|>original/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties
# packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction
# can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence
# If... | # packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction
# can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence
# If the package ends with *, it is checked as a prefix
ejb=javax.ejb
infinispan=org.infinispan
jaxrs=javax.ws.rs
jaxr... | <|file_sep|>original/fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties
# packages can be foo+bar, if both are required to activate the fraction, or foo,bar if either will requires the fraction
# can be mixed and matched: some-fraction=foo+bar,baz, with + taking precedence
# If... | 053743de09422740eb2ece73282f7db6d44b4c88 | fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties | fraction-list/src/main/resources/org/wildfly/swarm/fractionlist/fraction-packages.properties | INI |
<|file_sep|>original/src/templates/base.html
<!doctype html>
<html lang="en-US">
<head>
<title>:title:</title>
<meta name="description" content="Allan Stewart's personal website">
<meta name="keywords" content="software craftsman professional developer">
<meta name="viewport" content... | <!doctype html>
<html lang="en-US">
<head>
<title>:title:</title>
<meta name="description" content="Allan Stewart's personal website">
<meta name="keywords" content="software craftsman professional developer">
<meta name="viewport" content="width=device-width, initial-scale=1">
... | <|file_sep|>original/src/templates/base.html
<!doctype html>
<html lang="en-US">
<head>
<title>:title:</title>
<meta name="description" content="Allan Stewart's personal website">
<meta name="keywords" content="software craftsman professional developer">
<meta name="viewport" content... | 95dd96ce9a1d4aa8d3d88d54f7a8cc7fb4692b3d | src/templates/base.html | src/templates/base.html | HTML |
<|file_sep|>app/views/categories/index.html.erb.diff
original:
<div class="container">
updated:
<div class="container hidden">
<|file_sep|>original/app/views/categories/index.html.erb
<div class="container">
<div class="row">
<div class="col-xs-12">
<h1 id="category-header">CATEGORIES</h1>
</div>
</di... | <div class="container hidden">
<div class="row">
<div class="col-xs-12">
<h1 id="category-header">CATEGORIES</h1>
</div>
</div>
</div>
<div class="container category-list hidden">
<div class="row">
<% @categories.each do |category| %>
<div class="col-xs-4 category">
<h4><a href="/catego... | <|file_sep|>app/views/categories/index.html.erb.diff
original:
<div class="container">
updated:
<div class="container hidden">
<|file_sep|>original/app/views/categories/index.html.erb
<div class="container">
<div class="row">
<div class="col-xs-12">
<h1 id="category-header">CATEGORIES</h1>
</div>
</di... | 5d9baa1d715d11780edc62ada71628c1092c31f9 | app/views/categories/index.html.erb | app/views/categories/index.html.erb | HTML+ERB |
<|file_sep|>original/server/startup/migrations/v078.js
RocketChat.Migrations.add({
version: 78,
up: function() {
RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true });
}
});
<|file_sep|>current/server/startup/migrations/v078.js... | RocketChat.Migrations.add({
version: 78,
up: function() {
RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true });
}
}); | <|file_sep|>original/server/startup/migrations/v078.js
RocketChat.Migrations.add({
version: 78,
up: function() {
RocketChat.models.Permissions.update({ _id: { $in: ['create-c', 'create-d', 'create-p'] }}, { $addToSet: { roles: 'bot' }}, { multi: true });
}
});
<|file_sep|>current/server/startup/migrations/v078.js... | c58b235fd119448e97ae63b65d8981dc4ea0083d | server/startup/migrations/v078.js | server/startup/migrations/v078.js | JavaScript |
<|file_sep|>original/.github/workflows/gradle-wrapper-validation.yml
<|file_sep|>current/.github/workflows/gradle-wrapper-validation.yml
<|file_sep|>updated/.github/workflows/gradle-wrapper-validation.yml | name: "Validate Gradle Wrapper"
on: [push, pull_request]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1 | <|file_sep|>original/.github/workflows/gradle-wrapper-validation.yml
<|file_sep|>current/.github/workflows/gradle-wrapper-validation.yml
<|file_sep|>updated/.github/workflows/gradle-wrapper-validation.yml
name: "Validate Gradle Wrapper"
on: [push, pull_request]
jobs:
validation:
name: "Validation"
runs-on:... | 40793daebe160838d8ab0cc1ddac54c2feada057 | .github/workflows/gradle-wrapper-validation.yml | .github/workflows/gradle-wrapper-validation.yml | YAML |
<|file_sep|>src/components/pages/Notes.jsx.diff
original:
handleAlert(alert) { this.refs.alerts.addAlert(alert) }
// FIXME: hard code alert to test
componentDidMount() {
const alerts = [
{
type: 'success',
message: 'Note successfully created',
},
{
type: 'error',
... | displayModal(note) { this.setState({ modal: true, note, }); }
render() {
return (
<div style={{ marginTop: '65px' }}>
<NoteForm alertHandler={alert => this.props.alertHandler(alert)} />
<NotesWrapper
alertHandler={alert => this.props.alertHandler(alert)}
modalHandler={... | <|file_sep|>src/components/pages/Notes.jsx.diff
original:
handleAlert(alert) { this.refs.alerts.addAlert(alert) }
// FIXME: hard code alert to test
componentDidMount() {
const alerts = [
{
type: 'success',
message: 'Note successfully created',
},
{
type: 'error',
... | effb03d9a855e665b9075ebd406dafefd084bdb0 | src/components/pages/Notes.jsx | src/components/pages/Notes.jsx | JSX |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
before_script:
- POSTGRES_USER=postgres npm run setup_test_db
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
before_script:
- POSTGRES_USER=postgres npm run setup_test_db
<|file_sep|>updated/.travis.y... | language: node_js
node_js:
- "0.10"
- "0.12"
- "4.4"
- "6.2"
before_script:
- POSTGRES_USER=postgres npm run setup_test_db | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
before_script:
- POSTGRES_USER=postgres npm run setup_test_db
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.12"
before_script:
- POSTGRES_USER=postgres npm run setup_test_db
<|file_sep|>updated/.travis.y... | 7ddba16671c1a528378bc4426f7be15f0c68d104 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/build/tasks/dist/prepare-index.js
var gulp = require('gulp');
var inject = require('gulp-inject');
var path = require('path');
var join = path.join;
module.exports = function(config) {
gulp.task('dist:index', function() {
gulp.src(config.paths.app.index, {'base': 'src'})
.pipe(in... | var inject = require('gulp-inject');
var path = require('path');
var join = path.join;
module.exports = function(config) {
gulp.task('dist:index', function() {
gulp.src(config.paths.app.index, {'base': 'src'})
.pipe(inject(gulp.src(config.paths.lib.styles.prod, {'read': false}), {
... | <|file_sep|>original/build/tasks/dist/prepare-index.js
var gulp = require('gulp');
var inject = require('gulp-inject');
var path = require('path');
var join = path.join;
module.exports = function(config) {
gulp.task('dist:index', function() {
gulp.src(config.paths.app.index, {'base': 'src'})
.pipe(in... | e6f65e58473f822d08377f506474a8b468b2e338 | build/tasks/dist/prepare-index.js | build/tasks/dist/prepare-index.js | JavaScript |
<|file_sep|>original/lib/docs/scrapers/node.rb
options[:container] = '#apicontent'
options[:skip] = %w(index.html all.html documentation.html synopsis.html)
options[:attribution] = <<-HTML
© Joyent, Inc. and other Node contributors<br>
Licensed under the MIT License.<br>
Node.js is a... | options[:container] = '#apicontent'
options[:skip] = %w(index.html all.html documentation.html synopsis.html)
options[:attribution] = <<-HTML
© Joyent, Inc. and other Node contributors<br>
Licensed under the MIT License.<br>
Node.js is a trademark of Joyent, Inc. and is used with its... | <|file_sep|>original/lib/docs/scrapers/node.rb
options[:container] = '#apicontent'
options[:skip] = %w(index.html all.html documentation.html synopsis.html)
options[:attribution] = <<-HTML
© Joyent, Inc. and other Node contributors<br>
Licensed under the MIT License.<br>
Node.js is a... | c3b3001c54f2a9214a432c73f44e9b78ce96e894 | lib/docs/scrapers/node.rb | lib/docs/scrapers/node.rb | Ruby |
<|file_sep|>original/azure-pipelines-1.yml
<|file_sep|>current/azure-pipelines-1.yml
<|file_sep|>updated/azure-pipelines-1.yml | trigger:
branches:
include:
- main
tags:
include:
- v*
- refs/tags/v*
strategy:
matrix:
windows:
imageName: 'windows-latest'
pool:
vmImage: $(imageName)
steps:
- task: NodeTool@0
inputs: | <|file_sep|>original/azure-pipelines-1.yml
<|file_sep|>current/azure-pipelines-1.yml
<|file_sep|>updated/azure-pipelines-1.yml
trigger:
branches:
include:
- main
tags:
include:
- v*
- refs/tags/v*
strategy:
matrix:
windows:
imageName: 'windows-latest'
pool:
vmImage: $(imageName... | 1d82fe7870d26a2ef049045d8a4d82b2b6cf4afd | azure-pipelines-1.yml | azure-pipelines-1.yml | YAML |
<|file_sep|>original/.travis.yml
osx_image: xcode6.4
language: objective-c
before_install:
- sudo gem install cocoapods --no-document --quiet
- sudo gem install xcpretty --no-document --quiet
- export LANG=en_US.UTF-8
- cd DTModelStorageTests
script: rake
<|file_sep|>current/.travis.yml
osx_image: xcode6.4
language: ... | osx_image: xcode7
language: objective-c
before_install:
- sudo gem install cocoapods --no-document --quiet
- sudo gem install xcpretty --no-document --quiet
- export LANG=en_US.UTF-8
- cd DTModelStorageTests
script: rake | <|file_sep|>original/.travis.yml
osx_image: xcode6.4
language: objective-c
before_install:
- sudo gem install cocoapods --no-document --quiet
- sudo gem install xcpretty --no-document --quiet
- export LANG=en_US.UTF-8
- cd DTModelStorageTests
script: rake
<|file_sep|>current/.travis.yml
osx_image: xcode6.4
language: ... | bcec4bc07d16a44d9b8cc2f8587d1545347a1638 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/skr/models/gl_period.rb
module Skr
class GlPeriod < Skr::Model
is_immutable
def self.current
attr = { year: Time.now.year, period: Time.now.month }
GlPeriod.where( attr ).first || GlPeriod.create( attr )
end
end
end
<|file_sep|>current... | module Skr
class GlPeriod < Skr::Model
is_immutable
def self.current
attr = { year: Time.now.year, period: Time.now.month }
GlPeriod.where( attr ).first || GlPeriod.create( attr )
end
def self.is_date_locked?( date )
date && GlPeriod.select(:is... | <|file_sep|>original/lib/skr/models/gl_period.rb
module Skr
class GlPeriod < Skr::Model
is_immutable
def self.current
attr = { year: Time.now.year, period: Time.now.month }
GlPeriod.where( attr ).first || GlPeriod.create( attr )
end
end
end
<|file_sep|>current... | a47b73072a47ab5469adbc083d0ce5fd2b92d58b | lib/skr/models/gl_period.rb | lib/skr/models/gl_period.rb | Ruby |
<|file_sep|>original/docs/advanced_usage.rst
==============
Advanced Usage
==============
Using Pre/Post-Generate Hooks
-----------------------------
You can have Python or Shell scripts that run before and/or after your project
is generated.
Put them in `hooks/` like this::
cookiecutter-something/
├── {{c... | ==============
Advanced Usage
==============
Using Pre/Post-Generate Hooks (0.7.0+)
--------------------------------------
.. warning:: This feature is available only in the master branch on GitHub
and is not on PyPI yet. It's part of the upcoming 0.7.0 release.
You can have Python or Shell scripts that run befor... | <|file_sep|>original/docs/advanced_usage.rst
==============
Advanced Usage
==============
Using Pre/Post-Generate Hooks
-----------------------------
You can have Python or Shell scripts that run before and/or after your project
is generated.
Put them in `hooks/` like this::
cookiecutter-something/
├── {{c... | 1ea2fcca229d03f9418bb4cffa9e8fd29da5d27c | docs/advanced_usage.rst | docs/advanced_usage.rst | reStructuredText |
<|file_sep|>original/bot/multithreading/worker/pool/name_generator.py
class WorkerPoolNameGenerator:
def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int):
self.base_name = base_name
self.max_workers = max_workers
self.max_seconds_idle = max_seconds_idle
def get_na... | class WorkerPoolNameGenerator:
def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int):
self.base_name = base_name
self.max_workers = max_workers
self.max_seconds_idle = max_seconds_idle
def get_name(self, number: int, is_temporal: bool = False):
name = self.... | <|file_sep|>original/bot/multithreading/worker/pool/name_generator.py
class WorkerPoolNameGenerator:
def __init__(self, base_name: str, max_workers: int, max_seconds_idle: int):
self.base_name = base_name
self.max_workers = max_workers
self.max_seconds_idle = max_seconds_idle
def get_na... | 638c1d92d82cfa5d8e9a3c5bfacee630282cc0a4 | bot/multithreading/worker/pool/name_generator.py | bot/multithreading/worker/pool/name_generator.py | Python |
<|file_sep|>original/rancher-config/rancher-compose.yml
version: '2'
services:
register-with-a-gp:
scale: 1
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3333
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 20000
... | version: '2'
services:
register-with-a-gp:
scale: $INITIAL_CONTAINER_SCALE
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3333
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 20000
strategy: recreate
requ... | <|file_sep|>original/rancher-config/rancher-compose.yml
version: '2'
services:
register-with-a-gp:
scale: 1
start_on_create: true
health_check:
response_timeout: 5000
healthy_threshold: 2
port: 3333
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 20000
... | eac56b71af38f869ec08d42e05c048fb8979550d | rancher-config/rancher-compose.yml | rancher-config/rancher-compose.yml | YAML |
<|file_sep|>original/Formula/gdb.rb
require 'formula'
class Gdb < Formula
homepage 'http://www.gnu.org/software/gdb/'
url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2'
md5 'b89a5fac359c618dda97b88645ceab47'
depends_on 'readline'
def install
system "./configure", "--prefix=#{prefix}",
... | require 'formula'
class Gdb < Formula
homepage 'http://www.gnu.org/software/gdb/'
url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2'
mirror 'http://ftp.gnu.org/gnu/gdb/gdb-7.3.1.tar.bz2'
md5 'b89a5fac359c618dda97b88645ceab47'
depends_on 'readline'
def install
system "./configure", "--prefix=#{prefi... | <|file_sep|>original/Formula/gdb.rb
require 'formula'
class Gdb < Formula
homepage 'http://www.gnu.org/software/gdb/'
url 'http://ftpmirror.gnu.org/gdb/gdb-7.3.1.tar.bz2'
md5 'b89a5fac359c618dda97b88645ceab47'
depends_on 'readline'
def install
system "./configure", "--prefix=#{prefix}",
... | 5d6af2f90d623cb8a912a750b60411b885e25640 | Formula/gdb.rb | Formula/gdb.rb | Ruby |
<|file_sep|>original/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala
import org.apache.commons.codec.binary.Base64
object SasTokenGeneration {
val expiresInMins = 60
/**
* From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/me... | import org.apache.commons.codec.binary.Base64
object SasTokenGeneration {
val expiresInMins = 60
/**
* From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/messaging/NamespaceManager.java#L233]]
* Licensed under Apache License 2.0 - [[https:/... | <|file_sep|>original/common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala
import org.apache.commons.codec.binary.Base64
object SasTokenGeneration {
val expiresInMins = 60
/**
* From [[https://github.com/Azure/azure-notificationhubs-java-backend/blob/master/NotificationHubs/src/com/windowsazure/me... | 7b42e0c50c58ecc61c94e2d9b217ae32d83b3101 | common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala | common/src/main/scala/gu/msnotifications/SasTokenGeneration.scala | Scala |
<|file_sep|>original/README.md
# prosemirror-commands
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prose... | # prosemirror-commands
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prosemirror/blob/master/CHANGELOG.md... | <|file_sep|>original/README.md
# prosemirror-commands
[ [**WEBSITE**](http://prosemirror.net) | [**ISSUES**](https://github.com/prosemirror/prosemirror/issues) | [**FORUM**](https://discuss.prosemirror.net) | [**GITTER**](https://gitter.im/ProseMirror/prosemirror) | [**CHANGELOG**](https://github.com/ProseMirror/prose... | 62727f7b7ba246c543bf959f8c47bf5e18a7cea8 | README.md | README.md | Markdown |
<|file_sep|>original/Set-1/2.rb
#!/usr/bin/env ruby
def treatAsHex s
[s].pack('H*').unpack('B*').last.to_i 2
end
public
def xor(str1, str2)
h1 = treatAsHex str1
h2 = treatAsHex str2
(h1 ^ h2).to_s(16)
end
def help
"Usage: ruby #{__FILE__} <string1> <string1>"
end
def main
str1 = ARGV[0]
str2 = ARGV[1]... | #!/usr/bin/env ruby
def treatAsHex s
[s].pack('H*').unpack('B*').last.to_i 2
end
public
def xor(str1, str2)
str1.scan(/\w\w/).zip(str2.scan(/\w\w/)).map { |s1_c, s2_c|
h1 = treatAsHex s1_c
h2 = treatAsHex s2_c
(h1 ^ h2).to_s(16).rjust(2, '0')
}.join
end
def help
"Usage: ruby #{__FILE__} <string1>... | <|file_sep|>original/Set-1/2.rb
#!/usr/bin/env ruby
def treatAsHex s
[s].pack('H*').unpack('B*').last.to_i 2
end
public
def xor(str1, str2)
h1 = treatAsHex str1
h2 = treatAsHex str2
(h1 ^ h2).to_s(16)
end
def help
"Usage: ruby #{__FILE__} <string1> <string1>"
end
def main
str1 = ARGV[0]
str2 = ARGV[1]... | d8b21f1d11c2e4c10a6e18ab2aa383da59113da6 | Set-1/2.rb | Set-1/2.rb | Ruby |
<|file_sep|>.github/workflows/contributions-validator.yml.diff
original:
python-version: '3.6'
updated:
python-version: '3.7'
<|file_sep|>original/.github/workflows/contributions-validator.yml
name: Test changed markdown documentation files.
steps:
- uses: actions/checkout@v1
- u... | name: Test changed markdown documentation files.
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install packages
run: |
pip install absl-py attrs tensorflow tensorflow_hub pyaml ruamel.yaml
pi... | <|file_sep|>.github/workflows/contributions-validator.yml.diff
original:
python-version: '3.6'
updated:
python-version: '3.7'
<|file_sep|>original/.github/workflows/contributions-validator.yml
name: Test changed markdown documentation files.
steps:
- uses: actions/checkout@v1
- u... | 4ab0a98d88b1a47d912739feabc2ee92a31c76c0 | .github/workflows/contributions-validator.yml | .github/workflows/contributions-validator.yml | YAML |
<|file_sep|>lib/minty.rb.diff
original:
def initialize(endpoint = 'http://test.datacite.com')
@endpoint = endpoint
updated:
def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil)
@endpoint = RestClient::Resource.new(endpoint, user, pass)
<|file_sep|>lib/minty.rb.diff
original:... | require "rest_client"
module Minty
class DataCite
def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil)
@endpoint = RestClient::Resource.new(endpoint, user, pass)
end
def resolve(doi)
response = @endpoint["doi/#{doi}"].get
end
def mint(doi, url)
respo... | <|file_sep|>lib/minty.rb.diff
original:
def initialize(endpoint = 'http://test.datacite.com')
@endpoint = endpoint
updated:
def initialize(endpoint = 'http://test.datacite.com', user = nil, pass = nil)
@endpoint = RestClient::Resource.new(endpoint, user, pass)
<|file_sep|>lib/minty.rb.diff
original:... | 160dfbcbf1291655684b6c6449c6ffbbeb55b0b2 | lib/minty.rb | lib/minty.rb | Ruby |
<|file_sep|>original/app/src/main/res/layout/navigation_view_group.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferred... | <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferredItemHeightSmall"
android:gravity="center_vertical"
android:back... | <|file_sep|>original/app/src/main/res/layout/navigation_view_group.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="?attr/listPreferred... | 2eab43a66994b148472ee3ab9c411b3c214f4354 | app/src/main/res/layout/navigation_view_group.xml | app/src/main/res/layout/navigation_view_group.xml | XML |
<|file_sep|>original/.travis.yml
language: swift
osx_image: xcode8.3
xcode_project: Bourne.xcodeproj
xcode_scheme:
- Bourne-iOS Tests
- Bourne-tvOS Tests
- Bourne-macOS Tests
<|file_sep|>current/.travis.yml
language: swift
osx_image: xcode8.3
xcode_project: Bourne.xcodeproj
xcode_scheme:
- Bourne-iOS Tests
... | language: swift
osx_image: xcode8.3
xcode_project: Bourne.xcodeproj
matrix:
include:
- xcode_scheme: Bourne-iOS Tests
xcode_sdk: iphonesimulator10.3
- xcode_scheme: Bourne-macOS Tests
xcode_sdk: macosx10.12
- xcode_scheme: Bourne-tvOS Tests
xcode_sdk: appletvsimulator10.2 | <|file_sep|>original/.travis.yml
language: swift
osx_image: xcode8.3
xcode_project: Bourne.xcodeproj
xcode_scheme:
- Bourne-iOS Tests
- Bourne-tvOS Tests
- Bourne-macOS Tests
<|file_sep|>current/.travis.yml
language: swift
osx_image: xcode8.3
xcode_project: Bourne.xcodeproj
xcode_scheme:
- Bourne-iOS Tests
... | e41e575a0509ef5cef16487286383ec636bb84b9 | .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.