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|>app/templates/src/main/webapp/scripts/components/auth/services/_password.service.js.diff original: angular.module('jhipsterApp') updated: angular.module('<%=angularAppName%>') <|file_sep|>original/app/templates/src/main/webapp/scripts/components/auth/services/_password.service.js 'use strict'; angular.modu...
'use strict'; angular.module('<%=angularAppName%>') .factory('Password', function ($resource) { return $resource('api/account/change_password', {}, { }); }); angular.module('<%=angularAppName%>') .factory('PasswordResetInit', function ($resource) { return $resource('api/account/res...
<|file_sep|>app/templates/src/main/webapp/scripts/components/auth/services/_password.service.js.diff original: angular.module('jhipsterApp') updated: angular.module('<%=angularAppName%>') <|file_sep|>original/app/templates/src/main/webapp/scripts/components/auth/services/_password.service.js 'use strict'; angular.modu...
477008c7835c322714e993a6685d7d39809a541e
app/templates/src/main/webapp/scripts/components/auth/services/_password.service.js
app/templates/src/main/webapp/scripts/components/auth/services/_password.service.js
JavaScript
<|file_sep|>original/src/refactored.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Florence</title> <link rel="stylesheet" href="/florence/dist/css/main.css"> </head> <body> <noscript><h1>Enable Javascript to use Florence</h1></noscript> <div id="app"></div> <!-- We're using an...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Florence</title> <link rel="stylesheet" href="/florence/dist/css/main.css"> </head> <body> <noscript><h1>Enable Javascript to use Florence</h1></noscript> <div id="app"></div> <!-- We're using an external version of ResumableJS (from ht...
<|file_sep|>original/src/refactored.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Florence</title> <link rel="stylesheet" href="/florence/dist/css/main.css"> </head> <body> <noscript><h1>Enable Javascript to use Florence</h1></noscript> <div id="app"></div> <!-- We're using an...
3f21d1688272c3adb33d76264b488d24e979556b
src/refactored.html
src/refactored.html
HTML
<|file_sep|>original/cpp/cpp_odbc/Library/cpp_odbc/level2/u16string_buffer.h #pragma once #include <string> #include <vector> #include <sqltypes.h> namespace cpp_odbc { namespace level2 { /** * @brief This class represents a buffer for u16strings for use with the unixodbc C API. */ class u16string_buffer { public:...
#pragma once #include <string> #include <vector> #include <sql.h> namespace cpp_odbc { namespace level2 { /** * @brief This class represents a buffer for u16strings for use with the unixodbc C API. */ class u16string_buffer { public: /** * @brief Constructs a new string buffer with the given capacity, i.e...
<|file_sep|>original/cpp/cpp_odbc/Library/cpp_odbc/level2/u16string_buffer.h #pragma once #include <string> #include <vector> #include <sqltypes.h> namespace cpp_odbc { namespace level2 { /** * @brief This class represents a buffer for u16strings for use with the unixodbc C API. */ class u16string_buffer { public:...
aa22b1c3df494da25286a787c9c5bfa6fa37c468
cpp/cpp_odbc/Library/cpp_odbc/level2/u16string_buffer.h
cpp/cpp_odbc/Library/cpp_odbc/level2/u16string_buffer.h
C
<|file_sep|>source/content/index.jade.diff original: title: Site Title description: Site description goes here. updated: title: "Site Title" description: "Site description goes here." <|file_sep|>source/content/index.jade.diff original: header.pitch :markdown # Site Pitch AIDA block. updated: :markd...
--- title: "Site Title" description: "Site description goes here." --- extends ../templates/page block vars - bodyClass = 'home' block page-header :markdown # Site Pitch AIDA block. a.primary.button(href='#') Call to Action block content :markdown Content here.
<|file_sep|>source/content/index.jade.diff original: title: Site Title description: Site description goes here. updated: title: "Site Title" description: "Site description goes here." <|file_sep|>source/content/index.jade.diff original: header.pitch :markdown # Site Pitch AIDA block. updated: :markd...
16d405fe0cbcb415d689c9d12a08ef04cb7e937a
source/content/index.jade
source/content/index.jade
Jade
<|file_sep|>app/views/browse/_investigation_other_data.html.haml.diff original: - unless investigation.domain.name.nil? updated: - unless investigation.grade_span_expectation.nil? <|file_sep|>original/app/views/browse/_investigation_other_data.html.haml .investigation_other_data - unless investigation.domain.name...
.investigation_other_data - unless investigation.grade_span_expectation.nil? .data_header Scientific Domain .data_value = investigation.domain.name .data_header Grade .data_value = investigation.grade_span - required_equipments = probe_types(investigation).map { |p| p.name }.join(", ")...
<|file_sep|>app/views/browse/_investigation_other_data.html.haml.diff original: - unless investigation.domain.name.nil? updated: - unless investigation.grade_span_expectation.nil? <|file_sep|>original/app/views/browse/_investigation_other_data.html.haml .investigation_other_data - unless investigation.domain.name...
f9b43fbc5bae9f15beced0e9f3e8a3545b39ddc8
app/views/browse/_investigation_other_data.html.haml
app/views/browse/_investigation_other_data.html.haml
Haml
<|file_sep|>original/package.json { "name": "gulp-sass-plotter", "version": "0.0.1", "description": "Gulp adapter for sass-plotter.", "main": "index.js", "scripts": { "test": "mocha test/" }, "keywords": [ "gulp-sass-plotter", "sass-plotter", "gulp", "gulp-sass", "gulp-sass-graph",...
{ "name": "gulp-sass-plotter", "version": "0.0.0", "description": "Gulp adapter for sass-plotter.", "main": "index.js", "scripts": { "test": "mocha test/" }, "keywords": [ "gulp-sass-plotter", "sass-plotter", "gulp", "gulp-sass", "gulp-sass-graph", "productivity", "sass", ...
<|file_sep|>original/package.json { "name": "gulp-sass-plotter", "version": "0.0.1", "description": "Gulp adapter for sass-plotter.", "main": "index.js", "scripts": { "test": "mocha test/" }, "keywords": [ "gulp-sass-plotter", "sass-plotter", "gulp", "gulp-sass", "gulp-sass-graph",...
7a9879cc720488aadbfa68610322b1da04966626
package.json
package.json
JSON
<|file_sep|>original/circle.yml machine: ruby: version: 2.3.1 checkout: post: - git submodule sync - git submodule update --init # use submodules # We need to manually git push to Heroku because Lecture Hall depends on # submodules and Heroku only supports submodules when deploying through git. ...
machine: ruby: version: 2.3.1 environment: SEGMENT_WRITE_KEY: foobar checkout: post: - git submodule sync - git submodule update --init # use submodules # We need to manually git push to Heroku because Lecture Hall depends on # submodules and Heroku only supports submodules when deploying ...
<|file_sep|>original/circle.yml machine: ruby: version: 2.3.1 checkout: post: - git submodule sync - git submodule update --init # use submodules # We need to manually git push to Heroku because Lecture Hall depends on # submodules and Heroku only supports submodules when deploying through git. ...
a8fbee8cfd4e951726219f593e2a37c461cf28cb
circle.yml
circle.yml
YAML
<|file_sep|>src/main/omr/sheet/PixelPoint.java.diff original: public PixelPoint (Point point) updated: public PixelPoint (int x, int y) <|file_sep|>original/src/main/omr/sheet/PixelPoint.java * @author Herv&eacute; Bitteur * @version $Id$ */ public class PixelPoint extends Poin...
* @version $Id$ */ public class PixelPoint extends Point { //------------// // PixelPoint // //------------// public PixelPoint () { } //------------// // PixelPoint // //------------// public PixelPoint (int x, int y) { super(x, y); ...
<|file_sep|>src/main/omr/sheet/PixelPoint.java.diff original: public PixelPoint (Point point) updated: public PixelPoint (int x, int y) <|file_sep|>original/src/main/omr/sheet/PixelPoint.java * @author Herv&eacute; Bitteur * @version $Id$ */ public class PixelPoint extends Poin...
02538756680805e08950e46ddf44c667853f622a
src/main/omr/sheet/PixelPoint.java
src/main/omr/sheet/PixelPoint.java
Java
<|file_sep|>original/cmake/bld.bat @echo off copy /y bin\*.dll %PREFIX%\ > nul copy /y bin\cmake.exe %PREFIX%\ > nul xcopy share %PREFIX%\share /E /I > nul <|file_sep|>current/cmake/bld.bat @echo off copy /y bin\*.dll %PREFIX%\ > nul copy /y bin\cmake.exe %PREFIX%\ > nul xcopy share %PREFIX%\share /E /I > nul <|file_se...
@echo off xcopy bin %LIBRARY_BIN%\bin /E /I > nul xcopy share %LIBRARY_BIN%\share /E /I > nul
<|file_sep|>original/cmake/bld.bat @echo off copy /y bin\*.dll %PREFIX%\ > nul copy /y bin\cmake.exe %PREFIX%\ > nul xcopy share %PREFIX%\share /E /I > nul <|file_sep|>current/cmake/bld.bat @echo off copy /y bin\*.dll %PREFIX%\ > nul copy /y bin\cmake.exe %PREFIX%\ > nul xcopy share %PREFIX%\share /E /I > nul <|file_se...
7494aab0684929f50c23a1a8b0de301880eb2c50
cmake/bld.bat
cmake/bld.bat
Batchfile
<|file_sep|>README.md.diff original: updated: [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftascape%2Freactor.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftascape%2Freactor?ref=badge_shield) <|file_sep|>original/README.md Reactor is an automation framework, which includes...
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftascape%2Freactor.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftascape%2Freactor?ref=badge_shield) Reactor is an automation framework, which includes case management, execution engine, and reporting web app, which is in project...
<|file_sep|>README.md.diff original: updated: [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ftascape%2Freactor.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Ftascape%2Freactor?ref=badge_shield) <|file_sep|>original/README.md Reactor is an automation framework, which includes...
6b2d2b2152e810636b468d413b2bd68de4e4714f
README.md
README.md
Markdown
<|file_sep|>.appveyor.yml.diff original: - conda update -q conda updated: <|file_sep|>original/.appveyor.yml - conda config --add channels conda-forge - conda update -q conda - conda info -a - "conda create -n testenv --yes python=%PYTHON_VERSION% \ flask \ isodate \ networkx \ ...
- conda config --add channels conda-forge - conda info -a - "conda create -n testenv --yes python=%PYTHON_VERSION% \ flask \ isodate \ networkx \ numpy \ pint \ pyarrow \ pytest \ python-dateutil \ ruamel.yaml \ rtree \ scikit...
<|file_sep|>.appveyor.yml.diff original: - conda update -q conda updated: <|file_sep|>original/.appveyor.yml - conda config --add channels conda-forge - conda update -q conda - conda info -a - "conda create -n testenv --yes python=%PYTHON_VERSION% \ flask \ isodate \ networkx \ ...
3106ccf8bedc12f6bd4f79306c9c38a78377e817
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/test/integration/home_page_layout_test.rb <|file_sep|>current/test/integration/home_page_layout_test.rb <|file_sep|>updated/test/integration/home_page_layout_test.rb
require 'test_helper' class HomePageLayoutTest < ActionDispatch::IntegrationTest test "layout links" do get root_path assert_template "home_page/home" assert_select "a[href=?]", "#portfolio" assert_select "a[href=?]", "#about" assert_select "a[href=?]", "#contact" end end
<|file_sep|>original/test/integration/home_page_layout_test.rb <|file_sep|>current/test/integration/home_page_layout_test.rb <|file_sep|>updated/test/integration/home_page_layout_test.rb require 'test_helper' class HomePageLayoutTest < ActionDispatch::IntegrationTest test "layout links" do get root_path asse...
bf9f8ced92db193641134fa8d80a4adb09bbeab5
test/integration/home_page_layout_test.rb
test/integration/home_page_layout_test.rb
Ruby
<|file_sep|>original/README.md Spree Waiting List ================ [![Code Climate](https://codeclimate.com/github/ddomingues/spree_waiting_list/badges/gpa.svg)](https://codeclimate.com/github/ddomingues/spree_waiting_list) A waiting list extension for Spree. Users and guests can request to be notified via email when...
Spree Waiting List ================ [![Code Climate](https://codeclimate.com/github/DynamoMTL/spree_waiting_list/badges/gpa.svg)](https://codeclimate.com/github/DynamoMTL/spree_waiting_list) A waiting list extension for Spree. Users and guests can request to be notified via email when a product/variant comes back in ...
<|file_sep|>original/README.md Spree Waiting List ================ [![Code Climate](https://codeclimate.com/github/ddomingues/spree_waiting_list/badges/gpa.svg)](https://codeclimate.com/github/ddomingues/spree_waiting_list) A waiting list extension for Spree. Users and guests can request to be notified via email when...
e6b7fe4504444cc47298e7f25093af19bf0a7add
README.md
README.md
Markdown
<|file_sep|>original/scripts/test.bat bash scripts/test.sh REM store return code set return=%errorlevel% call scripts\kill_applications.bat > kill.log exit /B %return% <|file_sep|>current/scripts/test.bat bash scripts/test.sh REM store return code set return=%errorlevel% call scripts\kill_applications.bat > kill.log ex...
bash scripts/test.sh REM store return code set return=%errorlevel% call scripts\kill_applications.bat > kill.log 2>&1 exit /B %return%
<|file_sep|>original/scripts/test.bat bash scripts/test.sh REM store return code set return=%errorlevel% call scripts\kill_applications.bat > kill.log exit /B %return% <|file_sep|>current/scripts/test.bat bash scripts/test.sh REM store return code set return=%errorlevel% call scripts\kill_applications.bat > kill.log ex...
266c5c8824085d265bad25a06ee56e18ba77dbbc
scripts/test.bat
scripts/test.bat
Batchfile
<|file_sep|>original/src/main/resources/templates/security/sign-in.html </head> <body> <div layout:fragment="content"> <div class="alert alert-danger" role="alert" th:if="${param.error}"> Invalid user name and/or password. </div> <form th:action="@{/sign-in}" method="post"> <div class="form-gr...
<body> <div layout:fragment="content"> <div class="alert alert-danger" role="alert" th:if="${param.error}"> Invalid user name and/or password. </div> <form th:action="@{/sign-in}" method="post"> <div class="form-group" th:classappend="${param.error}? has-error"> <label for="username">U...
<|file_sep|>original/src/main/resources/templates/security/sign-in.html </head> <body> <div layout:fragment="content"> <div class="alert alert-danger" role="alert" th:if="${param.error}"> Invalid user name and/or password. </div> <form th:action="@{/sign-in}" method="post"> <div class="form-gr...
38bb1942a277d087edb4251134bf5db4bfff43aa
src/main/resources/templates/security/sign-in.html
src/main/resources/templates/security/sign-in.html
HTML
<|file_sep|>original/.jitpack.yml install: - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh - source ./install-jdk.sh -F 11 -L GPL - ./gradlew --version - ./gradlew publishToMavenLocal -x test <|file_sep|>current/.jitpack.yml install: - wget https://github.com/sormuras/bach/raw/master/install...
install: - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh - source ./install-jdk.sh --feature 12 - ./gradlew --version - ./gradlew publishToMavenLocal -x test
<|file_sep|>original/.jitpack.yml install: - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh - source ./install-jdk.sh -F 11 -L GPL - ./gradlew --version - ./gradlew publishToMavenLocal -x test <|file_sep|>current/.jitpack.yml install: - wget https://github.com/sormuras/bach/raw/master/install...
76b4770a4d586bff63f76540f6ded089c607354b
.jitpack.yml
.jitpack.yml
YAML
<|file_sep|>original/src/Backend/Core/Layout/Templates/messaging.html.twig {% import '/Layout/Templates/macros.html.twig' as macro %} <div id="messaging" class="alerts-messaging-wrapper"> <noscript> {{ macro.alert('warning', 'err.JavascriptNotEnabled'|trans|ucfirst) }} </noscript> {{ macro.alert('danger', '...
{% import '/Layout/Templates/macros.html.twig' as macro %} <div id="messaging" class="alerts-messaging-wrapper"> <noscript> {{ macro.alert('warning', 'err.JavascriptNotEnabled'|trans|ucfirst) }} </noscript> {{ macro.alert('danger', 'err.CookiesNotEnabled'|trans|ucfirst, null, 'noCookies', [], false) }} </di...
<|file_sep|>original/src/Backend/Core/Layout/Templates/messaging.html.twig {% import '/Layout/Templates/macros.html.twig' as macro %} <div id="messaging" class="alerts-messaging-wrapper"> <noscript> {{ macro.alert('warning', 'err.JavascriptNotEnabled'|trans|ucfirst) }} </noscript> {{ macro.alert('danger', '...
40b3d140f6ab1441c0a55a9d59236a0d6169a651
src/Backend/Core/Layout/Templates/messaging.html.twig
src/Backend/Core/Layout/Templates/messaging.html.twig
Twig
<|file_sep|>original/src/Components/Button/index.js import React from 'react' import './style.css' const Button = (props) => { const buttonStyle = { backgroundColor: props.backgroundColor } return( <button id={props.id} style={buttonStyle} onClick={props.onClick}>{props.buttonText}</butto...
import React from 'react' import './style.css' function Button(props) { const buttonStyle = { backgroundColor: props.backgroundColor } return( <button id={props.id} style={buttonStyle} onClick={props.onClick}>{props.buttonText}</button> ) } export default Button
<|file_sep|>original/src/Components/Button/index.js import React from 'react' import './style.css' const Button = (props) => { const buttonStyle = { backgroundColor: props.backgroundColor } return( <button id={props.id} style={buttonStyle} onClick={props.onClick}>{props.buttonText}</butto...
d97bd811e7ed96c97993ca1c2f22ae1fc725938c
src/Components/Button/index.js
src/Components/Button/index.js
JavaScript
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists <|file_sep|>current/gradle/wrapper/gradle-wrapper.proper...
324d6c89ebe81b6c6f1c33731e5f3d2a15dde685
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/lib/generators/partisan/templates/migration.rb class AddFollowsMigration < ActiveRecord::Migration def up create_table :follows do |t| t.references :followable, polymorphic: true t.references :follower, polymorphic: true t.timestamps null: false end add_index :foll...
class AddFollowsMigration < ActiveRecord::Migration def up create_table :follows do |t| t.references :followable, polymorphic: true t.references :follower, polymorphic: true t.timestamps null: false end add_index :follows, ['follower_id', 'follower_type'], name: 'index_partisan_followe...
<|file_sep|>original/lib/generators/partisan/templates/migration.rb class AddFollowsMigration < ActiveRecord::Migration def up create_table :follows do |t| t.references :followable, polymorphic: true t.references :follower, polymorphic: true t.timestamps null: false end add_index :foll...
dbab0bfd59bb0805228bfa9600bca515ca4879a5
lib/generators/partisan/templates/migration.rb
lib/generators/partisan/templates/migration.rb
Ruby
<|file_sep|>original/messaging.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '1.3.0.2' s.summary = 'Common primitives for platform-specific messaging implementations for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'open...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '1.3.1.0' s.summary = 'Common primitives for platform-specific messaging implementations for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homepa...
<|file_sep|>original/messaging.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '1.3.0.2' s.summary = 'Common primitives for platform-specific messaging implementations for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'open...
43d921998ab03e05a73e82a2467ddf05734e8842
messaging.gemspec
messaging.gemspec
Ruby
<|file_sep|>original/.github/workflows/Coverage.yml with: fetch-depth: 0 - name: apt update run: apt update -y && apt upgrade -y - name: Build from src run: mkdir build && cd build && cmake -DBUILD_COVERAGE=1 .. && make - name: set PYTHONPATH run: ec...
with: fetch-depth: 0 - name: apt update run: apt update -y && apt upgrade -y - name: Build from src run: mkdir build && cd build && cmake -DBUILD_COVERAGE=1 .. && make - name: set PYTHONPATH run: echo PYTHONPATH=/gnina-runner/_work/gnina/gnina/build/...
<|file_sep|>original/.github/workflows/Coverage.yml with: fetch-depth: 0 - name: apt update run: apt update -y && apt upgrade -y - name: Build from src run: mkdir build && cd build && cmake -DBUILD_COVERAGE=1 .. && make - name: set PYTHONPATH run: ec...
05124f00be92e0efe3feeaba4c5dd37f9e729d54
.github/workflows/Coverage.yml
.github/workflows/Coverage.yml
YAML
<|file_sep|>original/pkg/instance/posix.go // +build linux darwin package instance // DirName returns the name of the subdirectory where instance data are stored. // On Posix systems, it's the instance domain name. func (i *Instance) DirName() string { return i.Domain } <|file_sep|>current/pkg/instance/posix.go // +...
// +build !windows package instance // DirName returns the name of the subdirectory where instance data are stored. // On Posix systems, it's the instance domain name. func (i *Instance) DirName() string { return i.Domain }
<|file_sep|>original/pkg/instance/posix.go // +build linux darwin package instance // DirName returns the name of the subdirectory where instance data are stored. // On Posix systems, it's the instance domain name. func (i *Instance) DirName() string { return i.Domain } <|file_sep|>current/pkg/instance/posix.go // +...
d7eb8482fb15bde116b582c29e1a9437fcea4971
pkg/instance/posix.go
pkg/instance/posix.go
Go
<|file_sep|>original/opwen_email_server/backend/email_sender.py from typing import Tuple from opwen_email_server import azure_constants as constants from opwen_email_server import config from opwen_email_server.services.queue import AzureQueue from opwen_email_server.services.sendgrid import SendgridEmailSender QUEUE...
EMAIL = SendgridEmailSender(key=config.EMAIL_SENDER_KEY) def send(email: dict) -> Tuple[str, int]: success = EMAIL.send_email(email) if not success: return 'error', 500 return 'sent', 200 if __name__ == '__main__': from argparse import ArgumentParser from json import loads from uui...
<|file_sep|>original/opwen_email_server/backend/email_sender.py from typing import Tuple from opwen_email_server import azure_constants as constants from opwen_email_server import config from opwen_email_server.services.queue import AzureQueue from opwen_email_server.services.sendgrid import SendgridEmailSender QUEUE...
0d7add686605d9d86e688f9f65f617555282ab60
opwen_email_server/backend/email_sender.py
opwen_email_server/backend/email_sender.py
Python
<|file_sep|>original/README.md thephpleague.com ---------------- This is the source for [thephpleague.com]. It is automatically compiled by [Jekyll] every time a pull request is merged. [thephpleague.com]: http://thephpleague.com [Jekyll]: https://github.com/jekyll/jekyll Contributing ============ 1. If you not...
thephpleague.com ---------------- This is the source for [thephpleague.com]. It is automatically compiled by [Jekyll] every time a pull request is merged. (The source code for individual League projects can be found in their respective repositories in the `gh-pages` branch.) [thephpleague.com]: http://thephpleague....
<|file_sep|>original/README.md thephpleague.com ---------------- This is the source for [thephpleague.com]. It is automatically compiled by [Jekyll] every time a pull request is merged. [thephpleague.com]: http://thephpleague.com [Jekyll]: https://github.com/jekyll/jekyll Contributing ============ 1. If you not...
be57be01b5e8f25238abeb8a5794942258583fef
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - 2.6 - 2.7 - 3.3 install: "pip install Django==$DJANGO_VERSION --use-mirrors" script: ./runtests.py env: - DJANGO_VERSION=1.4.5 - DJANGO_VERSION=1.5 matrix: exclude: - python: 3.3 env: DJANGO_VERSION=1.4.5 <|file_sep|>current/.travis.yml la...
language: python python: - 2.6 - 2.7 - 3.3 install: "pip install Django==$DJANGO_VERSION --use-mirrors" script: ./runtests.py env: - DJANGO_VERSION=1.4.16 - DJANGO_VERSION=1.5.11 - DJANGO_VERSION=1.6.8 - DJANGO_VERSION=1.7.1 matrix: exclude: - python: 3.3 env: DJANGO_VERSION=1.4.5
<|file_sep|>original/.travis.yml language: python python: - 2.6 - 2.7 - 3.3 install: "pip install Django==$DJANGO_VERSION --use-mirrors" script: ./runtests.py env: - DJANGO_VERSION=1.4.5 - DJANGO_VERSION=1.5 matrix: exclude: - python: 3.3 env: DJANGO_VERSION=1.4.5 <|file_sep|>current/.travis.yml la...
d90866a538e46cc37c605ebfc9e2b9a11b7526c6
.travis.yml
.travis.yml
YAML
<|file_sep|>datafiles/templates/hackagePageHeader.st.diff original: updated: $if(title)$ $title$ $else$ <a class="caption" href="/">Hackage :: [Package]</a> $endif$ <|file_sep|>original/datafiles/templates/hackagePageHeader.st <input type="text" name="terms" /> </form> </li> <li><a href="/p...
<li><a href="/">Home</a></li> <li> <form action="/packages/search" method="get" class="search"> <button type="submit">Search&nbsp;</button> <input type="text" name="terms" /> </form> </li> <li><a href="/packages/browse">Browse</a></li> <li><a href="/packages/recent">W...
<|file_sep|>datafiles/templates/hackagePageHeader.st.diff original: updated: $if(title)$ $title$ $else$ <a class="caption" href="/">Hackage :: [Package]</a> $endif$ <|file_sep|>original/datafiles/templates/hackagePageHeader.st <input type="text" name="terms" /> </form> </li> <li><a href="/p...
b261e9c3af4a91f559f8367f2890120033d1ed53
datafiles/templates/hackagePageHeader.st
datafiles/templates/hackagePageHeader.st
Smalltalk
<|file_sep|>original/states/common/jenkins/configure_views_ext/build_pipeline_view.xml <|file_sep|>current/states/common/jenkins/configure_views_ext/build_pipeline_view.xml <|file_sep|>updated/states/common/jenkins/configure_views_ext/build_pipeline_view.xml
<?xml version="1.0" encoding="UTF-8"?> <au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView plugin="build-pipeline-plugin@1.4.7"> <name>{{ view_name }}</name> <filterExecutors>false</filterExecutors> <filterQueue>false</filterQueue> <properties class="hudson.model.View$PropertyList"/> <gridBui...
<|file_sep|>original/states/common/jenkins/configure_views_ext/build_pipeline_view.xml <|file_sep|>current/states/common/jenkins/configure_views_ext/build_pipeline_view.xml <|file_sep|>updated/states/common/jenkins/configure_views_ext/build_pipeline_view.xml <?xml version="1.0" encoding="UTF-8"?> <au.com.centrumsyste...
77e3b1d34060838090c17611b2879d140afe2cfb
states/common/jenkins/configure_views_ext/build_pipeline_view.xml
states/common/jenkins/configure_views_ext/build_pipeline_view.xml
XML
<|file_sep|>original/microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft.WindowsAzure.Configuration")] [assembly: AssemblyDescription(...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft.WindowsAzure.Configuration")] [assembly: AssemblyDescription("Configuration API for Windows Azure services.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Mic...
<|file_sep|>original/microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft.WindowsAzure.Configuration")] [assembly: AssemblyDescription(...
db87c10949908d1b6fdc5b45d61751d5e7732ab0
microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs
microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs
C#
<|file_sep|>original/README.md # Stanford Engineering CS193p: Developing iOS 9 Apps with Swift This repo contains my lecture notes and projects from Paul Hegarty's classic [CS 193p iPhone Application Development course](http://web.stanford.edu/class/cs193p/cgi-bin/drupal/) offered by The School of Engineering at Stanfo...
# Stanford Engineering CS193p: Developing iOS 9 Apps with Swift This repo contains my lecture notes and projects from Paul Hegarty's classic [CS 193p iPhone Application Development course](http://web.stanford.edu/class/cs193p/cgi-bin/drupal/) offered by The School of Engineering at Stanford. <img src="https://raw.gith...
<|file_sep|>original/README.md # Stanford Engineering CS193p: Developing iOS 9 Apps with Swift This repo contains my lecture notes and projects from Paul Hegarty's classic [CS 193p iPhone Application Development course](http://web.stanford.edu/class/cs193p/cgi-bin/drupal/) offered by The School of Engineering at Stanfo...
50ebe4eee7ebc3037759dc61a7c30b1febe37e31
README.md
README.md
Markdown
<|file_sep|>original/buildspec.yml build: commands: - $(npm bin)/gulp build - $(npm bin)/gulp test - $(npm bin)/gulp document post_build: commands: # Update Api - aws lambda update-function-code --function-name "${REKT_CREATE_REVIEW_LAMBDA_ARN}" --zip-file "fileb://$(pwd)/dis...
build: commands: - $(npm bin)/gulp build - $(npm bin)/gulp test - $(npm bin)/gulp document post_build: commands: # Update Api - aws lambda update-function-code --function-name "${REKT_CREATE_REVIEW_LAMBDA_ARN}" --zip-file "fileb://$(pwd)/dist/aws/lambda-api-gateway.zip" ...
<|file_sep|>original/buildspec.yml build: commands: - $(npm bin)/gulp build - $(npm bin)/gulp test - $(npm bin)/gulp document post_build: commands: # Update Api - aws lambda update-function-code --function-name "${REKT_CREATE_REVIEW_LAMBDA_ARN}" --zip-file "fileb://$(pwd)/dis...
13a3a5ec166ba10aa90f5b854c780b9468c76e69
buildspec.yml
buildspec.yml
YAML
<|file_sep|>package.json.diff original: "name": "keybar", "version": "0.0.0", "repository": { "type": "git", "url": "ssh://git@github.com/keybar/keybar.git" }, updated: "name": "keybar", "version": "0.0.0", "repository": { "type": "git", "url": "ssh://git@github.com/keybar/...
"version": "0.0.0", "repository": { "type": "git", "url": "ssh://git@github.com/keybar/keybar.git" }, "dependencies": { "bower": "^1.3.12", "grunt": "^0.4.5", "grunt-cli": "^0.1.13", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-jshint": "^0.10.0", "grunt-contrib-sass": "^0.8.1...
<|file_sep|>package.json.diff original: "name": "keybar", "version": "0.0.0", "repository": { "type": "git", "url": "ssh://git@github.com/keybar/keybar.git" }, updated: "name": "keybar", "version": "0.0.0", "repository": { "type": "git", "url": "ssh://git@github.com/keybar/...
82ccab234f0a7c81d9231f8b5d67f002e674adcb
package.json
package.json
JSON
<|file_sep|>.github/ISSUE_TEMPLATE/1_Bug_report.md.diff original: <!-- optional. If applicable, add screenshots and/or logs to help explain your problem updated: <!-- optional. If applicable, add screenshots and/or logs to help explain your problem. Open developer console (F12 or Ctrl + Shift + I) and copy paste or ma...
### Expected behavior <!-- A clear and concise description of what you expected to happen. --> ### Screenshots and logs <!-- optional. If applicable, add screenshots and/or logs to help explain your problem. Open developer console (F12 or Ctrl + Shift + I) and copy paste or make a screenshot of error messages in red...
<|file_sep|>.github/ISSUE_TEMPLATE/1_Bug_report.md.diff original: <!-- optional. If applicable, add screenshots and/or logs to help explain your problem updated: <!-- optional. If applicable, add screenshots and/or logs to help explain your problem. Open developer console (F12 or Ctrl + Shift + I) and copy paste or ma...
7c7a61af9e2c6e35a4352eed10a089bb69fe9167
.github/ISSUE_TEMPLATE/1_Bug_report.md
.github/ISSUE_TEMPLATE/1_Bug_report.md
Markdown
<|file_sep|>original/automation-solution/bootstrapAgent.ps1 if ( $error[0] ) { Write-Host "[$scriptName] `$error[0] = $error"; exit 3 } if (( $LASTEXITCODE ) -and ( $LASTEXITCODE -ne 0 )) { Write-Host "[$scriptName] `$LASTEXITCODE = $LASTEXITCODE "; exit $LASTEXITCODE } } # Use the CDAF provisioning helpers Wr...
if ( $error[0] ) { Write-Host "[$scriptName] `$error[0] = $error"; exit 3 } if (( $LASTEXITCODE ) -and ( $LASTEXITCODE -ne 0 )) { Write-Host "[$scriptName] `$LASTEXITCODE = $LASTEXITCODE "; exit $LASTEXITCODE } } # Use the CDAF provisioning helpers Write-Host "`n[$scriptName] ---------- start ----------`n" if...
<|file_sep|>original/automation-solution/bootstrapAgent.ps1 if ( $error[0] ) { Write-Host "[$scriptName] `$error[0] = $error"; exit 3 } if (( $LASTEXITCODE ) -and ( $LASTEXITCODE -ne 0 )) { Write-Host "[$scriptName] `$LASTEXITCODE = $LASTEXITCODE "; exit $LASTEXITCODE } } # Use the CDAF provisioning helpers Wr...
d6bd456b947190aff4ada8a309b49eb3dd3fe5b9
automation-solution/bootstrapAgent.ps1
automation-solution/bootstrapAgent.ps1
PowerShell
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode9 before_install: - gem install cocoapods - carthage bootstrap --platform ios install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - rake build:ios DESTINATION='OS=10.0,name=iPhone 6s' - rake build:ios DESTINA...
language: objective-c osx_image: xcode10 before_install: - gem install cocoapods - carthage bootstrap --platform ios install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - rake build:ios DESTINATION='OS=10.0,name=iPhone 6s' - rake build:ios DESTINATION='platform=iOS Simulator,nam...
<|file_sep|>original/.travis.yml language: objective-c osx_image: xcode9 before_install: - gem install cocoapods - carthage bootstrap --platform ios install: - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: - rake build:ios DESTINATION='OS=10.0,name=iPhone 6s' - rake build:ios DESTINA...
d0ba6bda64a48f103d4ebce6734e5c63c8862f7c
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata/fr.guillaumevillena.opendnsupdater.yml.diff original: updated: - versionName: 2.2.0 versionCode: 220 commit: v2.2.0 subdir: app gradle: - yes <|file_sep|>original/metadata/fr.guillaumevillena.opendnsupdater.yml Repo: https://github.com/Willena/OpenDNSUpdater Builds: - v...
gradle: - yes - versionName: 2.1.3 versionCode: 10 commit: v2.1.3 subdir: app gradle: - yes - versionName: 2.2.0 versionCode: 220 commit: v2.2.0 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 2.2.0 CurrentVersionCo...
<|file_sep|>metadata/fr.guillaumevillena.opendnsupdater.yml.diff original: updated: - versionName: 2.2.0 versionCode: 220 commit: v2.2.0 subdir: app gradle: - yes <|file_sep|>original/metadata/fr.guillaumevillena.opendnsupdater.yml Repo: https://github.com/Willena/OpenDNSUpdater Builds: - v...
5e33e21103b5446113c39b5573d3822db27c3204
metadata/fr.guillaumevillena.opendnsupdater.yml
metadata/fr.guillaumevillena.opendnsupdater.yml
YAML
<|file_sep|>original/application/views/todoindex.php <|file_sep|>current/application/views/todoindex.php <|file_sep|>updated/application/views/todoindex.php
<?php $this->load->helper('form'); //echo '<pre>'; //var_dump($data); //echo '</pre>'; ?> <div class="container"> <div class="row"> <div class="col-xs-1"></div> <div class="col-xs-10"> <h1>CI - Todo</h1> <div class="todo-container"> <div class="todo-list"> <?php if(!empty($data)) // display ...
<|file_sep|>original/application/views/todoindex.php <|file_sep|>current/application/views/todoindex.php <|file_sep|>updated/application/views/todoindex.php <?php $this->load->helper('form'); //echo '<pre>'; //var_dump($data); //echo '</pre>'; ?> <div class="container"> <div class="row"> <div class="col-xs-1"><...
3297e611f9a8a6ea24f5278868659b98d70ec8d0
application/views/todoindex.php
application/views/todoindex.php
PHP
<|file_sep|>original/lib/hstore_radio_buttons/button_options.rb module HstoreRadioButtons class ButtonOptions attr_accessor :name, :options def initialize(name, options) self.name = name.to_s self.options = *options end end end <|file_sep|>current/lib/hstore_radio_buttons/button_options.rb m...
module HstoreRadioButtons class ButtonOptions attr_accessor :name, :options def initialize(name, options) self.name = name self.options = *options end end end
<|file_sep|>original/lib/hstore_radio_buttons/button_options.rb module HstoreRadioButtons class ButtonOptions attr_accessor :name, :options def initialize(name, options) self.name = name.to_s self.options = *options end end end <|file_sep|>current/lib/hstore_radio_buttons/button_options.rb m...
82d27e6359a95bdcc417e745846afc192e427eeb
lib/hstore_radio_buttons/button_options.rb
lib/hstore_radio_buttons/button_options.rb
Ruby
<|file_sep|>original/content/system-design-query-cache.md # Design a key-value cache to save the results of the most recent web server queries *Note: This document links directly to relevant areas found in the [system design topics](https://github.com/donnemartin/system-design-primer#index-of-system-design-topics) to ...
# Design a key-value cache to save the results of the most recent web server queries *Note: This document links directly to relevant areas found in the [system design topics](https://github.com/donnemartin/system-design-primer#index-of-system-design-topics) to avoid duplication. Refer to the linked content for genera...
<|file_sep|>original/content/system-design-query-cache.md # Design a key-value cache to save the results of the most recent web server queries *Note: This document links directly to relevant areas found in the [system design topics](https://github.com/donnemartin/system-design-primer#index-of-system-design-topics) to ...
a5290d4371f82cf1f500295041e849f2690f98c7
content/system-design-query-cache.md
content/system-design-query-cache.md
Markdown
<|file_sep|>original/test/lib/layout-helpers/__expand_path-test.sh <|file_sep|>current/test/lib/layout-helpers/__expand_path-test.sh <|file_sep|>updated/test/lib/layout-helpers/__expand_path-test.sh
#! /usr/bin/env bash source "../../test-helper.sh" source "${root}/lib/layout-helpers.sh" # # __expand_path() tests. # # Setup. realHOME="$HOME" HOME="/home/test-user" # When given a path containing "~", it expands "~" to "$HOME". assert '__expand_path "~/Foo/Bar"' "${HOME}/Foo/Bar" # When given a path without "~",...
<|file_sep|>original/test/lib/layout-helpers/__expand_path-test.sh <|file_sep|>current/test/lib/layout-helpers/__expand_path-test.sh <|file_sep|>updated/test/lib/layout-helpers/__expand_path-test.sh #! /usr/bin/env bash source "../../test-helper.sh" source "${root}/lib/layout-helpers.sh" # # __expand_path() tests. #...
f977850ea950fedab922349ab25e9565d01c1453
test/lib/layout-helpers/__expand_path-test.sh
test/lib/layout-helpers/__expand_path-test.sh
Shell
<|file_sep|>metadata/com.serwylo.babybook.yml.diff original: updated: - versionName: 0.2.0 versionCode: 2 commit: 810d67e3a9cd105aa7fbcccf92ae30f4e19f0d1e subdir: android sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --au...
- apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes - versionName: 0.2.0 versionCode: 2 commit: 810d67e3a9cd105aa7fbcccf92ae30f4e19f0d1e subdir: android sudo: - apt-get update || apt-get upda...
<|file_sep|>metadata/com.serwylo.babybook.yml.diff original: updated: - versionName: 0.2.0 versionCode: 2 commit: 810d67e3a9cd105aa7fbcccf92ae30f4e19f0d1e subdir: android sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --au...
b2174f9c7533e5b1e597759c0a499564e4f9331e
metadata/com.serwylo.babybook.yml
metadata/com.serwylo.babybook.yml
YAML
<|file_sep|>original/tests/aws/models/storage/url_tests.rb # encoding: utf-8 Shindo.tests('AWS | url', ["aws"]) do @expires = DateTime.parse('2013-01-01T00:00:00Z').to_time.utc.to_i @storage = Fog::Storage.new( :provider => 'AWS', :aws_access_key_id => '123', :aws_secret_access_key => 'abc', :reg...
# encoding: utf-8 Shindo.tests('AWS | url', ["aws"]) do @expires = Time.utc(2013,1,1).utc.to_i @storage = Fog::Storage.new( :provider => 'AWS', :aws_access_key_id => '123', :aws_secret_access_key => 'abc', :region => 'us-east-1' ) @file = @storage.directories.new(:key => 'fognonbucket').fi...
<|file_sep|>original/tests/aws/models/storage/url_tests.rb # encoding: utf-8 Shindo.tests('AWS | url', ["aws"]) do @expires = DateTime.parse('2013-01-01T00:00:00Z').to_time.utc.to_i @storage = Fog::Storage.new( :provider => 'AWS', :aws_access_key_id => '123', :aws_secret_access_key => 'abc', :reg...
444a254bbecd01f4443897db75a4b6007c2aa630
tests/aws/models/storage/url_tests.rb
tests/aws/models/storage/url_tests.rb
Ruby
<|file_sep|>original/nodejs/public/js/io.js function IO(){ var secure = window.location.protocol.match(/https/); var socket = this.socket = new io.Socket(window.location.hostname, { secure: secure, port: secure ? '' : window.location.port ,reconnectionDelay: 2000 + Math.random() * 2000 }); var messageHan...
function IO(){ var secure = window.location.protocol.match(/https/); var socket = this.socket = new io.Socket(window.location.hostname, { secure: secure, reconnectionDelay: 2000 + Math.random() * 2000 }); var messageHandlers = []; this.processMessage = function(data){ var stop; messageHandlers.forEach...
<|file_sep|>original/nodejs/public/js/io.js function IO(){ var secure = window.location.protocol.match(/https/); var socket = this.socket = new io.Socket(window.location.hostname, { secure: secure, port: secure ? '' : window.location.port ,reconnectionDelay: 2000 + Math.random() * 2000 }); var messageHan...
093eaaf163b11995fcfa391c4af42d682b3838f4
nodejs/public/js/io.js
nodejs/public/js/io.js
JavaScript
<|file_sep|>trait-purender.babel.js.diff original: export const purender = ({raw}, ...values) => ({ [Symbol.toStringTag]: 'purender', updated: export const purender = ({raw}, ...values) => { const watchlist = String.raw({raw}, ...values).split(/\s+/); <|file_sep|>trait-purender.babel.js.diff original: shouldCompo...
import Immutable from 'immutable'; import value from 'object-path'; export const purender = ({raw}, ...values) => { const watchlist = String.raw({raw}, ...values).split(/\s+/); return { [Symbol.toStringTag]: `Purender for ${watchlist.join(' and ')}`, shouldComponentUpdate(...args) { return watchlis...
<|file_sep|>trait-purender.babel.js.diff original: export const purender = ({raw}, ...values) => ({ [Symbol.toStringTag]: 'purender', updated: export const purender = ({raw}, ...values) => { const watchlist = String.raw({raw}, ...values).split(/\s+/); <|file_sep|>trait-purender.babel.js.diff original: shouldCompo...
1384d56bb507f9a46141e69cd6cfa909ddcb2bce
trait-purender.babel.js
trait-purender.babel.js
JavaScript
<|file_sep|>original/usersettings/shortcuts.py try: app_label, model_name = settings.USERSETTINGS_MODEL.split('.') except ValueError: raise ImproperlyConfigured('USERSETTINGS_MODEL must be of the ' 'form "app_label.model_name"') usersettings_model = get_mo...
except ValueError: raise ImproperlyConfigured('USERSETTINGS_MODEL must be of the ' 'form "app_label.model_name"') usersettings_model = get_model(app_label, model_name) if usersettings_model is None: raise ImproperlyConfigured('USERSETTINGS_MODEL refers to m...
<|file_sep|>original/usersettings/shortcuts.py try: app_label, model_name = settings.USERSETTINGS_MODEL.split('.') except ValueError: raise ImproperlyConfigured('USERSETTINGS_MODEL must be of the ' 'form "app_label.model_name"') usersettings_model = get_mo...
cc8cc05480e85c9a66450f1655083e87d00ba3f4
usersettings/shortcuts.py
usersettings/shortcuts.py
Python
<|file_sep|>original/README.md ## Usage ``` js var ghsign = require('ghsign') // create a signer (has be your own Github username) var sign = ghsign.signer('mafintosh') // create a verifier (can be any Github username) var verify = ghsign.verify('mafintosh') // sign some data sign('test', function(err, sig) { co...
## Usage ``` js var ghsign = require('ghsign') // create a signer (has be your own Github username) var sign = ghsign.signer('mafintosh') // create a verifier (can be any Github username) var verify = ghsign.verifier('mafintosh') // sign some data sign('test', function(err, sig) { console.log('test signature is'...
<|file_sep|>original/README.md ## Usage ``` js var ghsign = require('ghsign') // create a signer (has be your own Github username) var sign = ghsign.signer('mafintosh') // create a verifier (can be any Github username) var verify = ghsign.verify('mafintosh') // sign some data sign('test', function(err, sig) { co...
f77be18a6922bb9bae0f4b02465ac972d7806fbb
README.md
README.md
Markdown
<|file_sep|>original/travis-build-libsodium.sh git clone git://github.com/jedisct1/libsodium.git cd libsodium git checkout tags/0.4.5 ./autogen.sh ./configure make && sudo make install sudo ldconfig <|file_sep|>current/travis-build-libsodium.sh git clone git://github.com/jedisct1/libsodium.git cd libsodium git checkout...
git clone git://github.com/jedisct1/libsodium.git cd libsodium git checkout tags/0.5.0 ./autogen.sh ./configure make && sudo make install sudo ldconfig
<|file_sep|>original/travis-build-libsodium.sh git clone git://github.com/jedisct1/libsodium.git cd libsodium git checkout tags/0.4.5 ./autogen.sh ./configure make && sudo make install sudo ldconfig <|file_sep|>current/travis-build-libsodium.sh git clone git://github.com/jedisct1/libsodium.git cd libsodium git checkout...
9b21ea4dbebe94739a404550fafcca5659bd3d0e
travis-build-libsodium.sh
travis-build-libsodium.sh
Shell
<|file_sep|>original/tasks/options/karma.js } }, headless: { options: { browsers: ['PhantomJS'], singleRun: true } }, travis: { options: { browsers: ['PhantomJS', 'Firefox'], singleRun: true } }, watch: { options: { browsers: ['Chrome'], background...
}, headless: { options: { browsers: ['PhantomJS'], singleRun: true } }, travis: { options: { browsers: ['PhantomJS', 'Firefox'], reporters: ['dots'], singleRun: true } }, watch: { options: { browsers: ['Chrome'], background: true } } };
<|file_sep|>original/tasks/options/karma.js } }, headless: { options: { browsers: ['PhantomJS'], singleRun: true } }, travis: { options: { browsers: ['PhantomJS', 'Firefox'], singleRun: true } }, watch: { options: { browsers: ['Chrome'], background...
c4a44af48f1bdb367f5f47bc24958d6497c39a53
tasks/options/karma.js
tasks/options/karma.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0...
f0270ca87380588b2a1892ecee1eb2fdc4d7ba14
.travis.yml
.travis.yml
YAML
<|file_sep|>original/styles/dialogs/osFtp.less .osftp-status-busy { color: yellow; font-weight: bold !important; } .osftp-status-done { color: green; font-weight: bold !important; } .osftp-status-error { color: red; font-weight: bold !important; } <|file_sep|>current/styles/dialogs/osFtp.less .osftp-statu...
.osftp-status-busy { color: orange; font-weight: bold !important; } .osftp-status-done { color: green; font-weight: bold !important; } .osftp-status-error { color: red; font-weight: bold !important; }
<|file_sep|>original/styles/dialogs/osFtp.less .osftp-status-busy { color: yellow; font-weight: bold !important; } .osftp-status-done { color: green; font-weight: bold !important; } .osftp-status-error { color: red; font-weight: bold !important; } <|file_sep|>current/styles/dialogs/osFtp.less .osftp-statu...
de3e9716bd8c4a7c28ec9854ecaa2b3e6b9e168a
styles/dialogs/osFtp.less
styles/dialogs/osFtp.less
Less
<|file_sep|>original/wiki/ReleaseNotes.md # wscpp 0.2.0 * added support for `code` and `reason` parameters for `close()` * added support for specifying `binary` option when sending messages * `onclose` callback is invoked with event containing `code` and `reason` * `onerror` callback is invoked with event containing `...
# wscpp 0.2.0 * added support for `code` and `reason` parameters for `close()` * added support for specifying `binary` option when sending messages * `onclose` callback is invoked with event containing `code` and `reason` * `onerror` callback is invoked with event containing `code` and `reason` * made require mechanis...
<|file_sep|>original/wiki/ReleaseNotes.md # wscpp 0.2.0 * added support for `code` and `reason` parameters for `close()` * added support for specifying `binary` option when sending messages * `onclose` callback is invoked with event containing `code` and `reason` * `onerror` callback is invoked with event containing `...
f3e8ddc2aacadcd1f7b771f7f5749302b4515b58
wiki/ReleaseNotes.md
wiki/ReleaseNotes.md
Markdown
<|file_sep|>original/README.md # Yadon My first Pebble watchface featuring eight Slowpokes arranged in a circle as seen in the official music video: どないやねん ヤドン. Link: http://youtu.be/Ce5mRvkAePU <|file_sep|>current/README.md # Yadon My first Pebble watchface featuring eight Slowpokes arranged in a circle as seen in th...
# Yadon My first Pebble watchface featuring eight Slowpokes arranged in a circle as seen in the official music video: [どないやねん ヤドン](http://youtu.be/Ce5mRvkAePU).
<|file_sep|>original/README.md # Yadon My first Pebble watchface featuring eight Slowpokes arranged in a circle as seen in the official music video: どないやねん ヤドン. Link: http://youtu.be/Ce5mRvkAePU <|file_sep|>current/README.md # Yadon My first Pebble watchface featuring eight Slowpokes arranged in a circle as seen in th...
7ae459474c30190f204fec3b96d3b7e261f103f3
README.md
README.md
Markdown
<|file_sep|>original/lib/Utils/CMakeLists.txt #------------------------------------------------------------------------------ set( LLVM_LINK_COMPONENTS support ) set( LIBS clangSema clangAST clangLex clangBasic ) find_library(DL_LIBRARY_PATH dl) if (DL_LIBRARY_PATH) list(APPEND LIBS dl) endif() add_cling...
#------------------------------------------------------------------------------ set( LLVM_LINK_COMPONENTS support ) set( LIBS clangSema clangAST clangLex clangBasic clangParse ) find_library(DL_LIBRARY_PATH dl) if (DL_LIBRARY_PATH) list(APPEND LIBS dl) endif() add_cling_library(clingUtils OBJECT AST....
<|file_sep|>original/lib/Utils/CMakeLists.txt #------------------------------------------------------------------------------ set( LLVM_LINK_COMPONENTS support ) set( LIBS clangSema clangAST clangLex clangBasic ) find_library(DL_LIBRARY_PATH dl) if (DL_LIBRARY_PATH) list(APPEND LIBS dl) endif() add_cling...
f5fe1334100e781806242d353e773e664d8cabec
lib/Utils/CMakeLists.txt
lib/Utils/CMakeLists.txt
Text
<|file_sep|>tst/colors.py.diff original: GREEN="\033[9;32m" WHITE="\033[1;37m" updated: GREEN = '\033[9;32m' WHITE = '\033[0;37m' LWHITE = '\033[1;37m' <|file_sep|>original/tst/colors.py YELLOW = '\033[1;33m' LRED = '\033[1;31m' LGREEN = '\033[1;32m' GREEN="\033[9;32m" WHITE="\033[1;37m" LCYAN = '\033[1;36m' LBLUE = '\...
YELLOW = '\033[1;33m' LRED = '\033[1;31m' LGREEN = '\033[1;32m' GREEN = '\033[9;32m' WHITE = '\033[0;37m' LWHITE = '\033[1;37m' LCYAN = '\033[1;36m' LBLUE = '\033[1;34m' RESET = '\033[0m' CRITICAL = '\033[41;37m'
<|file_sep|>tst/colors.py.diff original: GREEN="\033[9;32m" WHITE="\033[1;37m" updated: GREEN = '\033[9;32m' WHITE = '\033[0;37m' LWHITE = '\033[1;37m' <|file_sep|>original/tst/colors.py YELLOW = '\033[1;33m' LRED = '\033[1;31m' LGREEN = '\033[1;32m' GREEN="\033[9;32m" WHITE="\033[1;37m" LCYAN = '\033[1;36m' LBLUE = '\...
f266132c05c37469290027e7aa8000d1f9a19a6c
tst/colors.py
tst/colors.py
Python
<|file_sep|>original/README.md Place the generated `freedom-for-firefox.jsm` somewhere in your extension file structure. In the case of jetpack addons, you will likely want to place `freedom-for-firefox.jsm` somehwere in the data dir. To include it in jetpack addon, use: const {Cu} = require("chrome"); Cu.imp...
Components.utils.import(PATH TO .jsm); This will define the function `setupFreedom` in the current scope. `setupFreedom` takes two arguments: - manifest: the path to the freedom manifest file. - options: an dictionary mapping various options - debug: true for debugging output. - freedomcfg: the freedo...
<|file_sep|>original/README.md Place the generated `freedom-for-firefox.jsm` somewhere in your extension file structure. In the case of jetpack addons, you will likely want to place `freedom-for-firefox.jsm` somehwere in the data dir. To include it in jetpack addon, use: const {Cu} = require("chrome"); Cu.imp...
3f6325f44275986761542ade8121f9c196f6002f
README.md
README.md
Markdown
<|file_sep|>original/app/assets/stylesheets/app/_stylekit-sub.scss .sk-panel { .sk-panel-header { .close-button { &:hover { text-decoration: none; } } } input { min-height: 39px; } .sk-button-group.stretch { .sk-button:not(.featured) { // Default buttons that are n...
.sk-panel { .sk-panel-header { .close-button { &:hover { text-decoration: none; } } } .sk-button-group.stretch { .sk-button:not(.featured) { // Default buttons that are not featured and stretched should have larger vertical padding padding: 9px; } } } #session-h...
<|file_sep|>original/app/assets/stylesheets/app/_stylekit-sub.scss .sk-panel { .sk-panel-header { .close-button { &:hover { text-decoration: none; } } } input { min-height: 39px; } .sk-button-group.stretch { .sk-button:not(.featured) { // Default buttons that are n...
513a5e32c93ca00058c2e576f49ea9686c16c3b7
app/assets/stylesheets/app/_stylekit-sub.scss
app/assets/stylesheets/app/_stylekit-sub.scss
SCSS
<|file_sep|>original/app/helpers/application_helper.rb module ApplicationHelper BASE_TITLE = 'Ecotone | OSU-Cascades'.freeze def full_title(page_title = '') page_title.empty? ? BASE_TITLE : "#{page_title} | #{BASE_TITLE}" end def form_errors_for(object) render partial: 'shared/form_errors', locals: { ...
module ApplicationHelper BASE_TITLE = 'Ecotone | OSU-Cascades'.freeze def full_title(page_title = '') page_title.empty? ? BASE_TITLE : "#{page_title} | #{BASE_TITLE}" end def form_errors_for(object) object.photo.purge if object.photo.attached? render partial: 'shared/form_errors', locals: { object...
<|file_sep|>original/app/helpers/application_helper.rb module ApplicationHelper BASE_TITLE = 'Ecotone | OSU-Cascades'.freeze def full_title(page_title = '') page_title.empty? ? BASE_TITLE : "#{page_title} | #{BASE_TITLE}" end def form_errors_for(object) render partial: 'shared/form_errors', locals: { ...
d6c0f28fafbf914a1cf5db78a9edeb25b8f26a3b
app/helpers/application_helper.rb
app/helpers/application_helper.rb
Ruby
<|file_sep|>original/scripts/check-deps.js fs.statSync(VSPath).isDirectory(); } catch (err) { console.error(`Missing dependency: ${'Visual C++ Build Tools 2015'.bold} must be installed`.red); } } else { var commandExists = require('command-exists'); var depedencies = [ 'make', 'gcc', 'wget',...
'python2.7' ]; depedencies.forEach(function(dep) { commandExists(dep, function(err, commandExists) { if(!commandExists) { console.error(`Missing dependency: ${dep.bold} Could not be found on your system.`.red); } }); }); if (process.platform === 'linux') { var publishDeps =...
<|file_sep|>original/scripts/check-deps.js fs.statSync(VSPath).isDirectory(); } catch (err) { console.error(`Missing dependency: ${'Visual C++ Build Tools 2015'.bold} must be installed`.red); } } else { var commandExists = require('command-exists'); var depedencies = [ 'make', 'gcc', 'wget',...
5f383651421b177091fa614fa60ecd2c07119abd
scripts/check-deps.js
scripts/check-deps.js
JavaScript
<|file_sep|>src/components/external/react-context-menu/style.css.diff original: updated: border-radius:5px; box-shadow:0 1px 11px 0px rgba(0,0,0,0.2), 0px 0px 0px 0.5px #AAAAAA inset; padding: 4.5px 0px; <|file_sep|>src/components/external/react-context-menu/style.css.diff original: border: 1px solid r...
visibility: hidden; } #contextMenu span { padding: 0 15px 0px; cursor: pointer; font-size: 14.5px; line-height: 19px; display: flex; align-items: center; justify-content: flex-start; color: #3E3E3E; font-family: Helvetica,Arial,sans-serif; ...
<|file_sep|>src/components/external/react-context-menu/style.css.diff original: updated: border-radius:5px; box-shadow:0 1px 11px 0px rgba(0,0,0,0.2), 0px 0px 0px 0.5px #AAAAAA inset; padding: 4.5px 0px; <|file_sep|>src/components/external/react-context-menu/style.css.diff original: border: 1px solid r...
294463f26fed789f65154aa44041b5fa473b4b56
src/components/external/react-context-menu/style.css
src/components/external/react-context-menu/style.css
CSS
<|file_sep|>original/src/main/java/uk/gov/register/resources/DeleteRegisterDataResource.java @Path("/") public class DeleteRegisterDataResource { private Flyway flyway; @Inject public DeleteRegisterDataResource(Flyway flyway) { this.flyway = flyway; } @DELETE @PermitAll @Path("/de...
import javax.ws.rs.core.Response; @Path("/") public class DeleteRegisterDataResource { private Flyway flyway; @Inject public DeleteRegisterDataResource(Flyway flyway) { this.flyway = flyway; } @DELETE @PermitAll @Path("/delete-register-data") @DataDeleteNotAllowed public R...
<|file_sep|>original/src/main/java/uk/gov/register/resources/DeleteRegisterDataResource.java @Path("/") public class DeleteRegisterDataResource { private Flyway flyway; @Inject public DeleteRegisterDataResource(Flyway flyway) { this.flyway = flyway; } @DELETE @PermitAll @Path("/de...
f044a2f3bad83c886853808d6c809de89e369e48
src/main/java/uk/gov/register/resources/DeleteRegisterDataResource.java
src/main/java/uk/gov/register/resources/DeleteRegisterDataResource.java
Java
<|file_sep|>original/biosensorsdb/admin.py import biosensorsdb.models from django.contrib import admin class ProjectAdmin(admin.ModelAdmin): search_fields = ['team__name', 'year', 'title', 'abstract', 'inputs__name', 'outputs__name', 'tags__name'] admin.site.register(biosensorsdb.models.Team) admin.site.register(bi...
import biosensorsdb.models from django.contrib import admin class ProjectAdmin(admin.ModelAdmin): search_fields = [ 'team__name', 'year', 'title', 'abstract', 'track__name', 'inputs__name', 'outputs__name', 'application__name', 'results__result', 'tags__name', ] admin.site.register(bi...
<|file_sep|>original/biosensorsdb/admin.py import biosensorsdb.models from django.contrib import admin class ProjectAdmin(admin.ModelAdmin): search_fields = ['team__name', 'year', 'title', 'abstract', 'inputs__name', 'outputs__name', 'tags__name'] admin.site.register(biosensorsdb.models.Team) admin.site.register(bi...
fa4cf8c6c7a89a60c0067be53c6b0f29d3d3cde3
biosensorsdb/admin.py
biosensorsdb/admin.py
Python
<|file_sep|>lib/handshake.js.diff original: updated: const crypto = require('crypto'); <|file_sep|>lib/handshake.js.diff original: module.exports = exports = function(){ updated: module.exports = exports = function(data){ if (this.state === 'start') { let headers = exports._headers(data); console.log(header...
if (this.state === 'start') { let headers = exports._headers(data); console.log(headers['sec-websocket-key']); } else if (this.state === 'handshake:response') { } }; exports._headers = function(raw){ if (raw instanceof Buffer) raw = raw.toString('utf-8'); let chunks = raw.split(/\r?\n/), heade...
<|file_sep|>lib/handshake.js.diff original: updated: const crypto = require('crypto'); <|file_sep|>lib/handshake.js.diff original: module.exports = exports = function(){ updated: module.exports = exports = function(data){ if (this.state === 'start') { let headers = exports._headers(data); console.log(header...
18e36192c07c6e2e00a2e4f33adee5539777dd42
lib/handshake.js
lib/handshake.js
JavaScript
<|file_sep|>packages/eslint-config-shakacode/package.json.diff original: "babel-eslint": "^5.0.0", "eslint-config-airbnb": "^6.0.2" updated: "babel-eslint": "^6.0.0", "eslint-config-airbnb": "^6.2.0" <|file_sep|>original/packages/eslint-config-shakacode/package.json "main": "index.js", "engines": { ...
"main": "index.js", "engines": { "node": ">=4.2.0" }, "scripts": { "release:patch": "scripts/release patch", "release:minor": "scripts/release minor", "release:major": "scripts/release major" }, "peerDependencies": { "eslint": ">=2.0.0" }, "dependencies": { "babel-eslint": "^6.0....
<|file_sep|>packages/eslint-config-shakacode/package.json.diff original: "babel-eslint": "^5.0.0", "eslint-config-airbnb": "^6.0.2" updated: "babel-eslint": "^6.0.0", "eslint-config-airbnb": "^6.2.0" <|file_sep|>original/packages/eslint-config-shakacode/package.json "main": "index.js", "engines": { ...
cbea9c51cdcb03bcb834c0432bf5bbbb340a6bea
packages/eslint-config-shakacode/package.json
packages/eslint-config-shakacode/package.json
JSON
<|file_sep|>scripts/installJavaDebian.sh.diff original: updated: <|file_sep|>original/scripts/installJavaDebian.sh #! /bin/bash sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install -y oracle-java8-installer sudo apt-get install -y oracle-java8-set-default sudo update-java-alternative...
#! /bin/bash sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install -y oracle-java8-installer sudo apt-get install -y oracle-java8-set-default sudo update-java-alternatives -s java-8-oracle JAVA_HOME=/usr/lib/jvm/java-8-oracle export JAVA_HOME sudo echo "JAVA_HOME=\"/usr/lib/jvm/java-8...
<|file_sep|>scripts/installJavaDebian.sh.diff original: updated: <|file_sep|>original/scripts/installJavaDebian.sh #! /bin/bash sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install -y oracle-java8-installer sudo apt-get install -y oracle-java8-set-default sudo update-java-alternative...
3f6d9ae7fd02daa682e3bb5dd1a9926091f6ac49
scripts/installJavaDebian.sh
scripts/installJavaDebian.sh
Shell
<|file_sep|>original/examples/buttons-dev.html <|file_sep|>current/examples/buttons-dev.html <|file_sep|>updated/examples/buttons-dev.html
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>GXM: The GXM.Button-class</title> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0"> <meta name="apple-mobile-web-app-ca...
<|file_sep|>original/examples/buttons-dev.html <|file_sep|>current/examples/buttons-dev.html <|file_sep|>updated/examples/buttons-dev.html <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>GXM: The GXM.Button-class</title> <meta name...
86f410a3585d76ccfee35b5a204041f2f6deef04
examples/buttons-dev.html
examples/buttons-dev.html
HTML
<|file_sep|>original/chrome/manifest.json "name": "Emoji Cheatsheet for GitHub, Basecamp etc.", "short_name": "Emoji Helper", "description": "A very simple and useful reference for the codes that can be used to generate Emojis on popular sites like GitHub or Basecamp.", "version": "0.6.0", "icons": { "128": ...
"short_name": "Emoji Helper", "description": "A very simple and useful reference for the codes that can be used to generate Emojis on popular sites like GitHub or Basecamp.", "version": "0.6.0", "icons": { "128": "icon.png" }, "author" : "Johann Hofmann", "offline_enabled": true, "permissions":[ "c...
<|file_sep|>original/chrome/manifest.json "name": "Emoji Cheatsheet for GitHub, Basecamp etc.", "short_name": "Emoji Helper", "description": "A very simple and useful reference for the codes that can be used to generate Emojis on popular sites like GitHub or Basecamp.", "version": "0.6.0", "icons": { "128": ...
3dc35351dec006958064b62fb13284e02d56ea39
chrome/manifest.json
chrome/manifest.json
JSON
<|file_sep|>original/src/drive/styles/main.styl div:focus outline: none .fil-content padding-top 1.875rem +small-screen() padding 0 &.--working // we forbid clicks when loading something to avoid concurrent data fetches and consequent flash effects pointer-events none //!TODO...
+small-screen() padding 0 &.--working // we forbid clicks when loading something to avoid concurrent data fetches and consequent flash effects pointer-events none //!TODO Remove this code after upgrading to cozy-bar@6 [aria-hidden=true] display: initial visibility: initial [role...
<|file_sep|>original/src/drive/styles/main.styl div:focus outline: none .fil-content padding-top 1.875rem +small-screen() padding 0 &.--working // we forbid clicks when loading something to avoid concurrent data fetches and consequent flash effects pointer-events none //!TODO...
4cfcf1f62b8e722e9bb43244c9b644087b1136d1
src/drive/styles/main.styl
src/drive/styles/main.styl
Stylus
<|file_sep|>original/sequences/locale/de/LC_MESSAGES/django.po <|file_sep|>current/sequences/locale/de/LC_MESSAGES/django.po <|file_sep|>updated/sequences/locale/de/LC_MESSAGES/django.po
msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/aaugustin/django-sequences/issues\n" "POT-Creation-Date: 2016-01-06 03:05-0600\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "Seq...
<|file_sep|>original/sequences/locale/de/LC_MESSAGES/django.po <|file_sep|>current/sequences/locale/de/LC_MESSAGES/django.po <|file_sep|>updated/sequences/locale/de/LC_MESSAGES/django.po msgid "" msgstr "" "Report-Msgid-Bugs-To: https://github.com/aaugustin/django-sequences/issues\n" "POT-Creation-Date: 2016-01-06 03...
31d4ebf37cbec67a1c2b56efaa3293820eca1e0b
sequences/locale/de/LC_MESSAGES/django.po
sequences/locale/de/LC_MESSAGES/django.po
Gettext Catalog
<|file_sep|>original/views/project_view.xml <?xml version="1.0" encoding="utf-8"?> <odoo> <record id="edit_project_inh" model="ir.ui.view"> <field name="name">project.project.form</field> <field name="model">project.project</field> <field name="type">form</field> <field name="inheri...
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="edit_project_inh" model="ir.ui.view"> <field name="name">project.project.form</field> <field name="model">project.project</field> <field name="type">form</field> <field name="inherit_id" ref="project.edit_project"/> <...
<|file_sep|>original/views/project_view.xml <?xml version="1.0" encoding="utf-8"?> <odoo> <record id="edit_project_inh" model="ir.ui.view"> <field name="name">project.project.form</field> <field name="model">project.project</field> <field name="type">form</field> <field name="inheri...
186e09b1a9685c63c2c54c9fcfb765fd63e2ab65
views/project_view.xml
views/project_view.xml
XML
<|file_sep|>original/lib/metrics/googlefit/strength_training_minutes.rb ProviderRepo.find!(:googlefit).register_metric :strength_training do |metric| metric.title = "Strength training" metric.description = "Minutes of strength training" metric.block = proc do |adapter| points = adapter.fetch_strength po...
ProviderRepo.find!(:googlefit).register_metric :strength_training do |metric| metric.title = "Strength training" metric.description = "Minutes of strength training" metric.block = proc do |adapter| points = adapter.fetch_strength points.each_with_object(Hash.new { 0 }) do |point, scores| ts_start ...
<|file_sep|>original/lib/metrics/googlefit/strength_training_minutes.rb ProviderRepo.find!(:googlefit).register_metric :strength_training do |metric| metric.title = "Strength training" metric.description = "Minutes of strength training" metric.block = proc do |adapter| points = adapter.fetch_strength po...
156eb56b8b3b588a0733c28f823e34d989d161fd
lib/metrics/googlefit/strength_training_minutes.rb
lib/metrics/googlefit/strength_training_minutes.rb
Ruby
<|file_sep|>original/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix { stdenv, symlinkJoin, pidgin, makeWrapper, plugins }: let extraArgs = map (x: x.wrapArgs or "") plugins; in symlinkJoin { name = "pidgin-with-plugins-${pidgin.version}"; paths = [ pidgin ] ++ plugins; buildInputs = [ makeW...
{ stdenv, symlinkJoin, pidgin, makeWrapper, plugins }: let extraArgs = map (x: x.wrapArgs or "") plugins; in symlinkJoin { name = "pidgin-with-plugins-${pidgin.version}"; paths = [ pidgin ] ++ plugins; buildInputs = [ makeWrapper ]; postBuild = '' wrapProgram $out/bin/pidgin \ --suffix-each PURPLE...
<|file_sep|>original/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix { stdenv, symlinkJoin, pidgin, makeWrapper, plugins }: let extraArgs = map (x: x.wrapArgs or "") plugins; in symlinkJoin { name = "pidgin-with-plugins-${pidgin.version}"; paths = [ pidgin ] ++ plugins; buildInputs = [ makeW...
e634488cc3084445e5233de78d0cc6e118c2b33e
pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix
pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix
Nix
<|file_sep|>original/README.md # The Coding Interview My solutions to some coding problems. Good times. ![XKCD 1185](https://raw2.github.com/mre/the-coding-interview/master/xkcd1185.jpg) Currently, this is a collection of the following resources: * [blakeembrey/code-problems](https://github.com/blakeembrey/code-...
# The Coding Interview My solutions to some coding problems. Good times. ![XKCD 1185](https://raw.githubusercontent.com/mre/the-coding-interview/master/xkcd1185.jpg) Currently, this is a collection of the following resources: * [blakeembrey/code-problems](https://github.com/blakeembrey/code-problems) * [Simeon...
<|file_sep|>original/README.md # The Coding Interview My solutions to some coding problems. Good times. ![XKCD 1185](https://raw2.github.com/mre/the-coding-interview/master/xkcd1185.jpg) Currently, this is a collection of the following resources: * [blakeembrey/code-problems](https://github.com/blakeembrey/code-...
e275c7f63a617160366a5ea7b0c4b858fa10cf9c
README.md
README.md
Markdown
<|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailu...
<?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false" ...
<|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailu...
eb432dca9e8c38b6d311f70bb02cdd4a47042c9c
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>src/ZoomHub/Types/Internal/ContentURI.hs.diff original: import Network.URI (URI, parseAbsoluteURI) updated: import Network.URI (URI, parseAbsoluteURI, uriScheme) <|file_sep|>original/src/ZoomHub/Types/Internal/ContentURI.hs newtype ContentURI = ContentURI URI deriving Eq unContentURI ::...
unContentURI :: ContentURI -> URI unContentURI (ContentURI uri) = uri instance Show ContentURI where show = show . unContentURI -- Text instance FromText ContentURI where fromText t = let maybeURI = parseAbsoluteURI s in case maybeURI of Just uri -> case uriScheme uri of "http:" -> Just (Co...
<|file_sep|>src/ZoomHub/Types/Internal/ContentURI.hs.diff original: import Network.URI (URI, parseAbsoluteURI) updated: import Network.URI (URI, parseAbsoluteURI, uriScheme) <|file_sep|>original/src/ZoomHub/Types/Internal/ContentURI.hs newtype ContentURI = ContentURI URI deriving Eq unContentURI ::...
317e770df12460d5b07a7e9bff300c74ba244947
src/ZoomHub/Types/Internal/ContentURI.hs
src/ZoomHub/Types/Internal/ContentURI.hs
Haskell
<|file_sep|>pool.go.diff original: updated: "time" <|file_sep|>pool.go.diff original: updated: t := time.Now() for { <|file_sep|>pool.go.diff original: for { updated: since := time.Since(t) if since.Minutes() > 5 { p.wg.Done() p.addWorker() break } <|file_sep|>pool.go.diff original: updated: } ...
} } func (p Pool) addWorker() { p.wg.Add(1) go p.worker() } func NewPool(numberOfWorkers int) Pool { jobs := make(chan Task, 100) results := make(chan OutputValue, 100) var wg sync.WaitGroup p := Pool{jobs, results, &wg} for w := 1; w <= numberOfWorkers; w++ { p.addWorker() } return p }
<|file_sep|>pool.go.diff original: updated: "time" <|file_sep|>pool.go.diff original: updated: t := time.Now() for { <|file_sep|>pool.go.diff original: for { updated: since := time.Since(t) if since.Minutes() > 5 { p.wg.Done() p.addWorker() break } <|file_sep|>pool.go.diff original: updated: } ...
580ad7505adadb621210f3461feb343499fea35e
pool.go
pool.go
Go
<|file_sep|>original/lib/debot/recipes/generators/templates/stages.rb.erb set :domain, "<%=domain%>" set :branch, "<%=branch%>" set :deploy_to, "<%=deploy_to%>" set_default(:stage, "production") set_default(:stage_db_user, "<%=stage_db_user%>") <|file_sep|>current/lib/debot/recipes/generators/templates/stages.rb.erb ...
set :domain, "<%=domain%>" set :branch, "<%=branch%>" set :deploy_to, "<%=deploy_to%>" set_default(:stage, "<%=stage_name%>") set_default(:stage_db_user, "<%=stage_db_user%>")
<|file_sep|>original/lib/debot/recipes/generators/templates/stages.rb.erb set :domain, "<%=domain%>" set :branch, "<%=branch%>" set :deploy_to, "<%=deploy_to%>" set_default(:stage, "production") set_default(:stage_db_user, "<%=stage_db_user%>") <|file_sep|>current/lib/debot/recipes/generators/templates/stages.rb.erb ...
80b50a37749388b54a0d6d02e2808130eb2a2fcd
lib/debot/recipes/generators/templates/stages.rb.erb
lib/debot/recipes/generators/templates/stages.rb.erb
HTML+ERB
<|file_sep|>original/README.md glitch ====== An image glitcher in golang. Initially this is a more-or-less direct port of http://www.airtightinteractive.com/demos/js/imageglitcher/ while I'm learning Go, but when I'm more confident the glitching algorithms will be rewritten. All the original javascript algorithms on...
glitch ====== An image glitcher in golang. Initially this is a more-or-less direct port of http://www.airtightinteractive.com/demos/js/imageglitcher/ while I'm learning Go, but when I'm more confident the glitching algorithms will be rewritten. All the original javascript algorithms on which the initial build of thi...
<|file_sep|>original/README.md glitch ====== An image glitcher in golang. Initially this is a more-or-less direct port of http://www.airtightinteractive.com/demos/js/imageglitcher/ while I'm learning Go, but when I'm more confident the glitching algorithms will be rewritten. All the original javascript algorithms on...
a97b8a6d89e6d0da53c02b7a15820e781d163461
README.md
README.md
Markdown
<|file_sep|>original/app/views/draft_budget_allocations/new.html.haml .col-md-3 .col-md-6 =simple_form_for(@draft_budget_allocation) do |f| =f.input :amount =f.input :draft_budget_id, collection: @draft_budgets.collect { |o| [o.name, o.id] }, include_blank: false =f.input :draft_funding_request_id, as: :h...
.col-md-3 .col-md-6 =simple_form_for(@draft_budget_allocation) do |f| =f.input :amount, input_html: {value: 0} =f.input :draft_budget_id, collection: @draft_budgets.collect { |o| [o.name, o.id] }, include_blank: false =f.input :draft_funding_request_id, as: :hidden =f.submit
<|file_sep|>original/app/views/draft_budget_allocations/new.html.haml .col-md-3 .col-md-6 =simple_form_for(@draft_budget_allocation) do |f| =f.input :amount =f.input :draft_budget_id, collection: @draft_budgets.collect { |o| [o.name, o.id] }, include_blank: false =f.input :draft_funding_request_id, as: :h...
363728adae8213f7dd88b6827d0c3375218bd2ec
app/views/draft_budget_allocations/new.html.haml
app/views/draft_budget_allocations/new.html.haml
Haml
<|file_sep|>original/app/models/api/v1/user_registration.rb self.attributes.select { |k,v| valid_keys.include? k } end def new_user User.new(user_params) end def user_is_valid u = new_user return true if u.valid? u.errors.each do |err| self.errors.add err end return false e...
self.attributes.select { |k,v| valid_keys.include? k } end def new_user User.new(user_params) end def user_is_valid u = new_user return true if u.valid? u.errors.each do |field,value| if self.errors[field].blank? self.errors.add(field,value) end end return false...
<|file_sep|>original/app/models/api/v1/user_registration.rb self.attributes.select { |k,v| valid_keys.include? k } end def new_user User.new(user_params) end def user_is_valid u = new_user return true if u.valid? u.errors.each do |err| self.errors.add err end return false e...
503d82fd4a2fa7cf11b38b82d259148c260e8e56
app/models/api/v1/user_registration.rb
app/models/api/v1/user_registration.rb
Ruby
<|file_sep|>original/app/mailers/contact_mailer.rb class ContactMailer < ApplicationMailer def contact_us(contact_id) @page_content = Page.guaranteed_find slug: 'contacts-mailer-contact-us' @contact = Contact.find contact_id mail( to: @contact.email, subject: @contact.subject ) end end...
class ContactMailer < ApplicationMailer def contact_us(contact_id) @page_content = Page.guaranteed_find slug: 'contacts-mailer-contact-us' @contact = Contact.find contact_id headers( unique_args: { mailer: "ContactMailer" } ) mail( to: @contact.email, subject: @contact.s...
<|file_sep|>original/app/mailers/contact_mailer.rb class ContactMailer < ApplicationMailer def contact_us(contact_id) @page_content = Page.guaranteed_find slug: 'contacts-mailer-contact-us' @contact = Contact.find contact_id mail( to: @contact.email, subject: @contact.subject ) end end...
516d2dfaf594903f26a7abdc13544d39aa21fc16
app/mailers/contact_mailer.rb
app/mailers/contact_mailer.rb
Ruby
<|file_sep|>original/README.md # More-Recipes More-Recipes provides a platform for users to share the awesome and exciting recipe ideas they have invented or learnt. Suppose a user comes up with a food recipe, he/she can post it on More-Recipes and get feedback in form of reviews and votes from other users who expl...
https://travis-ci.org/Ru…the application.
<|file_sep|>original/README.md # More-Recipes More-Recipes provides a platform for users to share the awesome and exciting recipe ideas they have invented or learnt. Suppose a user comes up with a food recipe, he/she can post it on More-Recipes and get feedback in form of reviews and votes from other users who expl...
937f0749e22b5e7b26f42180e19101dc15e80dbd
README.md
README.md
Markdown
<|file_sep|>original/opal/static/js/opal/services/patient.js return moment(episode.end).unix(); } else if(episode.start){ return moment(episode.start).unix(); } else{ return 0; } }).reverse(); var episodeValues = _.values(patientData.episodes); if(epi...
return moment(episode.end).unix(); } else if(episode.start){ return moment(episode.start).unix(); } else{ return 0; } }).reverse(); // TODO: There are edge cases here - e.g. We are viewing Episode 3, // which has a custom detail view which only d...
<|file_sep|>original/opal/static/js/opal/services/patient.js return moment(episode.end).unix(); } else if(episode.start){ return moment(episode.start).unix(); } else{ return 0; } }).reverse(); var episodeValues = _.values(patientData.episodes); if(epi...
77ed0f188581afde4908b39f4b95bee8bf5046cd
opal/static/js/opal/services/patient.js
opal/static/js/opal/services/patient.js
JavaScript
<|file_sep|>webpack/autoload.coffee.diff original: for lib in fs.readdirSync src = path.join __dirname, '../src' continue unless fs.statSync lib = path.join src, lib updated: for libname in fs.readdirSync src = path.join __dirname, '../src' continue unless fs.statSync lib = path.join src, libname <|file_sep|>origin...
Inject some [pseudo-]local variables ### fs = require 'fs' path = require 'path' ini = require '../package' for f of ini.devDependencies when /^[$\w]+$/.test f exports[f] = f for libname in fs.readdirSync src = path.join __dirname, '../src' continue unless fs.statSync lib = path.join src, libname .isDirectory...
<|file_sep|>webpack/autoload.coffee.diff original: for lib in fs.readdirSync src = path.join __dirname, '../src' continue unless fs.statSync lib = path.join src, lib updated: for libname in fs.readdirSync src = path.join __dirname, '../src' continue unless fs.statSync lib = path.join src, libname <|file_sep|>origin...
a6ed83d4d551c25c649a810d4420bc77305d3113
webpack/autoload.coffee
webpack/autoload.coffee
CoffeeScript
<|file_sep|>original/metadata/ar.com.tristeslostrestigres.diasporanativewebapp.txt Donate:http://martinv.tip.me Auto Name:Diaspora Native WebApp Summary:Diaspora client Description: Client for the Diaspora social network. . Repo Type:git Repo:https://github.com/martinchodev/Diaspora-Native-WebApp Build:1.0,2 com...
Donate:http://martinv.tip.me Auto Name:Diaspora Native WebApp Summary:Diaspora client Description: Client for the Diaspora social network. . Repo Type:git Repo:https://github.com/martinchodev/Diaspora-Native-WebApp Build:1.0,2 commit=v1.0 subdir=app gradle=yes Auto Update Mode:None Update Check Mode:Tag...
<|file_sep|>original/metadata/ar.com.tristeslostrestigres.diasporanativewebapp.txt Donate:http://martinv.tip.me Auto Name:Diaspora Native WebApp Summary:Diaspora client Description: Client for the Diaspora social network. . Repo Type:git Repo:https://github.com/martinchodev/Diaspora-Native-WebApp Build:1.0,2 com...
40e30a70b68bf7ebdda9660438af91f453ff424d
metadata/ar.com.tristeslostrestigres.diasporanativewebapp.txt
metadata/ar.com.tristeslostrestigres.diasporanativewebapp.txt
Text
<|file_sep|>original/src/main/java/com/cloudera/director/google/compute/GoogleComputeProviderDefaults.java * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.cloudera.direct...
* See the License for the specific language governing permissions and * limitations under the License. */ package com.cloudera.director.google.compute; import java.util.HashMap; import java.util.Map; // TODO(duftler): Externalize these defaults. // https://github.com/cloudera/director-google-plugin/issues/2 publi...
<|file_sep|>original/src/main/java/com/cloudera/director/google/compute/GoogleComputeProviderDefaults.java * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.cloudera.direct...
b96d52e5d0d7b3aba45c8f84b69138d2be13a93a
src/main/java/com/cloudera/director/google/compute/GoogleComputeProviderDefaults.java
src/main/java/com/cloudera/director/google/compute/GoogleComputeProviderDefaults.java
Java
<|file_sep|>original/.github/workflows/site.yml branches: - master paths: - book/** - .github/workflows/site.yml jobs: deploy: name: Deploy runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Get mdBook run: | export MDBOOK_VERSION="d...
branches: - master paths: - book/** - .github/workflows/site.yml jobs: deploy: name: Deploy runs-on: ubuntu-latest permissions: contents: write steps: - uses: actions/checkout@v3 - name: Get mdBook run: | export MDBOOK_VERSION="dtolnay" ...
<|file_sep|>original/.github/workflows/site.yml branches: - master paths: - book/** - .github/workflows/site.yml jobs: deploy: name: Deploy runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Get mdBook run: | export MDBOOK_VERSION="d...
3e7e454d834eaa4ebfa9487f8aac89e246e237db
.github/workflows/site.yml
.github/workflows/site.yml
YAML
<|file_sep|>original/lib/gitlab/satellite/files/delete_file_action.rb <|file_sep|>current/lib/gitlab/satellite/files/delete_file_action.rb <|file_sep|>updated/lib/gitlab/satellite/files/delete_file_action.rb
require_relative 'file_action' module Gitlab module Satellite class DeleteFileAction < FileAction # Deletes file and creates a new commit for it # # Returns false if committing the change fails # Returns false if pushing from the satellite to bare repo failed or was rejected # Retur...
<|file_sep|>original/lib/gitlab/satellite/files/delete_file_action.rb <|file_sep|>current/lib/gitlab/satellite/files/delete_file_action.rb <|file_sep|>updated/lib/gitlab/satellite/files/delete_file_action.rb require_relative 'file_action' module Gitlab module Satellite class DeleteFileAction < FileAction ...
b26abe8ff8c22241c78024089926f63a17e7d86b
lib/gitlab/satellite/files/delete_file_action.rb
lib/gitlab/satellite/files/delete_file_action.rb
Ruby
<|file_sep|>original/recipes/wrapt/meta.yaml {% set name = "wrapt" %} {% set version = "1.10.10" %} {% set sha256 = "42160c91b77f1bc64a955890038e02f2f72986c01d462d53cb6cb039b995cdd9" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/pack...
{% set name = "wrapt" %} {% set version = "1.10.11" %} {% set sha256 = "d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name ...
<|file_sep|>original/recipes/wrapt/meta.yaml {% set name = "wrapt" %} {% set version = "1.10.10" %} {% set sha256 = "42160c91b77f1bc64a955890038e02f2f72986c01d462d53cb6cb039b995cdd9" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/pack...
2ef5e6aeac31056882ec86a96c800aabf88cba5d
recipes/wrapt/meta.yaml
recipes/wrapt/meta.yaml
YAML
<|file_sep|>lita-literally-lita.gemspec.diff original: spec.version = "0.0.1" updated: spec.version = "0.0.2" <|file_sep|>original/lita-literally-lita.gemspec Gem::Specification.new do |spec| spec.name = "lita-literally-lita" spec.version = "0.0.1" spec.authors = ["Jimmy Cuadr...
Gem::Specification.new do |spec| spec.name = "lita-literally-lita" spec.version = "0.0.2" spec.authors = ["Jimmy Cuadra"] spec.email = ["jimmy@jimmycuadra.com"] spec.description = %q{A Lita handler to make Lita act like Lita.} spec.summary = %q{A Lita handler to make Lit...
<|file_sep|>lita-literally-lita.gemspec.diff original: spec.version = "0.0.1" updated: spec.version = "0.0.2" <|file_sep|>original/lita-literally-lita.gemspec Gem::Specification.new do |spec| spec.name = "lita-literally-lita" spec.version = "0.0.1" spec.authors = ["Jimmy Cuadr...
48111a10519a5cff2ffac5671e76dee267456240
lita-literally-lita.gemspec
lita-literally-lita.gemspec
Ruby
<|file_sep|>original/stores/templates/stores/dashboard/messages/store_saved.html {% load i18n %} {% blocktrans with name=store.name %} <strong>{{ name }}</strong> store saved. {% endblocktrans %} (<a href="{{ store.get_absolute_url }}">{% trans "View on site" %}</a>.) <|file_sep|>current/stores/templates/stores/dashboa...
{% load i18n %} {% blocktrans with name=store.name %} <strong>{{ name }}</strong> store saved. {% endblocktrans %} <a href="{{ store.get_absolute_url }}" class="btn btn-success btn-small">{% trans "View on site" %}</a> <a href="{% url stores-dashboard:store-update store.pk %}" class="btn btn-warning btn-small">{% tran...
<|file_sep|>original/stores/templates/stores/dashboard/messages/store_saved.html {% load i18n %} {% blocktrans with name=store.name %} <strong>{{ name }}</strong> store saved. {% endblocktrans %} (<a href="{{ store.get_absolute_url }}">{% trans "View on site" %}</a>.) <|file_sep|>current/stores/templates/stores/dashboa...
a31554a4f832c5c00f0a8ed8df15077a2ef4e02a
stores/templates/stores/dashboard/messages/store_saved.html
stores/templates/stores/dashboard/messages/store_saved.html
HTML
<|file_sep|>original/requirements_dev.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.1 cryptography==2.1.4 PyYAML==3.12 six==1.11.0 <|file_sep|>current/requirements_dev.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 to...
pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.1 cryptography==2.1.4 PyYAML==3.12 six==1.11.0
<|file_sep|>original/requirements_dev.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.1 cryptography==2.1.4 PyYAML==3.12 six==1.11.0 <|file_sep|>current/requirements_dev.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 to...
cf2a6fc0cef1b213e7e130be30a667fdded1ca60
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>packages/pa/pandoc-dhall-decoder.yaml.diff original: hash: 672e14a5e82f7fb656797d5a966ce67defe47fc5c6bc47a4493a7ed1e80dbe08 updated: hash: 42e155089fcaf0a0c0bf50056ae80c27d04cf30a9619dbd08a6d4c2d9efed632 <|file_sep|>packages/pa/pandoc-dhall-decoder.yaml.diff original: updated: - 0.1.0.1 <|file_sep|>package...
all-versions: - 0.1.0.0 - 0.1.0.1 author: Daniel Firth latest: 0.1.0.1 description-type: markdown description: | # pandoc-dhall-decoder This module allows you to decode a `Pandoc` value using any `Text.Pandoc.Readers` function. You should use newtypes like so: ``` newtype MyDoc = MyDoc Pandoc deriving ...
<|file_sep|>packages/pa/pandoc-dhall-decoder.yaml.diff original: hash: 672e14a5e82f7fb656797d5a966ce67defe47fc5c6bc47a4493a7ed1e80dbe08 updated: hash: 42e155089fcaf0a0c0bf50056ae80c27d04cf30a9619dbd08a6d4c2d9efed632 <|file_sep|>packages/pa/pandoc-dhall-decoder.yaml.diff original: updated: - 0.1.0.1 <|file_sep|>package...
e0fc59b88abf8f9179a3b27f9edc6114f08746ae
packages/pa/pandoc-dhall-decoder.yaml
packages/pa/pandoc-dhall-decoder.yaml
YAML
<|file_sep|>original/FluentTc/Domain/SourceBuildType.cs <|file_sep|>current/FluentTc/Domain/SourceBuildType.cs <|file_sep|>updated/FluentTc/Domain/SourceBuildType.cs
namespace FluentTc.Domain { public class SourceBuildType { public override string ToString() { return "source-buildType"; } public string Id { get; set; } public string Name { get; set; } public string ProjectName { get; set; } public string ...
<|file_sep|>original/FluentTc/Domain/SourceBuildType.cs <|file_sep|>current/FluentTc/Domain/SourceBuildType.cs <|file_sep|>updated/FluentTc/Domain/SourceBuildType.cs namespace FluentTc.Domain { public class SourceBuildType { public override string ToString() { return "source-build...
e7d7c0f2b5f83387f7ea3d4473cee623670fd3ef
FluentTc/Domain/SourceBuildType.cs
FluentTc/Domain/SourceBuildType.cs
C#
<|file_sep|>original/docs/index.rst Welcome to Django Invite's documentation! ============================================= Contents: .. toctree:: :maxdepth: 2 quickstart configuration permissions password-reset Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`searc...
.. Django Invite documentation master file, created by sphinx-quickstart on Tue Nov 11 17:33:12 2014. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to Django Invite's documentation! ============================================= Content...
<|file_sep|>original/docs/index.rst Welcome to Django Invite's documentation! ============================================= Contents: .. toctree:: :maxdepth: 2 quickstart configuration permissions password-reset Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`searc...
d9d60c54d7343b566ee219bf06464b863a43f8a5
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>original/source/layouts/blog-layout.erb <% if soundcloud_id %> <section class='soundcloud-player-big'> <iframe width="100%" height="450" scrolling="no" frameborder="no" src=<%= big_soundcloud_player %>> </iframe> </sectio...
<section class='soundcloud-player-big'> <iframe width="100%" height="450" scrolling="no" frameborder="no" src=<%= big_soundcloud_player %>> </iframe> </section> <% end %> <% if interviewee %> <h1 class=>Other Episodes</h4>...
<|file_sep|>original/source/layouts/blog-layout.erb <% if soundcloud_id %> <section class='soundcloud-player-big'> <iframe width="100%" height="450" scrolling="no" frameborder="no" src=<%= big_soundcloud_player %>> </iframe> </sectio...
5862efae411412073ab02bace31f46f2b7d690c5
source/layouts/blog-layout.erb
source/layouts/blog-layout.erb
HTML+ERB
<|file_sep|>cactusbot/handler.py.diff original: updated: from .packet import Packet <|file_sep|>cactusbot/handler.py.diff original: # TODO: support for multiple responses in an iterable if response is not None: updated: if isinstance(response, Packet): <|fil...
if hasattr(handler, "on_" + event): try: response = getattr(handler, "on_" + event)(packet) except Exception: self.logger.warning( "Exception in handler %s:", type(handler).__name__, exc_i...
<|file_sep|>cactusbot/handler.py.diff original: updated: from .packet import Packet <|file_sep|>cactusbot/handler.py.diff original: # TODO: support for multiple responses in an iterable if response is not None: updated: if isinstance(response, Packet): <|fil...
8ef5b15c62960fb9abc43c9b30550faa0c0d7227
cactusbot/handler.py
cactusbot/handler.py
Python
<|file_sep|>original/lib/warp/matcher.rb else def description_of(object) object.inspect end def values_match?(expected, actual) expected === actual || actual == expected end end # RSpec 2 if RSpec::Version::STRING[0] == "2" def failure_message_for_should ...
else def description_of(object) object.inspect end def values_match?(expected, actual) expected === actual || actual == expected end end # RSpec 2 and 3 have different methods # that they call on matcher to get the # failure messages. if RSpec::Version::...
<|file_sep|>original/lib/warp/matcher.rb else def description_of(object) object.inspect end def values_match?(expected, actual) expected === actual || actual == expected end end # RSpec 2 if RSpec::Version::STRING[0] == "2" def failure_message_for_should ...
f1603a6b337f4045f0647e6a78faada4fbead906
lib/warp/matcher.rb
lib/warp/matcher.rb
Ruby
<|file_sep|>original/gweetr/utils.py raise GweetrError("Received unknown track parameter: %s" % str(exc)) if search_results: song_obj = random.choice(search_results) tracks = song_obj.get_tracks('7digital-US') track_data = tracks[0] track = { 'title': song_obj.ti...
results=app.config['ECHO_NEST_SONG_RESULTS'], **track_params ) except TypeError as exc: raise GweetrError("Received unknown track parameter: %s" % str(exc)) if search_results: song_obj = random.choice(search_results) tracks = song_obj.get_tracks('7digital...
<|file_sep|>original/gweetr/utils.py raise GweetrError("Received unknown track parameter: %s" % str(exc)) if search_results: song_obj = random.choice(search_results) tracks = song_obj.get_tracks('7digital-US') track_data = tracks[0] track = { 'title': song_obj.ti...
b8764f6045bbc1067806405ca2fba9c1622f997b
gweetr/utils.py
gweetr/utils.py
Python
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false before_script: - bundle exec bin/setup rvm: - 2.3.0 jdk: - oraclejdk8 notifications: email: - justin@curationexperts.com env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true <|file_sep|>current/.travis.yml language: ruby cache:...
language: ruby cache: bundler sudo: false before_script: - bundle exec bin/setup rvm: - 2.3.0 jdk: - oraclejdk8 env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false before_script: - bundle exec bin/setup rvm: - 2.3.0 jdk: - oraclejdk8 notifications: email: - justin@curationexperts.com env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true <|file_sep|>current/.travis.yml language: ruby cache:...
4b31ce3909eeb22b8ddd2a4e2a740a8d64b0ea21
.travis.yml
.travis.yml
YAML
<|file_sep|>app/loaders/http_loader.rb.diff original: updated: <|file_sep|>original/app/loaders/http_loader.rb module Loaders class HttpLoader < Base def call url = feed.url raise "#{self.class.name} requires valid feed url" unless url.present? RestClient.get(url).body rescue StandardErro...
module Loaders class HttpLoader < Base def call url = feed.url raise "#{self.class.name} requires valid feed url" unless url.present? RestClient.get(url).body end end end
<|file_sep|>app/loaders/http_loader.rb.diff original: updated: <|file_sep|>original/app/loaders/http_loader.rb module Loaders class HttpLoader < Base def call url = feed.url raise "#{self.class.name} requires valid feed url" unless url.present? RestClient.get(url).body rescue StandardErro...
94e3789b19f343ffc38d9f1c929229b20544e059
app/loaders/http_loader.rb
app/loaders/http_loader.rb
Ruby