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|>main_test.go.diff original: "os" updated: <|file_sep|>main_test.go.diff original: "github.com/nicksnyder/go-i18n/i18n" mylog "github.com/patrickalin/GoMyLog" updated: <|file_sep|>main_test.go.diff original: updated: /* <|file_sep|>original/main_test.go fmt.Printf("%v", err) } } func TestMain(m *te...
/* func TestMain(m *testing.M) { i18n.MustLoadTranslationFile("lang/en-US.all.json") i18n.MustLoadTranslationFile("lang/fr.all.json") mylog.Init(mylog.ERROR) os.Exit(m.Run()) } func TestReadConfigFound(t *testing.T) { if err := readConfig("configForTest"); err != nil { fmt.Printf("%v", err) } }*/ /*func Tes...
<|file_sep|>main_test.go.diff original: "os" updated: <|file_sep|>main_test.go.diff original: "github.com/nicksnyder/go-i18n/i18n" mylog "github.com/patrickalin/GoMyLog" updated: <|file_sep|>main_test.go.diff original: updated: /* <|file_sep|>original/main_test.go fmt.Printf("%v", err) } } func TestMain(m *te...
d0e1e21719889d671bf5a0a682ff8d2d87a0e9fa
main_test.go
main_test.go
Go
<|file_sep|>original/Modules/Python/CMakeLists.txt if(MITK_USE_Python) set(OpenCV_DEP ) if(MITK_USE_OpenCV) set(OpenCV_DEP OpenCV) endif() mitk_create_module( DEPENDS MitkCore MitkQtWidgets PACKAGE_DEPENDS PUBLIC Qt4|QtGui Qt5|Widgets CTK|CTKScriptingPythonCore+CTKScriptingPythonWidgets PRIVATE PythonLi...
if(MITK_USE_Python) set(OpenCV_DEP ) if(MITK_USE_OpenCV) set(OpenCV_DEP OpenCV) endif() mitk_create_module( DEPENDS MitkCore MitkQtWidgets AUTOLOAD_WITH MitkCore PACKAGE_DEPENDS PUBLIC Qt4|QtGui Qt5|Widgets CTK|CTKScriptingPythonCore+CTKScriptingPythonWidgets PRIVATE PythonLibs VTK|vtkPython+vtkWrappi...
<|file_sep|>original/Modules/Python/CMakeLists.txt if(MITK_USE_Python) set(OpenCV_DEP ) if(MITK_USE_OpenCV) set(OpenCV_DEP OpenCV) endif() mitk_create_module( DEPENDS MitkCore MitkQtWidgets PACKAGE_DEPENDS PUBLIC Qt4|QtGui Qt5|Widgets CTK|CTKScriptingPythonCore+CTKScriptingPythonWidgets PRIVATE PythonLi...
b538b95b3045c7c7e2c637ba159615f3344095cd
Modules/Python/CMakeLists.txt
Modules/Python/CMakeLists.txt
Text
<|file_sep|>original/pages/ui_component_server.coffee <|file_sep|>current/pages/ui_component_server.coffee <|file_sep|>updated/pages/ui_component_server.coffee
# Register the port recieved from the parent window, and stop listening for messages on the window object. window.addEventListener "message", (event) -> return unless event.source == window.parent currentFunction = arguments.callee # Check event.data against iframeMessageSecret so we can determine that this mess...
<|file_sep|>original/pages/ui_component_server.coffee <|file_sep|>current/pages/ui_component_server.coffee <|file_sep|>updated/pages/ui_component_server.coffee # Register the port recieved from the parent window, and stop listening for messages on the window object. window.addEventListener "message", (event) -> ret...
020331fd8e120eee1fcb80ad05f7fcde33f3e981
pages/ui_component_server.coffee
pages/ui_component_server.coffee
CoffeeScript
<|file_sep|>_data/services.yaml.diff original: updated: - name: Voice Assistant apps description: Access new audiences through Alexa, Google Assisstant and more. icon: comments <|file_sep|>original/_data/services.yaml icon: android - name: Mobile solutions architecture description: Keeping the pace with fram...
icon: android - name: Mobile solutions architecture description: Keeping the pace with frameworks and platforms is a full&#8209;time job. I do it so you don't have to. icon: cloud - name: Voice Assistant apps description: Access new audiences through Alexa, Google Assisstant and more. icon: comments - name...
<|file_sep|>_data/services.yaml.diff original: updated: - name: Voice Assistant apps description: Access new audiences through Alexa, Google Assisstant and more. icon: comments <|file_sep|>original/_data/services.yaml icon: android - name: Mobile solutions architecture description: Keeping the pace with fram...
41c1879d62bb3a641f65340a1483bcc8bb8a5b83
_data/services.yaml
_data/services.yaml
YAML
<|file_sep|>original/src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java <|file_sep|>current/src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java <|file_sep|>updated/src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java
package com.salesforce.phoenix.end2end; import java.sql.Connection; import java.sql.DriverManager; import java.util.Properties; import org.junit.Test; import com.salesforce.phoenix.util.PhoenixRuntime; public class CreateTableTest extends BaseClientMangedTimeTest { @Test public void testCreateTable() thro...
<|file_sep|>original/src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java <|file_sep|>current/src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java <|file_sep|>updated/src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java package com.salesforce.phoenix.end2end; import java.sql.Co...
3fcb11d3b6377a8d4df339063f00ed2cb3f9e136
src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java
src/test/java/com/salesforce/phoenix/end2end/CreateTableTest.java
Java
<|file_sep|>warmercooler.rb.diff original: answer = 1 + rand(1000) puts answer # This statement is temporary while I test the game. updated: solution = 1 + rand(1000) puts solution # This statement is temporary while I test the game. <|file_sep|>original/warmercooler.rb answer = 1 + rand(1000) puts answer # This state...
solution = 1 + rand(1000) puts solution # This statement is temporary while I test the game. puts "Guess what number I'm thinking of. It's between 1 and 1000" guess = gets.to_i while guess != solution puts "Wrong! Guess again!" guess = gets.to_i end puts "You got it!"
<|file_sep|>warmercooler.rb.diff original: answer = 1 + rand(1000) puts answer # This statement is temporary while I test the game. updated: solution = 1 + rand(1000) puts solution # This statement is temporary while I test the game. <|file_sep|>original/warmercooler.rb answer = 1 + rand(1000) puts answer # This state...
1310732a75efdb5a56a81b9caeab708bb1d31c8f
warmercooler.rb
warmercooler.rb
Ruby
<|file_sep|>original/app/templates/lib/theme.styl // Stylus: http://learnboost.github.io/stylus @import 'normalizecss/normalize.css' .bespoke-parent position: absolute top: 0 left: 0 right: 0 bottom: 0 .bespoke-scale-parent position: absolute top: 0 left: 0 right: 0 bottom: 0 pointer-events: no...
// Stylus: http://learnboost.github.io/stylus @import 'normalizecss/normalize.css' .bespoke-parent position: absolute top: 0 left: 0 right: 0 bottom: 0 overflow: hidden .bespoke-scale-parent position: absolute top: 0 left: 0 right: 0 bottom: 0 pointer-events: none .bespoke-active pointe...
<|file_sep|>original/app/templates/lib/theme.styl // Stylus: http://learnboost.github.io/stylus @import 'normalizecss/normalize.css' .bespoke-parent position: absolute top: 0 left: 0 right: 0 bottom: 0 .bespoke-scale-parent position: absolute top: 0 left: 0 right: 0 bottom: 0 pointer-events: no...
cca4aa0a2eb2dd1d8c6ada14ee4aa313864ace2b
app/templates/lib/theme.styl
app/templates/lib/theme.styl
Stylus
<|file_sep|>plugin/components.cpp.diff original: #include "zoomarea.h" updated: <|file_sep|>original/plugin/components.cpp { // Initialise the GObject type system g_type_init (); if (QDir::home ().mkpath ("Pictures/Camera") == false) { qDebug () << "Error making camera directory: " << QDir::homePath () << "...
{ // Initialise the GObject type system g_type_init (); if (QDir::home ().mkpath ("Pictures/Camera") == false) { qDebug () << "Error making camera directory: " << QDir::homePath () << "/Pictures/Camera"; } if (QDir::home ().mkpath ("Videos/Camera") == false) { qDebug () << "Error making camera direc...
<|file_sep|>plugin/components.cpp.diff original: #include "zoomarea.h" updated: <|file_sep|>original/plugin/components.cpp { // Initialise the GObject type system g_type_init (); if (QDir::home ().mkpath ("Pictures/Camera") == false) { qDebug () << "Error making camera directory: " << QDir::homePath () << "...
52ebf19a9ba98bd2db5b89772db6eafee8c0a9b0
plugin/components.cpp
plugin/components.cpp
C++
<|file_sep|>original/spec/routes/app_spec.rb <|file_sep|>current/spec/routes/app_spec.rb <|file_sep|>updated/spec/routes/app_spec.rb
require_relative '../spec_helper' describe "Sinatra application" do it 'compiles the sass stylesheet' do get '/stylesheet.css' last_response.status.should == 200 last_response.body.should =~ /\.feed-list/ end it 'concatenates all the backbone app files' do get '/app.js' last_response.status.should == 20...
<|file_sep|>original/spec/routes/app_spec.rb <|file_sep|>current/spec/routes/app_spec.rb <|file_sep|>updated/spec/routes/app_spec.rb require_relative '../spec_helper' describe "Sinatra application" do it 'compiles the sass stylesheet' do get '/stylesheet.css' last_response.status.should == 200 last_response....
21e685ab1a4b2559f9debd452d057c7ee75a93d6
spec/routes/app_spec.rb
spec/routes/app_spec.rb
Ruby
<|file_sep|>original/requirements.txt Pygments==2.2.0 argparse==1.4.0 cssselect==0.7.1 lxml==3.7.2 pyquery==1.2.17 requests==2.0.1 requests-cache==0.4.13 elasticsearch>=2.0.0 PyYAML==3.12 python-dateutil>=2.2 nose>=1.3.3 lockfile>=0.10.2 <|file_sep|>current/requirements.txt Pygments==2.2.0 argparse==1.4.0 cssselect==0....
Pygments==2.2.0 argparse==1.4.0 cssselect==0.7.1 lxml==3.7.2 pyquery==1.2.17 requests==2.13.0 requests-cache==0.4.13 elasticsearch>=2.0.0 PyYAML==3.12 python-dateutil>=2.2 nose>=1.3.3 lockfile>=0.10.2
<|file_sep|>original/requirements.txt Pygments==2.2.0 argparse==1.4.0 cssselect==0.7.1 lxml==3.7.2 pyquery==1.2.17 requests==2.0.1 requests-cache==0.4.13 elasticsearch>=2.0.0 PyYAML==3.12 python-dateutil>=2.2 nose>=1.3.3 lockfile>=0.10.2 <|file_sep|>current/requirements.txt Pygments==2.2.0 argparse==1.4.0 cssselect==0....
bd419a4b7c404f4023119666ff9552891166905f
requirements.txt
requirements.txt
Text
<|file_sep|>original/assets/javascripts/templates/mentions.js.mustache <div class="row"> <ul class="unstyled posts pull-left" data-view="MentionsPostsFeed"></ul> </div> <|file_sep|>current/assets/javascripts/templates/mentions.js.mustache <div class="row"> <ul class="unstyled posts pull-left" data-view="MentionsPos...
<div class="row"> <div data-view="FetchPostsPool"></div> </div> <div class="row"> <ul class="unstyled posts pull-left" data-view="MentionsPostsFeed"></ul> </div>
<|file_sep|>original/assets/javascripts/templates/mentions.js.mustache <div class="row"> <ul class="unstyled posts pull-left" data-view="MentionsPostsFeed"></ul> </div> <|file_sep|>current/assets/javascripts/templates/mentions.js.mustache <div class="row"> <ul class="unstyled posts pull-left" data-view="MentionsPos...
ddab87dcba9f802d97f0db44005ecfd218cd00ef
assets/javascripts/templates/mentions.js.mustache
assets/javascripts/templates/mentions.js.mustache
HTML+Django
<|file_sep|>original/lib/twitter_api.rb class TwitterApi def self.rornews_tweets client.user_timeline('rubyonrailsnews', count: 10, exclude_replies: true, include_rts: false) end def self.railscontent_tweets client.user_timeline('rubyonrrails', count: 10, exclude_replies: true, include_rts: f...
class TwitterApi def self.rornews_tweets client.user_timeline('rubyonrailsnews', count: 10, exclude_replies: true, include_rts: false) end def self.railscontent_tweets client.user_timeline('rubyonrrails', count: 10, exclude_replies: true, include_rts: false) end def self.rorjobs_twee...
<|file_sep|>original/lib/twitter_api.rb class TwitterApi def self.rornews_tweets client.user_timeline('rubyonrailsnews', count: 10, exclude_replies: true, include_rts: false) end def self.railscontent_tweets client.user_timeline('rubyonrrails', count: 10, exclude_replies: true, include_rts: f...
085e02dedeb3e341cc0499ea4cf7d5579a27e191
lib/twitter_api.rb
lib/twitter_api.rb
Ruby
<|file_sep|>src/AdminLteTheme.php.diff original: use Yii; updated: use hiqdev\yii\compat\yii; <|file_sep|>src/AdminLteTheme.php.diff original: $icon = Yii::getAlias(Yii::$app->params['favicon.ico']); $mimeType = FileHelper::getMimeType($icon); updated: $path = yii::getAlias(yii::getApp()->params...
use yii\helpers\FileHelper; use yii\helpers\Html; /** * Class for this theme. * It's almost empty cause inheritance does all the tricks. */ class AdminLteTheme extends \hiqdev\thememanager\Theme { public $label = 'AdminLte'; public function favicon(): string { $path = yii::getAlias(yii::getApp(...
<|file_sep|>src/AdminLteTheme.php.diff original: use Yii; updated: use hiqdev\yii\compat\yii; <|file_sep|>src/AdminLteTheme.php.diff original: $icon = Yii::getAlias(Yii::$app->params['favicon.ico']); $mimeType = FileHelper::getMimeType($icon); updated: $path = yii::getAlias(yii::getApp()->params...
531f636f9da580481c1bfcf13c3f4c1d09a6e43a
src/AdminLteTheme.php
src/AdminLteTheme.php
PHP
<|file_sep|>original/modules/mod_ginger_adlib/README.md ## Pulling data from the Adlib API Pull records from the Adlib API that have been changed since a moment in time (e.g., 1 week): ```erlang mod_ginger_adlib:pull_updates("-1 week", Context). ``` ## Search In your template: ```dtl {% with m.search[{adlib sear...
## Pulling data from the Adlib API Pull records from the Adlib API that have been changed since a moment in time (e.g., 1 week): ```erlang mod_ginger_adlib:pull_updates("-1 week", Context). ``` Pull a single record from Adlib (where `collect` is the Adlib database and `123` the Adlib priref): ```erlang mod_ginger...
<|file_sep|>original/modules/mod_ginger_adlib/README.md ## Pulling data from the Adlib API Pull records from the Adlib API that have been changed since a moment in time (e.g., 1 week): ```erlang mod_ginger_adlib:pull_updates("-1 week", Context). ``` ## Search In your template: ```dtl {% with m.search[{adlib sear...
82243fadeb3a419e22b45e0b2226c64bd5e00de2
modules/mod_ginger_adlib/README.md
modules/mod_ginger_adlib/README.md
Markdown
<|file_sep|>original/Dispatcher/PusherMessageDispatcher.php public function __construct(PusherManager $pusherManager) { $this->pusherManager = $pusherManager; } public function dispatch(MessageInterface $message) { // Get the dispatch and message data from the message. $dis...
public function __construct(PusherManager $pusherManager) { $this->pusherManager = $pusherManager; } public function dispatch(MessageInterface $message) { // Get the dispatch and message data from the message. $dispatchData = $message->getDispatchData(); $messageDat...
<|file_sep|>original/Dispatcher/PusherMessageDispatcher.php public function __construct(PusherManager $pusherManager) { $this->pusherManager = $pusherManager; } public function dispatch(MessageInterface $message) { // Get the dispatch and message data from the message. $dis...
b14c7dd26b0c585e9a9ff02a4a32e8baf9ff782b
Dispatcher/PusherMessageDispatcher.php
Dispatcher/PusherMessageDispatcher.php
PHP
<|file_sep|>lib/smart_answer_flows/business-coronavirus-support-finder/questions/non_domestic_property.erb.diff original: What is the rateable value of your business' non-domestic property? updated: Does your business have any rateable non-domestic property? <|file_sep|>original/lib/smart_answer_flows/business-coro...
<% text_for :title do %> Does your business have any rateable non-domestic property? <% end %> <% text_for :hint do %> The rateable value of your property is used by your local council to calculate your business rates bill. <% end %> <% options( "yes": "Yes", "no": "No", "not_sure": "Not sure", ) %>
<|file_sep|>lib/smart_answer_flows/business-coronavirus-support-finder/questions/non_domestic_property.erb.diff original: What is the rateable value of your business' non-domestic property? updated: Does your business have any rateable non-domestic property? <|file_sep|>original/lib/smart_answer_flows/business-coro...
04c19015352dac4dc1151be5c4dd66b7c77234a3
lib/smart_answer_flows/business-coronavirus-support-finder/questions/non_domestic_property.erb
lib/smart_answer_flows/business-coronavirus-support-finder/questions/non_domestic_property.erb
HTML+ERB
<|file_sep|>original/build.sbt lazy val root = (project in file(".")).enablePlugins(PlayJava) scalaVersion := "2.11.1" libraryDependencies ++= Seq( javaJdbc, javaEbean, cache, javaWs, "org.xerial" % "sqlite-jdbc" % "3.8.7", // development database "org.mindrot" % "jbcrypt" % "0.3m", // pas...
scalaVersion := "2.11.1" libraryDependencies ++= Seq( javaJdbc, javaEbean, cache, javaWs, "org.xerial" % "sqlite-jdbc" % "3.8.7", // development database "org.mindrot" % "jbcrypt" % "0.3m", // password hashing "com.adrianhurt" % "play-bootstrap3_2.11" % "0.4", // bootstrap integration...
<|file_sep|>original/build.sbt lazy val root = (project in file(".")).enablePlugins(PlayJava) scalaVersion := "2.11.1" libraryDependencies ++= Seq( javaJdbc, javaEbean, cache, javaWs, "org.xerial" % "sqlite-jdbc" % "3.8.7", // development database "org.mindrot" % "jbcrypt" % "0.3m", // pas...
43a889cf3d4cda1afb3230c0733faec353c27d03
build.sbt
build.sbt
Scala
<|file_sep|>original/libimagrt/Cargo.toml [package] name = "libimagrt" version = "0.1.0" authors = ["Matthias Beyer <mail@beyermatthias.de>"] [dependencies] clap = "2.1.1" toml = "0.1.27" log = "0.3.4" xdg-basedir = "0.2.2" itertools = "0.4" tempfile = "2.1.1" [dependencies.libimagstore] path = "../libimagstore" [de...
[package] name = "libimagrt" version = "0.1.0" authors = ["Matthias Beyer <mail@beyermatthias.de>"] [dependencies] clap = "2.1.1" toml = "0.1.27" log = "0.3" xdg-basedir = "0.2.2" itertools = "0.4" tempfile = "2.1.1" [dependencies.libimagstore] path = "../libimagstore" [dependencies.libimagstorestdhook] path = "../l...
<|file_sep|>original/libimagrt/Cargo.toml [package] name = "libimagrt" version = "0.1.0" authors = ["Matthias Beyer <mail@beyermatthias.de>"] [dependencies] clap = "2.1.1" toml = "0.1.27" log = "0.3.4" xdg-basedir = "0.2.2" itertools = "0.4" tempfile = "2.1.1" [dependencies.libimagstore] path = "../libimagstore" [de...
acfff704988283a6a648c32dfd5e69145468c92e
libimagrt/Cargo.toml
libimagrt/Cargo.toml
TOML
<|file_sep|>original/app/controllers/sessions_controller.rb class SessionsController < ApplicationController def new end def create profile= Profile.find_by_email(params[:session][:email].downcase) if profile && profile.authenticate(params[:session][:password]) # Sign the user in and redirect to th...
class SessionsController < ApplicationController def new end def create profile= Profile.find_by_email(params[:session][:email].downcase) if profile && profile.authenticate(params[:session][:password]) # Sign the user in and redirect to the user's show page. sign_in profile redirect_to ...
<|file_sep|>original/app/controllers/sessions_controller.rb class SessionsController < ApplicationController def new end def create profile= Profile.find_by_email(params[:session][:email].downcase) if profile && profile.authenticate(params[:session][:password]) # Sign the user in and redirect to th...
727146c7ee270904a7e5adc17677d3c4b4700eb6
app/controllers/sessions_controller.rb
app/controllers/sessions_controller.rb
Ruby
<|file_sep|>dmoj/executors/RKT.py.diff original: updated: import os <|file_sep|>original/dmoj/executors/RKT.py from dmoj.executors.base_executor import CompiledExecutor from dmoj.executors.mixins import ScriptDirectoryMixin class Executor(ScriptDirectoryMixin, CompiledExecutor): ext = '.rkt' name = 'RKT' ...
from dmoj.executors.base_executor import CompiledExecutor from dmoj.executors.mixins import ScriptDirectoryMixin import os class Executor(ScriptDirectoryMixin, CompiledExecutor): ext = '.rkt' name = 'RKT' fs = ['/etc/nsswitch.conf$', '/etc/passwd$', os.path.expanduser('~/\.racket/.*?')] command = 'rac...
<|file_sep|>dmoj/executors/RKT.py.diff original: updated: import os <|file_sep|>original/dmoj/executors/RKT.py from dmoj.executors.base_executor import CompiledExecutor from dmoj.executors.mixins import ScriptDirectoryMixin class Executor(ScriptDirectoryMixin, CompiledExecutor): ext = '.rkt' name = 'RKT' ...
eb15105976fd054878e0fb16a8ee6e884496b2db
dmoj/executors/RKT.py
dmoj/executors/RKT.py
Python
<|file_sep|>lib/typing_hero/server/client_handler.rb.diff original: world = build_world(words, players).to_json @socket.puts(world) updated: world = build_world(words, players) puts(world) <|file_sep|>lib/typing_hero/server/client_handler.rb.diff original: @socket.puts( ...
end mapped_players = players.map do |player| { :name => player.name, :score => player.score } end { :type => "world", :words => mapped_words, :players => mapped_players } end def puts(message) ...
<|file_sep|>lib/typing_hero/server/client_handler.rb.diff original: world = build_world(words, players).to_json @socket.puts(world) updated: world = build_world(words, players) puts(world) <|file_sep|>lib/typing_hero/server/client_handler.rb.diff original: @socket.puts( ...
04070076602086d13fa1dfbb5e84b38eb89a9702
lib/typing_hero/server/client_handler.rb
lib/typing_hero/server/client_handler.rb
Ruby
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(JNF_NEAT) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") set(SOURCE_FILES JNF_NEAT/body.h JNF_NEAT/gene.cpp JNF_NEAT/gene.h JNF_NEAT/genome.cpp JNF_NEAT/genome.h JNF_NEAT/neural_network.cpp JNF_NEAT/neural_...
cmake_minimum_required(VERSION 3.5) project(JNF_NEAT) if(APPLE) SET(CMAKE_C_COMPILER /usr/local/bin/gcc) SET(CMAKE_CXX_COMPILER /usr/local/bin/g++) endif() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") set(SOURCE_FILES JNF_NEAT/body.h JNF_NEAT/gene.cpp JNF_NEAT/gene.h JNF_NEAT/genome.cpp ...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.5) project(JNF_NEAT) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") set(SOURCE_FILES JNF_NEAT/body.h JNF_NEAT/gene.cpp JNF_NEAT/gene.h JNF_NEAT/genome.cpp JNF_NEAT/genome.h JNF_NEAT/neural_network.cpp JNF_NEAT/neural_...
27bf8693c1304fd3c723c09e1483e0a84233320e
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/metashare/templates/accounts/add_user_profile_to_editor_group_managers.html {% extends "admin/base_site.html" %} {% block content %} <h3>Add a user to the following editor group manager group{{ selected_editorgroupmanagers|pluralize }}:</h3> <div class="content_box"> <table class='manager-group'>...
{% extends "admin/base_site.html" %} {% load i18n admin_modify adminmedia %} {% block breadcrumbs %} <div class="breadcrumbs"> <a href="../../">{% trans "Home" %}</a> &rsaquo; <a href="../">{{ app_label|capfirst|escape }}</a> &rsaquo; <a href="./">{{ verbose_name|capfirst|escape }}</a> &rsaquo; {{ ac...
<|file_sep|>original/metashare/templates/accounts/add_user_profile_to_editor_group_managers.html {% extends "admin/base_site.html" %} {% block content %} <h3>Add a user to the following editor group manager group{{ selected_editorgroupmanagers|pluralize }}:</h3> <div class="content_box"> <table class='manager-group'>...
ce30b73efead3c01bb4e00558af33af9503ea46e
metashare/templates/accounts/add_user_profile_to_editor_group_managers.html
metashare/templates/accounts/add_user_profile_to_editor_group_managers.html
HTML
<|file_sep|>original/pages/release-notes/v7-0/new_features/node_labels_rn.rst Custom labels for nodes +++++++++++++++++++++++ You can now add custom labels to nodes in Fuel Web UI so that it is easier to tell them apart. See :ref:`add-nodes-ug`. <|file_sep|>current/pages/release-notes/v7-0/new_features/node_labels_rn...
Custom labels for nodes +++++++++++++++++++++++ You can now add custom defined key pair labels (ex. Rack : 1) to nodes to help identify nodes or groups of nodes by custom characteristics. See :ref:`add-nodes-ug`.
<|file_sep|>original/pages/release-notes/v7-0/new_features/node_labels_rn.rst Custom labels for nodes +++++++++++++++++++++++ You can now add custom labels to nodes in Fuel Web UI so that it is easier to tell them apart. See :ref:`add-nodes-ug`. <|file_sep|>current/pages/release-notes/v7-0/new_features/node_labels_rn...
0eb991cba5f4a64d0a8b9476e9c13db12915f9bd
pages/release-notes/v7-0/new_features/node_labels_rn.rst
pages/release-notes/v7-0/new_features/node_labels_rn.rst
reStructuredText
<|file_sep|>original/requirements/dev.txt # ulid/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.710 pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pylint==2.3.1; (python_version > '2.7' and python...
# ulid/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.711 pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pylint==2.3.1; (python_version > '2.7' and python_version < '3.0') or python_version >= '3....
<|file_sep|>original/requirements/dev.txt # ulid/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.710 pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pylint==2.3.1; (python_version > '2.7' and python...
977410a984ee666befcb95fa3091618f4e8fd3e1
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/app/views/invoices/_asset_list.html.haml .contextual = icon_link_to :new, new_invoice_asset_path(resource, :asset => {:purchase_invoice_id => resource.id}), :remote => true %h3= t('title.assets') #assets_list - unless resource.assets.empty? %table.list %tr %th= t_attr :title,...
.contextual = icon_link_to :new, new_invoice_asset_path(resource, :asset => {:purchase_invoice_id => resource.id}), :remote => true %h3= t('title.assets') #assets_list - unless resource.assets.empty? %table.list = render :partial => 'invoices/asset', :collection => resource.assets
<|file_sep|>original/app/views/invoices/_asset_list.html.haml .contextual = icon_link_to :new, new_invoice_asset_path(resource, :asset => {:purchase_invoice_id => resource.id}), :remote => true %h3= t('title.assets') #assets_list - unless resource.assets.empty? %table.list %tr %th= t_attr :title,...
566d2563b0aab9cd27dee9c5b0e2c1988a4b0f39
app/views/invoices/_asset_list.html.haml
app/views/invoices/_asset_list.html.haml
Haml
<|file_sep|>original/package.json { "name": "sb-callsite", "version": "1.0.0", "description": "Optimized stack traces for Javascript", "main": "lib/main.js", "devdependencies": { "babel-preset-steelbrain": "^1.0.0" }, "scripts": { "test": "apm test", "compile": "ucompiler go" }, "repositor...
{ "name": "sb-callsite", "version": "1.0.0", "description": "Optimized stack traces for Javascript", "main": "lib/main.js", "jsnext:main": "src/main.js", "devdependencies": { "babel-preset-steelbrain": "^1.0.0" }, "scripts": { "test": "apm test", "compile": "ucompiler go" }, "repository"...
<|file_sep|>original/package.json { "name": "sb-callsite", "version": "1.0.0", "description": "Optimized stack traces for Javascript", "main": "lib/main.js", "devdependencies": { "babel-preset-steelbrain": "^1.0.0" }, "scripts": { "test": "apm test", "compile": "ucompiler go" }, "repositor...
e2af7083189c51824325c1fa49def8688317c039
package.json
package.json
JSON
<|file_sep|>original/codesharer/app.py from flask import Flask from flaskext.redis import Redis def create_app(): from codesharer.apps.classifier.views import frontend app = Flask(__name__) app.config.from_object('codesharer.conf.Config') app.register_module(frontend) db = Redis(app) db.init...
from flask import Flask from flaskext.redis import Redis def create_app(): from codesharer.apps.snippets.views import frontend app = Flask(__name__) app.config.from_object('codesharer.conf.Config') app.register_module(frontend) db = Redis(app) db.init_app(app) app.db = db retur...
<|file_sep|>original/codesharer/app.py from flask import Flask from flaskext.redis import Redis def create_app(): from codesharer.apps.classifier.views import frontend app = Flask(__name__) app.config.from_object('codesharer.conf.Config') app.register_module(frontend) db = Redis(app) db.init...
e9b422c74382d88787114796e7e4b6dfd2b25225
codesharer/app.py
codesharer/app.py
Python
<|file_sep|>.github/workflows/publish.yml.diff original: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: distribution: 'adopt' java-version: '11' - name: Build with Maven run: mvn -B package --file pom.xml updated: <|file_sep|>original...
uses: actions/setup-java@v2 with: distribution: 'adopt' java-version: '11' server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE ...
<|file_sep|>.github/workflows/publish.yml.diff original: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: distribution: 'adopt' java-version: '11' - name: Build with Maven run: mvn -B package --file pom.xml updated: <|file_sep|>original...
91b790332a41469bea799628b5f5080497670136
.github/workflows/publish.yml
.github/workflows/publish.yml
YAML
<|file_sep|>alert_templates/prod/tls_backend_handshake_errors.json.erb.diff original: "critical": 1.0, updated: "critical": 2.0, <|file_sep|>original/alert_templates/prod/tls_backend_handshake_errors.json.erb "notify_audit": false, "notify_no_data": false, "renotify_interval": 0, "require_fu...
"notify_audit": false, "notify_no_data": false, "renotify_interval": 0, "require_full_window": false, "silenced": { }, "thresholds": { "critical": 2.0, "warning": 0.01 }, "timeout_h": 0 }, "org_id": 4242, "overall_state": "Warn", "overall_state_modified": "2018-09...
<|file_sep|>alert_templates/prod/tls_backend_handshake_errors.json.erb.diff original: "critical": 1.0, updated: "critical": 2.0, <|file_sep|>original/alert_templates/prod/tls_backend_handshake_errors.json.erb "notify_audit": false, "notify_no_data": false, "renotify_interval": 0, "require_fu...
1a9fff2a875b2ac5ca3344370c7a618dc416c581
alert_templates/prod/tls_backend_handshake_errors.json.erb
alert_templates/prod/tls_backend_handshake_errors.json.erb
HTML+ERB
<|file_sep|>src/ch02/linklist_test2.cpp.diff original: /// file: linklist_test.cpp updated: /// file: linklist_test2.cpp <|file_sep|>original/src/ch02/linklist_test2.cpp bool eq(int a, int b) { return a==b; } void print(int x) { cout << " " << x; } int main() { // 建立链表 LinkList<int> L; // 初始化 ...
bool eq(int a, int b) { return a==b; } void print(int x) { cout << " " << x; } /// /// 在单链表中定位元素,遍历顺序表 /// int main() { // 建立链表 LinkList<int> L; // 初始化 InitList(L); PrintList(L);
<|file_sep|>src/ch02/linklist_test2.cpp.diff original: /// file: linklist_test.cpp updated: /// file: linklist_test2.cpp <|file_sep|>original/src/ch02/linklist_test2.cpp bool eq(int a, int b) { return a==b; } void print(int x) { cout << " " << x; } int main() { // 建立链表 LinkList<int> L; // 初始化 ...
249cd865735feed43a0b10b1483e8e5fd7b0fa77
src/ch02/linklist_test2.cpp
src/ch02/linklist_test2.cpp
C++
<|file_sep|>README.md.diff original: | parameter | type | description | | ---------- | ------------------------- | ----------------------------------------------------- | | `feature` | Feature,FeatureCollection | input to be buffered ...
var result = turf.featurecollection([buffered.features, pt]); //=result ``` **Returns** `FeatureCollection.<Polygon>,FeatureCollection.<MultiPolygon>,Polygon,MultiPolygon`, buffered features ## Installation Requires [nodejs](http://nodejs.org/). ```sh $ npm install turf-buffer ``` ## Tests ```sh $ npm test ```
<|file_sep|>README.md.diff original: | parameter | type | description | | ---------- | ------------------------- | ----------------------------------------------------- | | `feature` | Feature,FeatureCollection | input to be buffered ...
31ef46a8756a3c9890aa9acd4266a33c064f4cb8
README.md
README.md
Markdown
<|file_sep|>original/README.md Each project should get a chat channel which is logged into the project git repository. Login to the server should be authorized via the Meetup API, each user must be a member of a authorized meetup group. Code style ========== Since the Ruby Community is a tad anal about using 2 spac...
and I'm anal about using tabs instead. So if you're like me you want to make everyone happy including yourself, be sure to make sure you have to set up this repo as follows: <pre><code> $ cat .git/info/attributes *.rb filter=tabspace $ git config --global filter.tabspace.smudge=unexpand --tabs=2 --first-only $...
<|file_sep|>original/README.md Each project should get a chat channel which is logged into the project git repository. Login to the server should be authorized via the Meetup API, each user must be a member of a authorized meetup group. Code style ========== Since the Ruby Community is a tad anal about using 2 spac...
e27d0b22cba456413667290cd72e439917b56439
README.md
README.md
Markdown
<|file_sep|>components/family-studies/migrations/src/main/resources/META-INF/components.txt.diff original: updated: org.phenotips.studies.family.migrations.R71496PhenoTips2339DataMigration <|file_sep|>original/components/family-studies/migrations/src/main/resources/META-INF/components.txt org.phenotips.studies.family....
org.phenotips.studies.family.migrations.PhenotipsFamilyMigrations org.phenotips.studies.family.migrations.R71496PhenoTips2339DataMigration org.phenotips.studies.family.migrations.R71497PhenoTips2154DataMigration
<|file_sep|>components/family-studies/migrations/src/main/resources/META-INF/components.txt.diff original: updated: org.phenotips.studies.family.migrations.R71496PhenoTips2339DataMigration <|file_sep|>original/components/family-studies/migrations/src/main/resources/META-INF/components.txt org.phenotips.studies.family....
43ed28b4fbbb38587a67bb85ece8f2c7a07080f5
components/family-studies/migrations/src/main/resources/META-INF/components.txt
components/family-studies/migrations/src/main/resources/META-INF/components.txt
Text
<|file_sep|>original/build.yaml repositories: remote: - http://repo1.maven.org/maven2 artifacts: javax_javaee: javax:javaee-api:jar:7.0 javax_annotation: com.google.code.findbugs:jsr305:jar:2.0.1 gwt_user: com.google.gwt:gwt-user:jar:2.5.1 gwt_dev: com.google.gwt:gwt-dev:jar:2.5.1 javax_validation: jav...
repositories: remote: - http://repo1.maven.org/maven2 artifacts: javax_javaee: javax:javaee-api:jar:7.0 javax_annotation: com.google.code.findbugs:jsr305:jar:2.0.1 gwt_user: com.google.gwt:gwt-user:jar:2.6.0 gwt_dev: com.google.gwt:gwt-dev:jar:2.6.0 javax_validation: javax.validation:validation-api:jar...
<|file_sep|>original/build.yaml repositories: remote: - http://repo1.maven.org/maven2 artifacts: javax_javaee: javax:javaee-api:jar:7.0 javax_annotation: com.google.code.findbugs:jsr305:jar:2.0.1 gwt_user: com.google.gwt:gwt-user:jar:2.5.1 gwt_dev: com.google.gwt:gwt-dev:jar:2.5.1 javax_validation: jav...
fd8c54bbde4a13d914dbab645ed22d20f74b0a9f
build.yaml
build.yaml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - '6.3' - '6.2.2' - '0.12' env: matrix: - NODE_ENV=development script: npm run coverage after_success: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js <|file_sep|>current/.travis.yml language: node_js node_js: - '6.3' - '6.2.2' - '...
language: node_js node_js: - '6.3' - '4.4' - '0.12' env: matrix: - NODE_ENV=development script: npm run coverage after_success: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
<|file_sep|>original/.travis.yml language: node_js node_js: - '6.3' - '6.2.2' - '0.12' env: matrix: - NODE_ENV=development script: npm run coverage after_success: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js <|file_sep|>current/.travis.yml language: node_js node_js: - '6.3' - '6.2.2' - '...
4e2f8b039c0c6fbaaa854ec30388cdef3dee39dd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json }, { "name": "Symfony Community", "homepage": "http://symfony.com/contributors" } ], "require": { "php": ">=5.3.3" }, "require-dev": { "symfony/css-selector": "~2.0" }, "suggest": { "symfon...
}, { "name": "Symfony Community", "homepage": "http://symfony.com/contributors" } ], "require": { "php": ">=5.3.3" }, "require-dev": { "symfony/css-selector": "~2.0,>=2.0.5" }, "suggest": { "symfony/css-selector": "" }, ...
<|file_sep|>original/composer.json }, { "name": "Symfony Community", "homepage": "http://symfony.com/contributors" } ], "require": { "php": ">=5.3.3" }, "require-dev": { "symfony/css-selector": "~2.0" }, "suggest": { "symfon...
63f11383251b8b01df4ccf68250f9a7701fc0890
composer.json
composer.json
JSON
<|file_sep|>original/cruise_config.rb Project.configure do |project| project.email_notifier.emails = ["scott@butlerpress.com"] # project.email_notifier.emails = ["scott@butlerpress.com", "al.pendergrass@gmail.com", "ryan@cyclocrazed.com"] project.build_command = "./script/cruise_build.rb #{project.name}" end <|fi...
Project.configure do |project| project.email_notifier.emails = ["scott@butlerpress.com", "al.pendergrass@gmail.com", "ryan@cyclocrazed.com"] project.build_command = "./script/cruise_build.rb #{project.name}" end
<|file_sep|>original/cruise_config.rb Project.configure do |project| project.email_notifier.emails = ["scott@butlerpress.com"] # project.email_notifier.emails = ["scott@butlerpress.com", "al.pendergrass@gmail.com", "ryan@cyclocrazed.com"] project.build_command = "./script/cruise_build.rb #{project.name}" end <|fi...
c5081626f4ca24f78b1d70fe2bb978c8eb9dc654
cruise_config.rb
cruise_config.rb
Ruby
<|file_sep|>original/.github/ISSUE_TEMPLATE/task.md about: Work item task in EnMasse title: '' labels: kind/task assignees: '' --- **Description** <!-- REMINDER: Add milestones and labels to the task to make it easily identifiable --> High level description of the task. **Design** If applicable, links to design d...
about: Work item task in EnMasse title: '' labels: kind/task assignees: '' --- **Description** <!-- REMINDER: * Add milestone * Add component labels to identify relevant component(s) * Add size labels using t-shirt sizes (i.e. size/small, size/medium, size/large) to aid planning --> High level description of the ta...
<|file_sep|>original/.github/ISSUE_TEMPLATE/task.md about: Work item task in EnMasse title: '' labels: kind/task assignees: '' --- **Description** <!-- REMINDER: Add milestones and labels to the task to make it easily identifiable --> High level description of the task. **Design** If applicable, links to design d...
7e0396f9337479fdecbe8665403fcea0ab2baadf
.github/ISSUE_TEMPLATE/task.md
.github/ISSUE_TEMPLATE/task.md
Markdown
<|file_sep|>original/cmake/Modules/DefineCMakeDefaults.cmake # Put the include dirs which are in the source or build tree # before all other include dirs, so the headers in the sources # are prefered over the already installed ones # since cmake 2.4.1 set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) # Use colored outp...
# since cmake 2.4.1 set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) # Use colored output # since cmake 2.4.0 set(CMAKE_COLOR_MAKEFILE ON) # Define the generic version of the libraries here set(GENERIC_LIB_VERSION "0.1.0") set(GENERIC_LIB_SOVERSION "0") # Set the default build type to release with debug info if (NOT...
<|file_sep|>original/cmake/Modules/DefineCMakeDefaults.cmake # Put the include dirs which are in the source or build tree # before all other include dirs, so the headers in the sources # are prefered over the already installed ones # since cmake 2.4.1 set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) # Use colored outp...
c97864a3da2f2554d02e7f1c312af4480f1a7027
cmake/Modules/DefineCMakeDefaults.cmake
cmake/Modules/DefineCMakeDefaults.cmake
CMake
<|file_sep|>tingbot/platform_specific/__init__.py.diff original: import platform, os updated: import sys, os <|file_sep|>original/tingbot/platform_specific/__init__.py def no_op_returning(return_value): def inner(*args, **kwargs): return return_value return inner # set fallback functions (some of thes...
def no_op_returning(return_value): def inner(*args, **kwargs): return return_value return inner # set fallback functions (some of these will be replaced by the real versions below) set_backlight = no_op mouse_attached = no_op_returning(True) keyboard_attached = no_op_returning(True) joystick_attached ...
<|file_sep|>tingbot/platform_specific/__init__.py.diff original: import platform, os updated: import sys, os <|file_sep|>original/tingbot/platform_specific/__init__.py def no_op_returning(return_value): def inner(*args, **kwargs): return return_value return inner # set fallback functions (some of thes...
915c59f1e8e1919555d6b3c8de5fbc34cd56e414
tingbot/platform_specific/__init__.py
tingbot/platform_specific/__init__.py
Python
<|file_sep|>original/lib/middleman/pagination/extension_context.rb module Middleman module Pagination class ExtensionContext extend Forwardable def_delegators :app, :sitemap, :index_file, :data def initialize(extension) @extension = extension end def configurat...
require 'forwardable' module Middleman module Pagination class ExtensionContext extend Forwardable def_delegators :app, :sitemap, :index_file, :data def initialize(extension) @extension = extension end def configuration @configuration ||= Configuration...
<|file_sep|>original/lib/middleman/pagination/extension_context.rb module Middleman module Pagination class ExtensionContext extend Forwardable def_delegators :app, :sitemap, :index_file, :data def initialize(extension) @extension = extension end def configurat...
4d60e97ba0094b80effd49def84c025b1cb9d221
lib/middleman/pagination/extension_context.rb
lib/middleman/pagination/extension_context.rb
Ruby
<|file_sep|>original/core/exceptions.py def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs): # type: (str, object, Sequence[str], str, str, object) -> None super(GitSavvyError, self).__init__(msg, *args) self.message = msg self.cmd = cmd self.stdout = std...
class GitSavvyError(Exception): def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs): # type: (str, object, Sequence[str], str, str, object) -> None super(GitSavvyError, self).__init__(msg, *args) self.message = msg self.cmd = cmd self.stdout = stdout ...
<|file_sep|>original/core/exceptions.py def __init__(self, msg, *args, cmd=None, stdout="", stderr="", **kwargs): # type: (str, object, Sequence[str], str, str, object) -> None super(GitSavvyError, self).__init__(msg, *args) self.message = msg self.cmd = cmd self.stdout = std...
44426207ba65ba6c56c1092b0313f508c59d6b1f
core/exceptions.py
core/exceptions.py
Python
<|file_sep|>original/frontend/src/components/watchlist/entry.directive.html <div class="left"> <div am-time-ago="event.timestamp"></div> <a href="{{::event.projecturl}}/wiki/Special:Watchlist" class="project" title="{{::event.project}}" target="_blank"> <span ng-if="::event.projectlang"> <span ng-if=...
<div class="left"> <div am-time-ago="event.timestamp"></div> <a href="{{::event.projecturl}}/wiki/Special:Watchlist" class="project" title="{{::event.project}}" target="_blank"> <span ng-if="::event.projectlang"> <span ng-if="!ctrl.config.flagsenable || !ctrl.flagurl(event.projectlang)">{{::event.pro...
<|file_sep|>original/frontend/src/components/watchlist/entry.directive.html <div class="left"> <div am-time-ago="event.timestamp"></div> <a href="{{::event.projecturl}}/wiki/Special:Watchlist" class="project" title="{{::event.project}}" target="_blank"> <span ng-if="::event.projectlang"> <span ng-if=...
66c83ca4ae502eddf4ab3b350ee2813e494c45fc
frontend/src/components/watchlist/entry.directive.html
frontend/src/components/watchlist/entry.directive.html
HTML
<|file_sep|>app/views/download/index.html.haml.diff original: You can load this into any spreadsheet program such as OpenOffice, Google Docs, or Microsoft Office to do your own analysis. updated: <|file_sep|>original/app/views/download/index.html.haml .page-header %h1 Download %p.lead Download your shopping...
%h1 Download %p.lead Download your shopping receipts data as a spreadsheet %p This is <em>your</em> shopping data so <em>you</em> should have access to it to do with as you please. %p You can load this into pretty much any spreadsheet program such as #{link_to "OpenOffice", "https://www.openoffice.or...
<|file_sep|>app/views/download/index.html.haml.diff original: You can load this into any spreadsheet program such as OpenOffice, Google Docs, or Microsoft Office to do your own analysis. updated: <|file_sep|>original/app/views/download/index.html.haml .page-header %h1 Download %p.lead Download your shopping...
b907fca7c3403dbe6c610e782bfbba7aceb7686f
app/views/download/index.html.haml
app/views/download/index.html.haml
Haml
<|file_sep|>original/client/components/Main/Loading.jsx var React = require('react'); var Loading = React.createClass({ render: function() { return( <div className="text-center loading"><img src="https://3.bp.blogspot.com/-FjddXJJsIv8/VeaoXmv8HQI/AAAAAAAAGww/PlCl0uSR_9g/s1600/loading.gif"></img></div> ...
var React = require('react'); // Please fix this link ASAP... var Loading = React.createClass({ render: function() { return( <div className="text-center loading"><img src="https://3.bp.blogspot.com/-FjddXJJsIv8/VeaoXmv8HQI/AAAAAAAAGww/PlCl0uSR_9g/s1600/loading.gif"></img></div> ); } }); module.expo...
<|file_sep|>original/client/components/Main/Loading.jsx var React = require('react'); var Loading = React.createClass({ render: function() { return( <div className="text-center loading"><img src="https://3.bp.blogspot.com/-FjddXJJsIv8/VeaoXmv8HQI/AAAAAAAAGww/PlCl0uSR_9g/s1600/loading.gif"></img></div> ...
bd37635462a0e0ccc8a1e240ec427ea5244acf18
client/components/Main/Loading.jsx
client/components/Main/Loading.jsx
JSX
<|file_sep|>original/.travis.yml before_script: - "nohup bundle exec ruby test/live_server.rb &" - "sleep 2" env: LIVE=1 language: ruby rvm: - rbx-18mode - rbx-19mode - jruby-18mode - jruby-19mode - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head <|file_sep|>current/.travis.yml before_script: - "nohup bundle...
before_script: - "nohup bundle exec ruby test/live_server.rb &" - "sleep 2" env: LIVE=1 language: ruby matrix: allow_failures: - rvm: ruby-head rvm: - rbx-18mode - rbx-19mode - jruby-18mode - jruby-19mode - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head
<|file_sep|>original/.travis.yml before_script: - "nohup bundle exec ruby test/live_server.rb &" - "sleep 2" env: LIVE=1 language: ruby rvm: - rbx-18mode - rbx-19mode - jruby-18mode - jruby-19mode - 1.8.7 - 1.9.2 - 1.9.3 - ruby-head <|file_sep|>current/.travis.yml before_script: - "nohup bundle...
bb69f7b927dbb54c4427c7f88f4b128db8fc2fdc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/cookbooks/universe_ubuntu/test/recipes/default_test.rb xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig) packages.each do |item| describe package item do it { should be_...
xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig) packages.each do |item| describe package item do it { should be_installed } end end describe file "#{Chef::Config[:file_cache_path]}/Anac...
<|file_sep|>original/cookbooks/universe_ubuntu/test/recipes/default_test.rb xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig) packages.each do |item| describe package item do it { should be_...
3760e9d62a240ee480d3b98977bd56744f884974
cookbooks/universe_ubuntu/test/recipes/default_test.rb
cookbooks/universe_ubuntu/test/recipes/default_test.rb
Ruby
<|file_sep|>README.md.diff original: `yarn global add genge` updated: `yarn global add https://github.com/felixfong227/genge.git` <|file_sep|>original/README.md # Genge `yarn global add genge` or `npm -g install genge` A simple `ExpressJS` template generator CLI: ``` $ genge [option] [option] --flat --flat ``` ## ...
# Genge `yarn global add https://github.com/felixfong227/genge.git` or `npm -g install https://github.com/felixfong227/genge.git` A simple `ExpressJS` template generator CLI: ``` $ genge [option] [option] --flat --flat ``` ## Create your first app ``` $ genge create app appName ``` Genge will create some start up ...
<|file_sep|>README.md.diff original: `yarn global add genge` updated: `yarn global add https://github.com/felixfong227/genge.git` <|file_sep|>original/README.md # Genge `yarn global add genge` or `npm -g install genge` A simple `ExpressJS` template generator CLI: ``` $ genge [option] [option] --flat --flat ``` ## ...
b1cec6e42172fa932d8156053abecdbd26bec501
README.md
README.md
Markdown
<|file_sep|>original/tests/Kwc/Trl/Table/config.ini [production] assets.Test.TestFiles = true [test : production] [vivid : production] [dependencies] TestFiles.dep[] = KwfTestCore TestFiles.dep[] = ExtCore TestFiles.dep[] = ComponentsAdmin TestFiles.dep[] = KwfAutoForm TestFiles.dep[] = ExtContainer <|file_sep|>curr...
[production] assets.Test.TestFiles = true [test : production] [vivid : production] [dependencies] TestFiles.dep[] = KwfTestCore TestFiles.dep[] = ExtCore TestFiles.dep[] = ComponentsAdmin TestFiles.dep[] = KwfAutoForm TestFiles.dep[] = ExtContainer TestFiles.dep[] = ExtGrid TestFiles.dep[] = KwfAutoGrid
<|file_sep|>original/tests/Kwc/Trl/Table/config.ini [production] assets.Test.TestFiles = true [test : production] [vivid : production] [dependencies] TestFiles.dep[] = KwfTestCore TestFiles.dep[] = ExtCore TestFiles.dep[] = ComponentsAdmin TestFiles.dep[] = KwfAutoForm TestFiles.dep[] = ExtContainer <|file_sep|>curr...
ea6dfc176b05060b62efaae677f3f19fb99ebd22
tests/Kwc/Trl/Table/config.ini
tests/Kwc/Trl/Table/config.ini
INI
<|file_sep|>original/project/plugins.sbt addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("org.http4s" %% "sbt-http4s-org" % "0.14.2") addSbtPlugin("org.scalastyle" %% "scalastyle...
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("org.http4s" %% "sbt-http4s-org" % "0.14.3") addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
<|file_sep|>original/project/plugins.sbt addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("org.http4s" %% "sbt-http4s-org" % "0.14.2") addSbtPlugin("org.scalastyle" %% "scalastyle...
51ec037ab843b25b8a366ea7da65e1e5836d01de
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/lib/bundler/cli/binstubs.rb Bundler.settings[:bin] = options["path"] if options["path"] Bundler.settings[:bin] = nil if options["path"] && options["path"].empty? installer = Installer.new(Bundler.root, Bundler.definition) if gems.empty? Bundler.ui.error "`bundle bin...
Bundler.settings[:bin] = options["path"] if options["path"] Bundler.settings[:bin] = nil if options["path"] && options["path"].empty? installer = Installer.new(Bundler.root, Bundler.definition) if gems.empty? Bundler.ui.error "`bundle binstubs` needs at least one gem to run." ex...
<|file_sep|>original/lib/bundler/cli/binstubs.rb Bundler.settings[:bin] = options["path"] if options["path"] Bundler.settings[:bin] = nil if options["path"] && options["path"].empty? installer = Installer.new(Bundler.root, Bundler.definition) if gems.empty? Bundler.ui.error "`bundle bin...
9d5ca174c247027db8f6b40784b2d9d402f93b9d
lib/bundler/cli/binstubs.rb
lib/bundler/cli/binstubs.rb
Ruby
<|file_sep|>app/templates/component.hbs.diff original: <input type="text" value="1000" name="duration" class="duration-input"> updated: <input type="number" value="1000" name="duration" class="duration-input"> <|file_sep|>app/templates/component.hbs.diff original: <input type="text" value="0" name="delay" class="delay-...
<label for="type">Easing</label> <select class="easing-input" name="easing"> <option value="bounce" selected>Bounce</option> <option value="sway">Sway</option> <option value="hardbounce">Hard Bounce</option> <option value="hardsway">Hard Sway</option> </select> <label for="duration">Duration (ms)</label> <inpu...
<|file_sep|>app/templates/component.hbs.diff original: <input type="text" value="1000" name="duration" class="duration-input"> updated: <input type="number" value="1000" name="duration" class="duration-input"> <|file_sep|>app/templates/component.hbs.diff original: <input type="text" value="0" name="delay" class="delay-...
c622b1d3de40387f49221399f6917c7e12640722
app/templates/component.hbs
app/templates/component.hbs
Handlebars
<|file_sep|>original/.travis.yml before_script: - travis_retry composer require --no-update satooshi/php-coveralls:dev-master sensiolabs/security-checker:dev-master - travis_retry composer update --dev --no-interaction - git clone https://github.com/jgm/CommonMark.git spec - chmod a+x bin/commonmark script: ...
before_script: - travis_retry composer require --no-update satooshi/php-coveralls:dev-master sensiolabs/security-checker:dev-master - travis_retry composer update --dev --no-interaction - git clone https://github.com/jgm/CommonMark.git spec - chmod a+x bin/commonmark script: - mkdir -p build/logs - vendor/...
<|file_sep|>original/.travis.yml before_script: - travis_retry composer require --no-update satooshi/php-coveralls:dev-master sensiolabs/security-checker:dev-master - travis_retry composer update --dev --no-interaction - git clone https://github.com/jgm/CommonMark.git spec - chmod a+x bin/commonmark script: ...
856839f64d9bce6954f83812f73cae65ddd8c6f8
.travis.yml
.travis.yml
YAML
<|file_sep|>.appveyor.yml.diff original: image: Visual Studio 2017 updated: image: Visual Studio 2015 <|file_sep|>original/.appveyor.yml image: Visual Studio 2017 clone_depth: 10 platform: - x64 environment: APPVEYOR_SAVE_CACHE_ON_ERROR: true init: - if /i %APPVEYOR_REPO_TAG% == true set VERSION=%APPVEYOR_...
image: Visual Studio 2015 clone_depth: 10 platform: - x86 environment: APPVEYOR_SAVE_CACHE_ON_ERROR: true init: - if /i %APPVEYOR_REPO_TAG% == true set VERSION=%APPVEYOR_REPO_TAG_NAME% cache: - qtcreator-latest\compiled install: - call "util\win\prepare.bat" build_script: - call "util\win\bu...
<|file_sep|>.appveyor.yml.diff original: image: Visual Studio 2017 updated: image: Visual Studio 2015 <|file_sep|>original/.appveyor.yml image: Visual Studio 2017 clone_depth: 10 platform: - x64 environment: APPVEYOR_SAVE_CACHE_ON_ERROR: true init: - if /i %APPVEYOR_REPO_TAG% == true set VERSION=%APPVEYOR_...
804b38dac648f83c215f758dbc0654f010d1c266
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/test/integration/users_signup_test.rb require 'test_helper' class UsersSignupTest < ActionDispatch::IntegrationTest test 'invalid signup information does not create new user' do get signup_path assert_no_difference 'User.count' do post users_path, user: { name: '', ...
test 'invalid signup information does not create new user' do get signup_path assert_no_difference 'User.count' do post users_path, user: { name: '', email: 'user@invalid', password: 'foo', password_confirmation...
<|file_sep|>original/test/integration/users_signup_test.rb require 'test_helper' class UsersSignupTest < ActionDispatch::IntegrationTest test 'invalid signup information does not create new user' do get signup_path assert_no_difference 'User.count' do post users_path, user: { name: '', ...
f23e80aa6bed0ee45f93003acc3bc2420f5fbc5f
test/integration/users_signup_test.rb
test/integration/users_signup_test.rb
Ruby
<|file_sep|>original/recipes/mctc-lib/meta.yaml <|file_sep|>current/recipes/mctc-lib/meta.yaml <|file_sep|>updated/recipes/mctc-lib/meta.yaml
{% set name = "mctc-lib" %} {% set version = "0.2.3" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/grimme-lab/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz sha256: d35168eca59d7bc938799e89f193cfe5f52383769eb02493bec73a1ef59e409b build: number: 0 skip: true...
<|file_sep|>original/recipes/mctc-lib/meta.yaml <|file_sep|>current/recipes/mctc-lib/meta.yaml <|file_sep|>updated/recipes/mctc-lib/meta.yaml {% set name = "mctc-lib" %} {% set version = "0.2.3" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/grimme-lab/{{ name }}/arc...
c852ca013438c9acc8c1adf8b4b153e0c0707fe8
recipes/mctc-lib/meta.yaml
recipes/mctc-lib/meta.yaml
YAML
<|file_sep|>native-media/AndroidManifest.xml.diff original: updated: <!-- INTERNET is needed to use a URI-based media player, depending on the URI --> <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></u...
<!-- INTERNET is needed to use a URI-based media player, depending on the URI --> <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission> <uses-feature android:glEsVersion="0x00020000" />...
<|file_sep|>native-media/AndroidManifest.xml.diff original: updated: <!-- INTERNET is needed to use a URI-based media player, depending on the URI --> <uses-permission android:name="android.permission.INTERNET"></uses-permission> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></u...
779aa194c4b2f2f9a8af7f97b3940c526b6a03e1
native-media/AndroidManifest.xml
native-media/AndroidManifest.xml
XML
<|file_sep|>app/helpers/questions_manifest.yml.diff original: - serviceOnboarding - serviceOffboarding updated: <|file_sep|>app/helpers/questions_manifest.yml.diff original: - provisioningTime updated: <|file_sep|>app/helpers/questions_manifest.yml.diff original: - name: Data centre tier questions: ...
- dataExtractionRemoval - datacentresEUCode - dataBackupRecovery - selfServiceProvisioning - supportForThirdParties - name: Networks the service is directly connected to questions: - networksConnected - name: Interoperability questions: - apiAccess - openStandardsSupported - ...
<|file_sep|>app/helpers/questions_manifest.yml.diff original: - serviceOnboarding - serviceOffboarding updated: <|file_sep|>app/helpers/questions_manifest.yml.diff original: - provisioningTime updated: <|file_sep|>app/helpers/questions_manifest.yml.diff original: - name: Data centre tier questions: ...
5b928da97c45da00704ff72827dabea61c1e2c16
app/helpers/questions_manifest.yml
app/helpers/questions_manifest.yml
YAML
<|file_sep|>original/docs/pg_bawlerd/config.yaml common: listen_timeout: 30 stop_on_timeout: False try_to_reconnect: True reconnect_interval: 5 connections: - name: "Clients database" listen_timeout: 30 stop_on_timeout: False try_to_reconnect: True reconnect_interval: 5 connection_para...
common: listen_timeout: 30 stop_on_timeout: False try_to_reconnect: True reconnect_interval: 5 reconnect_attempts: null connections: - name: "Clients database" listen_timeout: 30 stop_on_timeout: False try_to_reconnect: True reconnect_interval: 5 connection_params: dbname: clie...
<|file_sep|>original/docs/pg_bawlerd/config.yaml common: listen_timeout: 30 stop_on_timeout: False try_to_reconnect: True reconnect_interval: 5 connections: - name: "Clients database" listen_timeout: 30 stop_on_timeout: False try_to_reconnect: True reconnect_interval: 5 connection_para...
80652e16341867ece6e30ef7788f2c8f268af68d
docs/pg_bawlerd/config.yaml
docs/pg_bawlerd/config.yaml
YAML
<|file_sep|>original/templates/index.html {%- block content %} <header class="pagehead"> <h1>{{ page.title }}</h1> {%- if page.subtitle %} <h2>{{ page.subtitle }}</h2> {%- endif %} </header> {{ page.content }} {% for subpage in page.subpages %} <div class="post"> <header> <...
{%- block content %} <header class="pagehead"> <h1>{{ page.title }}</h1> {%- if page.subtitle %} <h2>{{ page.subtitle }}</h2> {%- endif %} </header> {{ page.content }} {% for subpage in page.subpages|sort(reverse=True, attribute='date') %} <div class="post"> <header> <h2><a...
<|file_sep|>original/templates/index.html {%- block content %} <header class="pagehead"> <h1>{{ page.title }}</h1> {%- if page.subtitle %} <h2>{{ page.subtitle }}</h2> {%- endif %} </header> {{ page.content }} {% for subpage in page.subpages %} <div class="post"> <header> <...
62a3ab58508ce231264b29982504a45364c578ca
templates/index.html
templates/index.html
HTML
<|file_sep|>original/requirements.txt coverage==4.0.2 Django>=1.7 ipaddress==1.0.14 pygeoip==0.3.2 pytz==2015.7 wheel==0.24.0 <|file_sep|>current/requirements.txt coverage==4.0.2 Django>=1.7 ipaddress==1.0.14 pygeoip==0.3.2 pytz==2015.7 wheel==0.24.0 <|file_sep|>updated/requirements.txt
coverage==4.0.3 Django>=1.7 ipaddress==1.0.14 pygeoip==0.3.2 pytz==2015.7 wheel==0.24.0
<|file_sep|>original/requirements.txt coverage==4.0.2 Django>=1.7 ipaddress==1.0.14 pygeoip==0.3.2 pytz==2015.7 wheel==0.24.0 <|file_sep|>current/requirements.txt coverage==4.0.2 Django>=1.7 ipaddress==1.0.14 pygeoip==0.3.2 pytz==2015.7 wheel==0.24.0 <|file_sep|>updated/requirements.txt coverage==4.0.3 Django>=1.7 ipad...
a5bf82f8651f35bca5e98a90cb5663e2af55cfb7
requirements.txt
requirements.txt
Text
<|file_sep|>original/spec/path-scanner-spec.coffee describe "a non-git directory with many files", -> rootPath = fs.realpathSync("spec/fixtures/many-files") it 'lists all non-hidden files', -> scanner = new PathScanner(rootPath) scanner.on('path-found', (pathHandler = jasmine.createSpy())) ...
waitsFor -> pathHandler.callCount > 0 waitsFor -> finishedHandler.callCount > 0 runs -> expect(scanner.paths.length).toBe 13 expect(scanner.paths).toContain path.join(rootPath, 'file1.txt') expect(scanner.paths).toContain path.join(rootPath, 'dir...
<|file_sep|>original/spec/path-scanner-spec.coffee describe "a non-git directory with many files", -> rootPath = fs.realpathSync("spec/fixtures/many-files") it 'lists all non-hidden files', -> scanner = new PathScanner(rootPath) scanner.on('path-found', (pathHandler = jasmine.createSpy())) ...
98563dea1131430199ea9ab55a4647828e4c5aae
spec/path-scanner-spec.coffee
spec/path-scanner-spec.coffee
CoffeeScript
<|file_sep|>original/spec/features/checking_in_spec.rb require 'rails_helper' RSpec.describe 'Checking in at a worksite', type: :feature do it 'saves the shift event' do work_site = WorkSite.create! address: '101 Main Street' visit root_path click_link work_site.address fill_in 'Name', with: 'Sam J...
require 'rails_helper' RSpec.describe 'Checking in at a worksite', type: :feature do it 'saves the shift event' do work_site = WorkSite.create! address: '101 Main Street' visit root_path click_link work_site.address fill_in 'Name', with: 'Sam Jones' fill_in 'Email', with: 'my@email.com' fil...
<|file_sep|>original/spec/features/checking_in_spec.rb require 'rails_helper' RSpec.describe 'Checking in at a worksite', type: :feature do it 'saves the shift event' do work_site = WorkSite.create! address: '101 Main Street' visit root_path click_link work_site.address fill_in 'Name', with: 'Sam J...
da47c008e187635e1cc5c567c9db948efcfe181e
spec/features/checking_in_spec.rb
spec/features/checking_in_spec.rb
Ruby
<|file_sep|>.github/workflows/build.yml.diff original: - master updated: - main <|file_sep|>original/.github/workflows/build.yml name: build on: push: branches: - master - github_action pull_request: branches: - master jobs: build: runs-on: ubuntu-20.04 steps: ...
name: build on: push: branches: - main - github_action pull_request: branches: - main jobs: build: runs-on: ubuntu-20.04 steps: - name: Checkout code uses: actions/checkout@v2 - name: Build dependencies run: | ./mcrouter/scripts/install_ubu...
<|file_sep|>.github/workflows/build.yml.diff original: - master updated: - main <|file_sep|>original/.github/workflows/build.yml name: build on: push: branches: - master - github_action pull_request: branches: - master jobs: build: runs-on: ubuntu-20.04 steps: ...
1311c5eebfbc0928c7306655c0115d7f0c3c5fa2
.github/workflows/build.yml
.github/workflows/build.yml
YAML
<|file_sep|>original/.travis.yml language: php php: - 5.3.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --no-interaction --prefer-source --dev - composer require jakub-onderka/php-console-highlighter 0.3 script: - ./vendor/bin/tester tests - ./parallel-lint --exclude vendor -...
language: php php: - 5.3.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --no-interaction --prefer-source --dev - composer require jakub-onderka/php-console-highlighter 0.3 script: - ./vendor/bin/tester tests - ./parallel-lint --exclude vendor --exclude tests/examples --no-colo...
<|file_sep|>original/.travis.yml language: php php: - 5.3.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --no-interaction --prefer-source --dev - composer require jakub-onderka/php-console-highlighter 0.3 script: - ./vendor/bin/tester tests - ./parallel-lint --exclude vendor -...
6c669cdedb046513008d233837cd397b284675b6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/SQLServiceBroker/Setup/03-Remove-all.sql DROP PROC dbo.SendMemberWelcomePack GO DROP PROC dbo.ReadFromMemberQueue GO -- Member Queue DDL DROP SERVICE [//Member/Email/WelcomePack] GO DROP SERVICE [//Email/SendAgent] GO DROP CONTRACT [//Member/Email/WelcomePackContract] GO DROP MESSAGE TYPE [//M...
GO DROP CONTRACT [//Member/Email/WelcomePackContract] GO DROP MESSAGE TYPE [//Member/Email/WelcomePackMessage] GO DROP QUEUE [MemberQueue]; GO -- Media Queue Procs DROP PROC dbo.ReadFromMediaQueue GO -- Media Queue DDL -- CDN Policy DROP SERVICE [//Media/Cdn/SetPolicy] GO
<|file_sep|>original/SQLServiceBroker/Setup/03-Remove-all.sql DROP PROC dbo.SendMemberWelcomePack GO DROP PROC dbo.ReadFromMemberQueue GO -- Member Queue DDL DROP SERVICE [//Member/Email/WelcomePack] GO DROP SERVICE [//Email/SendAgent] GO DROP CONTRACT [//Member/Email/WelcomePackContract] GO DROP MESSAGE TYPE [//M...
2ece76e8feda7159551be1c3a5d9a89b4cfd6aa3
SQLServiceBroker/Setup/03-Remove-all.sql
SQLServiceBroker/Setup/03-Remove-all.sql
SQL
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.5 - 2.6 - 2.7 - jruby script: bundle exec rake spec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.5 - 2.6 - 2.7 - jruby script: bundle exec rake spec <|file_sep|>updated/.travis.yml
--- before_install: - gem update --system - gem install bundler -v "~> 2.0" language: ruby rvm: - 2.5 - 2.6 - 2.7 - jruby script: bundle exec rake spec
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.5 - 2.6 - 2.7 - jruby script: bundle exec rake spec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.5 - 2.6 - 2.7 - jruby script: bundle exec rake spec <|file_sep|>updated/.travis.yml --- before_install: - gem update --system - gem ins...
7ca81955b233de7caba65a2ae1f20613c817b9f3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages from distutils.core import Extension module = Extension('confluent_kafka.cimpl', include_dirs = ['/usr/local/include'], libraries= ['rdkafka'], sources=['conflue...
from setuptools import setup, find_packages from distutils.core import Extension module = Extension('confluent_kafka.cimpl', include_dirs = ['/usr/local/include'], libraries= ['rdkafka'], sources=['confluent_kafka/src/confluent_kafka.c', ...
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages from distutils.core import Extension module = Extension('confluent_kafka.cimpl', include_dirs = ['/usr/local/include'], libraries= ['rdkafka'], sources=['conflue...
343422a7f609d0f0c1484ea4573064c7f9d54156
setup.py
setup.py
Python
<|file_sep|>original/modules/typography/_headings_config.scss font-size: ms(1); } %h3 { font-size: ms(0); letter-spacing: size(normal-tracking); } %h4 { font-size: ms(-1); margin-bottom: ms(-3); letter-spacing: size(normal-tracking); } %h5 { font-size: ms(1); letter-spacing: size(normal-tracking);...
font-size: ms(1); } %h3 { font-size: ms(0); letter-spacing: size(normal-tracking); } %h4 { font-size: ms(-1); margin-bottom: ms(-3); letter-spacing: size(normal-tracking); } %h5 { font-size: ms(-2); letter-spacing: size(normal-tracking); }
<|file_sep|>original/modules/typography/_headings_config.scss font-size: ms(1); } %h3 { font-size: ms(0); letter-spacing: size(normal-tracking); } %h4 { font-size: ms(-1); margin-bottom: ms(-3); letter-spacing: size(normal-tracking); } %h5 { font-size: ms(1); letter-spacing: size(normal-tracking);...
157880fb3eff5a2031c1afe82dd526191a935cfe
modules/typography/_headings_config.scss
modules/typography/_headings_config.scss
SCSS
<|file_sep|>original/SuperBuild/External_SimpleITKExamples.cmake ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../Examples BINARY_DIR ${proj}-build CMAKE_GENERATOR ${gen} CMAKE_ARGS --no-warn-unused-cli -C "${CMAKE_CURRENT...
ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../Examples BINARY_DIR ${proj}-build CMAKE_GENERATOR ${gen} CMAKE_ARGS --no-warn-unused-cli -C "${CMAKE_CURRENT_BINARY_DIR}/${proj}-build/CMakeCacheInit.txt" ${ep_common_...
<|file_sep|>original/SuperBuild/External_SimpleITKExamples.cmake ExternalProject_Add(${proj} DOWNLOAD_COMMAND "" UPDATE_COMMAND "" SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../Examples BINARY_DIR ${proj}-build CMAKE_GENERATOR ${gen} CMAKE_ARGS --no-warn-unused-cli -C "${CMAKE_CURRENT...
892386c344d2c19f097053eb87fa70b0e3d239d1
SuperBuild/External_SimpleITKExamples.cmake
SuperBuild/External_SimpleITKExamples.cmake
CMake
<|file_sep|>original/releasenotes/notes/support-cinder-upload-c85849d9c88bbd7e.yaml --- features: - Implemented image uploading, downloading and deletion for cinder store. It also supports new settings to put image volumes into a specific project to hide them from users and to control them based on ACL of the...
--- features: - Implemented image uploading, downloading and deletion for cinder store. It also supports new settings to put image volumes into a specific project to hide them from users and to control them based on ACL of the images. Note that cinder store is currently considered experimental, so cur...
<|file_sep|>original/releasenotes/notes/support-cinder-upload-c85849d9c88bbd7e.yaml --- features: - Implemented image uploading, downloading and deletion for cinder store. It also supports new settings to put image volumes into a specific project to hide them from users and to control them based on ACL of the...
50f9013180f57041ef97e001cace997718672078
releasenotes/notes/support-cinder-upload-c85849d9c88bbd7e.yaml
releasenotes/notes/support-cinder-upload-c85849d9c88bbd7e.yaml
YAML
<|file_sep|>original/views/snippets/typography_links.html <p> <a href="#">A 19px link without surrounding text</a> </p> <p> <a href="#">A 19px body copy link</a>. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p> <p> <a href="#" rel="external"...
<p> <a href="#">A 19px link without surrounding text</a> </p> <p> <a href="#">A 19px body copy link</a>. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p> <p> <a href="#" rel="external">A 19px body copy external link.</a> Fusce dapibus, tellus...
<|file_sep|>original/views/snippets/typography_links.html <p> <a href="#">A 19px link without surrounding text</a> </p> <p> <a href="#">A 19px body copy link</a>. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p> <p> <a href="#" rel="external"...
843ec40669c7cdafec4ad1a84bee6bd068c18274
views/snippets/typography_links.html
views/snippets/typography_links.html
HTML
<|file_sep|>.travis.yml.diff original: updated: sudo: true dist: trusty <|file_sep|>.travis.yml.diff original: sudo: false dist: trusty updated: <|file_sep|>.travis.yml.diff original: before_install: - cd snakemake/ updated: services: - docker <|file_sep|>.travis.yml.diff original: - sudo apt-get update - wge...
sudo: true dist: trusty language: python python: - "3.6" services: - docker install: - docker pull gtcg/sv-callers-gridengine - docker pull gtcg/sv-callers-slurm - docker run -d -p 10022:22 --name wf-ge gtcg/sv-callers-gridengine - docker run -d -p 10023:22 --name wf-slurm gtcg/sv-callers-slurm script: - ...
<|file_sep|>.travis.yml.diff original: updated: sudo: true dist: trusty <|file_sep|>.travis.yml.diff original: sudo: false dist: trusty updated: <|file_sep|>.travis.yml.diff original: before_install: - cd snakemake/ updated: services: - docker <|file_sep|>.travis.yml.diff original: - sudo apt-get update - wge...
15a793596afd0f817604cfd3d99e0fef54522089
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/views/help/credits.html.erb <% @title = "Credits" %> <%= render :partial => 'sidebar' %> <div id="left_column_flip"> <h1><%= @title %></h1> <p>Translation to follow</p> <div id="hash_link_padding"></div> </div> <|file_sep|>current/lib/views/help/credits.html.erb <% @title = "Credit...
<% @title = "Credits" %> <%= render :partial => 'sidebar' %> <div id="left_column_flip"> <h1><%= @title %></h1> <p>This project has been developed between the National Authority of Transparency and Access to Information and mySociety Ltd., British company based in London. Funding for the development of the Elect...
<|file_sep|>original/lib/views/help/credits.html.erb <% @title = "Credits" %> <%= render :partial => 'sidebar' %> <div id="left_column_flip"> <h1><%= @title %></h1> <p>Translation to follow</p> <div id="hash_link_padding"></div> </div> <|file_sep|>current/lib/views/help/credits.html.erb <% @title = "Credit...
25703dbd3cf08ecc4c0ebcf5e16055fe317ea88f
lib/views/help/credits.html.erb
lib/views/help/credits.html.erb
HTML+ERB
<|file_sep|>original/package.json { "name": "application-name", "version": "0.0.1", "private": true, "scripts": { "start": "node app.js" }, "dependencies": { "express": "3.4.7", "jade": "*" } } <|file_sep|>current/package.json { "name": "application-name", "version": "0.0.1", "private": ...
{ "name": "application-name", "version": "0.0.1", "private": true, "scripts": { "start": "node app.js" }, "dependencies": { "express": "~3.4.8", "jade": "~1.1.4" } }
<|file_sep|>original/package.json { "name": "application-name", "version": "0.0.1", "private": true, "scripts": { "start": "node app.js" }, "dependencies": { "express": "3.4.7", "jade": "*" } } <|file_sep|>current/package.json { "name": "application-name", "version": "0.0.1", "private": ...
a3ebd2c91e0df103850aef2489aa051d6034e094
package.json
package.json
JSON
<|file_sep|>original/stylesheets/default.css <|file_sep|>current/stylesheets/default.css <|file_sep|>updated/stylesheets/default.css
/* Background pattern used with permission from subtlepatterns.com */ /* Header */ header { background-color: #3e3952; position: relative; height: 100px; width: 80%; margin-left: auto; margin-right: auto; color: #bc7abd; padding: 1px; border: solid 1px; border-color: #3e3952; border-top-left-radius: 3px; ...
<|file_sep|>original/stylesheets/default.css <|file_sep|>current/stylesheets/default.css <|file_sep|>updated/stylesheets/default.css /* Background pattern used with permission from subtlepatterns.com */ /* Header */ header { background-color: #3e3952; position: relative; height: 100px; width: 80%; margin-left: ...
809abc914953213f1ae7b565c0531857d42acb7b
stylesheets/default.css
stylesheets/default.css
CSS
<|file_sep|>original/features/support/screenshots.rb require 'shellwords' if ENV['CAPTURE_DIR'] Before do mkdir_p ENV['CAPTURE_DIR'] end AfterStep do |scenario| cdir = ENV['CAPTURE_DIR'] now = Time.now.to_f fn = Shellwords.escape("#{cdir}/#{scenario.title}-#{now}.png") `import -window root #...
require 'shellwords' if ENV['CAPTURE_DIR'] Before do mkdir_p ENV['CAPTURE_DIR'] end AfterStep do |scenario| cdir = ENV['CAPTURE_DIR'] now = Time.now.to_f fn = Shellwords.escape("#{cdir}/#{now}-#{scenario.title}.png") `import -window root #{fn}` end end
<|file_sep|>original/features/support/screenshots.rb require 'shellwords' if ENV['CAPTURE_DIR'] Before do mkdir_p ENV['CAPTURE_DIR'] end AfterStep do |scenario| cdir = ENV['CAPTURE_DIR'] now = Time.now.to_f fn = Shellwords.escape("#{cdir}/#{scenario.title}-#{now}.png") `import -window root #...
dfb43b478abf955ff0fa4c6890528af16db00b92
features/support/screenshots.rb
features/support/screenshots.rb
Ruby
<|file_sep|>original/jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java <|file_sep|>current/jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java <|file_sep|>updated/jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java
package test_locally.api.audit; import com.github.seratch.jslack.api.audit.Actions; import org.junit.Test; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.Arrays; import java.util.List; import static java.util.stream.Collectors.toList; import static org.hamcrest.CoreMatchers.is; i...
<|file_sep|>original/jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java <|file_sep|>current/jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java <|file_sep|>updated/jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java package test_locally.api.audit; import c...
9294e6db94b68e36cebac42b59e86c0b00aaae5f
jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java
jslack-api-client/src/test/java/test_locally/api/audit/ActionsTest.java
Java
<|file_sep|>original/roles/common/tasks/main.yml - name: configure rocket and turtle. give each sudo access user: name={{ item }} password="$5$rounds=110000$6SXmKAomBOb9INuY$H7SF/896d39R4xX4REGdq/yXUvfBhLkwxREtrQxg9aA" update_password=on_create groups=sudo with_items: [rocket, turtle] - nam...
- name: configure MOTD template: src=motd.j2 dest=/etc/motd - name: License switch cl_license: > src="http://{{ cl_license_server }}/{{ ansible_hostname }}.lic" notify: - restart switchd - name: configure ptmd topology.dot copy: src=topology.dot dest=/etc/ptm.d/topology.dot notify: - restart ptm...
<|file_sep|>original/roles/common/tasks/main.yml - name: configure rocket and turtle. give each sudo access user: name={{ item }} password="$5$rounds=110000$6SXmKAomBOb9INuY$H7SF/896d39R4xX4REGdq/yXUvfBhLkwxREtrQxg9aA" update_password=on_create groups=sudo with_items: [rocket, turtle] - nam...
5f5d955c75c62e5d1c609e465f612c816be4e123
roles/common/tasks/main.yml
roles/common/tasks/main.yml
YAML
<|file_sep|>original/source/path.6.sh # Go installation binaries. if [[ -n "$GOROOT" ]]; then PATH=$PATH:$GOROOT/bin fi # Homebrew binaries on OSX. if [[ -d "$HOME/.brew/bin" ]]; then PATH=$PATH:$HOME/.brew/bin fi # Locally installed binaries. PATH=$PATH:/usr/local/bin # System binaries. PATH=$PATH:/usr/bin:...
fi # Homebrew binaries on OSX. if [[ -d "$HOME/.brew/bin" ]]; then PATH=$PATH:$HOME/.brew/bin fi # Locally installed binaries. PATH=$PATH:/usr/local/bin # System binaries. PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin # Add the default system path back on at the end. PATH=$PATH:$SYSPATH # Remove any duplicate entri...
<|file_sep|>original/source/path.6.sh # Go installation binaries. if [[ -n "$GOROOT" ]]; then PATH=$PATH:$GOROOT/bin fi # Homebrew binaries on OSX. if [[ -d "$HOME/.brew/bin" ]]; then PATH=$PATH:$HOME/.brew/bin fi # Locally installed binaries. PATH=$PATH:/usr/local/bin # System binaries. PATH=$PATH:/usr/bin:...
0bd32c13b5dae67fa5ae972d7937a6952b68d656
source/path.6.sh
source/path.6.sh
Shell
<|file_sep|>original/pdf_ravager.gemspec require File.expand_path("../lib/pdf_ravager/version", __FILE__) Gem::Specification.new do |s| s.name = "pdf_ravager" s.version = PDFRavager::VERSION s.platform = 'java' s.authors = ['Abe Voelker'] s.email = 'abe@abevoelker.com' s.date ...
require File.expand_path("../lib/pdf_ravager/version", __FILE__) Gem::Specification.new do |s| s.name = "pdf_ravager" s.version = PDFRavager::VERSION s.platform = 'java' s.authors = ['Abe Voelker'] s.email = 'abe@abevoelker.com' s.date = '2012-10-17' s.homepage = 'https:...
<|file_sep|>original/pdf_ravager.gemspec require File.expand_path("../lib/pdf_ravager/version", __FILE__) Gem::Specification.new do |s| s.name = "pdf_ravager" s.version = PDFRavager::VERSION s.platform = 'java' s.authors = ['Abe Voelker'] s.email = 'abe@abevoelker.com' s.date ...
c3bca5ce8a5af012e95d4a22feb7efd087361159
pdf_ravager.gemspec
pdf_ravager.gemspec
Ruby
<|file_sep|>composer.json.diff original: "name": "Piotr Śliwa / AP Potter", updated: "name": "Piotr Śliwa", <|file_sep|>original/composer.json { "name": "appotter/phppdf", "description": "Pdf and graphic files generator library for PHP (Combined with Thai font named `THSarabun`)"...
{ "name": "appotter/phppdf", "description": "Pdf and graphic files generator library for PHP (Combined with Thai font named `THSarabun`)", "keywords": ["PDF", "PHPPdf", "Thai PHPPdf"], "type": "library", "license": "MIT", "authors": [ { "name": "Piotr Śliwa", ...
<|file_sep|>composer.json.diff original: "name": "Piotr Śliwa / AP Potter", updated: "name": "Piotr Śliwa", <|file_sep|>original/composer.json { "name": "appotter/phppdf", "description": "Pdf and graphic files generator library for PHP (Combined with Thai font named `THSarabun`)"...
2d954bf710684088fece1c96bbda87902d0bdd9f
composer.json
composer.json
JSON
<|file_sep|>routes/search.js.diff original: var pmongo = require('promised-mongo'); updated: var mongo = require("mongodb").MongoClient; <|file_sep|>routes/search.js.diff original: var coll = pmongo(config.get('connexionURI')).collection(config.get('collectionName')); updated: console.info("collection : " , con...
var xmlid = req.params.xmlid ? ("\"#entry-" + req.params.xmlid + "\"") : null; console.info("Recherche sur l'id : " , xmlid , " , patientez ..."); mongo.connect(config.get('connexionURI'), function(err, db) { //console.log("Connected correctly to server"); db.collection(config.get...
<|file_sep|>routes/search.js.diff original: var pmongo = require('promised-mongo'); updated: var mongo = require("mongodb").MongoClient; <|file_sep|>routes/search.js.diff original: var coll = pmongo(config.get('connexionURI')).collection(config.get('collectionName')); updated: console.info("collection : " , con...
3a4b93745233a8f0cc33b74ecd8509071a82aa5f
routes/search.js
routes/search.js
JavaScript
<|file_sep|>original/app/controllers/api/v1/locations_controller.rb page(params[:page]).per(params[:per_page]). order('created_at DESC') render json: locations, each_serializer: LocationsSerializer, status: 200 generate_pagination_headers(location...
page(params[:page]).per(params[:per_page]). order('created_at DESC') render json: locations, each_serializer: LocationsSerializer, status: 200 generate_pagination_headers(locations) end def show location = Location.includes( ...
<|file_sep|>original/app/controllers/api/v1/locations_controller.rb page(params[:page]).per(params[:per_page]). order('created_at DESC') render json: locations, each_serializer: LocationsSerializer, status: 200 generate_pagination_headers(location...
376781e39b594445276a8da016155630c51e8ccc
app/controllers/api/v1/locations_controller.rb
app/controllers/api/v1/locations_controller.rb
Ruby
<|file_sep|>app/assets/stylesheets/english_tea/forms/_range.scss.diff original: height: _rem($base-rhythm); updated: height: _rem($base-rhythm / 2); <|file_sep|>app/assets/stylesheets/english_tea/forms/_range.scss.diff original: width: _rem($base-rhythm * 2); height: _rem($base-rhythm * 2); updated: width:...
border-radius: _rem($base-rhythm); box-shadow: none; cursor: pointer; outline: none; top: -5px; &:before { display: none } &:after { display: none } } } html:not([dir="rtl"]) .noUi-horizontal .noUi-handle { right: -10px; }
<|file_sep|>app/assets/stylesheets/english_tea/forms/_range.scss.diff original: height: _rem($base-rhythm); updated: height: _rem($base-rhythm / 2); <|file_sep|>app/assets/stylesheets/english_tea/forms/_range.scss.diff original: width: _rem($base-rhythm * 2); height: _rem($base-rhythm * 2); updated: width:...
b6c410be9845c9d6a8eff123b01126bb9e8e65b6
app/assets/stylesheets/english_tea/forms/_range.scss
app/assets/stylesheets/english_tea/forms/_range.scss
SCSS
<|file_sep|>original/alura/c/forca.c int main() { char palavrasecreta[20]; sprintf(palavrasecreta, "MELANCIA"); printf("%s\n", palavrasecreta); /* palavrasecreta[0] = 'M'; palavrasecreta[1] = 'E'; palavrasecreta[2] = 'L'; palavrasecreta[3] = 'A'; palavrasecreta[4] = 'N'; palavrasecreta[5] = 'C';...
int main() { char palavrasecreta[20]; sprintf(palavrasecreta, "MELANCIA"); printf("%s\n", palavrasecreta); /* palavrasecreta[0] = 'M'; palavrasecreta[1] = 'E'; palavrasecreta[2] = 'L'; palavrasecreta[3] = 'A'; palavrasecreta[4] = 'N'; palavrasecreta[5] = 'C'; palavrasecreta[6] = 'I'; palavras...
<|file_sep|>original/alura/c/forca.c int main() { char palavrasecreta[20]; sprintf(palavrasecreta, "MELANCIA"); printf("%s\n", palavrasecreta); /* palavrasecreta[0] = 'M'; palavrasecreta[1] = 'E'; palavrasecreta[2] = 'L'; palavrasecreta[3] = 'A'; palavrasecreta[4] = 'N'; palavrasecreta[5] = 'C';...
9f59142ee7ca004fb39be638463ad0ef0ba3a713
alura/c/forca.c
alura/c/forca.c
C
<|file_sep|>original/examples/config.json { "oneviewAddress": "15.114.114.156", "credential": { "userName": "administrator", "password": "hpvse123", "authLoginDomain": "local" }, "enclosures": [], "storageSystemDomain": "ScaleTestingDomain", "storage-systems": [ "172.18.11.17" ], "server...
{ "oneviewAddress": "15.114.114.156", "credential": { "userName": "administrator", "password": "hpvse123", "authLoginDomain": "local" }, "enclosures": [], "storageSystemDomain": "ScaleTestingDomain", "storage-systems": [ "172.18.11.12", "172.18.11.16", "172.18.11.18", "172.18.11....
<|file_sep|>original/examples/config.json { "oneviewAddress": "15.114.114.156", "credential": { "userName": "administrator", "password": "hpvse123", "authLoginDomain": "local" }, "enclosures": [], "storageSystemDomain": "ScaleTestingDomain", "storage-systems": [ "172.18.11.17" ], "server...
c3ddcc1c374a76e642af15044628da7c593ad31b
examples/config.json
examples/config.json
JSON
<|file_sep|>original/setup.cfg [metadata] name = os-client-config summary = OpenStack Client Configuation Library description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org home-page = http://www.openstack.org/ classifier = Environment :: OpenStack Intended Audience ::...
[metadata] name = os-client-config summary = OpenStack Client Configuation Library description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org home-page = http://docs.openstack.org/developer/os-client-config/ classifier = Environment :: OpenStack Intended Audience :: In...
<|file_sep|>original/setup.cfg [metadata] name = os-client-config summary = OpenStack Client Configuation Library description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org home-page = http://www.openstack.org/ classifier = Environment :: OpenStack Intended Audience ::...
2d78f1ae940d4b2810437ea3c73379413c3ef6ef
setup.cfg
setup.cfg
INI
<|file_sep|>composer.json.diff original: "php": ">=5.3.3" updated: "php": ">=5.5.9" <|file_sep|>original/composer.json }, { "name": "Symfony Community", "homepage": "http://symfony.com/contributors" } ], "require": { "php": ">=5.3.3" },...
}, { "name": "Symfony Community", "homepage": "http://symfony.com/contributors" } ], "require": { "php": ">=5.5.9" }, "require-dev": { "symfony/yaml": "~2.7|~3.0", "symfony/config": "~2.7|~3.0", "doctrine/annotations": "~1.0...
<|file_sep|>composer.json.diff original: "php": ">=5.3.3" updated: "php": ">=5.5.9" <|file_sep|>original/composer.json }, { "name": "Symfony Community", "homepage": "http://symfony.com/contributors" } ], "require": { "php": ">=5.3.3" },...
5b99dcfc1884ee3db5f54a3428e0c41b373e81be
composer.json
composer.json
JSON
<|file_sep|>app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt.diff original: import org.andstatus.app.graphics.MediaMetadata updated: import org.andstatus.app.util.MyLog <|file_sep|>original/app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt import org.andstatus.app.grap...
import org.junit.Before import org.junit.Test class MediaMetadataTest { @Before fun setUp() { TestSuite.initialize(this) } @Test fun testFromFilePath() { val path = DemoData.demoData.localVideoTestUri.toString() MediaMetadata.Companion.fromFilePath(path).let { A...
<|file_sep|>app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt.diff original: import org.andstatus.app.graphics.MediaMetadata updated: import org.andstatus.app.util.MyLog <|file_sep|>original/app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt import org.andstatus.app.grap...
8561ec3223f91aaad4f46f02a2b25812d4063ec2
app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt
app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt
Kotlin
<|file_sep|>original/app/models/unit_activity_set.rb class UnitActivitySet < ActiveRecord::Base belongs_to :unit validates :type, presence: true validates :unit_id, presence: true end <|file_sep|>current/app/models/unit_activity_set.rb class UnitActivitySet < ActiveRecord::Base belongs_to :unit validates :t...
class UnitActivitySet < ActiveRecord::Base belongs_to :unit validates :activity_type, presence: true validates :unit_id, presence: true end
<|file_sep|>original/app/models/unit_activity_set.rb class UnitActivitySet < ActiveRecord::Base belongs_to :unit validates :type, presence: true validates :unit_id, presence: true end <|file_sep|>current/app/models/unit_activity_set.rb class UnitActivitySet < ActiveRecord::Base belongs_to :unit validates :t...
8b5536dc5a754146c26a1b2ed9c9f940e5c59245
app/models/unit_activity_set.rb
app/models/unit_activity_set.rb
Ruby
<|file_sep|>src/index.js.diff original: if (typeof window === "undefined") { throw new Error("Can only install immutable-devtools in a browser environment."); } updated: const gw = typeof window === "undefined" ? global : window; <|file_sep|>src/index.js.diff original: window.devtoolsFormatters = window.dev...
const { RecordFormatter, OrderedMapFormatter, OrderedSetFormatter, ListFormatter, MapFormatter, SetFormatter, StackFormatter } = createFormatters(Immutable); gw.devtoolsFormatters.push( RecordFormatter, OrderedMapFormatter, OrderedSetFormatter, ListFormatter, MapFo...
<|file_sep|>src/index.js.diff original: if (typeof window === "undefined") { throw new Error("Can only install immutable-devtools in a browser environment."); } updated: const gw = typeof window === "undefined" ? global : window; <|file_sep|>src/index.js.diff original: window.devtoolsFormatters = window.dev...
79ff48d6a9ea971e23087791dba13c8faf4086a4
src/index.js
src/index.js
JavaScript
<|file_sep|>original/webpack.config.js entry: [ 'webpack-dev-server/client?http://localhost:8080', 'webpack/hot/only-dev-server', './app/index.js' ], output: { path: path.resolve(__dirname, 'dist'), publicPath: '/', filename: 'index_bundle.js' }, module: { rules: [ {test: ...
entry: [ 'webpack-dev-server/client?http://localhost:8080', 'webpack/hot/only-dev-server', './app/index.js' ], output: { path: path.resolve(__dirname, 'dist'), publicPath: '/', filename: '[name].bundle.js' }, module: { rules: [ {test: /\.(js|jsx)$/, exclude: /node_modules/...
<|file_sep|>original/webpack.config.js entry: [ 'webpack-dev-server/client?http://localhost:8080', 'webpack/hot/only-dev-server', './app/index.js' ], output: { path: path.resolve(__dirname, 'dist'), publicPath: '/', filename: 'index_bundle.js' }, module: { rules: [ {test: ...
33edb26521cbc28175fd8d434c41ca6d22e92758
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>test/DarwinAITest.cpp.diff original: updated: private: friend cereal::access; template < class Archive > void serialize( Archive & ar ) { ar( cereal::virtual_base_class< GeneralAI >( this ) ); } <|file_sep|>original/test/DarwinAITest.cpp } ...
{ TEST( smokeTest ) { std::unique_ptr< DarwinAI > ai( new MyDarwinAI() ); auto output = ai->output(); CHECK_EQUAL( 1, output.size() ); ai->learn( 1 ); } TEST( saveAndLoad ) { const std::string saveFileName = "MyDarwinAI.save"; MyDarwinAI originalAI...
<|file_sep|>test/DarwinAITest.cpp.diff original: updated: private: friend cereal::access; template < class Archive > void serialize( Archive & ar ) { ar( cereal::virtual_base_class< GeneralAI >( this ) ); } <|file_sep|>original/test/DarwinAITest.cpp } ...
40a00812e06ae0658b591795e2880faf57f8f7f0
test/DarwinAITest.cpp
test/DarwinAITest.cpp
C++
<|file_sep|>trash.pod.diff original: =item B<-u> updated: <|file_sep|>original/trash.pod =head1 DESCRIPTION B<trash> moves the specified files and/or folders to the system trash. The options are as follows: =over 12 =item B<-u> Check for updates online (and optionally auto-update self). This feature is interacti...
=head1 DESCRIPTION B<trash> moves the specified files and/or folders to the system trash. The options are as follows: =over 12 =item B<-v> Be verbose when moving items to the trash, showing them as they are moved. =item B<-l> List items currently in the trash. If this argument is used, no files need to be spe...
<|file_sep|>trash.pod.diff original: =item B<-u> updated: <|file_sep|>original/trash.pod =head1 DESCRIPTION B<trash> moves the specified files and/or folders to the system trash. The options are as follows: =over 12 =item B<-u> Check for updates online (and optionally auto-update self). This feature is interacti...
bcaacf6ee1572fe0ea43d8b54dc8f6fd200db23b
trash.pod
trash.pod
Pod
<|file_sep|>original/doc/image-guide-rst/source/convert-images.rst ================================ Converting between image formats ================================ <|file_sep|>current/doc/image-guide-rst/source/convert-images.rst ================================ Converting between image formats ======================...
================================ Converting between image formats ================================ Converting images from one format to another is generally straightforward. qemu-img convert: raw, qcow2, qed, vdi, vmdk, vhd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The :command:`qemu-img convert` command can...
<|file_sep|>original/doc/image-guide-rst/source/convert-images.rst ================================ Converting between image formats ================================ <|file_sep|>current/doc/image-guide-rst/source/convert-images.rst ================================ Converting between image formats ======================...
5115c1365b54da15f733a184a618287ef0a9dcff
doc/image-guide-rst/source/convert-images.rst
doc/image-guide-rst/source/convert-images.rst
reStructuredText
<|file_sep|>.travis.yml.diff original: script: bundle exec rake -s test updated: script: bundle exec rake -s test:${CI_PLATFORM} <|file_sep|>original/.travis.yml language: objective-c branches: only: - master before_install: - brew update - brew uninstall xctool - brew install xctool - bundl...
language: objective-c branches: only: - master before_install: - brew update - brew uninstall xctool - brew install xctool - bundle install --path .bundle before_script: - bundle exec rake -s analyze script: bundle exec rake -s test:${CI_PLATFORM} after_success: - bundle exec rake -s...
<|file_sep|>.travis.yml.diff original: script: bundle exec rake -s test updated: script: bundle exec rake -s test:${CI_PLATFORM} <|file_sep|>original/.travis.yml language: objective-c branches: only: - master before_install: - brew update - brew uninstall xctool - brew install xctool - bundl...
9341522292c97d4f696e8b5f05e949cb398088db
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/manageiq/providers/ovirt/legacy/event_monitor.rb class EventMonitor def initialize(options = {}) @ems = options[:ems] end def event_fetcher @event_fetcher ||= @ems.ovirt_services.event_fetcher end def start ...
class EventMonitor def initialize(options = {}) @ems = options[:ems] end def event_fetcher @event_fetcher ||= @ems.ovirt_services.event_fetcher end def start @since = nil @event_fetcher = nil ...
<|file_sep|>original/lib/manageiq/providers/ovirt/legacy/event_monitor.rb class EventMonitor def initialize(options = {}) @ems = options[:ems] end def event_fetcher @event_fetcher ||= @ems.ovirt_services.event_fetcher end def start ...
83329e87e356840e34be1e9b20846f8e4b91d93e
lib/manageiq/providers/ovirt/legacy/event_monitor.rb
lib/manageiq/providers/ovirt/legacy/event_monitor.rb
Ruby
<|file_sep|>packages/op/optparse-generic.yaml.diff original: hash: 006324b696865e8600ea824deadd3d39b072901a6ec34656c6304229eca08aa5 updated: hash: 16572115c68aeb2cfe20e6337cf16ace534759ca460123b1c63dac526f9df1f6 <|file_sep|>packages/op/optparse-generic.yaml.diff original: updated: semigroups: ! '>=0.5.0 && <0.19' <|...
transformers: ! '>=0.2.0.0 && <0.6' optparse-applicative: ! '>=0.11.0 && <0.14' system-filepath: ! '>=0.3.1 && <0.5' all-versions: - '1.0.1' - '1.1.0' - '1.1.1' - '1.1.3' - '1.1.4' author: Gabriel Gonzalez latest: '1.1.4' description-type: haddock description: ! 'This library auto-generates an @optparse-applicati...
<|file_sep|>packages/op/optparse-generic.yaml.diff original: hash: 006324b696865e8600ea824deadd3d39b072901a6ec34656c6304229eca08aa5 updated: hash: 16572115c68aeb2cfe20e6337cf16ace534759ca460123b1c63dac526f9df1f6 <|file_sep|>packages/op/optparse-generic.yaml.diff original: updated: semigroups: ! '>=0.5.0 && <0.19' <|...
251324f59ea3e9692f8957e79b98e2241d888e96
packages/op/optparse-generic.yaml
packages/op/optparse-generic.yaml
YAML