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|>src/js/main.js.diff
original:
console.log("Ordenar!!");
console.log(a.id);
console.log(b.id);
if (a.id === "demos") {
updated:
if (a.id === "Demos") {
<|file_sep|>original/src/js/main.js
editable: {
add: false,
updateTime: true,
... | editable: {
add: false,
updateTime: true,
updateGroup: false,
remove: true
},
groupOrder: function (a, b) {
if (a.id === "Demos") {
return -1;
}
if (b.id === "Demos") {
return 1;
}
var ... | <|file_sep|>src/js/main.js.diff
original:
console.log("Ordenar!!");
console.log(a.id);
console.log(b.id);
if (a.id === "demos") {
updated:
if (a.id === "Demos") {
<|file_sep|>original/src/js/main.js
editable: {
add: false,
updateTime: true,
... | 6e96f97d08420323b4df727a97f4c5cebe2967f7 | src/js/main.js | src/js/main.js | JavaScript |
<|file_sep|>app/templates/suppliers/create_your_account.html.diff
original:
{% block page_title %}Create login — Create new supplier – Digital Marketplace{% endblock %}
updated:
{% block page_title %}Create login — Create a supplier account – Digital Marketplace{% endblock %}
<|file_sep|>app/templates/suppliers/create_... | value = email_address,
error = form.email_address.errors[0],
question_advice =
'<p>You’ll use this to sign in to your company’s supplier account.</p>
<p>It won’t be visible on the Digital Marketplace.</p>
<p>You can add other email addresses to your supplier... | <|file_sep|>app/templates/suppliers/create_your_account.html.diff
original:
{% block page_title %}Create login — Create new supplier – Digital Marketplace{% endblock %}
updated:
{% block page_title %}Create login — Create a supplier account – Digital Marketplace{% endblock %}
<|file_sep|>app/templates/suppliers/create_... | 14b0e0df5d326a3799892e70f4f442d3921f0075 | app/templates/suppliers/create_your_account.html | app/templates/suppliers/create_your_account.html | HTML |
<|file_sep|>original/conf/requirements.txt
ansible
attrs
black
boto3
Django
fire
flask
flask-restful
flask-socketio
ftfy
ipdb
jupyter
pandas
pip
pipdeptree
pipenv
psycopg2-binary
pygit2
pymongo
python-dateutil
pudb
<|file_sep|>current/conf/requirements.txt
ansible
attrs
black
boto3
Django
fire
flask
flask-restful
flask... | ansible
attrs
black
boto3
Django
fabric
fire
flask
flask-restful
flask-socketio
ftfy
ipdb
jupyter
pandas
pip
pipdeptree
pipenv
psycopg2-binary
pygit2
pymongo
python-dateutil | <|file_sep|>original/conf/requirements.txt
ansible
attrs
black
boto3
Django
fire
flask
flask-restful
flask-socketio
ftfy
ipdb
jupyter
pandas
pip
pipdeptree
pipenv
psycopg2-binary
pygit2
pymongo
python-dateutil
pudb
<|file_sep|>current/conf/requirements.txt
ansible
attrs
black
boto3
Django
fire
flask
flask-restful
flask... | aba0d3236813b99f728a12f76b2a26804da574b3 | conf/requirements.txt | conf/requirements.txt | Text |
<|file_sep|>original/footer.php
namespace Air_Light;
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer">
<?php get_template_part( 'template-parts/footer/demo-content' ); ?>
<a href="#page" class="js-trigger top" data-mt-duration="300"><span
class="screen-reader-text"><?php echo esc_html... | namespace Air_Light;
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer">
<?php get_template_part( 'template-parts/footer/demo-content' ); ?>
<a aria-hidden="true" href="#page" class="js-trigger top" data-mt-duration="300"><span
class="screen-reader-text"><?php echo esc_html_e( 'Back to ... | <|file_sep|>original/footer.php
namespace Air_Light;
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer">
<?php get_template_part( 'template-parts/footer/demo-content' ); ?>
<a href="#page" class="js-trigger top" data-mt-duration="300"><span
class="screen-reader-text"><?php echo esc_html... | c5dd487f9d7b01fbe76593e91f4c426af51bef2a | footer.php | footer.php | PHP |
<|file_sep|>original/composer.json
"ext-zlib": "To push config to remote profiling targets"
},
"autoload": {
"files": [
"src/autostart.php"
],
"psr-4": {
"Blackfire\\": "src/Blackfire"
}
},
"extra": {
"branch-alias": {
"... | "ext-zlib": "To push config to remote profiling targets"
},
"autoload": {
"files": [
"src/autostart.php"
],
"psr-4": {
"Blackfire\\": "src/Blackfire"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.5.x-dev"
}
... | <|file_sep|>original/composer.json
"ext-zlib": "To push config to remote profiling targets"
},
"autoload": {
"files": [
"src/autostart.php"
],
"psr-4": {
"Blackfire\\": "src/Blackfire"
}
},
"extra": {
"branch-alias": {
"... | f8a61a245239c1db5c595f3720b2ae22863d6568 | composer.json | composer.json | JSON |
<|file_sep|>original/client/index.js
require('jquery')
require('expose?$!expose?jQuery!jquery')
require("bootstrap-webpack")
require('./less/index.less')
<|file_sep|>current/client/index.js
require('jquery')
require('expose?$!expose?jQuery!jquery')
require("bootstrap-webpack")
require('./less/index.less')
<|file_sep|>u... | require('jquery')
require('expose?$!expose?jQuery!jquery')
require("bootstrap-webpack")
require('./less/index.less')
$.get('http://10.90.100.1:8080/signalk/v1/api/vessels/self/navigation/position')
.then(res => $.get(`http://www.tuuleeko.fi:8000/nearest-station?lat=${res.latitude}&lon=${res.longitude}`))
.then(sta... | <|file_sep|>original/client/index.js
require('jquery')
require('expose?$!expose?jQuery!jquery')
require("bootstrap-webpack")
require('./less/index.less')
<|file_sep|>current/client/index.js
require('jquery')
require('expose?$!expose?jQuery!jquery')
require("bootstrap-webpack")
require('./less/index.less')
<|file_sep|>u... | 6cacd255d4c963af7454da36656926f213b676f8 | client/index.js | client/index.js | JavaScript |
<|file_sep|>templates/jobs/submit_a_job-widget.html.diff
original:
<p>Have a job that our community would be interested in? Please <a href="{% url 'jobs:job_create' %}">fill out this form</a>.</p>
updated:
<p>Have a job that our community would be interested in?
Please check our <a href="/community/jobs/h... | <div class="sidebar-widget">
<h3 class="widget-title">Submit a Job</h3>
<p>Have a job that our community would be interested in?
Please check our <a href="/community/jobs/howto/">job submission how-to</a> for details on how
to file a job posting.</p>
{% if request.user.is_authenticated %}
<p>You ... | <|file_sep|>templates/jobs/submit_a_job-widget.html.diff
original:
<p>Have a job that our community would be interested in? Please <a href="{% url 'jobs:job_create' %}">fill out this form</a>.</p>
updated:
<p>Have a job that our community would be interested in?
Please check our <a href="/community/jobs/h... | 3b39acee4ef0f306f50bece10bd575b26e5a07c1 | templates/jobs/submit_a_job-widget.html | templates/jobs/submit_a_job-widget.html | HTML |
<|file_sep|>original/index.html
---
layout: default
title: Home
---
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ post.url }}">
{{ post.title }}
</a>
</h1>
<span class="post-date">{{ post.date | date_to_string }}</span>... | ---
layout: default
title: Home
---
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
<span class="post-date">{{ post.date | date_to_string }}</span>
{{ post.... | <|file_sep|>original/index.html
---
layout: default
title: Home
---
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ post.url }}">
{{ post.title }}
</a>
</h1>
<span class="post-date">{{ post.date | date_to_string }}</span>... | 20398a4be2e23651b8d90be340ceda6537ac3ee5 | index.html | index.html | HTML |
<|file_sep|>src/core/pages/settings/index.js.diff
original:
createUIStore().then((store) => {
initSettings(store);
initKeybindingTable(store);
// Fill in current keyboard setting in table
document.getElementById('reset-defaults').addEventListener('click', () => {
store.dispatch(resetSettings());
locatio... | import addInputBindings from './input-bindings';
import { initKeybindingTable, initSettings } from './dom';
addInputBindings();
const appendOsToStore = store =>
browser.runtime.getPlatformInfo().then(({ os }) => Object.assign({ os }, store));
createUIStore()
.then(appendOsToStore)
.then((store) => {
initSe... | <|file_sep|>src/core/pages/settings/index.js.diff
original:
createUIStore().then((store) => {
initSettings(store);
initKeybindingTable(store);
// Fill in current keyboard setting in table
document.getElementById('reset-defaults').addEventListener('click', () => {
store.dispatch(resetSettings());
locatio... | adee10e94fb60328d9b2b416fca1e30466992411 | src/core/pages/settings/index.js | src/core/pages/settings/index.js | JavaScript |
<|file_sep|>original/web_interface/astpp/addons/Community/language_portuguese/module.xml
<?xml version="1.0" encoding="UTF-8"?>
<addon>
<tech_name>language_romanian</tech_name>
<name>Romanian Language</name>
<description>Add Romanian Language Support</description>
<icon>static/images/language_romanian.png</icon>
... | <?xml version="1.0" encoding="UTF-8"?>
<addon>
<tech_name>language_portuguese</tech_name>
<name>Brazilian Portuguese Language</name>
<description>Add Brazilian Portuguese Language Support</description>
<icon>static/images/language_portuguese.png</icon>
<version>1.0.0</version>
<license>Community</license>
<au... | <|file_sep|>original/web_interface/astpp/addons/Community/language_portuguese/module.xml
<?xml version="1.0" encoding="UTF-8"?>
<addon>
<tech_name>language_romanian</tech_name>
<name>Romanian Language</name>
<description>Add Romanian Language Support</description>
<icon>static/images/language_romanian.png</icon>
... | 78f234afbd233bfb1dbe11ae799b8b3a168e9465 | web_interface/astpp/addons/Community/language_portuguese/module.xml | web_interface/astpp/addons/Community/language_portuguese/module.xml | XML |
<|file_sep|>original/src/scss/_login.scss
.menu { //container for login menu
border: 1px solid #f1f1f1;
width: 18em;
margin: 0 auto;
position: absolute;
top: 8ex;
right: 19em;
@extend.clearfix ;
.login-signup { //FORM BODY
float: left;
margin: 10px;
display: b... | .menu { //container for login menu
border: 1px solid #f1f1f1;
width: 18em;
margin: 0 auto;
position: absolute;
top: 10ex;
right: 19em;
@extend.clearfix ;
.login-signup { //FORM BODY
float: left;
margin: 10px;
display: block;
h4 {
margin-bottom: 5px;... | <|file_sep|>original/src/scss/_login.scss
.menu { //container for login menu
border: 1px solid #f1f1f1;
width: 18em;
margin: 0 auto;
position: absolute;
top: 8ex;
right: 19em;
@extend.clearfix ;
.login-signup { //FORM BODY
float: left;
margin: 10px;
display: b... | 4d62627c93b1fc82e82670f59b25287d89a446bd | src/scss/_login.scss | src/scss/_login.scss | SCSS |
<|file_sep|>original/CMakeLists.txt
project(EVMJIT VERSION 0.9.0.1 LANGUAGES CXX)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(CMAKE_AUTOMOC OFF)
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC")
else()
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wconversion -Wno-sign-conversion -Wno-unknown-pragmas ${CMAKE_CXX_FL... | project(EVMJIT VERSION 0.9.0.1 LANGUAGES CXX)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(CMAKE_AUTOMOC OFF)
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC")
else()
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wconversion -Wno-sign-conversion -Wno-unknown-pragmas ${CMAKE_CXX_FLAGS}")
endif()
if (${CMAKE_SYSTEM_N... | <|file_sep|>original/CMakeLists.txt
project(EVMJIT VERSION 0.9.0.1 LANGUAGES CXX)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(CMAKE_AUTOMOC OFF)
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC")
else()
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wconversion -Wno-sign-conversion -Wno-unknown-pragmas ${CMAKE_CXX_FL... | 83d50d698ae29d19a6be3631409dc7ed717f15d0 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/client/test/reducer.spec.js
import React from 'react';
import { expect } from 'chai';
import { List as ImmutableList, Map } from 'immutable';
import reducer from '../src/reducer';
describe('reducer', () => {
it('should return the initial state', () => {
const actual = reducer(undefined, {})... | expect(actual).to.eql(expected);
});
it('should handle ADD_STICKER', () => {
const sticker = new Map({ id: 100, image: 'foo.png' });
const actual = reducer(ImmutableList.of(), { type: 'ADD_STICKER', sticker });
const expected = ImmutableList.of(new Map({ id: 100, image: 'foo.png' }));
expect(ac... | <|file_sep|>original/client/test/reducer.spec.js
import React from 'react';
import { expect } from 'chai';
import { List as ImmutableList, Map } from 'immutable';
import reducer from '../src/reducer';
describe('reducer', () => {
it('should return the initial state', () => {
const actual = reducer(undefined, {})... | 871c29ed5273a08ca0f4a3413a62ac513c574974 | client/test/reducer.spec.js | client/test/reducer.spec.js | JavaScript |
<|file_sep|>fortuitus/fcore/tests.py.diff
original:
u1 = UserF.create()
updated:
u1 = UserF.create(username='u1')
<|file_sep|>original/fortuitus/fcore/tests.py
self.assertEqual(200, response.status_code)
self.assertTemplateUsed('fortuitus/fcore/home.html')
class ProfileTestCase(TestCas... | self.assertEqual(200, response.status_code)
self.assertTemplateUsed('fortuitus/fcore/home.html')
class ProfileTestCase(TestCase):
def test_profile_created(self):
""" Tests that profile is automatically created along with User. """
u = UserF.create()
p = FortuitusProfile.obj... | <|file_sep|>fortuitus/fcore/tests.py.diff
original:
u1 = UserF.create()
updated:
u1 = UserF.create(username='u1')
<|file_sep|>original/fortuitus/fcore/tests.py
self.assertEqual(200, response.status_code)
self.assertTemplateUsed('fortuitus/fcore/home.html')
class ProfileTestCase(TestCas... | bc05c56c60fa61f045079a4b3ef2dea185b213b4 | fortuitus/fcore/tests.py | fortuitus/fcore/tests.py | Python |
<|file_sep|>appveyor.yml.diff
original:
- git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
updated:
- git clone -q --branch=%source_branch% %content_repo% %TEMP%\Azure
<|file_sep|>original/appveyor.yml
github_access_token:
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr13... | github_access_token:
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
before_build:
- git config --global credential.helper store
- ps: ac "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):x-oauth-basic@github.com`n"
- git config --global user.email %email%
... | <|file_sep|>appveyor.yml.diff
original:
- git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
updated:
- git clone -q --branch=%source_branch% %content_repo% %TEMP%\Azure
<|file_sep|>original/appveyor.yml
github_access_token:
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr13... | 4775b4832713c1ee1b43be972afcd5f2558e48bc | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/src/test/java/pro/cucumber/RevisionProviderContract.java
@Before
public void createScm() throws IOException {
rootPath = Files.createTempDirectory("GitWC");
Path subfolder = rootPath.resolve("subfolder");
Files.createDirectory(subfolder);
Files.createFile(su... |
@Before
public void createScm() throws IOException {
rootPath = Files.createTempDirectory("GitWC");
Path subfolder = rootPath.resolve("subfolder");
Files.createDirectory(subfolder);
Files.createFile(subfolder.resolve("file"));
Exec.cmd("git init", rootPath);
Exec... | <|file_sep|>original/src/test/java/pro/cucumber/RevisionProviderContract.java
@Before
public void createScm() throws IOException {
rootPath = Files.createTempDirectory("GitWC");
Path subfolder = rootPath.resolve("subfolder");
Files.createDirectory(subfolder);
Files.createFile(su... | e8c01dfa33dedb5aff7c7eb27cb08f32ba01ee0b | src/test/java/pro/cucumber/RevisionProviderContract.java | src/test/java/pro/cucumber/RevisionProviderContract.java | Java |
<|file_sep|>original/requirements/prod.txt
# Forms
Flask-WTF==0.12
WTForms==2.1
# Deployment
gunicorn>=19.1.1
# Assets
Flask-Assets==0.12
cssmin>=0.2.0
jsmin>=2.0.11
# Auth
Flask-Login==0.3.2
Flask-Bcrypt==0.7.1
# Caching
Flask-Caching>=1.0.0
# Debug toolbar
Flask-DebugToolbar==0.10.0
<|file_sep|>current/requireme... | # Forms
Flask-WTF==0.12
WTForms==2.1
# Deployment
gunicorn>=19.1.1
# Assets
Flask-Assets==0.12
cssmin>=0.2.0
jsmin>=2.0.11
# Auth
Flask-Login==0.4.0
Flask-Bcrypt==0.7.1
# Caching
Flask-Caching>=1.0.0
# Debug toolbar
Flask-DebugToolbar==0.10.0 | <|file_sep|>original/requirements/prod.txt
# Forms
Flask-WTF==0.12
WTForms==2.1
# Deployment
gunicorn>=19.1.1
# Assets
Flask-Assets==0.12
cssmin>=0.2.0
jsmin>=2.0.11
# Auth
Flask-Login==0.3.2
Flask-Bcrypt==0.7.1
# Caching
Flask-Caching>=1.0.0
# Debug toolbar
Flask-DebugToolbar==0.10.0
<|file_sep|>current/requireme... | 5a3891fb69ac5e59daebc0e5e2003bbf0b843b8d | requirements/prod.txt | requirements/prod.txt | Text |
<|file_sep|>original/recipes/apc.rb
'Try setting node[\'osl-php\'][\'use_ius\'] to false.'
end
only_if { node['osl-php']['use_ius'] }
end
%w(httpd-devel pcre pcre-devel).each do |pkg|
package pkg do
action :install
end
end
build_essential 'APC'
php_pear 'APC' do
action :install
channel 'pec... | end
only_if { node['osl-php']['use_ius'] }
end
%w(httpd-devel pcre pcre-devel).each do |pkg|
package pkg do
action :install
end
end
build_essential 'APC'
php_pear 'APC' do
action :install
# Use channel 'pecl' since APC is not available on the default channel
channel 'pecl'
end
php_ini 'APC' do
o... | <|file_sep|>original/recipes/apc.rb
'Try setting node[\'osl-php\'][\'use_ius\'] to false.'
end
only_if { node['osl-php']['use_ius'] }
end
%w(httpd-devel pcre pcre-devel).each do |pkg|
package pkg do
action :install
end
end
build_essential 'APC'
php_pear 'APC' do
action :install
channel 'pec... | f50d3c19f32ee787d5b6a44fe37777efcfeacf2e | recipes/apc.rb | recipes/apc.rb | Ruby |
<|file_sep|>original/modules/doc/content/getting_started/installation/install_miniconda.md
```bash
curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh -b -p ~/miniconda3
```
With Miniconda installed to your home directory, export PATH, so t... |
```bash
curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh -b -p ~/miniconda3
```
With Miniconda installed to your home directory, export PATH, so that it may be used:
```bash
export PATH=$HOME/miniconda3/bin:$PATH
```
Configure Conda to... | <|file_sep|>original/modules/doc/content/getting_started/installation/install_miniconda.md
```bash
curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh -b -p ~/miniconda3
```
With Miniconda installed to your home directory, export PATH, so t... | 345542b0d71dcaafe448dd7bf14cf58569ebdafe | modules/doc/content/getting_started/installation/install_miniconda.md | modules/doc/content/getting_started/installation/install_miniconda.md | Markdown |
<|file_sep|>original/packages/css-rules/.travis.yml
sudo: false
language: node_js
node_js:
- 'stable'
- '0.12'
- '0.10'
before_script:
- npm install -g gulp
- gulp lint
after_success: npm run coveralls
# whitelist
branches:
only:
- master
notifications:
email:
- kempdogg@gmail.com
<|file_sep|>cu... | sudo: false
language: node_js
node_js:
- '8'
- '6'
- '4'
before_script:
- npm install -g gulp
- gulp lint
after_success: npm run coveralls
# whitelist
branches:
only:
- master
notifications:
email:
- kempdogg@gmail.com | <|file_sep|>original/packages/css-rules/.travis.yml
sudo: false
language: node_js
node_js:
- 'stable'
- '0.12'
- '0.10'
before_script:
- npm install -g gulp
- gulp lint
after_success: npm run coveralls
# whitelist
branches:
only:
- master
notifications:
email:
- kempdogg@gmail.com
<|file_sep|>cu... | 71c6509b03bcf043c8679bea9a0a7081967f26e0 | packages/css-rules/.travis.yml | packages/css-rules/.travis.yml | YAML |
<|file_sep|>original/tuskar_ui/infrastructure/overcloud/templates/overcloud/_undeploy_confirmation.html
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}
{% block form_id %}provision_form{% endblock %}
{% block form_action %}{% url 'horizon:infrastructure:overcloud:undeploy_con... | {% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}
{% block form_id %}provision_form{% endblock %}
{% block form_action %}{% url 'horizon:infrastructure:overcloud:undeploy_confirmation' plan_id %}{% endblock %}
{% block modal_id %}provision_modal{% endblock %}
{% block modal-he... | <|file_sep|>original/tuskar_ui/infrastructure/overcloud/templates/overcloud/_undeploy_confirmation.html
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}
{% block form_id %}provision_form{% endblock %}
{% block form_action %}{% url 'horizon:infrastructure:overcloud:undeploy_con... | 3084d6fb8d82f2fcc7819caf72aec90a40568cba | tuskar_ui/infrastructure/overcloud/templates/overcloud/_undeploy_confirmation.html | tuskar_ui/infrastructure/overcloud/templates/overcloud/_undeploy_confirmation.html | HTML |
<|file_sep|>original/packages/vulcan-lib/lib/server/utils.js
import sanitizeHtml from 'sanitize-html';
import { Utils } from '../modules';
import { throwError } from './errors.js';
Utils.sanitize = function(s) {
return sanitizeHtml(s, {
allowedTags: [
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', ... | import sanitizeHtml from 'sanitize-html';
import { Utils } from '../modules';
import { throwError } from './errors.js';
Utils.sanitize = function(s) {
return sanitizeHtml(s, {
allowedTags: [
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', 'a', 'ul',
'ol', 'nl', 'li', 'b', 'i', 'strong', 'em', ... | <|file_sep|>original/packages/vulcan-lib/lib/server/utils.js
import sanitizeHtml from 'sanitize-html';
import { Utils } from '../modules';
import { throwError } from './errors.js';
Utils.sanitize = function(s) {
return sanitizeHtml(s, {
allowedTags: [
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'p', ... | b9215047c61182675a34c2d2bebad25b41770535 | packages/vulcan-lib/lib/server/utils.js | packages/vulcan-lib/lib/server/utils.js | JavaScript |
<|file_sep|>original/.travis.yml
language: go
go:
- tip
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4.2
- 1.3.3
- 1.2.2
- 1.1.2
<|file_sep|>current/.travis.yml
language: go
go:
- tip
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4.2
- 1.3.3
- 1.2.2
- 1.1.2
<|file_sep|>updated/.travis.yml | language: go
go:
- tip
- 1.10
- 1.9
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4.2
- 1.3.3
- 1.2.2
- 1.1.2 | <|file_sep|>original/.travis.yml
language: go
go:
- tip
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4.2
- 1.3.3
- 1.2.2
- 1.1.2
<|file_sep|>current/.travis.yml
language: go
go:
- tip
- 1.8
- 1.7
- 1.6
- 1.5
- 1.4.2
- 1.3.3
- 1.2.2
- 1.1.2
<|file_sep|>updated/.travis.yml
language: go
go:
- tip
... | de2cdb5ac59e53faf783b6ae03b0fcf0a51e4907 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- "stable"
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "6"
- "5"
- "4"
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- "stable"
- "6"
- "5"
- "4"
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- "stable"
- "6"
- "4" | <|file_sep|>.travis.yml.diff
original:
updated:
- "stable"
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- "6"
- "5"
- "4"
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- "stable"
- "6"
- "5"
- "4"
<|file_sep|>updated/.travis.yml
sudo: false
language: ... | a56d355d99b9bbb48f9bf5b5785a6c68aafc680e | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.txt.diff
original:
1.0
updated:
0.0
<|file_sep|>lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.txt.diff
original:
~0.028
updated:
0.25
<|file_sep|>original/lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.... |
β: number
Rate parameter.
Returns
-------
out: number
Mode.
Examples
--------
> var v = {{alias}}( 1.0, 1.0 )
0.0
> v = {{alias}}( 4.0, 12.0 )
0.25
> v = {{alias}}( 8.0, 2.0 )
3.5
See Also
--------
| <|file_sep|>lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.txt.diff
original:
1.0
updated:
0.0
<|file_sep|>lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.txt.diff
original:
~0.028
updated:
0.25
<|file_sep|>original/lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.... | 8d1ce4bdc2c8cbb52d8263078b1d29b43c72df32 | lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.txt | lib/node_modules/@stdlib/math/base/dist/gamma/mode/docs/repl.txt | Text |
<|file_sep|>original/apps/homebrew.yml
---
- hosts: all
connection: local
gather_facts: False
tasks:
- name: Install Xcode CLI tools
shell: /usr/bin/xcode-select --install creates=/usr/bin/gcc
sudo: yes
- name: Run Homebrew install script
shell: ruby -e "$(curl -fsSL https://raw.github... | ---
- hosts: all
connection: local
gather_facts: False
tasks:
- name: Install Xcode CLI tools
shell: /usr/bin/xcode-select --install creates=/usr/bin/gcc
sudo: yes
- name: Run Homebrew install script
shell: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master... | <|file_sep|>original/apps/homebrew.yml
---
- hosts: all
connection: local
gather_facts: False
tasks:
- name: Install Xcode CLI tools
shell: /usr/bin/xcode-select --install creates=/usr/bin/gcc
sudo: yes
- name: Run Homebrew install script
shell: ruby -e "$(curl -fsSL https://raw.github... | e9677d3d59831b5fe3ad177af337e915d815fbdd | apps/homebrew.yml | apps/homebrew.yml | YAML |
<|file_sep|>tasks/manifest.rake.diff
original:
namespace :manifest do
updated:
require "rake/tasklib"
# Tasks to create and check Manifest.txt
class ManifestTask < Rake::TaskLib
attr_accessor :manifest_file, :patterns
def initialize(name = :manifest)
super()
self.manifest_file = "Manifest.txt"
self.p... |
def define_tasks
desc "Create or update manifest"
task :generate do
File.open("Manifest.txt", "w") do |manifest|
gemmable_files.each { |file| manifest.puts file }
end
end
desc "Check manifest"
task :check do
unless gemmable_files == manifest_files
raise "Manifes... | <|file_sep|>tasks/manifest.rake.diff
original:
namespace :manifest do
updated:
require "rake/tasklib"
# Tasks to create and check Manifest.txt
class ManifestTask < Rake::TaskLib
attr_accessor :manifest_file, :patterns
def initialize(name = :manifest)
super()
self.manifest_file = "Manifest.txt"
self.p... | effed25659097fe776f388ffb49aff6c7e127126 | tasks/manifest.rake | tasks/manifest.rake | Ruby |
<|file_sep|>original/DataWrangling/process_csv.py
<|file_sep|>current/DataWrangling/process_csv.py
<|file_sep|>updated/DataWrangling/process_csv.py | # -*- coding: utf-8 -*-
'''
Transform csv files in dict structures and print in a pretty form
'''
import os
import pprint
import csv
# Set the directory for the data and the name of the file
DATADIR = '../Data/'
DATAFILE = 'beatles-diskography.csv'
def parse_csv(datafile):
data = []
# Open the file
wit... | <|file_sep|>original/DataWrangling/process_csv.py
<|file_sep|>current/DataWrangling/process_csv.py
<|file_sep|>updated/DataWrangling/process_csv.py
# -*- coding: utf-8 -*-
'''
Transform csv files in dict structures and print in a pretty form
'''
import os
import pprint
import csv
# Set the directory for the data an... | 5be4fde44d7ce7cb7937f2dccdd097aa47faf0d7 | DataWrangling/process_csv.py | DataWrangling/process_csv.py | Python |
<|file_sep|>original/README.md
ng-closure-runner
=================
Wraps Google Closure Compiler for AngularJS-specific compile passes
<|file_sep|>current/README.md
ng-closure-runner
=================
Wraps Google Closure Compiler for AngularJS-specific compile passes
<|file_sep|>updated/README.md | # ng-closure-runner [](https://travis-ci.org/angular/ng-closure-runner)
Wraps Google Closure Compiler for AngularJS-specific compile passes | <|file_sep|>original/README.md
ng-closure-runner
=================
Wraps Google Closure Compiler for AngularJS-specific compile passes
<|file_sep|>current/README.md
ng-closure-runner
=================
Wraps Google Closure Compiler for AngularJS-specific compile passes
<|file_sep|>updated/README.md
# ng-closure-runner... | 9ba64f78d76db0696eae41e7541655a34d57df7d | README.md | README.md | Markdown |
<|file_sep|>original/src/helpers/get-rules.js
import {isMatch} from 'micromatch'
export function getRules(relativePath, config) {
const localConfig = {}
for (const key in config) {
const value = config[key]
if (value && value instanceof Array) {
localConfig[key] = value.slice()
} else if (type... | import {isMatch} from 'micromatch'
export function getRules(relativePath, config) {
const localConfig = {}
for (const key in config) {
const value = config[key]
if (value && value instanceof Array) {
localConfig[key] = value.slice()
} else if (value && typeof value === 'object') {
localC... | <|file_sep|>original/src/helpers/get-rules.js
import {isMatch} from 'micromatch'
export function getRules(relativePath, config) {
const localConfig = {}
for (const key in config) {
const value = config[key]
if (value && value instanceof Array) {
localConfig[key] = value.slice()
} else if (type... | b9879ac8c93bc24025783356a713b843d39b86ed | src/helpers/get-rules.js | src/helpers/get-rules.js | JavaScript |
<|file_sep|>src/application/models.py.diff
original:
class ExampleModel(ndb.Model):
"""Example Model"""
example_name = ndb.StringProperty(required=True)
example_description = ndb.TextProperty(required=True)
updated:
class SchoolModel(ndb.Model):
""""Basic Model""""
name = ndb.StringProperty(require... | """
models.py
App Engine datastore models
"""
from google.appengine.ext import ndb
class SchoolModel(ndb.Model):
""""Basic Model""""
name = ndb.StringProperty(required=True)
place = ndb.StringProperty(required=True)
added_by = ndb.UserProperty()
timestamp = ndb.DateTimeProperty(auto_now_add=Tru... | <|file_sep|>src/application/models.py.diff
original:
class ExampleModel(ndb.Model):
"""Example Model"""
example_name = ndb.StringProperty(required=True)
example_description = ndb.TextProperty(required=True)
updated:
class SchoolModel(ndb.Model):
""""Basic Model""""
name = ndb.StringProperty(require... | 9a2169e38374429db7792537e2c4c1a78281200d | src/application/models.py | src/application/models.py | Python |
<|file_sep|>original/migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php
<|file_sep|>current/migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php
<|file_sep|>updated/migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php | <?php
/*
* This file is part of fof/byobu.
*
* Copyright (c) 2019 - 2021 FriendsOfFlarum.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Schema\Builder;
return [... | <|file_sep|>original/migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php
<|file_sep|>current/migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php
<|file_sep|>updated/migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php
<?php
/*
* This file is part of fof/byo... | 036893e1cb396c3cc9040f6c734809b3df424b76 | migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php | migrations/2021_01_23_000000_drop_tags_from_old_private_discussions.php | PHP |
<|file_sep|>original/pearbot.py
See the file LICENSE for copying permission.
"""
import asyncio
import command
import config
import logging
import protocol
import signal
LOG_FORMAT = "%(asctime)-15s %(name)-10s %(levelname)-8s %(message)s"
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)
def main():
l... | See the file LICENSE for copying permission.
"""
import asyncio
import command
import config
import logging
import protocol
import signal
LOG_FORMAT = "{asctime} [{process}] {levelname}({name}): {message}"
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT, style="{")
def main():
logger = logging.getLogg... | <|file_sep|>original/pearbot.py
See the file LICENSE for copying permission.
"""
import asyncio
import command
import config
import logging
import protocol
import signal
LOG_FORMAT = "%(asctime)-15s %(name)-10s %(levelname)-8s %(message)s"
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)
def main():
l... | 04ca2afaa43cc4de88020235a7e1bf4d4377c5bc | pearbot.py | pearbot.py | Python |
<|file_sep|>original/spec/jblazer_spec.rb
expect(template.to_s).to eql '{"a":"b","c":1}'
end
it 'should compile an array of objects' do
items = [
{:a => 1},
{:b => 2}
]
template = make_template do |json|
json.items items do |item|
item.each do |key, value|
json... | template = make_template do |json|
json.items items do |item|
item.each do |key, value|
json.send key, value
end
end
end
expect(template.to_s).to eql '{"items":[{"a":1},{"b":2}]}'
end
it 'should extract some values' do
AnObject = Struct.new :a, :b
object ... | <|file_sep|>original/spec/jblazer_spec.rb
expect(template.to_s).to eql '{"a":"b","c":1}'
end
it 'should compile an array of objects' do
items = [
{:a => 1},
{:b => 2}
]
template = make_template do |json|
json.items items do |item|
item.each do |key, value|
json... | 12fce58386bdb30736983254ad189eb06788d1e1 | spec/jblazer_spec.rb | spec/jblazer_spec.rb | Ruby |
<|file_sep|>css/steep-ve.css.diff
original:
updated:
#steep-set-viewpoint .oo-ui-iconElement-icon {
display: inline;
font-family: steep-icons;
vertical-align: middle;
margin-left: -0.5em;
margin-right: 0.3em;
}
#steep-set-viewpoint .oo-ui-iconElement-icon::after {
content: '\0079';
}
<|file_s... | }
#steep-set-viewpoint .oo-ui-iconElement-icon::after {
content: '\0079';
}
#steep-history {
display: inline-block;
width: 15em;
}
#steep-history .oo-ui-iconElement-icon {
/*
OO js ui overrides a lot of these properties for dropdowns, so we re-specify them here.
*/
font-family: steep-icons;
... | <|file_sep|>css/steep-ve.css.diff
original:
updated:
#steep-set-viewpoint .oo-ui-iconElement-icon {
display: inline;
font-family: steep-icons;
vertical-align: middle;
margin-left: -0.5em;
margin-right: 0.3em;
}
#steep-set-viewpoint .oo-ui-iconElement-icon::after {
content: '\0079';
}
<|file_s... | 1857df8e3c046ef2151e843daf3df52f5b9efaeb | css/steep-ve.css | css/steep-ve.css | CSS |
<|file_sep|>original/LoremIpsum.podspec
Pod::Spec.new do |s|
s.name = "LoremIpsum"
s.version = "2.0.0-beta.1"
s.summary = "A lightweight lorem ipsum and image placeholders generator for Objective-C."
s.homepage = "https://github.com/lukaskubanek/LoremIpsum"
s.screenshots = "https://raw.... | Pod::Spec.new do |s|
s.name = "LoremIpsum"
s.version = "2.0.0-beta.1"
s.summary = "A lightweight lorem ipsum and image placeholders generator for Objective-C."
s.homepage = "https://github.com/lukaskubanek/LoremIpsum"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author ... | <|file_sep|>original/LoremIpsum.podspec
Pod::Spec.new do |s|
s.name = "LoremIpsum"
s.version = "2.0.0-beta.1"
s.summary = "A lightweight lorem ipsum and image placeholders generator for Objective-C."
s.homepage = "https://github.com/lukaskubanek/LoremIpsum"
s.screenshots = "https://raw.... | f22c961bef97d0d33a8dd0b7fdfb7dc244ca9230 | LoremIpsum.podspec | LoremIpsum.podspec | Ruby |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
script:
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec rake db:test:prepare
- bundle exec rspec spec/ | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.0
- 1.9.3
- ruby-head
- rbx-19mode
script:
- RAILS_ENV... | e728d348964e51ebcb4b39c2e781cdc44d7c9b60 | .travis.yml | .travis.yml | YAML |
<|file_sep|>static/css/common.css.diff
original:
updated:
-webkit-font-smoothing: antialiased;
<|file_sep|>original/static/css/common.css
/* CSS RESET */
* {
margin:0;
padding:0;
list-style:none;
vertical-align:baseline;
}
/* END CSS RESET */
h1 {
font-family: 'Open Sans', sans-serif;
}
<|fil... | /* CSS RESET */
* {
margin:0;
padding:0;
list-style:none;
vertical-align:baseline;
-webkit-font-smoothing: antialiased;
}
/* END CSS RESET */
body {
font-family: 'Open Sans', sans-serif;
}
h1 {
font-family: 'Open Sans', sans-serif;
}
| <|file_sep|>static/css/common.css.diff
original:
updated:
-webkit-font-smoothing: antialiased;
<|file_sep|>original/static/css/common.css
/* CSS RESET */
* {
margin:0;
padding:0;
list-style:none;
vertical-align:baseline;
}
/* END CSS RESET */
h1 {
font-family: 'Open Sans', sans-serif;
}
<|fil... | 33a937539e2ead4d8c17a29aabb2bbac6e6a0935 | static/css/common.css | static/css/common.css | CSS |
<|file_sep|>cmake/mouve.cmake.diff
original:
updated:
macro(mouve_bin_directory _config _directory)
if(MSVC) # We should really check for multi-config generator
set(${_directory} ${CMAKE_BINARY_DIR}/bin/${_config})
else()
set(${_directory} ${CMAKE_BINARY_DIR}/bin)
endif()
endmacro()
<|file... | if(MSVC) # We should really check for multi-config generator
foreach(config ${CMAKE_CONFIGURATION_TYPES})
string(TOUPPER ${config} configUpper)
mouve_bin_directory(${config} directory)
set_target_properties(${_name} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY_${c... | <|file_sep|>cmake/mouve.cmake.diff
original:
updated:
macro(mouve_bin_directory _config _directory)
if(MSVC) # We should really check for multi-config generator
set(${_directory} ${CMAKE_BINARY_DIR}/bin/${_config})
else()
set(${_directory} ${CMAKE_BINARY_DIR}/bin)
endif()
endmacro()
<|file... | 4a9fcefc271f31e5779d62ef92a772a7a1c2b1dd | cmake/mouve.cmake | cmake/mouve.cmake | CMake |
<|file_sep|>src/rtcmix/io.c.diff
original:
updated:
#include <globals.h>
<|file_sep|>src/rtcmix/io.c.diff
original:
extern int print_is_on;
updated:
<|file_sep|>original/src/rtcmix/io.c
#include <stdio.h>
extern int print_is_on;
double m_open(float *, short, double *);
double
m_input(float *p,short n_args,double *p... | #include <globals.h>
#include <stdio.h>
extern double m_open(float *, short, double *);
double
m_input(float *p,short n_args,double *pp)
{
p[1] = (n_args > 1) ? p[1] : 0.;
p[2] = 0;
n_args = 3;
if(print_is_on)
fprintf(stderr,"Opening input file as unit %d\n",(int)p[1]);
return m_open(p,n_args,pp);
}
double
m_... | <|file_sep|>src/rtcmix/io.c.diff
original:
updated:
#include <globals.h>
<|file_sep|>src/rtcmix/io.c.diff
original:
extern int print_is_on;
updated:
<|file_sep|>original/src/rtcmix/io.c
#include <stdio.h>
extern int print_is_on;
double m_open(float *, short, double *);
double
m_input(float *p,short n_args,double *p... | 41e9e0c4988a92ba3cba90959622ae8673f7c1f7 | src/rtcmix/io.c | src/rtcmix/io.c | C |
<|file_sep|>original/src/Console/GenCrudCommand.php
<|file_sep|>current/src/Console/GenCrudCommand.php
<|file_sep|>updated/src/Console/GenCrudCommand.php | <?php
/**
* Created by PhpStorm.
* User: rudys
* Date: 28/06/16
* Time: 10:24 AM
*/
namespace Ncrousset\GenCRUD\Console;
class GenCrudCommand
{
} | <|file_sep|>original/src/Console/GenCrudCommand.php
<|file_sep|>current/src/Console/GenCrudCommand.php
<|file_sep|>updated/src/Console/GenCrudCommand.php
<?php
/**
* Created by PhpStorm.
* User: rudys
* Date: 28/06/16
* Time: 10:24 AM
*/
namespace Ncrousset\GenCRUD\Console;
class GenCrudCommand
{
} | aeaaaabf8f7fc8aaca1473eab131d464f8ba932e | src/Console/GenCrudCommand.php | src/Console/GenCrudCommand.php | PHP |
<|file_sep|>original/src/components/Navigation/Navigation.jsx
class Navigation extends Component {
render() {
const { children, config } = this.props;
return (
<NavigationDrawer
toolbarThemeType="themed"
toolbarTitleMenu={<a ref="logo" href="/"><img src="/logos/logo.svg"/></a>}
... |
class Navigation extends Component {
render() {
const { children, config } = this.props;
return (
<NavigationDrawer
toolbarThemeType="themed"
toolbarTitleMenu={<a ref="logo" href="/"><img src="/logos/logo.svg"/></a>}
toolbarActions={<ToolbarActions config={config} />}
d... | <|file_sep|>original/src/components/Navigation/Navigation.jsx
class Navigation extends Component {
render() {
const { children, config } = this.props;
return (
<NavigationDrawer
toolbarThemeType="themed"
toolbarTitleMenu={<a ref="logo" href="/"><img src="/logos/logo.svg"/></a>}
... | c4b42e15b72408ce5b9c45c15f44c71c2393afc2 | src/components/Navigation/Navigation.jsx | src/components/Navigation/Navigation.jsx | JSX |
<|file_sep|>original/tests/Codesleeve/Stapler/Factories/AttachmentTest.php
<|file_sep|>current/tests/Codesleeve/Stapler/Factories/AttachmentTest.php
<|file_sep|>updated/tests/Codesleeve/Stapler/Factories/AttachmentTest.php | <?php namespace Codesleeve\Stapler\Factories;
use PHPUnit_Framework_TestCase;
class AttachmentTest extends PHPUnit_Framework_TestCase
{
/**
* Setup method.
*
* @return void
*/
public function setUp()
{
}
/**
* Teardown method.
*
* @return void
*/
public function tearDown() | <|file_sep|>original/tests/Codesleeve/Stapler/Factories/AttachmentTest.php
<|file_sep|>current/tests/Codesleeve/Stapler/Factories/AttachmentTest.php
<|file_sep|>updated/tests/Codesleeve/Stapler/Factories/AttachmentTest.php
<?php namespace Codesleeve\Stapler\Factories;
use PHPUnit_Framework_TestCase;
class Attachmen... | a827817679a06e8f826db3f8701eaa7925b2a9f7 | tests/Codesleeve/Stapler/Factories/AttachmentTest.php | tests/Codesleeve/Stapler/Factories/AttachmentTest.php | PHP |
<|file_sep|>modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb.diff
original:
updated:
<%- if scope.lookupvar('::aws_migration') %>
export DEPLOY_TO=$(govuk_node_list -c monitoring)
<%- else %>
<|file_sep|>original/modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb... | - master
- job:
name: Smokey_Deploy
display-name: Smokey_Deploy
project-type: freestyle
properties:
- github:
url: https://github.com/alphagov/smokey/
scm:
- smokey_Smokey_Deploy
builders:
- shell: |
<%- if scope.lookupvar('::aws_migra... | <|file_sep|>modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb.diff
original:
updated:
<%- if scope.lookupvar('::aws_migration') %>
export DEPLOY_TO=$(govuk_node_list -c monitoring)
<%- else %>
<|file_sep|>original/modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb... | 3a21926a5932cccfb9dddf2e841c0ded865c88ef | modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb | modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb | HTML+ERB |
<|file_sep|>.travis.yml.diff
original:
- "0.11"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
- 0.8
before_install: "npm install -g bob --loglevel error"
script: "bob build"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- 0.8
before_install: "... | language: node_js
node_js:
- "0.10"
before_install: "npm install -g bob --loglevel error"
script: "bob build"
| <|file_sep|>.travis.yml.diff
original:
- "0.11"
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
- 0.8
before_install: "npm install -g bob --loglevel error"
script: "bob build"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
- 0.8
before_install: "... | db9ca1c27d853cf49942356228a84d80d094c3a3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_for_test.txt
-r requirements.txt
pytest==4.1.1
pytest-mock==1.10.0
pytest-cov==2.6.1
pytest-xdist==1.26.1
requests-mock==1.5.2
freezegun==0.3.11
flake8==3.7.3
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test.txt
-r requirements.txt
pytest==4.1.1
pytest-mock==1.10.0
pytest-... | -r requirements.txt
pytest==4.1.1
pytest-mock==1.10.0
pytest-cov==2.6.1
pytest-xdist==1.26.1
requests-mock==1.5.2
freezegun==0.3.11
flake8==3.7.4
flake8-print==3.1.0 | <|file_sep|>original/requirements_for_test.txt
-r requirements.txt
pytest==4.1.1
pytest-mock==1.10.0
pytest-cov==2.6.1
pytest-xdist==1.26.1
requests-mock==1.5.2
freezegun==0.3.11
flake8==3.7.3
flake8-print==3.1.0
<|file_sep|>current/requirements_for_test.txt
-r requirements.txt
pytest==4.1.1
pytest-mock==1.10.0
pytest-... | ead53247e7c248b099bd558e0096ef7472d2eaea | requirements_for_test.txt | requirements_for_test.txt | Text |
<|file_sep|>original/commands/globaladd.py
from devbot import chat
def call(message: str, name, protocol, cfg, commands):
if ' ' in message:
chat.say('/msg {} Sorry, that was not a valid player name: It contains spaces.'.format(name))
return
chat.say_wrap('/msg {}',
'You have... | from devbot import chat
def call(message: str, name, protocol, cfg, commands):
if ' ' in message:
chat.say('/msg {} Sorry, that was not a valid player name: It contains spaces.'.format(name))
return
chat.say('/msg {} Invited {} to GlobalChat'.format(name, message))
chat.say_wrap('/msg {}'.... | <|file_sep|>original/commands/globaladd.py
from devbot import chat
def call(message: str, name, protocol, cfg, commands):
if ' ' in message:
chat.say('/msg {} Sorry, that was not a valid player name: It contains spaces.'.format(name))
return
chat.say_wrap('/msg {}',
'You have... | dc87c5d000f06e1618c7fbd0daae602131e0602e | commands/globaladd.py | commands/globaladd.py | Python |
<|file_sep|>original/src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java
<|file_sep|>current/src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java
<|file_sep|>updated/src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java | package com.github.boformer.answerme.impl;
import org.apache.commons.collections4.map.LRUMap;
import org.slf4j.Logger;
import org.spongepowered.api.Game;
import org.spongepowered.api.event.state.PreInitializationEvent;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.service.ProviderExistsExcep... | <|file_sep|>original/src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java
<|file_sep|>current/src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java
<|file_sep|>updated/src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java
package com.github.boformer.answerme.impl;
import or... | ed7f2a69c6bfd0b9c5fc6c76e6c854deee025b51 | src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java | src/main/java/com/github/boformer/answerme/impl/AnswerMePlugin.java | Java |
<|file_sep|>original/lib/stdarg.h
#ifndef __STDARG_H
#define __STDARG_H
#include "sys/types.h"
typedef void *va_list;
#define va_start(l, arg) l = (void *)&arg
#define va_arg(l, type) (*(type *)(l += __WORDSIZE / 8))
#define va_end(l)
#endif
<|file_sep|>current/lib/stdarg.h
#ifndef __STDARG_H
#define __STDARG_H
#i... | #ifndef __STDARG_H
#define __STDARG_H
#include "sys/types.h"
typedef void *va_list;
#define va_start(l, arg) l = (void *)&arg
/*
* va_arg assumes arguments are promoted to
* machine-word size when pushed onto the stack
*/
#define va_arg(l, type) (*(type *)(l += sizeof *l))
#define va_end(l)
#endif | <|file_sep|>original/lib/stdarg.h
#ifndef __STDARG_H
#define __STDARG_H
#include "sys/types.h"
typedef void *va_list;
#define va_start(l, arg) l = (void *)&arg
#define va_arg(l, type) (*(type *)(l += __WORDSIZE / 8))
#define va_end(l)
#endif
<|file_sep|>current/lib/stdarg.h
#ifndef __STDARG_H
#define __STDARG_H
#i... | 2f7b8e781b35070f8f79b4816354ffd81df9048b | lib/stdarg.h | lib/stdarg.h | C |
<|file_sep|>original/requirements/base.txt
git+git://github.com/liqd/adhocracy4.git@mB-v2.7#egg=adhocracy4
# Additional requirements
bcrypt==3.2.0
brotli==1.0.9
django-capture-tag==1.0
django-cloudflare-push==0.2.0
django-sites==0.10
django_csp==3.7
raven==6.10.0
requests==2.25.0
wagtail==2.7.4 # pyup: <2.8
whitenoise... | git+git://github.com/liqd/adhocracy4.git@mB-v2.7#egg=adhocracy4
# Additional requirements
bcrypt==3.2.0
brotli==1.0.9
django-capture-tag==1.0
django-cloudflare-push==0.2.0
django-sites==0.10
django_csp==3.7
raven==6.10.0
requests==2.25.1
wagtail==2.7.4 # pyup: <2.8
whitenoise==5.2.0
zeep==4.0.0
# Inherited a4-core re... | <|file_sep|>original/requirements/base.txt
git+git://github.com/liqd/adhocracy4.git@mB-v2.7#egg=adhocracy4
# Additional requirements
bcrypt==3.2.0
brotli==1.0.9
django-capture-tag==1.0
django-cloudflare-push==0.2.0
django-sites==0.10
django_csp==3.7
raven==6.10.0
requests==2.25.0
wagtail==2.7.4 # pyup: <2.8
whitenoise... | d33c03acacf4095c55d09451244debde84f8e449 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/pillar/ocds_live_pillar.sls
# Values used only on the Cove OCDS server
default_branch: 'live'
cove:
piwik:
url: '//mon.opendataservices.coop/piwik/'
site_id: '5'
allowedhosts: '.default.opendataservices.uk0.bigv.io,.standard.open-contracting.org'
prefixmap: 'ocds=validator/'
ocds_re... | # Values used only on the Cove OCDS server
default_branch: 'live-ocds'
cove:
piwik:
url: '//mon.opendataservices.coop/piwik/'
site_id: '5'
allowedhosts: '.default.opendataservices.uk0.bigv.io,.standard.open-contracting.org'
prefixmap: 'ocds=validator/'
ocds_redirect: False
google_analytics_id: 'UA-356... | <|file_sep|>original/pillar/ocds_live_pillar.sls
# Values used only on the Cove OCDS server
default_branch: 'live'
cove:
piwik:
url: '//mon.opendataservices.coop/piwik/'
site_id: '5'
allowedhosts: '.default.opendataservices.uk0.bigv.io,.standard.open-contracting.org'
prefixmap: 'ocds=validator/'
ocds_re... | c2b56a4413b9bed97d0f6819af6b6d1c34ab00af | pillar/ocds_live_pillar.sls | pillar/ocds_live_pillar.sls | SaltStack |
<|file_sep|>original/src/test/ui/privacy/pub-priv-dep/std-pub.rs
<|file_sep|>current/src/test/ui/privacy/pub-priv-dep/std-pub.rs
<|file_sep|>updated/src/test/ui/privacy/pub-priv-dep/std-pub.rs | // The 'std' crates should always be implicitly public,
// without having to pass any compiler arguments
// run-pass
#![feature(public_private_dependencies)]
#![deny(external_private_dependency)]
pub struct PublicType {
pub field: Option<u8>
}
fn main() {} | <|file_sep|>original/src/test/ui/privacy/pub-priv-dep/std-pub.rs
<|file_sep|>current/src/test/ui/privacy/pub-priv-dep/std-pub.rs
<|file_sep|>updated/src/test/ui/privacy/pub-priv-dep/std-pub.rs
// The 'std' crates should always be implicitly public,
// without having to pass any compiler arguments
// run-pass
#![fea... | bc2221f7b6778de779113f1b9021477cf313010b | src/test/ui/privacy/pub-priv-dep/std-pub.rs | src/test/ui/privacy/pub-priv-dep/std-pub.rs | Rust |
<|file_sep|>.travis.yml.diff
original:
updated:
services: docker
<|file_sep|>.travis.yml.diff
original:
updated:
install:
- cargo install cross || true
- source ~/.cargo/env || true
script:
- cross build --target $TARGET
- cross build --target $TARGET --release
env:
- TARGET=armv7-unknown-linux-musleabihf
... | language: rust
cache: cargo
services: docker
rust:
- stable
- beta
- nightly
install:
- cargo install cross || true
- source ~/.cargo/env || true
script:
- cross build --target $TARGET
- cross build --target $TARGET --release
env:
- TARGET=armv7-unknown-linux-musleabihf
- TARGET=armv7-unknown-linux-gn... | <|file_sep|>.travis.yml.diff
original:
updated:
services: docker
<|file_sep|>.travis.yml.diff
original:
updated:
install:
- cargo install cross || true
- source ~/.cargo/env || true
script:
- cross build --target $TARGET
- cross build --target $TARGET --release
env:
- TARGET=armv7-unknown-linux-musleabihf
... | 3c7a27876128a1ff6af4ee4339074cf1d417137f | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/fdpgen/clusteredges.h.diff
original:
updated:
#include <adjust.h>
<|file_sep|>original/lib/fdpgen/clusteredges.h
* *
* Information and Software Systems Research *
* AT&T Research, Florham Park NJ *
**********... | * Information and Software Systems Research *
* AT&T Research, Florham Park NJ *
**********************************************************/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef CLUSTEREDGES_H
#define CLUSTEREDGES_H
#include <render.h>
#include <adjust.h>
extern ... | <|file_sep|>lib/fdpgen/clusteredges.h.diff
original:
updated:
#include <adjust.h>
<|file_sep|>original/lib/fdpgen/clusteredges.h
* *
* Information and Software Systems Research *
* AT&T Research, Florham Park NJ *
**********... | ac9bbd3283e587ba309e9eec84ff76fb19fa7f94 | lib/fdpgen/clusteredges.h | lib/fdpgen/clusteredges.h | C |
<|file_sep|>.travis.yml.diff
original:
- 2.6
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
before_install:
- sudo apt-get update -qq
- sudo apt-get install xfonts-75dpi
install: pip install flask && pip install celery
before_script:
- "wget https://... | language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
before_install:
- sudo apt-get update -qq
- sudo apt-get install xfonts-75dpi
install: pip install flask && pip install celery
before_script:
- "wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.2.1/wkhtmltox-0.12.2.1_linux-precise-amd... | <|file_sep|>.travis.yml.diff
original:
- 2.6
updated:
<|file_sep|>original/.travis.yml
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
before_install:
- sudo apt-get update -qq
- sudo apt-get install xfonts-75dpi
install: pip install flask && pip install celery
before_script:
- "wget https://... | ba4898a55be82513804460e611847b5cc1e435e1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>skan/test/test_vendored_correlate.py.diff
original:
from contextlib import contextmanager
updated:
<|file_sep|>skan/test/test_vendored_correlate.py.diff
original:
@contextmanager
def timer():
result = [0.]
t = time()
yield result
result[0] = time() - t
updated:
class Timer:
def __init__... | def __init__(self):
self.interval = 0
def __enter__(self):
self.t0 = time()
return self
def __exit__(self, exc_type, exc_val, exc_tb):
self.interval = time() - self.t0
def test_fast_sauvola():
image = np.random.rand(512, 512)
w0 = 25
w1 = 251
_ = th.thresh... | <|file_sep|>skan/test/test_vendored_correlate.py.diff
original:
from contextlib import contextmanager
updated:
<|file_sep|>skan/test/test_vendored_correlate.py.diff
original:
@contextmanager
def timer():
result = [0.]
t = time()
yield result
result[0] = time() - t
updated:
class Timer:
def __init__... | c581d1aab8df44b3c4e8e809e390517432c67d93 | skan/test/test_vendored_correlate.py | skan/test/test_vendored_correlate.py | Python |
<|file_sep|>original/helsinki_theme/templates/oidc_provider/authorize.html
<|file_sep|>current/helsinki_theme/templates/oidc_provider/authorize.html
<|file_sep|>updated/helsinki_theme/templates/oidc_provider/authorize.html | <h1>Request for Permission</h1>
<p>Client <strong>{{ client.name }}</strong> would like to access this information of you ...</p>
<form method="post" action="{% url 'oidc_provider:authorize' %}">
{% csrf_token %}
{{ hidden_inputs }}
<ul>
{% for scope in scopes %}
<li><strong>{{ scope.na... | <|file_sep|>original/helsinki_theme/templates/oidc_provider/authorize.html
<|file_sep|>current/helsinki_theme/templates/oidc_provider/authorize.html
<|file_sep|>updated/helsinki_theme/templates/oidc_provider/authorize.html
<h1>Request for Permission</h1>
<p>Client <strong>{{ client.name }}</strong> would like to acc... | f2905e0f06104f24f6bf625a9ad50d667485ffc4 | helsinki_theme/templates/oidc_provider/authorize.html | helsinki_theme/templates/oidc_provider/authorize.html | HTML |
<|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.16.2
pyyaml>=4.2b1
pandas==0.24.1
scipy==1.2.1
astropy==3.1.2
matplotlib==3.0.3
tables==3.4.4
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.16.2
pyyaml>=4.2b1
pandas==0.24.1
scipy==1.2.1
astropy==3.1.2
matplotlib==3.0.3
tables==3.4.4
<|file_... | numpy==1.16.2
pyyaml>=4.2b1
pandas==0.24.2
scipy==1.2.1
astropy==3.1.2
matplotlib==3.0.3
tables==3.4.4 | <|file_sep|>original/sweetercat/data/requirements.txt
numpy==1.16.2
pyyaml>=4.2b1
pandas==0.24.1
scipy==1.2.1
astropy==3.1.2
matplotlib==3.0.3
tables==3.4.4
<|file_sep|>current/sweetercat/data/requirements.txt
numpy==1.16.2
pyyaml>=4.2b1
pandas==0.24.1
scipy==1.2.1
astropy==3.1.2
matplotlib==3.0.3
tables==3.4.4
<|file_... | 86a1e46358eb919699b424a2f4710a155319fcee | sweetercat/data/requirements.txt | sweetercat/data/requirements.txt | Text |
<|file_sep|>kboard/board/tests/test_templatetags.py.diff
original:
updated:
from board.templatetags.hide_ip import hide_ip
<|file_sep|>original/kboard/board/tests/test_templatetags.py
from .base import BoardAppTest
from board.templatetags.url_parameter import url_parameter
class UrlParameterTest(BoardAppTest):
d... | def test_contains_correct_string(self):
parameter = {
'a': 13,
'query': 'hello',
'b': 'This is a test'
}
url_string = url_parameter(**parameter)
self.assertRegex(url_string, '^\?.*')
self.assertIn('a=13', url_string)
self.assertIn(... | <|file_sep|>kboard/board/tests/test_templatetags.py.diff
original:
updated:
from board.templatetags.hide_ip import hide_ip
<|file_sep|>original/kboard/board/tests/test_templatetags.py
from .base import BoardAppTest
from board.templatetags.url_parameter import url_parameter
class UrlParameterTest(BoardAppTest):
d... | 1999e66070b02a30460c76d90787c7c20905363a | kboard/board/tests/test_templatetags.py | kboard/board/tests/test_templatetags.py | Python |
<|file_sep|>lib/message_queue/adapters/bunny/connection.rb.diff
original:
bunny = ::Bunny.new(settings)
updated:
bunny = ::Bunny.new(bunny_settings)
<|file_sep|>original/lib/message_queue/adapters/bunny/connection.rb
#
# Returns true if it's connected
def connected?
... | raise "No connection to RabbitMQ" unless connection && connected?
Producer.new(self, options)
end
def new_consumer(options)
raise "No connection to RabbitMQ" unless connection && connected?
Consumer.new(self, options)
end
private
def bunny_settings
default_bunny_settings.merge(setting... | <|file_sep|>lib/message_queue/adapters/bunny/connection.rb.diff
original:
bunny = ::Bunny.new(settings)
updated:
bunny = ::Bunny.new(bunny_settings)
<|file_sep|>original/lib/message_queue/adapters/bunny/connection.rb
#
# Returns true if it's connected
def connected?
... | 2e796aecbd106e8dc0ff2bd81d79aa58a2143bb7 | lib/message_queue/adapters/bunny/connection.rb | lib/message_queue/adapters/bunny/connection.rb | Ruby |
<|file_sep|>original/dev/scratch/stream/tasks/main.yml
---
# tasks file for stream
- stream:
cmd: ping nrser.com
<|file_sep|>current/dev/scratch/stream/tasks/main.yml
---
# tasks file for stream
- stream:
cmd: ping nrser.com
<|file_sep|>updated/dev/scratch/stream/tasks/main.yml | ---
# tasks file for stream
- path_facts:
path: "{{ qb_cwd }}"
register: path_facts
- stream:
cmd: ping nrser.com | <|file_sep|>original/dev/scratch/stream/tasks/main.yml
---
# tasks file for stream
- stream:
cmd: ping nrser.com
<|file_sep|>current/dev/scratch/stream/tasks/main.yml
---
# tasks file for stream
- stream:
cmd: ping nrser.com
<|file_sep|>updated/dev/scratch/stream/tasks/main.yml
---
# tasks file for stream
- pat... | b126791d8ca46e3790aa011e360088e856be0804 | dev/scratch/stream/tasks/main.yml | dev/scratch/stream/tasks/main.yml | YAML |
<|file_sep|>original/features/support/env.rb
require './config/environment'
require 'rspec/expectations'
require 'sidekiq/testing/inline'
require_relative 'capybara'
require_relative 'db_cleaner'
require_relative 'rerun'
if ENV['CI']
require 'knapsack'
Knapsack::Adapters::RSpecAdapter.bind
end
%w(select2_helper ... | require './config/environment'
require 'rspec/expectations'
require 'sidekiq/testing/inline'
require_relative 'capybara'
require_relative 'db_cleaner'
require_relative 'rerun'
if ENV['CI']
require 'knapsack'
Knapsack::Adapters::SpinachAdapter.bind
end
%w(select2_helper test_env repo_helpers).each do |f|
requir... | <|file_sep|>original/features/support/env.rb
require './config/environment'
require 'rspec/expectations'
require 'sidekiq/testing/inline'
require_relative 'capybara'
require_relative 'db_cleaner'
require_relative 'rerun'
if ENV['CI']
require 'knapsack'
Knapsack::Adapters::RSpecAdapter.bind
end
%w(select2_helper ... | da47f20a025b27485a0b294ec92571aafe8438e5 | features/support/env.rb | features/support/env.rb | Ruby |
<|file_sep|>original/ci/images/get-jdk-url.sh
#!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz"
;;
java11)
echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12... | #!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz"
;;
java11)
echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.12_... | <|file_sep|>original/ci/images/get-jdk-url.sh
#!/bin/bash
set -e
case "$1" in
java8)
echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz"
;;
java11)
echo "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12... | 5e853289b79c9c4b3ecd448f59d0edc25418cbfb | ci/images/get-jdk-url.sh | ci/images/get-jdk-url.sh | Shell |
<|file_sep|>awx/ui/static/js/main-menu/main-menu.block.less.diff
original:
@media screen and (min-width: @menu-breakpoint + 1px) {
updated:
@media screen and (min-width: (@menu-breakpoint + 1px)) {
<|file_sep|>awx/ui/static/js/main-menu/main-menu.block.less.diff
original:
@media screen and (min-width: @menu-bre... |
&-menuContainer {
display: flex;
}
&-toggle {
display: flex;
@media screen and (min-width: (@menu-breakpoint + 1px)) {
display: none;
}
margin-left: auto;
}
&--fixedTop {
width: 100%;
z-index: 1040;
position: fixed;
right: 0;
left: 0;
top: 0;
... | <|file_sep|>awx/ui/static/js/main-menu/main-menu.block.less.diff
original:
@media screen and (min-width: @menu-breakpoint + 1px) {
updated:
@media screen and (min-width: (@menu-breakpoint + 1px)) {
<|file_sep|>awx/ui/static/js/main-menu/main-menu.block.less.diff
original:
@media screen and (min-width: @menu-bre... | 0a8be8243f48545d2b8c8f55b16dfc9afce78724 | awx/ui/static/js/main-menu/main-menu.block.less | awx/ui/static/js/main-menu/main-menu.block.less | Less |
<|file_sep|>original/gulp/tasks/default.js
var gulp = require('gulp');
var config = require('../config');
gulp.task('watch', function() {
gulp.watch(config.css.watch, ['css']);
gulp.watch(config.coffeelint.watch, ['coffeelint']);
gulp.watch(config.browserify.app.watch, ['browseri... | var gulp = require('gulp');
var config = require('../config');
gulp.task('watch', function() {
gulp.watch(config.css.watch, ['css']);
gulp.watch(config.coffeelint.watch, ['coffeelint']);
gulp.watch(config.browserify.app.watch, ['browserify-app']);
gulp.watch(config.browserify... | <|file_sep|>original/gulp/tasks/default.js
var gulp = require('gulp');
var config = require('../config');
gulp.task('watch', function() {
gulp.watch(config.css.watch, ['css']);
gulp.watch(config.coffeelint.watch, ['coffeelint']);
gulp.watch(config.browserify.app.watch, ['browseri... | c0ccc5dd0a8216a75dea1c224fec140500373801 | gulp/tasks/default.js | gulp/tasks/default.js | JavaScript |
<|file_sep|>lib/components/select.tsx.diff
original:
updated:
const SelectWithForwardRef = forwardRef((p: Props, ref) => (
<Select innerRef={ref as any} styles={selectStyles} {...p} />
))
<|file_sep|>original/lib/components/select.tsx
backgroundColor: CB_HEX
}
}),
control: (styles, state) => ({
..... | }),
control: (styles, state) => ({
...styles,
boxShadow: state.isFocused
? `0 0 0 0.2rem rgba(${CB_RGB.r}, ${CB_RGB.g}, ${CB_RGB.b}, 0.25)`
: 0,
borderColor: state.isFocused ? CB_HEX : styles.borderColor,
'&:hover': {
borderColor: state.isFocused ? CB_HEX : styles.borderColor
}... | <|file_sep|>lib/components/select.tsx.diff
original:
updated:
const SelectWithForwardRef = forwardRef((p: Props, ref) => (
<Select innerRef={ref as any} styles={selectStyles} {...p} />
))
<|file_sep|>original/lib/components/select.tsx
backgroundColor: CB_HEX
}
}),
control: (styles, state) => ({
..... | 4e21462e2d5b281f46fad623c955d16ad89f8023 | lib/components/select.tsx | lib/components/select.tsx | TypeScript |
<|file_sep|>original/big_sur_beta/index.md
<|file_sep|>current/big_sur_beta/index.md
<|file_sep|>updated/big_sur_beta/index.md | ---
layout: page
title: Installing Big Sur beta on an external disk
---
Here's how I installed Big Sur beta on an external disk.
1. For macs that have a T2, you first need to boot into recovery mode and use the [Startup Security Utility](https://support.apple.com/en-us/HT208198). Hold Cmd-R at boot, choose Utilitie... | <|file_sep|>original/big_sur_beta/index.md
<|file_sep|>current/big_sur_beta/index.md
<|file_sep|>updated/big_sur_beta/index.md
---
layout: page
title: Installing Big Sur beta on an external disk
---
Here's how I installed Big Sur beta on an external disk.
1. For macs that have a T2, you first need to boot into rec... | 79b2623380927e78ac89257dfebf93af39d9c395 | big_sur_beta/index.md | big_sur_beta/index.md | Markdown |
<|file_sep|>original/.travis.yml
matrix:
fast_finish: true
allow_failures:
- php: 7.0
env: ADAPTER=Apc
- php: 7.0
env: ADAPTER=Memcached
- php: 7.0
env: ADAPTER=Redis
- php: 7.0
env: ADAPTER=Couchbase
- php: hhvm
env: ADAPTER=Couchbase
- php: hhvm
env: AD... | fast_finish: true
allow_failures:
- php: 7.0
env: ADAPTER=Apc
- php: 7.0
env: ADAPTER=Memcached
- php: 7.0
env: ADAPTER=Redis
- php: 7.0
env: ADAPTER=Couchbase
- php: hhvm
env: ADAPTER=Couchbase
- php: hhvm
env: ADAPTER=PostgreSQL
exclude:
- php: 5.3... | <|file_sep|>original/.travis.yml
matrix:
fast_finish: true
allow_failures:
- php: 7.0
env: ADAPTER=Apc
- php: 7.0
env: ADAPTER=Memcached
- php: 7.0
env: ADAPTER=Redis
- php: 7.0
env: ADAPTER=Couchbase
- php: hhvm
env: ADAPTER=Couchbase
- php: hhvm
env: AD... | 019171752e7939ddd7eced6332d351c618327e53 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/atom/config.cson
"*":
"atom-ctags": {}
"autocomplete-plus":
enableAutoActivation: false
core:
audioBeep: false
disabledPackages: [
"exception-reporting"
]
ignoredNames: [
".bundle"
".git"
"log"
"repositories"
"tmp"
]
themes: [
... | "*":
"atom-ctags": {}
"autocomplete-plus":
enableAutoActivation: false
core:
audioBeep: false
disabledPackages: [
"exception-reporting"
"linter"
]
ignoredNames: [
".bundle"
".git"
"log"
"repositories"
"tmp"
]
themes: [
"atom-dark-ui"
... | <|file_sep|>original/atom/config.cson
"*":
"atom-ctags": {}
"autocomplete-plus":
enableAutoActivation: false
core:
audioBeep: false
disabledPackages: [
"exception-reporting"
]
ignoredNames: [
".bundle"
".git"
"log"
"repositories"
"tmp"
]
themes: [
... | 294022091f9029964c248b1e795301f932132af6 | atom/config.cson | atom/config.cson | CoffeeScript |
<|file_sep|>pillar/grantnav_live_pillar.sls.diff
original:
datadate: '2017-06-07'
updated:
datadate: '2017-07-03'
<|file_sep|>pillar/grantnav_live_pillar.sls.diff
original:
datadate: '2017-06-07'
updated:
datadate: '2017-07-03'
<|file_sep|>original/pillar/grantnav_live_pillar.sls
# grantnav live... | # grantnav live
grantnav:
allowedhosts: '.live.threesixtygiving.uk0.bigv.io,.threesixtygiving.org'
server_size: large
deploy_mode: list
deploys:
new:
datadate: '2017-07-03'
branch: 'iteration07.6'
dataselection: acceptable_license_valid
current:
datadate: '2017-07-03'
branc... | <|file_sep|>pillar/grantnav_live_pillar.sls.diff
original:
datadate: '2017-06-07'
updated:
datadate: '2017-07-03'
<|file_sep|>pillar/grantnav_live_pillar.sls.diff
original:
datadate: '2017-06-07'
updated:
datadate: '2017-07-03'
<|file_sep|>original/pillar/grantnav_live_pillar.sls
# grantnav live... | ded40ac8495172a3fb3675580a8b4709a41205c1 | pillar/grantnav_live_pillar.sls | pillar/grantnav_live_pillar.sls | SaltStack |
<|file_sep|>original/README.rst
bin/django loaddata data/pathes.pne.json
==================
DEFINITION OF DONE
==================
Before setting a story to `DONE`, make sure :
* Docstrings were added/updated to your code
* Unit tests of core behaviours are up to date
* Functional tests were added in `docs/func... |
bin/django loaddata data/pathes.pne.json
=======
AUTHORS
=======
* Gilles Bassière
* Sylvain Beorchia
* Mathieu Leplatre
* Anaïs Peyrucq
* Simon Thépot
|makinacom|_
.. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif
.. _makinacom: http://www.makina-corpus.com
=======
L... | <|file_sep|>original/README.rst
bin/django loaddata data/pathes.pne.json
==================
DEFINITION OF DONE
==================
Before setting a story to `DONE`, make sure :
* Docstrings were added/updated to your code
* Unit tests of core behaviours are up to date
* Functional tests were added in `docs/func... | baad6414e6bafaf72b45541928ee81ffb6fa70cf | README.rst | README.rst | reStructuredText |
<|file_sep|>original/docs/releases/0_7_0.rst
This releases adds some convenience operations defined for tensorial objects,
like direct negation and division by scalars. For instance, to negate a tensor
``t``, now we can just write ``-t`` instead of the more cumbersome ``-1 * t``.
Similarly, to divide it by two, we can... | This releases adds some convenience operations defined for tensorial objects,
like direct negation and division by scalars. For instance, to negate a tensor
``t``, now we can just write ``-t`` instead of the more cumbersome ``-1 * t``.
Similarly, to divide it by two, we can now just write ``t / 2``, compared with
the ... | <|file_sep|>original/docs/releases/0_7_0.rst
This releases adds some convenience operations defined for tensorial objects,
like direct negation and division by scalars. For instance, to negate a tensor
``t``, now we can just write ``-t`` instead of the more cumbersome ``-1 * t``.
Similarly, to divide it by two, we can... | 75d768ab1ce0f7ca78d658de22624043f3a7beac | docs/releases/0_7_0.rst | docs/releases/0_7_0.rst | reStructuredText |
<|file_sep|>original/snomed/com.b2international.snowowl.validation.snomed/src/main/resources/validation-rules-common.json
"implementation": "scripts/ruleSnomedCommon1.groovy"
},
{
"id": "snomed-common-2",
"toolingId": "com.b2international.snowowl.terminology.snomed",
"messageTemplate": "Fully-specifi... | "implementation": "scripts/ruleSnomedCommon1.groovy"
},
{
"id": "snomed-common-2",
"toolingId": "com.b2international.snowowl.terminology.snomed",
"messageTemplate": "Fully-specified names of active concepts should be unique.",
"severity": "WARNING",
"checkType": "NORMAL",
"type": "script-... | <|file_sep|>original/snomed/com.b2international.snowowl.validation.snomed/src/main/resources/validation-rules-common.json
"implementation": "scripts/ruleSnomedCommon1.groovy"
},
{
"id": "snomed-common-2",
"toolingId": "com.b2international.snowowl.terminology.snomed",
"messageTemplate": "Fully-specifi... | 47c6538248ee9ff1bb7dfa6f6d41b72568e0aea7 | snomed/com.b2international.snowowl.validation.snomed/src/main/resources/validation-rules-common.json | snomed/com.b2international.snowowl.validation.snomed/src/main/resources/validation-rules-common.json | JSON |
<|file_sep|>original/Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat
@echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.62" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto sta... | @echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.63" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto start | <|file_sep|>original/Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat
@echo off
cls
:start
echo Starting server...
"Nomad Server\NomadServer.exe" -name "My Oxide Server" -port 5127 -slots 10 -clientVersion "0.62" -password "" -tcpLobby "149.202.51.185" 25565
echo.
echo Restarting server...
echo.
goto sta... | b318e68a5b77e2422d44a570611854fd16220f28 | Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat | Games/Other/Oxide.Game.Nomad/Files/Windows/_start-example.bat | Batchfile |
<|file_sep|>original/README.md
# dev-container-go
A container, based on [dev-container-base](https://github.com/dpetersen/dev-container-base), for developing in Go.
## Usage
The base container starts an SSH server, so you can read more about that in [its README](https://github.com/dpetersen/dev-container-base). This... | # dev-container-go
[](https://registry.hub.docker.com/u/dpetersen/dev-container-go/)
A container, based on [dev-container-base](https://github.com/dpetersen/dev-container-base), for developing in Go.
## Usage
The base container starts an SSH server, s... | <|file_sep|>original/README.md
# dev-container-go
A container, based on [dev-container-base](https://github.com/dpetersen/dev-container-base), for developing in Go.
## Usage
The base container starts an SSH server, so you can read more about that in [its README](https://github.com/dpetersen/dev-container-base). This... | 63d7781c6034b7d41984067a06a754b3610b6027 | README.md | README.md | Markdown |
<|file_sep|>src/corrections/mainPracticeCorrection/components/dataFetcher.js.diff
original:
const [isLoading, setIsLoading] = React.useState(true);
const [data, setData] = React.useState(null);
updated:
const [state, dispatch] = React.useReducer(
(state, action) => {
switch (action.type)... | });
});
};
React.useEffect(
() => {
fetchData(parameters);
},
[parameters]
);
return children({data: state.data, isLoading: state.isLoading});
};
DataFetcher.propTypes = {
children: PropTypes.func.isRequired,
getData: PropTypes.func.isRe... | <|file_sep|>src/corrections/mainPracticeCorrection/components/dataFetcher.js.diff
original:
const [isLoading, setIsLoading] = React.useState(true);
const [data, setData] = React.useState(null);
updated:
const [state, dispatch] = React.useReducer(
(state, action) => {
switch (action.type)... | 473d6d6e29d56f8ac54832240479558b2114ea1b | src/corrections/mainPracticeCorrection/components/dataFetcher.js | src/corrections/mainPracticeCorrection/components/dataFetcher.js | JavaScript |
<|file_sep|>original/portal/views.py
from . import services
def index(request):
data = services.overview()
return render(request, 'index.html', data)
def meter_runs(request):
"""Render the table of exported MeterRun results in html"""
data = services.meterruns_export()
return render(request, 'pro... | data = services.overview()
return render(request, 'index.html', data)
def meter_runs(request):
"""Render the table of exported MeterRun results in html"""
data = services.meterruns_export()
return render(request, 'project_run_table.html', data)
def csv_export(request):
"""Return a dump of all ... | <|file_sep|>original/portal/views.py
from . import services
def index(request):
data = services.overview()
return render(request, 'index.html', data)
def meter_runs(request):
"""Render the table of exported MeterRun results in html"""
data = services.meterruns_export()
return render(request, 'pro... | 608325c33cb2d446b89c263ba0bb02ced5c4ffe8 | portal/views.py | portal/views.py | Python |
<|file_sep|>original/src/powershell/project.json
"netcoreapp1.0": {
"imports": [ "dnxcore50", "portable-net45+win8" ],
"buildOptions": {
"define": [ "CORECLR" ]
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-3002526"
... | "netcoreapp1.0": {
"imports": [ "dnxcore50", "portable-net45+win8" ],
"buildOptions": {
"define": [ "CORECLR" ]
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-3002526"
}
}
},
"runtimes": {
... | <|file_sep|>original/src/powershell/project.json
"netcoreapp1.0": {
"imports": [ "dnxcore50", "portable-net45+win8" ],
"buildOptions": {
"define": [ "CORECLR" ]
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-3002526"
... | 10f2d48f603ca932970284a51163b8a62b57a854 | src/powershell/project.json | src/powershell/project.json | JSON |
<|file_sep|>original/webapp/components/ArtifactsList.jsx
<|file_sep|>current/webapp/components/ArtifactsList.jsx
<|file_sep|>updated/webapp/components/ArtifactsList.jsx | import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {Flex, Box} from 'grid-styled';
import Collapsable from './Collapsable';
import Panel from './Panel';
import ResultGridHeader from './ResultGridHeader';
import ResultGridRow from './ResultGridRow';
export default class ArtifactsList ex... | <|file_sep|>original/webapp/components/ArtifactsList.jsx
<|file_sep|>current/webapp/components/ArtifactsList.jsx
<|file_sep|>updated/webapp/components/ArtifactsList.jsx
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {Flex, Box} from 'grid-styled';
import Collapsable from './Collap... | 58b4f8ef105768b039be53a2c5350e5b605505d5 | webapp/components/ArtifactsList.jsx | webapp/components/ArtifactsList.jsx | JSX |
<|file_sep|>original/tests/functional/filter/cram/filter-force-include-no-duplicates.t
<|file_sep|>current/tests/functional/filter/cram/filter-force-include-no-duplicates.t
<|file_sep|>updated/tests/functional/filter/cram/filter-force-include-no-duplicates.t | Setup
$ pushd "$TESTDIR" > /dev/null
$ source _setup.sh
Test that a force-included strain is only output once.
Create some files for testing.
$ cat >$TMP/metadata.tsv <<~~
> strain col
> a 1
> b 2
> c 3
> d 4
> ~~
$ cat >$TMP/sequences.fasta <<~~
> >a
> NNNN | <|file_sep|>original/tests/functional/filter/cram/filter-force-include-no-duplicates.t
<|file_sep|>current/tests/functional/filter/cram/filter-force-include-no-duplicates.t
<|file_sep|>updated/tests/functional/filter/cram/filter-force-include-no-duplicates.t
Setup
$ pushd "$TESTDIR" > /dev/null
$ source _setup.s... | 78b137c7398bba545fba23ca3c07a6e199577653 | tests/functional/filter/cram/filter-force-include-no-duplicates.t | tests/functional/filter/cram/filter-force-include-no-duplicates.t | Perl |
<|file_sep|>metadata/com.example.barcodescanner.yml.diff
original:
updated:
- versionName: '1.5'
versionCode: 7
commit: v1.5
subdir: app
gradle:
- fDroid
<|file_sep|>original/metadata/com.example.barcodescanner.yml
gradle:
- fDroid
- versionName: '1.3'
versionCode: 5
commi... | gradle:
- fDroid
- versionName: '1.4'
versionCode: 6
commit: v1.4
subdir: app
gradle:
- fDroid
- versionName: '1.5'
versionCode: 7
commit: v1.5
subdir: app
gradle:
- fDroid
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.5'
CurrentVersion... | <|file_sep|>metadata/com.example.barcodescanner.yml.diff
original:
updated:
- versionName: '1.5'
versionCode: 7
commit: v1.5
subdir: app
gradle:
- fDroid
<|file_sep|>original/metadata/com.example.barcodescanner.yml
gradle:
- fDroid
- versionName: '1.3'
versionCode: 5
commi... | e3cc4c830f6e7ff35a73856606f67c1c4b3983b3 | metadata/com.example.barcodescanner.yml | metadata/com.example.barcodescanner.yml | YAML |
<|file_sep|>src/utils/general.js.diff
original:
const getCSS = (node) => `
.selector {
${getTaggedTemplateLiteralContent(node)}
}
`
updated:
const getCSS = (node) => `.selector {${getTaggedTemplateLiteralContent(node)}}\n`
<|file_sep|>original/src/utils/general.js
const getTaggedTemplateLiteralContent = require('./ta... | const getTaggedTemplateLiteralContent = require('./tagged-template-literal').getTaggedTemplateLiteralContent
const getCSS = (node) => `.selector {${getTaggedTemplateLiteralContent(node)}}\n`
const getKeyframes = (node) => `@keyframes {${getTaggedTemplateLiteralContent(node)}}\n`
exports.getKeyframes = getKeyframes
e... | <|file_sep|>src/utils/general.js.diff
original:
const getCSS = (node) => `
.selector {
${getTaggedTemplateLiteralContent(node)}
}
`
updated:
const getCSS = (node) => `.selector {${getTaggedTemplateLiteralContent(node)}}\n`
<|file_sep|>original/src/utils/general.js
const getTaggedTemplateLiteralContent = require('./ta... | 28141a5f615c5d11151e850beb7b6541045daeab | src/utils/general.js | src/utils/general.js | JavaScript |
<|file_sep|>original/addon/services/moment.js
}
}),
changeLocale(locale) {
this.set('locale', locale);
},
changeTimeZone(timeZone) {
this.set('timeZone', timeZone);
},
moment() {
let time = moment(...arguments);
const locale = this.get('locale');
const timeZone = this.get('timeZon... | }
}),
changeLocale(locale) {
this.set('locale', locale);
},
changeTimeZone(timeZone) {
this.set('timeZone', timeZone);
},
isMoment(obj) {
return moment.isMoment(obj);
},
moment() {
let time = moment(...arguments);
const locale = this.get('locale');
const timeZone = this... | <|file_sep|>original/addon/services/moment.js
}
}),
changeLocale(locale) {
this.set('locale', locale);
},
changeTimeZone(timeZone) {
this.set('timeZone', timeZone);
},
moment() {
let time = moment(...arguments);
const locale = this.get('locale');
const timeZone = this.get('timeZon... | 80bcd503160fea3cf948303ca6c079ede159f7ae | addon/services/moment.js | addon/services/moment.js | JavaScript |
<|file_sep|>original/recipes/mod_cgi.rb
<|file_sep|>current/recipes/mod_cgi.rb
<|file_sep|>updated/recipes/mod_cgi.rb | #
# Author:: Richard Downer (<richard.downer@cloudsoftcorp.com>)
# Cookbook Name:: iis
# Recipe:: mod_cgi
#
# Copyright 2013, Cloudsoft Corporation
#
# 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 Licens... | <|file_sep|>original/recipes/mod_cgi.rb
<|file_sep|>current/recipes/mod_cgi.rb
<|file_sep|>updated/recipes/mod_cgi.rb
#
# Author:: Richard Downer (<richard.downer@cloudsoftcorp.com>)
# Cookbook Name:: iis
# Recipe:: mod_cgi
#
# Copyright 2013, Cloudsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (... | da0a6f4360cca1f2f7b616103c5c7776dfe6839c | recipes/mod_cgi.rb | recipes/mod_cgi.rb | Ruby |
<|file_sep|>original/sources/us/wi/waukesha.json
"coverage": {
"US Census": {
"geoid": "55133",
"name": "Waukesha County",
"state": "Wisconsin"
},
"country": "us",
"state": "wi",
"county": "Waukesha"
},
"data": "http://maps.waukcoge... | "coverage": {
"US Census": {
"geoid": "55133",
"name": "Waukesha County",
"state": "Wisconsin"
},
"country": "us",
"state": "wi",
"county": "Waukesha"
},
"data": "https://gis2.waukcogeo.com/server/rest/services/E911/MapServer/10",
... | <|file_sep|>original/sources/us/wi/waukesha.json
"coverage": {
"US Census": {
"geoid": "55133",
"name": "Waukesha County",
"state": "Wisconsin"
},
"country": "us",
"state": "wi",
"county": "Waukesha"
},
"data": "http://maps.waukcoge... | 9bbe9f921924bb23cb07932116520ffdaae28345 | sources/us/wi/waukesha.json | sources/us/wi/waukesha.json | JSON |
<|file_sep|>original/.travis.yml
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-... | before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RE... | <|file_sep|>original/.travis.yml
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-... | 7363b092d22c417f18844ccca4c4528a1921bbaf | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/assets/javascripts/merge_requests.js.coffee
window.merge_requests = ->
# Click to add a comment
$("td > div.add-comment").on 'click', (event) ->
show_comment_box(event.target.parentElement.parentElement)
$('#push-comments').on 'click', (event) ->
false
window.show_comment_box =... |
window.merge_requests = ->
# Click to add a comment
$("td > div.add-comment").on 'click', (event) ->
show_comment_box(event.target.parentElement.parentElement)
$('#push-comments').on 'click', (event) ->
false
window.show_comment_box = (tr) ->
# check if there are comments for this line
if $(tr).nex... | <|file_sep|>original/app/assets/javascripts/merge_requests.js.coffee
window.merge_requests = ->
# Click to add a comment
$("td > div.add-comment").on 'click', (event) ->
show_comment_box(event.target.parentElement.parentElement)
$('#push-comments').on 'click', (event) ->
false
window.show_comment_box =... | 34f30db7b626c4664f26c5546af706ccd149751d | app/assets/javascripts/merge_requests.js.coffee | app/assets/javascripts/merge_requests.js.coffee | CoffeeScript |
<|file_sep|>original/README.md
Buck
====
Buck is an Android build tool. To see what Buck can do for you,
check out the documentation at <http://facebook.github.io/buck/>.
[](https://travis-ci.org/facebook/buck)
Installation
------------
To build Buck, run the ... | Buck
====
Buck is an Android build tool. To see what Buck can do for you,
check out the documentation at <http://facebook.github.io/buck/>.
[](https://travis-ci.org/facebook/buck)
Installation
------------
To build Buck, run the following:
git clone https... | <|file_sep|>original/README.md
Buck
====
Buck is an Android build tool. To see what Buck can do for you,
check out the documentation at <http://facebook.github.io/buck/>.
[](https://travis-ci.org/facebook/buck)
Installation
------------
To build Buck, run the ... | 7e494d0240347b60af82559bc1fc43a14525bb89 | README.md | README.md | Markdown |
<|file_sep|>original/javascripts/data/events.json
{
"events": [
{
"titulo": "UXCONF BR 2019 ",
"dataInicio": "2019-05-17",
"dataFim": "2019-05-18",
"local": "UniRitter",
"endereco": "Rua Orfanotrófio, 555 - Santa Tereza, Porto Alegre - Rio Grande do Sul",
"localizacao": { ... | "titulo": "UXCONF BR 2019 ",
"dataInicio": "2019-05-17",
"dataFim": "2019-05-18",
"local": "UniRitter",
"endereco": "Rua Orfanotrófio, 555 - Santa Tereza, Porto Alegre - Rio Grande do Sul",
"localizacao": {
"latitude": -30.079680,
"longitude": -51.219297
},
... | <|file_sep|>original/javascripts/data/events.json
{
"events": [
{
"titulo": "UXCONF BR 2019 ",
"dataInicio": "2019-05-17",
"dataFim": "2019-05-18",
"local": "UniRitter",
"endereco": "Rua Orfanotrófio, 555 - Santa Tereza, Porto Alegre - Rio Grande do Sul",
"localizacao": { ... | 216e8411b54a8a9c693ce53c37793d642162ad3a | javascripts/data/events.json | javascripts/data/events.json | JSON |
<|file_sep|>CefSharp.BrowserSubprocess/Program.cs.diff
original:
using System.Diagnostics;
updated:
<|file_sep|>original/CefSharp.BrowserSubprocess/Program.cs
public class Program
{
public static int Main(string[] args)
{
Kernel32.OutputDebugString("BrowserSubprocess starting up wit... | {
public static int Main(string[] args)
{
Kernel32.OutputDebugString("BrowserSubprocess starting up with command line: " + String.Join("\n", args));
int result;
using (var subprocess = Create(args))
{
//if (subprocess is CefRenderProc... | <|file_sep|>CefSharp.BrowserSubprocess/Program.cs.diff
original:
using System.Diagnostics;
updated:
<|file_sep|>original/CefSharp.BrowserSubprocess/Program.cs
public class Program
{
public static int Main(string[] args)
{
Kernel32.OutputDebugString("BrowserSubprocess starting up wit... | a7c2b8bac8b3579a09bd3609974ca87e86a82da8 | CefSharp.BrowserSubprocess/Program.cs | CefSharp.BrowserSubprocess/Program.cs | C# |
<|file_sep|>original/content/blog/2017/fun-links-2017-04-07.md
<|file_sep|>current/content/blog/2017/fun-links-2017-04-07.md
<|file_sep|>updated/content/blog/2017/fun-links-2017-04-07.md | +++
title = "Fun Links 2017-04-07"
categories = ["Fun links"]
tags = ["auth", "service"]
date = 2017-04-07T11:28:06Z
+++
**Reactide**
http://reactide.io/
You know your web framework has reached a new level when someone creates a domain-specific IDE for it. That is just what Reactide is, a bespoke IDE for creating R... | <|file_sep|>original/content/blog/2017/fun-links-2017-04-07.md
<|file_sep|>current/content/blog/2017/fun-links-2017-04-07.md
<|file_sep|>updated/content/blog/2017/fun-links-2017-04-07.md
+++
title = "Fun Links 2017-04-07"
categories = ["Fun links"]
tags = ["auth", "service"]
date = 2017-04-07T11:28:06Z
+++
**Reactide... | 726e6c979984ccca80e055f307d922151bf9c760 | content/blog/2017/fun-links-2017-04-07.md | content/blog/2017/fun-links-2017-04-07.md | Markdown |
<|file_sep|>original/Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml
@model JoinRpg.DataModel.MarkdownString
@{
var requiredMsg = new MvcHtmlString("");
var validation = false;
foreach (var attr in @Html.GetUnobtrusiveValidationAttributes(@ViewData.TemplateInfo.HtmlFieldPrefix, @ViewData.ModelMetada... | @model JoinRpg.DataModel.MarkdownString
@{
var requiredMsg = new MvcHtmlString("");
var validation = false;
foreach (var attr in @Html.GetUnobtrusiveValidationAttributes(@ViewData.TemplateInfo.HtmlFieldPrefix, @ViewData.ModelMetadata))
{
if (attr.Key == "data-val-required")
{
requiredMs... | <|file_sep|>original/Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml
@model JoinRpg.DataModel.MarkdownString
@{
var requiredMsg = new MvcHtmlString("");
var validation = false;
foreach (var attr in @Html.GetUnobtrusiveValidationAttributes(@ViewData.TemplateInfo.HtmlFieldPrefix, @ViewData.ModelMetada... | bc6f672f73f6a3b3923b037820fc646a1189cc2e | Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml | Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml | C# |
<|file_sep|>original/OptionsDisplay/HearthWindow.cs
public void AppendWindowText(string text)
{
info.Text = info.Text + text;
}
public void ClearAll()
{
info.Text = "";
}
public void MoveToHistory()
{
return;
}... | public void AppendWindowText(string text)
{
info.Text = info.Text + text;
}
public void ClearAll()
{
info.Text = "";
}
public void MoveToHistory()
{
info.Text = "";
}
public void SetWindowText(string t... | <|file_sep|>original/OptionsDisplay/HearthWindow.cs
public void AppendWindowText(string text)
{
info.Text = info.Text + text;
}
public void ClearAll()
{
info.Text = "";
}
public void MoveToHistory()
{
return;
}... | e2282e30e5349b7b277977e3aa12a5f2d0cc4727 | OptionsDisplay/HearthWindow.cs | OptionsDisplay/HearthWindow.cs | C# |
<|file_sep|>original/app/views/users/_form.html.erb
<% end %>
</ul>
</div>
<% end %>
<div class="field">
<%= f.label :name %></br>
<%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :email %></br>
<%= f.text_field :email %>
</div>
<div class="field">
<%= f.... |
<div class="field">
<%= f.label :name %></br>
<%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :email %></br>
<%= f.text_field :email %>
</div>
<div class="field">
<%= f.label :time_zone %></br>
<%= time_zone_select 'user', 'time_zone', nil, :include_blank => true %>
... | <|file_sep|>original/app/views/users/_form.html.erb
<% end %>
</ul>
</div>
<% end %>
<div class="field">
<%= f.label :name %></br>
<%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :email %></br>
<%= f.text_field :email %>
</div>
<div class="field">
<%= f.... | 601952c0d5bf234a4dd06d00f8920af6fbc11406 | app/views/users/_form.html.erb | app/views/users/_form.html.erb | HTML+ERB |
<|file_sep|>appveyor.yml.diff
original:
- nodejs_version: "4"
updated:
- nodejs_version: "4.0"
- nodejs_version: "4.1"
- nodejs_version: "4.2"
- nodejs_version: "5"
<|file_sep|>original/appveyor.yml
- nodejs_version: "0.12"
- nodejs_version: "4"
platform:
- x86
- x64
install:
- ps: Ins... | - nodejs_version: "0.12"
- nodejs_version: "4.0"
- nodejs_version: "4.1"
- nodejs_version: "4.2"
- nodejs_version: "5"
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g npm
- npm install -g grunt-cli
- npm install
test_script:
# Output usefu... | <|file_sep|>appveyor.yml.diff
original:
- nodejs_version: "4"
updated:
- nodejs_version: "4.0"
- nodejs_version: "4.1"
- nodejs_version: "4.2"
- nodejs_version: "5"
<|file_sep|>original/appveyor.yml
- nodejs_version: "0.12"
- nodejs_version: "4"
platform:
- x86
- x64
install:
- ps: Ins... | ca17c59e5c1c352a5b44b0b88e6d558b4e4e2e7f | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/Shell/exclude_spec_lin.sh
#!/bin/bash
#Output from line two
awk 'NR>1' data.txt
<|file_sep|>current/Shell/exclude_spec_lin.sh
#!/bin/bash
#Output from line two
awk 'NR>1' data.txt
<|file_sep|>updated/Shell/exclude_spec_lin.sh | #!/bin/bash
#Output from line two
awk 'NR>1' data.txt
echo "exclued line azx,z,1,b with regular expression"
awk '!/azx,z,1,b/' data.txt
| <|file_sep|>original/Shell/exclude_spec_lin.sh
#!/bin/bash
#Output from line two
awk 'NR>1' data.txt
<|file_sep|>current/Shell/exclude_spec_lin.sh
#!/bin/bash
#Output from line two
awk 'NR>1' data.txt
<|file_sep|>updated/Shell/exclude_spec_lin.sh
#!/bin/bash
#Output from line two
awk 'NR>1' data.txt
echo ... | f5fb74bb121b5f24e868625c18b213574c7078f3 | Shell/exclude_spec_lin.sh | Shell/exclude_spec_lin.sh | Shell |
<|file_sep|>packages/cf/cf.yaml.diff
original:
hash: 9fd574edfce6ea014201ccc3591638de0574f251290bcf0f44a8a00338131692
updated:
hash: 91e1660bde2c8d2e69423a518032f2f6873ba3e31140e0250e89fa63ec823ec5
<|file_sep|>packages/cf/cf.yaml.diff
original:
updated:
- '0.4.2'
<|file_sep|>original/packages/cf/cf.yaml
QuickCheck: ... | maintainer: mitchell.v.riley@gmail.com
synopsis: Exact real arithmetic using continued fractions
changelog: ''
basic-deps:
base: ! '>=4.4 && <5'
all-versions:
- '0.1'
- '0.2'
- '0.3'
- '0.4'
- '0.4.1'
- '0.4.2'
author: Mitchell Riley
latest: '0.4.2'
description-type: haddock
description: ! 'Continued fraction arithme... | <|file_sep|>packages/cf/cf.yaml.diff
original:
hash: 9fd574edfce6ea014201ccc3591638de0574f251290bcf0f44a8a00338131692
updated:
hash: 91e1660bde2c8d2e69423a518032f2f6873ba3e31140e0250e89fa63ec823ec5
<|file_sep|>packages/cf/cf.yaml.diff
original:
updated:
- '0.4.2'
<|file_sep|>original/packages/cf/cf.yaml
QuickCheck: ... | 3683b0a0204c5017c9ebfd8eaf73ada958bd2147 | packages/cf/cf.yaml | packages/cf/cf.yaml | YAML |
<|file_sep|>original/README.md
# DbUp Project Generator
[Yeoman](http://yeoman.io) generator that scaffolds out a [DbUp](https://github.com/DbUp/DbUp) C# console project.
What's in the Template?
The template produces a C# console project which runs a DbUp deployment to a database.
The console is built so it deploys... | The template produces a C# console project which runs a DbUp deployment to a database.
The console is built so it deploys journaled scripts reside in a folder called "MigrationScripts", and non-journaled scripts reside in the "NonMigrationScripts". Scripts in both folders are assumed to be Embedded Resources in the p... | <|file_sep|>original/README.md
# DbUp Project Generator
[Yeoman](http://yeoman.io) generator that scaffolds out a [DbUp](https://github.com/DbUp/DbUp) C# console project.
What's in the Template?
The template produces a C# console project which runs a DbUp deployment to a database.
The console is built so it deploys... | 915542132915dc653542df82158eb4d50a853fa1 | README.md | README.md | Markdown |
<|file_sep|>fireplace/cards/blackrock/collectible.py.diff
original:
updated:
]
# Imp Gang Boss
class BRM_006:
events = [
Damage(SELF).on(Summon(CONTROLLER, "BRM_006t"))
<|file_sep|>original/fireplace/cards/blackrock/collectible.py
OWN_SPELL_PLAY.after(Hit(RANDOM_ENEMY_MINION, 1) * 2)
]
##
# Spells
# Solemn... | # Spells
# Solemn Vigil
class BRM_001:
action = [Draw(CONTROLLER) * 2]
def cost(self, value):
return value - self.game.minionsKilledThisTurn
# Dragon's Breath
class BRM_003:
action = [Hit(TARGET, 4)]
def cost(self, value):
return value - self.game.minionsKilledThisTurn
# Demonwrath
class BRM_005:
action... | <|file_sep|>fireplace/cards/blackrock/collectible.py.diff
original:
updated:
]
# Imp Gang Boss
class BRM_006:
events = [
Damage(SELF).on(Summon(CONTROLLER, "BRM_006t"))
<|file_sep|>original/fireplace/cards/blackrock/collectible.py
OWN_SPELL_PLAY.after(Hit(RANDOM_ENEMY_MINION, 1) * 2)
]
##
# Spells
# Solemn... | ced2be321f347f3e28e79e5cfac4e4a83f6b6819 | fireplace/cards/blackrock/collectible.py | fireplace/cards/blackrock/collectible.py | Python |
<|file_sep|>original/config/defaults/imagetypes/ubuntu12.json
{
"name": "ubuntu12",
"description": "Ubuntu 12.04 LTS",
"providermap": {
"joyent": {
"image": "d2ba0f30-bbe8-11e2-a9a2-6bc116856d85"
},
"rackspace": {
"image": "ffa476b1-9b14-46bd-99a8-862d1d94eb7a"
}
}
}
<|file_sep|>curr... | {
"name": "ubuntu12",
"description": "Ubuntu 12.04 LTS",
"providermap": {
"joyent": {
"image": "f21af273-353f-4020-8ae1-3ac34481c7b4"
},
"rackspace": {
"image": "ffa476b1-9b14-46bd-99a8-862d1d94eb7a"
}
}
} | <|file_sep|>original/config/defaults/imagetypes/ubuntu12.json
{
"name": "ubuntu12",
"description": "Ubuntu 12.04 LTS",
"providermap": {
"joyent": {
"image": "d2ba0f30-bbe8-11e2-a9a2-6bc116856d85"
},
"rackspace": {
"image": "ffa476b1-9b14-46bd-99a8-862d1d94eb7a"
}
}
}
<|file_sep|>curr... | 833b7dbe2838b1821428a18a326c3e6c7d205562 | config/defaults/imagetypes/ubuntu12.json | config/defaults/imagetypes/ubuntu12.json | JSON |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.