prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/source/themes/quis/index.php
<?php
get_header();
global $query_string;
$query_modifications = is_category() ? "" : "&cat=-308"; // Exclude hidden posts unless on a category page
$query_modifications .= parent_category_is("trips") ? "&order=ASC" : "";
query_posts($query_string.$query_mod... | <?php
get_header();
global $query_string;
$query_modifications = is_category() ? "" : "&cat=-7"; // Exclude hidden posts unless on a category page
$query_modifications .= parent_category_is("trips") ? "&order=ASC" : "";
query_posts($query_string.$query_modifications);
is_front_page() && !is_paged() ? req... | <|file_sep|>original/source/themes/quis/index.php
<?php
get_header();
global $query_string;
$query_modifications = is_category() ? "" : "&cat=-308"; // Exclude hidden posts unless on a category page
$query_modifications .= parent_category_is("trips") ? "&order=ASC" : "";
query_posts($query_string.$query_mod... | 6a5850498862f6553984d947ed023c06a86d9a2a | source/themes/quis/index.php | source/themes/quis/index.php | PHP |
<|file_sep|>pava/demo.py.diff
original:
updated:
import os
<|file_sep|>pava/demo.py.diff
original:
pava.set_classpath(['c:/Users/laffr/PycharmProjects/pava/pava'])
updated:
print '1. Loading Java...'
pava.set_classpath([os.path.dirname(__file__)])
<|file_sep|>pava/demo.py.diff
original:
updated:
#
# Load the "HelloWo... | # ----------------------------------------------------------------------------------------------------------------------
# 0 LOAD_GLOBAL 0 java ### 0 getstatic ('java/lang/System', 'Ljava/io/PrintStream;', 'out')
# 3 LOAD_ATTR 1 lang
# 6 LOAD_ATTR 2 System
# 9 LOAD_ATTR 3 out
# 12 LOAD_... | <|file_sep|>pava/demo.py.diff
original:
updated:
import os
<|file_sep|>pava/demo.py.diff
original:
pava.set_classpath(['c:/Users/laffr/PycharmProjects/pava/pava'])
updated:
print '1. Loading Java...'
pava.set_classpath([os.path.dirname(__file__)])
<|file_sep|>pava/demo.py.diff
original:
updated:
#
# Load the "HelloWo... | 8be5e7f7945a47dd0cc6efb57d882f10c9686f2f | pava/demo.py | pava/demo.py | Python |
<|file_sep|>test/sanitizer_common/TestCases/Linux/assert.cc.diff
original:
// RUN: %env_tool_opts=handle_abort=1 not %run %t
updated:
<|file_sep|>original/test/sanitizer_common/TestCases/Linux/assert.cc
// FIXME: implement in other sanitizers.
// XFAIL: tsan
#include <assert.h>
#include <stdio.h>
#include <s... | // XFAIL: tsan
#include <assert.h>
#include <stdio.h>
#include <sanitizer/asan_interface.h>
void death() {
fprintf(stderr, "DEATH CALLBACK\n");
}
int main(int argc, char **argv) {
__sanitizer_set_death_callback(death);
assert(argc == 100);
}
// CHECK0-NOT: Sanitizer:DEADLYSIGNAL
// CHECK1: ERROR: {{.*}}Saniti... | <|file_sep|>test/sanitizer_common/TestCases/Linux/assert.cc.diff
original:
// RUN: %env_tool_opts=handle_abort=1 not %run %t
updated:
<|file_sep|>original/test/sanitizer_common/TestCases/Linux/assert.cc
// FIXME: implement in other sanitizers.
// XFAIL: tsan
#include <assert.h>
#include <stdio.h>
#include <s... | f4cd4c0822cf29a2d9b933c4dfe000bef46ea88c | test/sanitizer_common/TestCases/Linux/assert.cc | test/sanitizer_common/TestCases/Linux/assert.cc | C++ |
<|file_sep|>templates/settings/tags.hbs.diff
original:
<a class="btn btn-default btn-back active" href="/ghost/settings/">Back</a>
updated:
<|file_sep|>original/templates/settings/tags.hbs
<header class="settings-view-header">
<a class="btn btn-default btn-back active" href="/ghost/settings/">Back</a>
<h2 ... | <header class="settings-view-header">
<h2 class="page-title">Tags</h2>
<div class="js-settings-header-inner settings-header-inner">
{{#link-to 'settings' class='btn btn-default btn-back'}}Back{{/link-to}}
</div>
<section class="page-actions">
<button type="button" class="btn btn-green" {... | <|file_sep|>templates/settings/tags.hbs.diff
original:
<a class="btn btn-default btn-back active" href="/ghost/settings/">Back</a>
updated:
<|file_sep|>original/templates/settings/tags.hbs
<header class="settings-view-header">
<a class="btn btn-default btn-back active" href="/ghost/settings/">Back</a>
<h2 ... | 24c6cee8bbbbb217889989fe3eb676cbda93350f | templates/settings/tags.hbs | templates/settings/tags.hbs | Handlebars |
<|file_sep|>plugins/changeReminder/src/com/jetbrains/changeReminder/plugin/UserSettings.kt.diff
original:
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
updated:
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code ... | private val eventDispatcher = EventDispatcher.create(PluginStatusListener::class.java)
var isPluginEnabled: Boolean
get() = state.isPluginEnabled
set(value) {
state.isPluginEnabled = value
eventDispatcher.multicaster.statusChanged(value)
}
fun addPluginStatusListener(listener: PluginStat... | <|file_sep|>plugins/changeReminder/src/com/jetbrains/changeReminder/plugin/UserSettings.kt.diff
original:
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
updated:
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code ... | aa7dae2a6dbcac076ed2fc5416c65e2ac7f04f4b | plugins/changeReminder/src/com/jetbrains/changeReminder/plugin/UserSettings.kt | plugins/changeReminder/src/com/jetbrains/changeReminder/plugin/UserSettings.kt | Kotlin |
<|file_sep|>original/config/trace_pox_l2_learning.py
<|file_sep|>current/config/trace_pox_l2_learning.py
<|file_sep|>updated/config/trace_pox_l2_learning.py | from config.experiment_config_lib import ControllerConfig
from sts.topology import StarTopology, BufferedPatchPanel, MeshTopology, GridTopology, BinaryLeafTreeTopology
from sts.controller_manager import UserSpaceControllerPatchPanel
from sts.control_flow.fuzzer import Fuzzer
from sts.control_flow.interactive import Int... | <|file_sep|>original/config/trace_pox_l2_learning.py
<|file_sep|>current/config/trace_pox_l2_learning.py
<|file_sep|>updated/config/trace_pox_l2_learning.py
from config.experiment_config_lib import ControllerConfig
from sts.topology import StarTopology, BufferedPatchPanel, MeshTopology, GridTopology, BinaryLeafTreeTo... | 0f7ae57f269fdce2691358a9a51a3f9e0bcaace0 | config/trace_pox_l2_learning.py | config/trace_pox_l2_learning.py | Python |
<|file_sep|>original/rails_event_store-browser/rails_event_store-browser.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'rails_event_store-browser'
s.version = RailsEventStore::Browser::VERSION
s.authors = ['Arkency']
s.email = ['dev@arkenc... |
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'rails_event_store-browser'
s.version = RailsEventStore::Browser::VERSION
s.authors = ['Arkency']
s.email = ['dev@arkency.com']
s.summary = 'Web interface for RailsEventStore'
s.license = '... | <|file_sep|>original/rails_event_store-browser/rails_event_store-browser.gemspec
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'rails_event_store-browser'
s.version = RailsEventStore::Browser::VERSION
s.authors = ['Arkency']
s.email = ['dev@arkenc... | aa0f1e1911c3bffc3c1c46f8ae4dff8907b3e5a7 | rails_event_store-browser/rails_event_store-browser.gemspec | rails_event_store-browser/rails_event_store-browser.gemspec | Ruby |
<|file_sep|>gulp-tasks/styles.js.diff
original:
updated:
var supported =
['last 10 Chrome versions',
'last 10 Firefox versions',
'Safari >= 9',
'ie >= 9',
'Edge >= 1',
'iOS >= 8',
'Android >= 4.4'];
<|file_sep|>gulp-tasks/styles.js.diff
original:
... | ;
var max = source.pipe(plugins.clone())
.pipe(plugins.sourcemaps.write('.', { sourceRoot: null }))
.pipe(gulp.dest(config.buildCssPath))
;
var min = source.pipe(plugins.clone())
.pipe(plugins.sourcemaps.init())
.pipe(plugins.rename({ suffix: '.min' }))
... | <|file_sep|>gulp-tasks/styles.js.diff
original:
updated:
var supported =
['last 10 Chrome versions',
'last 10 Firefox versions',
'Safari >= 9',
'ie >= 9',
'Edge >= 1',
'iOS >= 8',
'Android >= 4.4'];
<|file_sep|>gulp-tasks/styles.js.diff
original:
... | 349ba7ef3761070ff0d5dbadbef8a58c39dd6277 | gulp-tasks/styles.js | gulp-tasks/styles.js | JavaScript |
<|file_sep|>grantlee_defaultfilters/CMakeLists.txt.diff
original:
grantlee_add_plugin(grantlee_defaultfilters
defaultfilters
updated:
set(grantlee_defaultfilters_sources
defaultfilters.cpp
<|file_sep|>grantlee_defaultfilters/CMakeLists.txt.diff
original:
datetime
integers
lists
logic
misc
strings
update... | defaultfilters.cpp
datetime.cpp
integers.cpp
lists.cpp
logic.cpp
misc.cpp
strings.cpp
)
qt4_wrap_cpp(grantlee_defaultfilters_moc_sources defaultfilters.h)
add_library(grantlee_defaultfilters SHARED ${grantlee_defaultfilters_sources} ${grantlee_defaultfilters_moc_sources} )
set_target_properties(grantl... | <|file_sep|>grantlee_defaultfilters/CMakeLists.txt.diff
original:
grantlee_add_plugin(grantlee_defaultfilters
defaultfilters
updated:
set(grantlee_defaultfilters_sources
defaultfilters.cpp
<|file_sep|>grantlee_defaultfilters/CMakeLists.txt.diff
original:
datetime
integers
lists
logic
misc
strings
update... | 75bc884f940e35e809cab601060b05d39c34d302 | grantlee_defaultfilters/CMakeLists.txt | grantlee_defaultfilters/CMakeLists.txt | Text |
<|file_sep|>src/app/core/animations.ts.diff
original:
// state('left', style({ transform: 'translateX(0)' })),
// state('right', style({ transform: 'translateX(-50%)' })),
updated:
<|file_sep|>original/src/app/core/animations.ts
import { trigger, state, transition, animate, style } from '@angular/animations';... | import { trigger, state, transition, animate, style } from '@angular/animations';
export let slideAnimation = trigger('slide', [
transition('* => *', [
style({transform: 'translateX(-100%)'}),
animate('150ms ease-in', style({transform: 'translateX(0%)'}))
])
]) | <|file_sep|>src/app/core/animations.ts.diff
original:
// state('left', style({ transform: 'translateX(0)' })),
// state('right', style({ transform: 'translateX(-50%)' })),
updated:
<|file_sep|>original/src/app/core/animations.ts
import { trigger, state, transition, animate, style } from '@angular/animations';... | c893ea19ba5e6f62db95478e5b615d65f9b399a0 | src/app/core/animations.ts | src/app/core/animations.ts | TypeScript |
<|file_sep|>original/zsh/env.zsh
export SP_HOME=~/Trabajo/SponsorPay/workspace
export TI_HOME=~/Trabajo/TurboInternet/workspace
export KAFKA_HOME=~/Applications/kafka
<|file_sep|>current/zsh/env.zsh
export SP_HOME=~/Trabajo/SponsorPay/workspace
export TI_HOME=~/Trabajo/TurboInternet/workspace
export KAFKA_HOME=~/Applic... | export SP_HOME=~/Trabajo/SponsorPay/workspace
export TI_HOME=~/Trabajo/TurboInternet/workspace
export KAFKA_HOME=~/Applications/kafka
ulimit -n 1024 | <|file_sep|>original/zsh/env.zsh
export SP_HOME=~/Trabajo/SponsorPay/workspace
export TI_HOME=~/Trabajo/TurboInternet/workspace
export KAFKA_HOME=~/Applications/kafka
<|file_sep|>current/zsh/env.zsh
export SP_HOME=~/Trabajo/SponsorPay/workspace
export TI_HOME=~/Trabajo/TurboInternet/workspace
export KAFKA_HOME=~/Applic... | 62432c5b4cbc632bb5bf210a3622bb3ffe337757 | zsh/env.zsh | zsh/env.zsh | Shell |
<|file_sep|>example/index.html.diff
original:
updated:
if (typeof navigator.requestMIDIAccess !== 'function') {
throw new Error('Browser does not support MIDI controllers.');
}
<|file_sep|>original/example/index.html
<!doctype html>
<html>
<head>
<script src="../dist/humanizeMidiMessageEvent.js"></script>
<sc... | <head>
<script src="../dist/humanizeMidiMessageEvent.js"></script>
<script>
if (typeof navigator.requestMIDIAccess !== 'function') {
throw new Error('Browser does not support MIDI controllers.');
}
navigator.requestMIDIAccess()
.then(function (midiAccess) {
midiAccess.inputs.forEach(function (port, key)... | <|file_sep|>example/index.html.diff
original:
updated:
if (typeof navigator.requestMIDIAccess !== 'function') {
throw new Error('Browser does not support MIDI controllers.');
}
<|file_sep|>original/example/index.html
<!doctype html>
<html>
<head>
<script src="../dist/humanizeMidiMessageEvent.js"></script>
<sc... | 7c21da78614175907b8c5a9fcc6f14cfc35e49d5 | example/index.html | example/index.html | HTML |
<|file_sep|>vin_query.gemspec.diff
original:
updated:
gem.licenses = ['MIT']
<|file_sep|>original/vin_query.gemspec
gem.version = VinQuery::VERSION
gem.platform = Gem::Platform::RUBY
gem.summary = 'A ruby library for accessing vinquery.com'
gem.description = 'A ruby library for fetch... |
gem.summary = 'A ruby library for accessing vinquery.com'
gem.description = 'A ruby library for fetching and parsing VIN information from vinquery.com, a vehicle identification number decoding service.'
gem.homepage = 'https://github.com/jyunderwood/vin_query'
gem.licenses = ['MIT']
gem.aut... | <|file_sep|>vin_query.gemspec.diff
original:
updated:
gem.licenses = ['MIT']
<|file_sep|>original/vin_query.gemspec
gem.version = VinQuery::VERSION
gem.platform = Gem::Platform::RUBY
gem.summary = 'A ruby library for accessing vinquery.com'
gem.description = 'A ruby library for fetch... | 4a8d5330a818b11cc874a6dd793c9b3dd7f70ff6 | vin_query.gemspec | vin_query.gemspec | Ruby |
<|file_sep|>src/main/java/net/elprespufferfish/rssreader/RssReaderApplication.java.diff
original:
updated:
import android.os.Build;
<|file_sep|>src/main/java/net/elprespufferfish/rssreader/RssReaderApplication.java.diff
original:
updated:
import android.webkit.WebView;
<|file_sep|>original/src/main/java/net/elprespuf... |
Feeds.initialize();
if (BuildConfig.DEBUG) {
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
.detectAll()
.penaltyLog()
.penaltyDeath()
.build());
StrictMode.setVmPolicy(new StrictM... | <|file_sep|>src/main/java/net/elprespufferfish/rssreader/RssReaderApplication.java.diff
original:
updated:
import android.os.Build;
<|file_sep|>src/main/java/net/elprespufferfish/rssreader/RssReaderApplication.java.diff
original:
updated:
import android.webkit.WebView;
<|file_sep|>original/src/main/java/net/elprespuf... | 46e1e6c32e5346d32fa4fd0aa14e5daf6ee30d7b | src/main/java/net/elprespufferfish/rssreader/RssReaderApplication.java | src/main/java/net/elprespufferfish/rssreader/RssReaderApplication.java | Java |
<|file_sep|>lib/generators/rafters/component/component_generator.rb.diff
original:
updated:
class_option :stylesheet, type: :boolean, default: true, description: "Include stylesheet file"
class_option :javascript, type: :boolean, default: true, description: "Include Javascript file"
<|file_sep|>original/lib/genera... | empty_directory "#{base_directory}/sources"
empty_directory "#{base_directory}/views"
end
def create_gitkeeps
create_file "#{base_directory}/assets/images/.gitkeep"
end
def create_files
template "component.rb.erb", "#{base_directory}/#{file_name}_component.rb"
template "assets/javascripts/... | <|file_sep|>lib/generators/rafters/component/component_generator.rb.diff
original:
updated:
class_option :stylesheet, type: :boolean, default: true, description: "Include stylesheet file"
class_option :javascript, type: :boolean, default: true, description: "Include Javascript file"
<|file_sep|>original/lib/genera... | 7d49e99fecd6925461cc7a3db694907e52f58b12 | lib/generators/rafters/component/component_generator.rb | lib/generators/rafters/component/component_generator.rb | Ruby |
<|file_sep|>original/data_analysis/filter_news.py
<|file_sep|>current/data_analysis/filter_news.py
<|file_sep|>updated/data_analysis/filter_news.py | """Generate year files with news counts
Usage:
filter_news.py <directory> <output>
Options:
-h, --help
"""
from docopt import docopt
from os import listdir
from os.path import isfile, join
import datetime
import pandas as pd
if __name__ == "__main__":
# Parse the command line
args = docopt(__doc__)
| <|file_sep|>original/data_analysis/filter_news.py
<|file_sep|>current/data_analysis/filter_news.py
<|file_sep|>updated/data_analysis/filter_news.py
"""Generate year files with news counts
Usage:
filter_news.py <directory> <output>
Options:
-h, --help
"""
from docopt import docopt
from os import listdir
from os.... | fbc5215199af220fd0dcf6f0911363e5e8fe9190 | data_analysis/filter_news.py | data_analysis/filter_news.py | Python |
<|file_sep|>lib/s3_direct/model.rb.diff
original:
instance_accessor = name
instance_variable = "@s3_direct_" + instance_accessor
updated:
instance_variable = "@s3_direct_#{name}"
<|file_sep|>lib/s3_direct/model.rb.diff
original:
define_method instance_accessor do
updated:
define_... | module ClassMethods
# @param name
def has_s3_file(name = :file, options = {})
S3Direct.options.set(self, name, options.merge(name: name).reverse_merge(DEFAULT_OPTIONS))
instance_variable = "@s3_direct_#{name}"
define_method name do
options = S3Direct.options.get(self.... | <|file_sep|>lib/s3_direct/model.rb.diff
original:
instance_accessor = name
instance_variable = "@s3_direct_" + instance_accessor
updated:
instance_variable = "@s3_direct_#{name}"
<|file_sep|>lib/s3_direct/model.rb.diff
original:
define_method instance_accessor do
updated:
define_... | 5f4a53477e302d07fc5966b3dd5088790b990809 | lib/s3_direct/model.rb | lib/s3_direct/model.rb | Ruby |
<|file_sep|>original/.travis.yml
---
language: python
python: "2.7"
sudo: required
dist: trusty
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq squashfs-tools uuid python-apt python-pycurl btrfs-tools
install:
- sudo pip install ansible
- sudo pip install docker-py
scrip... | ---
language: python
python: "2.7"
sudo: required
dist: trusty
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq squashfs-tools uuid python-apt python-pycurl btrfs-tools
install:
- sudo pip install ansible
- sudo pip install docker
script:
- sudo ./run_squashible.sh | <|file_sep|>original/.travis.yml
---
language: python
python: "2.7"
sudo: required
dist: trusty
services:
- docker
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq squashfs-tools uuid python-apt python-pycurl btrfs-tools
install:
- sudo pip install ansible
- sudo pip install docker-py
scrip... | 45d4755212c495fe6bb015155099b1b56499b8f9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
A [responsive image](http://picture.responsiveimages.org/) polyfill.
updated:
A [responsive image](http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content.html#embedded-content) polyfill.
<|file_sep|>README.md.diff
original:
* Version 2 is a strict polyfill of t... | [](https://travis-ci.org/scottjehl/picturefill)
Picturefill has two versions:
* Version 2 is a strict polyfill of the [Picture element draft specification](http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content.html#embedded-cont... | <|file_sep|>README.md.diff
original:
A [responsive image](http://picture.responsiveimages.org/) polyfill.
updated:
A [responsive image](http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content.html#embedded-content) polyfill.
<|file_sep|>README.md.diff
original:
* Version 2 is a strict polyfill of t... | d449a10d4c42a14e2ec38a167402351953c206ad | README.md | README.md | Markdown |
<|file_sep|>original/tests/Language/TranslatorTest.php
$translator = new Translator('en_FooBar');
$translator->setLocale('auto');
$this->assertSame('en', $translator->getLocale());
$translator = new Translator('en');
$translator->setLocale('en_iso');
$this->assertSame(... | $translator = new Translator('en_FooBar');
$translator->setLocale('auto');
$this->assertSame('en', $translator->getLocale());
$translator = new Translator('en');
$translator->setLocale('en_iso');
$this->assertSame('en_ISO', $translator->getLocale());
$translat... | <|file_sep|>original/tests/Language/TranslatorTest.php
$translator = new Translator('en_FooBar');
$translator->setLocale('auto');
$this->assertSame('en', $translator->getLocale());
$translator = new Translator('en');
$translator->setLocale('en_iso');
$this->assertSame(... | 456059e02f4973117e93df008addecc6d9f863cc | tests/Language/TranslatorTest.php | tests/Language/TranslatorTest.php | PHP |
<|file_sep|>original/ui/src/dashboards/constants/templateControlBar.js
import _ from 'lodash'
import calculateSize from 'calculate-size'
export const minDropdownWidth = 146
export const maxDropdownWidth = 300
export const dropdownPadding = 30
const valueLength = a => {
if (a.value) {
return a.value.length
}
... | import _ from 'lodash'
import calculateSize from 'calculate-size'
export const minDropdownWidth = 146
export const maxDropdownWidth = 300
export const dropdownPadding = 30
const valueLength = a => _.size(a.value)
export const calculateDropdownWidth = (values = []) => {
const longestValue = _.maxBy(values, valueLen... | <|file_sep|>original/ui/src/dashboards/constants/templateControlBar.js
import _ from 'lodash'
import calculateSize from 'calculate-size'
export const minDropdownWidth = 146
export const maxDropdownWidth = 300
export const dropdownPadding = 30
const valueLength = a => {
if (a.value) {
return a.value.length
}
... | 3475373e6b8e327ea991a0e73bd6630e38709fed | ui/src/dashboards/constants/templateControlBar.js | ui/src/dashboards/constants/templateControlBar.js | JavaScript |
<|file_sep|>original/src/Container.scss
.root {
position: relative;
display: table;
z-index: 1;
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.4em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 300;
outline: none;
... | .root {
position: relative;
display: table;
z-index: 1;
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.4em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 300;
outline: none;
text-align: left;
&.landscape {
... | <|file_sep|>original/src/Container.scss
.root {
position: relative;
display: table;
z-index: 1;
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.4em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 300;
outline: none;
... | f184e792fdd63e08c65e25a28ee01d101ba3c79b | src/Container.scss | src/Container.scss | SCSS |
<|file_sep|>original/roles/wt_devicedataupdater.json
<|file_sep|>current/roles/wt_devicedataupdater.json
<|file_sep|>updated/roles/wt_devicedataupdater.json | {
"name": "wt_devicedataupdater",
"description": "Webtrends Device Data Updater",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"recipe[vc2010]",
"recipe[wt_devicedataupdater]"
],
"env_run_lists": {
}
} | <|file_sep|>original/roles/wt_devicedataupdater.json
<|file_sep|>current/roles/wt_devicedataupdater.json
<|file_sep|>updated/roles/wt_devicedataupdater.json
{
"name": "wt_devicedataupdater",
"description": "Webtrends Device Data Updater",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_at... | b8bc439e278cb60ccf30719250d7a0143614aa1d | roles/wt_devicedataupdater.json | roles/wt_devicedataupdater.json | JSON |
<|file_sep|>js/main.js.diff
original:
var i, x;
updated:
var i, x, y;
<|file_sep|>js/main.js.diff
original:
updated:
y = document.getElementById(Course);
<|file_sep|>original/js/main.js
function openCourse(Course) {
var i, x;
x = document.getElementsByClassName("schedule");
for(i=0;i<x.length;i... | function openCourse(Course) {
var i, x, y;
x = document.getElementsByClassName("schedule");
y = document.getElementById(Course);
for(i=0;i<x.length;i++){
x[i].style.display = 'none';
}
y.style.display = "block";
y.className = y.className + ' ' + Course.toLowerCase();
} | <|file_sep|>js/main.js.diff
original:
var i, x;
updated:
var i, x, y;
<|file_sep|>js/main.js.diff
original:
updated:
y = document.getElementById(Course);
<|file_sep|>original/js/main.js
function openCourse(Course) {
var i, x;
x = document.getElementsByClassName("schedule");
for(i=0;i<x.length;i... | 8be5f534f42691942e74ed98f5eaa327df684fe6 | js/main.js | js/main.js | JavaScript |
<|file_sep|>original/config/initializers/secret_token.rb
# Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# ... | # Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attac... | <|file_sep|>original/config/initializers/secret_token.rb
# Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# ... | 6b273e883f955596f80422e53eb836e9a75ed4f0 | config/initializers/secret_token.rb | config/initializers/secret_token.rb | Ruby |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7
matrix:
allow_failures:
- php: 5.6
- php: 5.5
install: composer install --no-interaction
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -v --configuration "phpunit.xml.dist" --coverage-clover build/logs/clover.xml
after... | language: php
php:
- 7.3
- 7.4
install: composer install --no-interaction
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -v --configuration "phpunit.xml.dist" --coverage-clover build/logs/clover.xml
after_script:
- travis_retry php vendor/bin/coveralls -v | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7
matrix:
allow_failures:
- php: 5.6
- php: 5.5
install: composer install --no-interaction
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -v --configuration "phpunit.xml.dist" --coverage-clover build/logs/clover.xml
after... | 5875a36e8c7f14f83265600f73daaa4c7ab25daa | .travis.yml | .travis.yml | YAML |
<|file_sep|>app/models/email_processor.rb.diff
original:
updated:
to = @email.to[0][:email]
if @email.headers && !@email.headers["X-Forwarded-To"].nil?
to = @email.headers["X-Forwarded-To"]
end
<|file_sep|>original/app/models/email_processor.rb
class EmailProcessor
def initialize(email)
@email ... | def initialize(email)
@email = email
end
def process
to = @email.to[0][:email]
if @email.headers && !@email.headers["X-Forwarded-To"].nil?
to = @email.headers["X-Forwarded-To"]
end
Email.create(
to: to,
from: @email.from[:email],
subject: @email.subject,
raw_text... | <|file_sep|>app/models/email_processor.rb.diff
original:
updated:
to = @email.to[0][:email]
if @email.headers && !@email.headers["X-Forwarded-To"].nil?
to = @email.headers["X-Forwarded-To"]
end
<|file_sep|>original/app/models/email_processor.rb
class EmailProcessor
def initialize(email)
@email ... | 0b861da7a591c7abfe8399d3ab5b4217df1fc33b | app/models/email_processor.rb | app/models/email_processor.rb | Ruby |
<|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.1
pytest==3.9.3
pytest-sugar==0.7.1
<|file_sep|>current/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.1
pytest==3.9.3
pytest-sugar==0.7.1
<|file_sep|>updated/requirements-tests.txt | -r requirements.txt
-e .
ipdb==0.10.1
pytest==3.9.3
pytest-sugar==0.9.2 | <|file_sep|>original/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.1
pytest==3.9.3
pytest-sugar==0.7.1
<|file_sep|>current/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.1
pytest==3.9.3
pytest-sugar==0.7.1
<|file_sep|>updated/requirements-tests.txt
-r requirements.txt
-e .
ipdb==0.10.1
pytes... | 7afb9b7d6a241f43a521ff7e1d91033696600f28 | requirements-tests.txt | requirements-tests.txt | Text |
<|file_sep|>original/example-vimeo-networking2-android/src/main/AndroidManifest.xml
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
an... | xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher... | <|file_sep|>original/example-vimeo-networking2-android/src/main/AndroidManifest.xml
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
an... | fa10cd84a12eeac5286bcc4964ac99e43b8eebf7 | example-vimeo-networking2-android/src/main/AndroidManifest.xml | example-vimeo-networking2-android/src/main/AndroidManifest.xml | XML |
<|file_sep|>original/heavy-ion-luminosity.py
__author__ = 'jacob'
import ROOT
import numpy as np
import os
from root_numpy import root2array, root2rec, tree2rec
# Look at r284484 data
filename = os.path.join("data", "r284484.root")
# Convert a TTree in a ROOT file into a NumPy structured array
arr = root2array(filen... | import numpy as np
import os
from root_numpy import root2array, root2rec, tree2rec
# Look at r284484 data
filename = os.path.join("data", "r284484.root")
# Convert a TTree in a ROOT file into a NumPy structured array
arr = root2array(filename)
for element in arr.dtype.names:
print(element)
print("\n")
# The... | <|file_sep|>original/heavy-ion-luminosity.py
__author__ = 'jacob'
import ROOT
import numpy as np
import os
from root_numpy import root2array, root2rec, tree2rec
# Look at r284484 data
filename = os.path.join("data", "r284484.root")
# Convert a TTree in a ROOT file into a NumPy structured array
arr = root2array(filen... | 91709b78c27ed0e05f3c67fcc13ffa8085dac15a | heavy-ion-luminosity.py | heavy-ion-luminosity.py | Python |
<|file_sep|>original/notes/12-10-14_lunch_with_jeremy.md
<|file_sep|>current/notes/12-10-14_lunch_with_jeremy.md
<|file_sep|>updated/notes/12-10-14_lunch_with_jeremy.md | # Notes from Lunch with Jeremy
* Primary realization: we have not been spending enough time actually doing the
change we care about.
* Instead, we have been trying to set up the right systems to enable that
change to happen.
* This doesn't translate because we're dumb and can't predict well.
* Instea... | <|file_sep|>original/notes/12-10-14_lunch_with_jeremy.md
<|file_sep|>current/notes/12-10-14_lunch_with_jeremy.md
<|file_sep|>updated/notes/12-10-14_lunch_with_jeremy.md
# Notes from Lunch with Jeremy
* Primary realization: we have not been spending enough time actually doing the
change we care about.
* Instead, ... | 86e0eb0dc7be2e546076f5aea2f8fb3f3b56df4a | notes/12-10-14_lunch_with_jeremy.md | notes/12-10-14_lunch_with_jeremy.md | Markdown |
<|file_sep|>.github/workflows/tests.yml.diff
original:
pip install .
updated:
pip install -e .
<|file_sep|>original/.github/workflows/tests.yml
python -m pip install --upgrade pip
pip install cython
pip install numpy
pip install .
pip check
- name: Dev Depend... | python -m pip install --upgrade pip
pip install cython
pip install numpy
pip install -e .
pip check
- name: Dev Dependencies
run: |
pip install pytest
- name: Coveralls Dependencies
run: |
pip install pytest-cov coveralls
- name: Test wi... | <|file_sep|>.github/workflows/tests.yml.diff
original:
pip install .
updated:
pip install -e .
<|file_sep|>original/.github/workflows/tests.yml
python -m pip install --upgrade pip
pip install cython
pip install numpy
pip install .
pip check
- name: Dev Depend... | 6a656c9ae31340733a68d40ced6de791b8e3eee3 | .github/workflows/tests.yml | .github/workflows/tests.yml | YAML |
<|file_sep|>src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java.diff
original:
updated:
import net.minecraft.init.Items;
<|file_sep|>original/src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java
package com.micky2506.udaldordecor.block;
import com.micky2506.udaldordecor.lib.Names;
import cpw.mods.f... |
import com.micky2506.udaldordecor.lib.Names;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
public class ModBlocks
{
public static BlockDisplayCase displayCase;
public static void init()
{
d... | <|file_sep|>src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java.diff
original:
updated:
import net.minecraft.init.Items;
<|file_sep|>original/src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java
package com.micky2506.udaldordecor.block;
import com.micky2506.udaldordecor.lib.Names;
import cpw.mods.f... | 2fbb132e92c03002bb4fd5cdf8a42c7d3c3971de | src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java | src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java | Java |
<|file_sep|>app/assets/javascripts/NewNodeWidget/sagas/navigateToNextSection.js.diff
original:
updated:
const sections = yield select(selectors.sections);
const nextIndex = sections.indexOf(activeSection) + 1;
const nextSection = sections.get(nextIndex);
yield put(push.newNodeSectionPath(next... | yield call(validateNode, node, attrs);
const sections = yield select(selectors.sections);
const nextIndex = sections.indexOf(activeSection) + 1;
const nextSection = sections.get(nextIndex);
yield put(push.newNodeSectionPath(nextSection, node.serialize()));
} catch (error) {
if ... | <|file_sep|>app/assets/javascripts/NewNodeWidget/sagas/navigateToNextSection.js.diff
original:
updated:
const sections = yield select(selectors.sections);
const nextIndex = sections.indexOf(activeSection) + 1;
const nextSection = sections.get(nextIndex);
yield put(push.newNodeSectionPath(next... | bc82c8e7e399506097ac9bf0931d7f6f0b0afda2 | app/assets/javascripts/NewNodeWidget/sagas/navigateToNextSection.js | app/assets/javascripts/NewNodeWidget/sagas/navigateToNextSection.js | JavaScript |
<|file_sep|>original/requirements.txt
amqp==1.4.9
anyjson==0.3.3
beautifulsoup4==4.4.1
billiard==3.3.0.23
celery==3.1.23
Django==1.9.5
kombu==3.0.35
mysqlclient==1.3.7
pytz==2016.4
requests==2.10.0
uWSGI==2.0.12
<|file_sep|>current/requirements.txt
amqp==1.4.9
anyjson==0.3.3
beautifulsoup4==4.4.1
billiard==3.3.0.23
cel... | amqp==1.4.9
anyjson==0.3.3
beautifulsoup4==4.4.1
billiard==3.3.0.23
celery==3.1.23
Django==1.9.6
kombu==3.0.35
mysqlclient==1.3.7
pytz==2016.4
requests==2.10.0
uWSGI==2.0.12 | <|file_sep|>original/requirements.txt
amqp==1.4.9
anyjson==0.3.3
beautifulsoup4==4.4.1
billiard==3.3.0.23
celery==3.1.23
Django==1.9.5
kombu==3.0.35
mysqlclient==1.3.7
pytz==2016.4
requests==2.10.0
uWSGI==2.0.12
<|file_sep|>current/requirements.txt
amqp==1.4.9
anyjson==0.3.3
beautifulsoup4==4.4.1
billiard==3.3.0.23
cel... | 0646ef0cb16d1c6b22fa5dccda07fe31c06015d5 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/composer.json
"name": "James Brooks",
"email": "james@cachethq.io"
}
],
"require": {
"php": ">=5.4.7",
"illuminate/config": "~4.1",
"illuminate/support": "~4.1",
"segmentio/analytics-php": "~1.1.0"
},
"autoload": {
... | "name": "James Brooks",
"email": "james@cachethq.io"
}
],
"require": {
"php": ">=5.4.7",
"illuminate/config": "~4.1",
"illuminate/support": "~4.1",
"segmentio/analytics-php": "~1.1.0"
},
"require-dev": {
"phpunit/phpunit": "~4.4"
... | <|file_sep|>original/composer.json
"name": "James Brooks",
"email": "james@cachethq.io"
}
],
"require": {
"php": ">=5.4.7",
"illuminate/config": "~4.1",
"illuminate/support": "~4.1",
"segmentio/analytics-php": "~1.1.0"
},
"autoload": {
... | 30cd1a8fda71038500d8c4a475053dea947decfa | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g karma
- npm install -g grunt-cli
- bower install
script:
- grunt test
git:
depth: 10
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g karma
- npm ... | language: node_js
node_js:
- "0.10"
before_script:
- npm install -g karma
- npm install -g grunt-cli
- npm install -g bower
- bower install
script:
- grunt test
git:
depth: 10 | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g karma
- npm install -g grunt-cli
- bower install
script:
- grunt test
git:
depth: 10
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g karma
- npm ... | 0158f7a28f142c4e3a8f362498f6e14a42db2ff0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/user_mailer/missed_yesterday.html.haml
%head
= stylesheet_link_tag 'thread_mailer'
%body
.everything
%p= t(:'email.missed_yesterday.heres_what_happened')
%h1= t(:'email.missed_yesterday.headlines')
.toc
=render 'user_mailer/missed_yesterday/headlines'... | = render '/application/mailer_doctype'
%html
%head
= stylesheet_link_tag 'thread_mailer'
%body
.everything
%p= t(:'email.missed_yesterday.heres_what_happened')
%h1= t(:'email.missed_yesterday.headlines')
.toc
=render 'user_mailer/missed_yesterday/headlines'
%hr
- @user.... | <|file_sep|>original/app/views/user_mailer/missed_yesterday.html.haml
%head
= stylesheet_link_tag 'thread_mailer'
%body
.everything
%p= t(:'email.missed_yesterday.heres_what_happened')
%h1= t(:'email.missed_yesterday.headlines')
.toc
=render 'user_mailer/missed_yesterday/headlines'... | 587a7ccacfd249dbe2335256058b64a2c05b1cb6 | app/views/user_mailer/missed_yesterday.html.haml | app/views/user_mailer/missed_yesterday.html.haml | Haml |
<|file_sep|>original/.forestry/front_matter/templates/work.yml
format: markdown
- type: field_group_list
name: profiles
label: Client Profiles
fields:
- type: text
name: title
label: Title
config:
required: true
- type: text
name: url
label: URL
config:
required: true... | format: markdown
- type: field_group_list
name: profiles
label: Client Profiles
fields:
- type: text
name: title
label: Title
config:
required: true
default: Website
- type: text
name: url
label: URL
config:
required: true
description: Website, Facebook, etc.
... | <|file_sep|>original/.forestry/front_matter/templates/work.yml
format: markdown
- type: field_group_list
name: profiles
label: Client Profiles
fields:
- type: text
name: title
label: Title
config:
required: true
- type: text
name: url
label: URL
config:
required: true... | 1088bdc68430fc642166550912c77e29fc33c1d6 | .forestry/front_matter/templates/work.yml | .forestry/front_matter/templates/work.yml | YAML |
<|file_sep|>original/mk/rules.mk
AR := ar
BISON := bison
CC := clang
FLEX := flex
LD := clang
CFLAGS := -Wall -Wextra -Wno-unused-parameter -O0 -ggdb -std=c89 -I c -I $(SRC)/c
%.o: %.c
$(CC) -MMD -o $@ -c $(CFLAGS) $<
%.c: %.b bc1
./bc1 $< >$@
%.tab.c: %.y
$(BISON) -o $@ -d -v $<
%.yy.c: %.l
$(FLEX) -o $@ $<
<... | AR := ar
BISON := bison
CC := clang
FLEX := flex
LD := clang
CFLAGS := -Wall -Wextra -Wno-unused-parameter -O0 -ggdb -std=c89 -I c -I $(SRC)/c
%.o: %.c
$(CC) -MMD -o $@ -c $(CFLAGS) $<
%.c: %.b bc1
./bc1 $< >$@ || \
(rm -f $@; exit 1)
%.tab.c: %.y
$(BISON) -o $@ -d -v $<
%.yy.c: %.l
$(FLEX) -o $@ $< | <|file_sep|>original/mk/rules.mk
AR := ar
BISON := bison
CC := clang
FLEX := flex
LD := clang
CFLAGS := -Wall -Wextra -Wno-unused-parameter -O0 -ggdb -std=c89 -I c -I $(SRC)/c
%.o: %.c
$(CC) -MMD -o $@ -c $(CFLAGS) $<
%.c: %.b bc1
./bc1 $< >$@
%.tab.c: %.y
$(BISON) -o $@ -d -v $<
%.yy.c: %.l
$(FLEX) -o $@ $<
<... | 9996e6116f3795a78fe5937e73e0531fc26ad8ea | mk/rules.mk | mk/rules.mk | Makefile |
<|file_sep|>original/src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java
<|file_sep|>current/src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java
<|file_sep|>updated/src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java | package reegnz.processor;
import static com.google.testing.compile.JavaSourceSubjectFactory.javaSource;
import javax.tools.JavaFileObject;
import org.junit.Test;
import com.google.common.truth.Truth;
import com.google.testing.compile.JavaFileObjects;
public class VirtualFieldObjectMethodsTest {
@Test
public voi... | <|file_sep|>original/src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java
<|file_sep|>current/src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java
<|file_sep|>updated/src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java
package reegnz.processor;
import static com.google.testing... | dde5b7f07e64edf38dd2bb962b938935b4602792 | src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java | src/test/java/reegnz/processor/VirtualFieldObjectMethodsTest.java | Java |
<|file_sep|>.travis.yml.diff
original:
updated:
- 3.3
<|file_sep|>original/.travis.yml
language: python
python:
- 2.6
- 2.7
install: "pip install Django==$DJANGO_VERSION --use-mirrors"
script: ./runtests.py
env:
- DJANGO_VERSION=1.4.5
- DJANGO_VERSION=1.5
<|file_sep|>current/.travis.yml
language: python
pyth... | language: python
python:
- 2.6
- 2.7
- 3.3
install: "pip install Django==$DJANGO_VERSION --use-mirrors"
script: ./runtests.py
env:
- DJANGO_VERSION=1.4.5
- DJANGO_VERSION=1.5
matrix:
exclude:
- python: 3.3
env: DJANGO_VERSION=1.4.5 | <|file_sep|>.travis.yml.diff
original:
updated:
- 3.3
<|file_sep|>original/.travis.yml
language: python
python:
- 2.6
- 2.7
install: "pip install Django==$DJANGO_VERSION --use-mirrors"
script: ./runtests.py
env:
- DJANGO_VERSION=1.4.5
- DJANGO_VERSION=1.5
<|file_sep|>current/.travis.yml
language: python
pyth... | d4200c66df3c3a9bfa540b4873fb8575c9778f8a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/custom/uth/_design/views/pending_uploads/map.js
function(doc) {
if (doc.type === "SonositeUpload") {
emit([doc.domain, doc.case_id], doc._id);
}
}
<|file_sep|>current/custom/uth/_design/views/pending_uploads/map.js
function(doc) {
if (doc.type === "SonositeUpload") {
emi... | function(doc) {
if (doc.type === "SonositeUpload" || doc.type === "VscanUpload") {
emit([doc.domain, doc.type, doc.case_id], doc._id);
}
} | <|file_sep|>original/custom/uth/_design/views/pending_uploads/map.js
function(doc) {
if (doc.type === "SonositeUpload") {
emit([doc.domain, doc.case_id], doc._id);
}
}
<|file_sep|>current/custom/uth/_design/views/pending_uploads/map.js
function(doc) {
if (doc.type === "SonositeUpload") {
emi... | 7727b5f5eddb00ee4c52da4a10140ededc0a26c0 | custom/uth/_design/views/pending_uploads/map.js | custom/uth/_design/views/pending_uploads/map.js | JavaScript |
<|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/moch... | ],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/mocha": "9.1.1",
"@types/node": "16.11.60",
... | <|file_sep|>original/javascript/package.json
],
"author": "Aslak Hellesøy",
"license": "MIT",
"bugs": {
"url": "https://github.com/cucumber/cucumber/issues"
},
"homepage": "https://github.com/cucumber/gherkin-javascript",
"devDependencies": {
"@cucumber/gherkin-streams": "^5.0.1",
"@types/moch... | b7621f9e0e04205cdeb10009ccdd31970e358b21 | javascript/package.json | javascript/package.json | JSON |
<|file_sep|>original/stock_quant_package_product_packaging/models/stock_move_line.py
# Copyright 2019 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
from odoo import models
class StockMoveLine(models.Model):
_inherit = "stock.move.line"
def _action_done(self):
res = sup... | # Copyright 2019 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
from odoo import models
class StockMoveLine(models.Model):
_inherit = "stock.move.line"
def _action_done(self):
res = super()._action_done()
# _action_done in stock module sometimes delete a move li... | <|file_sep|>original/stock_quant_package_product_packaging/models/stock_move_line.py
# Copyright 2019 Camptocamp SA
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
from odoo import models
class StockMoveLine(models.Model):
_inherit = "stock.move.line"
def _action_done(self):
res = sup... | 0a0ebdde63628d9504ac9834ef20b996ab595d7d | stock_quant_package_product_packaging/models/stock_move_line.py | stock_quant_package_product_packaging/models/stock_move_line.py | Python |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=22449f5231796abd892c98b2a07c9ceebe4688d192cd2d6763f8e3bf8acbedeb
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
zipStoreBase=GRADLE_USER_H... | distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=a7ca23b3ccf265680f2bfd35f1f00b1424f4466292c7337c85d46c9641b3f053
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=22449f5231796abd892c98b2a07c9ceebe4688d192cd2d6763f8e3bf8acbedeb
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
zipStoreBase=GRADLE_USER_H... | 8c80a97bd4f1b1702f35f382ebd829e1711c3339 | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>original/app/mailers/event_email_subscriber_mailer.rb
default from: 'Hack Club Hackathons <hackathons@hackclub.com>'
def confirm_email(subscriber)
@subscriber = subscriber
mail to: subscriber.email,
subject: 'Action Requested: Confirm Your Email'
end
def new_event(subscriber, new... |
def confirm_email(subscriber)
@subscriber = subscriber
mail to: subscriber.email,
subject: 'Action Requested: Confirm Your Email'
end
def new_event(subscriber, new_event)
@subscriber = subscriber
@event = new_event
mail to: subscriber.email,
subject: 'New event added near... | <|file_sep|>original/app/mailers/event_email_subscriber_mailer.rb
default from: 'Hack Club Hackathons <hackathons@hackclub.com>'
def confirm_email(subscriber)
@subscriber = subscriber
mail to: subscriber.email,
subject: 'Action Requested: Confirm Your Email'
end
def new_event(subscriber, new... | e3a7de36c7d4fbdf4f1267b12a12c3d6e733273c | app/mailers/event_email_subscriber_mailer.rb | app/mailers/event_email_subscriber_mailer.rb | Ruby |
<|file_sep|>original/org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala
<|file_sep|>current/org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala
<|file_sep|>updated/org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala | package org.scalaide.ui.editor
import org.scalaide.core.internal.hyperlink.DeclarationHyperlinkDetector
import org.scalaide.core.internal.hyperlink.ImplicitHyperlinkDetector
import org.eclipse.jface.text.hyperlink.IHyperlinkDetectorExtension
import org.eclipse.jface.text.hyperlink.IHyperlinkDetector
import org.scalaid... | <|file_sep|>original/org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala
<|file_sep|>current/org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala
<|file_sep|>updated/org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala
package org.scalaide.ui.edito... | 0deb0c49b864f454686ec954a7f89fc73309a762 | org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala | org.scala-ide.sdt.core/src/org/scalaide/ui/editor/SourceConfiguration.scala | Scala |
<|file_sep|>original/update.sh
(
git checkout zero && git merge master --no-edit
git checkout account && git merge zero --no-edit
git checkout blog && git merge zero --no-edit
git checkout static && git merge zero --no-edit
git checkout documents && git merge account --no-edit
git checkout wiki && git merge accou... | (
git checkout zero && git merge master --no-edit
git checkout account && git merge zero --no-edit
git checkout blog && git merge zero --no-edit
git checkout static && git merge zero --no-edit
git checkout documents && git merge account --no-edit
git checkout wiki && git merge account --no-edit
git checkout team... | <|file_sep|>original/update.sh
(
git checkout zero && git merge master --no-edit
git checkout account && git merge zero --no-edit
git checkout blog && git merge zero --no-edit
git checkout static && git merge zero --no-edit
git checkout documents && git merge account --no-edit
git checkout wiki && git merge accou... | 7ed7d5946a5fb7057ead5f5e25bb7fd183916500 | update.sh | update.sh | Shell |
<|file_sep|>original/components/server/requirements.txt
bottle==0.12.18
bottle-mongo==0.3.0
gevent==20.6.2
lxml==4.5.2
pymongo==3.10.1
ldap3==2.7
requests==2.24.0
<|file_sep|>current/components/server/requirements.txt
bottle==0.12.18
bottle-mongo==0.3.0
gevent==20.6.2
lxml==4.5.2
pymongo==3.10.1
ldap3==2.7
requests==2.... | bottle==0.12.18
bottle-mongo==0.3.0
gevent==20.6.2
lxml==4.5.2
pymongo==3.11.0
ldap3==2.7
requests==2.24.0 | <|file_sep|>original/components/server/requirements.txt
bottle==0.12.18
bottle-mongo==0.3.0
gevent==20.6.2
lxml==4.5.2
pymongo==3.10.1
ldap3==2.7
requests==2.24.0
<|file_sep|>current/components/server/requirements.txt
bottle==0.12.18
bottle-mongo==0.3.0
gevent==20.6.2
lxml==4.5.2
pymongo==3.10.1
ldap3==2.7
requests==2.... | dd369c3fbb671147a5b7c37f8d59f6f836b6fcbe | components/server/requirements.txt | components/server/requirements.txt | Text |
<|file_sep|>fw/lib/Security/Filter/Phone.php.diff
original:
updated:
/**
* Class Phone
* @package Difra\Security\Filter
*/
<|file_sep|>original/fw/lib/Security/Filter/Phone.php
* @param string $string
* @return bool
*/
public static function validate($string)
{
$ph = str_replace(['+',... | class Phone implements Common
{
/**
* Validate input string
* @param string $string
* @return bool
*/
public static function validate($string)
{
$ph = str_replace(['+', '(', ')', '-', ' '], '', $string);
return ctype_digit($ph) and mb_strlen($ph) >= 8 and mb_strlen($ph) <... | <|file_sep|>fw/lib/Security/Filter/Phone.php.diff
original:
updated:
/**
* Class Phone
* @package Difra\Security\Filter
*/
<|file_sep|>original/fw/lib/Security/Filter/Phone.php
* @param string $string
* @return bool
*/
public static function validate($string)
{
$ph = str_replace(['+',... | b71cf1bff0776688a463e52d87fccf275f3465b4 | fw/lib/Security/Filter/Phone.php | fw/lib/Security/Filter/Phone.php | PHP |
<|file_sep|>lib/protocol-handlers/topic.js.diff
original:
time: new Date(time),
updated:
time: new Date(parseFloat(time)*1000),
<|file_sep|>original/lib/protocol-handlers/topic.js
});
irc.on('RPL_TOPIC_WHO_TIME', function (msg, channel, nick, time) {
irc.emit('topic:time', {
target: channel,
nic... |
irc.on('RPL_TOPIC_WHO_TIME', function (msg, channel, nick, time) {
irc.emit('topic:time', {
target: channel,
nick: nick,
time: new Date(parseFloat(time)*1000),
raw: msg.string
});
});
irc.on('TOPIC', function (msg) {
var e = {};
e.nick = msg.nick;
e.target = msg.params.split(' ')[... | <|file_sep|>lib/protocol-handlers/topic.js.diff
original:
time: new Date(time),
updated:
time: new Date(parseFloat(time)*1000),
<|file_sep|>original/lib/protocol-handlers/topic.js
});
irc.on('RPL_TOPIC_WHO_TIME', function (msg, channel, nick, time) {
irc.emit('topic:time', {
target: channel,
nic... | d7f4f424637e603768af853001efef54e5a5af9b | lib/protocol-handlers/topic.js | lib/protocol-handlers/topic.js | JavaScript |
<|file_sep|>original/config.py
import os
class Config(object):
DEBUG = True
# WTF_CSRF_ENABLED = False
DATABASE_NAME = "projectp"
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) # refers to application_top
APP_STATIC = os.path.join(BASE_DIR, 'static')
# Database (sqlite) configuration... | import os
class Config(object):
DEBUG = False
# WTF_CSRF_ENABLED = False
DATABASE_NAME = "projectp"
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) # refers to application_top
APP_STATIC = os.path.join(BASE_DIR, 'static')
# Database (sqlite) configuration
SQLALCHEMY_DATABASE_URI =... | <|file_sep|>original/config.py
import os
class Config(object):
DEBUG = True
# WTF_CSRF_ENABLED = False
DATABASE_NAME = "projectp"
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) # refers to application_top
APP_STATIC = os.path.join(BASE_DIR, 'static')
# Database (sqlite) configuration... | 0cfb43da3c579bca84be1c774c1306ac2f54ffda | config.py | config.py | Python |
<|file_sep|>package.json.diff
original:
"author": "Nodejitsu Inc <info@nodejitsu.com>",
"contributors": [
{ "name": "Charlie Robbins", "email": "charlie@nodejitsu.com" },
{ "name": "Dominic Tarr", "email": "dominic@nodejitsu.com" },
{ "name": "Maciej Malecki", "email": "maciej@nodejitsu.com" }
updated:
... | "type": "git",
"url": "http://github.com/flatiron/utile.git"
},
"dependencies": {
"async": "0.1.x",
"mkdirp": "0.x.x",
"ncp": "0.2.x",
"rimraf": "1.x.x"
},
"devDependencies": {
"vows": "0.6.x"
},
"scripts": {
"test": "vows --spec --isolate"
},
"main": "./lib/index",
"en... | <|file_sep|>package.json.diff
original:
"author": "Nodejitsu Inc <info@nodejitsu.com>",
"contributors": [
{ "name": "Charlie Robbins", "email": "charlie@nodejitsu.com" },
{ "name": "Dominic Tarr", "email": "dominic@nodejitsu.com" },
{ "name": "Maciej Malecki", "email": "maciej@nodejitsu.com" }
updated:
... | d143cb5b92537c4a22ef83e83397381c59a02bed | package.json | package.json | JSON |
<|file_sep|>app/views/signatures/signed.html.erb.diff
original:
<p>
Your constituency is <%= @signature.constituency.name %>
</p>
updated:
<h2>Contact your MP</h2>
<p>Your constituency is <%= @signature.constituency.name %></p>
<|file_sep|>app/views/signatures/signed.html.erb.diff
original:
... | <section class="section-panel">
<h2>What's next</h2>
<%= render "shared/about_petitions" %>
</section>
<% if @signature.constituency %>
<div class="section-panel">
<h2>Contact your MP</h2>
<p>Your constituency is <%= @signature.constituency.name %></p>
<% if @signature.constituency.mp %>
<p>You... | <|file_sep|>app/views/signatures/signed.html.erb.diff
original:
<p>
Your constituency is <%= @signature.constituency.name %>
</p>
updated:
<h2>Contact your MP</h2>
<p>Your constituency is <%= @signature.constituency.name %></p>
<|file_sep|>app/views/signatures/signed.html.erb.diff
original:
... | ca0c65e226bcb9a920cf612fb7c4b03916793a3e | app/views/signatures/signed.html.erb | app/views/signatures/signed.html.erb | HTML+ERB |
<|file_sep|>layouts/_default/single.html.diff
original:
<div class="article-inner">
<h1 itemprop="name">{{ .Title }}</h1>
updated:
<h1 itemprop="name">{{ .Title }}</h1>
<|file_sep|>layouts/_default/single.html.diff
original:
{{ partial "article_metadata" (dict "content" . "is_list" 0) }}
updated:
... | <ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
{{ end }}
{{ if .Site.Params.section_pager }}
<div class="article-widget">
{{ partial "section_pager.html" . }}
</div>
{{ end }}
{{ partial "comments.... | <|file_sep|>layouts/_default/single.html.diff
original:
<div class="article-inner">
<h1 itemprop="name">{{ .Title }}</h1>
updated:
<h1 itemprop="name">{{ .Title }}</h1>
<|file_sep|>layouts/_default/single.html.diff
original:
{{ partial "article_metadata" (dict "content" . "is_list" 0) }}
updated:
... | 9e8cb50889dfa24e886557993710fe5279c45891 | layouts/_default/single.html | layouts/_default/single.html | HTML |
<|file_sep|>src/Storage/Entity/Users.php.diff
original:
updated:
use Bolt\AccessControl\Permissions;
<|file_sep|>original/src/Storage/Entity/Users.php
protected $lastip;
protected $displayname;
protected $stack = [];
protected $enabled = 1;
protected $shadowpassword = '';
protected $shadowtoke... | protected $stack = [];
protected $enabled = 1;
protected $shadowpassword = '';
protected $shadowtoken = '';
protected $shadowvalidity;
protected $failedlogins = 0;
protected $throttleduntil;
protected $roles = [];
/**
* Getter for roles to ensure Permissions::ROLE_EVERYONE alwa... | <|file_sep|>src/Storage/Entity/Users.php.diff
original:
updated:
use Bolt\AccessControl\Permissions;
<|file_sep|>original/src/Storage/Entity/Users.php
protected $lastip;
protected $displayname;
protected $stack = [];
protected $enabled = 1;
protected $shadowpassword = '';
protected $shadowtoke... | 433c6a725a1a39c7d66aa3e914d95e2a9155d87b | src/Storage/Entity/Users.php | src/Storage/Entity/Users.php | PHP |
<|file_sep|>original/libkcal/tests/testvcalexport.cpp
<|file_sep|>current/libkcal/tests/testvcalexport.cpp
<|file_sep|>updated/libkcal/tests/testvcalexport.cpp | /*
This file is part of libkcal.
Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
Copyright (C) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as pub... | <|file_sep|>original/libkcal/tests/testvcalexport.cpp
<|file_sep|>current/libkcal/tests/testvcalexport.cpp
<|file_sep|>updated/libkcal/tests/testvcalexport.cpp
/*
This file is part of libkcal.
Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
Copyright (C) 2005 Reinhold Kainhofer <reinhold@kai... | 4ac3232a2cbe4753466ab4679f44229987f959e9 | libkcal/tests/testvcalexport.cpp | libkcal/tests/testvcalexport.cpp | C++ |
<|file_sep|>original/main.go
package main
import (
"github.com/hashicorp/terraform/plugin"
"github.com/jayhding/terraform-provider-pingdom/pingdom"
)
func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: pingdom.Provider,
})
}
<|file_sep|>current/main.go
package main
import (
"github.com/hashicorp/terra... | package main
import (
"github.com/hashicorp/terraform/plugin"
"github.com/russellcardullo/terraform-provider-pingdom/pingdom"
)
func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: pingdom.Provider,
})
} | <|file_sep|>original/main.go
package main
import (
"github.com/hashicorp/terraform/plugin"
"github.com/jayhding/terraform-provider-pingdom/pingdom"
)
func main() {
plugin.Serve(&plugin.ServeOpts{
ProviderFunc: pingdom.Provider,
})
}
<|file_sep|>current/main.go
package main
import (
"github.com/hashicorp/terra... | 7abb09ef80595f68a840166dc336483aebdbdd66 | main.go | main.go | Go |
<|file_sep|>original/init-haskell.el
(require-package 'haskell-mode)
(setq haskell-font-lock-symbols t)
(add-hook 'haskell-mode-hook
(lambda ()
(define-key haskell-mode-map (kbd "C-c h") 'hoogle)
(turn-on-haskell-doc-mode)
(turn-on-haskell-indent)))
(provide 'init-haskel... | (require-package 'haskell-mode)
(setq haskell-font-lock-symbols t)
(add-hook 'haskell-mode-hook
(lambda ()
(define-key haskell-mode-map (kbd "C-c h") 'hoogle)
(turn-on-haskell-doc-mode)
(turn-on-haskell-indent)))
(require-package 'flymake-hlint)
(add-hook 'haskell-mode-ho... | <|file_sep|>original/init-haskell.el
(require-package 'haskell-mode)
(setq haskell-font-lock-symbols t)
(add-hook 'haskell-mode-hook
(lambda ()
(define-key haskell-mode-map (kbd "C-c h") 'hoogle)
(turn-on-haskell-doc-mode)
(turn-on-haskell-indent)))
(provide 'init-haskel... | 8730c82e2cdff8686fec0ffef8a57b50dc6b838c | init-haskell.el | init-haskell.el | Emacs Lisp |
<|file_sep|>app/views/layouts/exercise_inputs/layouts/_input_right.html.erb.diff
original:
<div class="col-md-6 exercise-assignment">
updated:
<div class="col-lg-6 exercise-assignment">
<|file_sep|>original/app/views/layouts/exercise_inputs/layouts/_input_right.html.erb
<div class="row">
<div class="col-md-6 exer... | <div class="row">
<div class="col-lg-6 exercise-assignment">
<%= yield :assignment %>
</div>
<div class="mu-exercise-content col-lg-6 ace-editor-col">
<%= yield :exercise_content %>
</div>
</div>
<div class="scroll-pin">
<%= yield :submission_results %>
<%= render partial: 'layouts/submission_resul... | <|file_sep|>app/views/layouts/exercise_inputs/layouts/_input_right.html.erb.diff
original:
<div class="col-md-6 exercise-assignment">
updated:
<div class="col-lg-6 exercise-assignment">
<|file_sep|>original/app/views/layouts/exercise_inputs/layouts/_input_right.html.erb
<div class="row">
<div class="col-md-6 exer... | e5d9e0c0fd32cdd0b8d9dbf37aedfc8904557d46 | app/views/layouts/exercise_inputs/layouts/_input_right.html.erb | app/views/layouts/exercise_inputs/layouts/_input_right.html.erb | HTML+ERB |
<|file_sep|>archetype/pom.xml.diff
original:
<groupId>org.opendaylight.controller.archetypes</groupId>
<artifactId>archetypes-parent</artifactId>
<version>0.9.3</version>
updated:
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
<versi... | <artifactId>odlparent-lite</artifactId>
<version>4.0.14</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.dlux</groupId>
<artifactId>dlux-app</artifactId>
<packaging>maven-archetype</packaging>
<name>archetype-dlux-app</name>
<version>0.8.3-SNAPSHOT</version>... | <|file_sep|>archetype/pom.xml.diff
original:
<groupId>org.opendaylight.controller.archetypes</groupId>
<artifactId>archetypes-parent</artifactId>
<version>0.9.3</version>
updated:
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
<versi... | 3d6ce2e4ac7cec8705626f9860ff983e5f95fba8 | archetype/pom.xml | archetype/pom.xml | XML |
<|file_sep|>original/README.md
# Omni
<|file_sep|>current/README.md
# Omni
<|file_sep|>updated/README.md | # Omni
Omni will be a (mostly) threadsafe twitch.tv utility package designed to assist development of twitch-integrated cloud services.
Since this project is brand new, it currently only contians a Twitch IRC implementation and even that is incomplete and untested. | <|file_sep|>original/README.md
# Omni
<|file_sep|>current/README.md
# Omni
<|file_sep|>updated/README.md
# Omni
Omni will be a (mostly) threadsafe twitch.tv utility package designed to assist development of twitch-integrated cloud services.
Since this project is brand new, it currently only contians a Twitch IRC imple... | 95165a6c909e8df4ec309fe32d9c5bb418787a1c | README.md | README.md | Markdown |
<|file_sep|>original/manifests/hm9000-job.yml
<|file_sep|>current/manifests/hm9000-job.yml
<|file_sep|>updated/manifests/hm9000-job.yml | jobs:
- name: hm9000_z1
instances: 1
networks:
- name: cf_private
properties:
consul:
agent:
services:
hm9000: {}
metron_agent:
zone: z1
route_registrar:
routes:
- name: hm9000
port: 5155
registration_interval: 20s
tags:
com... | <|file_sep|>original/manifests/hm9000-job.yml
<|file_sep|>current/manifests/hm9000-job.yml
<|file_sep|>updated/manifests/hm9000-job.yml
jobs:
- name: hm9000_z1
instances: 1
networks:
- name: cf_private
properties:
consul:
agent:
services:
hm9000: {}
metron_agent:
zone: z1... | a9b43978c30bafdd57e15575f12d9c7ba34921e8 | manifests/hm9000-job.yml | manifests/hm9000-job.yml | YAML |
<|file_sep|>include/visionaray/detail/spd/blackbody.h.diff
original:
struct blackbody
updated:
class blackbody
<|file_sep|>original/include/visionaray/detail/spd/blackbody.h
{
//-------------------------------------------------------------------------------------------------
// Spectral power distribution for blackbod... | {
//-------------------------------------------------------------------------------------------------
// Spectral power distribution for blackbody radiator
// See: http://www.spectralcalc.com/blackbody/units_of_wavelength.html
// Color temperature in Kelvin, sample SPD with wavelength (nm)
//
class blackbody
{
public... | <|file_sep|>include/visionaray/detail/spd/blackbody.h.diff
original:
struct blackbody
updated:
class blackbody
<|file_sep|>original/include/visionaray/detail/spd/blackbody.h
{
//-------------------------------------------------------------------------------------------------
// Spectral power distribution for blackbod... | 25706992c211500250adb796b4e39ab7710326e0 | include/visionaray/detail/spd/blackbody.h | include/visionaray/detail/spd/blackbody.h | C |
<|file_sep|>original/cfp/templates/cfp/cfp_announcement.html
{% block title %}Call for Proposals - {{ event.extended_title }}{% endblock %}
{% block og %}
<meta property="og:title" content="Call for Proposals - {{ event.extended_title }}" />
<meta property="og:description" content="{{ event.title }} is lookin... |
{% block title %}Call for Proposals - {{ event.extended_title }}{% endblock %}
{% block og %}
<meta property="og:title" content="Call for Proposals - {{ event.extended_title }}" />
<meta property="og:description" content="{{ event.title }} is looking for talks on web development and design. Check out our spea... | <|file_sep|>original/cfp/templates/cfp/cfp_announcement.html
{% block title %}Call for Proposals - {{ event.extended_title }}{% endblock %}
{% block og %}
<meta property="og:title" content="Call for Proposals - {{ event.extended_title }}" />
<meta property="og:description" content="{{ event.title }} is lookin... | 4091f7f7e426d6527af8b7db27f734f29ddbcbb8 | cfp/templates/cfp/cfp_announcement.html | cfp/templates/cfp/cfp_announcement.html | HTML |
<|file_sep|>original/requirements.txt
pymatgen==2020.9.14
pandas==1.1.3
tensorflow==2.3.1
numpy==1.19.2
monty==4.0.0
<|file_sep|>current/requirements.txt
pymatgen==2020.9.14
pandas==1.1.3
tensorflow==2.3.1
numpy==1.19.2
monty==4.0.0
<|file_sep|>updated/requirements.txt | pymatgen==2020.10.9.1
pandas==1.1.3
tensorflow==2.3.1
numpy==1.19.2
monty==4.0.0 | <|file_sep|>original/requirements.txt
pymatgen==2020.9.14
pandas==1.1.3
tensorflow==2.3.1
numpy==1.19.2
monty==4.0.0
<|file_sep|>current/requirements.txt
pymatgen==2020.9.14
pandas==1.1.3
tensorflow==2.3.1
numpy==1.19.2
monty==4.0.0
<|file_sep|>updated/requirements.txt
pymatgen==2020.10.9.1
pandas==1.1.3
tensorflow==2.... | 055eacb84d17898a1098414337851936c47ef8dd | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/assets/javascripts/godmin/application.js
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, ... | // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.... | <|file_sep|>original/app/assets/javascripts/godmin/application.js
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, ... | 37341e1305ee9eb955f8ae5526a4c47627f89225 | app/assets/javascripts/godmin/application.js | app/assets/javascripts/godmin/application.js | JavaScript |
<|file_sep|>original/messaging.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
s.version = '0.21.1.0'
s.summary = 'Common primitives for platform-specific messaging implementations for Eventide'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'ope... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
s.version = '0.22.0.0'
s.summary = 'Common primitives for platform-specific messaging implementations for Eventide'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homep... | <|file_sep|>original/messaging.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-messaging'
s.version = '0.21.1.0'
s.summary = 'Common primitives for platform-specific messaging implementations for Eventide'
s.description = ' '
s.authors = ['The Eventide Project']
s.email = 'ope... | 8fa07932d79054618e6123eea47ec5da0dc3c395 | messaging.gemspec | messaging.gemspec | Ruby |
<|file_sep|>original/requirements/dev.txt
# scratchdir/requirements/dev.txt
#
# Requirements for package development.
-r base.txt
bumpversion==0.5.3
mypy==0.670
pylint==1.7.5; python_version < '3.4' # pyup: ignore
pylint==2.3.1; python_version > '3.4'
bandit==1.5.1
safety==1.8.5
isort==4.2.15; (python_version > '3.0... | # scratchdir/requirements/dev.txt
#
# Requirements for package development.
-r base.txt
bumpversion==0.5.3
mypy==0.700
pylint==1.7.5; python_version < '3.4' # pyup: ignore
pylint==2.3.1; python_version > '3.4'
bandit==1.5.1
safety==1.8.5
isort==4.2.15; (python_version > '3.0' and python_version < '3.4') # pyup: ign... | <|file_sep|>original/requirements/dev.txt
# scratchdir/requirements/dev.txt
#
# Requirements for package development.
-r base.txt
bumpversion==0.5.3
mypy==0.670
pylint==1.7.5; python_version < '3.4' # pyup: ignore
pylint==2.3.1; python_version > '3.4'
bandit==1.5.1
safety==1.8.5
isort==4.2.15; (python_version > '3.0... | b566ec9f8644bed71df1c564d22e58d79c9e607b | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/src/views/Attachment/DownloadRaw.php
class DownloadRaw extends View {
public function getMimeType() {
return "application/octet-stream";
}
public function render(Model &$model) {
if (!$model instanceof DownloadModel) {
throw new IncorrectModelException();
}
$model->ext... |
public function getMimeType() {
return "application/octet-stream";
}
public function render(Model &$model) {
if (!$model instanceof DownloadModel) {
throw new IncorrectModelException();
}
$model->extra_headers = [
"Content-Disposition" => "attachment;filename=\""
. $model->at... | <|file_sep|>original/src/views/Attachment/DownloadRaw.php
class DownloadRaw extends View {
public function getMimeType() {
return "application/octet-stream";
}
public function render(Model &$model) {
if (!$model instanceof DownloadModel) {
throw new IncorrectModelException();
}
$model->ext... | f47fa080981473e2c85b09116f145bdde3c5a03b | src/views/Attachment/DownloadRaw.php | src/views/Attachment/DownloadRaw.php | PHP |
<|file_sep|>original/configs/powerline/config.json
"local_themes": {
"continuation": "continuation",
"select": "select"
}
},
"tmux": {
"colorscheme": "frdmn",
"theme": "default"
},
"vim": {
"colorscheme": "solarized",
"theme": "default",
"local_themes": {
"__tabline__": "tabline... | "local_themes": {
"continuation": "continuation",
"select": "select"
}
},
"tmux": {
"colorscheme": "frdmn",
"theme": "default"
},
"vim": {
"colorscheme": "frdmn",
"theme": "default",
"local_themes": {
"__tabline__": "tabline",
"cmdwin": "cmdwin",
"help": "help",
"qu... | <|file_sep|>original/configs/powerline/config.json
"local_themes": {
"continuation": "continuation",
"select": "select"
}
},
"tmux": {
"colorscheme": "frdmn",
"theme": "default"
},
"vim": {
"colorscheme": "solarized",
"theme": "default",
"local_themes": {
"__tabline__": "tabline... | b7eed1712fc2163c357b8c0e1d223504e4370be1 | configs/powerline/config.json | configs/powerline/config.json | JSON |
<|file_sep|>client/templates/viewSequences.jade.diff
original:
updated:
h1 {{ data.sequenceName }} Sequences
<|file_sep|>client/templates/viewSequences.jade.diff
original:
td Name
updated:
<|file_sep|>original/client/templates/viewSequences.jade
a(
href = "#/"
) Back to Sequence Types
table.table.table-str... |
a(
href = "#/"
) Back to Sequence Types
h1 {{ data.sequenceName }} Sequences
table.table.table-striped
th
tr
td UUID
td Checkpoints
tbody
tr(
ng-repeat = "s in data.sequences"
)
td
a(
ng-href = "#/{{ data.sequenceName }}/{{ s.uuid }}"
) {{ s.uuid }}... | <|file_sep|>client/templates/viewSequences.jade.diff
original:
updated:
h1 {{ data.sequenceName }} Sequences
<|file_sep|>client/templates/viewSequences.jade.diff
original:
td Name
updated:
<|file_sep|>original/client/templates/viewSequences.jade
a(
href = "#/"
) Back to Sequence Types
table.table.table-str... | 9bad1cc94ee656478c6c00d7307e1d0f5a43ce42 | client/templates/viewSequences.jade | client/templates/viewSequences.jade | Jade |
<|file_sep|>original/app/views/article/show_article.html.erb
<%
@title = show_article_title(@article)
tabs = [
link_to(:article_index.t, action: :index),
link_to(:create_article.t, action: :create_article),
link_to(:edit_article.t, action: :edit_article, id: @article.id)
]
@tabsets = { right: draw_... | <%
@title = show_article_title(@article)
@tabsets = { right: draw_tab_set(show_article_tabs) }
%>
<div class="row push-down">
<div class="col-sm-12 max-width-text">
<%= @article.body.tpl %>
<%= "#{:AUTHOR.t}: #{@article.author}" %>
<p class="Date">
<%= :footer_created_at.t(date: @articl... | <|file_sep|>original/app/views/article/show_article.html.erb
<%
@title = show_article_title(@article)
tabs = [
link_to(:article_index.t, action: :index),
link_to(:create_article.t, action: :create_article),
link_to(:edit_article.t, action: :edit_article, id: @article.id)
]
@tabsets = { right: draw_... | c19a00ed7da0defdbc528963d75d9f15a8ff1776 | app/views/article/show_article.html.erb | app/views/article/show_article.html.erb | HTML+ERB |
<|file_sep|>original/bootstrap.sh
#!/usr/bin/env sh
# We neet a local copy of the libtexpdf library to compile. If this was
# downloaded as a src distibution package this will exist already, but if not
# and we are part of a git repository that the user has not fully initialized,
# go ahead and do the step of fetching... | #!/usr/bin/env sh
# We neet a local copy of the libtexpdf library to compile. If this was
# downloaded as a src distibution package this will exist already, but if not
# and we are part of a git repository that the user has not fully initialized,
# go ahead and do the step of fetching the the submodule so the compile ... | <|file_sep|>original/bootstrap.sh
#!/usr/bin/env sh
# We neet a local copy of the libtexpdf library to compile. If this was
# downloaded as a src distibution package this will exist already, but if not
# and we are part of a git repository that the user has not fully initialized,
# go ahead and do the step of fetching... | 15a7d0e0888f4956d197ad16c24d37c914af7f67 | bootstrap.sh | bootstrap.sh | Shell |
<|file_sep|>original/README.md
[](http://travis-ci.org/rkatic/p)
#P
A simple Promises/A+ library.
- Implements a subset of the the [Q](https://github.com/kriskowal/q) API.
- Passing the [Promises/A+ Compliance Test Suite](https://github.com/promises-aplus/pro... | [](https://travis-ci.org/rkatic/p)
#P
A simple Promises/A+ library.
- Implements a subset of the the [Q](https://github.com/kriskowal/q) API.
- Passing the [Promises/A+ Compliance Test Suite](https://github.com/promises-aplus/promises-tests).
- Cross-B... | <|file_sep|>original/README.md
[](http://travis-ci.org/rkatic/p)
#P
A simple Promises/A+ library.
- Implements a subset of the the [Q](https://github.com/kriskowal/q) API.
- Passing the [Promises/A+ Compliance Test Suite](https://github.com/promises-aplus/pro... | 5ca10197347130790c029048911808030250335c | README.md | README.md | Markdown |
<|file_sep|>.config/fish/gpg.fish.diff
original:
gpg-agent --daemon >/dev/null
updated:
gpg-agent --daemon --write-env-file ~/.gpg-agent-info >/dev/null
<|file_sep|>original/.config/fish/gpg.fish
function __refresh_gpg_agent_info -d "Re-load ~/.gpg-agent-info into environment"
cat ~/.gpg-agent-info | sed 's/=/ /' | ... | function __refresh_gpg_agent_info -d "Re-load ~/.gpg-agent-info into environment"
cat ~/.gpg-agent-info | sed 's/=/ /' | while read key value
set -e $key
set -U -x $key "$value"
end
end
if not set -q -x GPG_AGENT_INFO
gpg-agent --daemon --write-env-file ~/.gpg-agent-info >/dev/null
end
if test -f ~/.gpg-agent-... | <|file_sep|>.config/fish/gpg.fish.diff
original:
gpg-agent --daemon >/dev/null
updated:
gpg-agent --daemon --write-env-file ~/.gpg-agent-info >/dev/null
<|file_sep|>original/.config/fish/gpg.fish
function __refresh_gpg_agent_info -d "Re-load ~/.gpg-agent-info into environment"
cat ~/.gpg-agent-info | sed 's/=/ /' | ... | e90ce31394a60771fbf9b29257a20e0cbe31903a | .config/fish/gpg.fish | .config/fish/gpg.fish | fish |
<|file_sep|>internal/common/lexer_test.go.diff
original:
updated:
,,,,,, # Commas are insignificant
<|file_sep|>internal/common/lexer_test.go.diff
original:
world: String!
updated:
world: String!
<|file_sep|>internal/common/lexer_test.go.diff
original:
expected: "Comment line 1\nComment line 2",
updated:
expected: ... | world: String!
}`,
expected: "Comment line 1\nComment line 2\nCommas are insignificant",
}}
func TestConsume(t *testing.T) {
for _, test := range consumeTests {
t.Run(test.description, func(t *testing.T) {
lex := common.NewLexer(test.definition)
err := lex.CatchSyntaxError(lex.Consume)
if err != nil {
... | <|file_sep|>internal/common/lexer_test.go.diff
original:
updated:
,,,,,, # Commas are insignificant
<|file_sep|>internal/common/lexer_test.go.diff
original:
world: String!
updated:
world: String!
<|file_sep|>internal/common/lexer_test.go.diff
original:
expected: "Comment line 1\nComment line 2",
updated:
expected: ... | ce762577cbd55b7431607a3031cd4a9a1460248f | internal/common/lexer_test.go | internal/common/lexer_test.go | Go |
<|file_sep|>original/docker-compose.yml
version: '3'
services:
jenkins-dind:
image: "redpandaci/jenkins-dind"
ports:
- "8080"
volumes:
- jpl-dind-cache:/var/lib/docker
privileged: true
volumes:
jpl-dind-cache:
external: true
<|file_sep|>current/docker-compose.yml
version: '3'
servic... | version: '3'
services:
jenkins-dind:
image: "redpandaci/jenkins-dind"
ports:
- "8080"
volumes:
- jpl-dind-cache:/var/lib/docker
privileged: true
network_mode: bridge
volumes:
jpl-dind-cache:
external: true | <|file_sep|>original/docker-compose.yml
version: '3'
services:
jenkins-dind:
image: "redpandaci/jenkins-dind"
ports:
- "8080"
volumes:
- jpl-dind-cache:/var/lib/docker
privileged: true
volumes:
jpl-dind-cache:
external: true
<|file_sep|>current/docker-compose.yml
version: '3'
servic... | df9af34c4bf0dc017c800fcd1b8fea4ad5aa32fe | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/docs/LIVE_TESTING.md
<|file_sep|>current/docs/LIVE_TESTING.md
<|file_sep|>updated/docs/LIVE_TESTING.md | Read Only Testing
-----------------
Authenticate as Read Only
```
http --auth readonly:readonly_password -f POST http://rollnapi.com/oauth grant_type=client_credentials
```
Read all artists
```
http -f GET http://rollnapi.com/api/artist "Authorization: Bearer access_token"
```
Read all albums
```
http -f GET http://... | <|file_sep|>original/docs/LIVE_TESTING.md
<|file_sep|>current/docs/LIVE_TESTING.md
<|file_sep|>updated/docs/LIVE_TESTING.md
Read Only Testing
-----------------
Authenticate as Read Only
```
http --auth readonly:readonly_password -f POST http://rollnapi.com/oauth grant_type=client_credentials
```
Read all artists
``... | ab47925cf7c93c5154afcb2b1ad0d35bf76d86a7 | docs/LIVE_TESTING.md | docs/LIVE_TESTING.md | Markdown |
<|file_sep|>original/.travis.yml
language: rust
sudo: false
rust:
- nightly
branches:
except:
- master
notifications:
webhooks: http://build.servo.org:54856/travis
<|file_sep|>current/.travis.yml
language: rust
sudo: false
rust:
- nightly
branches:
except:
- master
notifications:
webhooks: http:... | language: rust
sudo: false
rust:
- nightly
notifications:
webhooks: http://build.servo.org:54856/travis | <|file_sep|>original/.travis.yml
language: rust
sudo: false
rust:
- nightly
branches:
except:
- master
notifications:
webhooks: http://build.servo.org:54856/travis
<|file_sep|>current/.travis.yml
language: rust
sudo: false
rust:
- nightly
branches:
except:
- master
notifications:
webhooks: http:... | da155388f24f4e1d9abf69ae1a0e8ece62fad3d1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
molecule==2.15.0
pytest==3.6.2
python-vagrant==0.5.15
testinfra==1.14.0
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.15.0
pytest==3.6.2
python-vagrant==0.5.15
testinfra==1.14.0
tox==3.0.0
<|file_sep|>updated/requirements.txt | molecule==2.15.0
pytest==3.6.2
python-vagrant==0.5.15
testinfra==5.2.1
tox==3.0.0 | <|file_sep|>original/requirements.txt
molecule==2.15.0
pytest==3.6.2
python-vagrant==0.5.15
testinfra==1.14.0
tox==3.0.0
<|file_sep|>current/requirements.txt
molecule==2.15.0
pytest==3.6.2
python-vagrant==0.5.15
testinfra==1.14.0
tox==3.0.0
<|file_sep|>updated/requirements.txt
molecule==2.15.0
pytest==3.6.2
python-vagr... | c4300b790087b1cb1df3b3f30dbaf56c7a0f3ea1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/recipes/pynamodb/meta.yaml
<|file_sep|>current/recipes/pynamodb/meta.yaml
<|file_sep|>updated/recipes/pynamodb/meta.yaml | {% set name = "pynamodb" %}
{% set version = "3.4.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 22e5deda1e81af6ecb0363fbf50d8c03664976a8656c4ef01f3e158befc68fb3
build:
number: 0
sc... | <|file_sep|>original/recipes/pynamodb/meta.yaml
<|file_sep|>current/recipes/pynamodb/meta.yaml
<|file_sep|>updated/recipes/pynamodb/meta.yaml
{% set name = "pynamodb" %}
{% set version = "3.4.1" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }... | 717c1b6cfb799806b17dc092b62b72eb3c55db71 | recipes/pynamodb/meta.yaml | recipes/pynamodb/meta.yaml | YAML |
<|file_sep|>original/docs/installation.rst
Install nlppln using pip:
.. code-block:: sh
pip install nlppln
For development:
.. code-block:: sh
git clone git@github.com:nlppln/nlppln.git
cd nlppln
pip install -r requirements.txt
python setup.py develop
Run tests (including coverage) with:
.. code-block... |
Install nlppln using pip:
.. code-block:: sh
pip install nlppln
For development:
.. code-block:: sh
git clone git@github.com:nlppln/nlppln.git
cd nlppln
pip install -r requirements.txt
python setup.py develop
Run tests (including coverage) with:
.. code-block:: sh
python setup.py test | <|file_sep|>original/docs/installation.rst
Install nlppln using pip:
.. code-block:: sh
pip install nlppln
For development:
.. code-block:: sh
git clone git@github.com:nlppln/nlppln.git
cd nlppln
pip install -r requirements.txt
python setup.py develop
Run tests (including coverage) with:
.. code-block... | 254622b93a14e0f66e5df724af17f7567474c884 | docs/installation.rst | docs/installation.rst | reStructuredText |
<|file_sep|>CleanerSeeker/CleanerSeeker/LoginViewController.swift.diff
original:
// Do any additional setup after loading the view.
updated:
observeKeyboardNotifications()
<|file_sep|>CleanerSeeker/CleanerSeeker/LoginViewController.swift.diff
original:
updated:
<|file_sep|>original/CleanerSeeker/Clean... | }
@IBAction func signUp(_ sender: UIButton) {
}
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if segue.identifier == "signup"{
let vc = segue.destination as! SignUpPageViewController
}
}
fileprivate func observeKeyboardNotifications()... | <|file_sep|>CleanerSeeker/CleanerSeeker/LoginViewController.swift.diff
original:
// Do any additional setup after loading the view.
updated:
observeKeyboardNotifications()
<|file_sep|>CleanerSeeker/CleanerSeeker/LoginViewController.swift.diff
original:
updated:
<|file_sep|>original/CleanerSeeker/Clean... | 76841887d29966579e980dd4bb69d7d8d2b10c5d | CleanerSeeker/CleanerSeeker/LoginViewController.swift | CleanerSeeker/CleanerSeeker/LoginViewController.swift | Swift |
<|file_sep|>original/04-GPU-accelerators/01-cuda/README.md
# CUDA examples
Here is a list of examples:
1. [Basic device detection using nvcc and CUDA](./01-detect_devices_basic)
2. [Basic device detection using CMake and CUDA](./02-detect_devices_cmake)
3. [Vector addition using CUDA](./03-vector_add)
4. [Vector mult... | # CUDA examples
Here is a list of examples:
1. [Basic device detection using nvcc and CUDA](./01-detect_devices_basic)
2. [Basic device detection using CMake and CUDA](./02-detect_devices_cmake)
3. [Vector addition using CUDA](./03-vector_add)
4. [Vector multiplication using CUDA](./04-vector_multi)
5. [Vector reduct... | <|file_sep|>original/04-GPU-accelerators/01-cuda/README.md
# CUDA examples
Here is a list of examples:
1. [Basic device detection using nvcc and CUDA](./01-detect_devices_basic)
2. [Basic device detection using CMake and CUDA](./02-detect_devices_cmake)
3. [Vector addition using CUDA](./03-vector_add)
4. [Vector mult... | edea190b98447ebed8922a28675026c33ec6ec5c | 04-GPU-accelerators/01-cuda/README.md | 04-GPU-accelerators/01-cuda/README.md | Markdown |
<|file_sep|>original/indico/web/templates/forms/principal_widget_simple.html
<|file_sep|>current/indico/web/templates/forms/principal_widget_simple.html
<|file_sep|>updated/indico/web/templates/forms/principal_widget_simple.html | {% extends 'forms/base_widget.html' %}
{% block html %}
<input type="hidden" id="{{ field.id }}" name="{{ field.name }}" value="{{ field._value() | tojson | forceescape }}">
<input type="text" id="display-{{ field.id }}" placeholder="{% trans %}Choose user...{% endtrans %}" readonly>
<button id="choose-{{ ... | <|file_sep|>original/indico/web/templates/forms/principal_widget_simple.html
<|file_sep|>current/indico/web/templates/forms/principal_widget_simple.html
<|file_sep|>updated/indico/web/templates/forms/principal_widget_simple.html
{% extends 'forms/base_widget.html' %}
{% block html %}
<input type="hidden" id="{{ ... | c2232d1292fe2bded40aa548534df19bbd673847 | indico/web/templates/forms/principal_widget_simple.html | indico/web/templates/forms/principal_widget_simple.html | HTML |
<|file_sep|>original/test/CodeGen/Alpha/zapnot2.ll
; Make sure this testcase codegens to the zapnot instruction
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
implementation ; Functions:
long %bar(long %x) {
entry:
%tmp.1 = and long %x, 255 ; <long> [#uses=1]
ret long %tmp.1
}
<|file_sep|>current/test/... | ; Make sure this testcase codegens to the zapnot instruction
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
implementation ; Functions:
long %bar(long %x) {
entry:
%tmp.1 = and long %x, 16711935 ; <long> [#uses=1]
ret long %tmp.1
} | <|file_sep|>original/test/CodeGen/Alpha/zapnot2.ll
; Make sure this testcase codegens to the zapnot instruction
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
implementation ; Functions:
long %bar(long %x) {
entry:
%tmp.1 = and long %x, 255 ; <long> [#uses=1]
ret long %tmp.1
}
<|file_sep|>current/test/... | fe67ca209fc08664db20525caec21bf07058c67e | test/CodeGen/Alpha/zapnot2.ll | test/CodeGen/Alpha/zapnot2.ll | LLVM |
<|file_sep|>original/lib/template/doc_assets/_header.html
<!doctype html>
<html>
<head>
<title>a brand new styleguide: <%= title %></title>
<link rel="stylesheet" href="./your_stylesheet_here.css">
</head>
<body>
<div>
<nav>
<ul>
<% @categories.each do |category, file_name| %>
... | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="ie=edge" http-equiv="x-ua-compatible">
<title>a brand new styleguide: <%= title %></title>
<link rel="stylesheet" href="./your_stylesheet_here.css">
</head>
<body>
<div>
<nav>
<ul>
<% @categories.each do ... | <|file_sep|>original/lib/template/doc_assets/_header.html
<!doctype html>
<html>
<head>
<title>a brand new styleguide: <%= title %></title>
<link rel="stylesheet" href="./your_stylesheet_here.css">
</head>
<body>
<div>
<nav>
<ul>
<% @categories.each do |category, file_name| %>
... | a5db59401ded1fe54ee39c28d2f5c00eb4e21aec | lib/template/doc_assets/_header.html | lib/template/doc_assets/_header.html | HTML |
<|file_sep|>original/test/test_suite.py
# list examples
a=['spam','eggs',100,1234]
log(a[:2]+['bacon',2*2])
log(3*a[:3]+['Boo!'])
log(a[:])
a[2]=a[2]+23
log(a)
a[0:2]=[1,12]
log(a)
a[0:2]=[]
log(a)
a[1:1]=['bletch','xyzzy']
log(a)
a[:0]=a
log(a)
a[:]=[]
log(a)
<|file_sep|>current/test/test_suite.py
# list examples
a=... | # list examples
a=['spam','eggs',100,1234]
log(a[:2]+['bacon',2*2])
log(3*a[:3]+['Boo!'])
log(a[:])
a[2]=a[2]+23
log(a)
a[0:2]=[1,12]
log(a)
a[0:2]=[]
log(a)
a[1:1]=['bletch','xyzzy']
log(a)
a[:0]=a
log(a)
a[:]=[]
log(a)
a.extend('ab')
log(a)
a.extend([1,2,33])
log(a) | <|file_sep|>original/test/test_suite.py
# list examples
a=['spam','eggs',100,1234]
log(a[:2]+['bacon',2*2])
log(3*a[:3]+['Boo!'])
log(a[:])
a[2]=a[2]+23
log(a)
a[0:2]=[1,12]
log(a)
a[0:2]=[]
log(a)
a[1:1]=['bletch','xyzzy']
log(a)
a[:0]=a
log(a)
a[:]=[]
log(a)
<|file_sep|>current/test/test_suite.py
# list examples
a=... | d49118a52c15b2434a43a717476cdc7340dfc8c6 | test/test_suite.py | test/test_suite.py | Python |
<|file_sep|>original/lib/brakeman/checks/check_select_tag.rb
<|file_sep|>current/lib/brakeman/checks/check_select_tag.rb
<|file_sep|>updated/lib/brakeman/checks/check_select_tag.rb | require 'brakeman/checks/base_check'
#Checks for CVE-2012-3463, unescaped input in :prompt option of select_tag:
#https://groups.google.com/d/topic/rubyonrails-security/fV3QUToSMSw/discussion
class Brakeman::CheckSelectTag < Brakeman::BaseCheck
Brakeman::Checks.add self
@description = "Looks for unsafe uses of se... | <|file_sep|>original/lib/brakeman/checks/check_select_tag.rb
<|file_sep|>current/lib/brakeman/checks/check_select_tag.rb
<|file_sep|>updated/lib/brakeman/checks/check_select_tag.rb
require 'brakeman/checks/base_check'
#Checks for CVE-2012-3463, unescaped input in :prompt option of select_tag:
#https://groups.google.... | ec97eef27a721f3f109d76415d2bf4f2f19a278b | lib/brakeman/checks/check_select_tag.rb | lib/brakeman/checks/check_select_tag.rb | Ruby |
<|file_sep|>original/source/app/views/users/show.erb
'user dashboard page!'
<|file_sep|>current/source/app/views/users/show.erb
'user dashboard page!'
<|file_sep|>updated/source/app/views/users/show.erb | <div id="user_dashboard">
<h1><%= @user.name %></h1>
<h2>Surveys You've Written</h2>
<ul>
<% @user.authored_surveys.each do |survey| %>
<li><%= survey.title %></li>
<% end %>
</ul>
<h2>Surveys You've Taken</h2>
<ul>
<% @user.taken_surveys.each do |survey| %>
<li><%= survey.titl... | <|file_sep|>original/source/app/views/users/show.erb
'user dashboard page!'
<|file_sep|>current/source/app/views/users/show.erb
'user dashboard page!'
<|file_sep|>updated/source/app/views/users/show.erb
<div id="user_dashboard">
<h1><%= @user.name %></h1>
<h2>Surveys You've Written</h2>
<ul>
<% @user.author... | b5d5e551d57517f16aad1a030ea7714572a072da | source/app/views/users/show.erb | source/app/views/users/show.erb | HTML+ERB |
<|file_sep|>original/app/templates/emails/invite_user_email.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Your Digital Marketplace invitation</title>
</head>
<body>
Hello,
<br /><br />
{{ user }} has invited you to become a contributor for {{ supplier }} on the Digital Marketplace.
... | <!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Your Digital Marketplace invitation</title>
</head>
<body>
Hello,
<br /><br />
{{ user }} has invited you to create a login for {{ supplier }} on the Digital Marketplace.
<br /><br />
To accept this invitation, please click the link below:
<b... | <|file_sep|>original/app/templates/emails/invite_user_email.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Your Digital Marketplace invitation</title>
</head>
<body>
Hello,
<br /><br />
{{ user }} has invited you to become a contributor for {{ supplier }} on the Digital Marketplace.
... | 44fd24bd970d0a54a452f6926003f342497165da | app/templates/emails/invite_user_email.html | app/templates/emails/invite_user_email.html | HTML |
<|file_sep|>original/push/orgs_qa.txt
00Dq00000000WZz
00DB00000003Izu
00D41000001Ncgw
00Di0000000k4VZ
00Dq00000000vG4
00D29000000EC0b
<|file_sep|>current/push/orgs_qa.txt
00Dq00000000WZz
00DB00000003Izu
00D41000001Ncgw
00Di0000000k4VZ
00Dq00000000vG4
00D29000000EC0b
<|file_sep|>updated/push/orgs_qa.txt | 00D3F000000DDCI mrbelvedere@npspreleasetest.org.prerelease
00DB00000003Izu
00D41000001Ncgw
00Di0000000k4VZ
00Dq00000000vG4
00D29000000EC0b | <|file_sep|>original/push/orgs_qa.txt
00Dq00000000WZz
00DB00000003Izu
00D41000001Ncgw
00Di0000000k4VZ
00Dq00000000vG4
00D29000000EC0b
<|file_sep|>current/push/orgs_qa.txt
00Dq00000000WZz
00DB00000003Izu
00D41000001Ncgw
00Di0000000k4VZ
00Dq00000000vG4
00D29000000EC0b
<|file_sep|>updated/push/orgs_qa.txt
00D3F000000DDCI ... | b7d6ebe6ce9b393575770871ad641aae6ee3ab7b | push/orgs_qa.txt | push/orgs_qa.txt | Text |
<|file_sep|>README.md.diff
original:
updated:
[cocoapods]: https://guides.cocoapods.org/using/getting-started.html#getting-started
<|file_sep|>original/README.md
1. `pod install`
2. Install watchman (e.g. `brew install watchman`)
3. Run `npm install` in the same directory as this readme.
4. Open `rtnb.xcworkspace`
5.... | 3. Run `npm install` in the same directory as this readme.
4. Open `rtnb.xcworkspace`
5. Run (use a simulator)
[cocoapods]: https://guides.cocoapods.org/using/getting-started.html#getting-started
Things to watch out for:
1. react-native expects to be able to run a server on port `8081` - watch out for that failing t... | <|file_sep|>README.md.diff
original:
updated:
[cocoapods]: https://guides.cocoapods.org/using/getting-started.html#getting-started
<|file_sep|>original/README.md
1. `pod install`
2. Install watchman (e.g. `brew install watchman`)
3. Run `npm install` in the same directory as this readme.
4. Open `rtnb.xcworkspace`
5.... | afcc90c322f24a25de02bc54f2a7852fda61138b | README.md | README.md | Markdown |
<|file_sep|>original/pymodels/middlelayer/devices/__init__.py
from .dcct import DCCT
from .li_llrf import LiLLRF
from .rf import RF
from .sofb import SOFB
from .kicker import Kicker
from .septum import Septum
from .screen import Screen
from .bpm import BPM
from .ict import ICT
from .ict import TranspEff
from .egun impo... | from .dcct import DCCT
from .li_llrf import LiLLRF
from .rf import RF
from .sofb import SOFB
from .kicker import Kicker
from .septum import Septum
from .screen import Screen
from .bpm import BPM
from .ict import ICT
from .ict import TranspEff
from .egun import Bias
from .egun import Filament
from .egun import HVPS
from... | <|file_sep|>original/pymodels/middlelayer/devices/__init__.py
from .dcct import DCCT
from .li_llrf import LiLLRF
from .rf import RF
from .sofb import SOFB
from .kicker import Kicker
from .septum import Septum
from .screen import Screen
from .bpm import BPM
from .ict import ICT
from .ict import TranspEff
from .egun impo... | e9ec19e68ccefaee9a975a6adc26cb6e5f1f7f33 | pymodels/middlelayer/devices/__init__.py | pymodels/middlelayer/devices/__init__.py | Python |
<|file_sep|>original/api/common/models/setting.json
"key": {
"type": "string",
"id": true,
"required": true
},
"value": {
"type": "string"
},
"system": {
"type": "boolean",
"required": true,
"default": false
},
"type": {
"type": "string",
... | "key": {
"type": "string",
"id": true,
"required": true
},
"value": {
"type": "string"
},
"system": {
"type": "boolean",
"default": false
},
"type": {
"type": "string",
"required": true,
"default": "string"
},
"description": {
... | <|file_sep|>original/api/common/models/setting.json
"key": {
"type": "string",
"id": true,
"required": true
},
"value": {
"type": "string"
},
"system": {
"type": "boolean",
"required": true,
"default": false
},
"type": {
"type": "string",
... | ace9476763a372b5e1982d1469ce6087f4a09361 | api/common/models/setting.json | api/common/models/setting.json | JSON |
<|file_sep|>RELEASE-NOTES.txt.diff
original:
Version 2.1.1
updated:
Version 2.2
<|file_sep|>RELEASE-NOTES.txt.diff
original:
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.1.1.
updated:
The Apache Commons DBCP team is pleased to announ... | New features:
o DBCP-451: Add constructor DriverManagerConnectionFactory(String).
Fixed Bugs:
o DBCP-446: NullPointerException thrown when calling ManagedConnection.isClosed(). Thanks to Gary Gregory, feng yang, Euclides M, Phil Steitz.
o DBCP-444: InvalidateConnection can result in closed connection returned by ge... | <|file_sep|>RELEASE-NOTES.txt.diff
original:
Version 2.1.1
updated:
Version 2.2
<|file_sep|>RELEASE-NOTES.txt.diff
original:
The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons DBCP 2.1.1.
updated:
The Apache Commons DBCP team is pleased to announ... | 30dceb57c89c88894d4a879eb0ffbf9820ca7af4 | RELEASE-NOTES.txt | RELEASE-NOTES.txt | Text |
<|file_sep|>install-jira.sh.diff
original:
# http://maxlab.polito.it/confluence/display/~gmacario/Configuration+of+mv-linux-powerhorse
updated:
# https://maxlab.polito.it/confluence/x/DAAb
<|file_sep|>original/install-jira.sh
#
# See also
# http://maxlab.polito.it/confluence/display/~gmacario/Configuration+of+mv-linux-... | #
# See also
# https://maxlab.polito.it/confluence/x/DAAb
# ==================================================================================================
set -x
DOWNLOAD_DIR=`pwd`/tmp
#DOWNLOAD_DIR=$/Downloads
JIRA_INSTALLFILE="atlassian-jira-6.2.5-x64.bin"
JIRA_BACKUP="2014-May-17--1540.zip"
mkdir -p ${DOWNLO... | <|file_sep|>install-jira.sh.diff
original:
# http://maxlab.polito.it/confluence/display/~gmacario/Configuration+of+mv-linux-powerhorse
updated:
# https://maxlab.polito.it/confluence/x/DAAb
<|file_sep|>original/install-jira.sh
#
# See also
# http://maxlab.polito.it/confluence/display/~gmacario/Configuration+of+mv-linux-... | 115e05ab4bdfa446f3e36eecef10e89142130a43 | install-jira.sh | install-jira.sh | Shell |
<|file_sep|>original/test/specs/sparkle_formation_spec.rb
<|file_sep|>current/test/specs/sparkle_formation_spec.rb
<|file_sep|>updated/test/specs/sparkle_formation_spec.rb | require_relative '../spec'
describe SparkleFormation do
describe 'Class Methods' do
describe 'Type checks' do
before do
@template = SparkleFormation.new(:template)
@struct = @template.compile
end
it 'should require string-ish type for registry name' do
->{ SparkleFor... | <|file_sep|>original/test/specs/sparkle_formation_spec.rb
<|file_sep|>current/test/specs/sparkle_formation_spec.rb
<|file_sep|>updated/test/specs/sparkle_formation_spec.rb
require_relative '../spec'
describe SparkleFormation do
describe 'Class Methods' do
describe 'Type checks' do
before do
@t... | d715dfc40bbeb9be58faec3dc29e88276d27abf0 | test/specs/sparkle_formation_spec.rb | test/specs/sparkle_formation_spec.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.