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/src/test/groovy/org/geocommands/tile/TileUtilTest.groovy
<|file_sep|>current/src/test/groovy/org/geocommands/tile/TileUtilTest.groovy
<|file_sep|>updated/src/test/groovy/org/geocommands/tile/TileUtilTest.groovy | package org.geocommands.tile
import geoscript.layer.OSM
import org.junit.Test
import static org.junit.Assert.assertEquals
/**
* The TileUtil Unit Test.
* @author Jared Erickson
*/
class TileUtilTest {
@Test void getOSMImageTileLayer() {
OSM osm = TileUtil.getOSMImageTileLayer("stamen-toner")
a... | <|file_sep|>original/src/test/groovy/org/geocommands/tile/TileUtilTest.groovy
<|file_sep|>current/src/test/groovy/org/geocommands/tile/TileUtilTest.groovy
<|file_sep|>updated/src/test/groovy/org/geocommands/tile/TileUtilTest.groovy
package org.geocommands.tile
import geoscript.layer.OSM
import org.junit.Test
import ... | 3f0684498db6711663f9f7d07b01b34abf9469e6 | src/test/groovy/org/geocommands/tile/TileUtilTest.groovy | src/test/groovy/org/geocommands/tile/TileUtilTest.groovy | Groovy |
<|file_sep|>app/controllers/sales_pages_controller.rb.diff
original:
updated:
before_filter :get_club_and_sales_page, :only => [ :edit, :update ]
<|file_sep|>app/controllers/sales_pages_controller.rb.diff
original:
updated:
authorize! :update, @sales_page
end
def update
authorize! :update, @sales_page
... | end
def edit
authorize! :update, @sales_page
end
def update
authorize! :update, @sales_page
@sales_page.update_attributes params[:sales_page]
respond_with_bip @sales_page
end
private
def get_club_and_sales_page
@sales_page = SalesPage.find params[:id]
@club = @sales_pag... | <|file_sep|>app/controllers/sales_pages_controller.rb.diff
original:
updated:
before_filter :get_club_and_sales_page, :only => [ :edit, :update ]
<|file_sep|>app/controllers/sales_pages_controller.rb.diff
original:
updated:
authorize! :update, @sales_page
end
def update
authorize! :update, @sales_page
... | e2091b318bf3a148c64a9f4fbd1258f5558588c1 | app/controllers/sales_pages_controller.rb | app/controllers/sales_pages_controller.rb | Ruby |
<|file_sep|>original/ui/common/css/component/_nav-tree.scss
.nav-tree {
h2 {
margin-bottom: 1em;
padding-bottom: 0.3em;
border-bottom: $border;
}
.node {
transition: 1s all;
height: 0;
opacity: 0;
overflow: hidden;
transform: translateX(30px);
}
.node:target {
height: aut... | .nav-tree,
.contact {
h2 {
margin-bottom: 1em;
padding-bottom: 0.3em;
border-bottom: $border;
}
.node {
transition: 1s all;
height: 0;
opacity: 0;
overflow: hidden;
transform: translateX(30px);
}
.node:target {
height: auto;
opacity: 1;
transform: translateX(0px);... | <|file_sep|>original/ui/common/css/component/_nav-tree.scss
.nav-tree {
h2 {
margin-bottom: 1em;
padding-bottom: 0.3em;
border-bottom: $border;
}
.node {
transition: 1s all;
height: 0;
opacity: 0;
overflow: hidden;
transform: translateX(30px);
}
.node:target {
height: aut... | 0ad4d07f741e35294a8461746d7e86ba817dbe57 | ui/common/css/component/_nav-tree.scss | ui/common/css/component/_nav-tree.scss | SCSS |
<|file_sep|>original/content-page.php
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="page-header">
<?php the_title( '<h1 class="page-title">', '</h1>' ); ?>
</header><!-- .page-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'... | */
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="page-header">
<?php the_title( '<h1 class="page-title">', '</h1>' ); ?>
</header><!-- .page-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links... | <|file_sep|>original/content-page.php
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="page-header">
<?php the_title( '<h1 class="page-title">', '</h1>' ); ?>
</header><!-- .page-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'... | 6996fab2d2f13c8bdb6ef191d32d3b7ac293d79c | content-page.php | content-page.php | PHP |
<|file_sep|>original/app.rb
require 'active_record'
require 'json'
require 'twilio-ruby'
require 'phone'
require './lib/models'
require './lib/greeter'
require './lib/unlocker_stub'
require './lib/twilio_watcher'
require './lib/zulip_watcher'
def new_twilio_client
return Twilio::REST::Client.new ENV['TWILIO_SID'], E... | require 'active_record'
require 'json'
require 'twilio-ruby'
require 'phone'
require './lib/models'
require './lib/greeter'
require './lib/unlocker'
require './lib/twilio_watcher'
require './lib/zulip_watcher'
def new_twilio_client
return Twilio::REST::Client.new ENV['TWILIO_SID'], ENV['TWILIO_TOKEN']
end
$unlocker... | <|file_sep|>original/app.rb
require 'active_record'
require 'json'
require 'twilio-ruby'
require 'phone'
require './lib/models'
require './lib/greeter'
require './lib/unlocker_stub'
require './lib/twilio_watcher'
require './lib/zulip_watcher'
def new_twilio_client
return Twilio::REST::Client.new ENV['TWILIO_SID'], E... | 0a28561484cadbc35e1daf82f45567ca455315e2 | app.rb | app.rb | Ruby |
<|file_sep|>original/package.json
}
},
"author": "",
"license": "MIT",
"devDependencies": {
"ava": "^0.9.1",
"babel": "^6.3.26",
"babel-cli": "^6.4.0",
"babel-eslint": "^4.1.3",
"babel-preset-es2015": "^6.3.13",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^0.1.1",
"eslint-p... | }
},
"author": "",
"license": "MIT",
"devDependencies": {
"ava": "^0.9.1",
"babel": "^6.3.26",
"babel-cli": "^6.4.0",
"babel-eslint": "^4.1.3",
"babel-preset-es2015": "^6.3.13",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^0.1.1",
"eslint-plugin-react": "^4.2.1",
"seman... | <|file_sep|>original/package.json
}
},
"author": "",
"license": "MIT",
"devDependencies": {
"ava": "^0.9.1",
"babel": "^6.3.26",
"babel-cli": "^6.4.0",
"babel-eslint": "^4.1.3",
"babel-preset-es2015": "^6.3.13",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^0.1.1",
"eslint-p... | 762cb2654accb4970668d878398129be82f5c44c | package.json | package.json | JSON |
<|file_sep|>original/hutch.gemspec
Gem::Specification.new do |gem|
if defined?(JRUBY_VERSION)
gem.platform = 'java'
gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
else
gem.platform = Gem::Platform::RUBY
gem.add_runtime_dependency 'bunny', '>= 2.13', '< 2.15'
end
gem.add_runtime_dependency '... | Gem::Specification.new do |gem|
if defined?(JRUBY_VERSION)
gem.platform = 'java'
gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
else
gem.platform = Gem::Platform::RUBY
gem.add_runtime_dependency 'bunny', '>= 2.13', '< 2.15'
end
gem.add_runtime_dependency 'carrot-top', '~> 0.0.7'
gem.add_r... | <|file_sep|>original/hutch.gemspec
Gem::Specification.new do |gem|
if defined?(JRUBY_VERSION)
gem.platform = 'java'
gem.add_runtime_dependency 'march_hare', '>= 3.0.0'
else
gem.platform = Gem::Platform::RUBY
gem.add_runtime_dependency 'bunny', '>= 2.13', '< 2.15'
end
gem.add_runtime_dependency '... | f81cc06db52c6b7020d5445d74b8d2e457a737b7 | hutch.gemspec | hutch.gemspec | Ruby |
<|file_sep|>original/CHANGELOG.md
# 1.2.0 (Unreleased)
VERSION CHANGES
- Bump plantuml java source from `8026` to `8047`. [Changelog](http://plantuml.com/changes.html)
# 1.1.0
- Fixed the release to properly release, no code change. [Diff](https://github.com/Banno/sbt-plantuml-plugin/compare/1.0.0...1.1.0)
# 1.0.0... | # 1.1.1 (Unreleased)
IMPROVEMENTS
- There is a `sequenceDiagramsOutputFormat` setting now for various output formats.
- Options include: PNG, SVG, EPS, UTXT, PDF, ANIMATED_GIF, HTML, HTML5, BASE64, BRAILLE_PNG (More can be found in `net.sourceforge.plantuml.FileFormat`
VERSION CHANGES
- Bump plantuml java source ... | <|file_sep|>original/CHANGELOG.md
# 1.2.0 (Unreleased)
VERSION CHANGES
- Bump plantuml java source from `8026` to `8047`. [Changelog](http://plantuml.com/changes.html)
# 1.1.0
- Fixed the release to properly release, no code change. [Diff](https://github.com/Banno/sbt-plantuml-plugin/compare/1.0.0...1.1.0)
# 1.0.0... | 0a239d00059e4a0800ee70275eb7fb59d3589975 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/app/assets/javascripts/templates/navigation/_topbar.hbs
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="#/">TryRuby - RailsGirls Edition</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
... | <section class="top-bar-section">
<ul class="left">
<li>
{{#link-to 'index'}}Home{{/link-to}}
</li>
<li>
{{#link-to 'about'}}About{{/link-to}}
</li>
<li>
{{#link-to 'lessons.index'}}Lessons{{/link-to}... | <|file_sep|>original/app/assets/javascripts/templates/navigation/_topbar.hbs
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="#/">TryRuby - RailsGirls Edition</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
... | f3de62e56aad436521995974c3ad7b9732ee97c4 | app/assets/javascripts/templates/navigation/_topbar.hbs | app/assets/javascripts/templates/navigation/_topbar.hbs | Handlebars |
<|file_sep|>original/app/reader.rb
end
get "/articles/:id/?" do
flagged! do
article = service.fetch(params[:id].to_i)
if article
article_widget = Widget::Article.new(article)
comments = Widget::Comments.new(ENV["RACK_ENV"])
render_page :articles_show, :article => article_w... | end
get "/articles/:id/?" do
flagged! do
article = service.fetch(params[:id].to_i)
if article
article_widget = Widget::Article.new(article)
comments = Widget::Comments.new(ENV["RACK_ENV"])
render_page :articles_show, {
:article => article_widget,
:comme... | <|file_sep|>original/app/reader.rb
end
get "/articles/:id/?" do
flagged! do
article = service.fetch(params[:id].to_i)
if article
article_widget = Widget::Article.new(article)
comments = Widget::Comments.new(ENV["RACK_ENV"])
render_page :articles_show, :article => article_w... | 495aef0d2ce61bcc1a699164c4a794b759f921f2 | app/reader.rb | app/reader.rb | Ruby |
<|file_sep|>original/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
<|file_sep|>current/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
<|file_sep|>updated/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java | package org.opendatakit.consts;
/**
* Created by jbeorse on 7/17/17.
*/
public class RequestCodeConsts {
/**
* Request codes, used with startActivityForResult
*/
public static final class RequestCodes {
/**
* Used to view a collection or a join table in a SpreadsheetFragment in
... | <|file_sep|>original/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
<|file_sep|>current/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
<|file_sep|>updated/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
package org.opendata... | 7baf4cf657724fda8a6e046da3e1c80d0e656f1d | androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java | androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java | Java |
<|file_sep|>original/requirements.txt
tqdm==4.17.1
numpy==1.13.3
pandas==0.20.3
astropy==2.0.2
matplotlib==2.0.2
multiprocess==0.70.5
scipy
<|file_sep|>current/requirements.txt
tqdm==4.17.1
numpy==1.13.3
pandas==0.20.3
astropy==2.0.2
matplotlib==2.0.2
multiprocess==0.70.5
scipy
<|file_sep|>updated/requirements.txt | tqdm==4.19.5
numpy==1.13.3
pandas==0.20.3
astropy==2.0.2
matplotlib==2.0.2
multiprocess==0.70.5
scipy | <|file_sep|>original/requirements.txt
tqdm==4.17.1
numpy==1.13.3
pandas==0.20.3
astropy==2.0.2
matplotlib==2.0.2
multiprocess==0.70.5
scipy
<|file_sep|>current/requirements.txt
tqdm==4.17.1
numpy==1.13.3
pandas==0.20.3
astropy==2.0.2
matplotlib==2.0.2
multiprocess==0.70.5
scipy
<|file_sep|>updated/requirements.txt
tqdm... | 796b088b7b7f1bf597bd9b776646b7ccd3091485 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/main/java/com/trustedsolutions/TestRxTx.java
<|file_sep|>current/src/main/java/com/trustedsolutions/TestRxTx.java
<|file_sep|>updated/src/main/java/com/trustedsolutions/TestRxTx.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.trustedsolutions;
import gnu.io.CommPortIdentifier;
import java.util.Enumeration;
/**
*
* @author loki.chuang
*/
public ... | <|file_sep|>original/src/main/java/com/trustedsolutions/TestRxTx.java
<|file_sep|>current/src/main/java/com/trustedsolutions/TestRxTx.java
<|file_sep|>updated/src/main/java/com/trustedsolutions/TestRxTx.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template ... | 88367fde56d5f6ef3854c5e4bcefa64704373038 | src/main/java/com/trustedsolutions/TestRxTx.java | src/main/java/com/trustedsolutions/TestRxTx.java | Java |
<|file_sep|>original/lib/exercism/curriculum/scala.rb
class Exercism
class ScalaCurriculum
def slugs
%w(
bob hamming word-count anagram
nucleotide-count phone-number
grade-school robot-name leap etl meetup space-age
)
end
def locale
Locale.new('scala', 'scala', '... | class Exercism
class ScalaCurriculum
def slugs
%w(
bob hamming word-count anagram
nucleotide-count phone-number
grade-school robot-name leap etl meetup space-age
)
end
def language
'scala'
end
end
end | <|file_sep|>original/lib/exercism/curriculum/scala.rb
class Exercism
class ScalaCurriculum
def slugs
%w(
bob hamming word-count anagram
nucleotide-count phone-number
grade-school robot-name leap etl meetup space-age
)
end
def locale
Locale.new('scala', 'scala', '... | 8e15857950dd70f4c22aee1100ba27978a5bd776 | lib/exercism/curriculum/scala.rb | lib/exercism/curriculum/scala.rb | Ruby |
<|file_sep|>clburlison_scripts/dropbox_folder_location/dropbox_folder_location.py.diff
original:
"""H/t to eholtam for posting in slack"""
updated:
<|file_sep|>clburlison_scripts/dropbox_folder_location/dropbox_folder_location.py.diff
original:
import json
import os
updated:
import json, os, pprint
<|file_sep|>clburli... | #!/usr/bin/python
import json, os, pprint
f = open(os.path.expanduser('~/.dropbox/info.json'), 'r').read()
data = json.loads(f)
# To list all dropbox data
pprint.pprint(data)
print('')
# Or to find just the paths
for i in ['personal', 'business']:
print('{}:'.format(i.capitalize()))
print(data.get(i, {}).ge... | <|file_sep|>clburlison_scripts/dropbox_folder_location/dropbox_folder_location.py.diff
original:
"""H/t to eholtam for posting in slack"""
updated:
<|file_sep|>clburlison_scripts/dropbox_folder_location/dropbox_folder_location.py.diff
original:
import json
import os
updated:
import json, os, pprint
<|file_sep|>clburli... | 8664741930e5a21bfbdcffe2fc0ca612b4b3e4ea | clburlison_scripts/dropbox_folder_location/dropbox_folder_location.py | clburlison_scripts/dropbox_folder_location/dropbox_folder_location.py | Python |
<|file_sep|>original/setup.cake
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountName: "BBTSoftwareAG",
shouldPublishMyGet: false,
shouldRunCodecov: false,
... | context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountName: "BBTSoftwareAG",
shouldPublishMyGet: false,
shouldRunCodecov: false,
shouldDeployGraphDocumentati... | <|file_sep|>original/setup.cake
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName: "TfsUrlParser",
appVeyorAccountName: "BBTSoftwareAG",
shouldPublishMyGet: false,
shouldRunCodecov: false,
... | 215aa81735ca7644073d368f8093a9b3e11c5395 | setup.cake | setup.cake | C# |
<|file_sep|>original/index.js
.usage('Usage: $0 <command> [options]')
.demandCommand(1)
.command('about', 'Info about the CLI', about)
.command('next', 'Get next rocket launch',
function (yargs) {
return yargs.option('d', {
alias: 'details',
describe: 'Details about the next launch'
... | .usage('Usage: $0 <command> [options]')
.demandCommand(1)
.command('about', 'Info about the CLI', about)
.command('next', 'Get next rocket launch',
function (yargs) {
return yargs.option('d', {
alias: 'details',
describe: 'Details about the next launch'
}).option('tz', {
... | <|file_sep|>original/index.js
.usage('Usage: $0 <command> [options]')
.demandCommand(1)
.command('about', 'Info about the CLI', about)
.command('next', 'Get next rocket launch',
function (yargs) {
return yargs.option('d', {
alias: 'details',
describe: 'Details about the next launch'
... | 6011594ab57255b4a7bb1f16c57bbaabef41f77b | index.js | index.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
env: TOXENV=py34,codecov
updated:
env: TOXENV=py34
<|file_sep|>.travis.yml.diff
original:
env: TOXENV=py35,codecov
updated:
env: TOXENV=py35
<|file_sep|>.travis.yml.diff
original:
env: TOXENV=py36,codecov
updated:
env: TOXENV=py36
<|file_sep|>.travis.yml.di... | env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7-dev
env: TOXENV=py37
# Failures on these unsupported python versions are allowed
allow_failures:
- env: TOXENV=py35
- env: TOXENV=py37
install:
- pip install tox
script:
- tox -vvv
notification... | <|file_sep|>.travis.yml.diff
original:
env: TOXENV=py34,codecov
updated:
env: TOXENV=py34
<|file_sep|>.travis.yml.diff
original:
env: TOXENV=py35,codecov
updated:
env: TOXENV=py35
<|file_sep|>.travis.yml.diff
original:
env: TOXENV=py36,codecov
updated:
env: TOXENV=py36
<|file_sep|>.travis.yml.di... | 9b8bcff142e1f5c14239cecb31a94065dc89bab5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcoming
### Fix
* If the `jsdoc`-helper did not create any docs, the whole output file was not written.
## v0.2.0 - 2015-08-04
### Change
* `rendertree` is now a block-helper, the label of each no... | # Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## v0.2.1 - 2015-08-06
### Fix
* If the `jsdoc`-helper did not create any docs, the whole output file was not written.
## v0.2.0 - 2015-08-04
### Change
* `rendertree` is now a block-helper, the label of each node is determined by the... | <|file_sep|>original/CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## Upcoming
### Fix
* If the `jsdoc`-helper did not create any docs, the whole output file was not written.
## v0.2.0 - 2015-08-04
### Change
* `rendertree` is now a block-helper, the label of each no... | 5467e6d7580f3a84ae71eb5a60c271a1f9c96e0d | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/examples/macro/urlshorten.rkt
#lang racket
(require gapi/macro)
(require-gapi-doc "urlshortener.v1.js")
(define orig-url "http://www.racket-lang.org/")
(define js-insert (urlshortener-url-insert #:longUrl orig-url))
(define short-url (dict-ref js-insert 'id))
(define js-get (urlshortener-url-get ... | #lang racket
(require gapi/macro)
(require-gapi-doc "urlshortener.v1.js")
(define orig-url "http://www.racket-lang.org/")
(define js-insert (urlshortener-url-insert #:longUrl orig-url))
(define short-url (dict-ref js-insert 'id))
(define js-get (urlshortener-url-get #:shortUrl short-url))
(define long-url (dict-ref j... | <|file_sep|>original/examples/macro/urlshorten.rkt
#lang racket
(require gapi/macro)
(require-gapi-doc "urlshortener.v1.js")
(define orig-url "http://www.racket-lang.org/")
(define js-insert (urlshortener-url-insert #:longUrl orig-url))
(define short-url (dict-ref js-insert 'id))
(define js-get (urlshortener-url-get ... | 01ba24be65c409911e6c9c6cd76d437301f2ebef | examples/macro/urlshorten.rkt | examples/macro/urlshorten.rkt | Racket |
<|file_sep|>original/lib/conductor/conductor_invalid.rb
module Conductor
class ConductorInvalid < Exception
attr_accessor :conductor
def initialize(conductor)
@conductor = conductor
end
def record
conductor.resource
end
end
end
<|file_sep|>current/lib/conductor/conductor_in... | module Conductor
class ConductorInvalid < StandardError
attr_accessor :conductor
def initialize(conductor)
@conductor = conductor
end
def record
conductor.resource
end
end
end | <|file_sep|>original/lib/conductor/conductor_invalid.rb
module Conductor
class ConductorInvalid < Exception
attr_accessor :conductor
def initialize(conductor)
@conductor = conductor
end
def record
conductor.resource
end
end
end
<|file_sep|>current/lib/conductor/conductor_in... | 5f10bbbbcda40f4d3cf825cf5678f61718fb9d53 | lib/conductor/conductor_invalid.rb | lib/conductor/conductor_invalid.rb | Ruby |
<|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md | # How to Contribute
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.
## Contributor License Agreement
Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your ... | <|file_sep|>original/CONTRIBUTING.md
<|file_sep|>current/CONTRIBUTING.md
<|file_sep|>updated/CONTRIBUTING.md
# How to Contribute
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.
## Contributor License Agreement
Contributions to this proje... | eac175ae30e8c29e112e667c6ca6072eca578e48 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/roles/mesos/tasks/follower.yml
state: present
tags:
- mesos
- bootstrap
- name: configure mesos-agent
sudo: yes
template:
src: mesos-agent.sysconfig.j2
dest: /etc/sysconfig/mesos-agent
notify: restart mesos follower
tags:
- mesos
- name: write credential
when: ... | state: present
tags:
- mesos
- bootstrap
- name: configure mesos-agent
sudo: yes
template:
src: mesos-agent.sysconfig.j2
dest: /etc/sysconfig/mesos-agent
notify: remove mesos follower metadata
tags:
- mesos
- name: write credential
when: do_mesos_follower_auth|bool
sudo: yes
co... | <|file_sep|>original/roles/mesos/tasks/follower.yml
state: present
tags:
- mesos
- bootstrap
- name: configure mesos-agent
sudo: yes
template:
src: mesos-agent.sysconfig.j2
dest: /etc/sysconfig/mesos-agent
notify: restart mesos follower
tags:
- mesos
- name: write credential
when: ... | eb6abee18f74c5f1360db9d60dd8513515bf7307 | roles/mesos/tasks/follower.yml | roles/mesos/tasks/follower.yml | YAML |
<|file_sep|>original/package.json
{
"name": "baylor-bot",
"version": "0.0.0",
"description": "A bot requested by /u/adeafblindman",
"main": "main.js",
"scripts": {
"preinstall": "npm install -g pm2",
"postinstall": "pm2 startup && pm2 start main.js --name 'BaylorBot'"
},
"repository": {
"type"... | {
"name": "baylor-bot",
"version": "0.0.0",
"description": "A bot requested by /u/adeafblindman",
"main": "main.js",
"scripts": {
"postinstall": "pm2 startup && pm2 start main.js --name 'BaylorBot'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MayorMonty/BaylorBot.git"
},... | <|file_sep|>original/package.json
{
"name": "baylor-bot",
"version": "0.0.0",
"description": "A bot requested by /u/adeafblindman",
"main": "main.js",
"scripts": {
"preinstall": "npm install -g pm2",
"postinstall": "pm2 startup && pm2 start main.js --name 'BaylorBot'"
},
"repository": {
"type"... | 501128d6f745520d98a2495408567f02cd9990ef | package.json | package.json | JSON |
<|file_sep|>README.md.diff
original:
Higher level multithreading for C++. This library uses only C++11 features, and thus runs anywhere C++11 runs.
updated:
Higher level multithreading for C++. This library uses C++11 features wherever possible.
<|file_sep|>original/README.md
Powercores
==========
Higher level multi... | Powercores
==========
Higher level multithreading for C++. This library uses C++11 features wherever possible.
Note: This is definitely a work in progress and will develop alongside [Libaudioverse](http://github.com/camlorn/libaudioverse). unlike Libaudioverse, it is released under the unlicense, so you can use it ... | <|file_sep|>README.md.diff
original:
Higher level multithreading for C++. This library uses only C++11 features, and thus runs anywhere C++11 runs.
updated:
Higher level multithreading for C++. This library uses C++11 features wherever possible.
<|file_sep|>original/README.md
Powercores
==========
Higher level multi... | 57c6fe7d1f0183b1c6eb7a8f451bc569f0bf482d | README.md | README.md | Markdown |
<|file_sep|>src/Entities/Spawner.ts.diff
original:
private keybindCallback
updated:
private keyupAction: (event: KeyboardEvent) => void
<|file_sep|>src/Entities/Spawner.ts.diff
original:
this.keybindCallback = (event: KeyboardEvent) => {
updated:
this.keyupAction = (event: KeyboardEvent) => {
<|... |
private mesh: BABYLON.Mesh
private keyupAction: (event: KeyboardEvent) => void
protected initialize() {
this.keyupAction = (event: KeyboardEvent) => {
if (event.keyCode === 32) {
this.game.addEntity(new EntityState({
type: "Nanoshooter/Entities/Cube... | <|file_sep|>src/Entities/Spawner.ts.diff
original:
private keybindCallback
updated:
private keyupAction: (event: KeyboardEvent) => void
<|file_sep|>src/Entities/Spawner.ts.diff
original:
this.keybindCallback = (event: KeyboardEvent) => {
updated:
this.keyupAction = (event: KeyboardEvent) => {
<|... | 6d5e21db305efbf31b9f888cf4168c2c4a90dd74 | src/Entities/Spawner.ts | src/Entities/Spawner.ts | TypeScript |
<|file_sep|>original/api/index.js
var fableApi = require('./fable');
var mongoose = require('mongoose');
var credentials = require('./credentials');
module.exports = function(app){
const route = '/api';
// Connect to MongoDB
console.log('Connecting to MongoLab as ' + credentials.username + '...');
var dbUrl ... | var fableApi = require('./fable');
var mongoose = require('mongoose');
var credentials = require('./credentials');
module.exports = function(app){
const route = '/api';
// Connect to MongoDB
console.log('Connecting to MongoLab as ' + credentials.username + '...');
var dbUrl = 'mongodb://' + (process.env.MONG... | <|file_sep|>original/api/index.js
var fableApi = require('./fable');
var mongoose = require('mongoose');
var credentials = require('./credentials');
module.exports = function(app){
const route = '/api';
// Connect to MongoDB
console.log('Connecting to MongoLab as ' + credentials.username + '...');
var dbUrl ... | 78ef99ad5ac530063ec6de7416c04e1106b8f913 | api/index.js | api/index.js | JavaScript |
<|file_sep|>original/.pre-commit-config.yaml
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
- id: pyupgrade
args: ["--py36-plus"]
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
... | repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
additional_dependencies: [flake8-bugbear==20... | <|file_sep|>original/.pre-commit-config.yaml
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
- id: pyupgrade
args: ["--py36-plus"]
- repo: https://github.com/python/black
rev: 20.8b1
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
hooks:
- id: flake8
... | 48700e9e6af0fafe1b5c20850ee4f770bb014492 | .pre-commit-config.yaml | .pre-commit-config.yaml | YAML |
<|file_sep|>app/views/dossier/reports/show.html.haml.diff
original:
updated:
= link_to 'Download CSV', dossier_report_path(format: 'csv', options: report.options, report: report.class.report_name), class: 'download-csv'
<|file_sep|>original/app/views/dossier/reports/show.html.haml
%h1= report.class.name.titleize
%ta... | %h1= report.class.name.titleize
= link_to 'Download CSV', dossier_report_path(format: 'csv', options: report.options, report: report.class.report_name), class: 'download-csv'
%table
%thead
%tr
- report.results.headers.each do |header|
%th= Dossier::Formatter.titleize(header)
%tbody
- report.... | <|file_sep|>app/views/dossier/reports/show.html.haml.diff
original:
updated:
= link_to 'Download CSV', dossier_report_path(format: 'csv', options: report.options, report: report.class.report_name), class: 'download-csv'
<|file_sep|>original/app/views/dossier/reports/show.html.haml
%h1= report.class.name.titleize
%ta... | a09f25853404fbc491fcb74041f06b25fd49d639 | app/views/dossier/reports/show.html.haml | app/views/dossier/reports/show.html.haml | Haml |
<|file_sep|>original/examples/rRaman.py
# -*- coding: utf-8 -*-
"""
Resonance Raman
==========
A Resonance Raman plot.
"""
import WrightTools as wt
from WrightTools import datasets
p = datasets.BrunoldrRaman.LDS821_514nm_80mW
data = wt.data.from_BrunoldrRaman(p)
trash_pixels = 56
data = data.split(0, 843.0)[1]
data... | # -*- coding: utf-8 -*-
"""
Resonance Raman
===============
A Resonance Raman plot.
"""
import WrightTools as wt
from WrightTools import datasets
p = datasets.BrunoldrRaman.LDS821_514nm_80mW
data = wt.data.from_BrunoldrRaman(p)
trash_pixels = 56
data = data.split(0, 843.0)[1]
data.convert('wn', verbose=False)
arti... | <|file_sep|>original/examples/rRaman.py
# -*- coding: utf-8 -*-
"""
Resonance Raman
==========
A Resonance Raman plot.
"""
import WrightTools as wt
from WrightTools import datasets
p = datasets.BrunoldrRaman.LDS821_514nm_80mW
data = wt.data.from_BrunoldrRaman(p)
trash_pixels = 56
data = data.split(0, 843.0)[1]
data... | f3cb8becb4f243d9f9a955aa3cafe53f3bf1e548 | examples/rRaman.py | examples/rRaman.py | Python |
<|file_sep|>.travis.yml.diff
original:
install: make
updated:
<|file_sep|>original/.travis.yml
services:
- docker
language: c
install: make
fast_finish: true
cache:
directories:
- node_modules
env:
DOCKER_COMPOSE_VERSION: 1.6.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://g... | services:
- docker
language: c
fast_finish: true
cache:
directories:
- node_modules
env:
DOCKER_COMPOSE_VERSION: 1.5.2
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > do... | <|file_sep|>.travis.yml.diff
original:
install: make
updated:
<|file_sep|>original/.travis.yml
services:
- docker
language: c
install: make
fast_finish: true
cache:
directories:
- node_modules
env:
DOCKER_COMPOSE_VERSION: 1.6.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://g... | 2d59124aa23d086680c8e8d40824d303b14f5e59 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/android/source/VideoLocker/src/org/edx/mobile/module/analytics/SegmentFactory.java
}
/**
* Creates a singleton instance of {@link org.edx.mobile.module.analytics.ISegment}
* if not already created.
* If configuration does not allow third party traffic, then this method makes... | }
/**
* Creates a singleton instance of {@link org.edx.mobile.module.analytics.ISegment}
* if not already created.
* If configuration does not allow third party traffic, then this method makes
* an instance of {@link org.edx.mobile.module.analytics.ISegmentEmptyImpl} class
* which does... | <|file_sep|>original/android/source/VideoLocker/src/org/edx/mobile/module/analytics/SegmentFactory.java
}
/**
* Creates a singleton instance of {@link org.edx.mobile.module.analytics.ISegment}
* if not already created.
* If configuration does not allow third party traffic, then this method makes... | ba68642c417061c3940e8b3f6b705344d2a562c5 | android/source/VideoLocker/src/org/edx/mobile/module/analytics/SegmentFactory.java | android/source/VideoLocker/src/org/edx/mobile/module/analytics/SegmentFactory.java | Java |
<|file_sep|>original/app/language/english/form_validation_lang.php
<?php
// Custom form validation messages
$lang['form_validation_alpha_dot_dash'] = 'The {field} field may only contain alphanumeric characters, periods, underscores and dashes.';
$lang['form_validation_latlong'] = 'The {field} must be between -180 and ... | <?php
// Custom form validation messages
$lang['form_validation_alpha_dot_dash'] = 'The {field} field may only contain alphanumeric characters, periods, underscores and dashes.';
$lang['form_validation_is_numeric'] = 'The {field} must be a number.';
$lang['form_validation_latlong'] = 'The {field} must be between -180 ... | <|file_sep|>original/app/language/english/form_validation_lang.php
<?php
// Custom form validation messages
$lang['form_validation_alpha_dot_dash'] = 'The {field} field may only contain alphanumeric characters, periods, underscores and dashes.';
$lang['form_validation_latlong'] = 'The {field} must be between -180 and ... | 787cda955d68e3eb14fa9057065df9b7efd55295 | app/language/english/form_validation_lang.php | app/language/english/form_validation_lang.php | PHP |
<|file_sep|>packages/nt/ntrip-client.yaml.diff
original:
hash: 85a1f8cb81fa473471e40cf15f705f04d576badeadb69d9408fae703630b1b31
updated:
hash: 89e273d4848417efc57847857163cb4b234a327a44bbfb431daaea0a16e378b9
<|file_sep|>packages/nt/ntrip-client.yaml.diff
original:
updated:
- '0.1.6'
<|file_sep|>original/packages/nt/nt... | conduit: -any
conduit-extra: -any
uri-bytestring: -any
lens: -any
ntrip-client: -any
lifted-async: -any
attoparsec: -any
http-types: -any
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.1.4'
- '0.1.5'
- '0.1.6'
author: Swift Navigation Inc.
latest: '0.1.6'
description-type: haddock
descriptio... | <|file_sep|>packages/nt/ntrip-client.yaml.diff
original:
hash: 85a1f8cb81fa473471e40cf15f705f04d576badeadb69d9408fae703630b1b31
updated:
hash: 89e273d4848417efc57847857163cb4b234a327a44bbfb431daaea0a16e378b9
<|file_sep|>packages/nt/ntrip-client.yaml.diff
original:
updated:
- '0.1.6'
<|file_sep|>original/packages/nt/nt... | 34cc0ae62a46a49d852c01e9ee0e4724bc4faaec | packages/nt/ntrip-client.yaml | packages/nt/ntrip-client.yaml | YAML |
<|file_sep|>original/cmd/root.go
}
cmd.Usage()
},
}
// Execute execute root command
func Execute() {
err := RootCmd.Execute()
if err != nil {
fmt.Println(err)
os.Exit(1)
}
}
var isShowVersion bool
var awsProfile string
func init() {
RootCmd.Flags().BoolVarP(&isShowVersion, "version", "v", false, "print ... | }
cmd.Usage()
},
}
// Execute execute root command
func Execute() {
err := RootCmd.Execute()
if err != nil {
fmt.Println(err)
os.Exit(1)
}
}
var isShowVersion bool
var awsProfile string
func init() {
RootCmd.Flags().BoolVarP(&isShowVersion, "version", "v", false, "print the version of s3-edit")
RootCmd... | <|file_sep|>original/cmd/root.go
}
cmd.Usage()
},
}
// Execute execute root command
func Execute() {
err := RootCmd.Execute()
if err != nil {
fmt.Println(err)
os.Exit(1)
}
}
var isShowVersion bool
var awsProfile string
func init() {
RootCmd.Flags().BoolVarP(&isShowVersion, "version", "v", false, "print ... | 3130bfe9d25027c43d2a90dee7a3f0180cd3258f | cmd/root.go | cmd/root.go | Go |
<|file_sep|>original/freeciv/version.txt
FCREV=24960
FCBRANCH=trunk
ORIGCAPSTR="+Freeciv.Devel-2.6-2014.May.22"
WEBCAPSTR="+Freeciv.Web.Devel-2.6-2014.May.22"
<|file_sep|>current/freeciv/version.txt
FCREV=24960
FCBRANCH=trunk
ORIGCAPSTR="+Freeciv.Devel-2.6-2014.May.22"
WEBCAPSTR="+Freeciv.Web.Devel-2.6-2014.May.22"
<... | FCREV=24966
FCBRANCH=trunk
ORIGCAPSTR="+Freeciv.Devel-2.6-2014.May.22"
WEBCAPSTR="+Freeciv.Web.Devel-2.6-2014.May.22" | <|file_sep|>original/freeciv/version.txt
FCREV=24960
FCBRANCH=trunk
ORIGCAPSTR="+Freeciv.Devel-2.6-2014.May.22"
WEBCAPSTR="+Freeciv.Web.Devel-2.6-2014.May.22"
<|file_sep|>current/freeciv/version.txt
FCREV=24960
FCBRANCH=trunk
ORIGCAPSTR="+Freeciv.Devel-2.6-2014.May.22"
WEBCAPSTR="+Freeciv.Web.Devel-2.6-2014.May.22"
<... | d58b1b5f466a3845c5051312c103be4883aff648 | freeciv/version.txt | freeciv/version.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.2
sudo: false
addons:
code_climate:
repo_token: 48aeb1397404fe6079c14bbca8911959d29b44065e305a70b1bc6604d3effe46
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.2
sudo: false
addons:
code_climate:
repo_token: 48aeb1397404fe6079c14bbca8... | language: ruby
rvm:
- 2.2.2
sudo: false
services:
- redis-server
addons:
code_climate:
repo_token: 48aeb1397404fe6079c14bbca8911959d29b44065e305a70b1bc6604d3effe46 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.2.2
sudo: false
addons:
code_climate:
repo_token: 48aeb1397404fe6079c14bbca8911959d29b44065e305a70b1bc6604d3effe46
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.2.2
sudo: false
addons:
code_climate:
repo_token: 48aeb1397404fe6079c14bbca8... | 3b8562fc9412a3721dec118f79ecd2a12b7008d6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/simplecrypto/hashes.py
Returns the hexadecimal representation of the SHA1 hash digest.
"""
return hashlib.sha1(to_bytes(message)).hexdigest()
def sha256(message):
"""
Returns the hexadecimal representation of the SHA256 hash digest.
"""
return hashlib.sha256(to_bytes(me... | Returns the hexadecimal representation of the SHA1 hash digest.
"""
return hashlib.sha1(to_bytes(message)).hexdigest()
def sha256(message):
"""
Returns the hexadecimal representation of the SHA256 hash digest.
"""
return hashlib.sha256(to_bytes(message)).hexdigest()
def sha512(message):
... | <|file_sep|>original/simplecrypto/hashes.py
Returns the hexadecimal representation of the SHA1 hash digest.
"""
return hashlib.sha1(to_bytes(message)).hexdigest()
def sha256(message):
"""
Returns the hexadecimal representation of the SHA256 hash digest.
"""
return hashlib.sha256(to_bytes(me... | 1b84734f9f016e098fa82e596ae851f3b9d4fe2b | simplecrypto/hashes.py | simplecrypto/hashes.py | Python |
<|file_sep|>original/website/migrations/0002_auto_20150118_2210.py
<|file_sep|>current/website/migrations/0002_auto_20150118_2210.py
<|file_sep|>updated/website/migrations/0002_auto_20150118_2210.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('website', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='query',
name='cacheable... | <|file_sep|>original/website/migrations/0002_auto_20150118_2210.py
<|file_sep|>current/website/migrations/0002_auto_20150118_2210.py
<|file_sep|>updated/website/migrations/0002_auto_20150118_2210.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migra... | 53d0d5886670ba33a645fd8c82479fb4495d25d1 | website/migrations/0002_auto_20150118_2210.py | website/migrations/0002_auto_20150118_2210.py | Python |
<|file_sep|>original/.travis.yml
- node_modules
- bower_components
addons:
mariadb: 10.0
language: php
php:
- 7.0
- hhvm
matrix:
fast_finish: true
env:
- DB_USERNAME=root
before_install:
- nvm install 4.2
- nvm use 4.2
<|file_sep|>current/.travis.yml
- node_modules
- bower_components... | - node_modules
- bower_components
addons:
mariadb: 10.0
language: php
php:
- 7.0
matrix:
fast_finish: true
env:
- DB_USERNAME=root
before_install:
- nvm install 4.2
- nvm use 4.2
- ./bin/db_setup | <|file_sep|>original/.travis.yml
- node_modules
- bower_components
addons:
mariadb: 10.0
language: php
php:
- 7.0
- hhvm
matrix:
fast_finish: true
env:
- DB_USERNAME=root
before_install:
- nvm install 4.2
- nvm use 4.2
<|file_sep|>current/.travis.yml
- node_modules
- bower_components... | 4659467b9bfd46a10981807703acc4ed3d8b6af5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/check_prosody_update.sh
#!/bin/bash
apt-get update -qq
apt-get -u -V -s upgrade | grep "Inst prosody${PROSODY_VERSION}"
<|file_sep|>current/check_prosody_update.sh
#!/bin/bash
apt-get update -qq
apt-get -u -V -s upgrade | grep "Inst prosody${PROSODY_VERSION}"
<|file_sep|>updated/check_prosody_upd... | #!/bin/bash
( apt update -qq && apt list --upgradable ) 2> /dev/null | grep prosody
| <|file_sep|>original/check_prosody_update.sh
#!/bin/bash
apt-get update -qq
apt-get -u -V -s upgrade | grep "Inst prosody${PROSODY_VERSION}"
<|file_sep|>current/check_prosody_update.sh
#!/bin/bash
apt-get update -qq
apt-get -u -V -s upgrade | grep "Inst prosody${PROSODY_VERSION}"
<|file_sep|>updated/check_prosody_upd... | 4ac95b4b0c277c261e01f27c1c7eb97d556fc594 | check_prosody_update.sh | check_prosody_update.sh | Shell |
<|file_sep|>original/package.json
"browserify": "~2.8.0",
"es5-shim": "~2.0.8"
},
"testling": {
"files": [
"es5-shim",
"es5-shim/es5-sham",
"test/*.js"
],
"harness": "mocha",
"browsers": {
"ie": [ "7", "8", "9", "10" ],
"ff": [ "18", "19" ],
"chrome": [ "2... | "browserify": "~2.8.0",
"es5-shim": "~2.0.8"
},
"testling": {
"files": [
"es5-shim",
"es5-shim/es5-sham",
"test/*.js"
],
"harness": "mocha",
"browsers": {
"ie": [ "8", "9", "10" ],
"ff": [ "18", "19" ],
"chrome": [ "25", "canary" ],
"opera": [ "11.6"... | <|file_sep|>original/package.json
"browserify": "~2.8.0",
"es5-shim": "~2.0.8"
},
"testling": {
"files": [
"es5-shim",
"es5-shim/es5-sham",
"test/*.js"
],
"harness": "mocha",
"browsers": {
"ie": [ "7", "8", "9", "10" ],
"ff": [ "18", "19" ],
"chrome": [ "2... | 2da46ed4d0d2d0509b7945c4664405fc911adb6f | package.json | package.json | JSON |
<|file_sep|>original/lib/mutant/mutator/node/literal.rb
class Literal < self
include AbstractType
private
# Emit a new node with wrapping class for each entry in values
#
# @param [Array] values
#
# @return [undefined]
#
# @api private
... | # encoding: utf-8
module Mutant
class Mutator
class Node
# Abstract mutator for literal AST nodes
class Literal < self
include AbstractType
end # Literal
end # Node
end # Mutator
end # Mutant | <|file_sep|>original/lib/mutant/mutator/node/literal.rb
class Literal < self
include AbstractType
private
# Emit a new node with wrapping class for each entry in values
#
# @param [Array] values
#
# @return [undefined]
#
# @api private
... | 6429bdc532a5e817dadf4aaf04febf3c74402463 | lib/mutant/mutator/node/literal.rb | lib/mutant/mutator/node/literal.rb | Ruby |
<|file_sep|>metadata/com.uberspot.a2048.txt.diff
original:
updated:
Build:2.06,22
commit=v2.06
submodules=yes
<|file_sep|>original/metadata/com.uberspot.a2048.txt
Build:1.95,18
commit=v1.95
submodules=yes
Build:1.96,19
commit=v1.96
submodules=yes
Build:2.0,20
commit=v2.0
submodules=y... | Build:1.96,19
commit=v1.96
submodules=yes
Build:2.0,20
commit=v2.0
submodules=yes
Build:2.05,21
disable=missing changelog lib
commit=v2.05
submodules=yes
Build:2.06,22
commit=v2.06
submodules=yes
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:2.06
Current Ver... | <|file_sep|>metadata/com.uberspot.a2048.txt.diff
original:
updated:
Build:2.06,22
commit=v2.06
submodules=yes
<|file_sep|>original/metadata/com.uberspot.a2048.txt
Build:1.95,18
commit=v1.95
submodules=yes
Build:1.96,19
commit=v1.96
submodules=yes
Build:2.0,20
commit=v2.0
submodules=y... | da32d36afa59ecfcb94b03dc3e28bdc4c1f92683 | metadata/com.uberspot.a2048.txt | metadata/com.uberspot.a2048.txt | Text |
<|file_sep|>original/test/kss-splitter.js
.a { b: c }
*/
}),
result = [
[
'block',
[
'kss',
'// Comment\n// Styleguide 1.0\n'
],
[
'code',
'.a { b: c }'
]
]
],
kssBlocks = kssSplitter.getAst(str);
expec... | [
'code',
'.a { b: c }'
]
]
],
kssBlocks = kssSplitter.getAst(str);
expect(kssBlocks).eql(result);
});
it('should be agnostic to spaces in reference declaration', function(){
var str = multiline(function() {
/*
// Comment
//Styleguide 1.0
.a { b: c ... | <|file_sep|>original/test/kss-splitter.js
.a { b: c }
*/
}),
result = [
[
'block',
[
'kss',
'// Comment\n// Styleguide 1.0\n'
],
[
'code',
'.a { b: c }'
]
]
],
kssBlocks = kssSplitter.getAst(str);
expec... | 63c8577f2ee119042f09b48300bda49b0aefb42a | test/kss-splitter.js | test/kss-splitter.js | JavaScript |
<|file_sep|>original/gulp/helper/child_process.coffee
(error, stdout, stderr) ->
if error and error.code
customError =
message: "Failed: #{name}"
gutil.log stdout
gutil.log stderr
gutil.log gutil.colors.red error
gutil.log gutil.colors.red customError.message... | (error, stdout, stderr) ->
if error and error.code
customError =
message: "Failed: #{name}"
gutil.log stdout
gutil.log stderr
gutil.log gutil.colors.red error
gutil.log gutil.colors.red customError.message
gutil.beep()
if process.env.CI
... | <|file_sep|>original/gulp/helper/child_process.coffee
(error, stdout, stderr) ->
if error and error.code
customError =
message: "Failed: #{name}"
gutil.log stdout
gutil.log stderr
gutil.log gutil.colors.red error
gutil.log gutil.colors.red customError.message... | ac984e5d8c6dab3a387202651f613c185d568194 | gulp/helper/child_process.coffee | gulp/helper/child_process.coffee | CoffeeScript |
<|file_sep|>InternetSemLimites/core/templates/core/provider_email.txt.diff
original:
updated:
<|file_sep|>InternetSemLimites/core/templates/core/provider_email.txt.diff
original:
updated:
<|file_sep|>InternetSemLimites/core/templates/core/provider_email.txt.diff
original:
updated:
<|file_sep|>InternetSemLimites... |
Ele ainda não está no ar na API. Para isso alguém tem que marcar como
“publicado”: http://internetsemlimites.herokuapp.com{% url 'home' %}admin/core/provider/{{ provider.pk }}/change/
Categoria: Hall of {% if provider.category == 'F' %}F{% else %}Sh{% endif %}ame
Nome do provedor: {{ provider.name }}
URL do prove... | <|file_sep|>InternetSemLimites/core/templates/core/provider_email.txt.diff
original:
updated:
<|file_sep|>InternetSemLimites/core/templates/core/provider_email.txt.diff
original:
updated:
<|file_sep|>InternetSemLimites/core/templates/core/provider_email.txt.diff
original:
updated:
<|file_sep|>InternetSemLimites... | c12adcd41e69b8111d61edade686577bcc70b6f7 | InternetSemLimites/core/templates/core/provider_email.txt | InternetSemLimites/core/templates/core/provider_email.txt | Text |
<|file_sep|>notes/pandoc.md.diff
original:
This means we will have to pre-process `equation` and its ilk (`equation*`, `align`, etc.). This is really just subset of handling verbatim environments.
updated:
<|file_sep|>original/notes/pandoc.md
\begin{verbatim}
\begin{verbatim}
This is verbatim text.
... | \varphi^2 = \varphi + 1.
\]
## Verbatim environments
Pandoc does well with inline verbatim text like `\verb+$x$+`, but it doesn't handle nested verbatim environments properly. In particular, it chokes on
\begin{verbatim}
\begin{verbatim}
This is verbatim text.
\end{verbatim}
\e... | <|file_sep|>notes/pandoc.md.diff
original:
This means we will have to pre-process `equation` and its ilk (`equation*`, `align`, etc.). This is really just subset of handling verbatim environments.
updated:
<|file_sep|>original/notes/pandoc.md
\begin{verbatim}
\begin{verbatim}
This is verbatim text.
... | f7903880f28c484d610c53d5f9140bc4e5ac3a38 | notes/pandoc.md | notes/pandoc.md | Markdown |
<|file_sep|>app/components/UserAttendance/AttendanceStatus.js.diff
original:
updated:
const totalCount = registrations ? registrations.length : registrationCount;
<|file_sep|>original/app/components/UserAttendance/AttendanceStatus.js
toggleModal: number => void
};
const AttendanceElement = ({
pool: { name, regi... | toggleModal: number => void
};
const AttendanceElement = ({
pool: { name, registrations, registrationCount, capacity },
index,
toggleModal
}: AttendanceElementProps) => {
const totalCount = registrations ? registrations.length : registrationCount;
const Status = () => (
<strong>{`${totalCount}/${capaci... | <|file_sep|>app/components/UserAttendance/AttendanceStatus.js.diff
original:
updated:
const totalCount = registrations ? registrations.length : registrationCount;
<|file_sep|>original/app/components/UserAttendance/AttendanceStatus.js
toggleModal: number => void
};
const AttendanceElement = ({
pool: { name, regi... | ddfc3df41d2f61a3eacba53dffdf50c6bad37b10 | app/components/UserAttendance/AttendanceStatus.js | app/components/UserAttendance/AttendanceStatus.js | JavaScript |
<|file_sep|>original/migrations/versions/0368_move_orgs_to_nhs_branding_.py
<|file_sep|>current/migrations/versions/0368_move_orgs_to_nhs_branding_.py
<|file_sep|>updated/migrations/versions/0368_move_orgs_to_nhs_branding_.py | """
Revision ID: 0368_move_orgs_to_nhs_branding
Revises: 0367_add_reach
Create Date: 2022-04-12 18:22:12.069016
"""
from alembic import op
revision = '0368_move_orgs_to_nhs_branding'
down_revision = '0367_add_reach'
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.execute("""... | <|file_sep|>original/migrations/versions/0368_move_orgs_to_nhs_branding_.py
<|file_sep|>current/migrations/versions/0368_move_orgs_to_nhs_branding_.py
<|file_sep|>updated/migrations/versions/0368_move_orgs_to_nhs_branding_.py
"""
Revision ID: 0368_move_orgs_to_nhs_branding
Revises: 0367_add_reach
Create Date: 2022-0... | 3777358287dd4f2ec485d7d53c29d83bf6f56974 | migrations/versions/0368_move_orgs_to_nhs_branding_.py | migrations/versions/0368_move_orgs_to_nhs_branding_.py | Python |
<|file_sep|>lib/usaidwat/service.rb.diff
original:
updated:
USER_AGENT = "usaidwat v#{USaidWat::VERSION}"
<|file_sep|>original/lib/usaidwat/service.rb
module USaidWat
module Service
class RedditService
def user(username)
data = {}
%w{about comments submitted}.each do |page|
... |
module USaidWat
module Service
class RedditService
USER_AGENT = "usaidwat v#{USaidWat::VERSION}"
def user(username)
data = {}
%w{about comments submitted}.each do |page|
url = "https://www.reddit.com/user/#{username}/#{page}.json"
hdrs = {'User-Agent' => USER_AGEN... | <|file_sep|>lib/usaidwat/service.rb.diff
original:
updated:
USER_AGENT = "usaidwat v#{USaidWat::VERSION}"
<|file_sep|>original/lib/usaidwat/service.rb
module USaidWat
module Service
class RedditService
def user(username)
data = {}
%w{about comments submitted}.each do |page|
... | 27b7f91e14b4168feeeaf4eb2a63995bf480988a | lib/usaidwat/service.rb | lib/usaidwat/service.rb | Ruby |
<|file_sep|>original/tests/query_test/test_scan_range_lengths.py
class TestScanRangeLengths(ImpalaTestSuite):
@classmethod
def get_workload(cls):
return 'functional-query'
@classmethod
def add_test_dimensions(cls):
super(TestScanRangeLengths, cls).add_test_dimensions()
cls.TestMatrix.add_dimension... | # 2. tuple that span across multiple scan ranges
MAX_SCAN_RANGE_LENGTHS = [1, 2, 5]
class TestScanRangeLengths(ImpalaTestSuite):
@classmethod
def get_workload(cls):
return 'functional-query'
@classmethod
def add_test_dimensions(cls):
super(TestScanRangeLengths, cls).add_test_dimensions()
cls.TestM... | <|file_sep|>original/tests/query_test/test_scan_range_lengths.py
class TestScanRangeLengths(ImpalaTestSuite):
@classmethod
def get_workload(cls):
return 'functional-query'
@classmethod
def add_test_dimensions(cls):
super(TestScanRangeLengths, cls).add_test_dimensions()
cls.TestMatrix.add_dimension... | 41b1d36a9d5fcb0dd2f6da53a7a0d4604b21a0eb | tests/query_test/test_scan_range_lengths.py | tests/query_test/test_scan_range_lengths.py | Python |
<|file_sep|>original/src/modules/ngSharepoint/services/spProvider.js
angular
.module('ngSharepoint')
.provider('$sp', function() {
var siteUrl = '';
var connMode = 'JSOM'; //possible values: JSOM, REST
var token = '';
var autoload = true;
return {
setSiteUrl: function (newUrl) {
siteUrl = newUrl;
... | angular
.module('ngSharepoint')
.provider('$sp', function() {
var siteUrl = '';
var connMode = 'JSOM'; //possible values: JSOM, REST
var token = false;
var autoload = true;
return {
setSiteUrl: function (newUrl) {
siteUrl = newUrl;
},
setConnectionMode: function(connMode) { //Only JSOM Support... | <|file_sep|>original/src/modules/ngSharepoint/services/spProvider.js
angular
.module('ngSharepoint')
.provider('$sp', function() {
var siteUrl = '';
var connMode = 'JSOM'; //possible values: JSOM, REST
var token = '';
var autoload = true;
return {
setSiteUrl: function (newUrl) {
siteUrl = newUrl;
... | 0ddb22881705535445aec6258da604278cac75e1 | src/modules/ngSharepoint/services/spProvider.js | src/modules/ngSharepoint/services/spProvider.js | JavaScript |
<|file_sep|>original/lib/capybara-screenshot/rspec/html_link_reporter.rb
if (screenshot = example.metadata[:screenshot])
result << "<p>Saved files: "
result << link_to_screenshot("HTML page", screenshot[:html]) if screenshot[:html]
result << link_to_screenshot("Screenshot"... | if (screenshot = example.metadata[:screenshot])
result << "<p>Saved files: "
result << link_to_screenshot("HTML page", screenshot[:html]) if screenshot[:html]
result << link_to_screenshot("Screenshot", screenshot[:image]) if screenshot[:image]
result << "</p>"
... | <|file_sep|>original/lib/capybara-screenshot/rspec/html_link_reporter.rb
if (screenshot = example.metadata[:screenshot])
result << "<p>Saved files: "
result << link_to_screenshot("HTML page", screenshot[:html]) if screenshot[:html]
result << link_to_screenshot("Screenshot"... | 526a7e0cefc16fc7bd21451f2ff72549e0c647ab | lib/capybara-screenshot/rspec/html_link_reporter.rb | lib/capybara-screenshot/rspec/html_link_reporter.rb | Ruby |
<|file_sep|>app/models/edi_ops_transaction.rb.diff
original:
updated:
include AASM
<|file_sep|>original/app/models/edi_ops_transaction.rb
class EdiOpsTransaction
include Mongoid::Document
include Mongoid::Timestamps
field :qualifying_reason_uri, type: String
field :enrollment_group_uri, type: String
fiel... | include Mongoid::Timestamps
include AASM
field :qualifying_reason_uri, type: String
field :enrollment_group_uri, type: String
field :submitted_timestamp, type: DateTime
field :event_key, type: String
field :event_name, type: String
field :assigned_to, type: String
field :resolved_by, type: String
... | <|file_sep|>app/models/edi_ops_transaction.rb.diff
original:
updated:
include AASM
<|file_sep|>original/app/models/edi_ops_transaction.rb
class EdiOpsTransaction
include Mongoid::Document
include Mongoid::Timestamps
field :qualifying_reason_uri, type: String
field :enrollment_group_uri, type: String
fiel... | 708510ec3704b1b29ff03cf52d71b074116cd393 | app/models/edi_ops_transaction.rb | app/models/edi_ops_transaction.rb | Ruby |
<|file_sep|>original/src/marketplace/offerings/store/utils.spec.ts
<|file_sep|>current/src/marketplace/offerings/store/utils.spec.ts
<|file_sep|>updated/src/marketplace/offerings/store/utils.spec.ts | import { OfferingComponent } from '@waldur/marketplace/types';
import { formatOfferingRequest } from './utils';
const OFFERING_FORM_DATA = {
name: 'Offering',
category: {
title: 'VMs',
url: 'URL',
icon: 'URL',
offering_count: 1,
sections: [],
},
type: {
value: 'VMware.VirtualMachine',
... | <|file_sep|>original/src/marketplace/offerings/store/utils.spec.ts
<|file_sep|>current/src/marketplace/offerings/store/utils.spec.ts
<|file_sep|>updated/src/marketplace/offerings/store/utils.spec.ts
import { OfferingComponent } from '@waldur/marketplace/types';
import { formatOfferingRequest } from './utils';
const... | a8d03e63b6cb6e5b21e90d754a3f158f4ea1bef5 | src/marketplace/offerings/store/utils.spec.ts | src/marketplace/offerings/store/utils.spec.ts | TypeScript |
<|file_sep|>.travis.yml.diff
original:
- TOXENV=py26
updated:
<|file_sep|>original/.travis.yml
language: python
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32
- TOXENV=py33
- TOXENV=pypy
install:
- pip install tox
script:
- tox
<|file_sep|>current/.travis.yml
language: python
env:
- TOXENV=py27
- TOXENV=py32
- TOXENV=... | language: python
env:
- TOXENV=py27
- TOXENV=pypy
install:
- pip install tox
script:
- tox | <|file_sep|>.travis.yml.diff
original:
- TOXENV=py26
updated:
<|file_sep|>original/.travis.yml
language: python
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py32
- TOXENV=py33
- TOXENV=pypy
install:
- pip install tox
script:
- tox
<|file_sep|>current/.travis.yml
language: python
env:
- TOXENV=py27
- TOXENV=py32
- TOXENV=... | 0c9b62192e3098cbae1f2236a7f6d6a6145b10d7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lightsout.cpp.diff
original:
lightsout::lightsout(int width, int height) : width(width), height(height)
updated:
board::board(int width, int height) : width(width), height(height)
<|file_sep|>original/lightsout.cpp
#include <ncurses.h>
#include "lightsout.hpp"
namespace roadagain
{
lightsout::lightsout(i... | #include <ncurses.h>
#include "lightsout.hpp"
namespace roadagain
{
board::board(int width, int height) : width(width), height(height)
{
lights = new bool*[height + 2]();
for (int i = 0; i < height + 2; i++){
lights[i] = new bool[width + 2]();
}
}
board::~board()
{
;
}
} | <|file_sep|>lightsout.cpp.diff
original:
lightsout::lightsout(int width, int height) : width(width), height(height)
updated:
board::board(int width, int height) : width(width), height(height)
<|file_sep|>original/lightsout.cpp
#include <ncurses.h>
#include "lightsout.hpp"
namespace roadagain
{
lightsout::lightsout(i... | 8a37b937aa5006add98779b1bf3e01fcab8fb053 | lightsout.cpp | lightsout.cpp | C++ |
<|file_sep|>_data/links.yml.diff
original:
- name: CV
url: http://careers.stackoverflow.com/nicolasmccurdy
icon: suitcase
updated:
<|file_sep|>original/_data/links.yml
- name: CV
url: http://careers.stackoverflow.com/nicolasmccurdy
icon: suitcase
- name: Email
url: mailto:thenickperson@gmail.com
icon: en... | - name: Email
url: mailto:thenickperson@gmail.com
icon: envelope
- name: Facebook
url: https://www.facebook.com/thenickperson
icon: facebook-square
- name: Twitter
url: https://twitter.com/nicolasmccurdy
icon: twitter-square
- name: GitHub
url: https://github.com/nicolasmccurdy
icon: github-square
-... | <|file_sep|>_data/links.yml.diff
original:
- name: CV
url: http://careers.stackoverflow.com/nicolasmccurdy
icon: suitcase
updated:
<|file_sep|>original/_data/links.yml
- name: CV
url: http://careers.stackoverflow.com/nicolasmccurdy
icon: suitcase
- name: Email
url: mailto:thenickperson@gmail.com
icon: en... | 2b810fb8ac30852515c8730e5b4d199b5b2e95a5 | _data/links.yml | _data/links.yml | YAML |
<|file_sep|>original/tox.ini
[tox]
minversion = 1.6
envlist = py26,py27,py33,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
# Customize pip command, add -U to force updates.
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_C... | [tox]
minversion = 1.6
envlist = py26,py27,py33,py34,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
# Customize pip command, add -U to force updates.
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1
NOSE_OPE... | <|file_sep|>original/tox.ini
[tox]
minversion = 1.6
envlist = py26,py27,py33,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
# Customize pip command, add -U to force updates.
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_C... | c328538890ab7c7a7a079fb4ddfd10a21c5c7ab9 | tox.ini | tox.ini | INI |
<|file_sep|>original/scripts/snap-in-docker.sh
#!/bin/bash
#
# Build a snap using a docker container.
set -ev
# Check if the latest tag is in the beta channel.
tmp_dir="$(mktemp -d)"
source="$(cat snapcraft.yaml | grep source: | head -n 1 | awk '{printf $2}')"
git clone "${source}" "${tmp_dir}"
last_committed_tag="$(... | #!/bin/bash
#
# Build a snap using a docker container.
set -ev
# Check if the latest tag is in the beta channel.
tmp_dir="$(mktemp -d)"
source="$(cat snapcraft.yaml | grep source: | head -n 1 | awk '{printf $2}')"
git clone "${source}" "${tmp_dir}"
last_committed_tag="$(git -C "${tmp_dir}" describe --tags --abbrev=0)... | <|file_sep|>original/scripts/snap-in-docker.sh
#!/bin/bash
#
# Build a snap using a docker container.
set -ev
# Check if the latest tag is in the beta channel.
tmp_dir="$(mktemp -d)"
source="$(cat snapcraft.yaml | grep source: | head -n 1 | awk '{printf $2}')"
git clone "${source}" "${tmp_dir}"
last_committed_tag="$(... | 403dc646417df997c7b32c4afb1994dde165bcee | scripts/snap-in-docker.sh | scripts/snap-in-docker.sh | Shell |
<|file_sep|>original/control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHelper.java
<|file_sep|>current/control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHelper.java
<|file_sep|>updated/control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHe... | package org.oskari.control.userlayer;
import org.oskari.map.userlayer.service.UserLayerDbService;
import fi.nls.oskari.control.ActionConstants;
import fi.nls.oskari.control.ActionDeniedException;
import fi.nls.oskari.control.ActionException;
import fi.nls.oskari.control.ActionParameters;
import fi.nls.oskari.control.... | <|file_sep|>original/control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHelper.java
<|file_sep|>current/control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHelper.java
<|file_sep|>updated/control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHe... | 44f69c4680671b3c62851fd24c0c8d3338c17814 | control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHelper.java | control-userlayer/src/main/java/org/oskari/control/userlayer/UserLayerHandlerHelper.java | Java |
<|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.5.3
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_... | version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.6.0
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_2
- haskell/build:
name: ... | <|file_sep|>original/.circleci/config.yml
version: 2.1
orbs:
haskell: haskell-works/haskell-build@1.5.3
github: haskell-works/github-release@1.2.1
hackage: haskell-works/hackage@1.0.0
workflows:
multiple-ghc-build:
jobs:
- haskell/build:
name: GHC 8.2.2
executor: haskell/ghc-8_2_... | a93d3a42aca307f975f1f339457e68a746adab0b | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/config/secrets.yml
development:
secret_key_base: 510c1aa0ce4d41378702b88e81b2d99f746efd6d91a16ae8116ba97e9e90aa973005df29bb4980eb27a44047b63da66b1d19b7609e9b883a7966fdfb85c4eb03
test:
secret_key_base: fa789255abc85395d65cd632f8bd94b33a6addabc70e0f434ef91e2d51423f335f0baefe96a879d9dffc62f8b756c... | development:
secret_key_base: 510c1aa0ce4d41378702b88e81b2d99f746efd6d91a16ae8116ba97e9e90aa973005df29bb4980eb27a44047b63da66b1d19b7609e9b883a7966fdfb85c4eb03
test:
secret_key_base: fa789255abc85395d65cd632f8bd94b33a6addabc70e0f434ef91e2d51423f335f0baefe96a879d9dffc62f8b756cad85cd8375cd599037447063d366c2c4b2d
# D... | <|file_sep|>original/config/secrets.yml
development:
secret_key_base: 510c1aa0ce4d41378702b88e81b2d99f746efd6d91a16ae8116ba97e9e90aa973005df29bb4980eb27a44047b63da66b1d19b7609e9b883a7966fdfb85c4eb03
test:
secret_key_base: fa789255abc85395d65cd632f8bd94b33a6addabc70e0f434ef91e2d51423f335f0baefe96a879d9dffc62f8b756c... | 8c2fb6ff0e98eb2a5432d7b9fd885750c5bbce44 | config/secrets.yml | config/secrets.yml | YAML |
<|file_sep|>original/ubuntu/install_docker.sh
<|file_sep|>current/ubuntu/install_docker.sh
<|file_sep|>updated/ubuntu/install_docker.sh | #!/usr/bin/env bash
if [ $UID -ne 0 ]; then
echo 'Permission denied' 1>&2
exit 13
fi
if ! type aptitude > /dev/null 2>&1; then
echo 'aptitude command not found: aptitude package installation required' 1>&2
exit 1
fi
# Install packages to allow apt to use a repository over HTTPS:
https_packages=(
... | <|file_sep|>original/ubuntu/install_docker.sh
<|file_sep|>current/ubuntu/install_docker.sh
<|file_sep|>updated/ubuntu/install_docker.sh
#!/usr/bin/env bash
if [ $UID -ne 0 ]; then
echo 'Permission denied' 1>&2
exit 13
fi
if ! type aptitude > /dev/null 2>&1; then
echo 'aptitude command not found: aptitud... | 18ae0b3ff62598e53749b7a4a041fba2b347ca0d | ubuntu/install_docker.sh | ubuntu/install_docker.sh | Shell |
<|file_sep|>original/Sources/Extensions/DispatchTimeIntervalExtension.swift
// Created by Cihat Gündüz on 28.01.17.
// Copyright © 2017 Flinesoft. All rights reserved.
//
import Foundation
public typealias Timespan = DispatchTimeInterval
extension Timespan {
/// - Returns: The time in seconds using the`TimeInt... | // Created by Cihat Gündüz on 28.01.17.
// Copyright © 2017 Flinesoft. All rights reserved.
//
import Foundation
public typealias Timespan = DispatchTimeInterval
extension Timespan {
/// - Returns: The time in seconds using the`TimeInterval` type.
public var timeInterval: TimeInterval {
switch self... | <|file_sep|>original/Sources/Extensions/DispatchTimeIntervalExtension.swift
// Created by Cihat Gündüz on 28.01.17.
// Copyright © 2017 Flinesoft. All rights reserved.
//
import Foundation
public typealias Timespan = DispatchTimeInterval
extension Timespan {
/// - Returns: The time in seconds using the`TimeInt... | 49251bb416dc966321ce8d475c9e714fd79deb6d | Sources/Extensions/DispatchTimeIntervalExtension.swift | Sources/Extensions/DispatchTimeIntervalExtension.swift | Swift |
<|file_sep|>original/app/scripts/controllers/customer-controllers.js
'use strict';
(function() {
angular.module('ncsaas')
.controller('CustomerDetailUpdateController', [
'$routeParams',
'$rootScope',
'customersService',
CustomerDetailUpdateController
]);
function CustomerDetailUpda... | 'use strict';
(function() {
angular.module('ncsaas')
.controller('CustomerListController', [
'$rootScope',
'$location',
'customersService',
CustomerListController
]);
function CustomerListController($rootScope, $location, customersService) {
var vm = this;
vm.list = cust... | <|file_sep|>original/app/scripts/controllers/customer-controllers.js
'use strict';
(function() {
angular.module('ncsaas')
.controller('CustomerDetailUpdateController', [
'$routeParams',
'$rootScope',
'customersService',
CustomerDetailUpdateController
]);
function CustomerDetailUpda... | e855e11aeac95a2af1ffb559ca83142b4d6479a2 | app/scripts/controllers/customer-controllers.js | app/scripts/controllers/customer-controllers.js | JavaScript |
<|file_sep|>original/src/Humanizer.Tests/project.json
{
"dependencies": {
"ApiApprover": "3.0.1",
"ApprovalTests": "3.0.10",
"ApprovalUtilities": "3.0.10",
"Mono.Cecil": "0.9.6.1",
"xunit": "2.1.0",
"xunit.runner.visualstudio": "2.1.0"
},
"frameworks": {
"n... | {
"dependencies": {
"ApiApprover": "3.0.1",
"ApprovalTests": "3.0.10",
"ApprovalUtilities": "3.0.10",
"Mono.Cecil": "0.9.6.1",
"xunit": "2.1.0",
"xunit.runner.visualstudio": "2.1.0"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win": {}
}
} | <|file_sep|>original/src/Humanizer.Tests/project.json
{
"dependencies": {
"ApiApprover": "3.0.1",
"ApprovalTests": "3.0.10",
"ApprovalUtilities": "3.0.10",
"Mono.Cecil": "0.9.6.1",
"xunit": "2.1.0",
"xunit.runner.visualstudio": "2.1.0"
},
"frameworks": {
"n... | 8fb2397df5d8825ac2d0b5a90e8dac79c8aa4440 | src/Humanizer.Tests/project.json | src/Humanizer.Tests/project.json | JSON |
<|file_sep|>original/app/serializers/user_serializer.rb
class UserSerializer
include TalkSerializer
include ModerationActions
all_attributes except: :email
end
<|file_sep|>current/app/serializers/user_serializer.rb
class UserSerializer
include TalkSerializer
include ModerationActions
all_attributes ex... | class UserSerializer
include TalkSerializer
include ModerationActions
attributes :id, :created_at, :updated_at, :display_name,
:zooniverse_id, :credited_name, :admin, :banned
end | <|file_sep|>original/app/serializers/user_serializer.rb
class UserSerializer
include TalkSerializer
include ModerationActions
all_attributes except: :email
end
<|file_sep|>current/app/serializers/user_serializer.rb
class UserSerializer
include TalkSerializer
include ModerationActions
all_attributes ex... | 00b901184c73f5850add45b86c4e10c3e60fb40c | app/serializers/user_serializer.rb | app/serializers/user_serializer.rb | Ruby |
<|file_sep|>original/composer.json
{
"name": "kartik-v/bootstrap-checkbox-x",
"description": "An extended checkbox plugin for bootstrap with three states and additional styles.",
"keywords": ["bootstrap", "checkbox", "jquery", "three", "state", "indeterminate", "null"],
"homepage": "https://github.com/k... | {
"name": "kartik-v/bootstrap-checkbox-x",
"description": "An extended checkbox plugin for bootstrap with three states and additional styles.",
"keywords": ["bootstrap", "checkbox", "jquery", "three", "state", "indeterminate", "null"],
"homepage": "https://github.com/kartik-v/bootstrap-checkbox-x",
... | <|file_sep|>original/composer.json
{
"name": "kartik-v/bootstrap-checkbox-x",
"description": "An extended checkbox plugin for bootstrap with three states and additional styles.",
"keywords": ["bootstrap", "checkbox", "jquery", "three", "state", "indeterminate", "null"],
"homepage": "https://github.com/k... | 3c98b77663b4d3bc527c9efc87e5a1240fe6f257 | composer.json | composer.json | JSON |
<|file_sep|>original/lib/server.js
'use strict';
/* eslint-disable global-require */
function start() {
const config = require('../config');
const logger = require('./logger');
const app = require('../app');
// Setup rogue client.
require('./rogue').getClient();
// Start mongoose connection
require('..... | 'use strict';
/* eslint-disable global-require */
function start() {
const config = require('../config');
const logger = require('./logger');
const app = require('../app');
// Setup Gateway client.
require('./gateway').getClient();
// Start mongoose connection
require('../config/mongoose')(config.dbUri... | <|file_sep|>original/lib/server.js
'use strict';
/* eslint-disable global-require */
function start() {
const config = require('../config');
const logger = require('./logger');
const app = require('../app');
// Setup rogue client.
require('./rogue').getClient();
// Start mongoose connection
require('..... | f0b73014ff1cf7462932d5c3f6c4535a85de1c3a | lib/server.js | lib/server.js | JavaScript |
<|file_sep|>original/msmb_theme/static/css/msmb.css
@import 'theme.css';
@import 'jupyter.css';
.wy-side-nav-search {
background-color: #ffffff;
}
.wy-table-responsive table td {
white-space: normal;
}
.rst-content .align-right {
width: 300px;
}
.rst-content p.caption {
font-size: 100%;
font-wei... | @import 'theme.css';
@import 'jupyter.min.css';
.wy-side-nav-search {
background-color: #ffffff;
}
.wy-table-responsive table td {
white-space: normal;
}
.rst-content .align-right {
width: 300px;
}
.rst-content p.caption {
font-size: 100%;
font-weight: unset;
}
.rst-content .section ol li { | <|file_sep|>original/msmb_theme/static/css/msmb.css
@import 'theme.css';
@import 'jupyter.css';
.wy-side-nav-search {
background-color: #ffffff;
}
.wy-table-responsive table td {
white-space: normal;
}
.rst-content .align-right {
width: 300px;
}
.rst-content p.caption {
font-size: 100%;
font-wei... | bbe77078393351b1d736b18a8062bd66894cd61d | msmb_theme/static/css/msmb.css | msmb_theme/static/css/msmb.css | CSS |
<|file_sep|>original/client/views/pages/pages_new/pages_new.js
* Example:
* 'click .selector': function (e, tmpl) {
*
* }
*/
'submit form': function (e, tmpl) {
e.preventDefault();
var title = tmpl.find('#pageTitle').value;
var pageId = Pages.insert({ title: title });
Router.go('page... | * Example:
* 'click .selector': function (e, tmpl) {
*
* }
*/
'submit form': function (e, tmpl) {
e.preventDefault();
var title = tmpl.find('#pageTitle').value;
var pageId = Pages.insert({ title: title });
App.setAlert('New page created.', 'success');
Router.go('pages.show', { _i... | <|file_sep|>original/client/views/pages/pages_new/pages_new.js
* Example:
* 'click .selector': function (e, tmpl) {
*
* }
*/
'submit form': function (e, tmpl) {
e.preventDefault();
var title = tmpl.find('#pageTitle').value;
var pageId = Pages.insert({ title: title });
Router.go('page... | d2ac7ff6449841033a0b110b0601a30a761953c7 | client/views/pages/pages_new/pages_new.js | client/views/pages/pages_new/pages_new.js | JavaScript |
<|file_sep|>original/Casks/opera-beta.rb
cask :v1 => 'opera-beta' do
version '27.0.1689.44'
sha256 'a07580830e9b772ef6644d34c84b260fb17ea592f50b6d4a36fa3ffa6bdc4b0b'
url "http://get.geo.opera.com/pub/opera-beta/#{version}/mac/Opera_beta_#{version}_Setup.dmg"
homepage 'http://www.opera.com/computer/beta'
lice... | cask :v1 => 'opera-beta' do
version '28.0.1750.36'
sha256 'cab81fd4bee7b73ab8b377db3e73305f8dde64c2a495f4aa1acfd742e0ba248b'
url "http://get.geo.opera.com/pub/opera-beta/#{version}/mac/Opera_beta_#{version}_Setup.dmg"
homepage 'http://www.opera.com/computer/beta'
license :unknown
app 'Opera Beta.app'
end | <|file_sep|>original/Casks/opera-beta.rb
cask :v1 => 'opera-beta' do
version '27.0.1689.44'
sha256 'a07580830e9b772ef6644d34c84b260fb17ea592f50b6d4a36fa3ffa6bdc4b0b'
url "http://get.geo.opera.com/pub/opera-beta/#{version}/mac/Opera_beta_#{version}_Setup.dmg"
homepage 'http://www.opera.com/computer/beta'
lice... | ba39a325cecfb309420e276100e81ff38ffc336b | Casks/opera-beta.rb | Casks/opera-beta.rb | Ruby |
<|file_sep|>README.md.diff
original:
`-f` for fullscreen capture, `-s` for a selection rectangle, `-w` for current window capture, and `-u <file>` to upload a file.
updated:
poomf.sh [options]
Options:
<|file_sep|>README.md.diff
original:
`-g` to use uguu.se rather than pomf. Files will be kept for one hour and t... | - slop (for selection capture)
- xclip (for clip-board support)
- xprop (for current window capture)
Todo
====
Add support for more hosts. Teknik, maybe imgur?
Credit
======
Big thanks to [neku](https://github.com/nokonoko) for creating pomf and uguu!
Inspired by [onodera-punpun](https://github.com/onodera-punpun)... | <|file_sep|>README.md.diff
original:
`-f` for fullscreen capture, `-s` for a selection rectangle, `-w` for current window capture, and `-u <file>` to upload a file.
updated:
poomf.sh [options]
Options:
<|file_sep|>README.md.diff
original:
`-g` to use uguu.se rather than pomf. Files will be kept for one hour and t... | e86607d0ad7c56cb89f7c3e61737f44b2733ba99 | README.md | README.md | Markdown |
<|file_sep|>apps/webdriver_testing/api_v2/test_user_resources.py.diff
original:
create_url = 'users'
updated:
create_url = 'users/'
<|file_sep|>original/apps/webdriver_testing/api_v2/test_user_resources.py
create_data)
print status
return response
def test_create(se... | 'last_name': None,
'create_login_token': None
}
create_data.update(kwargs)
status, response = data_helpers.post_api_request(self,
create_url,
create_data)
print status
return response
... | <|file_sep|>apps/webdriver_testing/api_v2/test_user_resources.py.diff
original:
create_url = 'users'
updated:
create_url = 'users/'
<|file_sep|>original/apps/webdriver_testing/api_v2/test_user_resources.py
create_data)
print status
return response
def test_create(se... | b71f3c726aa6bde4ab0e2b471c5cb9064abfb3fa | apps/webdriver_testing/api_v2/test_user_resources.py | apps/webdriver_testing/api_v2/test_user_resources.py | Python |
<|file_sep|>original/tests/DictToolTest.php
<|file_sep|>current/tests/DictToolTest.php
<|file_sep|>updated/tests/DictToolTest.php | <?php
namespace Dara\UrbanDict\Test;
use Dara\UrbanDict\DictTool;
use Dara\UrbanDict\DictStore;
class DictToolTest extends \PHPUnit_Framework_TestCase
{
protected $dictStore;
protected $dictTool;
protected function setUp()
{
$this->dictTool = new DictTool();
$this->dictStore = new DictStore();
}
... | <|file_sep|>original/tests/DictToolTest.php
<|file_sep|>current/tests/DictToolTest.php
<|file_sep|>updated/tests/DictToolTest.php
<?php
namespace Dara\UrbanDict\Test;
use Dara\UrbanDict\DictTool;
use Dara\UrbanDict\DictStore;
class DictToolTest extends \PHPUnit_Framework_TestCase
{
protected $dictStore;
protect... | 3b2b33769bdc67c79103d95405dddb123d20beb0 | tests/DictToolTest.php | tests/DictToolTest.php | PHP |
<|file_sep|>src/modules/viewport.fun.diff
original:
if ('orientation' in window) {
updated:
if ('orientation' in window && (client.isIPhone || client.isIPod)) {
<|file_sep|>original/src/modules/viewport.fun
cleint = require('fun/node_modules/std/client')
function update() {
var size = getWindowSize(wind... | cleint = require('fun/node_modules/std/client')
function update() {
var size = getWindowSize(window)
if ('orientation' in window && (client.isIPhone || client.isIPod)) {
if (window.orientation % 180 === 0) {
size.height = screen.height - 64
size.width = screen.width
} else if (window.orientatio... | <|file_sep|>src/modules/viewport.fun.diff
original:
if ('orientation' in window) {
updated:
if ('orientation' in window && (client.isIPhone || client.isIPod)) {
<|file_sep|>original/src/modules/viewport.fun
cleint = require('fun/node_modules/std/client')
function update() {
var size = getWindowSize(wind... | e64094704ceff08b6fc4bf1b724d4e866db85fe8 | src/modules/viewport.fun | src/modules/viewport.fun | Standard ML |
<|file_sep|>original/app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java
<|file_sep|>current/app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java
<|file_sep|>updated/app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java | package com.abhi.fyberdemo;
import android.support.v4.app.Fragment;
import android.view.View;
import com.abhi.fyberdemo.fragments.FormFragment;
import com.abhi.fyberdemo.fragments.OffersFragment;
import com.abhi.fyberdemo.models.OfferResponse;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
... | <|file_sep|>original/app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java
<|file_sep|>current/app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java
<|file_sep|>updated/app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java
package com.abhi.fyberdemo;
import android.support.v4.app.Fragment;
import andr... | b1df0fdf18890d6f46f8a53de4cd9fee47164cc9 | app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java | app/src/test/java/com/abhi/fyberdemo/MainActivityTest.java | Java |
<|file_sep|>index.html.diff
original:
{% endcomment %}
updated:
<|file_sep|>original/index.html
{% include latest-news.html %}
{% include rockstar-speakers.html %}
{% include location-map.html %}
{% include venue.html %}
{% include twitter-feed.html %}
{% include partners.html %}
{% comment %}
{% includ... | {% include statistic.html %}
{% include latest-news.html %}
{% include rockstar-speakers.html %}
{% include location-map.html %}
{% include venue.html %}
{% include twitter-feed.html %}
{% include partners.html %}
{% comment %}
{% include subscribe.html %}
{% include tickets.html %}
{% include ticke... | <|file_sep|>index.html.diff
original:
{% endcomment %}
updated:
<|file_sep|>original/index.html
{% include latest-news.html %}
{% include rockstar-speakers.html %}
{% include location-map.html %}
{% include venue.html %}
{% include twitter-feed.html %}
{% include partners.html %}
{% comment %}
{% includ... | fe811f99e1d381a85181d551e52d25edc709432c | index.html | index.html | HTML |
<|file_sep|>original/openpassword/crypt_utils.py
from Crypto.Cipher import AES
def decrypt(data, key_iv):
key = key_iv[0:16]
iv = key_iv[16:]
print(data)
cipher = AES.new(key, AES.MODE_CBC, iv)
return cipher.decrypt(data)
def encrypt(data, key_iv):
key = key_iv[0:16]
iv = key_iv[16:]
... | from Crypto.Cipher import AES
def decrypt(data, key_iv):
key = key_iv[0:16]
iv = key_iv[16:]
cipher = AES.new(key, AES.MODE_CBC, iv)
return cipher.decrypt(data)
def encrypt(data, key_iv):
key = key_iv[0:16]
iv = key_iv[16:]
cipher = AES.new(key, AES.MODE_CBC, iv)
return cipher.encryp... | <|file_sep|>original/openpassword/crypt_utils.py
from Crypto.Cipher import AES
def decrypt(data, key_iv):
key = key_iv[0:16]
iv = key_iv[16:]
print(data)
cipher = AES.new(key, AES.MODE_CBC, iv)
return cipher.decrypt(data)
def encrypt(data, key_iv):
key = key_iv[0:16]
iv = key_iv[16:]
... | 33505f9b4dfeead0b01ee1b8cf3f8f228476e866 | openpassword/crypt_utils.py | openpassword/crypt_utils.py | Python |
<|file_sep|>original/src/facades/implementations/generic-json-facade.php
return array( $this, 'get_feed' );
}
public function get_feed( $url ) {
$this->url = $url;
return new Json_Feed( $url, array( $this, 'get_curl_feed_data' ) );
}
public function get_curl_feed_data() {
$session = curl_init... | return array( $this, 'get_feed' );
}
public function get_feed( $url ) {
$this->url = $url;
return new Json_Feed( $url, array( $this, 'get_curl_feed_data' ) );
}
public function get_curl_feed_data() {
$session = curl_init( $this->url );
curl_setopt( $session, CURLOPT_RETURNTRANSFER, true ... | <|file_sep|>original/src/facades/implementations/generic-json-facade.php
return array( $this, 'get_feed' );
}
public function get_feed( $url ) {
$this->url = $url;
return new Json_Feed( $url, array( $this, 'get_curl_feed_data' ) );
}
public function get_curl_feed_data() {
$session = curl_init... | 3bc73b9e7610906e00007c5447ec50a3afe41fbb | src/facades/implementations/generic-json-facade.php | src/facades/implementations/generic-json-facade.php | PHP |
<|file_sep|>original/templates/poulesoptions.html
<div class="option">
Modus
<select class="mode">
<option value="acbd">ACBD</option>
<option value="barrage">Barrage</option>
<option value="full">Jeder gegen Jeden</option>
</select>
</div>
<div class="option">
Begegnungen setzen / auslosen
<br>
... | <div class="option">
Modus
<select class="mode">
<option value="acbd">ACBD</option>
<option value="barrage">Barrage</option>
<option value="full">Jeder gegen Jeden</option>
</select>
</div>
<div class="option">
Begegnungen setzen / auslosen
<br>
<select class="seed">
<option value="order">I... | <|file_sep|>original/templates/poulesoptions.html
<div class="option">
Modus
<select class="mode">
<option value="acbd">ACBD</option>
<option value="barrage">Barrage</option>
<option value="full">Jeder gegen Jeden</option>
</select>
</div>
<div class="option">
Begegnungen setzen / auslosen
<br>
... | ee7ac6fdc07dcbcc66dedbe2305e706b5a5645a6 | templates/poulesoptions.html | templates/poulesoptions.html | HTML |
<|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.7.9
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.7.9
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>updated/requirements/doc.txt | -r ./base.txt
sphinx==1.8.0
alagitpull==0.0.21
releases==1.6.1 | <|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.7.9
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.7.9
alagitpull==0.0.21
releases==1.6.1
<|file_sep|>updated/requirements/doc.txt
-r ./base.txt
sphinx==1.8.0
alagitpull==0.0.21
releases==1.6.1 | ec22dcb3900feb7dbeafd641efb5c5033d8894e6 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/visualization/src/main/templates/start-visualization.sh
#!/bin/sh
cd `dirname $0`
java -jar visitmeta-visualization.jar
<|file_sep|>current/visualization/src/main/templates/start-visualization.sh
#!/bin/sh
cd `dirname $0`
java -jar visitmeta-visualization.jar
<|file_sep|>updated/visualization/src/m... | #!/bin/sh
cd `dirname $0`
JAVA_ARGS=
if [ `uname -s` = "Darwin" ] ; then
JAVA_ARGS="$JAVA_ARGS -Dapple.laf.useScreenMenuBar=true"
JAVA_ARGS="$JAVA_ARGS -Xdock:icon=./img/visitmeta-icon-128px.png"
JAVA_ARGS="$JAVA_ARGS -Xdock:name=VisITMeta"
fi
exec java $JAVA_ARGS -jar visitmeta-visualization.jar | <|file_sep|>original/visualization/src/main/templates/start-visualization.sh
#!/bin/sh
cd `dirname $0`
java -jar visitmeta-visualization.jar
<|file_sep|>current/visualization/src/main/templates/start-visualization.sh
#!/bin/sh
cd `dirname $0`
java -jar visitmeta-visualization.jar
<|file_sep|>updated/visualization/src/m... | 2dcca8ae5076f6a289e55ec10fa1f7499f510b85 | visualization/src/main/templates/start-visualization.sh | visualization/src/main/templates/start-visualization.sh | Shell |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
before_script:
- npm install -g .
- npm install -g jake
- npm install -g titanium
- mkdir ~/.titanium
- cp ./cli_config.json ~/.titanium/config.json
deploy:
provider: npm
email: npmjs@appcelerator.com
api_key:
secure: YDvhcMdwm6NX7v... | language: node_js
node_js:
- '0.10'
- '0.12'
os:
- linux
- osx
before_script:
- npm install -g .
- npm install -g jake
- npm install -g titanium
- mkdir ~/.titanium
- cp ./cli_config.json ~/.titanium/config.json
deploy:
provider: npm
email: npmjs@appcelerator.com
api_key:
secure: YDvhcMdwm6NX7vAQ7NwqC2m5YakaQ... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
- '0.12'
before_script:
- npm install -g .
- npm install -g jake
- npm install -g titanium
- mkdir ~/.titanium
- cp ./cli_config.json ~/.titanium/config.json
deploy:
provider: npm
email: npmjs@appcelerator.com
api_key:
secure: YDvhcMdwm6NX7v... | 22c2ca3c24b76056eb094296ed3fc0cb1f96cefe | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
# Hoge
updated:
# gemini-viewer
<|file_sep|>README.md.diff
original:
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0-beta.32.3.
updated:
Viewer for [gemini](https://github.com/tadashi-aikawa/gemini).
Demo: https://tadashi-aikawa.g... | ```
$ ng serve
```
Then access to `http://localhost:4200/`
## Deploy to GitHub Pages
```
$ ng build --prod --base-href https://<user>.github.io/gemini-viewer/
$ ngh --repo=https://<github_token>@github.com/<user>/gemini-viewer.git
```
You have to specify `<user>` and `github_token` as your own.
Ex.
* `<user>`
*... | <|file_sep|>README.md.diff
original:
# Hoge
updated:
# gemini-viewer
<|file_sep|>README.md.diff
original:
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0-beta.32.3.
updated:
Viewer for [gemini](https://github.com/tadashi-aikawa/gemini).
Demo: https://tadashi-aikawa.g... | 0e1648812082d1ecbcc18a522062e7f8438e532a | README.md | README.md | Markdown |
<|file_sep|>original/py2app/apptemplate/lib/__error__.sh
#!/bin/sh
#
# This is the default apptemplate error script
#
if ( test -n "$2" ) ; then
echo "$1 Error"
echo "An unexpected error has occurred during execution of the main script"
echo ""
echo "$2: $3"
echo ""
echo "See the Console for a detailed traceback... | #!/bin/sh
#
# This is the default apptemplate error script
#
if ( test -n "$2" ) ; then
echo "$1 Error"
echo "An unexpected error has occurred during execution of the main script"
echo ""
echo "$2: $3"
echo ""
echo "See the Console for a detailed traceback."
else
echo "$1 Error"
# Usage: ERRORURL <anURL> <a b... | <|file_sep|>original/py2app/apptemplate/lib/__error__.sh
#!/bin/sh
#
# This is the default apptemplate error script
#
if ( test -n "$2" ) ; then
echo "$1 Error"
echo "An unexpected error has occurred during execution of the main script"
echo ""
echo "$2: $3"
echo ""
echo "See the Console for a detailed traceback... | f19f2ce7e375bc50cb225d2868c3d3cf47297620 | py2app/apptemplate/lib/__error__.sh | py2app/apptemplate/lib/__error__.sh | Shell |
<|file_sep|>original/tests/unit/fixture/test_logging.py
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from... | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from oslo.log.fixture import logging as logging_fixture
from... | <|file_sep|>original/tests/unit/fixture/test_logging.py
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from... | 24582fa0e031ad8c964a094912a6fb5a02bc2ace | tests/unit/fixture/test_logging.py | tests/unit/fixture/test_logging.py | Python |
<|file_sep|>original/src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.cs
/// computes fixes in parallel and then merges all the non-conflicting fixes into a single fix all code action.
/// This fixer supports fixes for the following fix all scopes:
/// <see cref=... | {
/// <summary>
/// Contains well known implementations of <see cref="FixAllProvider"/>.
/// </summary>
public static class WellKnownFixAllProviders
{
/// <summary>
/// Default batch fix all provider.
/// This provider batches all the individual diagnostic fixes across the sc... | <|file_sep|>original/src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.cs
/// computes fixes in parallel and then merges all the non-conflicting fixes into a single fix all code action.
/// This fixer supports fixes for the following fix all scopes:
/// <see cref=... | c4ab17da68ff73ddf5aa10e895fd52394b6fa007 | src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.cs | src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.cs | C# |
<|file_sep|>original/src/js/containers/LimitOrder/LimitOrderChart.js
import React from "react"
import {TradingView} from "../Market"
export default class LimitOrderChart extends React.Component {
render() {
return (
<TradingView />
)
}
}
<|file_sep|>current/src/js/containers/LimitOrder/LimitOrderChar... | import React from "react"
import {TradingView} from "../Market"
export default class LimitOrderChart extends React.Component {
render() {
return (
<div style={{width: '100%', height: '650px'}}>
{/*<TradingView />*/}
</div>
)
}
} | <|file_sep|>original/src/js/containers/LimitOrder/LimitOrderChart.js
import React from "react"
import {TradingView} from "../Market"
export default class LimitOrderChart extends React.Component {
render() {
return (
<TradingView />
)
}
}
<|file_sep|>current/src/js/containers/LimitOrder/LimitOrderChar... | c941d0483385db4f6f98f7201e338e4d5a4781fd | src/js/containers/LimitOrder/LimitOrderChart.js | src/js/containers/LimitOrder/LimitOrderChart.js | JavaScript |
<|file_sep|>original/firefox/lib/freedom_shim_extension.js
/**
* @param {freedomWindow} The window in which the freedom module resides
*/
var FreedomCommunication = function(freedomWindow) {
var contextWindows = [];
freedomWindow.port.on('freedom_shim', function(args) {
for (var i = 0; i < freedom.contextWind... | /**
* @param {freedomWindow} The window in which the freedom module resides
*/
var FreedomCommunication = function(freedomWindow) {
var contextWindows = [];
freedomWindow.port.on('freedom_shim', function(args) {
for (var i = 0; i < contextWindows.length; i++) {
contextWindows[i].port.emit('freedom_shim'... | <|file_sep|>original/firefox/lib/freedom_shim_extension.js
/**
* @param {freedomWindow} The window in which the freedom module resides
*/
var FreedomCommunication = function(freedomWindow) {
var contextWindows = [];
freedomWindow.port.on('freedom_shim', function(args) {
for (var i = 0; i < freedom.contextWind... | ce0f1d366bf9f2c42cf81035ea72d798a5893697 | firefox/lib/freedom_shim_extension.js | firefox/lib/freedom_shim_extension.js | JavaScript |
<|file_sep|>both/collections/activityTypes.js.diff
original:
const userIsAdmin = Roles.userIsInRole(currentUserId);
updated:
const userIsAdmin = Roles.userIsInRole(currentUserId, 'admin');
<|file_sep|>both/collections/activityTypes.js.diff
original:
const userIsAdmin = Roles.userIsInRole(currentUserId);
upd... | const userIsAdmin = Roles.userIsInRole(currentUserId, 'admin');
// Only Admin user can remove
return userIsAdmin;
},
update () {
// Get current user ID
const currentUserId = Meteor.userId();
// Chack if user is administrator
const userIsAdmin = Roles.userIsInRole(currentUserId, 'admin'... | <|file_sep|>both/collections/activityTypes.js.diff
original:
const userIsAdmin = Roles.userIsInRole(currentUserId);
updated:
const userIsAdmin = Roles.userIsInRole(currentUserId, 'admin');
<|file_sep|>both/collections/activityTypes.js.diff
original:
const userIsAdmin = Roles.userIsInRole(currentUserId);
upd... | a29c64773fb7dd4e15473f0ed955f4c243ed3b7d | both/collections/activityTypes.js | both/collections/activityTypes.js | JavaScript |
<|file_sep|>original/geoengine_base_geolocalize/README.rst
Geolocalise your partner based on longitude and latitude provided by base_geolocalize.
Installation
============
Take a look at the installation section in the description of the module
'base_geoengine'.
Credits
=======
Contributors
------------
* Laure... |
Geolocalise your partner based on longitude and latitude provided by base_geolocalize.
Installation
============
Take a look at the installation section in the description of the module
'base_geoengine'.
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/geospatial/issues>`_.
In c... | <|file_sep|>original/geoengine_base_geolocalize/README.rst
Geolocalise your partner based on longitude and latitude provided by base_geolocalize.
Installation
============
Take a look at the installation section in the description of the module
'base_geoengine'.
Credits
=======
Contributors
------------
* Laure... | e95f166b63347eb31f3142ba5ea37736d99abffe | geoengine_base_geolocalize/README.rst | geoengine_base_geolocalize/README.rst | reStructuredText |
<|file_sep|>package.json.diff
original:
"name": "hopper",
updated:
"name": "starsky",
<|file_sep|>package.json.diff
original:
"hopper": "bin/hopper"
updated:
"starsky": "bin/starsky"
<|file_sep|>package.json.diff
original:
"url": "git://github.com/recurly/hopper.git"
updated:
"url": "git://github.co... | },
"keywords": [
"rabbitmq",
"node-amqp"
],
"author": "Recurly",
"license": "MIT",
"bugs": {
"url": "https://github.com/recurly/starsky/issues"
},
"homepage": "https://github.com/recurly/starsky",
"devDependencies": {
"should": "2.1.1",
"jshint-stylish": "0.1.4",
"mocha": "1.16... | <|file_sep|>package.json.diff
original:
"name": "hopper",
updated:
"name": "starsky",
<|file_sep|>package.json.diff
original:
"hopper": "bin/hopper"
updated:
"starsky": "bin/starsky"
<|file_sep|>package.json.diff
original:
"url": "git://github.com/recurly/hopper.git"
updated:
"url": "git://github.co... | 6ad0d6038989a4977438b5eef881eec0ea79b284 | package.json | package.json | JSON |
<|file_sep|>src/js/libs/fetch-random-photo.js.diff
original:
chrome.storage.local.get(['history', 'photoFrequency'], result => {
updated:
chrome.storage.local.get(['history'], result => {
<|file_sep|>original/src/js/libs/fetch-random-photo.js
chrome.storage.local.set({ history });
c... | chrome.storage.local.set({ history });
});
})
.catch(console.error);
};
chrome.storage.sync.get('imageSource', result => {
let collections = '998309';
if (result.imageSource === 'custom') {
return chrome.storage.sync.get('collections', r => {
collections = r.col... | <|file_sep|>src/js/libs/fetch-random-photo.js.diff
original:
chrome.storage.local.get(['history', 'photoFrequency'], result => {
updated:
chrome.storage.local.get(['history'], result => {
<|file_sep|>original/src/js/libs/fetch-random-photo.js
chrome.storage.local.set({ history });
c... | 4741c55d686e0316207c08ffc736e4ba7f492626 | src/js/libs/fetch-random-photo.js | src/js/libs/fetch-random-photo.js | JavaScript |
<|file_sep|>original/src/background-script/alarms.ts
listener: (bg: BackgroundScript) => void
}
export interface AlarmsConfig {
[key: string]: AlarmConfig
}
export const storageQuotaCheck: AlarmConfig = {
periodInMinutes: 180,
async listener(bg) {
const { usage, quota } = await navigator.stora... | listener: (bg: BackgroundScript) => void
}
export interface AlarmsConfig {
[key: string]: AlarmConfig
}
export const storageQuotaCheck: AlarmConfig = {
periodInMinutes: 180,
async listener(bg) {
const { usage, quota } = await navigator.storage.estimate()
const percUsed = Math.trunc((us... | <|file_sep|>original/src/background-script/alarms.ts
listener: (bg: BackgroundScript) => void
}
export interface AlarmsConfig {
[key: string]: AlarmConfig
}
export const storageQuotaCheck: AlarmConfig = {
periodInMinutes: 180,
async listener(bg) {
const { usage, quota } = await navigator.stora... | f2b82dd3c3cb8c7c2623a0d34f1efe6cf67f9f66 | src/background-script/alarms.ts | src/background-script/alarms.ts | TypeScript |
<|file_sep|>original/lib/creperie/cli.rb
require 'clamp'
require 'creperie/commands'
require 'creperie/loader'
module Creperie
class CLI < Commands::Base
def execute
request_help
end
subcommand 'new', 'Generate a new Crêpe application.', Commands::New
if Loader.crepe_app?
subcommand 'se... | require 'clamp'
require 'creperie/commands'
require 'creperie/loader'
module Creperie
class CLI < Commands::Base
def execute
request_help
end
subcommand 'new', 'Generate a new Crêpe application.', Commands::New
if Loader.crepe_app?
subcommand ['server', 's'], 'Start the Crêpe server.', ... | <|file_sep|>original/lib/creperie/cli.rb
require 'clamp'
require 'creperie/commands'
require 'creperie/loader'
module Creperie
class CLI < Commands::Base
def execute
request_help
end
subcommand 'new', 'Generate a new Crêpe application.', Commands::New
if Loader.crepe_app?
subcommand 'se... | e41242c10cf27ab7bbe277f03013595f69deb65d | lib/creperie/cli.rb | lib/creperie/cli.rb | Ruby |
<|file_sep|>original/methods.js
Meteor.methods({
'/member/save': function(data) {
var member = new Member(data);
if (member.validate()) {
return member.save();
} else {
return false;
}
}
});
<|file_sep|>current/methods.js
Meteor.methods({
'/member/save': function(data) {
var membe... | Meteor.methods({
'/member/save': function(data) {
var member;
if (data._id) {
member = Members.findOne(data._id);
member.set(data);
} else {
member = new Member(data);
}
if (member.validate()) {
return member.save();
} else {
return false;
}
}
}); | <|file_sep|>original/methods.js
Meteor.methods({
'/member/save': function(data) {
var member = new Member(data);
if (member.validate()) {
return member.save();
} else {
return false;
}
}
});
<|file_sep|>current/methods.js
Meteor.methods({
'/member/save': function(data) {
var membe... | 9cb1645b8a2a9a46432828dd3bf992f84f24d8b8 | methods.js | methods.js | JavaScript |
<|file_sep|>original/SH.Site/Views/Partials/_Menu.cshtml
@inherits UmbracoViewPage<MenuViewModel>
<a href="#menu" id="menu-link">
<i class="fa fa-bars" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</a>
<div id="menu">
<div class="pure-menu">
<span class="pure-menu-heading"... | @model MenuViewModel
<a href="#menu" id="menu-link">
<i class="fa fa-bars" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</a>
<div id="menu">
<div class="pure-menu">
<span class="pure-menu-heading">@Model.SiteName</span>
<ul class="pure-menu-list">
@for... | <|file_sep|>original/SH.Site/Views/Partials/_Menu.cshtml
@inherits UmbracoViewPage<MenuViewModel>
<a href="#menu" id="menu-link">
<i class="fa fa-bars" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</a>
<div id="menu">
<div class="pure-menu">
<span class="pure-menu-heading"... | 65467a4446e882613f62f05c17df0096d4e81f0f | SH.Site/Views/Partials/_Menu.cshtml | SH.Site/Views/Partials/_Menu.cshtml | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.