prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/app/models/post.rb class Post < ActiveRecord::Base belongs_to :category end <|file_sep|>current/app/models/post.rb class Post < ActiveRecord::Base belongs_to :category end <|file_sep|>updated/app/models/post.rb
class Post < ActiveRecord::Base belongs_to :category def self.search(search) where("name LIKE ?", "%#{search}%") where("content LIKE ?", "%#{search}%") end end
<|file_sep|>original/app/models/post.rb class Post < ActiveRecord::Base belongs_to :category end <|file_sep|>current/app/models/post.rb class Post < ActiveRecord::Base belongs_to :category end <|file_sep|>updated/app/models/post.rb class Post < ActiveRecord::Base belongs_to :category def self.search(search) ...
c69b0d549cdbcf704af0d23ce56ce7dc5c7117fe
app/models/post.rb
app/models/post.rb
Ruby
<|file_sep|>original/toon/input/keyboard2.py <|file_sep|>current/toon/input/keyboard2.py <|file_sep|>updated/toon/input/keyboard2.py
import numpy as np from toon.input.base_input import BaseInput, DummyTime class Keyboard(BaseInput): def __init__(self, clock_source=DummyTime, keys=None, multiprocess=False, nrow=10): if keys is None: raise ValueError('`keys` ...
<|file_sep|>original/toon/input/keyboard2.py <|file_sep|>current/toon/input/keyboard2.py <|file_sep|>updated/toon/input/keyboard2.py import numpy as np from toon.input.base_input import BaseInput, DummyTime class Keyboard(BaseInput): def __init__(self, clock_source=DummyTime, ke...
368360640aa31f93cf92290baf313ede0b212584
toon/input/keyboard2.py
toon/input/keyboard2.py
Python
<|file_sep|>original/tox.ini [tox] envlist=py36-dev,py35,py34,py33,py32,py31,py27,py26 [testenv] commands= nosetests --exe --with-doctest --with-xunit --xunit-file={envdir}/nosetests-{envname}.xml --doctest-extension=.rst README.rst src [] deps= nose <|file_sep|>current/tox.ini [tox] envlist=py36-dev,py35,py34,py3...
[tox] envlist=py36-dev,py35,py34,py33,py32,py31,py27 [testenv] commands= nosetests --exe --with-doctest --with-xunit --xunit-file={envdir}/nosetests-{envname}.xml --doctest-extension=.rst README.rst src [] deps= nose
<|file_sep|>original/tox.ini [tox] envlist=py36-dev,py35,py34,py33,py32,py31,py27,py26 [testenv] commands= nosetests --exe --with-doctest --with-xunit --xunit-file={envdir}/nosetests-{envname}.xml --doctest-extension=.rst README.rst src [] deps= nose <|file_sep|>current/tox.ini [tox] envlist=py36-dev,py35,py34,py3...
71404dd0d4891300b3a9faa3fa349716374f3eeb
tox.ini
tox.ini
INI
<|file_sep|>original/package.json "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.2.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt-contrib-internal": "~0.4.2", "grunt-contrib-copy": "~0.4.1", "grunt-contrib-clean": "~0.4.0", ...
"node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.2.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt-contrib-internal": "~0.4.2", "grunt-contrib-copy": "~0.4.1", "grunt-contrib-clean": "~0.4.0", "grunt": "~0.4.0", "underscore"...
<|file_sep|>original/package.json "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "devDependencies": { "grunt-contrib-jshint": "~0.2.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt-contrib-internal": "~0.4.2", "grunt-contrib-copy": "~0.4.1", "grunt-contrib-clean": "~0.4.0", ...
e57e4cb8f6630f96671059bbb4a4f0c3b7ee2375
package.json
package.json
JSON
<|file_sep|>original/emacs/emacs.d.symlink/osx.el ;; Menu bar is not annoying in OSX (menu-bar-mode 1) ;; Make the browser the OS X default (setq browse-url-browser-function 'browse-url-default-macosx-browser) ;; In dired, move deletions to trash (setq delete-by-moving-to-trash t) ;; Set font (set-frame-font "-apple...
;; Menu bar is not annoying in OSX (menu-bar-mode 1) ;; Make the browser the OS X default (setq browse-url-browser-function 'browse-url-default-macosx-browser) ;; In dired, move deletions to trash (setq delete-by-moving-to-trash t) ;; Set font (set-frame-font "-apple-Source_Code_Pro_for_Powerline-medium-normal-norma...
<|file_sep|>original/emacs/emacs.d.symlink/osx.el ;; Menu bar is not annoying in OSX (menu-bar-mode 1) ;; Make the browser the OS X default (setq browse-url-browser-function 'browse-url-default-macosx-browser) ;; In dired, move deletions to trash (setq delete-by-moving-to-trash t) ;; Set font (set-frame-font "-apple...
6d5f34756031d2aedd9abd8985b8ab20810966f7
emacs/emacs.d.symlink/osx.el
emacs/emacs.d.symlink/osx.el
Emacs Lisp
<|file_sep|>original/SurgSim/Graphics/UnitTests/CMakeLists.txt ) set(UNIT_TEST_SOURCES ActorTests.cpp CameraTests.cpp GroupTests.cpp ManagerTests.cpp ViewElementTests.cpp ViewTests.cpp ) set(UNIT_TEST_HEADERS MockObjects.h ) include_directories( ) set(LIBS SurgSimFramework SurgSimGraphics gtest ${Boost_LIBRA...
ActorTests.cpp CameraTests.cpp GroupTests.cpp ManagerTests.cpp ViewElementTests.cpp ViewTests.cpp ) set(UNIT_TEST_HEADERS MockObjects.h ) include_directories( ) set(LIBS SurgSimFramework SurgSimGraphics gtest ${Boost_LIBRARIES}) if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") set(LIBS ${LIBS} rt) endif(${CMAKE_SYS...
<|file_sep|>original/SurgSim/Graphics/UnitTests/CMakeLists.txt ) set(UNIT_TEST_SOURCES ActorTests.cpp CameraTests.cpp GroupTests.cpp ManagerTests.cpp ViewElementTests.cpp ViewTests.cpp ) set(UNIT_TEST_HEADERS MockObjects.h ) include_directories( ) set(LIBS SurgSimFramework SurgSimGraphics gtest ${Boost_LIBRA...
1e78c7a5c3a74f152fcb1c01fad0b180014a0a90
SurgSim/Graphics/UnitTests/CMakeLists.txt
SurgSim/Graphics/UnitTests/CMakeLists.txt
Text
<|file_sep|>original/library/core/src/test/java/com/google/android/exoplayer2/upstream/AssetDataSourceContractTest.java <|file_sep|>current/library/core/src/test/java/com/google/android/exoplayer2/upstream/AssetDataSourceContractTest.java <|file_sep|>updated/library/core/src/test/java/com/google/android/exoplayer2/up...
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
<|file_sep|>original/library/core/src/test/java/com/google/android/exoplayer2/upstream/AssetDataSourceContractTest.java <|file_sep|>current/library/core/src/test/java/com/google/android/exoplayer2/upstream/AssetDataSourceContractTest.java <|file_sep|>updated/library/core/src/test/java/com/google/android/exoplayer2/up...
0b2bc60b1a3ac903cbc7bcfcc9a75d22b04c57b9
library/core/src/test/java/com/google/android/exoplayer2/upstream/AssetDataSourceContractTest.java
library/core/src/test/java/com/google/android/exoplayer2/upstream/AssetDataSourceContractTest.java
Java
<|file_sep|>original/package.json "connect", "noopen", "x-download-options" ], "repository": { "type": "git", "url": "git://github.com/helmetjs/ienoopen.git" }, "bugs": "https://github.com/helmetjs/ienoopen/issues", "scripts": { "test": "standard && mocha" }, "devDependencies": { ...
"connect", "noopen", "x-download-options" ], "repository": { "type": "git", "url": "git://github.com/helmetjs/ienoopen.git" }, "bugs": "https://github.com/helmetjs/ienoopen/issues", "scripts": { "pretest": "standard --fix", "test": "mocha" }, "devDependencies": { "connect":...
<|file_sep|>original/package.json "connect", "noopen", "x-download-options" ], "repository": { "type": "git", "url": "git://github.com/helmetjs/ienoopen.git" }, "bugs": "https://github.com/helmetjs/ienoopen/issues", "scripts": { "test": "standard && mocha" }, "devDependencies": { ...
fabd282aed9c86ca04a620f2d7db7883d2bdcd24
package.json
package.json
JSON
<|file_sep|>original/tools/clear_zk.py <|file_sep|>current/tools/clear_zk.py <|file_sep|>updated/tools/clear_zk.py
#!/usr/bin/env python import contextlib import os import re import sys top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) sys.path.insert(0, top_dir) from taskflow.utils import kazoo_utils @contextlib.contextmanager def finalize_client(client): ...
<|file_sep|>original/tools/clear_zk.py <|file_sep|>current/tools/clear_zk.py <|file_sep|>updated/tools/clear_zk.py #!/usr/bin/env python import contextlib import os import re import sys top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) sys.path.inse...
cb87c6e2c58593d5ef5710c4d7db0c18831e354c
tools/clear_zk.py
tools/clear_zk.py
Python
<|file_sep|>original/Cargo.toml repository = "https://github.com/lettre/lettre" homepage = "http://lettre.github.io/" license = "MIT" authors = ["Alexis Mousset <contact@amousset.me>"] keywords = ["email", "smtp", "mailer"] [dependencies] bufstream = "0.1" email = "0.0" log = "0.3" openssl = "0.7" rustc-serialize = "0...
repository = "https://github.com/lettre/lettre" homepage = "http://lettre.github.io/" license = "MIT" authors = ["Alexis Mousset <contact@amousset.me>"] keywords = ["email", "smtp", "mailer"] [dependencies] bufstream = "0.1" email = "0.0" log = "0.3" openssl = "0.7" rustc-serialize = "0.3" rust-crypto = "0.2" time = "...
<|file_sep|>original/Cargo.toml repository = "https://github.com/lettre/lettre" homepage = "http://lettre.github.io/" license = "MIT" authors = ["Alexis Mousset <contact@amousset.me>"] keywords = ["email", "smtp", "mailer"] [dependencies] bufstream = "0.1" email = "0.0" log = "0.3" openssl = "0.7" rustc-serialize = "0...
6bd2b364ec6cdedf9d8f2f7b399676e1f7ba7305
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/database/migrations/2018_09_30_161300_add_payment_method_permission.php <|file_sep|>current/database/migrations/2018_09_30_161300_add_payment_method_permission.php <|file_sep|>updated/database/migrations/2018_09_30_161300_add_payment_method_permission.php
<?php use Spatie\Permission\Models\Role; use Spatie\Permission\Models\Permission; use Illuminate\Database\Migrations\Migration; class AddPaymentMethodPermission extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Reset cached roles and pe...
<|file_sep|>original/database/migrations/2018_09_30_161300_add_payment_method_permission.php <|file_sep|>current/database/migrations/2018_09_30_161300_add_payment_method_permission.php <|file_sep|>updated/database/migrations/2018_09_30_161300_add_payment_method_permission.php <?php use Spatie\Permission\Models\Role;...
b1b3e52a4a0125ffd9c75852e0c04a442706b9f6
database/migrations/2018_09_30_161300_add_payment_method_permission.php
database/migrations/2018_09_30_161300_add_payment_method_permission.php
PHP
<|file_sep|>original/orka_tools/alire.toml name = "orka_tools" description = "Tools for the Orka rendering kernel" version = "0.2.0" website = "https://github.com/onox/orka" licenses = "Apache-2.0" tags = ["gltf", "ktx", "opengl", "orka"] authors = ["onox"] maintainers = ["onox <denkpadje@gmail.com>"] maintainers-logi...
name = "orka_tools" description = "Tools for the Orka rendering kernel" version = "0.2.0" website = "https://github.com/onox/orka" licenses = "Apache-2.0" tags = ["gltf", "ktx", "opengl", "orka"] authors = ["onox"] maintainers = ["onox <denkpadje@gmail.com>"] maintainers-logins = ["onox"] executables = ["orka_info", ...
<|file_sep|>original/orka_tools/alire.toml name = "orka_tools" description = "Tools for the Orka rendering kernel" version = "0.2.0" website = "https://github.com/onox/orka" licenses = "Apache-2.0" tags = ["gltf", "ktx", "opengl", "orka"] authors = ["onox"] maintainers = ["onox <denkpadje@gmail.com>"] maintainers-logi...
3e77c983af7ef8ef76ed5985dbaec832a5be9701
orka_tools/alire.toml
orka_tools/alire.toml
TOML
<|file_sep|>examples/dart/console_example/main.dart.diff original: updated: import 'dart:async'; <|file_sep|>examples/dart/console_example/main.dart.diff original: updated: run(); } <|file_sep|>original/examples/dart/console_example/main.dart ConsoleApplication.fromHandle(MojoHandle handle) : super.fromHandl...
ConsoleApplication.fromHandle(MojoHandle handle) : super.fromHandle(handle); void initialize(List<String> args) { _proxy = new ConsoleProxy.unbound(); connectToService("mojo:console", _proxy); run(); } run() async { var result = await _proxy.readLine(); await _proxy.printLines([result.line...
<|file_sep|>examples/dart/console_example/main.dart.diff original: updated: import 'dart:async'; <|file_sep|>examples/dart/console_example/main.dart.diff original: updated: run(); } <|file_sep|>original/examples/dart/console_example/main.dart ConsoleApplication.fromHandle(MojoHandle handle) : super.fromHandl...
95d79c48c14a70362e9370be4021f28a84ddc008
examples/dart/console_example/main.dart
examples/dart/console_example/main.dart
Dart
<|file_sep|>original/tools/generator/raw-data-extractor/extract-nrf.py <|file_sep|>current/tools/generator/raw-data-extractor/extract-nrf.py <|file_sep|>updated/tools/generator/raw-data-extractor/extract-nrf.py
from pathlib import Path import urllib.request import zipfile import shutil import io import os packurl = "https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF-MDK/sw/8-33-0/nRF_MDK_8_33_0_GCC_BSDLicense.zip" shutil.rmtree("../raw-device-data/nrf-devices", ignore_errors=True) Path("../...
<|file_sep|>original/tools/generator/raw-data-extractor/extract-nrf.py <|file_sep|>current/tools/generator/raw-data-extractor/extract-nrf.py <|file_sep|>updated/tools/generator/raw-data-extractor/extract-nrf.py from pathlib import Path import urllib.request import zipfile import shutil import io import os packurl = ...
25fff03be8cfef6534b4876e81f7c9fd036d2248
tools/generator/raw-data-extractor/extract-nrf.py
tools/generator/raw-data-extractor/extract-nrf.py
Python
<|file_sep|>original/src/quick/scenegraph/shaders/visualization.vert attribute highp vec4 v; uniform highp mat4 matrix; uniform highp mat4 rotation; // w -> apply 3d rotation and projection uniform lowp vec4 tweak; varying mediump vec2 pos; void main() { vec4 p = matrix * v; if (tweak.w > 0.0) { vec...
attribute highp vec4 v; uniform highp mat4 matrix; uniform highp mat4 rotation; // w -> apply 3d rotation and projection uniform mediump vec4 tweak; varying mediump vec2 pos; void main() { vec4 p = matrix * v; if (tweak.w > 0.0) { vec4 proj = rotation * p; gl_Position = vec4(proj.x, proj.y, ...
<|file_sep|>original/src/quick/scenegraph/shaders/visualization.vert attribute highp vec4 v; uniform highp mat4 matrix; uniform highp mat4 rotation; // w -> apply 3d rotation and projection uniform lowp vec4 tweak; varying mediump vec2 pos; void main() { vec4 p = matrix * v; if (tweak.w > 0.0) { vec...
361d6384bbfb1f74d846f0c2b5cd38a1cd7774c9
src/quick/scenegraph/shaders/visualization.vert
src/quick/scenegraph/shaders/visualization.vert
GLSL
<|file_sep|>active_git.gemspec.diff original: s.add_development_dependency 'sqlite3' updated: <|file_sep|>original/active_git.gemspec s.authors = ["Gabriel Naiman"] s.email = ["gabynaiman@gmail.com"] s.description = 'DB and GIT synchronization via ActiveRecord and GitWrapper' s.summary ...
s.files = `git ls-files`.split($\) s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) } s.test_files = s.files.grep(%r{^(test|spec|features)/}) s.require_paths = ["lib"] s.add_dependency 'activerecord', '>= 3.0.0' s.add_dependency 'git_wrapper', '~> 1.1' s.add_dependency 'act...
<|file_sep|>active_git.gemspec.diff original: s.add_development_dependency 'sqlite3' updated: <|file_sep|>original/active_git.gemspec s.authors = ["Gabriel Naiman"] s.email = ["gabynaiman@gmail.com"] s.description = 'DB and GIT synchronization via ActiveRecord and GitWrapper' s.summary ...
44e194529c1113d76963a70e47ff53e77e12f1c9
active_git.gemspec
active_git.gemspec
Ruby
<|file_sep|>original/fluent_comments/templates/comments/comment_notification_email.txt {% autoescape off %}{% comment %} {% endcomment %}A new comment has been posted on your site "{{ site }}, to the page entitled "{{ content_object }}". Link to the page: {{ request.scheme }}://{{ site.domain }}{{ content_object.get_ab...
{% autoescape off %}{% comment %} {% endcomment %}A new comment has been posted on your site "{{ site }}, to the page entitled "{{ content_object }}". Link to the page: {{ request.scheme }}://{{ site.domain }}{{ content_object.get_absolute_url }} {% if comment.title %}Title: {{ comment.title }} {% endif %}Name: {{ com...
<|file_sep|>original/fluent_comments/templates/comments/comment_notification_email.txt {% autoescape off %}{% comment %} {% endcomment %}A new comment has been posted on your site "{{ site }}, to the page entitled "{{ content_object }}". Link to the page: {{ request.scheme }}://{{ site.domain }}{{ content_object.get_ab...
76232a19af525e3ab34074d7105fc1aae1787080
fluent_comments/templates/comments/comment_notification_email.txt
fluent_comments/templates/comments/comment_notification_email.txt
Text
<|file_sep|>pkgs/os-specific/linux/syslinux/default.nix.diff original: name = "syslinux-4.02"; updated: name = "syslinux-4.03"; <|file_sep|>pkgs/os-specific/linux/syslinux/default.nix.diff original: sha256 = "0zrk6magnrfa7nmdk2rll7xaym9rapwqqgy0wdh3cfscjmcw9kwm"; updated: sha256 = "0f6s1cnibw6j0jh9bn5qsx3vs...
{ stdenv, fetchurl, nasm, perl }: stdenv.mkDerivation rec { name = "syslinux-4.03"; src = fetchurl { url = "mirror://kernel/linux/utils/boot/syslinux/4.xx/${name}.tar.bz2"; sha256 = "0f6s1cnibw6j0jh9bn5qsx3vsar9l1w9b3xfjkvzglgr4kinfmf6"; }; patches = [ ./perl-deps.patch ]; buildInputs = [ nasm...
<|file_sep|>pkgs/os-specific/linux/syslinux/default.nix.diff original: name = "syslinux-4.02"; updated: name = "syslinux-4.03"; <|file_sep|>pkgs/os-specific/linux/syslinux/default.nix.diff original: sha256 = "0zrk6magnrfa7nmdk2rll7xaym9rapwqqgy0wdh3cfscjmcw9kwm"; updated: sha256 = "0f6s1cnibw6j0jh9bn5qsx3vs...
ea8b116d6341d6c0258c01a27b0c2fa6adff4f3f
pkgs/os-specific/linux/syslinux/default.nix
pkgs/os-specific/linux/syslinux/default.nix
Nix
<|file_sep|>original/reference/implementing-a-concept-exercise.md # How to implement an Scheme concept exercise TODO: describe how to implement a concept exercise for the Scheme track. For inspiration, check out the [C# version of this file][csharp-implementing]. [csharp-implementing]: ../../csharp/reference/implemen...
# How to implement an Scheme concept exercise TODO: describe how to implement a concept exercise for the Scheme track. For inspiration, check out the [C# version of this file][csharp-implementing]. [csharp-implementing]: https://github.com/exercism/v3/blob/main/csharp/reference/implementing-a-concept-exercise.md
<|file_sep|>original/reference/implementing-a-concept-exercise.md # How to implement an Scheme concept exercise TODO: describe how to implement a concept exercise for the Scheme track. For inspiration, check out the [C# version of this file][csharp-implementing]. [csharp-implementing]: ../../csharp/reference/implemen...
91a898f8104fd8eb7503525bb336518130cde3f2
reference/implementing-a-concept-exercise.md
reference/implementing-a-concept-exercise.md
Markdown
<|file_sep|>original/views/grid-options-remoteScrollTime.js initialize: function () { var html = _.template(template, { page: page }); this.$el.append(html); }, render: function () { new DobyGrid({ columns: [{ id: "id", name: "ID", field: "id" }, { id: "name",...
initialize: function () { var html = _.template(template, { page: page }); this.$el.append(html); }, render: function () { this.grid = new DobyGrid({ columns: [{ id: "id", name: "ID", field: "id" }, { id: "name", name: "Name", field: "name" }, { ...
<|file_sep|>original/views/grid-options-remoteScrollTime.js initialize: function () { var html = _.template(template, { page: page }); this.$el.append(html); }, render: function () { new DobyGrid({ columns: [{ id: "id", name: "ID", field: "id" }, { id: "name",...
cccb0f3ad407b440637aa420d5a5a8c301c84075
views/grid-options-remoteScrollTime.js
views/grid-options-remoteScrollTime.js
JavaScript
<|file_sep|>original/lib/loady/memory_logger.rb module Loady class MemoryLogger attr_reader :messages def initialize @messages = [] end def info(message) @messages << message end alias warn info alias error info end end <|file_sep|>current/lib/loady/memory_logger.rb module...
module Loady class MemoryLogger attr_reader :messages def initialize(options = {}) @messages = [] end def info(message) @messages << message end alias warn info alias error info end end
<|file_sep|>original/lib/loady/memory_logger.rb module Loady class MemoryLogger attr_reader :messages def initialize @messages = [] end def info(message) @messages << message end alias warn info alias error info end end <|file_sep|>current/lib/loady/memory_logger.rb module...
3587e98a179d314c8aa54a762df394e34a5c2b93
lib/loady/memory_logger.rb
lib/loady/memory_logger.rb
Ruby
<|file_sep|>src/server/routes/pathways/index.js.diff original: const uuid = require('uuid'); updated: <|file_sep|>src/server/routes/pathways/index.js.diff original: const db = require('../../db'); let findPathwayByUri = uri => { return db.accessTable('pathways').then( res => { let { table, conn } = res; re...
const Promise = require('bluebird'); const logger = require('../../logger'); const { getPathwayJson } = require('./generate-pathway-json'); router.get('/', ( req, res ) => { let uri = req.query.uri; let find = () => getPathwayJson( uri ); let sendResponse = result => res.json(result); ( Promise.try(find) ...
<|file_sep|>src/server/routes/pathways/index.js.diff original: const uuid = require('uuid'); updated: <|file_sep|>src/server/routes/pathways/index.js.diff original: const db = require('../../db'); let findPathwayByUri = uri => { return db.accessTable('pathways').then( res => { let { table, conn } = res; re...
20f31e8ab519315224ee7418a5091538843c0a8d
src/server/routes/pathways/index.js
src/server/routes/pathways/index.js
JavaScript
<|file_sep|>original/packages/browser/examples/react/README.md # Usage with React To report errors from a React app, you'll need to set up and use an [`ErrorBoundary` component](https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html) and initialize a `Notifier` with your `projectId` and `projectKey`. ```...
# Usage with React To report errors from a React app, you'll need to set up and use an [`ErrorBoundary` component](https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html) and initialize a `Notifier` with your `projectId` and `projectKey`. ```js import React from 'react'; import { Notifier } from '@airbra...
<|file_sep|>original/packages/browser/examples/react/README.md # Usage with React To report errors from a React app, you'll need to set up and use an [`ErrorBoundary` component](https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html) and initialize a `Notifier` with your `projectId` and `projectKey`. ```...
f220bfbec5005c8d24922851d9e432037f772ade
packages/browser/examples/react/README.md
packages/browser/examples/react/README.md
Markdown
<|file_sep|>original/setup/fonts.txt Lato Montserrat Open Sans Oxygen Mono PT Sans PT Serif Raleway Roboto Roboto Slab Source Sans Pro Ubuntu Ubuntu Mono <|file_sep|>current/setup/fonts.txt Lato Montserrat Open Sans Oxygen Mono PT Sans PT Serif Raleway Roboto Roboto Slab Source Sans Pro Ubuntu Ubuntu Mono <|file_sep|>u...
Lato Montserrat Noto Sans JP Open Sans Oxygen Mono PT Sans PT Serif Raleway Roboto Roboto Slab Source Sans Pro Ubuntu Ubuntu Mono
<|file_sep|>original/setup/fonts.txt Lato Montserrat Open Sans Oxygen Mono PT Sans PT Serif Raleway Roboto Roboto Slab Source Sans Pro Ubuntu Ubuntu Mono <|file_sep|>current/setup/fonts.txt Lato Montserrat Open Sans Oxygen Mono PT Sans PT Serif Raleway Roboto Roboto Slab Source Sans Pro Ubuntu Ubuntu Mono <|file_sep|>u...
15fd750b231f4aa1c491db5dbf000e8de6988163
setup/fonts.txt
setup/fonts.txt
Text
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 tox==2.5.0 coverage==4.2 Sphinx==1.4.5 cryptography==1.6 PyYAML==3.11 requests-mock==1.0.0 setuptools==29.0.1 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 t...
bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 tox==2.5.0 coverage==4.2 Sphinx==1.4.5 cryptography==1.7.1 PyYAML==3.11 requests-mock==1.0.0 setuptools==29.0.1
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 tox==2.5.0 coverage==4.2 Sphinx==1.4.5 cryptography==1.6 PyYAML==3.11 requests-mock==1.0.0 setuptools==29.0.1 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 t...
23397cc2cd7eed19685e7a111514e87961c0cc8f
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>ansible/roles/deploy/tasks/main.yaml.diff original: updated: -x 'db.sqlite3' -x '*/.env.local' -x 'media/*' -x '*__pycache__*' <|file_sep|>original/ansible/roles/deploy/tasks/main.yaml - name: Create release archive local_action: > command chdir=../{{ django_project_...
- name: Create release archive local_action: > command chdir=../{{ django_project_name }} zip --filesync -R ../ansible/{{ django_project_name }}.zip '*' -x 'db.sqlite3' -x '*/.env.local' -x 'media/*' -x '*__pycache__*' -x '*.swp' become: False - name: Ensure /var...
<|file_sep|>ansible/roles/deploy/tasks/main.yaml.diff original: updated: -x 'db.sqlite3' -x '*/.env.local' -x 'media/*' -x '*__pycache__*' <|file_sep|>original/ansible/roles/deploy/tasks/main.yaml - name: Create release archive local_action: > command chdir=../{{ django_project_...
030ee054185a1341f1bb22cf4b9fd2ee33d4c4dc
ansible/roles/deploy/tasks/main.yaml
ansible/roles/deploy/tasks/main.yaml
YAML
<|file_sep|>original/README.md # Family Tree Tools A collection of web apps that leverage APIs to assist in doing genealogy work. === I am providing code in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not from my employ...
# Family Tree Tools A collection of web apps that leverage APIs to assist in doing genealogy work. ## Getting Started * Ensure that Python is installed * Clone this repo * From the commandline, go to the directory for this repo, and run: `python -m SimpleHTTPServer` ## Hello World (and FSBoilerplate) FSBoilerplate w...
<|file_sep|>original/README.md # Family Tree Tools A collection of web apps that leverage APIs to assist in doing genealogy work. === I am providing code in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not from my employ...
e16d675e872af0b9a5038ffa0bfa7f9d4c6d62c2
README.md
README.md
Markdown
<|file_sep|>src/makeandship/elasticsearch/transformer/search-transformer.php.diff original: updated: <|file_sep|>src/makeandship/elasticsearch/transformer/search-transformer.php.diff original: class SearchTransformer { public function transform($response) updated: class SearchTransformer { public function trans...
foreach ($agg['range']['buckets'] as $bucket) { $from = isset($bucket['from']) ? $bucket['from'] : ''; $to = isset($bucket['to']) && $bucket['to'] != '*' ? $bucket['to'] : ''; $val['facets'][$name][$from . '-' . $to] = $bucket['doc_count']; ...
<|file_sep|>src/makeandship/elasticsearch/transformer/search-transformer.php.diff original: updated: <|file_sep|>src/makeandship/elasticsearch/transformer/search-transformer.php.diff original: class SearchTransformer { public function transform($response) updated: class SearchTransformer { public function trans...
3dc10569b5f370a032d4017d0cd7f03f0bc28bcb
src/makeandship/elasticsearch/transformer/search-transformer.php
src/makeandship/elasticsearch/transformer/search-transformer.php
PHP
<|file_sep|>original/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==2.0.0 pytest==4.4.1 pytest-cov==2.6.1 <|file_sep|>current/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==2.0.0 pytest==4.4.1 pytest-cov==2.6.1 <|file_sep|>updated/requirements-dev.txt
codecov==2.0.15 flake8==3.7.7 mock==3.0.4 pytest==4.4.1 pytest-cov==2.6.1
<|file_sep|>original/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==2.0.0 pytest==4.4.1 pytest-cov==2.6.1 <|file_sep|>current/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==2.0.0 pytest==4.4.1 pytest-cov==2.6.1 <|file_sep|>updated/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==3.0.4 pytest...
37944f60530346ff450220cab90138e3c227d59e
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>src/events/mouse-dispatcher.js.diff original: return function(x, y) { var target = document.elementFromPoint(x, y) || document updated: return function(clientX, clientY, shiftKey, ctrlKey, altKey, metaKey) { var target = document.elementFromPoint(clientX, clientY) || document <|file_sep|>src/eve...
var slice = [].slice exports = function mouseDispatcher(name, fn) { return function(clientX, clientY, shiftKey, ctrlKey, altKey, metaKey) { var target = document.elementFromPoint(clientX, clientY) || document var event = new MouseEvent(name, { bubbles: true, clientX: clientX, clientY: clien...
<|file_sep|>src/events/mouse-dispatcher.js.diff original: return function(x, y) { var target = document.elementFromPoint(x, y) || document updated: return function(clientX, clientY, shiftKey, ctrlKey, altKey, metaKey) { var target = document.elementFromPoint(clientX, clientY) || document <|file_sep|>src/eve...
92334651e178d2760434e8e1923ba691c69f448c
src/events/mouse-dispatcher.js
src/events/mouse-dispatcher.js
JavaScript
<|file_sep|>original/.github/helper/install_dependencies.sh set -e # Check for merge conflicts before proceeding python -m compileall -f "${GITHUB_WORKSPACE}" if grep -lr --exclude-dir=node_modules "^<<<<<<< " "${GITHUB_WORKSPACE}" then echo "Found merge conflicts" exit 1 fi # install wkhtmltopdf wget -O /tm...
# Check for merge conflicts before proceeding python -m compileall -f "${GITHUB_WORKSPACE}" if grep -lr --exclude-dir=node_modules "^<<<<<<< " "${GITHUB_WORKSPACE}" then echo "Found merge conflicts" exit 1 fi # install wkhtmltopdf wget -O /tmp/wkhtmltox.tar.xz https://github.com/frappe/wkhtmltopdf/raw/master/...
<|file_sep|>original/.github/helper/install_dependencies.sh set -e # Check for merge conflicts before proceeding python -m compileall -f "${GITHUB_WORKSPACE}" if grep -lr --exclude-dir=node_modules "^<<<<<<< " "${GITHUB_WORKSPACE}" then echo "Found merge conflicts" exit 1 fi # install wkhtmltopdf wget -O /tm...
9100e8f0bb53a9afb19437b456a11d2077dd0054
.github/helper/install_dependencies.sh
.github/helper/install_dependencies.sh
Shell
<|file_sep|>mgsv_names.py.diff original: import random updated: import random, os <|file_sep|>mgsv_names.py.diff original: with open('adjectives.txt') as f: updated: with open(os.path.join(os.path.dirname(__file__), 'adjectives.txt')) as f: <|file_sep|>mgsv_names.py.diff original: with open('animals.txt') as f: updated...
'tiger': 'crouching', 'hippo': 'hungry', 'falcon': 'punching', } def generate_name(): adj = random.choice(adjectives).strip() anim = random.choice(animals).strip() r = random.random() if r < 0.001 or r >= 0.999: return random.choice(rares).strip() elif r < 0.3 and a...
<|file_sep|>mgsv_names.py.diff original: import random updated: import random, os <|file_sep|>mgsv_names.py.diff original: with open('adjectives.txt') as f: updated: with open(os.path.join(os.path.dirname(__file__), 'adjectives.txt')) as f: <|file_sep|>mgsv_names.py.diff original: with open('animals.txt') as f: updated...
b2cac05be3f6c510edfaf1ae478fabdcf06fd19a
mgsv_names.py
mgsv_names.py
Python
<|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarning...
<?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processI...
<|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarning...
5a5935f52802d3fb2800f7d882d9417f0d9ab933
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>tox.ini.diff original: updated: skip_install = true <|file_sep|>original/tox.ini [tox] envlist = py{27,36}-codestyle, py{27,36} [testenv] setenv = PYTHONDONTWRITEBYTECODE=1 install_command = pip install --no-deps {opts} {packages} deps = -rrequirements.txt commands = pytest {posargs} [testen...
envlist = py{27,36}-codestyle, py{27,36} [testenv] setenv = PYTHONDONTWRITEBYTECODE=1 install_command = pip install --no-deps {opts} {packages} deps = -rrequirements.txt commands = pytest {posargs} [testenv:py27-codestyle] # setup.py check broken on travis python 2.7 skip_install = true commands = multil...
<|file_sep|>tox.ini.diff original: updated: skip_install = true <|file_sep|>original/tox.ini [tox] envlist = py{27,36}-codestyle, py{27,36} [testenv] setenv = PYTHONDONTWRITEBYTECODE=1 install_command = pip install --no-deps {opts} {packages} deps = -rrequirements.txt commands = pytest {posargs} [testen...
a90e0c4f9652e624f583f9b8867a451b635f5456
tox.ini
tox.ini
INI
<|file_sep|>original/.github/workflows/build-buildpacks-ci-image.yml name: Build buildpacks-ci docker image on: push: branches: [ master ] paths: [ Dockerfile, config/**, build/** , Gemfile, Gemfile.lock ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: ...
name: Build buildpacks-ci docker image on: workflow_dispatch: { } schedule: - cron: "0 1 * * 1" push: branches: [ master ] paths: [ Dockerfile, config/**, build/** , Gemfile, Gemfile.lock ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Q...
<|file_sep|>original/.github/workflows/build-buildpacks-ci-image.yml name: Build buildpacks-ci docker image on: push: branches: [ master ] paths: [ Dockerfile, config/**, build/** , Gemfile, Gemfile.lock ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: ...
64b12cccb5597af3654fb21720e1111faead9381
.github/workflows/build-buildpacks-ci-image.yml
.github/workflows/build-buildpacks-ci-image.yml
YAML
<|file_sep|>original/web/app/themes/rizikove_kaceni_sage_based/assets/styles/pages/_gallery.scss top: 3px; @include modular-mq(desktop){ font-size: 20px; top: 2px; } } } .foogallery-container{ img{ @include square-dim(100%); } } .foogallery-pile-inner{ h3 { display: none !im...
top: 3px; @include modular-mq(desktop){ font-size: 20px; top: 2px; } } } .foogallery-container{ z-index: 0 !important; img{ @include square-dim(100%); } } .foogallery-pile-inner{ h3 { display: none !important; }
<|file_sep|>original/web/app/themes/rizikove_kaceni_sage_based/assets/styles/pages/_gallery.scss top: 3px; @include modular-mq(desktop){ font-size: 20px; top: 2px; } } } .foogallery-container{ img{ @include square-dim(100%); } } .foogallery-pile-inner{ h3 { display: none !im...
af861ae7fbfc2db951e3871dfc1757e23868740f
web/app/themes/rizikove_kaceni_sage_based/assets/styles/pages/_gallery.scss
web/app/themes/rizikove_kaceni_sage_based/assets/styles/pages/_gallery.scss
SCSS
<|file_sep|>original/api/app/controllers/spree/api/line_items_controller.rb if @line_item.save respond_with(@line_item, :status => 201, :default_template => :show) else invalid_resource!(@line_item) end end def update authorize! :read, order @line...
if @line_item.save respond_with(@line_item, :status => 201, :default_template => :show) else invalid_resource!(@line_item) end end def update authorize! :read, order @line_item = order.line_items.find(params[:id]) if @line_item.update_attr...
<|file_sep|>original/api/app/controllers/spree/api/line_items_controller.rb if @line_item.save respond_with(@line_item, :status => 201, :default_template => :show) else invalid_resource!(@line_item) end end def update authorize! :read, order @line...
b030f282f79fab7bca945562de688d19a4f9d7ab
api/app/controllers/spree/api/line_items_controller.rb
api/app/controllers/spree/api/line_items_controller.rb
Ruby
<|file_sep|>_sass/_post.scss.diff original: updated: color: #333; h1,h2,h3,h4,h5,h6 { color: #000; } <|file_sep|>_sass/_post.scss.diff original: margin: 10px -10px; updated: margin-bottom: 10px; <|file_sep|>original/_sass/_post.scss h1, h2...
color: #333; h1,h2,h3,h4,h5,h6 { color: #000; } h1, h2 { margin-bottom: 10px; margin-top: 30px; } h1, h2, h3 { border-bottom: 1px solid #CCC; } pre { margin: 0 -30px;...
<|file_sep|>_sass/_post.scss.diff original: updated: color: #333; h1,h2,h3,h4,h5,h6 { color: #000; } <|file_sep|>_sass/_post.scss.diff original: margin: 10px -10px; updated: margin-bottom: 10px; <|file_sep|>original/_sass/_post.scss h1, h2...
16b0facd587d19bc02700210fad4e9faf2dcddd8
_sass/_post.scss
_sass/_post.scss
SCSS
<|file_sep|>original/app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss } .fixedsticky-background--page-title { @extend %z-index--fixedsticky; &.fixedsticky-on { height: 75px; left: 0; top: 0; } } .fixedsticky-background--toolbar { @extend %z-index--fixedsticky; &....
.fixedsticky-background--page-title { @extend %z-index--fixedsticky; &.fixedsticky-on { height: 75px; left: 0; top: 0; } } .fixedsticky-background--toolbar { @extend %z-index--fixedsticky; &.fixedsticky-on { height: 50px; left: 0; top: 65px; width: 1%; } }
<|file_sep|>original/app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss } .fixedsticky-background--page-title { @extend %z-index--fixedsticky; &.fixedsticky-on { height: 75px; left: 0; top: 0; } } .fixedsticky-background--toolbar { @extend %z-index--fixedsticky; &....
f3db9b0cf1554949fe4412f801cbd437c37e6aaa
app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss
app/assets/stylesheets/comfortable_mexican_sofa/admin/helpers/_fixedsticky.scss
SCSS
<|file_sep|>original/_includes/header.html <section class="page-header"> <h1 class="project-name"><a href="/">{{ page.title }}</a></h1> <h2 class="project-tagline">{{ page.subtitle }}</h2> </section> <|file_sep|>current/_includes/header.html <section class="page-header"> <h1 class="proje...
<section class="page-header"> <h1 class="project-name"><a href="/" style="color:white;">{{ page.title }}</a></h1> <h2 class="project-tagline">{{ page.subtitle }}</h2> </section>
<|file_sep|>original/_includes/header.html <section class="page-header"> <h1 class="project-name"><a href="/">{{ page.title }}</a></h1> <h2 class="project-tagline">{{ page.subtitle }}</h2> </section> <|file_sep|>current/_includes/header.html <section class="page-header"> <h1 class="proje...
3ddef185499acbeb78790daeb787681f17b3cabc
_includes/header.html
_includes/header.html
HTML
<|file_sep|>original/.travis.yml language: node_js node_js: - "7" #latest - "6" #LTS script: - npm run web - npm run tslint before_deploy: - mkdir filesToDeploy - mkdir filesToDeploy/dist - cp index.html filesToDeploy/index.html - cp dist/bundle.js filesToDeploy/dist/bundle.js deploy: provider: pages ...
language: node_js node_js: - "8" script: - npm run web - npm run tslint before_deploy: - mkdir filesToDeploy - mkdir filesToDeploy/dist - cp index.html filesToDeploy/index.html - cp dist/bundle.js filesToDeploy/dist/bundle.js deploy: provider: pages skip_cleanup: true local_dir: filesToDeploy gith...
<|file_sep|>original/.travis.yml language: node_js node_js: - "7" #latest - "6" #LTS script: - npm run web - npm run tslint before_deploy: - mkdir filesToDeploy - mkdir filesToDeploy/dist - cp index.html filesToDeploy/index.html - cp dist/bundle.js filesToDeploy/dist/bundle.js deploy: provider: pages ...
c516ed976e2ac268d74d7f98e5718318e2f07b0e
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/to/toxcore.yaml.diff original: hash: f6bd5e1805d251ff10e07a590456d0bcb10a267160ac4096049ef319dc232198 updated: hash: 19e7db28ba57ccc5cd532794e78a7effdff3c6e7e38f1b0aca64e7fa2f9a796e <|file_sep|>packages/to/toxcore.yaml.diff original: updated: bytestring: -any <|file_sep|>packages/to/toxcore.yaml...
maintainer: iphy synopsis: Haskell bindings to the C reference implementation of Tox changelog: '' basic-deps: bytestring: -any base: <5 data-default-class: -any toxcore: -any base16-bytestring: -any directory: -any all-versions: - '0.0.2' - '0.2.0' author: iphy latest: '0.2.0' description-type: haddock des...
<|file_sep|>packages/to/toxcore.yaml.diff original: hash: f6bd5e1805d251ff10e07a590456d0bcb10a267160ac4096049ef319dc232198 updated: hash: 19e7db28ba57ccc5cd532794e78a7effdff3c6e7e38f1b0aca64e7fa2f9a796e <|file_sep|>packages/to/toxcore.yaml.diff original: updated: bytestring: -any <|file_sep|>packages/to/toxcore.yaml...
520d6757b7fbb28ea534d4a16de40c9562916f30
packages/to/toxcore.yaml
packages/to/toxcore.yaml
YAML
<|file_sep|>original/.github/workflows/rspec.yml <|file_sep|>current/.github/workflows/rspec.yml <|file_sep|>updated/.github/workflows/rspec.yml
name: CI RSpec Tests on: [push, pull_request] jobs: build: name: CI runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: ruby/setup-ruby@v1 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - run: bundle exec rake s...
<|file_sep|>original/.github/workflows/rspec.yml <|file_sep|>current/.github/workflows/rspec.yml <|file_sep|>updated/.github/workflows/rspec.yml name: CI RSpec Tests on: [push, pull_request] jobs: build: name: CI runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: ruby/setup-...
e0173e984a236fe07f30871b8c5230126a26ff98
.github/workflows/rspec.yml
.github/workflows/rspec.yml
YAML
<|file_sep|>original/ndlib_test/ndlibTest.py <|file_sep|>current/ndlib_test/ndlibTest.py <|file_sep|>updated/ndlib_test/ndlibTest.py
import unittest import networkx as nx import sys sys.path.append("..") import ndlib.VoterModel as vm import ndlib.SznajdModel as sm import ndlib.MajorityRuleModel as mrm __author__ = 'rossetti' __license__ = "GPL" __email__ = "giulio.rossetti@gmail.com" class NdlibTest(unittest.TestCase): def test_voter_model(s...
<|file_sep|>original/ndlib_test/ndlibTest.py <|file_sep|>current/ndlib_test/ndlibTest.py <|file_sep|>updated/ndlib_test/ndlibTest.py import unittest import networkx as nx import sys sys.path.append("..") import ndlib.VoterModel as vm import ndlib.SznajdModel as sm import ndlib.MajorityRuleModel as mrm __author__ = '...
53a4d9525439456de3d0f13d92c5671a4c39b69f
ndlib_test/ndlibTest.py
ndlib_test/ndlibTest.py
Python
<|file_sep|>original/Cargo.toml [package] name = "dirs" version = "1.0.3" authors = ["Simon Ochsenreither <simon@ochsenreither.de>"] description = "A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows and macOS by le...
[package] name = "dirs" version = "1.0.3" authors = ["Simon Ochsenreither <simon@ochsenreither.de>"] description = "A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows and macOS by leveraging the mechanisms defined ...
<|file_sep|>original/Cargo.toml [package] name = "dirs" version = "1.0.3" authors = ["Simon Ochsenreither <simon@ochsenreither.de>"] description = "A tiny low-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows and macOS by le...
24db65a17c7092da322641cb23c26d0dfda1e6f4
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/requirements-dev.txt coveralls==1.1 pytest==3.0.7 pytest-cov==2.5.0 flake8==3.3.0 sphinx==1.5.5 alabaster>=0.6.2 tox==2.7.0 mock==2.0.0 <|file_sep|>current/requirements-dev.txt coveralls==1.1 pytest==3.0.7 pytest-cov==2.5.0 flake8==3.3.0 sphinx==1.5.5 alabaster>=0.6.2 tox==2.7.0 mock==2.0.0 <|file_...
coveralls==1.1 pytest==3.0.7 pytest-cov==2.5.0 flake8==3.3.0 sphinx==1.5.6 alabaster>=0.6.2 tox==2.7.0 mock==2.0.0
<|file_sep|>original/requirements-dev.txt coveralls==1.1 pytest==3.0.7 pytest-cov==2.5.0 flake8==3.3.0 sphinx==1.5.5 alabaster>=0.6.2 tox==2.7.0 mock==2.0.0 <|file_sep|>current/requirements-dev.txt coveralls==1.1 pytest==3.0.7 pytest-cov==2.5.0 flake8==3.3.0 sphinx==1.5.5 alabaster>=0.6.2 tox==2.7.0 mock==2.0.0 <|file_...
71d463620a181bf8bb76937c7c1f90367757722a
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>src/modules/comm.c.diff original: data_set_color(ColorBackground, (GColor){ .argb = background_t->value->int32 }); updated: data_set_color(ColorBackground, (GColor){ .argb = background_t->value->int8 }); <|file_sep|>src/modules/comm.c.diff original: data_set_color(ColorSides, (GColor){ .argb = s...
#endif // Other settings Tuple *anim_t = dict_find(iter, AppKeyAnimations); if(anim_t) { data_set_animations(anim_t->value->int8 == 1); } Tuple *bluetooth_t = dict_find(iter, AppKeyBluetooth); if(bluetooth_t) { data_set_bluetooth_alert(bluetooth_t->value->int8 == 1); } // Quit to be reloaded ...
<|file_sep|>src/modules/comm.c.diff original: data_set_color(ColorBackground, (GColor){ .argb = background_t->value->int32 }); updated: data_set_color(ColorBackground, (GColor){ .argb = background_t->value->int8 }); <|file_sep|>src/modules/comm.c.diff original: data_set_color(ColorSides, (GColor){ .argb = s...
edb65bb8be45202ec4b1b0dbaeb4cbe0b50e1553
src/modules/comm.c
src/modules/comm.c
C
<|file_sep|>original/libs/lib-hive.bash <|file_sep|>current/libs/lib-hive.bash <|file_sep|>updated/libs/lib-hive.bash
trimfirstandlast() { sed 's/.$//; s/^.//' $@ } trimjson() { sed 's/\\\"/\"/g' $@ | sed 's/\\\\/\\/g' } trimhivejson() { trimfirstandlast $@ | trimjson }
<|file_sep|>original/libs/lib-hive.bash <|file_sep|>current/libs/lib-hive.bash <|file_sep|>updated/libs/lib-hive.bash trimfirstandlast() { sed 's/.$//; s/^.//' $@ } trimjson() { sed 's/\\\"/\"/g' $@ | sed 's/\\\\/\\/g' } trimhivejson() { trimfirstandlast $@ | trimjson }
ed3ab1b2135d128e0f726c7aa83418f2577c2c24
libs/lib-hive.bash
libs/lib-hive.bash
Shell
<|file_sep|>original/requirements.txt future==0.17.1 tqdm==4.32.2 networkx==2.3 pytest==5.0.0 <|file_sep|>current/requirements.txt future==0.17.1 tqdm==4.32.2 networkx==2.3 pytest==5.0.0 <|file_sep|>updated/requirements.txt
future==0.17.1 tqdm==4.32.2 networkx==2.3 pytest==5.0.1
<|file_sep|>original/requirements.txt future==0.17.1 tqdm==4.32.2 networkx==2.3 pytest==5.0.0 <|file_sep|>current/requirements.txt future==0.17.1 tqdm==4.32.2 networkx==2.3 pytest==5.0.0 <|file_sep|>updated/requirements.txt future==0.17.1 tqdm==4.32.2 networkx==2.3 pytest==5.0.1
e0ef29218cfd300e495fa91f0272004d5ed6ab8a
requirements.txt
requirements.txt
Text
<|file_sep|>original/library/mkmf/mkmf_spec.rb <|file_sep|>current/library/mkmf/mkmf_spec.rb <|file_sep|>updated/library/mkmf/mkmf_spec.rb
require_relative '../../spec_helper' describe 'mkmf' do it 'can be run with frozen string literals' do ruby_exe('puts "Success"', options: '-rmkmf --enable-frozen-string-literal', escape: true).should == "Success\n" end end
<|file_sep|>original/library/mkmf/mkmf_spec.rb <|file_sep|>current/library/mkmf/mkmf_spec.rb <|file_sep|>updated/library/mkmf/mkmf_spec.rb require_relative '../../spec_helper' describe 'mkmf' do it 'can be run with frozen string literals' do ruby_exe('puts "Success"', options: '-rmkmf --enable-frozen-string-li...
6e51a6b2f6a1c5a3c26e97a25f8fac4c089a09dd
library/mkmf/mkmf_spec.rb
library/mkmf/mkmf_spec.rb
Ruby
<|file_sep|>original/javaee/src/main/resources/import.sql -- import.sql for TicketManor project insert into venues(id, name, streetAddress, city, provState, country, lat, lng) values(1, 'Carnegie Hall', '881 Seventh Avenue', 'New York', 'NY', 'US', 40.764938, -73.979897); insert into venues(id, name, streetAddress, ci...
-- import.sql for TicketManor project insert into venues(id, name, streetAddress, city, provState, country, lat, lng) values(1, 'Carnegie Hall', '881 Seventh Avenue', 'New York', 'NY', 'US', 40.764938, -73.979897); insert into venues(id, name, streetAddress, city, provState, country, lat, lng) values(2, 'Roy Thompson ...
<|file_sep|>original/javaee/src/main/resources/import.sql -- import.sql for TicketManor project insert into venues(id, name, streetAddress, city, provState, country, lat, lng) values(1, 'Carnegie Hall', '881 Seventh Avenue', 'New York', 'NY', 'US', 40.764938, -73.979897); insert into venues(id, name, streetAddress, ci...
0f6f0605a9de6a73c73d7d53f0f30e60c8f51067
javaee/src/main/resources/import.sql
javaee/src/main/resources/import.sql
SQL
<|file_sep|>linter.py.diff original: syntax = ('html', 'html+tt2', 'html+tt3') cmd = ('bemlint', '@', '--format', 'compact') version_args = '--version' version_re = r'v(?P<version>\d+\.\d+\.\d+)' version_requirement = '>= 1.4.5' updated: name = 'bemlint' cmd = 'bemlint @ ${args}' <|file_sep|...
cmd = 'bemlint @ ${args}' config_file = ('--config', '.bemlint.json') regex = ( r'^.+?: line (?P<line>\d+), col (?P<col>\d+), ' r'(?:(?P<error>Error)|(?P<warning>Warning)) - ' r'(?P<message>.+)' ) multiline = False line_col_base = (1, 1) error_stream = util.STREAM_BOT...
<|file_sep|>linter.py.diff original: syntax = ('html', 'html+tt2', 'html+tt3') cmd = ('bemlint', '@', '--format', 'compact') version_args = '--version' version_re = r'v(?P<version>\d+\.\d+\.\d+)' version_requirement = '>= 1.4.5' updated: name = 'bemlint' cmd = 'bemlint @ ${args}' <|file_sep|...
cd62369097feba54172c0048c4ef0ec0713be6d3
linter.py
linter.py
Python
<|file_sep|>metadata/eu.kanade.tachiyomi.txt.diff original: updated: Build:0.2.1,7 commit=v0.2.1 subdir=app gradle=yes <|file_sep|>original/metadata/eu.kanade.tachiyomi.txt gradle=yes Build:0.1.3,4 commit=v0.1.3 subdir=app gradle=yes Build:0.1.4,5 commit=v0.1.4 subdir=app gra...
gradle=yes Build:0.1.4,5 commit=v0.1.4 subdir=app gradle=yes Build:0.2.0,6 commit=v0.2.0 subdir=app gradle=yes Build:0.2.1,7 commit=v0.2.1 subdir=app gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:0.2.1 Current Version Code:7
<|file_sep|>metadata/eu.kanade.tachiyomi.txt.diff original: updated: Build:0.2.1,7 commit=v0.2.1 subdir=app gradle=yes <|file_sep|>original/metadata/eu.kanade.tachiyomi.txt gradle=yes Build:0.1.3,4 commit=v0.1.3 subdir=app gradle=yes Build:0.1.4,5 commit=v0.1.4 subdir=app gra...
5b332360972328e190654fae7db7d17d82d66e4e
metadata/eu.kanade.tachiyomi.txt
metadata/eu.kanade.tachiyomi.txt
Text
<|file_sep|>original/alias/debian.sh <|file_sep|>current/alias/debian.sh <|file_sep|>updated/alias/debian.sh
# Show all clang versions available as Debian package. alias debian-version-list-clang='apt-cache search clang | cut -f 1 -d " " | sort | grep -e "^clang-[0-9].[0-9]$"' # Show all Emacs versions available as Debian package. alias debian-version-list-emacs='apt-cache search emacs | cut -f 1 -d " " | sort | grep -e "^e...
<|file_sep|>original/alias/debian.sh <|file_sep|>current/alias/debian.sh <|file_sep|>updated/alias/debian.sh # Show all clang versions available as Debian package. alias debian-version-list-clang='apt-cache search clang | cut -f 1 -d " " | sort | grep -e "^clang-[0-9].[0-9]$"' # Show all Emacs versions available as...
fc141c9ffe2f868a876520405e4ac8520ba0e976
alias/debian.sh
alias/debian.sh
Shell
<|file_sep|>original/scripts/add_img.rb <|file_sep|>current/scripts/add_img.rb <|file_sep|>updated/scripts/add_img.rb
#!/usr/bin/env ruby require 'fileutils' require 'pathname' require 'pp' unless ARGV.length == 2 then print "add_img <img_file> <post_file>\n" exit end img_fn = ARGV[0] img_basename = Pathname.new(img_fn).basename.to_s img_no_ext = img_basename.split('.')[0] ext = img_basename.split('.')[1] #print "IMG_FN #{img_fn}...
<|file_sep|>original/scripts/add_img.rb <|file_sep|>current/scripts/add_img.rb <|file_sep|>updated/scripts/add_img.rb #!/usr/bin/env ruby require 'fileutils' require 'pathname' require 'pp' unless ARGV.length == 2 then print "add_img <img_file> <post_file>\n" exit end img_fn = ARGV[0] img_basename = Pathname.new...
6e254536c69d16e05b5cdada1e975217ab583bf9
scripts/add_img.rb
scripts/add_img.rb
Ruby
<|file_sep|>original/webroot/urlrewrite.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN" "http://urlrewritefilter.googlecode.com/svn/trunk/src/java/org/tuckey/web/filters/urlrewrite/dtds/urlrewrite4.0.dtd"> <urlrewrite> <rule enabled="true"> ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN" "http://urlrewritefilter.googlecode.com/svn/trunk/src/java/org/tuckey/web/filters/urlrewrite/dtds/urlrewrite4.0.dtd"> <urlrewrite> <rule enabled="false"> <note>If the request is for Lucee admin...
<|file_sep|>original/webroot/urlrewrite.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN" "http://urlrewritefilter.googlecode.com/svn/trunk/src/java/org/tuckey/web/filters/urlrewrite/dtds/urlrewrite4.0.dtd"> <urlrewrite> <rule enabled="true"> ...
9d266dd59a26c901901d197f04681bcbc35e45ff
webroot/urlrewrite.xml
webroot/urlrewrite.xml
XML
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots // until the changes can be landed upstream. BUG47259 WIN : http/tests/local/b...
// This file should almost always be empty. Normally Chromium test expectations // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots // until the changes can be landed upstream. BUG47259 WIN : http/te...
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // are found in // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots // until the changes can be landed upstream. BUG47259 WIN : http/tests/local/b...
d217dacf73359389da9bf64bc64742e525338aac
webkit/tools/layout_tests/test_expectations.txt
webkit/tools/layout_tests/test_expectations.txt
Text
<|file_sep|>src/Pum/Core/Extension/Core/Type/DatetimeType.php.diff original: updated: use Pum\Core\Context\FieldContext; use Pum\Core\Definition\View\FormViewField; <|file_sep|>src/Pum/Core/Extension/Core/Type/DatetimeType.php.diff original: updated: use Symfony\Component\Form\FormInterface; <|file_sep|>src/Pum/Core/...
public function setDefaultOptions(OptionsResolverInterface $resolver) { $resolver->setDefaults(array( '_doctrine_type' => 'datetime', )); } /** * {@inheritdoc} */ public function buildForm(FieldContext $context, FormInterface $form, FormViewField $formViewField...
<|file_sep|>src/Pum/Core/Extension/Core/Type/DatetimeType.php.diff original: updated: use Pum\Core\Context\FieldContext; use Pum\Core\Definition\View\FormViewField; <|file_sep|>src/Pum/Core/Extension/Core/Type/DatetimeType.php.diff original: updated: use Symfony\Component\Form\FormInterface; <|file_sep|>src/Pum/Core/...
da9fbc04d36b89376fce5f0aa9ca689befdec4f7
src/Pum/Core/Extension/Core/Type/DatetimeType.php
src/Pum/Core/Extension/Core/Type/DatetimeType.php
PHP
<|file_sep|>original/packages/react-cookie/package.json { "name": "react-cookie", "version": "2.1.2", "description": "Universal cookies for React", "main": "lib/index.js", "files": [ "lib" ], "repository": { "type": "git", "url": "https://github.com/reactivestack/cookies.git" }, "bugs": "h...
{ "name": "react-cookie", "version": "2.1.2", "description": "Universal cookies for React", "main": "lib/index.js", "typings": "lib/index.d.ts" "files": [ "lib" ], "repository": { "type": "git", "url": "https://github.com/reactivestack/cookies.git" }, "bugs": "https://github.com/reactive...
<|file_sep|>original/packages/react-cookie/package.json { "name": "react-cookie", "version": "2.1.2", "description": "Universal cookies for React", "main": "lib/index.js", "files": [ "lib" ], "repository": { "type": "git", "url": "https://github.com/reactivestack/cookies.git" }, "bugs": "h...
b4ec6f374576e43d281448f5c43e9ce91c2be1ad
packages/react-cookie/package.json
packages/react-cookie/package.json
JSON
<|file_sep|>README.md.diff original: A `NativeCall` interface to `Xlib` updated: A `NativeCall` interface to `Xlib`. Only a subset needed to cover the basic example is currently supported. <|file_sep|>original/README.md # X11::Xlib::Raw A `NativeCall` interface to `Xlib` # Examples Filename | Description ------...
# X11::Xlib::Raw A `NativeCall` interface to `Xlib`. Only a subset needed to cover the basic example is currently supported. # Examples Filename | Description -------------|---------------------------------------- 01-basic.pl6 | Replicates the [Xlib Example from Wikipedia](https://en.wikipedia.org/wiki/Xlib#Exa...
<|file_sep|>README.md.diff original: A `NativeCall` interface to `Xlib` updated: A `NativeCall` interface to `Xlib`. Only a subset needed to cover the basic example is currently supported. <|file_sep|>original/README.md # X11::Xlib::Raw A `NativeCall` interface to `Xlib` # Examples Filename | Description ------...
52a975f7223e0ab747eccc14cd61a3076cb87afd
README.md
README.md
Markdown
<|file_sep|>original/ci/tasks/generate-changelog.yml --- platform: linux image_resource: type: docker-image source: repository: springio/github-changelog-generator tag: '0.0.4' inputs: - name: git-repo - name: version outputs: - name: generated-changelog params: GITHUB_ORGANIZATION: GITHUB_REPO: GITHU...
--- platform: linux image_resource: type: registry-image source: repository: springio/github-changelog-generator tag: '0.0.4' inputs: - name: git-repo - name: version outputs: - name: generated-changelog params: GITHUB_ORGANIZATION: GITHUB_REPO: GITHUB_USERNAME: GITHUB_TOKEN: RELEASE_TYPE: run: ...
<|file_sep|>original/ci/tasks/generate-changelog.yml --- platform: linux image_resource: type: docker-image source: repository: springio/github-changelog-generator tag: '0.0.4' inputs: - name: git-repo - name: version outputs: - name: generated-changelog params: GITHUB_ORGANIZATION: GITHUB_REPO: GITHU...
fa44a1d0c53d9b57048cfdffc17c74e3ee7fb980
ci/tasks/generate-changelog.yml
ci/tasks/generate-changelog.yml
YAML
<|file_sep|>src/myarchive/db/tables/ljtables.py.diff original: LargeBinary, Boolean, Column, Integer, String, PickleType, ForeignKey) updated: Column, Integer, String, TIMESTAMP, ForeignKey) <|file_sep|>src/myarchive/db/tables/ljtables.py.diff original: from myarchive.db.tables.association_tables import ( a...
from sqlalchemy import ( Column, Integer, String, TIMESTAMP, ForeignKey) from sqlalchemy.orm import backref, relationship from sqlalchemy.orm.exc import NoResultFound from myarchive.db.tables.base import Base from myarchive.db.tables.file import TrackedFile class LJHost(Base): """Class representing a user re...
<|file_sep|>src/myarchive/db/tables/ljtables.py.diff original: LargeBinary, Boolean, Column, Integer, String, PickleType, ForeignKey) updated: Column, Integer, String, TIMESTAMP, ForeignKey) <|file_sep|>src/myarchive/db/tables/ljtables.py.diff original: from myarchive.db.tables.association_tables import ( a...
a1a9852f478258b2c2f6f28a0ee28f223adaa299
src/myarchive/db/tables/ljtables.py
src/myarchive/db/tables/ljtables.py
Python
<|file_sep|>original/tests/timeliner_simple_controller.html <|file_sep|>current/tests/timeliner_simple_controller.html <|file_sep|>updated/tests/timeliner_simple_controller.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> </head> <body> <script type="module"> import { Timeliner } from '../src/timeliner.js' class Track { constructo...
<|file_sep|>original/tests/timeliner_simple_controller.html <|file_sep|>current/tests/timeliner_simple_controller.html <|file_sep|>updated/tests/timeliner_simple_controller.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, min...
3d0588343596e7e323779953b0b992ed0cb5c99b
tests/timeliner_simple_controller.html
tests/timeliner_simple_controller.html
HTML
<|file_sep|>original/templates/etc/perp/flume/rc.main.mustache #!/bin/sh # Redirect stderr to stdout exec 2>&1 if test ${1} = "start"; then echo "starting ${2}..." RUN_OPTS="" {{#user}} RUN_OPTS="$RUN_OPTS -u {{user}}" {{/user}} exec runtool $RUN_OPTS {{_embedded_root_dir}}/flume/bin/flume-ng \ agen...
# Redirect stderr to stdout exec 2>&1 if test ${1} = "start"; then echo "starting ${2}..." RUN_OPTS="" {{#user}} RUN_OPTS="$RUN_OPTS -u {{user}}" {{/user}} exec runtool $RUN_OPTS {{_embedded_root_dir}}/flume/bin/flume-ng \ agent \ --name api-umbrella-agent \ --conf {{_embedded_root_dir}}/flu...
<|file_sep|>original/templates/etc/perp/flume/rc.main.mustache #!/bin/sh # Redirect stderr to stdout exec 2>&1 if test ${1} = "start"; then echo "starting ${2}..." RUN_OPTS="" {{#user}} RUN_OPTS="$RUN_OPTS -u {{user}}" {{/user}} exec runtool $RUN_OPTS {{_embedded_root_dir}}/flume/bin/flume-ng \ agen...
3b39e65885fc2a8863e78cd6a998a82d01b0729c
templates/etc/perp/flume/rc.main.mustache
templates/etc/perp/flume/rc.main.mustache
HTML+Django
<|file_sep|>original/make_a_plea/settings/production.py } } BROKER_TRANSPORT_OPTIONS = {'region': 'eu-west-1', 'queue_name_prefix': 'production-', 'polling_interval': 1, 'visibility_timeout': 3600} INSTALLED_APPS += ('raven.contri...
} } BROKER_TRANSPORT_OPTIONS = {'region': 'eu-west-1', 'queue_name_prefix': 'production-', 'polling_interval': 1, 'visibility_timeout': 3600} INSTALLED_APPS += ('raven.contrib.django.raven_compat', ) ALLOWED_HOSTS = ["www.makeapl...
<|file_sep|>original/make_a_plea/settings/production.py } } BROKER_TRANSPORT_OPTIONS = {'region': 'eu-west-1', 'queue_name_prefix': 'production-', 'polling_interval': 1, 'visibility_timeout': 3600} INSTALLED_APPS += ('raven.contri...
f6f3c7a70ff2c47adc2525c0c5868debc7e78fdd
make_a_plea/settings/production.py
make_a_plea/settings/production.py
Python
<|file_sep|>scripts/travis/install_build_env.sh.diff original: set -x updated: <|file_sep|>scripts/travis/install_build_env.sh.diff original: curl $CUDA_URL -o $CUDA_FILE updated: wget --show-progress $CUDA_URL -O $CUDA_FILE <|file_sep|>original/scripts/travis/install_build_env.sh #!/bin/bash # Script called by Travis...
#!/bin/bash # Script called by Travis to install the build environment for CUDArrays. This script must be called with sudo. set -e # Install CUDA echo "Installing CUDA" CUDA_URL=http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run CUDA_FILE=/tmp/cuda_install.run wget --sho...
<|file_sep|>scripts/travis/install_build_env.sh.diff original: set -x updated: <|file_sep|>scripts/travis/install_build_env.sh.diff original: curl $CUDA_URL -o $CUDA_FILE updated: wget --show-progress $CUDA_URL -O $CUDA_FILE <|file_sep|>original/scripts/travis/install_build_env.sh #!/bin/bash # Script called by Travis...
f24c601778200dcfdf28eb92dff8531aac698e9a
scripts/travis/install_build_env.sh
scripts/travis/install_build_env.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: env: TARGET=armv7-unknown-linux-gnueabihf <|file_sep|>original/.travis.yml language: rust matrix: include: - os: linux rust: stable dist: trusty - os: linux rust: nightly dist: trusty - os: osx rust: stable - os: osx ...
language: rust matrix: include: - os: linux env: TARGET=armv7-unknown-linux-gnueabihf rust: stable dist: trusty - os: linux env: TARGET=x86_64-apple-darwin rust: stable dist: trusty - os: linux env: TARGET=armv7-unknown-linux-gnueabihf rust: nightly di...
<|file_sep|>.travis.yml.diff original: updated: env: TARGET=armv7-unknown-linux-gnueabihf <|file_sep|>original/.travis.yml language: rust matrix: include: - os: linux rust: stable dist: trusty - os: linux rust: nightly dist: trusty - os: osx rust: stable - os: osx ...
210aa0dd06fe5c72cb60a6484aa226f9e08fc7ed
.travis.yml
.travis.yml
YAML
<|file_sep|>original/example/AndroidManifest.xml <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="19" /> <application android:allowBackup="true" android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@style/Theme_SlidingDr...
android:minSdkVersion="15" android:targetSdkVersion="19" /> <application android:allowBackup="true" android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@style/Theme_SlidingDrawer" > <activity android:name=".view.MainS...
<|file_sep|>original/example/AndroidManifest.xml <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="19" /> <application android:allowBackup="true" android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@style/Theme_SlidingDr...
61cb4ca8c68165a84f0e31b801a8d3ea2be0105b
example/AndroidManifest.xml
example/AndroidManifest.xml
XML
<|file_sep|>original/app/controllers/rss_controller.rb # frozen_string_literal: true class RssController < ApplicationController layout false def feed ads = Ad ads = params[:type] == 'want' ? ads.want.available : ads.give ads = ads.by_woeid_code(params[:woeid]) @ads = policy_scope(ads).limit(30) ...
# frozen_string_literal: true class RssController < ApplicationController layout false def feed ads = Ad ads = params[:type] == 'want' ? ads.want : ads.give.available ads = ads.by_woeid_code(params[:woeid]) @ads = policy_scope(ads).limit(30) end end
<|file_sep|>original/app/controllers/rss_controller.rb # frozen_string_literal: true class RssController < ApplicationController layout false def feed ads = Ad ads = params[:type] == 'want' ? ads.want.available : ads.give ads = ads.by_woeid_code(params[:woeid]) @ads = policy_scope(ads).limit(30) ...
dd2118576c30f9356ebcf5e47976eb69303a3edf
app/controllers/rss_controller.rb
app/controllers/rss_controller.rb
Ruby
<|file_sep|>original/projects/invoice-hyperledger-fabric/containers/configure-deployment.sh <|file_sep|>current/projects/invoice-hyperledger-fabric/containers/configure-deployment.sh <|file_sep|>updated/projects/invoice-hyperledger-fabric/containers/configure-deployment.sh
DEPLOYMENT_NAME=$1 yq w -i k8s-peer.yaml "metadata.name" $DEPLOYMENT_NAME yq w -i k8s-peer.yaml "metadata.labels.app" $DEPLOYMENT_NAME yq w -i k8s-peer.yaml "spec.selector.matchLabels.app" $DEPLOYMENT_NAME yq w -i k8s-peer.yaml "spec.template.metadata.labels.app" $DEPLOYMENT_NAME yq w -i k8s-peer-service.yaml "met...
<|file_sep|>original/projects/invoice-hyperledger-fabric/containers/configure-deployment.sh <|file_sep|>current/projects/invoice-hyperledger-fabric/containers/configure-deployment.sh <|file_sep|>updated/projects/invoice-hyperledger-fabric/containers/configure-deployment.sh DEPLOYMENT_NAME=$1 yq w -i k8s-peer.yaml "m...
60efdd3421050fd6df21605a83c30a49150b4d5b
projects/invoice-hyperledger-fabric/containers/configure-deployment.sh
projects/invoice-hyperledger-fabric/containers/configure-deployment.sh
Shell
<|file_sep|>original/src/server/interface/chroma.kmd.json { "name": "chroma", "version": "6.1.0", "kurentoVersion": "^6.1.0", "code": { "api": { "js": { "nodeName": "kurento-module-chroma", "npmDescription": "Chroma Detector Filter", "npmGit": "Kurento/kurento-module-chroma-js"...
{ "name": "chroma", "version": "6.1.1-dev", "kurentoVersion": "^6.1.0", "code": { "api": { "js": { "nodeName": "kurento-module-chroma", "npmDescription": "Chroma Detector Filter", "npmGit": "Kurento/kurento-module-chroma-js" } } } }
<|file_sep|>original/src/server/interface/chroma.kmd.json { "name": "chroma", "version": "6.1.0", "kurentoVersion": "^6.1.0", "code": { "api": { "js": { "nodeName": "kurento-module-chroma", "npmDescription": "Chroma Detector Filter", "npmGit": "Kurento/kurento-module-chroma-js"...
fcd29641eae497e2a497ecf15fe35a70de9b5e2e
src/server/interface/chroma.kmd.json
src/server/interface/chroma.kmd.json
JSON
<|file_sep|>original/.travis.yml language: node_js env: - HBASE_VERSION=0.98.5 - HBASE_VERSION=0.96.2 node_js: - "0.10" before_script: - "export HBASE_FILE=hbase-$HBASE_VERSION-hadoop2" - "wget http://www.eu.apache.org/dist/hbase/hbase-$HBASE_VERSION/$HBASE_FILE-bin.tar.gz" - "tar -xzf $HBASE_FILE-bin.ta...
language: node_js env: - HBASE_VERSION=0.98.8 node_js: - "0.10" before_script: - "export HBASE_FILE=hbase-$HBASE_VERSION-hadoop2" - "wget http://www.eu.apache.org/dist/hbase/hbase-$HBASE_VERSION/$HBASE_FILE-bin.tar.gz" - "tar -xzf $HBASE_FILE-bin.tar.gz" - "$HBASE_FILE/bin/start-hbase.sh" - "$HBASE_FIL...
<|file_sep|>original/.travis.yml language: node_js env: - HBASE_VERSION=0.98.5 - HBASE_VERSION=0.96.2 node_js: - "0.10" before_script: - "export HBASE_FILE=hbase-$HBASE_VERSION-hadoop2" - "wget http://www.eu.apache.org/dist/hbase/hbase-$HBASE_VERSION/$HBASE_FILE-bin.tar.gz" - "tar -xzf $HBASE_FILE-bin.ta...
110ba5b780624c6c2c8b52a9ff46d5f1553a4106
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang before_install: - 'ci/before_install.sh' env: global: matrix: - BUILD_CORE_ONLY=OFF BUILD_TYPE=Debug - BUILD_CORE_ONLY=OFF BUILD_TYPE=Release - BUILD_CORE_ONLY=ON BUILD_TYPE=Debug - BUILD_CORE_ONLY=ON BUILD_TYPE=Release bef...
language: cpp compiler: #- gcc # Disabled gcc version is 4.6.3 while DART requires 4.7.0 or greater - clang before_install: - 'ci/before_install.sh' env: global: matrix: - BUILD_CORE_ONLY=OFF BUILD_TYPE=Debug - BUILD_CORE_ONLY=OFF BUILD_TYPE=Release - BUILD_CORE_ONLY=ON BUILD_TYPE=Debug - BUI...
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc - clang before_install: - 'ci/before_install.sh' env: global: matrix: - BUILD_CORE_ONLY=OFF BUILD_TYPE=Debug - BUILD_CORE_ONLY=OFF BUILD_TYPE=Release - BUILD_CORE_ONLY=ON BUILD_TYPE=Debug - BUILD_CORE_ONLY=ON BUILD_TYPE=Release bef...
905d5269e4f50c4145fd76f1c450e572ca503302
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "zeplin-html-to-pdf", "version": "0.1.0", "description": "AWS Lambda function that converts HTML pages to PDF documents", "scripts": { "test": "node local/index.js", "pack": "rm -f package.zip && zip package.zip -r index.js wkhtmltopdf utils", "deploy": "n...
{ "name": "zeplin-html-to-pdf", "version": "0.1.0", "description": "AWS Lambda function that converts HTML pages to PDF documents", "scripts": { "test": "node local/index.js", "pack": "rm -f package.zip && zip package.zip -r index.js wkhtmltopdf utils", "deploy": "npm run pack && aws lambda update-f...
<|file_sep|>original/package.json { "name": "zeplin-html-to-pdf", "version": "0.1.0", "description": "AWS Lambda function that converts HTML pages to PDF documents", "scripts": { "test": "node local/index.js", "pack": "rm -f package.zip && zip package.zip -r index.js wkhtmltopdf utils", "deploy": "n...
0c71d3a1a3e54d1db9c83ceb1f795cd69403e88e
package.json
package.json
JSON
<|file_sep|>original/grooveshark.gemspec require File.expand_path('../lib/grooveshark/version', __FILE__) Gem::Specification.new do |s| s.name = "grooveshark" s.version = Grooveshark::VERSION s.description = "Unofficial ruby library for consuming the Grooveshark API." s.summary = "Grooveshark AP...
Gem::Specification.new do |s| s.name = "grooveshark" s.version = Grooveshark::VERSION s.description = "Unofficial ruby library for consuming the Grooveshark API." s.summary = "Grooveshark API" s.authors = ["Dan Sosedoff"] s.email = "dan.sosedoff@gmail.com" s.homepage = "http:/...
<|file_sep|>original/grooveshark.gemspec require File.expand_path('../lib/grooveshark/version', __FILE__) Gem::Specification.new do |s| s.name = "grooveshark" s.version = Grooveshark::VERSION s.description = "Unofficial ruby library for consuming the Grooveshark API." s.summary = "Grooveshark AP...
47138240012117f1d68e99c2fade676e88442ead
grooveshark.gemspec
grooveshark.gemspec
Ruby
<|file_sep|>original/sql/procedures/find_duplicate_accessions.sql <|file_sep|>current/sql/procedures/find_duplicate_accessions.sql <|file_sep|>updated/sql/procedures/find_duplicate_accessions.sql
WITH non_distinct_ac AS ( SELECT count(*) as num, ac FROM load_rnacentral_all GROUP BY ac ORDER BY count(*) DESC ) SELECT * FROM load_rnacentral_all t, non_distinct_ac l WHERE t.ac = l.ac AND l.num > 1 ORDER BY t.ac;
<|file_sep|>original/sql/procedures/find_duplicate_accessions.sql <|file_sep|>current/sql/procedures/find_duplicate_accessions.sql <|file_sep|>updated/sql/procedures/find_duplicate_accessions.sql WITH non_distinct_ac AS ( SELECT count(*) as num, ac FROM load_rnacentral_all GROUP BY ac ORDER BY count(*) DESC )...
7e5d8e56b272fda1df6d2bab08dd9b35bae90e3c
sql/procedures/find_duplicate_accessions.sql
sql/procedures/find_duplicate_accessions.sql
SQL
<|file_sep|>original/test/unit/ConfigurationTest.php <|file_sep|>current/test/unit/ConfigurationTest.php <|file_sep|>updated/test/unit/ConfigurationTest.php
<?php namespace Airbrake; require_once(__DIR__.'/../../src/Airbrake/Configuration.php'); require_once(__DIR__.'/../../src/Airbrake/Exception.php'); class ConfigurationTest extends \PHPUnit_Framework_TestCase { /** * @var Configuration */ protected $object; protected function setUp() { $...
<|file_sep|>original/test/unit/ConfigurationTest.php <|file_sep|>current/test/unit/ConfigurationTest.php <|file_sep|>updated/test/unit/ConfigurationTest.php <?php namespace Airbrake; require_once(__DIR__.'/../../src/Airbrake/Configuration.php'); require_once(__DIR__.'/../../src/Airbrake/Exception.php'); class Confi...
642e0cf76f1e84823e3755bdc2b0a05c7fa081be
test/unit/ConfigurationTest.php
test/unit/ConfigurationTest.php
PHP
<|file_sep|>original/2-jul-javascript.md dom: Document object model (DOM) javascript-debugging: Javascript debugging javascript-components: Common Javascript components accessibility: Accessibility javascript-accessibility: Javascript & accessibility test: name: Javascript journeyer url: http://activitie...
dom: Document object model (DOM) javascript-debugging: Javascript debugging javascript-components: Common Javascript components accessibility: Accessibility javascript-accessibility: Javascript & accessibility test: name: Javascript journeyer url: http://activities.learn-the-web.algonquindesign.ca/javasc...
<|file_sep|>original/2-jul-javascript.md dom: Document object model (DOM) javascript-debugging: Javascript debugging javascript-components: Common Javascript components accessibility: Accessibility javascript-accessibility: Javascript & accessibility test: name: Javascript journeyer url: http://activitie...
a7ded3219e903bb21821ff734d8e755a273831b3
2-jul-javascript.md
2-jul-javascript.md
Markdown
<|file_sep|>original/ARMTemplates/README.md <|file_sep|>current/ARMTemplates/README.md <|file_sep|>updated/ARMTemplates/README.md
**Note**: There are 2 types of updates when deploying your ARM templates: incremental update or a complete update. Please use **incremental update** when deploying ARM templates to create lab VM. By default, Resource Manager handles deployments as incremental updates to the resource group. The complete update will lea...
<|file_sep|>original/ARMTemplates/README.md <|file_sep|>current/ARMTemplates/README.md <|file_sep|>updated/ARMTemplates/README.md **Note**: There are 2 types of updates when deploying your ARM templates: incremental update or a complete update. Please use **incremental update** when deploying ARM templates to create...
afaeb5407cb6c07ed0a914dff576c7487c3fbf58
ARMTemplates/README.md
ARMTemplates/README.md
Markdown
<|file_sep|>original/.travis.yml language: node_js node_js: - "9" - "8" - "6" - "4" - "0.12" - "0.10" before_script: - npm install -g grunt-cli script: grunt test && grunt cover after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: c0bec1f3744fa5764...
language: node_js node_js: - "9" - "8" - "6" - "4" before_script: - npm install -g grunt-cli script: grunt test && grunt cover after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: c0bec1f3744fa5764dfb105faa999ebf3b747548d3ed52a04773bf844afefa44
<|file_sep|>original/.travis.yml language: node_js node_js: - "9" - "8" - "6" - "4" - "0.12" - "0.10" before_script: - npm install -g grunt-cli script: grunt test && grunt cover after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: c0bec1f3744fa5764...
838017bbd178daa43d25c3dafc7ba7f1503a76fc
.travis.yml
.travis.yml
YAML
<|file_sep|>tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml.diff original: funcs: - name: hasErrorComment type: asserter body: | function(comment) { return comment.toLowerCase().indexOf("error") !== -1 } updated: <|file_sep|>original/tenets/codelingo/code-review...
title: Do Not Discard errors body: | Do not discard errors using _ variables. If a function returns an error, check it to make sure the function succeeded. Handle the error, return it, or, in truly exceptional situations, panic. codelingo/review: comment: | ...
<|file_sep|>tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml.diff original: funcs: - name: hasErrorComment type: asserter body: | function(comment) { return comment.toLowerCase().indexOf("error") !== -1 } updated: <|file_sep|>original/tenets/codelingo/code-review...
ae0f614296512d9cebe5623024c967207d96255c
tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml
tenets/codelingo/code-review-comments/do-not-discard-errors/codelingo.yaml
YAML
<|file_sep|>original/.travis.yml language: go go: - 1.1 - 1.2 - tip script: - go get code.google.com/p/go.tools/cmd/cover - go get github.com/hailiang/goveralls - go test -covermode=count -coverprofile=profile.cov - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci <|file_sep|>curr...
language: go go: - 1.2 - tip script: - go get code.google.com/p/go.tools/cmd/cover - go get github.com/hailiang/goveralls - go test -covermode=count -coverprofile=profile.cov - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
<|file_sep|>original/.travis.yml language: go go: - 1.1 - 1.2 - tip script: - go get code.google.com/p/go.tools/cmd/cover - go get github.com/hailiang/goveralls - go test -covermode=count -coverprofile=profile.cov - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci <|file_sep|>curr...
9a694d1ac0358c2924e12fc865a7e03d926a5d95
.travis.yml
.travis.yml
YAML
<|file_sep|>original/client/ruby/solr-ruby/lib/solr/solrtasks.rb <|file_sep|>current/client/ruby/solr-ruby/lib/solr/solrtasks.rb <|file_sep|>updated/client/ruby/solr-ruby/lib/solr/solrtasks.rb
#!/usr/bin/env ruby # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
<|file_sep|>original/client/ruby/solr-ruby/lib/solr/solrtasks.rb <|file_sep|>current/client/ruby/solr-ruby/lib/solr/solrtasks.rb <|file_sep|>updated/client/ruby/solr-ruby/lib/solr/solrtasks.rb #!/usr/bin/env ruby # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not ...
2a452383c8ab7b9513ff5fdf7b8a70dfc94a74b3
client/ruby/solr-ruby/lib/solr/solrtasks.rb
client/ruby/solr-ruby/lib/solr/solrtasks.rb
Ruby
<|file_sep|>tests/backends/gstreamer.py.diff original: updated: import os <|file_sep|>tests/backends/gstreamer.py.diff original: updated: folder = os.path.dirname(__file__) folder = os.path.join(folder, '..', 'data') folder = os.path.abspath(folder) song = os.path.join(folder, 'song%s.mp3') song = 'file://' + song <...
BaseCurrentPlaylistControllerTest) folder = os.path.dirname(__file__) folder = os.path.join(folder, '..', 'data') folder = os.path.abspath(folder) song = os.path.join(folder, 'song%s.mp3') song = 'file://' + song class GStreamerCurrentPlaylistHandlerTest(BaseCurrentPlaylistContro...
<|file_sep|>tests/backends/gstreamer.py.diff original: updated: import os <|file_sep|>tests/backends/gstreamer.py.diff original: updated: folder = os.path.dirname(__file__) folder = os.path.join(folder, '..', 'data') folder = os.path.abspath(folder) song = os.path.join(folder, 'song%s.mp3') song = 'file://' + song <...
b0699b4683a241449889ee712ae57bb13f0e3eaa
tests/backends/gstreamer.py
tests/backends/gstreamer.py
Python
<|file_sep|>original/lenskit-api/src/main/java/org/lenskit/api/package-info.java <|file_sep|>current/lenskit-api/src/main/java/org/lenskit/api/package-info.java <|file_sep|>updated/lenskit-api/src/main/java/org/lenskit/api/package-info.java
/* * LensKit, an open source recommender systems toolkit. * Copyright 2010-2014 LensKit Contributors. See CONTRIBUTORS.md. * Work on LensKit has been funded by the National Science Foundation under * grants IIS 05-34939, 08-08692, 08-12148, and 10-17697. * * This program is free software; you can redistribute it...
<|file_sep|>original/lenskit-api/src/main/java/org/lenskit/api/package-info.java <|file_sep|>current/lenskit-api/src/main/java/org/lenskit/api/package-info.java <|file_sep|>updated/lenskit-api/src/main/java/org/lenskit/api/package-info.java /* * LensKit, an open source recommender systems toolkit. * Copyright 2010-...
b0ec0ff65ff1ac7f7371753fff375483b8551803
lenskit-api/src/main/java/org/lenskit/api/package-info.java
lenskit-api/src/main/java/org/lenskit/api/package-info.java
Java
<|file_sep|>original/console/kubernetes/darzee-deployment.yaml labels: app: darzee name: darzee-dc spec: selector: matchLabels: app: darzee replicas: 1 template: metadata: labels: app: darzee spec: containers: - name: darzee image: emcmongoose/darzee:ku...
app: darzee spec: containers: - name: darzee image: emcmongoose/darzee:kube ports: - name: nodejs-port containerPort: 8080 - name: prometheus-port containerPort: 9090 env: - name: NODE_JS_SERVER_FOLDER_PATH value: /pro...
<|file_sep|>original/console/kubernetes/darzee-deployment.yaml labels: app: darzee name: darzee-dc spec: selector: matchLabels: app: darzee replicas: 1 template: metadata: labels: app: darzee spec: containers: - name: darzee image: emcmongoose/darzee:ku...
72d7273c3d5d7ba48c3f7ae70a9fb01aa4783dcc
console/kubernetes/darzee-deployment.yaml
console/kubernetes/darzee-deployment.yaml
YAML
<|file_sep|>original/kube-up.sh #!/bin/bash required_command_exists() { command -v "$1" >/dev/null 2>&1 || { echo "$1 is required but is not installed. Aborting." >&2; exit 1; } } required_command_exists docker required_command_exists docker-compose required_command_exists kubectl docker info &>/dev/null if [ $?...
#!/bin/bash required_command_exists() { command -v "$1" &>/dev/null || { echo "$1 is required but is not installed. Aborting."; exit 1; } } required_command_exists docker required_command_exists docker-compose required_command_exists kubectl docker info &>/dev/null if [ $? != 0 ]; then echo "A running Docker e...
<|file_sep|>original/kube-up.sh #!/bin/bash required_command_exists() { command -v "$1" >/dev/null 2>&1 || { echo "$1 is required but is not installed. Aborting." >&2; exit 1; } } required_command_exists docker required_command_exists docker-compose required_command_exists kubectl docker info &>/dev/null if [ $?...
2e846692c700abbcbe385ddd3eace72222f5f266
kube-up.sh
kube-up.sh
Shell
<|file_sep|>original/tools/setup_testenv.sh <|file_sep|>current/tools/setup_testenv.sh <|file_sep|>updated/tools/setup_testenv.sh
#!/bin/bash CTYPES_VERSION=1.0.2 curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash . $HOME/.pythonz/etc/bashrc sudo apt-get install -y \ build-essential \ zlib1g-dev \ libbz2-dev \ libssl-dev \ libreadline-dev \ libncurses5-dev \ libsqlite3-dev \ libgdbm-dev...
<|file_sep|>original/tools/setup_testenv.sh <|file_sep|>current/tools/setup_testenv.sh <|file_sep|>updated/tools/setup_testenv.sh #!/bin/bash CTYPES_VERSION=1.0.2 curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash . $HOME/.pythonz/etc/bashrc sudo apt-get install -y \ build-essential \...
50b14908496a8b9af9c53cbc53574ef7d91abb64
tools/setup_testenv.sh
tools/setup_testenv.sh
Shell
<|file_sep|>original/spec/views/shared/milestones/_top.html.haml.rb <|file_sep|>current/spec/views/shared/milestones/_top.html.haml.rb <|file_sep|>updated/spec/views/shared/milestones/_top.html.haml.rb
require 'spec_helper' describe 'shared/milestones/_top.html.haml' do let(:group) { create(:group) } let(:project) { create(:project, group: group) } let(:milestone) { create(:milestone, project: project) } before do allow(milestone).to receive(:milestones) { [] } end it 'renders a deprecation message...
<|file_sep|>original/spec/views/shared/milestones/_top.html.haml.rb <|file_sep|>current/spec/views/shared/milestones/_top.html.haml.rb <|file_sep|>updated/spec/views/shared/milestones/_top.html.haml.rb require 'spec_helper' describe 'shared/milestones/_top.html.haml' do let(:group) { create(:group) } let(:projec...
eab81682b62eee96f14dd7391203627ea714a41d
spec/views/shared/milestones/_top.html.haml.rb
spec/views/shared/milestones/_top.html.haml.rb
Ruby
<|file_sep|>original/recipes/pyspike/meta.yaml {% set name = "pyspike" %} {% set version = "0.6.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyspike-{{ version }}.tar.gz sha256: c04f0dd5281e181e80a2f75f2289b445cb7663ca29de4...
{% set name = "pyspike" %} {% set version = "0.6.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://github.com/mariomulansky/PySpike/archive/{{ version }}.tar.gz sha256: ae06bd3373e5f4e471d2b46a40aff42b38e34cfbad986bdda6ce5eaeb2fac6af build: number: 0 script: {{ PYTHON }} ...
<|file_sep|>original/recipes/pyspike/meta.yaml {% set name = "pyspike" %} {% set version = "0.6.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pyspike-{{ version }}.tar.gz sha256: c04f0dd5281e181e80a2f75f2289b445cb7663ca29de4...
b5e736af27c17ea4e546fc694592e346d43fbb63
recipes/pyspike/meta.yaml
recipes/pyspike/meta.yaml
YAML
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup setup( name="segfault", version="0.0.1", author="Sean Kelly", author_email="sean.kelly.2992@gmail.com", description="A library that makes the Python interpreter segfault.", license="MIT", keywords="segfault", ...
#!/usr/bin/env python from setuptools import setup setup( name="segfault", version="0.0.1", author="Sean Kelly", author_email="sean.kelly.2992@gmail.com", description="A library that makes the Python interpreter segfault.", license="MIT", keywords="segfault", py_modules=['segfault', 'sat...
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup setup( name="segfault", version="0.0.1", author="Sean Kelly", author_email="sean.kelly.2992@gmail.com", description="A library that makes the Python interpreter segfault.", license="MIT", keywords="segfault", ...
c79b729a5dda5661a5eb2e640aa402aab6f397a2
setup.py
setup.py
Python
<|file_sep|>original/Sources/Quick/Configuration/QuickConfiguration.swift internal func qck_enumerateSubclasses<T: AnyObject>(_ klass: T.Type, block: (T.Type) -> Void) { var classesCount = objc_getClassList(nil, 0) guard classesCount > 0 else { return } let classes = UnsafeMutablePointer<AnyCl...
internal func qck_enumerateSubclasses<T: AnyObject>(_ klass: T.Type, block: (T.Type) -> Void) { var classesCount = objc_getClassList(nil, 0) guard classesCount > 0 else { return } let classes = UnsafeMutablePointer<AnyClass?>.allocate(capacity: Int(classesCount)) classesCount = objc_getCla...
<|file_sep|>original/Sources/Quick/Configuration/QuickConfiguration.swift internal func qck_enumerateSubclasses<T: AnyObject>(_ klass: T.Type, block: (T.Type) -> Void) { var classesCount = objc_getClassList(nil, 0) guard classesCount > 0 else { return } let classes = UnsafeMutablePointer<AnyCl...
3bfdafe79a13b01e9da72a7d893ae4ee43b543d3
Sources/Quick/Configuration/QuickConfiguration.swift
Sources/Quick/Configuration/QuickConfiguration.swift
Swift
<|file_sep|>original/README.adoc # react-popover :toc: macro A specification backed popover for react toc::[] ## Installation ---- npm install react-popover ---- ## Examples The `examples` folder contains basic applications of this component. To try them locally run `npm start`. <|file_sep|>current/README.ad...
# react-popover :toc: macro A specification backed popover for react. See [demo](https://littlebits.github.io/react-popover/build). toc::[] ## Installation ---- npm install react-popover ---- ## Examples The `examples` folder contains basic applications of this component. To try them locally run `npm start`.
<|file_sep|>original/README.adoc # react-popover :toc: macro A specification backed popover for react toc::[] ## Installation ---- npm install react-popover ---- ## Examples The `examples` folder contains basic applications of this component. To try them locally run `npm start`. <|file_sep|>current/README.ad...
32b8b3347d3ea8324e7097df1d414ceacb9dad7f
README.adoc
README.adoc
AsciiDoc
<|file_sep|>original/create_assets.sh fi } function create_host_var { if [ ! -f $HOST_VAR ]; then cp host_vars/$TEMPLATE_HOST.$ENVIRONMENT $HOST_VAR echo "" >> $HOST_VAR echo "# Flag indicating if the server software should or should not be" \ "patched" >> $HOST_VAR echo "server_patch: $Y...
fi } function create_host_var { if [ ! -f $HOST_VAR ]; then cp host_vars/$TEMPLATE_HOST.$ENVIRONMENT $HOST_VAR echo "" >> $HOST_VAR echo "# Flag indicating if the server software should or should not be" \ "patched" >> $HOST_VAR echo "server_patch: \"$YUM_UPDATE\"" >> $HOST_VAR else ...
<|file_sep|>original/create_assets.sh fi } function create_host_var { if [ ! -f $HOST_VAR ]; then cp host_vars/$TEMPLATE_HOST.$ENVIRONMENT $HOST_VAR echo "" >> $HOST_VAR echo "# Flag indicating if the server software should or should not be" \ "patched" >> $HOST_VAR echo "server_patch: $Y...
9a8d1a2c03db65b23b76b8a6cd552cbfd3d36858
create_assets.sh
create_assets.sh
Shell
<|file_sep|>website/app/application/core/projects/project/files/file-edit-controller.js.diff original: FileEditController.$inject = ['file', '$scope']; updated: FileEditController.$inject = ['file']; <|file_sep|>website/app/application/core/projects/project/files/file-edit-controller.js.diff original: funct...
(function (module) { module.controller("FileEditController", FileEditController); FileEditController.$inject = ['file']; /* @ngInject */ function FileEditController(file) { var ctrl = this; ctrl.file = file; } }(angular.module('materialscommons')));
<|file_sep|>website/app/application/core/projects/project/files/file-edit-controller.js.diff original: FileEditController.$inject = ['file', '$scope']; updated: FileEditController.$inject = ['file']; <|file_sep|>website/app/application/core/projects/project/files/file-edit-controller.js.diff original: funct...
b42046809a862efd147f9b08922ec4988ce941e4
website/app/application/core/projects/project/files/file-edit-controller.js
website/app/application/core/projects/project/files/file-edit-controller.js
JavaScript
<|file_sep|>original/site/index.html layout: default --- <div class="hero"> <div class="container"> <div class="hero__text"> <h1>Boba.js</h1> <p>A JavaScript library for Google&nbsp;Analytics</p> <div class="download-links"> <a href="boba.js" class="btn">download boba.js</a> </di...
layout: default --- <div class="hero"> <div class="container"> <div class="hero__text"> <h1>Boba.js</h1> <p>A JavaScript library for Google&nbsp;Analytics</p> <div class="download-links"> <a href="/js/boba.js" class="btn">download boba.js</a> </div> <ul class="h-list h-list...
<|file_sep|>original/site/index.html layout: default --- <div class="hero"> <div class="container"> <div class="hero__text"> <h1>Boba.js</h1> <p>A JavaScript library for Google&nbsp;Analytics</p> <div class="download-links"> <a href="boba.js" class="btn">download boba.js</a> </di...
6c8c9232e70508674f1aa05a0bc5432aa189174e
site/index.html
site/index.html
HTML
<|file_sep|>original/OOP-INF-2015/sollutions/homework1/main.cpp <|file_sep|>current/OOP-INF-2015/sollutions/homework1/main.cpp <|file_sep|>updated/OOP-INF-2015/sollutions/homework1/main.cpp
#include <iostream> #include <fstream> using namespace std; struct CarInfo { const char * name; int hp; }; const CarInfo CARS[] = { { "Lambordgini Murcielago", 670 }, { "Mercedes - AMG", 503 }, { "Pagani Zonda R", 740}, { "Bugatti Veyron", 1020} }; struct CarRecord { char name[24]; i...
<|file_sep|>original/OOP-INF-2015/sollutions/homework1/main.cpp <|file_sep|>current/OOP-INF-2015/sollutions/homework1/main.cpp <|file_sep|>updated/OOP-INF-2015/sollutions/homework1/main.cpp #include <iostream> #include <fstream> using namespace std; struct CarInfo { const char * name; int hp; }; const CarI...
a9d177b7d6f7ab17be421bbed7975b5cb4ba5f50
OOP-INF-2015/sollutions/homework1/main.cpp
OOP-INF-2015/sollutions/homework1/main.cpp
C++
<|file_sep|>original/pytips/models.py from pytips import db class TipQuery(BaseQuery): def random_tip(self): """Retrieve a random ``Tip``.""" return self.order_by(func.random()).first() class Tip(db.Model): """Represents a 'tip' for display.""" query_class = TipQuery id = db.Colum...
from pytips import db class TipQuery(BaseQuery): def random_tip(self): """Retrieve a random ``Tip``.""" return self.order_by(func.random()).first() def newest_tip(self): """Retrieve the ``Tip`` with the newest ``publication_date``.""" return self.filter(Tip.url.like('%twitte...
<|file_sep|>original/pytips/models.py from pytips import db class TipQuery(BaseQuery): def random_tip(self): """Retrieve a random ``Tip``.""" return self.order_by(func.random()).first() class Tip(db.Model): """Represents a 'tip' for display.""" query_class = TipQuery id = db.Colum...
52c78b7498f52d26cd5dc2ea27c6c0f2dc6db117
pytips/models.py
pytips/models.py
Python
<|file_sep|>original/web/app/themes/soluforce/template-home.php <?php /** * Template Name: Homepage */ $data = Timber::get_context(); $data['post'] = new TimberPost(); Timber::render('home.twig', $data); <|file_sep|>current/web/app/themes/soluforce/template-home.php <?php /** * Template Name: Homepa...
<?php /** * Template Name: Homepage */ $data = Timber::get_context(); $data['post'] = new TimberPost(); $data['carousel'] = get_field('acf_carousel_slides'); $data['sections'] = get_field('acf_content_blocks'); Timber::render('home.twig', $data);
<|file_sep|>original/web/app/themes/soluforce/template-home.php <?php /** * Template Name: Homepage */ $data = Timber::get_context(); $data['post'] = new TimberPost(); Timber::render('home.twig', $data); <|file_sep|>current/web/app/themes/soluforce/template-home.php <?php /** * Template Name: Homepa...
34836dae36d8dbdaf5067fdc6d4304d944283b68
web/app/themes/soluforce/template-home.php
web/app/themes/soluforce/template-home.php
PHP
<|file_sep|>original/compiler_source/6_actions_perl/template-runtime-code-standard-for-operand-count-variable.txt <|file_sep|>current/compiler_source/6_actions_perl/template-runtime-code-standard-for-operand-count-variable.txt <|file_sep|>updated/compiler_source/6_actions_perl/template-runtime-code-standard-for-opera...
# this code generated from standard template <new_line> template-runtime-code-for-every-action-begin $global_concatenated_all_operands = runtime-code-for-concatenated-all-operands ; <new_line> &function__ no-space action-name-with-underscores no-space ( ) ; <new_line> runtime-code-storage-item-result = $global_act...
<|file_sep|>original/compiler_source/6_actions_perl/template-runtime-code-standard-for-operand-count-variable.txt <|file_sep|>current/compiler_source/6_actions_perl/template-runtime-code-standard-for-operand-count-variable.txt <|file_sep|>updated/compiler_source/6_actions_perl/template-runtime-code-standard-for-opera...
0c2998040a82484e0b42598985f9959c3a2b9419
compiler_source/6_actions_perl/template-runtime-code-standard-for-operand-count-variable.txt
compiler_source/6_actions_perl/template-runtime-code-standard-for-operand-count-variable.txt
Text