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|>mcrouter/test/test_mcrouter_to_mcrouter_tko.py.diff
original:
updated:
import time
<|file_sep|>original/mcrouter/test/test_mcrouter_to_mcrouter_tko.py
extra_args = ['--timeouts-until-tko', '1', '--group-remote-errors']
def setUp(self):
self.underlying_mcr = self.add_mcrouter(self.config,
... | extra_args=self.extra_args, bg_mcrouter=True)
def get_mcrouter(self):
return self.add_mcrouter(self.config, extra_args=self.extra_args)
def test_underlying_tko(self):
mcr = self.get_mcrouter()
self.assertFalse(mcr.delete("key"))
retries = 10
while self... | <|file_sep|>mcrouter/test/test_mcrouter_to_mcrouter_tko.py.diff
original:
updated:
import time
<|file_sep|>original/mcrouter/test/test_mcrouter_to_mcrouter_tko.py
extra_args = ['--timeouts-until-tko', '1', '--group-remote-errors']
def setUp(self):
self.underlying_mcr = self.add_mcrouter(self.config,
... | 62ebb94f09ea2dee3276041bd471502d57078650 | mcrouter/test/test_mcrouter_to_mcrouter_tko.py | mcrouter/test/test_mcrouter_to_mcrouter_tko.py | Python |
<|file_sep|>original/.github/workflows/main.yml
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['10', '12', '14']
os: [ubuntu-l... | branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['10.x', '12.x', '14.x', '15.x']
os: [ubuntu-latest]
steps:
- uses: act... | <|file_sep|>original/.github/workflows/main.yml
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['10', '12', '14']
os: [ubuntu-l... | 16b902379e4049f716f1e240394a21f66a1b17c2 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/build/symlink.sh
#!/bin/sh
BINDIR=$(cd "$(dirname "$0")/../bin" && pwd -P)
cd "$BINDIR"
for file in $(find "$BINDIR" -maxdepth 1 -mindepth 1 -not -name '.*.swp'); do
f=$(basename $file)
if [ -e "${HOME}/$f" -a ! -L "${HOME}/$f" ]; then
echo "Backing up ${HOME}/$f to ${HOME}/backup... | #!/bin/sh
BINDIR=$(cd "$(dirname "$0")/../bin" && pwd -P)
cd "$BINDIR"
if [ ! -d "${HOME}/bin" ]; then
mkdir "${HOME}/bin"
fi
for file in $(find "$BINDIR" -maxdepth 1 -mindepth 1 -not -name '.*.swp'); do
f=$(basename $file)
if [ -e "${HOME}/$f" -a ! -L "${HOME}/$f" ]; then
echo "Backing up ${HOME... | <|file_sep|>original/build/symlink.sh
#!/bin/sh
BINDIR=$(cd "$(dirname "$0")/../bin" && pwd -P)
cd "$BINDIR"
for file in $(find "$BINDIR" -maxdepth 1 -mindepth 1 -not -name '.*.swp'); do
f=$(basename $file)
if [ -e "${HOME}/$f" -a ! -L "${HOME}/$f" ]; then
echo "Backing up ${HOME}/$f to ${HOME}/backup... | 070e54ec7a008b8b10ac108f8c54861d92e03318 | build/symlink.sh | build/symlink.sh | Shell |
<|file_sep|>original/.travis.yml
hosts:
- rabbit.local
- database.local
language: php
php:
- 7.0
- 7.1
- 7.2
env:
- SYMFONY_VERSION=2.8.*
before_install:
- phpenv config-add travis/z_php.ini
before_script:
- sudo rabbitmq-plugins enable rabbitmq_stomp
- sudo service rabbitmq-server restart
... | hosts:
- rabbit.local
- database.local
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
matrix:
allow_failures:
- php: 7.3
env:
- SYMFONY_VERSION=2.8.*
before_install:
- phpenv config-add travis/z_php.ini | <|file_sep|>original/.travis.yml
hosts:
- rabbit.local
- database.local
language: php
php:
- 7.0
- 7.1
- 7.2
env:
- SYMFONY_VERSION=2.8.*
before_install:
- phpenv config-add travis/z_php.ini
before_script:
- sudo rabbitmq-plugins enable rabbitmq_stomp
- sudo service rabbitmq-server restart
... | 87ff51bbcbf3df01da4ca703ec2819cff11cdaf0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/crypto/aes/aes-x64/aes-gcm.h
<|file_sep|>current/src/crypto/aes/aes-x64/aes-gcm.h
<|file_sep|>updated/src/crypto/aes/aes-x64/aes-gcm.h |
struct gcm_args {
unsigned char* plaintext;
unsigned int plain_len;
unsigned char* additional_data;
unsigned int additional_data_len;
unsigned char* iv;
unsigned char* expanded_key_ptr;
unsigned char* ciphertext_ptr;
unsigned char* tag_ptr;
unsigned char* tmp_ptr; // Should point to a buffer of... | <|file_sep|>original/src/crypto/aes/aes-x64/aes-gcm.h
<|file_sep|>current/src/crypto/aes/aes-x64/aes-gcm.h
<|file_sep|>updated/src/crypto/aes/aes-x64/aes-gcm.h
struct gcm_args {
unsigned char* plaintext;
unsigned int plain_len;
unsigned char* additional_data;
unsigned int additional_data_len;
unsigned ... | 86471f5a466e1f89e04c66fc634c75b393fb65ed | src/crypto/aes/aes-x64/aes-gcm.h | src/crypto/aes/aes-x64/aes-gcm.h | C |
<|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Matheus Marques",
"email": "matheusocmarques@gmail.com",
"homepage": "http://matheusmarques.com"
}
],
"require": {
"php": "^7.2 || ^8.0",
"smarty/smarty": "~3.... | "license": "MIT",
"authors": [
{
"name": "Matheus Marques",
"email": "matheusocmarques@gmail.com",
"homepage": "http://matheusmarques.com"
}
],
"require": {
"php": "^7.2 || ^8.0",
"smarty/smarty": "^3.1|^4.0",
"slim/slim": "^4.0... | <|file_sep|>original/composer.json
"license": "MIT",
"authors": [
{
"name": "Matheus Marques",
"email": "matheusocmarques@gmail.com",
"homepage": "http://matheusmarques.com"
}
],
"require": {
"php": "^7.2 || ^8.0",
"smarty/smarty": "~3.... | 4a380cce679adfb4e614c4ef726b01d7d044968c | composer.json | composer.json | JSON |
<|file_sep|>WundergroundClient/Autocomplete/AutocompleteRequest.cs.diff
original:
private String _searchString;
private ResultFilter _filter = ResultFilter.CitiesOnly;
private String _countryCode = null;
updated:
private const String BaseUrl = "http://autocomplete.wunderground.com/";
<|f... | /// restricted to a particular country.
///
/// Note: Wunderground does not use the standard ISO country codes.
/// See http://www.wunderground.com/weather/api/d/docs?d=resources/country-to-iso-matching
/// </summary>
/// <param name="query">The full or partial name to b... | <|file_sep|>WundergroundClient/Autocomplete/AutocompleteRequest.cs.diff
original:
private String _searchString;
private ResultFilter _filter = ResultFilter.CitiesOnly;
private String _countryCode = null;
updated:
private const String BaseUrl = "http://autocomplete.wunderground.com/";
<|f... | 8442489aa773a11609da66cf732f7099a3e7b2f4 | WundergroundClient/Autocomplete/AutocompleteRequest.cs | WundergroundClient/Autocomplete/AutocompleteRequest.cs | C# |
<|file_sep|>original/_posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md
<|file_sep|>current/_posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md
<|file_sep|>updated/_posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md | ---
title: "Thin Crispy Chocolate Chip Cookies"
categories: recipes-to-try
tags:
- dessert
- snack
- American
excerpt: "Makes about 4 dozen 2-inch cookies."
header:
teaser:
---
## INGREDIENTS
* 7½ ounces unbleached all-purpose flour
* ¼ teaspoon salt
* ¾ teaspoon baking soda
* 8 tablespoons unsalted butter *... | <|file_sep|>original/_posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md
<|file_sep|>current/_posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md
<|file_sep|>updated/_posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md
---
title: "Thin Crispy Chocolate Chip Cookies"
categories: recipes-to-try
tags:
- des... | 784ed575b844cd27ea434f975a6d61ce72bd91c6 | _posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md | _posts/2017-10-02-thin-crispy-chocolate-chip-cookies.md | Markdown |
<|file_sep|>lib/looksee/core_ext.rb.diff
original:
# Shortcut for Looksee[self, *args].
updated:
# Define #ls as a shortcut for Looksee[self, *args].
#
# This is defined via method_missing to be less intrusive. pry 0.10, e.g.,
# relies on Object#ls not existing.
<|file_sep|>lib/looksee/core_ext.rb.d... | # relies on Object#ls not existing.
#
def method_missing(name, *args)
if name == :ls
Looksee[self, *args]
else
super
end
end
def respond_to?(name, include_private=false)
super || name == :ls
end
def self.rename(name) # :nodoc:
name = name[:ls]... | <|file_sep|>lib/looksee/core_ext.rb.diff
original:
# Shortcut for Looksee[self, *args].
updated:
# Define #ls as a shortcut for Looksee[self, *args].
#
# This is defined via method_missing to be less intrusive. pry 0.10, e.g.,
# relies on Object#ls not existing.
<|file_sep|>lib/looksee/core_ext.rb.d... | a36a771d82c6e772ebe2a1aa8cd377b72370eecc | lib/looksee/core_ext.rb | lib/looksee/core_ext.rb | Ruby |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.0
- 1.1
- 1.2
- tip
<|file_sep|>current/.travis.yml
language: go
go:
- 1.0
- 1.1
- 1.2
- tip
<|file_sep|>updated/.travis.yml | language: go
go:
- 1.1
- 1.2
- tip | <|file_sep|>original/.travis.yml
language: go
go:
- 1.0
- 1.1
- 1.2
- tip
<|file_sep|>current/.travis.yml
language: go
go:
- 1.0
- 1.1
- 1.2
- tip
<|file_sep|>updated/.travis.yml
language: go
go:
- 1.1
- 1.2
- tip | df84caa82635a7ce57828d28fe4c13f4708a74d1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
Trac==1.0.12
Pygments == 1.6
dnspython == 1.11.1
spambayes == 1.1b1
psycopg2==2.6.2
docutils == 0.12
Django==1.10b1
libsass==0.11.1
# Trac plugins
svn+https://svn.edgewall.org/repos/trac/plugins/1.0/spam-filter@13100
svn+https://trac-hacks.org/svn/xmlrpcplugin/trunk@13776
oauthli... | Trac==1.0.12
Pygments == 1.6
dnspython == 1.11.1
spambayes == 1.1b1
psycopg2==2.6.2
docutils == 0.12
Django==1.10b1
libsass==0.11.1
# Trac plugins
svn+https://svn.edgewall.org/repos/trac/plugins/1.0/spam-filter@13100
svn+https://trac-hacks.org/svn/xmlrpcplugin/trunk@13776
oauthlib==1.0.1
requests==2.10.0
requests-oau... | <|file_sep|>original/requirements.txt
Trac==1.0.12
Pygments == 1.6
dnspython == 1.11.1
spambayes == 1.1b1
psycopg2==2.6.2
docutils == 0.12
Django==1.10b1
libsass==0.11.1
# Trac plugins
svn+https://svn.edgewall.org/repos/trac/plugins/1.0/spam-filter@13100
svn+https://trac-hacks.org/svn/xmlrpcplugin/trunk@13776
oauthli... | 83a6d6860fe0fb9081590f69c33905eb4144f1e5 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/slave/skia_slave_scripts/android_bench_pictures.py
""" Run the Skia bench_pictures executable. """
from android_render_pictures import AndroidRenderPictures
from android_run_bench import DoBench
from bench_pictures import BenchPictures
from build_step import BuildStep
import sys
class AndroidBen... |
""" Run the Skia bench_pictures executable. """
from android_render_pictures import AndroidRenderPictures
from android_run_bench import DoBench
from bench_pictures import BenchPictures
from build_step import BuildStep
import sys
class AndroidBenchPictures(BenchPictures, AndroidRenderPictures):
def __init__(self, a... | <|file_sep|>original/slave/skia_slave_scripts/android_bench_pictures.py
""" Run the Skia bench_pictures executable. """
from android_render_pictures import AndroidRenderPictures
from android_run_bench import DoBench
from bench_pictures import BenchPictures
from build_step import BuildStep
import sys
class AndroidBen... | e5963987e678926ad8cdde93e2551d0516a7686b | slave/skia_slave_scripts/android_bench_pictures.py | slave/skia_slave_scripts/android_bench_pictures.py | Python |
<|file_sep|>original/frontend/course-form.jsx
import React from 'react'
import ReactDOM from 'react-dom'
import KeywordInput from './components/keyword-input'
import TopicInput from './components/topic-input'
const element = document.getElementById('div_id_keywords');
let error = element.querySelector('#error_1_id_key... | import React from 'react'
import ReactDOM from 'react-dom'
import KeywordInput from './components/keyword-input'
import TopicInput from './components/topic-input'
/*
* Replace keywords and topics form input with react components
*/
const element = document.getElementById('div_id_keywords');
let error = element.quer... | <|file_sep|>original/frontend/course-form.jsx
import React from 'react'
import ReactDOM from 'react-dom'
import KeywordInput from './components/keyword-input'
import TopicInput from './components/topic-input'
const element = document.getElementById('div_id_keywords');
let error = element.querySelector('#error_1_id_key... | 89c4958b9c397c598f24d3dd91ec34c6347bcc55 | frontend/course-form.jsx | frontend/course-form.jsx | JSX |
<|file_sep|>original/requirements-dev.txt
aiohttp-jinja2==0.16.0
aiohttp-security==0.2.0
aiohttp-session==2.3.0
aiohttp==3.0.6
aiomysql==0.0.12
aiopg==0.13.2
coverage==4.5.1
docker==2.6.1
docker-compose==1.17.1
flake8==3.5.0
ipdb==0.11
motor==1.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.4.1
python-dateutil==2.6.... | aiohttp-jinja2==0.16.0
aiohttp-security==0.2.0
aiohttp-session==2.3.0
aiohttp==3.0.6
aiomysql==0.0.12
aiopg==0.13.2
coverage==4.5.1
docker==3.1.0
docker-compose==1.17.1
flake8==3.5.0
ipdb==0.11
motor==1.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.4.1
python-dateutil==2.6.1
sqlalchemy==1.1.15
trafaret==0.10.4
pymy... | <|file_sep|>original/requirements-dev.txt
aiohttp-jinja2==0.16.0
aiohttp-security==0.2.0
aiohttp-session==2.3.0
aiohttp==3.0.6
aiomysql==0.0.12
aiopg==0.13.2
coverage==4.5.1
docker==2.6.1
docker-compose==1.17.1
flake8==3.5.0
ipdb==0.11
motor==1.1
pytest-cov==2.5.1
pytest-sugar==0.9.0
pytest==3.4.1
python-dateutil==2.6.... | 2655088074f95e73e7acba6f861ec78b4ba1ed5a | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/_posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md
<|file_sep|>current/_posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md
<|file_sep|>updated/_posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md | ---
author:
name: Curtis Miller
twitter: curtism
gplus:
bio: Co-founder & CEO
image:
excerpt:
How to select array values easily, and efficiently, from
a PostgreSQL array type in Rails.
layout: post
published: true
tags:
- postgresql
- rails 4
title: "Easily retrieve tags from a PostgreSQL array in Rails"
... | <|file_sep|>original/_posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md
<|file_sep|>current/_posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md
<|file_sep|>updated/_posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md
---
author:
name: Curtis Mille... | ba706e72abfe296acafdb45488b7c993ff6d1337 | _posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md | _posts/2015-04-10-easily-retrieve-tags-from-a-postgresql-array-in-rails.md | Markdown |
<|file_sep|>original/config.example.d/common.json
{
"Nick":"gorepost",
"Host":"my.hostname",
"RealName":"https://github.com/gorepost/gorepost",
"User":"repost",
"Networks":["freenode", "ircnet"],
"Logpath":"/home/gorepost/.gorepost/gorepost.log"
}
<|file_sep|>current/config.example.d/common.json
{
"Nick":"gorepo... | {
"Nick":"gorepost",
"Host":"my.hostname",
"RealName":"https://github.com/gorepost/gorepost",
"User":"repost",
"Networks":["freenode", "ircnet"],
"Logpath":"/home/gorepost/.gorepost/gorepost.log".
"LinkTitleDelimiter":" | ",
"LinkTitlePrefix":"↳ title: "
} | <|file_sep|>original/config.example.d/common.json
{
"Nick":"gorepost",
"Host":"my.hostname",
"RealName":"https://github.com/gorepost/gorepost",
"User":"repost",
"Networks":["freenode", "ircnet"],
"Logpath":"/home/gorepost/.gorepost/gorepost.log"
}
<|file_sep|>current/config.example.d/common.json
{
"Nick":"gorepo... | 2de6780d838131eceb5c92e83977e0a6f7a8414f | config.example.d/common.json | config.example.d/common.json | JSON |
<|file_sep|>original/src/repositories/postgres.js
* Create repository
* @param {App} app The application
* @param {Postgres} postgres Postgres service
* @param {Cacher} cacher Cacher service
* @param {Util} util ... | * Create repository
* @param {App} app The application
* @param {Postgres} postgres Postgres service
* @param {Cacher} cacher Cacher service
* @param {Util} util Util service
*/
constructor(ap... | <|file_sep|>original/src/repositories/postgres.js
* Create repository
* @param {App} app The application
* @param {Postgres} postgres Postgres service
* @param {Cacher} cacher Cacher service
* @param {Util} util ... | d92968b6947c876927e1980b1bd8faf775ee35d6 | src/repositories/postgres.js | src/repositories/postgres.js | JavaScript |
<|file_sep|>original/addon/components/file-field.js
import Ember from 'ember';
export default Ember.Component.extend(Ember.Evented, {
tagName: 'input',
type: 'file',
attributeBindings: ['type', 'multiple'],
multiple: false,
change (event) {
const input = event.target;
if (!Ember.isEmpty(input.files))... | import Ember from 'ember';
export default Ember.Component.extend(Ember.Evented, {
tagName: 'input',
type: 'file',
attributeBindings: ['type', 'multiple', 'accept'],
multiple: false,
change (event) {
const input = event.target;
if (!Ember.isEmpty(input.files)) {
this.trigger('filesDidChange', in... | <|file_sep|>original/addon/components/file-field.js
import Ember from 'ember';
export default Ember.Component.extend(Ember.Evented, {
tagName: 'input',
type: 'file',
attributeBindings: ['type', 'multiple'],
multiple: false,
change (event) {
const input = event.target;
if (!Ember.isEmpty(input.files))... | 8eaf379943deec8e9bbf62fa07c3082102528772 | addon/components/file-field.js | addon/components/file-field.js | JavaScript |
<|file_sep|>original/index.html
---
layout: default
title: CMLPR Corp
---
<div class="inner cover">
<div class="profile__brand">
<!-- <img class="logo img-responsive img-circle" src="http://placekitten.com/250/250" alt="Brand CMLPR"> -->
... | ---
layout: default
title: CMLPR Corp
---
<div class="inner cover">
<div class="profile__brand">
<!-- <img class="logo img-responsive img-circle" src="http://placekitten.com/250/250" alt="Brand CMLPR"> -->
<img class="... | <|file_sep|>original/index.html
---
layout: default
title: CMLPR Corp
---
<div class="inner cover">
<div class="profile__brand">
<!-- <img class="logo img-responsive img-circle" src="http://placekitten.com/250/250" alt="Brand CMLPR"> -->
... | 0dad44d9b799dd5b4c4f6d9455d6898a233d4382 | index.html | index.html | HTML |
<|file_sep|>original/src/Console/MemoryCommand.php
protected $name = 'memory:migrate';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Run migration for orchestra/memory package.';
/**
* Execute the console command.
*
* @return voi... | protected $name = 'memory:migrate';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Run migration for orchestra/memory package.';
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
... | <|file_sep|>original/src/Console/MemoryCommand.php
protected $name = 'memory:migrate';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Run migration for orchestra/memory package.';
/**
* Execute the console command.
*
* @return voi... | 8e8d3d4afa4a78b3fb10ba9255407482bb86648f | src/Console/MemoryCommand.php | src/Console/MemoryCommand.php | PHP |
<|file_sep|>original/src/txacme/newsfragments/59.feature
txacme.challenges.LibcloudDNSResponder implements a dns-01 challenge responder using libcloud.
<|file_sep|>current/src/txacme/newsfragments/59.feature
txacme.challenges.LibcloudDNSResponder implements a dns-01 challenge responder using libcloud.
<|file_sep|>updat... | txacme.challenges.LibcloudDNSResponder implements a dns-01 challenge responder using libcloud. Installing txacme[libcloud] is necessary to pull in the dependencies for this. | <|file_sep|>original/src/txacme/newsfragments/59.feature
txacme.challenges.LibcloudDNSResponder implements a dns-01 challenge responder using libcloud.
<|file_sep|>current/src/txacme/newsfragments/59.feature
txacme.challenges.LibcloudDNSResponder implements a dns-01 challenge responder using libcloud.
<|file_sep|>updat... | fb259601acb0df090a14ec6130161ed7b1437292 | src/txacme/newsfragments/59.feature | src/txacme/newsfragments/59.feature | Cucumber |
<|file_sep|>original/site/config.yml
baseurl: "http://vingaship.se/"
title: "Vinga Ship Management"
languageCode: "sv"
defaultContentLanguage: "sv"
defaultContentLanguageInSubdir: false
enableRobotsTXT: true
enableEmoji: true
MetaDataFormat: "yaml"
EnableMissingTranslationPlaceholders: true
languages:
sv:
weight... | baseurl: "http://vingaship.se/"
title: "Vinga Ship Management"
languageCode: "sv"
defaultContentLanguage: "sv"
defaultContentLanguageInSubdir: false
enableRobotsTXT: true
enableEmoji: true
MetaDataFormat: "yaml"
EnableMissingTranslationPlaceholders: true
googleAnalytics: "UA-98787355-1"
languages:
sv:
weight: 0
... | <|file_sep|>original/site/config.yml
baseurl: "http://vingaship.se/"
title: "Vinga Ship Management"
languageCode: "sv"
defaultContentLanguage: "sv"
defaultContentLanguageInSubdir: false
enableRobotsTXT: true
enableEmoji: true
MetaDataFormat: "yaml"
EnableMissingTranslationPlaceholders: true
languages:
sv:
weight... | 232334692ab0874dfae0ed171bfccdb7e406646c | site/config.yml | site/config.yml | YAML |
<|file_sep|>original/backend/server/db/model/index.js
module.exports = function models(r) {
return {
projects: require('./projects')(r),
users: require('./users')(r),
samples: require('./samples')(r),
access: require('./access')(r),
files: require('./files')(r)
};
};
<|fi... | module.exports = function models(r) {
return {
projects: require('./projects')(r),
users: require('./users')(r),
samples: require('./samples')(r),
access: require('./access')(r),
files: require('./files')(r),
r: r
};
}; | <|file_sep|>original/backend/server/db/model/index.js
module.exports = function models(r) {
return {
projects: require('./projects')(r),
users: require('./users')(r),
samples: require('./samples')(r),
access: require('./access')(r),
files: require('./files')(r)
};
};
<|fi... | fe0170e9ebf81bc97cddf30491c6b53d03833b93 | backend/server/db/model/index.js | backend/server/db/model/index.js | JavaScript |
<|file_sep|>src/Jobs/SyncDefaultAuthorization.php.diff
original:
use Illuminate\Contracts\Foundation\Application;
updated:
<|file_sep|>src/Jobs/SyncDefaultAuthorization.php.diff
original:
updated:
use Orchestra\Model\Role;
<|file_sep|>src/Jobs/SyncDefaultAuthorization.php.diff
original:
* @param \Illuminate\Con... | namespace Orchestra\Foundation\Job;
use Orchestra\Contracts\Authorization\Authorization;
use Orchestra\Model\Role;
class SyncDefaultAuthorization extends Job
{
/**
* Re-sync administrator access control.
*
* @param \Orchestra\Contracts\Authorization\Authorization $acl
*
* @return void
... | <|file_sep|>src/Jobs/SyncDefaultAuthorization.php.diff
original:
use Illuminate\Contracts\Foundation\Application;
updated:
<|file_sep|>src/Jobs/SyncDefaultAuthorization.php.diff
original:
updated:
use Orchestra\Model\Role;
<|file_sep|>src/Jobs/SyncDefaultAuthorization.php.diff
original:
* @param \Illuminate\Con... | 7028b8ab853941cf683bee2dcf3d94251e524ae5 | src/Jobs/SyncDefaultAuthorization.php | src/Jobs/SyncDefaultAuthorization.php | PHP |
<|file_sep|>pkgs/tools/filesystems/simg2img/default.nix.diff
original:
makeFlags = [ "PREFIX=$(out)" ];
updated:
makeFlags = [ "PREFIX=$(out)" "DEP_CXX:=$(CXX)" ];
<|file_sep|>original/pkgs/tools/filesystems/simg2img/default.nix
version = "1.1.4";
src = fetchFromGitHub {
owner = "anestisb";
repo = "and... | version = "1.1.4";
src = fetchFromGitHub {
owner = "anestisb";
repo = "android-simg2img";
rev = version;
sha256 = "1xm9kaqs2w8c7a4psv78gv66gild88mpgjn5lj087d7jh1jxy7bf";
};
buildInputs = [ zlib ];
makeFlags = [ "PREFIX=$(out)" "DEP_CXX:=$(CXX)" ];
meta = with lib; {
description = "To... | <|file_sep|>pkgs/tools/filesystems/simg2img/default.nix.diff
original:
makeFlags = [ "PREFIX=$(out)" ];
updated:
makeFlags = [ "PREFIX=$(out)" "DEP_CXX:=$(CXX)" ];
<|file_sep|>original/pkgs/tools/filesystems/simg2img/default.nix
version = "1.1.4";
src = fetchFromGitHub {
owner = "anestisb";
repo = "and... | 71abff51b1679e0c19ed607bb824befb1a810c89 | pkgs/tools/filesystems/simg2img/default.nix | pkgs/tools/filesystems/simg2img/default.nix | Nix |
<|file_sep|>original/app/config/bundles/presta_cms_core.yml
presta_cms_core:
default_website: /website/symfony-prestacms
default_locale: en
websites:
symfony-prestacms:
path: /website/symfony-prestacms
hosts:
dev:
en:
... | symfony-prestacms:
path: /website/symfony-prestacms
hosts:
dev:
en:
locale: en
host: www.symfony-prestacms.com.dev
fr:
locale: fr
host: ... | <|file_sep|>original/app/config/bundles/presta_cms_core.yml
presta_cms_core:
default_website: /website/symfony-prestacms
default_locale: en
websites:
symfony-prestacms:
path: /website/symfony-prestacms
hosts:
dev:
en:
... | 520ac0fab75798ec682f7a6ad63b676cbe09d02b | app/config/bundles/presta_cms_core.yml | app/config/bundles/presta_cms_core.yml | YAML |
<|file_sep|>original/requirements_dev.txt
setuptools >=36.6
bumpversion >=0.5.3,<0.6
coverage >=4.4.2,<5
flake8 >=3.5,<4
flake8-blind-except >=0.1.1,<0.2
flake8-commas==2.0.0
flake8-debugger >=3,<4
flake8-isort >= 2.2.2
hypothesis >=3.34.1,<4
isort==4.3.4
pip==18.1
pytest==4.0.1
pytest-runner==4.2
Sphinx >=1.6.5,<2
tox... | setuptools >=36.6
bumpversion >=0.5.3,<0.6
coverage >=4.4.2,<5
flake8 >=3.5,<4
flake8-blind-except >=0.1.1,<0.2
flake8-commas==2.0.0
flake8-debugger >=3,<4
flake8-isort >= 2.2.2
hypothesis >=3.34.1,<4
isort==4.3.4
pip==18.1
pytest==4.0.1
pytest-runner==4.2
Sphinx >=1.6.5,<2
tox==3.5.3
watchdog==0.9.0
wheel==0.32.3 | <|file_sep|>original/requirements_dev.txt
setuptools >=36.6
bumpversion >=0.5.3,<0.6
coverage >=4.4.2,<5
flake8 >=3.5,<4
flake8-blind-except >=0.1.1,<0.2
flake8-commas==2.0.0
flake8-debugger >=3,<4
flake8-isort >= 2.2.2
hypothesis >=3.34.1,<4
isort==4.3.4
pip==18.1
pytest==4.0.1
pytest-runner==4.2
Sphinx >=1.6.5,<2
tox... | f04ae9c0a9c29a66a605866da3e55ffbbebdc900 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>lib/announcr.rb.diff
original:
updated:
require "announcr/prefix"
require "announcr/namespace"
require "announcr/event"
require "announcr/event_scope"
require "announcr/backends"
<|file_sep|>original/lib/announcr.rb
require "announcr/version"
module Announcr
# Your code goes here...
end
<|file_sep|>cur... | require "announcr/version"
require "announcr/prefix"
require "announcr/namespace"
require "announcr/event"
require "announcr/event_scope"
require "announcr/backends"
module Announcr
extend Prefix
def self.reset!
@namespaces = {}
@backends = {}
@global_prefix = nil
end
def self.namespace(name, &b... | <|file_sep|>lib/announcr.rb.diff
original:
updated:
require "announcr/prefix"
require "announcr/namespace"
require "announcr/event"
require "announcr/event_scope"
require "announcr/backends"
<|file_sep|>original/lib/announcr.rb
require "announcr/version"
module Announcr
# Your code goes here...
end
<|file_sep|>cur... | 9a6fe59a4866f7f8698e7c2dee44b9faf5dbf7a6 | lib/announcr.rb | lib/announcr.rb | Ruby |
<|file_sep|>original/app/providers/pax-calculator/pax-calculator.ts
<|file_sep|>current/app/providers/pax-calculator/pax-calculator.ts
<|file_sep|>updated/app/providers/pax-calculator/pax-calculator.ts | import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
import { SoloClass } from '../classes/solo-class';
/*
Generated class for the PaxCalculator provider.
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
for more info on providers... | <|file_sep|>original/app/providers/pax-calculator/pax-calculator.ts
<|file_sep|>current/app/providers/pax-calculator/pax-calculator.ts
<|file_sep|>updated/app/providers/pax-calculator/pax-calculator.ts
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
im... | 0e64070d18f0d3ca7984cdc613bf17ccf4a85568 | app/providers/pax-calculator/pax-calculator.ts | app/providers/pax-calculator/pax-calculator.ts | TypeScript |
<|file_sep|>original/appveyor.yml
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "6"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node 0.STABLE.lates... | # Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "8"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node 0.STABLE.latest
- ps... | <|file_sep|>original/appveyor.yml
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "6"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node 0.STABLE.lates... | 33ba03fedf9b4fb2ed3f77f830cd0f0f44af0b72 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>lib/telegram_client.rb.diff
original:
case exception.error_code
when 403 # Forbidden. Ignore the message and keep going
updated:
case exception.error_code.to_s
when "403" # Forbidden. Ignore the message and keep going
<|file_sep|>original/lib/telegram_client.rb
logger.error "#{exceptio... | logger.error "#{exception.message} (Faraday) (#run_telegram_loop)"
reconnect_to_telegram
end
end
def handle_telegram_exception(exception)
case exception.error_code.to_s
when "403" # Forbidden. Ignore the message and keep going
return
when "409" # Conflict. Must exit process
... | <|file_sep|>lib/telegram_client.rb.diff
original:
case exception.error_code
when 403 # Forbidden. Ignore the message and keep going
updated:
case exception.error_code.to_s
when "403" # Forbidden. Ignore the message and keep going
<|file_sep|>original/lib/telegram_client.rb
logger.error "#{exceptio... | 5a77d1086248cfd0aef49a125a0c55a86b8c77f7 | lib/telegram_client.rb | lib/telegram_client.rb | Ruby |
<|file_sep|>src/network.js.diff
original:
updated:
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
<|file_sep|>src/network.js.diff
original:
pubKeyHash: 0x30,
scriptHash: 0x20,
updated:
bip32: {
pub: 0x02facafd,
priv: 0x02fac398
},
pubKeyHash: 0x... | dogecoin: {
bip32: {
pub: 0x02facafd,
priv: 0x02fac398
},
pubKeyHash: 0x1e,
scriptHash: 0x16,
wif: 0x9e
},
litecoin: {
bip32: {
pub: 0x019da462,
priv: 0x019d9cfe
},
pubKeyHash: 0x30,
scriptHash: 0x05,
wif: 0xb0
},
testnet: {
bip32: {
pu... | <|file_sep|>src/network.js.diff
original:
updated:
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
<|file_sep|>src/network.js.diff
original:
pubKeyHash: 0x30,
scriptHash: 0x20,
updated:
bip32: {
pub: 0x02facafd,
priv: 0x02fac398
},
pubKeyHash: 0x... | 5fd9fe62dcd6e442344d202bc7d9c4fa0fea0a18 | src/network.js | src/network.js | JavaScript |
<|file_sep|>homebrew/casks/versioned.txt.diff
original:
firefox
skype
netspot
updated:
chromium
<|file_sep|>original/homebrew/casks/versioned.txt
dockertoolbox
java
kaleidoscope
spectacle
omnigraffle
name-mangler
appcleaner
the-unarchiver
flux
dropbox
firefox
skype
netspot
cog
vlc
soundcleod
caskroom/fonts/font-open-sa... | java
kaleidoscope
spectacle
omnigraffle
name-mangler
appcleaner
the-unarchiver
flux
dropbox
chromium
cog
vlc
soundcleod
transmission
caskroom/fonts/font-open-sans
caskroom/fonts/font-source-code-pro
caskroom/fonts/font-source-sans-pro
caskroom/fonts/font-hack
caskroom/versions/sublime-text3
caskroom/versions/pycharm-ce... | <|file_sep|>homebrew/casks/versioned.txt.diff
original:
firefox
skype
netspot
updated:
chromium
<|file_sep|>original/homebrew/casks/versioned.txt
dockertoolbox
java
kaleidoscope
spectacle
omnigraffle
name-mangler
appcleaner
the-unarchiver
flux
dropbox
firefox
skype
netspot
cog
vlc
soundcleod
caskroom/fonts/font-open-sa... | 30ec84f4df27597d2d8be4a69a94e90993262c46 | homebrew/casks/versioned.txt | homebrew/casks/versioned.txt | Text |
<|file_sep|>.travis.yml.diff
original:
updated:
- "18"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "16"
- "15"
- "14"
- "13"
- "12"
- "10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "18"
- "16"
- "15"
- "14"
- "13"
- "12"
- "10"
<|file_sep|>updated/.travi... | language: node_js
node_js:
- "18"
- "16"
- "15"
- "14"
- "13"
- "12" | <|file_sep|>.travis.yml.diff
original:
updated:
- "18"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "16"
- "15"
- "14"
- "13"
- "12"
- "10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "18"
- "16"
- "15"
- "14"
- "13"
- "12"
- "10"
<|file_sep|>updated/.travi... | 7aa8fb265b86a13376b3c5af82f7764a3e35a664 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements-dev.txt
-e .
flake8==3.7.8
async-timeout==3.0.1
pytest==5.1.2
pytest-cov==2.7.1
pytest-mock==1.10.4
coverage==4.5.4
sphinx==2.2.0
pep257==0.7.0
aiohttp-session==2.7.0
aiopg[sa]==0.16.0
aioredis==1.2.0
hiredis==1.0.0
passlib==1.7.1
cryptography==2.7
aiohttp==3.4.4
pytest-aiohttp==0.3.0
... | -e .
flake8==3.7.8
async-timeout==3.0.1
pytest==5.1.2
pytest-cov==2.7.1
pytest-mock==1.10.4
coverage==4.5.4
sphinx==2.2.0
pep257==0.7.0
aiohttp-session==2.8.0
aiopg[sa]==0.16.0
aioredis==1.2.0
hiredis==1.0.0
passlib==1.7.1
cryptography==2.7
aiohttp==3.4.4
pytest-aiohttp==0.3.0
pyjwt==1.7.1 | <|file_sep|>original/requirements-dev.txt
-e .
flake8==3.7.8
async-timeout==3.0.1
pytest==5.1.2
pytest-cov==2.7.1
pytest-mock==1.10.4
coverage==4.5.4
sphinx==2.2.0
pep257==0.7.0
aiohttp-session==2.7.0
aiopg[sa]==0.16.0
aioredis==1.2.0
hiredis==1.0.0
passlib==1.7.1
cryptography==2.7
aiohttp==3.4.4
pytest-aiohttp==0.3.0
... | 3cd857dca875786e48b45c0a999326e4ed2df708 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/README.rdoc
= Veritas SQL Generator
Relational algebra SQL generator
== Note on Patches/Pull Requests
* If you want your code merged into the mainline, please discuss
the proposed changes with me before doing any work on it. This
library is still in early development, and it may not always b... | = Veritas SQL Generator
Relational algebra SQL generator
http://travis-ci.org/dkubb/veritas-sql-generator.png
== Note on Patches/Pull Requests
* If you want your code merged into the mainline, please discuss
the proposed changes with me before doing any work on it. This
library is still in early development, an... | <|file_sep|>original/README.rdoc
= Veritas SQL Generator
Relational algebra SQL generator
== Note on Patches/Pull Requests
* If you want your code merged into the mainline, please discuss
the proposed changes with me before doing any work on it. This
library is still in early development, and it may not always b... | 4b9283478606f5a986dd4f1f4870a6dd4f8bb2ed | README.rdoc | README.rdoc | RDoc |
<|file_sep|>original/app/components/PinList.js
})
};
}
componentWillReceiveProps(nextProps) {
this.setState({
dataSource: this.state.dataSource.cloneWithRows(nextProps.pins)
});
}
renderItem(pin) {
const {deletePin} = this.props;
return (
// pass down pin info to PinLis... | })
};
}
componentWillReceiveProps(nextProps) {
this.setState({
dataSource: this.state.dataSource.cloneWithRows(nextProps.pins)
});
}
componentWillMount() {
this.setState({
dataSource: this.state.dataSource.cloneWithRows(this.props.pins)
});
}
renderItem(pin) {
co... | <|file_sep|>original/app/components/PinList.js
})
};
}
componentWillReceiveProps(nextProps) {
this.setState({
dataSource: this.state.dataSource.cloneWithRows(nextProps.pins)
});
}
renderItem(pin) {
const {deletePin} = this.props;
return (
// pass down pin info to PinLis... | ab14c71601d96292e611323d73c1313574cdf50e | app/components/PinList.js | app/components/PinList.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
script: mvn clean verify install sonar:sonar -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-tamaya -Dsonar.host.url="https://sonarcloud.io" -Dsonar.login="$SONAR_TOKEN"
updated:
script: mvn clean install sonar:sonar -Dsonar.organization=apache ... | organization: "apache"
jobs:
include:
- name: "Java 8"
jdk: openjdk8
script: mvn clean install sonar:sonar -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-tamaya -Dsonar.host.url="https://sonarcloud.io" -Dsonar.login="$SONAR_TOKEN"
- name: "Java 9"
... | <|file_sep|>.travis.yml.diff
original:
script: mvn clean verify install sonar:sonar -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-tamaya -Dsonar.host.url="https://sonarcloud.io" -Dsonar.login="$SONAR_TOKEN"
updated:
script: mvn clean install sonar:sonar -Dsonar.organization=apache ... | 4bb58ec4cde6c903da862e1c3c68007594a7d462 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.github/workflows/go-pr.yml
<|file_sep|>current/.github/workflows/go-pr.yml
<|file_sep|>updated/.github/workflows/go-pr.yml | # Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | <|file_sep|>original/.github/workflows/go-pr.yml
<|file_sep|>current/.github/workflows/go-pr.yml
<|file_sep|>updated/.github/workflows/go-pr.yml
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may ... | 7fef8f9e25949c46eb2557eb8ee27fc32602fe43 | .github/workflows/go-pr.yml | .github/workflows/go-pr.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '7'
- '6'
- '5'
- '4'
before_install:
- npm install -g gulp
install:
- npm install
script:
- npm run test
- npm run coveralls
cache:
directories:
- $HOME/.npm
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_... | language: node_js
node_js:
- '10'
- '8'
script:
- npm run test
- npm run coveralls
cache:
directories:
- $HOME/.npm
notifications:
email: false | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '7'
- '6'
- '5'
- '4'
before_install:
- npm install -g gulp
install:
- npm install
script:
- npm run test
- npm run coveralls
cache:
directories:
- $HOME/.npm
notifications:
email: false
<|file_sep|>current/.travis.yml
language: node_... | 96f4b87a06be950120a83eab49ea61567a6d7596 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
pin_memory_profiler
===================
Test of writing a Pin tool to profile the memory usage of a 3rd party algorithm
Example run command, where FFT_example was the current working directory:
/usr/bin/time -v setarch x86_64 -R ~/pin-2.14-67254-gcc.4.4.7-linux/pin -t ../memory_profile/... | pin_memory_profiler
===================
Test of writing a Pin tool to profile the memory usage of a 3rd party algorithm
Example run command, where FFT_example was the current working directory:
/usr/bin/time -v setarch x86_64 -R ~/pin-2.14-67254-gcc.4.4.7-linux/pin -t ../memory_profile/Release/libmemory_profile.so --... | <|file_sep|>original/README.md
pin_memory_profiler
===================
Test of writing a Pin tool to profile the memory usage of a 3rd party algorithm
Example run command, where FFT_example was the current working directory:
/usr/bin/time -v setarch x86_64 -R ~/pin-2.14-67254-gcc.4.4.7-linux/pin -t ../memory_profile/... | c022445e0b67bceb8e990bb2ec5972a1c6fe2ea1 | README.md | README.md | Markdown |
<|file_sep|>original/ctrl/models/_Base.php
<?php
class Base {
public $dbh;
public function __construct() {
$this->dbh = new PDO("mysql:host=localhost;dbname=test","test","test",array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
}
public function processPageSQL($params, $searchSQL) {
$page = $pa... | <?php
class Base {
public $dbh;
public function __construct() {
$this->dbh = new PDO("mysql:host=localhost;dbname=test","test","test",array(PDO::ATTR_PERSISTENT => TRUE, PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
}
public function processPageSQL($params, $searchSQL) {
$page = $params["page"] ... | <|file_sep|>original/ctrl/models/_Base.php
<?php
class Base {
public $dbh;
public function __construct() {
$this->dbh = new PDO("mysql:host=localhost;dbname=test","test","test",array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
}
public function processPageSQL($params, $searchSQL) {
$page = $pa... | efeda54083fc6d6dca5ed5a80ace105fc1dea5c2 | ctrl/models/_Base.php | ctrl/models/_Base.php | PHP |
<|file_sep|>original/rn-cli.config.js
* folders are excluded so we can execute tests in the Playground.
*
* TODO: do this only in the "playground" environment (not in production)
*
* See: https://github.com/facebook/metro/blob/01ab028d4fb3600c89438b0b7916ec8350f8f71a/packages/metro/src/blacklist.js#L17
*/
const s... | * folders are excluded so we can execute tests in the Playground.
*
* TODO: do this only in the "playground" environment (not in production)
*
* See: https://github.com/facebook/metro/blob/01ab028d4fb3600c89438b0b7916ec8350f8f71a/packages/metro/src/blacklist.js#L17
*/
const sharedBlacklist = [
/node_modules[/\\... | <|file_sep|>original/rn-cli.config.js
* folders are excluded so we can execute tests in the Playground.
*
* TODO: do this only in the "playground" environment (not in production)
*
* See: https://github.com/facebook/metro/blob/01ab028d4fb3600c89438b0b7916ec8350f8f71a/packages/metro/src/blacklist.js#L17
*/
const s... | babdd06e5a96f237203c6b84023ff46d197dcb34 | rn-cli.config.js | rn-cli.config.js | JavaScript |
<|file_sep|>original/src/main/thrift/mediaServer.thrift
namespace * com.kurento.kms.api
include "common.thrift"
include "mediaSession.thrift"
struct ServerConfig {
1: optional i32 mediaSessionServicePort,
2: optional i32 networkConnectionServicePort,
3: optional i32 mixerServicePort,
}
service MediaServerService ... | namespace * com.kurento.kms.api
include "common.thrift"
include "mediaSession.thrift"
struct ServerConfig {
1: optional i32 mediaSessionServicePort,
2: optional i32 networkConnectionServicePort,
3: optional i32 mixerServicePort,
4: optional i32 serverServicePort,
}
service MediaServerService {
/**
* Gets curr... | <|file_sep|>original/src/main/thrift/mediaServer.thrift
namespace * com.kurento.kms.api
include "common.thrift"
include "mediaSession.thrift"
struct ServerConfig {
1: optional i32 mediaSessionServicePort,
2: optional i32 networkConnectionServicePort,
3: optional i32 mixerServicePort,
}
service MediaServerService ... | 3f473e013b5bd38c8e55259f294c58c0240b1f5d | src/main/thrift/mediaServer.thrift | src/main/thrift/mediaServer.thrift | Thrift |
<|file_sep|>original/src/pages/resultsView/expression/styles.scss
.form-group {
margin-right:15px;
padding-right:15px;
border-right:1px dashed $borderColor;
display:flex !important;
align-items: center;
h5 {
font-weight:bold !important;
margin-right:5px;
}
&:last-child {
... | .form-group {
margin-right:15px;
padding-right:15px;
border-right:1px dashed $borderColor;
display:flex !important;
align-items: center;
h5 {
font-weight:bold !important;
margin-right:5px;
margin-bottom: 0px;
}
&:last-child {
border-right:none;
}
}
| <|file_sep|>original/src/pages/resultsView/expression/styles.scss
.form-group {
margin-right:15px;
padding-right:15px;
border-right:1px dashed $borderColor;
display:flex !important;
align-items: center;
h5 {
font-weight:bold !important;
margin-right:5px;
}
&:last-child {
... | e449a5db5f5e3aa60ca9d52e19daa69e0742855a | src/pages/resultsView/expression/styles.scss | src/pages/resultsView/expression/styles.scss | SCSS |
<|file_sep|>original/src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy
<|file_sep|>current/src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy
<|file_sep|>updated/src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy | /*
* This file is part of the gradle-release plugin.
*
* (c) Eric Berry
* (c) ResearchGate GmbH
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package net.researchgate.release.cli
import spock.lang.Specification
public class E... | <|file_sep|>original/src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy
<|file_sep|>current/src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy
<|file_sep|>updated/src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy
/*
* This file is part of the gradle-release plugin.
*
*... | a7cb8c3a78e6026c7ae5296504eb9b9cbcf8c33d | src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy | src/test/groovy/net/researchgate/release/cli/ExecutorTests.groovy | Groovy |
<|file_sep|>original/ptt_preproc_to_target.py
#!/usr/bin/env python
import json
from pathlib import Path
import ptt_core
l = ptt_core.l
_TARGETS_DIR_PATH = Path('targets')
if not _TARGETS_DIR_PATH.exists():
_TARGETS_DIR_PATH.mkdir()
def generate_target_from(json_path):
l.info('Generate target from {} .... | #!/usr/bin/env python
import json
from pathlib import Path
import ptt_core
l = ptt_core.l
_TARGETS_DIR_PATH = Path('targets/')
if not _TARGETS_DIR_PATH.exists():
_TARGETS_DIR_PATH.mkdir()
def generate_target_from(json_path):
l.info('Generate target from {} ...'.format(json_path))
txt_path = _TARGE... | <|file_sep|>original/ptt_preproc_to_target.py
#!/usr/bin/env python
import json
from pathlib import Path
import ptt_core
l = ptt_core.l
_TARGETS_DIR_PATH = Path('targets')
if not _TARGETS_DIR_PATH.exists():
_TARGETS_DIR_PATH.mkdir()
def generate_target_from(json_path):
l.info('Generate target from {} .... | 0225a79fa43f03a48a6134fce4122ae243a10df2 | ptt_preproc_to_target.py | ptt_preproc_to_target.py | Python |
<|file_sep|>original/config/initializers/omniauth.rb
OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET']
end
<|file_sep|>current/config/initializers/omniauth.rb
OmniAuth.config.logger = Rails.logger
Rails... | OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET'],
{
prompt: "none",
image_aspect_ratio: "square",
image_size: 40
}
end | <|file_sep|>original/config/initializers/omniauth.rb
OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET']
end
<|file_sep|>current/config/initializers/omniauth.rb
OmniAuth.config.logger = Rails.logger
Rails... | d557614a702b87afb2e6136a82c5b267c4054f52 | config/initializers/omniauth.rb | config/initializers/omniauth.rb | Ruby |
<|file_sep|>original/app/views/index.xml
<Alloy>
<Window>
<ScrollableView id="scroller">
<View id='redView' backgroundColor="#a00" layout='vertical'>
<View layout='horizontal' width='Ti.UI.SIZE' height='Ti.UI.SIZE'>
<Label>Count: </Label>
<Label id='count' color='white'>000</Label>
</View>
<... | <Alloy>
<Window>
<ScrollableView id="scroller">
<View id='redView' backgroundColor="#a00" layout='vertical'>
<View layout='horizontal' width='Ti.UI.SIZE' height='Ti.UI.SIZE'>
<Label>Count: </Label>
<Label id='count' color='white'>000</Label>
</View>
<Button id='increment' title='Increment' o... | <|file_sep|>original/app/views/index.xml
<Alloy>
<Window>
<ScrollableView id="scroller">
<View id='redView' backgroundColor="#a00" layout='vertical'>
<View layout='horizontal' width='Ti.UI.SIZE' height='Ti.UI.SIZE'>
<Label>Count: </Label>
<Label id='count' color='white'>000</Label>
</View>
<... | 4807cd1b3610630339e294386d1acd19528a5bc2 | app/views/index.xml | app/views/index.xml | XML |
<|file_sep|>original/_notes/tool/linux/display_management.md
<|file_sep|>current/_notes/tool/linux/display_management.md
<|file_sep|>updated/_notes/tool/linux/display_management.md | ---
doc: https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling
---
## Usage
Turn the screen off:
```shell
xset dpms force off
```
Get screen mode (On/Off):
```shell
xset q | sed -nE 's/^\s+Monitor is (\w+)$/\1/p'
``` | <|file_sep|>original/_notes/tool/linux/display_management.md
<|file_sep|>current/_notes/tool/linux/display_management.md
<|file_sep|>updated/_notes/tool/linux/display_management.md
---
doc: https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling
---
## Usage
Turn the screen off:
```shell
xset dpms ... | 9be9eeef8affbaf2a46470676f928a2c1e5ccabc | _notes/tool/linux/display_management.md | _notes/tool/linux/display_management.md | Markdown |
<|file_sep|>original/scss/components/_sticky.scss
.sticky {
position: relative;
z-index: 0;
transform: translate3d(0, 0, 0);
}
.sticky.is-stuck {
position: fixed;
z-index: 5;
&.is-at-top {
top: 0;
}
&.is-at-bottom {
bottom: 0;
}
}
.sticky.is-anchored {
<|fi... |
.sticky {
position: relative;
z-index: 0;
transform: translate3d(0, 0, 0);
}
.sticky.is-stuck {
position: fixed;
z-index: 5;
width: 100%;
&.is-at-top {
top: 0;
}
&.is-at-bottom {
bottom: 0;
}
}
| <|file_sep|>original/scss/components/_sticky.scss
.sticky {
position: relative;
z-index: 0;
transform: translate3d(0, 0, 0);
}
.sticky.is-stuck {
position: fixed;
z-index: 5;
&.is-at-top {
top: 0;
}
&.is-at-bottom {
bottom: 0;
}
}
.sticky.is-anchored {
<|fi... | 6659b6f002cd8bd00a34e555be9e5f539cb9c9b1 | scss/components/_sticky.scss | scss/components/_sticky.scss | SCSS |
<|file_sep|>original/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
const val LOG_DEFAULT_LEVEL = 1
const val LOG_MAX_LEVEL = 3
val BUILD_FILE_NAME = "Build.kt"
val BUILD_FILE_DIRECTORY = "kobalt/src"
val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIRECTORY, BUILD_FILE_NAME... | const val LOG_DEFAULT_LEVEL = 1
const val LOG_MAX_LEVEL = 3
val BUILD_FILE_NAME = "Build.kt"
val BUILD_FILE_DIRECTORY = "kobalt/src"
val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIRECTORY, BUILD_FILE_NAME)
val KOTLIN_COMPILER_VERSION = "1.1.0-beta-22"
internal val DEFAULT_REPOS = listOf<... | <|file_sep|>original/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
const val LOG_DEFAULT_LEVEL = 1
const val LOG_MAX_LEVEL = 3
val BUILD_FILE_NAME = "Build.kt"
val BUILD_FILE_DIRECTORY = "kobalt/src"
val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIRECTORY, BUILD_FILE_NAME... | a3cd1ea7f24a8fe5e3c10bd8c42a6ab54bb32d85 | modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt | modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt | Kotlin |
<|file_sep|>original/README.rst
===============================
os-performance-tools
===============================
Python scripts for use in OpenStack's Performance Measurement
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/os-performance-tools
* Source: http://opendev.org/ope... | ===============================
os-performance-tools
===============================
Python scripts for use in OpenStack's Performance Measurement
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/os-performance-tools
* Source: http://opendev.org/openstack/os-performance-tools
* Bu... | <|file_sep|>original/README.rst
===============================
os-performance-tools
===============================
Python scripts for use in OpenStack's Performance Measurement
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/os-performance-tools
* Source: http://opendev.org/ope... | 9af6fc2692243ce7fba49efff1d47d01470dfa7e | README.rst | README.rst | reStructuredText |
<|file_sep|>original/tests/RequestHandler/AsynchronousRequestHandlerTest.php
<|file_sep|>current/tests/RequestHandler/AsynchronousRequestHandlerTest.php
<|file_sep|>updated/tests/RequestHandler/AsynchronousRequestHandlerTest.php | <?php
namespace ThisData\Api\RequestHandler;
use GuzzleHttp\Client;
use GuzzleHttp\Promise\Promise;
use GuzzleHttp\Psr7\Request;
use ThisData\Api\ResponseManager\AssuredResponseManager;
class AsynchronousRequestHandlerTest extends \PHPUnit_Framework_TestCase
{
public function testHandle()
{
$response... | <|file_sep|>original/tests/RequestHandler/AsynchronousRequestHandlerTest.php
<|file_sep|>current/tests/RequestHandler/AsynchronousRequestHandlerTest.php
<|file_sep|>updated/tests/RequestHandler/AsynchronousRequestHandlerTest.php
<?php
namespace ThisData\Api\RequestHandler;
use GuzzleHttp\Client;
use GuzzleHttp\Prom... | e9d993eca344f6fb8a37eeeaacf4ab1d9d17536e | tests/RequestHandler/AsynchronousRequestHandlerTest.php | tests/RequestHandler/AsynchronousRequestHandlerTest.php | PHP |
<|file_sep|>original/files/maybe-upgrade.sh
# 3: Could not reach etcd, but we also haven't been initialised ourselves.
python -m jiocloud.orchestrate pending_update
rv=$?
export http_proxy="http://10.135.121.138:3128/"
export https_proxy="http://10.135.121.138:3128/"
export no_proxy="127.0.0.1,localhost,10.135.127.35... | # 3: Could not reach etcd, but we also haven't been initialised ourselves.
python -m jiocloud.orchestrate pending_update
rv=$?
export http_proxy="http://10.135.121.138:3128/"
export https_proxy="http://10.135.121.138:3128/"
export no_proxy="127.0.0.1,localhost,10.135.127.35"
run_puppet() {
puppet apply --logdest=sy... | <|file_sep|>original/files/maybe-upgrade.sh
# 3: Could not reach etcd, but we also haven't been initialised ourselves.
python -m jiocloud.orchestrate pending_update
rv=$?
export http_proxy="http://10.135.121.138:3128/"
export https_proxy="http://10.135.121.138:3128/"
export no_proxy="127.0.0.1,localhost,10.135.127.35... | 3ade9ece869e2d17a5d68bdf3f0e90ebdfb16d7a | files/maybe-upgrade.sh | files/maybe-upgrade.sh | Shell |
<|file_sep|>original/circle.yml
machine:
xcode:
version: "7.0"
dependencies:
pre:
- scripts/cisetup
- brew install carthage
override:
- carthage bootstrap --platform ios,mac
test:
pre:
- sudo chown :wheel /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ *.simruntime/Contents/Resourc... | machine:
xcode:
version: "7.0"
dependencies:
pre:
- scripts/cisetup
- curl -O -L https://github.com/Carthage/Carthage/releases/download/0.9.4/Carthage.pkg && sudo installer -pkg Carthage.pkg -target /
override:
- carthage bootstrap --platform ios,mac
test:
pre:
- sudo chown :wheel /Library... | <|file_sep|>original/circle.yml
machine:
xcode:
version: "7.0"
dependencies:
pre:
- scripts/cisetup
- brew install carthage
override:
- carthage bootstrap --platform ios,mac
test:
pre:
- sudo chown :wheel /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ *.simruntime/Contents/Resourc... | 67aa5bc475659e8777dbaafe1fd0ee10008fc170 | circle.yml | circle.yml | YAML |
<|file_sep|>original/.github/workflows/build.yml
name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
... | name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.n... | <|file_sep|>original/.github/workflows/build.yml
name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
... | df458318f7235ae62827101170c19ef95f8a4e06 | .github/workflows/build.yml | .github/workflows/build.yml | YAML |
<|file_sep|>lib/meal_tracker/cli.ex.diff
original:
alias MealTracker.Commands.{Add, Edit, Help, List, Status, Version}
updated:
alias MealTracker.Command
alias MealTracker.Commands.Help
<|file_sep|>lib/meal_tracker/cli.ex.diff
original:
defp handle_command("add", options), do: Add.run(options)
defp handle_com... | end
end
defp handle_command(command, options) do
case get_commands()[command] do
nil ->
IO.puts("Unknown command: #{command}\n\n")
Help.run([])
exit({:shutdown, 1})
mod ->
apply(mod, :run, [options])
end
end
defp get_commands do
Command.load_all()... | <|file_sep|>lib/meal_tracker/cli.ex.diff
original:
alias MealTracker.Commands.{Add, Edit, Help, List, Status, Version}
updated:
alias MealTracker.Command
alias MealTracker.Commands.Help
<|file_sep|>lib/meal_tracker/cli.ex.diff
original:
defp handle_command("add", options), do: Add.run(options)
defp handle_com... | 05d839eecc1216d1984a422b35e606dd821932e5 | lib/meal_tracker/cli.ex | lib/meal_tracker/cli.ex | Elixir |
<|file_sep|>original/README.rst
for container in conn.object_store.containers():
print(container.name)
Documentation
-------------
Rackspace-specific documentation is not currently available.
Documentation for the OpenStack SDK is available at
http://python-openstacksdk.readthedocs.org/en/latest/
Require... |
for container in conn.object_store.containers():
print(container.name)
Documentation
-------------
Rackspace-specific documentation is not currently available.
Documentation for the OpenStack SDK is available at
http://developer.openstack.org/sdks/python/openstacksdk/
Requirements
------------
* Python ... | <|file_sep|>original/README.rst
for container in conn.object_store.containers():
print(container.name)
Documentation
-------------
Rackspace-specific documentation is not currently available.
Documentation for the OpenStack SDK is available at
http://python-openstacksdk.readthedocs.org/en/latest/
Require... | 7012eed047c8d75d2ca5a6ccbe5d0a6432eb0561 | README.rst | README.rst | reStructuredText |
<|file_sep|>original/core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java
<|file_sep|>current/core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java
<|file_sep|>updated/core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java | package org.ow2.chameleon.rose.util;
import org.osgi.framework.ServiceReference;
import org.osgi.service.log.LogService;
public class DefaultLogService implements LogService {
public void log(int level, String message) {
System.out.println("["+getLevel(level)+"] "+ message);
}
public void log(int level, Strin... | <|file_sep|>original/core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java
<|file_sep|>current/core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java
<|file_sep|>updated/core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java
package org.ow2.chameleon.rose.util;
import or... | 1bfc14363c1e5d1b3f8400cb983bfb0b6431edfb | core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java | core/src/main/java/org/ow2/chameleon/rose/util/DefaultLogService.java | Java |
<|file_sep|>numeric-string/numeric-string.js.diff
original:
var string = ('' + number).split('.'),
length = string[0].length,
updated:
var parts = ('' + number).split('.'),
length = parts[0].length,
<|file_sep|>numeric-string/numeric-string.js.diff
original:
string[0] = string[0].substr(0, length... |
while (--length) {
places += 1;
// At every third position we want to insert a comma
if (places % 3 === 0) {
parts[0] = parts[0].substr(0, length) + ',' + parts[0].substr(length);
}
}
return parts.join('.');
};
// Example using regular expression - let me know if I can skip the split step... | <|file_sep|>numeric-string/numeric-string.js.diff
original:
var string = ('' + number).split('.'),
length = string[0].length,
updated:
var parts = ('' + number).split('.'),
length = parts[0].length,
<|file_sep|>numeric-string/numeric-string.js.diff
original:
string[0] = string[0].substr(0, length... | e53e51c0adf5a027148067ccbf06535e49bea469 | numeric-string/numeric-string.js | numeric-string/numeric-string.js | JavaScript |
<|file_sep|>original/ci.sh
#!/bin/sh
dotnet restore
dotnet clean -c Release
# netcoreapp3.1 only as test csproj also targets others
dotnet build rm.Extensions.sln \
-c Release \
-f netcoreapp3.1
dotnet test tests/rm.ExtensionsTest/rm.ExtensionsTest.csproj \
-c Release --no-build --no-restore \
-f netcoreapp3.1
<|f... | #!/bin/sh
dotnet restore
dotnet clean -c Release
# netcoreapp3.1 only as test csproj also targets others
dotnet build rm.Extensions.sln \
-c Release \
-f netcoreapp3.1
dotnet test tests/rm.ExtensionsTest/rm.ExtensionsTest.csproj \
-c Release --no-build --no-restore \
-f netcoreapp3.1 \
-v normal | <|file_sep|>original/ci.sh
#!/bin/sh
dotnet restore
dotnet clean -c Release
# netcoreapp3.1 only as test csproj also targets others
dotnet build rm.Extensions.sln \
-c Release \
-f netcoreapp3.1
dotnet test tests/rm.ExtensionsTest/rm.ExtensionsTest.csproj \
-c Release --no-build --no-restore \
-f netcoreapp3.1
<|f... | c525bc878173d1bb8fdc0b25d63c9b694c58f56d | ci.sh | ci.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false # http://docs.travis-ci.com/user/workers/container-based-infrastructure/
<|file_sep|>.travis.yml.diff
original:
- 0.8
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.10
- 0.11
notifications:
email:
- medikoo+i18n... | sudo: false # http://docs.travis-ci.com/user/workers/container-based-infrastructure/
language: node_js
node_js:
- 0.10
- 0.12
- iojs
notifications:
email:
- medikoo+i18n2-md-to-dom@medikoo.com
script: "npm test && npm run lint" | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false # http://docs.travis-ci.com/user/workers/container-based-infrastructure/
<|file_sep|>.travis.yml.diff
original:
- 0.8
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.10
- 0.11
notifications:
email:
- medikoo+i18n... | 3caeac581b9a7c5a691ea35cf2276d0e31d48a9a | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/un/unconstrained.yaml.diff
original:
hash: a3f78e5e80cc62b9ef3f6c606e69fb5391416a8bb439ea172a8cd1dec5df0415
updated:
hash: e3be5ea44350c5ce9d5f54d0f42c9b5b0639eb0343e9bf7802fb579788a2507c
<|file_sep|>packages/un/unconstrained.yaml.diff
original:
basic-deps:
base: ! '>=4 && <5'
updated:
basic-deps... | homepage: ''
changelog-type: ''
hash: e3be5ea44350c5ce9d5f54d0f42c9b5b0639eb0343e9bf7802fb579788a2507c
test-bench-deps: {}
maintainer: strake888@gmail.com
synopsis: Null constraint
changelog: ''
basic-deps: {}
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
author: M Farkas-Dyck
latest: '0.1.0.2'
description-type: ha... | <|file_sep|>packages/un/unconstrained.yaml.diff
original:
hash: a3f78e5e80cc62b9ef3f6c606e69fb5391416a8bb439ea172a8cd1dec5df0415
updated:
hash: e3be5ea44350c5ce9d5f54d0f42c9b5b0639eb0343e9bf7802fb579788a2507c
<|file_sep|>packages/un/unconstrained.yaml.diff
original:
basic-deps:
base: ! '>=4 && <5'
updated:
basic-deps... | fbb5f8a2912ccb1ebaade07bade8319a53bf1269 | packages/un/unconstrained.yaml | packages/un/unconstrained.yaml | YAML |
<|file_sep|>original/app/src/index.js
require('babelify/polyfill');
const config = require('./config');
const SculptureApp = require('./app');
const DEFAULT_CLIENT_CONNECTION_OPTIONS = {
protocol: "ws",
username: "anyware",
password: "anyware",
host: "broker.shiftr.io"
};
const app = new SculptureApp(config... | require('babelify/polyfill');
const config = require('./config');
const SculptureApp = require('./app');
const DEFAULT_CLIENT_CONNECTION_OPTIONS = {
protocol: "ws",
username: "sculpture0",
password: "7f24a3e73b91dc9f51f15861d75c888b",
host: "broker.shiftr.io"
};
const app = new SculptureApp(config);
const ... | <|file_sep|>original/app/src/index.js
require('babelify/polyfill');
const config = require('./config');
const SculptureApp = require('./app');
const DEFAULT_CLIENT_CONNECTION_OPTIONS = {
protocol: "ws",
username: "anyware",
password: "anyware",
host: "broker.shiftr.io"
};
const app = new SculptureApp(config... | e8081ee5d7ecafeb9ca34560fc0129bbf55efa6a | app/src/index.js | app/src/index.js | JavaScript |
<|file_sep|>original/README.md
gwt-webpoller-example
=====================
[](http://travis-ci.org/realityforge/gwt-webpoller-example)
A sample application that demonstrates the use of the [gwt-webpoller](https://github.... | gwt-webpoller-example
=====================
[](http://travis-ci.org/realityforge/gwt-webpoller-example)
A sample application that demonstrates the use of the [gwt-webpoller](https://github.com/realityforge/gwt-webpoller)... | <|file_sep|>original/README.md
gwt-webpoller-example
=====================
[](http://travis-ci.org/realityforge/gwt-webpoller-example)
A sample application that demonstrates the use of the [gwt-webpoller](https://github.... | 4af90dd599aca48f62c2b1ecd20ef20b1a4d8c38 | README.md | README.md | Markdown |
<|file_sep|>original/corehq/apps/commtrack/management/commands/check_multiple_parentage.py
<|file_sep|>current/corehq/apps/commtrack/management/commands/check_multiple_parentage.py
<|file_sep|>updated/corehq/apps/commtrack/management/commands/check_multiple_parentage.py | from django.core.management.base import BaseCommand
from corehq.apps.domain.models import Domain
class Command(BaseCommand):
def handle(self, *args, **options):
self.stdout.write("Populating site codes...\n")
domains = Domain.get_all()
for d in domains:
if d.commtrack_enabled... | <|file_sep|>original/corehq/apps/commtrack/management/commands/check_multiple_parentage.py
<|file_sep|>current/corehq/apps/commtrack/management/commands/check_multiple_parentage.py
<|file_sep|>updated/corehq/apps/commtrack/management/commands/check_multiple_parentage.py
from django.core.management.base import BaseCom... | 5be2c671197ac8e0192341e1cd3a3cdaabe23353 | corehq/apps/commtrack/management/commands/check_multiple_parentage.py | corehq/apps/commtrack/management/commands/check_multiple_parentage.py | Python |
<|file_sep|>original/public/javascripts/EventHandler.js
$(".draw-btn").on('click', Drawing.changeTab);
};
var upVote = function() {
jQueryObject = $(this);
if (jQueryObject.hasClass("red")) {
return;
}
var incomingUrl = window.location.search;
var msg = {
Content: $(this).parent().text... | $(".draw-btn").on('click', Drawing.changeTab);
};
var upVote = function() {
jQueryObject = $(this);
if (jQueryObject.hasClass("red")) {
return;
}
var incomingUrl = window.location.search;
var messageContent = $(this).parent().text().split(':');
var msg = {
Username: messageC... | <|file_sep|>original/public/javascripts/EventHandler.js
$(".draw-btn").on('click', Drawing.changeTab);
};
var upVote = function() {
jQueryObject = $(this);
if (jQueryObject.hasClass("red")) {
return;
}
var incomingUrl = window.location.search;
var msg = {
Content: $(this).parent().text... | 64c00b38e41ee351385b239bfe5accdae9d155d5 | public/javascripts/EventHandler.js | public/javascripts/EventHandler.js | JavaScript |
<|file_sep|>original/requirements.txt
StarCluster==0.95.5
boto==2.32.0
celery==3.1.16
requests==2.4.3
requests-toolbelt==0.3.0
jsonschema==2.4.0
easydict==1.5
<|file_sep|>current/requirements.txt
StarCluster==0.95.5
boto==2.32.0
celery==3.1.16
requests==2.4.3
requests-toolbelt==0.3.0
jsonschema==2.4.0
easydict==1.5
<|f... | git+https://github.com/cjh1/StarCluster.git@mpich2-slots_per_host#egg=StarCluster
boto==2.32.0
celery==3.1.16
requests==2.4.3
requests-toolbelt==0.3.0
jsonschema==2.4.0
easydict==1.5 | <|file_sep|>original/requirements.txt
StarCluster==0.95.5
boto==2.32.0
celery==3.1.16
requests==2.4.3
requests-toolbelt==0.3.0
jsonschema==2.4.0
easydict==1.5
<|file_sep|>current/requirements.txt
StarCluster==0.95.5
boto==2.32.0
celery==3.1.16
requests==2.4.3
requests-toolbelt==0.3.0
jsonschema==2.4.0
easydict==1.5
<|f... | 6217f28a9e7a123e9716288ca494c41d889f7e92 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/ansible/roles/openshift/defaults/main.yml
developer_user: developer
developer_password: developer
nfs_root: /nfsshare
persistent_volumes: 5
deploy_logging: false
deploy_metrics: false
<|file_sep|>current/ansible/roles/openshift/defaults/main.yml
developer_user: developer
developer_password: develop... | developer_user: developer
developer_password: developer
nfs_root: /nfsshare
persistent_volumes: 5
deploy_logging: false
deploy_metrics: false
install_containerized: true | <|file_sep|>original/ansible/roles/openshift/defaults/main.yml
developer_user: developer
developer_password: developer
nfs_root: /nfsshare
persistent_volumes: 5
deploy_logging: false
deploy_metrics: false
<|file_sep|>current/ansible/roles/openshift/defaults/main.yml
developer_user: developer
developer_password: develop... | 2b44fef483d8828c80fe608d83fc72cf484022cf | ansible/roles/openshift/defaults/main.yml | ansible/roles/openshift/defaults/main.yml | YAML |
<|file_sep|>original/migrant.py
import argparse
import binascii
import datetime
import gzip
import json
import magic
import os
import pymongo
import sys
def read_gzip(filename):
with gzip.open(filename) as file:
content = file.read()
return content
def read_plain(filename):
with open(filename) ... | #!/usr/bin/env python
import argparse
import binascii
import datetime
import gzip
import json
import magic
import os
import pymongo
import sys
def read_gzip(filename):
with gzip.open(filename) as file:
content = file.read()
return content
def read_plain(filename):
with open(filename) as file: | <|file_sep|>original/migrant.py
import argparse
import binascii
import datetime
import gzip
import json
import magic
import os
import pymongo
import sys
def read_gzip(filename):
with gzip.open(filename) as file:
content = file.read()
return content
def read_plain(filename):
with open(filename) ... | 34f3d2d8c7828036deaeae7a78d33de2412759e3 | migrant.py | migrant.py | Python |
<|file_sep|>original/lib/winston.js
var data = {
level: level,
message: message,
meta: meta
};
sender.emit(data, (error) => {
if (error) {
this.emit('error', error);
callback(error, false);
} else {
this.emit('logged');
callback(null, true);
}
});
};
fluentTra... | var data = {
level: level,
message: message,
meta: meta
};
sender.emit(data, (error) => {
if (error) {
this.emit('error', error);
callback(error, false);
} else {
this.emit('logged');
callback(null, true);
}
});
};
fluentTransport.prototype.name = 'fluent';
mo... | <|file_sep|>original/lib/winston.js
var data = {
level: level,
message: message,
meta: meta
};
sender.emit(data, (error) => {
if (error) {
this.emit('error', error);
callback(error, false);
} else {
this.emit('logged');
callback(null, true);
}
});
};
fluentTra... | cd119e6ea2b7d0558120d949026c919c5675a8fa | lib/winston.js | lib/winston.js | JavaScript |
<|file_sep|>original/.travis.yml
language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
sudo: false
before_script:
- composer self-update && composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls
<|file_sep|>current/.travis.yml
la... | language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
sudo: false
before_script:
- composer self-update && composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls | <|file_sep|>original/.travis.yml
language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
sudo: false
before_script:
- composer self-update && composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls
<|file_sep|>current/.travis.yml
la... | 375bddf0214eed1b7745c10627842337a9b345ba | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/src/lib/notifications/show-notification.ts
body: string
userInfo?: DesktopAliveEvent
onClick: () => void
}
/**
* Shows a notification with a title, a body, and a function to handle when the
* user clicks on the notification.
*/
export async function showNotification(options: IShowNoti... | body: string
userInfo?: DesktopAliveEvent
onClick: () => void
}
/**
* Shows a notification with a title, a body, and a function to handle when the
* user clicks on the notification.
*/
export async function showNotification(options: IShowNotificationOptions) {
// `supportNotifications` checks if `desktop-no... | <|file_sep|>original/app/src/lib/notifications/show-notification.ts
body: string
userInfo?: DesktopAliveEvent
onClick: () => void
}
/**
* Shows a notification with a title, a body, and a function to handle when the
* user clicks on the notification.
*/
export async function showNotification(options: IShowNoti... | 5d62f75c6dc028cea5bc6ce7cf2aaa2dd99717f1 | app/src/lib/notifications/show-notification.ts | app/src/lib/notifications/show-notification.ts | TypeScript |
<|file_sep|>src/CollectionHelpers.ts.diff
original:
// Returns the last item from `items`.
export function last<T>(items: T[]): T {
return items[items.length - 1]
updated:
// Returns the last item from `collection`.
export function last<T>(collection: T[]): T {
return collection[collection.length - 1]
<|file_sep|>s... | }
// Returns the distinct items from `items`. The items' order is preserved.
export function distinct<T>(collection: T[]): T[] {
return collection.reduce((distinctItems, item) =>
(distinctItems.indexOf(item) !== -1)
? distinctItems
: distinctItems.concat([item])
, [])
}
// Returns the first non... | <|file_sep|>src/CollectionHelpers.ts.diff
original:
// Returns the last item from `items`.
export function last<T>(items: T[]): T {
return items[items.length - 1]
updated:
// Returns the last item from `collection`.
export function last<T>(collection: T[]): T {
return collection[collection.length - 1]
<|file_sep|>s... | 90024bedb75ce751a488e26b3e9af418f1d991ae | src/CollectionHelpers.ts | src/CollectionHelpers.ts | TypeScript |
<|file_sep|>src/damis/templates/damis/algorithm_form.html.diff
original:
<div class="span8 offset3">
updated:
<div class="tabbable"> <!-- Only required for left/right tabs -->
<ul class="nav nav-tabs" id="myTab2">
<li><a href="{% url 'algorithm-list' %}">{% trans "Algorithm list" %}</a></li>
<li class="ac... | {{ parameter_form.non_form_errors }}
{% for form in parameter_form %}
{{ form.id }}
<div class="inline">
{{ form.as_p}}
</div>
{% endfor %}
</fieldset>
<button class="btn" type='submit'>{% trans "Sav... | <|file_sep|>src/damis/templates/damis/algorithm_form.html.diff
original:
<div class="span8 offset3">
updated:
<div class="tabbable"> <!-- Only required for left/right tabs -->
<ul class="nav nav-tabs" id="myTab2">
<li><a href="{% url 'algorithm-list' %}">{% trans "Algorithm list" %}</a></li>
<li class="ac... | 31619d6bcd56a29825ce32cc23fcb0f49044e7ac | src/damis/templates/damis/algorithm_form.html | src/damis/templates/damis/algorithm_form.html | HTML |
<|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(lxqt-openssh-askpass)
build_component(".")
<|file_sep|>current/CMakeLists.txt
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(lxqt-openssh-askpass)
build_component(".")
<|file_sep|>updated/CMakeLists.txt | cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(lxqt-openssh-askpass)
build_component("." "") | <|file_sep|>original/CMakeLists.txt
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(lxqt-openssh-askpass)
build_component(".")
<|file_sep|>current/CMakeLists.txt
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(lxqt-openssh-askpass)
build_component(".")
<|file_sep|>updated/CMakeLists.txt
cmake_mi... | 7520406641a2cebf17388f37d8b10706bad75c3e | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/firecares/firestation/templates/firestation/_mobile_navbar.html
<nav class="ct-menuMobile text-uppercase">
<ul class="ct-menuMobile-navbar">
<li class="onepage"><a href="{% url 'firestation_home' %}#about">about firecares</a></li>
<li class="onepage"><a href="{% url 'firedepartm... | <nav class="ct-menuMobile text-uppercase">
<ul class="ct-menuMobile-navbar">
<li class="onepage"><a href="{% url 'firestation_home' %}#about">about</a></li>
<li class="onepage"><a href="{% url 'firedepartment_list' %}">search</a></li>
<li class="onepage"><a href="{% url 'media' %}">media</a>... | <|file_sep|>original/firecares/firestation/templates/firestation/_mobile_navbar.html
<nav class="ct-menuMobile text-uppercase">
<ul class="ct-menuMobile-navbar">
<li class="onepage"><a href="{% url 'firestation_home' %}#about">about firecares</a></li>
<li class="onepage"><a href="{% url 'firedepartm... | e6b7d89c266cc2d0ec084cad9e3a2f9653f1cba6 | firecares/firestation/templates/firestation/_mobile_navbar.html | firecares/firestation/templates/firestation/_mobile_navbar.html | HTML |
<|file_sep|>original/_site/js/controllers/NavbarCtrl.js
function NavbarCtrl($scope, $rootScope, $route, $location, Data) {
$scope.data = Data;
$scope.isActive = function(route) {
var path = $location.path();
if (path === '/')
path = '/queries';
return (('/' + route.toLo... |
function NavbarCtrl($scope, $rootScope, $route, $location, Data) {
$scope.data = Data;
$scope.data.host = 'http://' + window.location.host;
$scope.isActive = function(route) {
var path = $location.path();
if (path === '/')
path = '/queries';
return (('/' + route.to... | <|file_sep|>original/_site/js/controllers/NavbarCtrl.js
function NavbarCtrl($scope, $rootScope, $route, $location, Data) {
$scope.data = Data;
$scope.isActive = function(route) {
var path = $location.path();
if (path === '/')
path = '/queries';
return (('/' + route.toLo... | 89e1e48f48bf7083ec8692b86f84ce0b0b10b510 | _site/js/controllers/NavbarCtrl.js | _site/js/controllers/NavbarCtrl.js | JavaScript |
<|file_sep|>original/airflow/bin/airflow_scheduler_autorestart.sh
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | #
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the ... | <|file_sep|>original/airflow/bin/airflow_scheduler_autorestart.sh
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | fcc3c2f6e5860d5414752ace22160dbe19f68617 | airflow/bin/airflow_scheduler_autorestart.sh | airflow/bin/airflow_scheduler_autorestart.sh | Shell |
<|file_sep|>original/tests/SetTheory/ImmutableSetTest.php
<|file_sep|>current/tests/SetTheory/ImmutableSetTest.php
<|file_sep|>updated/tests/SetTheory/ImmutableSetTest.php | <?php
namespace Math\SetTheory;
class ImmutableSetTest extends \PHPUnit_Framework_TestCase
{
public function testAddDoesNothing()
{
$A = new ImmutableSet([1, 2, 3, 4]);
$B = $A->copy();
$A->add(5);
$A->add(6);
$A->add([7, 8, 9]);
$A->add(new Set(['a', 'b']));
... | <|file_sep|>original/tests/SetTheory/ImmutableSetTest.php
<|file_sep|>current/tests/SetTheory/ImmutableSetTest.php
<|file_sep|>updated/tests/SetTheory/ImmutableSetTest.php
<?php
namespace Math\SetTheory;
class ImmutableSetTest extends \PHPUnit_Framework_TestCase
{
public function testAddDoesNothing()
{
... | d624fd52d27dfa787900ce7031a0135583239f3a | tests/SetTheory/ImmutableSetTest.php | tests/SetTheory/ImmutableSetTest.php | PHP |
<|file_sep|>.travis.yml.diff
original:
"language": "objective-c",
updated:
"language": "swift",
<|file_sep|>original/.travis.yml
{
"language": "objective-c",
"osx_image": "xcode9",
"env": "SCHEME=\"MantleSample\" DESTINATION=\"platform=iOS Simulator,name=iPhone 6S\" RUN_TESTS=\"YES\" SEND_... | {
"language": "swift",
"osx_image": "xcode9",
"xcode_project": "MantleSample.xcworkspace",
"os": "osx"
} | <|file_sep|>.travis.yml.diff
original:
"language": "objective-c",
updated:
"language": "swift",
<|file_sep|>original/.travis.yml
{
"language": "objective-c",
"osx_image": "xcode9",
"env": "SCHEME=\"MantleSample\" DESTINATION=\"platform=iOS Simulator,name=iPhone 6S\" RUN_TESTS=\"YES\" SEND_... | 257c969014ff2b58d17e52f63609cb519d567b8d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/summingbird-scalding/src/main/scala/com/twitter/summingbird/scalding/service/EmptyService.scala
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... | you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIO... | <|file_sep|>original/summingbird-scalding/src/main/scala/com/twitter/summingbird/scalding/service/EmptyService.scala
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... | 3508c26c3a261dfe59e17cf715cb9e8018963c65 | summingbird-scalding/src/main/scala/com/twitter/summingbird/scalding/service/EmptyService.scala | summingbird-scalding/src/main/scala/com/twitter/summingbird/scalding/service/EmptyService.scala | Scala |
<|file_sep|>original/README.md
# bmsuite
business management suite
<|file_sep|>current/README.md
# bmsuite
business management suite
<|file_sep|>updated/README.md | # bmsuite
business management suite
<p align="center">
<img src="https://travis-ci.org/pkcool/bmsuite.svg?branch=master">
</p> | <|file_sep|>original/README.md
# bmsuite
business management suite
<|file_sep|>current/README.md
# bmsuite
business management suite
<|file_sep|>updated/README.md
# bmsuite
business management suite
<p align="center">
<img src="https://travis-ci.org/pkcool/bmsuite.svg?branch=master">
</p> | a455bec32798c141c8d28280a92209ab7561bbed | README.md | README.md | Markdown |
<|file_sep|>src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php.diff
original:
updated:
->select('p, c')
->leftJoin('p.comments', 'c')
<|file_sep|>src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php.diff
original:
updated:
->andWhere('c.isPublished = :published')
<|fi... | {
public function getPublishedPost($id)
{
return $this
->getActivePostsQueryBuilder('p')
->select('p, c')
->leftJoin('p.comments', 'c')
->andWhere('p.id = :id')
->andWhere('c.isPublished = :published')
->setParameter('id', $id)
... | <|file_sep|>src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php.diff
original:
updated:
->select('p, c')
->leftJoin('p.comments', 'c')
<|file_sep|>src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php.diff
original:
updated:
->andWhere('c.isPublished = :published')
<|fi... | 4a51efc495b3546071a55d3192094fdcca125a70 | src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php | src/SymfonyDay/Bundle/BlogBundle/Entity/PostRepository.php | PHP |
<|file_sep|>original/README.md
# jorin / home
This site is built on [Jekyll](jekyllrb.com/), [Pixyll](http://www.pixyll.com) and [Github Pages](https://pages.github.com/).
Thank you open source!
## Development
### Installing Jekyll
By using the Github Pages gem I can be sure it looks the same as in production.
Jus... | # jorin / home
This site is built on [Jekyll](http://jekyllrb.com/), [Pixyll](http://www.pixyll.com) and [Github Pages](https://pages.github.com/).
Thank you open source!
## Development
### Installing Jekyll
By using the Github Pages gem I can be sure it looks the same as in production.
Just run:
bundle
###... | <|file_sep|>original/README.md
# jorin / home
This site is built on [Jekyll](jekyllrb.com/), [Pixyll](http://www.pixyll.com) and [Github Pages](https://pages.github.com/).
Thank you open source!
## Development
### Installing Jekyll
By using the Github Pages gem I can be sure it looks the same as in production.
Jus... | cf4fb954f702a10aee23a2a5e885888d9daf1d3a | README.md | README.md | Markdown |
<|file_sep|>original/helm_deploy/cla-frontend/values-staging.yaml
# Default values for cla-frontend in a staging environment.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
environment: "staging"
envVars:
BACKEND_BASE_URI:
value: "https://laa-cla-backend-staging.apps.live-... | # Default values for cla-frontend in a staging environment.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
environment: "staging"
envVars:
BACKEND_BASE_URI:
value: "https://staging.fox.civillegaladvice.service.gov.uk"
GA_ID:
value: UA-37377084-24
GA_DOMAIN:
val... | <|file_sep|>original/helm_deploy/cla-frontend/values-staging.yaml
# Default values for cla-frontend in a staging environment.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
environment: "staging"
envVars:
BACKEND_BASE_URI:
value: "https://laa-cla-backend-staging.apps.live-... | 99e8b6d8e43f201c9b3fd063f906db5760a14609 | helm_deploy/cla-frontend/values-staging.yaml | helm_deploy/cla-frontend/values-staging.yaml | YAML |
<|file_sep|>recipes/dec2/meta.yaml.diff
original:
{% set version = "0.2.0" %}
updated:
{% set version = "0.2.1" %}
<|file_sep|>recipes/dec2/meta.yaml.diff
original:
md5: 1e32ab51d2f159095c828a81fa430e9e
updated:
md5: 6ce7d6eb13105f7f7697f2ce80250018
<|file_sep|>recipes/dec2/meta.yaml.diff
original:
- six
- ... | - boto3
- pyyaml
test:
imports:
- dec2
- dec2.cli
- dec2.tests
- dec2.tests.salt
commands:
- dec2 --help
about:
home: https://github.com/dask/dec2
license: Apache 2.0
summary: 'Start a cluster in EC2 for dask.distributed'
extra:
recipe-maintainers:
- danielfrg
- koverh... | <|file_sep|>recipes/dec2/meta.yaml.diff
original:
{% set version = "0.2.0" %}
updated:
{% set version = "0.2.1" %}
<|file_sep|>recipes/dec2/meta.yaml.diff
original:
md5: 1e32ab51d2f159095c828a81fa430e9e
updated:
md5: 6ce7d6eb13105f7f7697f2ce80250018
<|file_sep|>recipes/dec2/meta.yaml.diff
original:
- six
- ... | 33aea6cb99f185c016d7e9ce389bf96c56727196 | recipes/dec2/meta.yaml | recipes/dec2/meta.yaml | YAML |
<|file_sep|>original/test/cli.js
var cp = require('child_process');
var expect = require('expect.js');
module.exports = function () {
describe('CLI', function () {
it('should error if task file does not exist', function (done) {
cp.exec('node bin/automaton something-that-will-never-exist', ... | var cp = require('child_process');
var expect = require('expect.js');
module.exports = function () {
describe('CLI', function () {
this.timeout(10000); // Increase the timeout to let the update-notifier do it's job
it('should error if task file does not exist', function (done) {
cp... | <|file_sep|>original/test/cli.js
var cp = require('child_process');
var expect = require('expect.js');
module.exports = function () {
describe('CLI', function () {
it('should error if task file does not exist', function (done) {
cp.exec('node bin/automaton something-that-will-never-exist', ... | 70fa3a2dd8da7644dcbdc25f331b4d2a26aa2c7a | test/cli.js | test/cli.js | JavaScript |
<|file_sep|>original/generator/opentable_scoring.cpp
#include "generator/sponsored_scoring.hpp"
#include "generator/opentable_dataset.hpp"
#include "generator/feature_builder.hpp"
namespace
{
// Calculated with tools/python/booking_hotels_quality.py.
double constexpr kOptimalThreshold = 0.304875;
} // namespace
nam... | #include "generator/sponsored_scoring.hpp"
#include "generator/opentable_dataset.hpp"
#include "generator/feature_builder.hpp"
namespace
{
// Calculated with tools/python/booking_hotels_quality.py.
double constexpr kOptimalThreshold = 0.312887;
} // namespace
namespace generator
{
namespace sponsored_scoring
{
temp... | <|file_sep|>original/generator/opentable_scoring.cpp
#include "generator/sponsored_scoring.hpp"
#include "generator/opentable_dataset.hpp"
#include "generator/feature_builder.hpp"
namespace
{
// Calculated with tools/python/booking_hotels_quality.py.
double constexpr kOptimalThreshold = 0.304875;
} // namespace
nam... | 51ada39cfcd80ecb45032b6e18ec1a076a01de04 | generator/opentable_scoring.cpp | generator/opentable_scoring.cpp | C++ |
<|file_sep|>original/_config.yml
name: Romain Berger
markdown: redcarpet
pygments: true
<|file_sep|>current/_config.yml
name: Romain Berger
markdown: redcarpet
pygments: true
<|file_sep|>updated/_config.yml | name: Romain Berger
markdown: redcarpet
exclude:
- Rakefile
- Makefile
- Readme.md
- config.rb
- sprites
- '*.scss' | <|file_sep|>original/_config.yml
name: Romain Berger
markdown: redcarpet
pygments: true
<|file_sep|>current/_config.yml
name: Romain Berger
markdown: redcarpet
pygments: true
<|file_sep|>updated/_config.yml
name: Romain Berger
markdown: redcarpet
exclude:
- Rakefile
- Makefile
- Readme.md
- config.rb
... | ca9213e3ebfcc56d269c1434c549d833056a516c | _config.yml | _config.yml | YAML |
<|file_sep|>LICENSE.txt.diff
original:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,... | Copyright (c) 2013 City of Chicago
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, su... | <|file_sep|>LICENSE.txt.diff
original:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,... | 1dc195df0b580d7b53a2910332b3249b408c547e | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>packages/db/src/schema.js.diff
original:
};
const getFirstVersion = (composite: Composite) => {
let ctx = composite;
while (ctx.lastVersion) {
ctx = ctx.lastVersion;
}
return ctx;
};
const everyVersionDo = (composite: Composite, fn: Composite => *) => {
let ctx = getFirstVersion(composite)... | /** Validates and indexes a collection of types. */
export default class Schema {
_types: Map<string, Composite> = new Map();
/**
* @param {Object} types - A map of root-level types.
*/
constructor(types: GraphEntryPoints) {
const searchForTypes = (composite: Composite) => {
for (const type of C... | <|file_sep|>packages/db/src/schema.js.diff
original:
};
const getFirstVersion = (composite: Composite) => {
let ctx = composite;
while (ctx.lastVersion) {
ctx = ctx.lastVersion;
}
return ctx;
};
const everyVersionDo = (composite: Composite, fn: Composite => *) => {
let ctx = getFirstVersion(composite)... | 9523f2ef6a49757b18da9e5fa27af54dce9ace32 | packages/db/src/schema.js | packages/db/src/schema.js | JavaScript |
<|file_sep|>original/locales/my/webextension.properties
# Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifi... | # Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifier key used in the shortcut (do not translate it): for e... | <|file_sep|>original/locales/my/webextension.properties
# Clip in this context refers to a portion of an image
# Also used for the title on the toolbar button
# The string "{meta_key}-V" should be translated to the region-specific
# shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the
# modifi... | 0dd1213c733724b1fbb47ae9e8437103accfc1d4 | locales/my/webextension.properties | locales/my/webextension.properties | INI |
<|file_sep|>original/.rubocop.yml
# Don't enforce top-level class and module documentation
Style/Documentation:
Enabled: false
# Don't enforce underscores for large numeric values
Style/NumericLiterals:
Enabled: false
# Don't enforce implicit return
Style/RedundantReturn:
Enabled: false
# Don't enforce implici... | # Allow methods of up to 20 lines of code
Metrics/MethodLength:
Max: 20
# Don't enforce top-level class and module documentation
Style/Documentation:
Enabled: false
# Don't enforce underscores for large numeric values
Style/NumericLiterals:
Enabled: false
# Don't enforce implicit return
Style/RedundantReturn:
... | <|file_sep|>original/.rubocop.yml
# Don't enforce top-level class and module documentation
Style/Documentation:
Enabled: false
# Don't enforce underscores for large numeric values
Style/NumericLiterals:
Enabled: false
# Don't enforce implicit return
Style/RedundantReturn:
Enabled: false
# Don't enforce implici... | b2433b5ceffd8cbeca3ea115dd63546908f82040 | .rubocop.yml | .rubocop.yml | YAML |
<|file_sep|>original/project/plugins.sbt
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10"
// https://github.com/coursier/coursier/issues/450
classpathTypes += "maven-plugin"
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
ad... | libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10"
// https://github.com/coursier/coursier/issues/450
classpathTypes += "maven-plugin"
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.eed3si9n" % "sbt-buildinf... | <|file_sep|>original/project/plugins.sbt
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.10"
// https://github.com/coursier/coursier/issues/450
classpathTypes += "maven-plugin"
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.34")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
ad... | 52f7b65fd21915ae5599b510be4a90d166ff3b2b | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
##Performance
I have been able to get conversion and rotation times to around the same speed as the ```gm``` command line utility. I will do further optimisation in future releases to try and bring this time down a little.
<|... |
``` hg clone http://hg.code.sf.net/p/graphicsmagick/code GM_SRC ```
``` cd GM_SRC ```
``` ./configure ``` ( or on OS X ``` ./configure CC=clang --enable-shared```)
``` make ```
You also need go1.2 (available from homebrew on OS X and most repos on Linux)
##Development
###Authors
* Lawrence Goldstien: github.com... | <|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
updated:
##Performance
I have been able to get conversion and rotation times to around the same speed as the ```gm``` command line utility. I will do further optimisation in future releases to try and bring this time down a little.
<|... | 1ab1f916a40806780d4ae58c5f60c624ca2c7b9e | README.md | README.md | Markdown |
<|file_sep|>original/app/views/home/index.html.erb
<h1>Home#index</h1>
<p>Find me in app/views/home/index.html.erb</p>
<p><em>Logged in as <%= @current_user.name %> (<%= @current_user.email %>)</em></p>
<|file_sep|>current/app/views/home/index.html.erb
<h1>Home#index</h1>
<p>Find me in app/views/home/index.html.erb</p>... | <h1>Hack Week Home</h1>
<p>Welcome to the Hack Week web site.</p>
<p><%= link_to "Projects", :controller => "projects" %></p>
<p><em>Logged in as <%= @current_user.name %> (<%= @current_user.email %>)</em></p> | <|file_sep|>original/app/views/home/index.html.erb
<h1>Home#index</h1>
<p>Find me in app/views/home/index.html.erb</p>
<p><em>Logged in as <%= @current_user.name %> (<%= @current_user.email %>)</em></p>
<|file_sep|>current/app/views/home/index.html.erb
<h1>Home#index</h1>
<p>Find me in app/views/home/index.html.erb</p>... | 223d87aa038de10675b0f606d4a117b8e693e364 | app/views/home/index.html.erb | app/views/home/index.html.erb | HTML+ERB |
<|file_sep|>original/Casks/ibrowse.rb
cask :v1 => 'ibrowse' do
version '1.0.3.0'
sha256 '15dfc22ca7a97b9593994115c5adc016357a443131582e4d68a9bcb32e08ab7c'
# macroplant.com is the official download host per the vendor homepage
url "http://cdn.macroplant.com/release/iBrowse-#{version}.dmg"
name 'iBrowse'
app... | cask :v1 => 'ibrowse' do
version '1.0.3.0'
sha256 '15dfc22ca7a97b9593994115c5adc016357a443131582e4d68a9bcb32e08ab7c'
# macroplant.com is the official download host per the vendor homepage
url "http://cdn.macroplant.com/release/iBrowse-#{version}.dmg"
name 'iBrowse'
appcast 'https://www.macroplant.com/ibrow... | <|file_sep|>original/Casks/ibrowse.rb
cask :v1 => 'ibrowse' do
version '1.0.3.0'
sha256 '15dfc22ca7a97b9593994115c5adc016357a443131582e4d68a9bcb32e08ab7c'
# macroplant.com is the official download host per the vendor homepage
url "http://cdn.macroplant.com/release/iBrowse-#{version}.dmg"
name 'iBrowse'
app... | f5e82203874d9f2d081b212f7bfea2834fa264e0 | Casks/ibrowse.rb | Casks/ibrowse.rb | Ruby |
<|file_sep|>Formula/kismet.rb.diff
original:
url 'http://www.kismetwireless.net/code/kismet-2010-01-R1.tar.gz'
version '2010-01-R1'
updated:
url 'http://www.kismetwireless.net/code/kismet-2010-07-R1.tar.gz'
version '2010-07-R1'
<|file_sep|>Formula/kismet.rb.diff
original:
md5 'a6d6edcf65d5bb2cb5de6472bcc16f19... | # Don't chown anything.
inreplace "Makefile", "-o $(INSTUSR) -g $(INSTGRP)", ""
inreplace "Makefile", "-o $(INSTUSR) -g $(MANGRP)", ""
system "make install"
end
def caveats; <<-EOS.undent
Read http://www.kismetwireless.net/documentation.shtml and edit
#{etc}/kismet.conf
as needed.
... | <|file_sep|>Formula/kismet.rb.diff
original:
url 'http://www.kismetwireless.net/code/kismet-2010-01-R1.tar.gz'
version '2010-01-R1'
updated:
url 'http://www.kismetwireless.net/code/kismet-2010-07-R1.tar.gz'
version '2010-07-R1'
<|file_sep|>Formula/kismet.rb.diff
original:
md5 'a6d6edcf65d5bb2cb5de6472bcc16f19... | dd6179261faa2d8c1a5f2711ad7b18ac616477b6 | Formula/kismet.rb | Formula/kismet.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.