prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/src/DBAL/Types/OrderedGuidType.php public function convertToPHPValue($value, AbstractPlatform $platform) { if ($value === null) { return null; //TODO: Throw exception? Never should have a null value here I don't think } // TODO: Throw excepti...
// TODO: Throw exception if $value is not a resource. Not sure how you can not have a resource. $value = (is_resource($value)) ? stream_get_contents($value) : $value; return bin2hex($value); } /** * {@inheritdoc} */ public function convertToDatabaseValue($value, Abstract...
<|file_sep|>original/src/DBAL/Types/OrderedGuidType.php public function convertToPHPValue($value, AbstractPlatform $platform) { if ($value === null) { return null; //TODO: Throw exception? Never should have a null value here I don't think } // TODO: Throw excepti...
12cbb70fb14a47e884bd44fe8daef3f0e087334d
src/DBAL/Types/OrderedGuidType.php
src/DBAL/Types/OrderedGuidType.php
PHP
<|file_sep|>original/client/stylesheets/lobby.styl .divider border: 0 margin: 60px 0 height: 4px border-top: #ddd 1px solid border-bottom: #ddd 1px solid text-align: center position: relative clear: both .teamRow width: 800px; margin-left: auto; margin-right: auto .teamCol width: 370px .chatRow ...
margin: 60px 0 height: 4px border-top: #ddd 1px solid border-bottom: #ddd 1px solid text-align: center position: relative clear: both .teamRow width: 800px; margin-left: auto; margin-right: auto .teamCol width: 370px .chatRow width: 330px; margin-left: auto; margin-right: auto; .chatCol wi...
<|file_sep|>original/client/stylesheets/lobby.styl .divider border: 0 margin: 60px 0 height: 4px border-top: #ddd 1px solid border-bottom: #ddd 1px solid text-align: center position: relative clear: both .teamRow width: 800px; margin-left: auto; margin-right: auto .teamCol width: 370px .chatRow ...
855acc628ee77ed46bac8c249d54d24efe3f78d7
client/stylesheets/lobby.styl
client/stylesheets/lobby.styl
Stylus
<|file_sep|>original/locale/flarum-mentions.yml # UNIQUE KEYS - The following keys are used in only one location each. ## # Translations in this namespace are used by the forum user interface. forum: # These translations are used by the composer (reply autocompletion function). composer: reply_t...
# UNIQUE KEYS - The following keys are used in only one location each. ## # Translations in this namespace are used by the forum user interface. forum: # These translations are used by the composer (reply autocompletion function). composer: reply_to_post_text: "Reply to #{number}" # These t...
<|file_sep|>original/locale/flarum-mentions.yml # UNIQUE KEYS - The following keys are used in only one location each. ## # Translations in this namespace are used by the forum user interface. forum: # These translations are used by the composer (reply autocompletion function). composer: reply_t...
34ffdd2e6f014ac88ce28c4aab69951e8d082bdf
locale/flarum-mentions.yml
locale/flarum-mentions.yml
YAML
<|file_sep|>original/js/geometry/circle.js 'object2d' ], function( Object2D ) { 'use strict'; function Circle( x, y, radius ) { Object2D.call( this, x, y ); this.radius = radius || 0; } Circle.prototype = new Object2D(); Circle.prototype.constructor = Circle; Circle.prototype.drawPath = functi...
Circle.prototype = new Object2D(); Circle.prototype.constructor = Circle; Circle.prototype.drawPath = function( ctx ) { ctx.beginPath(); ctx.arc( 0, 0, this.radius, 0, 2 * Math.PI ); ctx.closePath(); }; Object.defineProperty( Circle.prototype, 'left', { get: function() { return this.x...
<|file_sep|>original/js/geometry/circle.js 'object2d' ], function( Object2D ) { 'use strict'; function Circle( x, y, radius ) { Object2D.call( this, x, y ); this.radius = radius || 0; } Circle.prototype = new Object2D(); Circle.prototype.constructor = Circle; Circle.prototype.drawPath = functi...
811d4652d79b49b45921cd88a0a72a875c8dddc7
js/geometry/circle.js
js/geometry/circle.js
JavaScript
<|file_sep|>original/pkgs/development/tools/rust/rustfmt/default.nix buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; # As of 1.0.0 and rustc 1.30 rustfmt requires a nightly compiler RUSTC_BOOTSTRAP = 1; # we run tests in debug mode so tests look for a debug build of ...
cargoSha256 = "08x6vy5v2vgrk3gsw3qcvv52a7hifsgcsnsg1phlk1ikaff21y4z"; buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; # As of 1.0.0 and rustc 1.30 rustfmt requires a nightly compiler RUSTC_BOOTSTRAP = 1; # we run tests in debug mode so tests look for a debug build of...
<|file_sep|>original/pkgs/development/tools/rust/rustfmt/default.nix buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; # As of 1.0.0 and rustc 1.30 rustfmt requires a nightly compiler RUSTC_BOOTSTRAP = 1; # we run tests in debug mode so tests look for a debug build of ...
f244c4fe5e3f09edd6f5cd8bb34f214f235e9b03
pkgs/development/tools/rust/rustfmt/default.nix
pkgs/development/tools/rust/rustfmt/default.nix
Nix
<|file_sep|>src/async_it.js.diff original: asyncIt.only = (description, test) => { const decoratedTest = _decorateTest(test) updated: asyncIt.only = (description, test, config) => { const decoratedTest = _decorateTest(test, config) <|file_sep|>original/src/async_it.js export const asyncIt = (description, test, conf...
export const asyncIt = (description, test, config) => { const decoratedTest = _decorateTest(test, config) it(description, decoratedTest) } asyncIt.only = (description, test, config) => { const decoratedTest = _decorateTest(test, config) it.only(description, decoratedTest) } asyncIt.skip = (description, test, ...
<|file_sep|>src/async_it.js.diff original: asyncIt.only = (description, test) => { const decoratedTest = _decorateTest(test) updated: asyncIt.only = (description, test, config) => { const decoratedTest = _decorateTest(test, config) <|file_sep|>original/src/async_it.js export const asyncIt = (description, test, conf...
ceccd07f94f5901b0310af01fabbed00118ffd24
src/async_it.js
src/async_it.js
JavaScript
<|file_sep|>original/work/history_file.rb <|file_sep|>current/work/history_file.rb <|file_sep|>updated/work/history_file.rb
module VCLog # The HistoryFile class will parse a history into an array # of release tags. Of course to do this, it assumes a specific # file format. # class HistoryFile FILE = '{HISTORY,HISTORY.*}' LINE = /^[=#]/ VERS = /(\d+[._])+\d+/ DATE = /(\d+[-])+\d+/ # Alias for `File::FNM_CASE...
<|file_sep|>original/work/history_file.rb <|file_sep|>current/work/history_file.rb <|file_sep|>updated/work/history_file.rb module VCLog # The HistoryFile class will parse a history into an array # of release tags. Of course to do this, it assumes a specific # file format. # class HistoryFile FILE = '...
25bac61411fc5a993a6ff71ef9248ff1eac4396c
work/history_file.rb
work/history_file.rb
Ruby
<|file_sep|>original/LICENSE.md Copyright (c) [year], [fullname] All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of c...
Copyright (c) 2014, Sergio Visinoni <piffio@piffio.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions...
<|file_sep|>original/LICENSE.md Copyright (c) [year], [fullname] All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of c...
60df3c206a183280b29bbeb83e4a964660b7d2c0
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>original/src/Kwetal/Workdays/Traits/ReformationDay.php trait ReformationDay { /** * @var string $labelReformationDay */ public $labelReformationDay = 'Reformation Day'; /** * Returns Reformation day * * @param int $year * @return DateTime */ protected fun...
trait ReformationDay { /** * @var string $labelReformationDay */ public $labelReformationDay = 'Reformation Day'; /** * Returns Reformation day * * @param int $year * @return DateTime */ protected function getReformationDay($year) { $day = new DateTime(sp...
<|file_sep|>original/src/Kwetal/Workdays/Traits/ReformationDay.php trait ReformationDay { /** * @var string $labelReformationDay */ public $labelReformationDay = 'Reformation Day'; /** * Returns Reformation day * * @param int $year * @return DateTime */ protected fun...
1a446a4af17894fcca94100385d5fe7292651ad5
src/Kwetal/Workdays/Traits/ReformationDay.php
src/Kwetal/Workdays/Traits/ReformationDay.php
PHP
<|file_sep|>.travis.yml.diff original: sudo: required compiler: - gcc before_install: - lsb_release -a - sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-add-repository -y ppa:beineri/opt-qt562 - sudo apt-get -qq update - sudo apt-get -qq install g++-5 libc6-i386 qt56tools qt56base - expo...
- libc6-i386 - qt56tools - qt56base before_install: - export CC=gcc-5 - export CXX=g++-5 - export PATH="/opt/qt56/bin/:${PATH}" - qt56-env.sh - os: osx compiler: clang before_install: - brew install qt - export PAT...
<|file_sep|>.travis.yml.diff original: sudo: required compiler: - gcc before_install: - lsb_release -a - sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-add-repository -y ppa:beineri/opt-qt562 - sudo apt-get -qq update - sudo apt-get -qq install g++-5 libc6-i386 qt56tools qt56base - expo...
d40fc79045dbee2883efa16a1b6a0933f12f91be
.travis.yml
.travis.yml
YAML
<|file_sep|>archive/archive_api/src/responses.py.diff original: updated: from werkzeug.wsgi import ClosingIterator <|file_sep|>archive/archive_api/src/responses.py.diff original: def __init__(self, response, **kwargs): # Here we unmarshal the response as provided by Flask-RESTPlus, add # the @conte...
response = b''.join([char for char in response]) rv = json.loads(response) # The @context may already be provided if we've been through the # force_type method below. if "@context" in rv: return super(ContextResponse, self).__init__(response, **kwargs) e...
<|file_sep|>archive/archive_api/src/responses.py.diff original: updated: from werkzeug.wsgi import ClosingIterator <|file_sep|>archive/archive_api/src/responses.py.diff original: def __init__(self, response, **kwargs): # Here we unmarshal the response as provided by Flask-RESTPlus, add # the @conte...
9be09ccf5749fae1d7a72663d592de5a88a755eb
archive/archive_api/src/responses.py
archive/archive_api/src/responses.py
Python
<|file_sep|>original/validation-test/compiler_crashers/28252-swift-constraints-constraintsystem-assignfixedtype.swift <|file_sep|>current/validation-test/compiler_crashers/28252-swift-constraints-constraintsystem-assignfixedtype.swift <|file_sep|>updated/validation-test/compiler_crashers/28252-swift-constraints-const...
// RUN: not --crash %target-swift-frontend %s -parse // REQUIRES: asserts // Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing {println(""""?struct{
<|file_sep|>original/validation-test/compiler_crashers/28252-swift-constraints-constraintsystem-assignfixedtype.swift <|file_sep|>current/validation-test/compiler_crashers/28252-swift-constraints-constraintsystem-assignfixedtype.swift <|file_sep|>updated/validation-test/compiler_crashers/28252-swift-constraints-const...
e64d12dee04e64f10b8ed6f73d1af3f13e4de4ce
validation-test/compiler_crashers/28252-swift-constraints-constraintsystem-assignfixedtype.swift
validation-test/compiler_crashers/28252-swift-constraints-constraintsystem-assignfixedtype.swift
Swift
<|file_sep|>original/package.json { "name": "iBeaconManager", "version": "0.1.0", "dependencies": { "express": "4.0.0", "fh-mbaas-api": "6.1.3", "request": "2.34.0", "body-parser": "~1.0.2", "cors": "~2.2.0", "underscore": "~1.6.0" }, "devDependencies": { "grunt-concurrent": "lates...
{ "name": "iBeaconManager", "version": "0.1.0", "dependencies": { "express": "4.0.0", "fh-mbaas-api": "6.1.4", "request": "2.34.0", "body-parser": "~1.0.2", "cors": "~2.2.0", "underscore": "~1.6.0" }, "devDependencies": { "grunt-concurrent": "latest", "grunt-contrib-jshint": "^...
<|file_sep|>original/package.json { "name": "iBeaconManager", "version": "0.1.0", "dependencies": { "express": "4.0.0", "fh-mbaas-api": "6.1.3", "request": "2.34.0", "body-parser": "~1.0.2", "cors": "~2.2.0", "underscore": "~1.6.0" }, "devDependencies": { "grunt-concurrent": "lates...
d6b84f84b2f368d77427cb1829ec06ae0930d7d3
package.json
package.json
JSON
<|file_sep|>akaudit/clidriver.py.diff original: updated: parser.add_argument('-i', '--interactive', help='Interactive mode (prompts asking if to delete each key)', action="store_true") <|file_sep|>original/akaudit/clidriver.py #!/usr/bin/env python import sys import argparse from akaudit.audit import Auditer def ma...
#!/usr/bin/env python import sys import argparse from akaudit.audit import Auditer def main(argv = sys.argv, log = sys.stderr): parser = argparse.ArgumentParser(description='Audit who has access to your homes.', formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('-l', '--log', default='info...
<|file_sep|>akaudit/clidriver.py.diff original: updated: parser.add_argument('-i', '--interactive', help='Interactive mode (prompts asking if to delete each key)', action="store_true") <|file_sep|>original/akaudit/clidriver.py #!/usr/bin/env python import sys import argparse from akaudit.audit import Auditer def ma...
3faf3a9debc0fad175ca032f3eb0880defbd0cdb
akaudit/clidriver.py
akaudit/clidriver.py
Python
<|file_sep|>original/.travis.yml - JEKYLL_ENV=production before_install: - gem update --system - gem install bundler # install: # - bundle install # script: # - rake cache: bundler: true directories: - $TRAVIS_BUILD_DIR/.jekyll-cache branches: only: - master notifications: email: <|file_...
- JEKYLL_ENV=production before_install: - gem update --system - gem install bundler # install: # - bundle install # script: # - rake addons: apt: packages: - libcurl4-openssl-dev cache: bundler: true directories: - $TRAVIS_BUILD_DIR/.jekyll-cache branches:
<|file_sep|>original/.travis.yml - JEKYLL_ENV=production before_install: - gem update --system - gem install bundler # install: # - bundle install # script: # - rake cache: bundler: true directories: - $TRAVIS_BUILD_DIR/.jekyll-cache branches: only: - master notifications: email: <|file_...
68728577c9a53fb1b6f6b64f7e4beb8f0b7dcff3
.travis.yml
.travis.yml
YAML
<|file_sep|>gulpfile.js.diff original: updated: var path = require('path') var main = path.basename(require('./package.json').main) <|file_sep|>original/gulpfile.js var gulp = require('gulp') var babel = require('gulp-babel') var sourcemaps = require('gulp-sourcemaps') gulp.task('build', function() { return gulp.sr...
var gulp = require('gulp') var babel = require('gulp-babel') var sourcemaps = require('gulp-sourcemaps') var path = require('path') var main = path.basename(require('./package.json').main) gulp.task('build', function () { return gulp.src([main, 'lib/*.js']) .pipe(sourcemaps.init()) .pipe(babel()) .pipe...
<|file_sep|>gulpfile.js.diff original: updated: var path = require('path') var main = path.basename(require('./package.json').main) <|file_sep|>original/gulpfile.js var gulp = require('gulp') var babel = require('gulp-babel') var sourcemaps = require('gulp-sourcemaps') gulp.task('build', function() { return gulp.sr...
33a656e73ef205cf0629339d826d423b62213c26
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/lib/Vulkan/Descriptor/Set/Layout.pm6 unit class Vulkan::Descriptor::Set::Layout is repr('CPointer'); # FIXME: figure out what "non-dispatchable" means and # why 32-bit platforms apparently need this to be # represented by a uint64 instead of a real pointer. use NativeCall; <|file_sep|>current/lib/...
unit class Vulkan::Descriptor::Set::Layout is repr('CPointer'); # FIXME: figure out what "non-dispatchable" means and # why 32-bit platforms apparently need this to be # represented by a uint64 instead of a real pointer. use NativeCall; our module Flags { our enum Create ( Khronos-PushDescriptor ); }
<|file_sep|>original/lib/Vulkan/Descriptor/Set/Layout.pm6 unit class Vulkan::Descriptor::Set::Layout is repr('CPointer'); # FIXME: figure out what "non-dispatchable" means and # why 32-bit platforms apparently need this to be # represented by a uint64 instead of a real pointer. use NativeCall; <|file_sep|>current/lib/...
d29e1384d5fce5a5d7913d1f24fc87bfb4292ee8
lib/Vulkan/Descriptor/Set/Layout.pm6
lib/Vulkan/Descriptor/Set/Layout.pm6
Perl6
<|file_sep|>original/src/main/web/templates/handlebars/base/base.handlebars {{resolveParents uri assign="breadcrumb"}} {{!-- Resolve navigation fetching children of root uri "/" with depth 2 --}} {{resolveTaxonomy depth=2 assign="navigation"}} {{#block "block-header"}} {{> partials/header}} {{/block}} <main id="main"...
{{!-- This is the base template, all other templates inherits from this base template --}} {{!-- Resolve parents of current uri for and assign to variable breadcrumb for building breadcrumb --}} {{resolveParents uri assign="breadcrumb"}} {{!-- Resolve navigation fetching children of root uri "/" with depth 2 --}} {{re...
<|file_sep|>original/src/main/web/templates/handlebars/base/base.handlebars {{resolveParents uri assign="breadcrumb"}} {{!-- Resolve navigation fetching children of root uri "/" with depth 2 --}} {{resolveTaxonomy depth=2 assign="navigation"}} {{#block "block-header"}} {{> partials/header}} {{/block}} <main id="main"...
84b9b34196abb7c20002f6645a10c453e26a9e2c
src/main/web/templates/handlebars/base/base.handlebars
src/main/web/templates/handlebars/base/base.handlebars
Handlebars
<|file_sep|>original/.github/workflows/ci.yml jobs: test: name: Node.js v${{ matrix.node }} and ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] node: ['6', '10', '12', '14'] steps: - uses: actions/checkout@v2 - name: Set...
runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] node: ['6', '10', '12', '14'] steps: - uses: actions/checkout@v2 - name: Setup Node.js v${{ matrix.node }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.nod...
<|file_sep|>original/.github/workflows/ci.yml jobs: test: name: Node.js v${{ matrix.node }} and ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] node: ['6', '10', '12', '14'] steps: - uses: actions/checkout@v2 - name: Set...
e363eb7a86d2c1d45669730044540d4933d21dba
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/io.go } if bwr != nil { return bwr.Flush() } return nil } func ReadContext(rawrd io.Reader) (Context, error) { rd := bufio.NewReader(rawrd) st := newst() for { line, _, err := rd.ReadLine() if err != nil { if err == io.EOF { return Context{unsafe.Pointer(&st)}, nil } retu...
} if bwr != nil { return bwr.Flush() } return nil } func ReadContext(rawrd io.Reader) (Context, error) { rd := bufio.NewReader(rawrd) st := newst() for { line, _, err := rd.ReadLine() if err != nil { if err == io.EOF { return Context{unsafe.Pointer(st)}, nil } return Context{}, err } st.a...
<|file_sep|>original/io.go } if bwr != nil { return bwr.Flush() } return nil } func ReadContext(rawrd io.Reader) (Context, error) { rd := bufio.NewReader(rawrd) st := newst() for { line, _, err := rd.ReadLine() if err != nil { if err == io.EOF { return Context{unsafe.Pointer(&st)}, nil } retu...
66cd6ff8f6f3ba914df6bc7fa3359e50077ef3c3
io.go
io.go
Go
<|file_sep|>original/.travis.yml language: ruby before_install: gem update bundler install: bundle install --jobs 3 --retry 3 --without mutant script: rake ci rvm: - 2.0 - 2.1 - 2.2 - 2.3 - ruby-head - rbx matrix: include: - rvm: jruby env: JRUBY_OPTS='--2.0' - rvm: jruby-head env: JRU...
language: ruby before_install: gem update bundler install: bundle install --jobs 3 --retry 3 --without mutant script: rake ci rvm: - 2.3.0 - 2.2.4 - 2.1.8 - 2.0.0 - ruby-head - rbx matrix: include: - rvm: jruby env: JRUBY_OPTS='--2.0' - rvm: jruby-head env: JRUBY_OPTS='--2.0' allow_f...
<|file_sep|>original/.travis.yml language: ruby before_install: gem update bundler install: bundle install --jobs 3 --retry 3 --without mutant script: rake ci rvm: - 2.0 - 2.1 - 2.2 - 2.3 - ruby-head - rbx matrix: include: - rvm: jruby env: JRUBY_OPTS='--2.0' - rvm: jruby-head env: JRU...
22cbc4d3fbbc6696d1687735e0a71406c74360b0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # quic-py QUIC protocol implementation in python <|file_sep|>current/README.md # quic-py QUIC protocol implementation in python <|file_sep|>updated/README.md
# quic-py QUIC protocol implementation in python ## References 1. [QUIC: A UDP-Based Secure and Reliable Transport for HTTP/2 - IETF draft](https://tools.ietf.org/html/draft-hamilton-early-deployment-quic-00) 2. [QUIC Loss Detection and Congestion Control - IETF draft](https://tools.ietf.org/html/draft-ietf-quic-reco...
<|file_sep|>original/README.md # quic-py QUIC protocol implementation in python <|file_sep|>current/README.md # quic-py QUIC protocol implementation in python <|file_sep|>updated/README.md # quic-py QUIC protocol implementation in python ## References 1. [QUIC: A UDP-Based Secure and Reliable Transport for HTTP/2 - I...
31ffd48ccde3968468e5b8782cbb01ce2ba04bdd
README.md
README.md
Markdown
<|file_sep|>original/src/actions/index.js } export const RECEIVE_STOP_DATA = 'RECEIVE_STOP_DATA' function receiveStopData(stop, data) { return { type: RECEIVE_STOP_DATA, stop, data } } export function fetchStop(stop) { return function(dispatch) { dispatch(startUpdatingStop(stop)) return fe...
} export const RECEIVE_STOP_DATA = 'RECEIVE_STOP_DATA' function receiveStopData(stop, data) { return { type: RECEIVE_STOP_DATA, stop, data } } export function fetchStop(stop) { return function(dispatch) { dispatch(startUpdatingStop(stop)) return fetch('http://localhost:3000/stop/'+stop) ...
<|file_sep|>original/src/actions/index.js } export const RECEIVE_STOP_DATA = 'RECEIVE_STOP_DATA' function receiveStopData(stop, data) { return { type: RECEIVE_STOP_DATA, stop, data } } export function fetchStop(stop) { return function(dispatch) { dispatch(startUpdatingStop(stop)) return fe...
7307a533174b103f8400624076aa65f72a0c4baa
src/actions/index.js
src/actions/index.js
JavaScript
<|file_sep|>original/Docs/Util/DocsUtil.sh <|file_sep|>current/Docs/Util/DocsUtil.sh <|file_sep|>updated/Docs/Util/DocsUtil.sh
source Array/Validator/ArrayValidator.sh source String/Validator/StringValidator.sh DocsUtil(){ getSources(){ allFiles=($(find * -type f -iname "*.sh")) excludedFiles=($(find * -type f -name "[a-z]*.sh")) listableFiles=() for (( i=0; i<${#allFiles[@]}; i++ )); do for (( j=0; j<${#excludedFiles[@]}; j++ )...
<|file_sep|>original/Docs/Util/DocsUtil.sh <|file_sep|>current/Docs/Util/DocsUtil.sh <|file_sep|>updated/Docs/Util/DocsUtil.sh source Array/Validator/ArrayValidator.sh source String/Validator/StringValidator.sh DocsUtil(){ getSources(){ allFiles=($(find * -type f -iname "*.sh")) excludedFiles=($(find * -type f ...
e8b25f6cdd32bca391fc6f302aaf1eba3f785b97
Docs/Util/DocsUtil.sh
Docs/Util/DocsUtil.sh
Shell
<|file_sep|>original/lib/silverpop.rb # Silverpop require 'net/http' require 'net/ftp' require 'uri' require 'nokogiri' require File.dirname(__FILE__) + '/silverpop/base' require File.dirname(__FILE__) + '/silverpop/engage' require File.dirname(__FILE__) + '/silverpop/transact' require File.dirname(__FILE__) + '/silve...
# Silverpop require 'net/http' require 'net/ftp' require 'uri' require 'nokogiri' require File.dirname(__FILE__) + '/silverpop/base' require File.dirname(__FILE__) + '/silverpop/engage' require File.dirname(__FILE__) + '/silverpop/transact'
<|file_sep|>original/lib/silverpop.rb # Silverpop require 'net/http' require 'net/ftp' require 'uri' require 'nokogiri' require File.dirname(__FILE__) + '/silverpop/base' require File.dirname(__FILE__) + '/silverpop/engage' require File.dirname(__FILE__) + '/silverpop/transact' require File.dirname(__FILE__) + '/silve...
87f4456a8d8016cecd74efe7b0d43e512c4bf0a0
lib/silverpop.rb
lib/silverpop.rb
Ruby
<|file_sep|>original/.github/ISSUE_TEMPLATE.md <|file_sep|>current/.github/ISSUE_TEMPLATE.md <|file_sep|>updated/.github/ISSUE_TEMPLATE.md
### Steps to reproduce #### Live Demo <!-- Fork this JSBin, or provide your own URL --> https://jsbin.com/ligimo/3/edit?html,output ### Expected result ### Actual result ### Browsers affected <!-- Check all that apply --> - [ ] Chrome - [ ] Firefox - [ ] Edge - [ ] Safari 9 - [ ] Safari 8 - [ ] IE 11 ### Screensh...
<|file_sep|>original/.github/ISSUE_TEMPLATE.md <|file_sep|>current/.github/ISSUE_TEMPLATE.md <|file_sep|>updated/.github/ISSUE_TEMPLATE.md ### Steps to reproduce #### Live Demo <!-- Fork this JSBin, or provide your own URL --> https://jsbin.com/ligimo/3/edit?html,output ### Expected result ### Actual result ### B...
8bb1959771b14ded42feb11038a5f8f3fad82049
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>django_databrowse/plugins/objects.py.diff original: updated: from django.template import RequestContext <|file_sep|>original/django_databrowse/plugins/objects.py if url is None: return http.HttpResponseRedirect( urlparse.urljoin(request.path, '../') ) ...
if url is None: return http.HttpResponseRedirect( urlparse.urljoin(request.path, '../') ) easy_model = EasyModel( model_databrowse.site, model_databrowse.model ) try: obj = easy_model.object_by_pk(url) ex...
<|file_sep|>django_databrowse/plugins/objects.py.diff original: updated: from django.template import RequestContext <|file_sep|>original/django_databrowse/plugins/objects.py if url is None: return http.HttpResponseRedirect( urlparse.urljoin(request.path, '../') ) ...
b706c31fe24e4e940108882f420c0509cce94970
django_databrowse/plugins/objects.py
django_databrowse/plugins/objects.py
Python
<|file_sep|>examples/terminal/powerline.py.diff original: #!/usr/bin/env python updated: #!/usr/bin/env python2 # -*- coding: utf-8 -*- <|file_sep|>original/examples/terminal/powerline.py #!/usr/bin/env python '''Powerline terminal prompt example. ''' import os import sys sys.path.append(os.path.join(os.path.dirname(_...
#!/usr/bin/env python2 # -*- coding: utf-8 -*- '''Powerline terminal prompt example. ''' import os import sys sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) from lib.core import Powerline, Segment from lib.renderers import TerminalSegmentRenderer powerline = Powerline([ Segment('⭤ SSH'...
<|file_sep|>examples/terminal/powerline.py.diff original: #!/usr/bin/env python updated: #!/usr/bin/env python2 # -*- coding: utf-8 -*- <|file_sep|>original/examples/terminal/powerline.py #!/usr/bin/env python '''Powerline terminal prompt example. ''' import os import sys sys.path.append(os.path.join(os.path.dirname(_...
a532da48349c645464b97fb618b83799269a6b4b
examples/terminal/powerline.py
examples/terminal/powerline.py
Python
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pytest==3.4.1 pytest-mock==1.7.1 pytest-cov==2.5.1 pytest-xdist==1.22.2 requests-mock==1.4.0 freezegun==0.3.9 flake8==3.5.0 flake8-print==3.1.0 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pytest==3.4.1 pytest-mock==1.7.1 pytest-cov...
-r requirements.txt pytest==3.4.2 pytest-mock==1.7.1 pytest-cov==2.5.1 pytest-xdist==1.22.2 requests-mock==1.4.0 freezegun==0.3.9 flake8==3.5.0 flake8-print==3.1.0
<|file_sep|>original/requirements_for_test.txt -r requirements.txt pytest==3.4.1 pytest-mock==1.7.1 pytest-cov==2.5.1 pytest-xdist==1.22.2 requests-mock==1.4.0 freezegun==0.3.9 flake8==3.5.0 flake8-print==3.1.0 <|file_sep|>current/requirements_for_test.txt -r requirements.txt pytest==3.4.1 pytest-mock==1.7.1 pytest-cov...
4c8c0f655fc46f1a1cf5a5caf85f8debceec289a
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/_config.yml title: Naming is hard description: Thoughts from a web ops engineer meta_description: "Tech notes from a web operations engineer" markdown: redcarpet pygments: true paginate: 3 tz: Europe/London permalink: /:year/:month/:day/:title/ url: 'http://tech.mattbostock.com' author: 'Matt Bos...
title: Naming is hard description: Thoughts from a web ops engineer meta_description: "Tech notes from a web operations engineer" markdown: redcarpet highlighter: pygments paginate: 3 tz: Europe/London permalink: /:year/:month/:day/:title/ url: 'http://tech.mattbostock.com' author: 'Matt Bostock' email: 'matt@mattbos...
<|file_sep|>original/_config.yml title: Naming is hard description: Thoughts from a web ops engineer meta_description: "Tech notes from a web operations engineer" markdown: redcarpet pygments: true paginate: 3 tz: Europe/London permalink: /:year/:month/:day/:title/ url: 'http://tech.mattbostock.com' author: 'Matt Bos...
f2f9bd0db993fef4ef43ca18332c6c7557a14bc3
_config.yml
_config.yml
YAML
<|file_sep|>_posts/2016-07-04-gsc-projects.md.diff original: title: Google summer of codes projects updated: title: Google Summer of Codes projects <|file_sep|>original/_posts/2016-07-04-gsc-projects.md --- layout: post title: Google summer of codes projects tags: - Coding --- Here is a list of all the google summer of...
--- layout: post title: Google Summer of Codes projects tags: - Coding --- Here is a list of all the Google Summer of Code projects I was a mentor for. * Implement a Map/Reduce Framework (2016) [Map/Reduce](http://en.wikipedia.org/wiki/MapReduce) frameworks are getting more and more popular for big data processing (f...
<|file_sep|>_posts/2016-07-04-gsc-projects.md.diff original: title: Google summer of codes projects updated: title: Google Summer of Codes projects <|file_sep|>original/_posts/2016-07-04-gsc-projects.md --- layout: post title: Google summer of codes projects tags: - Coding --- Here is a list of all the google summer of...
97340c341303a6498b2539b2c657f83d70cd30f9
_posts/2016-07-04-gsc-projects.md
_posts/2016-07-04-gsc-projects.md
Markdown
<|file_sep|>tasks/reporters/phantom-reporter.js.diff original: PhantomReporter = function () { this.started = false; this.finished = false; this.suites = []; this.results = {}; updated: PhantomReporter = { jasmineStarted: function () { ...
}, suiteStarted: function (suiteMetadata) { sendMessage('jasmine.suiteStarted', suiteMetadata); }, suiteDone: function (suiteMetadata) { sendMessage('jasmine.suiteDone', suiteMetadata); }, specStarted: function (s...
<|file_sep|>tasks/reporters/phantom-reporter.js.diff original: PhantomReporter = function () { this.started = false; this.finished = false; this.suites = []; this.results = {}; updated: PhantomReporter = { jasmineStarted: function () { ...
c637e4eff1aacbdeec23130ffd0ffc0567d3e0ab
tasks/reporters/phantom-reporter.js
tasks/reporters/phantom-reporter.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" before_script: npm run lint <|file_sep|>current/.travis.yml language: node_js node_js: - "6" before_script: npm run lint <|file_sep|>updated/.travis.yml
language: node_js node_js: - "8" before_script: npm run lint
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" before_script: npm run lint <|file_sep|>current/.travis.yml language: node_js node_js: - "6" before_script: npm run lint <|file_sep|>updated/.travis.yml language: node_js node_js: - "8" before_script: npm run lint
9656d776a3c3eea851cc725ea7d2122cb44134e9
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: updated: > Gabriel John Utterson, a lawyer and loyal friend of Jekyll's, is the character the narrator focuses on, and follows in Utterson's quest to discover the identity of Hyde. <|file_sep|>original/README.md # Utterson Jekyll Theme - Based on [Poole]("http://getpoole.com") ...
# Utterson Jekyll Theme - Based on [Poole]("http://getpoole.com") > Gabriel John Utterson, a lawyer and loyal friend of Jekyll's, is the character the narrator focuses on, and follows in Utterson's quest to discover the identity of Hyde. Excerpt from [Wikipedia](http://en.wikipedia.org/wiki/Strange_Case_of_Dr_Jekyll...
<|file_sep|>README.md.diff original: updated: > Gabriel John Utterson, a lawyer and loyal friend of Jekyll's, is the character the narrator focuses on, and follows in Utterson's quest to discover the identity of Hyde. <|file_sep|>original/README.md # Utterson Jekyll Theme - Based on [Poole]("http://getpoole.com") ...
9984a09a36010f604c2888971135f592e34281d5
README.md
README.md
Markdown
<|file_sep|>packages/di/dib.yaml.diff original: hash: 29d0209eb144e1fcf0a9a4f46dd89167e8513ba02a381ad65aba9f5e1c9329db updated: hash: 11f857e70a393412f3057d5ff3a2690bb13ff133bc97cfe739009bea17f37fa6 <|file_sep|>original/packages/di/dib.yaml homepage: '' changelog-type: '' hash: 29d0209eb144e1fcf0a9a4f46dd89167e8513ba02...
homepage: '' changelog-type: '' hash: 11f857e70a393412f3057d5ff3a2690bb13ff133bc97cfe739009bea17f37fa6 test-bench-deps: {} maintainer: Brett Lajzer synopsis: A simple, forward build system. changelog: '' basic-deps: cereal: -any bytestring: -any base: ! '>=4.8 && <4.11' time: -any text: -any filepath: -any ...
<|file_sep|>packages/di/dib.yaml.diff original: hash: 29d0209eb144e1fcf0a9a4f46dd89167e8513ba02a381ad65aba9f5e1c9329db updated: hash: 11f857e70a393412f3057d5ff3a2690bb13ff133bc97cfe739009bea17f37fa6 <|file_sep|>original/packages/di/dib.yaml homepage: '' changelog-type: '' hash: 29d0209eb144e1fcf0a9a4f46dd89167e8513ba02...
bda4acae8fd115cc48680e56d40ffafa98f81dc4
packages/di/dib.yaml
packages/di/dib.yaml
YAML
<|file_sep|>original/backend/pycon/settings/prod.py SECRET_KEY = env("SECRET_KEY") # CELERY_BROKER_URL = env("CELERY_BROKER_URL") USE_SCHEDULER = False # if FRONTEND_URL == "http://testfrontend.it/": # raise ImproperlyConfigured("Please configure FRONTEND_URL for production") SENTRY_DSN = env("SENTRY_DSN", defau...
SECRET_KEY = env("SECRET_KEY") # CELERY_BROKER_URL = env("CELERY_BROKER_URL") USE_SCHEDULER = False # if FRONTEND_URL == "http://testfrontend.it/": # raise ImproperlyConfigured("Please configure FRONTEND_URL for production") SENTRY_DSN = env("SENTRY_DSN", default="") if SENTRY_DSN: sentry_sdk.init(dsn=SENTR...
<|file_sep|>original/backend/pycon/settings/prod.py SECRET_KEY = env("SECRET_KEY") # CELERY_BROKER_URL = env("CELERY_BROKER_URL") USE_SCHEDULER = False # if FRONTEND_URL == "http://testfrontend.it/": # raise ImproperlyConfigured("Please configure FRONTEND_URL for production") SENTRY_DSN = env("SENTRY_DSN", defau...
fd32bdaa00c61d11edcf0ca60e4058e6d0b6b2d0
backend/pycon/settings/prod.py
backend/pycon/settings/prod.py
Python
<|file_sep|>packages/ho/hora.yaml.diff original: hash: 784422e12d8ec5ca53a7381d1066feed234e82d7dba3519933013e20167f9080 updated: hash: 30e2e23404c52dd88eb23219ae5430f057f3dc82f5ea02b3e674487aa1530b32 <|file_sep|>packages/ho/hora.yaml.diff original: updated: binary: -any <|file_sep|>packages/ho/hora.yaml.diff origina...
hspec: ! '>=2.1.7' binary: -any regex-do: ! '>=3.1' QuickCheck: ! '>=2.8.1' maintainer: Imants Cekusins synopsis: date time changelog: ! "##### 1.0.1\n DmyHmp derive Binary\n \n\n##### 1.0\n initial version\n " basic-deps: base: ! '>=4.7 && <5.0' time: -any binary: -any regex-do: !...
<|file_sep|>packages/ho/hora.yaml.diff original: hash: 784422e12d8ec5ca53a7381d1066feed234e82d7dba3519933013e20167f9080 updated: hash: 30e2e23404c52dd88eb23219ae5430f057f3dc82f5ea02b3e674487aa1530b32 <|file_sep|>packages/ho/hora.yaml.diff original: updated: binary: -any <|file_sep|>packages/ho/hora.yaml.diff origina...
ac3c8dd96f3fb3c18ca0d3089975761b71165a53
packages/ho/hora.yaml
packages/ho/hora.yaml
YAML
<|file_sep|>original/eris/chain/epm.yaml jobs: # META - name: deployContract job: deploy: contract: TaskManager.sol wait: true # SETTERS #- name: setBalanceBase # job: # set: # val: 5 #- name: setBalance # job: # call: # destination: $deployContract # data: set $setBalanceBas...
jobs: # META - name: TaskManager job: deploy: contract: TaskManager.sol wait: true # SETTERS #- name: setBalanceBase # job: # set: # val: 5 #- name: setBalance # job: # call: # destination: $deployContract # data: set $setBalanceBase # wait: true
<|file_sep|>original/eris/chain/epm.yaml jobs: # META - name: deployContract job: deploy: contract: TaskManager.sol wait: true # SETTERS #- name: setBalanceBase # job: # set: # val: 5 #- name: setBalance # job: # call: # destination: $deployContract # data: set $setBalanceBas...
8dbe2d7cc81dfffca137c9389db5a25c08e2d5e0
eris/chain/epm.yaml
eris/chain/epm.yaml
YAML
<|file_sep|>.travis.yml.diff original: updated: - 2.5.1 - 2.4.4 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.3.0 - 2.2.3 - 1.9.3 notifications: email: false before_install: gem install bundler -v 1.10.6 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.5.1 - 2.4.4 - 2.3.0 - 2.2.3 ...
language: ruby rvm: - 2.5.1 - 2.4.4 - 2.3.0 - 2.2.3 - 1.9.3 notifications: email: false before_install: gem install bundler -v 1.16.2
<|file_sep|>.travis.yml.diff original: updated: - 2.5.1 - 2.4.4 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.3.0 - 2.2.3 - 1.9.3 notifications: email: false before_install: gem install bundler -v 1.10.6 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.5.1 - 2.4.4 - 2.3.0 - 2.2.3 ...
e067d8ed1008c308b07af4b836a1ea5390bb4b55
.travis.yml
.travis.yml
YAML
<|file_sep|>original/res/generators/templates/application/build.yml name: <%=@app_name%> version: 1.0 vendor: rhomobile build: debug bbver: 4.6 wmsdk: "Windows Mobile 6 Professional SDK (ARMV4I)" applog: rholog.txt iphone: configuration: Release sdk: iphonesimulator4.3 provisionprofile: codesignidentity: enti...
vendor: rhomobile build: debug bbver: 4.6 wmsdk: "Windows Mobile 6 Professional SDK (ARMV4I)" applog: rholog.txt iphone: configuration: Release sdk: iphonesimulator4.3 provisionprofile: codesignidentity: entitlements: BundleIdentifier: com.rhomobile.<%=@app_name_cleared%> BundleURLScheme: <%=@app_name_cle...
<|file_sep|>original/res/generators/templates/application/build.yml name: <%=@app_name%> version: 1.0 vendor: rhomobile build: debug bbver: 4.6 wmsdk: "Windows Mobile 6 Professional SDK (ARMV4I)" applog: rholog.txt iphone: configuration: Release sdk: iphonesimulator4.3 provisionprofile: codesignidentity: enti...
31250a5acdd74198a48ae8d2ab72fdced74a290a
res/generators/templates/application/build.yml
res/generators/templates/application/build.yml
YAML
<|file_sep|>original/lib/codewars_api/user.rb module CodewarsApi class User def initialize(username) fail 'Username is not set' unless username @response = RequestHelper.get("#{CodewarsApi::API_URL}/users/#{username}") end def username @response.to_h['username'] end def name ...
module CodewarsApi class User def initialize(id_or_username) fail 'Username or id is not set' unless id_or_username @response = RequestHelper.get("#{CodewarsApi::API_URL}/users/#{id_or_username}") end def username @response.to_h['username'] end def name @response.to_h['na...
<|file_sep|>original/lib/codewars_api/user.rb module CodewarsApi class User def initialize(username) fail 'Username is not set' unless username @response = RequestHelper.get("#{CodewarsApi::API_URL}/users/#{username}") end def username @response.to_h['username'] end def name ...
ea92192032da56a032eb63486a073845d8168837
lib/codewars_api/user.rb
lib/codewars_api/user.rb
Ruby
<|file_sep|>locales/de/notes.properties.diff original: # LOCALIZATION NOTE (syncNotReady): Sync is intended as a generic # synchronization, not Firefox Sync. updated: <|file_sep|>original/locales/de/notes.properties welcomeTitle=Willkommen! welcomeText=Dieser einfache, einseitige, in Firefox integrierte Notizblock hil...
forgetEmail=E-Mail-Adresse vergessen syncNotReady=Die Synchronisation ist leider noch nicht bereit, aber Ihr Klick ermutigt uns, uns zu beeilen! syncNotes=Synchronisieren Sie Ihre Notizen syncProgress=Änderungen werden synchronisiert… # LOCALIZATION NOTE (disableSync): Sync is intended as a generic # synchronization, ...
<|file_sep|>locales/de/notes.properties.diff original: # LOCALIZATION NOTE (syncNotReady): Sync is intended as a generic # synchronization, not Firefox Sync. updated: <|file_sep|>original/locales/de/notes.properties welcomeTitle=Willkommen! welcomeText=Dieser einfache, einseitige, in Firefox integrierte Notizblock hil...
407aa8b1efd8cd81d6d1491fc89f33846a7ffe0d
locales/de/notes.properties
locales/de/notes.properties
INI
<|file_sep|>original/public/stylesheets/app.css float: left; margin-top: 10px; } .header-row .alert { margin-bottom: 0; } .visualizations { text-align: center; } #total-votes { display: block; margin: 0 auto; max-width: 300px; } #refresh { display: inline-block; float: right; } <|file_sep|>current/...
} .visualizations { text-align: center; } #total-votes { display: block; margin: 0 auto; max-width: 300px; } #refresh { display: inline-block; float: right; } .control-group { margin-top: 0px !important; padding-top: 20px; }
<|file_sep|>original/public/stylesheets/app.css float: left; margin-top: 10px; } .header-row .alert { margin-bottom: 0; } .visualizations { text-align: center; } #total-votes { display: block; margin: 0 auto; max-width: 300px; } #refresh { display: inline-block; float: right; } <|file_sep|>current/...
c388b12cb464231b5d36d95b819bab3307d395ca
public/stylesheets/app.css
public/stylesheets/app.css
CSS
<|file_sep|>original/packages/coinstac-common/src/decentralized-computations.json [ { "name": "bisect-converge", "tags": ["2.0.2"], "url": "https://github.com/MRN-Code/coinstac-example-computation-bisect-converge" }, { "name": "laplacian-noise-ridge-regression", "tags": ["2.0.3"], "url": "ht...
[ { "name": "bisect-converge", "tags": ["2.0.2"], "url": "https://github.com/MRN-Code/coinstac-example-computation-bisect-converge" }, { "name": "laplacian-noise-ridge-regression", "tags": ["2.0.3", "3.0.0"], "url": "https://github.com/MRN-Code/decentralized-laplacian-ridge-regression" } ]
<|file_sep|>original/packages/coinstac-common/src/decentralized-computations.json [ { "name": "bisect-converge", "tags": ["2.0.2"], "url": "https://github.com/MRN-Code/coinstac-example-computation-bisect-converge" }, { "name": "laplacian-noise-ridge-regression", "tags": ["2.0.3"], "url": "ht...
15e8fb3011e0a2c7e9fd5477f3b8be6985b4e65b
packages/coinstac-common/src/decentralized-computations.json
packages/coinstac-common/src/decentralized-computations.json
JSON
<|file_sep|>original/src/RNGLR.EBNFParser.Test/gen_parser.cmd del log.txt ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL\src\TSQL\mssqlNonAbstract.yrd -c Linearize -g "RNGLR.Generator -table LALR -o RNGLR.sql.yrd.fs" ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL...
del log.txt ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL\src\Grammars\TSQL\mssqlNonAbstract.yrd -c Linearize -g "RNGLR.EBNFGenerator -table LALR -o RNGLREBNF.sql.yrd.fs"
<|file_sep|>original/src/RNGLR.EBNFParser.Test/gen_parser.cmd del log.txt ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL\src\TSQL\mssqlNonAbstract.yrd -c Linearize -g "RNGLR.Generator -table LALR -o RNGLR.sql.yrd.fs" ..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL...
a29f5ec1655871e1ba28c4d815dda1f8714dc042
src/RNGLR.EBNFParser.Test/gen_parser.cmd
src/RNGLR.EBNFParser.Test/gen_parser.cmd
Batchfile
<|file_sep|>.travis.yml.diff original: - "5" - "5.1" updated: - "6" <|file_sep|>original/.travis.yml language: node_js node_js: - "5" - "5.1" - "4" - "4.1" - "4.0" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 <|file_sep|>current/.travis.y...
language: node_js node_js: - "6" - "4" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8
<|file_sep|>.travis.yml.diff original: - "5" - "5.1" updated: - "6" <|file_sep|>original/.travis.yml language: node_js node_js: - "5" - "5.1" - "4" - "4.1" - "4.0" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 <|file_sep|>current/.travis.y...
067717df6a4ad50804599dbe5f7fde78dd390faf
.travis.yml
.travis.yml
YAML
<|file_sep|>original/project/plugins.sbt addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.7.1") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatr...
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.7.1") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.8.0") val sbtSoftwareMillVersio...
<|file_sep|>original/project/plugins.sbt addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.7.1") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatr...
4506a877bc2f900646394e77f01768f507b49b57
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/.github/workflows/docker.yml <|file_sep|>current/.github/workflows/docker.yml <|file_sep|>updated/.github/workflows/docker.yml
name: Publish Docker image on: push: branches: - main pull_request: branches: - main jobs: push_to_registry: name: Push Docker image to Docker Hub runs-on: ubuntu-latest steps: - name: Check out the repo uses: actions/checkout@v2 - name: Log in to Docker Hub ...
<|file_sep|>original/.github/workflows/docker.yml <|file_sep|>current/.github/workflows/docker.yml <|file_sep|>updated/.github/workflows/docker.yml name: Publish Docker image on: push: branches: - main pull_request: branches: - main jobs: push_to_registry: name: Push Docker image to Do...
0b6a3851a986002ae02bfad5c711c8b952afc3a1
.github/workflows/docker.yml
.github/workflows/docker.yml
YAML
<|file_sep|>original/test/integration_test/test-deploy.sh <|file_sep|>current/test/integration_test/test-deploy.sh <|file_sep|>updated/test/integration_test/test-deploy.sh
#!/bin/bash -x apk update apk add jq KUBEVERSION=$(kubectl version -o json | jq ".serverVersion.gitVersion" -r) sed -i 's/<kube_version>/'"$KUBEVERSION"'/g' /specs/stork-scheduler.yaml echo "Creating stork deployment" kubectl delete -f /specs/stork-deployment.yaml kubectl create -f /specs/stork-deployment.yaml echo...
<|file_sep|>original/test/integration_test/test-deploy.sh <|file_sep|>current/test/integration_test/test-deploy.sh <|file_sep|>updated/test/integration_test/test-deploy.sh #!/bin/bash -x apk update apk add jq KUBEVERSION=$(kubectl version -o json | jq ".serverVersion.gitVersion" -r) sed -i 's/<kube_version>/'"$KUBE...
f3b978d3c6c036805d1f91ac7437407df5bed418
test/integration_test/test-deploy.sh
test/integration_test/test-deploy.sh
Shell
<|file_sep|>original/forecast/applications/core/commands/runserver.py import tornado.ioloop from forecast.manager import BaseCommand, Argument class RunserverCommand(BaseCommand): help_text = "Start a server" parameters = ( Argument("--port", "-p", action="store", default=8000, type=int), ) ...
import tornado.ioloop from forecast.manager import BaseCommand, Argument class RunserverCommand(BaseCommand): help_text = "Start a server" parameters = ( Argument("--port", "-p", action="store", default=8888, type=int), ) def run(self, project, args, unknown_args): print "Developme...
<|file_sep|>original/forecast/applications/core/commands/runserver.py import tornado.ioloop from forecast.manager import BaseCommand, Argument class RunserverCommand(BaseCommand): help_text = "Start a server" parameters = ( Argument("--port", "-p", action="store", default=8000, type=int), ) ...
f04177c853ccd686af30b5866c13c8016b462a6b
forecast/applications/core/commands/runserver.py
forecast/applications/core/commands/runserver.py
Python
<|file_sep|>original/library/src/main/java/com/novoda/downloadmanager/WaitForLockRunnable.java package com.novoda.downloadmanager; import com.novoda.notils.logger.simple.Log; class WaitForLockRunnable { interface Action { void performAction(); } static WaitForLockAndThenPerformActionRunnable wai...
package com.novoda.downloadmanager; import com.novoda.notils.logger.simple.Log; class WaitForLockRunnable { interface Action { void performAction(); } private WaitForLockRunnable() { // Uses static factory method. } static WaitForLockAndThenPerformActionRunnable waitFor(Object l...
<|file_sep|>original/library/src/main/java/com/novoda/downloadmanager/WaitForLockRunnable.java package com.novoda.downloadmanager; import com.novoda.notils.logger.simple.Log; class WaitForLockRunnable { interface Action { void performAction(); } static WaitForLockAndThenPerformActionRunnable wai...
5c1395d38328e6a4cbb990affbeeeec7d60262b8
library/src/main/java/com/novoda/downloadmanager/WaitForLockRunnable.java
library/src/main/java/com/novoda/downloadmanager/WaitForLockRunnable.java
Java
<|file_sep|>README.md.diff original: * [More Info](#moreInfo) updated: * [More Info](#markdown-header-more-info) <|file_sep|>original/README.md ## Table of Contents * [Getting Started](#gettingStarted) * [Defining Tests](#definingTests) * [Assertions](#assertions) * [Setup and Teardown](#setupAndTeardown) * [More Info]...
## Table of Contents * [Getting Started](#gettingStarted) * [Defining Tests](#definingTests) * [Assertions](#assertions) * [Setup and Teardown](#setupAndTeardown) * [More Info](#markdown-header-more-info) ## <a name="gettingStarted"></a>Getting Started [top](#top) ## <a name="definingTests"></a>Defining Tests [top](#...
<|file_sep|>README.md.diff original: * [More Info](#moreInfo) updated: * [More Info](#markdown-header-more-info) <|file_sep|>original/README.md ## Table of Contents * [Getting Started](#gettingStarted) * [Defining Tests](#definingTests) * [Assertions](#assertions) * [Setup and Teardown](#setupAndTeardown) * [More Info]...
1169a8622dac75f67d1f32c108125490e49ec1e9
README.md
README.md
Markdown
<|file_sep|>original/src/Nest/CommonAbstractions/Response/EmptyResponse.cs using Newtonsoft.Json; namespace Nest { public interface IEmptyResponse : IResponse { } [JsonObject] //TODO Only used by clearscroll, does it really not return anything useful? public class EmptyResponse : BaseResponse, IEmptyResponse ...
using Newtonsoft.Json; namespace Nest { public interface IEmptyResponse : IResponse { } [JsonObject] public class EmptyResponse : BaseResponse, IEmptyResponse { } }
<|file_sep|>original/src/Nest/CommonAbstractions/Response/EmptyResponse.cs using Newtonsoft.Json; namespace Nest { public interface IEmptyResponse : IResponse { } [JsonObject] //TODO Only used by clearscroll, does it really not return anything useful? public class EmptyResponse : BaseResponse, IEmptyResponse ...
f0b268ccdc002cd7de6b1521b8959e5de43df5b7
src/Nest/CommonAbstractions/Response/EmptyResponse.cs
src/Nest/CommonAbstractions/Response/EmptyResponse.cs
C#
<|file_sep|>provision/roles/xmonad/tasks/install.yml.diff original: - name: remove super key mappings updated: - name: remove super key mappings 1 <|file_sep|>original/provision/roles/xmonad/tasks/install.yml become: true - name: make directory for config file: path="~/.xmonad" state=directory - name: copy xmonad c...
- name: make directory for config file: path="~/.xmonad" state=directory - name: copy xmonad config copy: src=xmonad.hs dest=~/.xmonad/xmonad.hs - name: reset xmonad shell: "xmonad --recompile" - name: set window manager dconf: key: /org/mate/desktop/session/required-components/windowmanager value: "'xm...
<|file_sep|>provision/roles/xmonad/tasks/install.yml.diff original: - name: remove super key mappings updated: - name: remove super key mappings 1 <|file_sep|>original/provision/roles/xmonad/tasks/install.yml become: true - name: make directory for config file: path="~/.xmonad" state=directory - name: copy xmonad c...
1ac3e2c5747463c12140be60a403ec064834f289
provision/roles/xmonad/tasks/install.yml
provision/roles/xmonad/tasks/install.yml
YAML
<|file_sep|>original/README.md # InfoArchive SIP SDK The EMC InfoArchive SIP SDK is a Java library that makes it quick and easy to create SIPs regardless of what type of data it contains or where that data originates from. A SIP is a package (a ZIP file) consisting of a packaging information, metadata (structured data...
# InfoArchive SIP SDK The [EMC InfoArchive](http://www.emc.com/enterprise-content-management/infoarchive/) SIP SDK is a Java library that makes it quick and easy to create SIPs regardless of what type of data it contains or where that data originates from. A SIP (Submission Information Package) is a package consistin...
<|file_sep|>original/README.md # InfoArchive SIP SDK The EMC InfoArchive SIP SDK is a Java library that makes it quick and easy to create SIPs regardless of what type of data it contains or where that data originates from. A SIP is a package (a ZIP file) consisting of a packaging information, metadata (structured data...
3f8e040e4e3973a4ddcadb6eddc5819d18f6e31f
README.md
README.md
Markdown
<|file_sep|>original/README.md # Sample CLI Calculator Sample repository to demonstrate Git and GitHub ## Usage: ```bash $ java Calculate <method> <arguments...> ``` ### Available Methods: - `add A B` - Adds `A` and `B` - `subtract A B` - Subtracts the `B` from `A` - `multiply A B` - Multiplies the `A` by `B` - `divi...
# Sample CLI Calculator Sample repository to demonstrate Git and GitHub ## Usage: ```bash $ java Calculate <method> <arguments...> ``` ### Available Methods: - `add A B` - Adds `A` and `B` - `subtract A B` - Subtracts the `B` from `A` - `multiply A B` - Multiplies the `A` by `B` - `divide A B` - Divides `A` by `B` - ...
<|file_sep|>original/README.md # Sample CLI Calculator Sample repository to demonstrate Git and GitHub ## Usage: ```bash $ java Calculate <method> <arguments...> ``` ### Available Methods: - `add A B` - Adds `A` and `B` - `subtract A B` - Subtracts the `B` from `A` - `multiply A B` - Multiplies the `A` by `B` - `divi...
c3b0e6c90b536b1c51ec7e21f9a6f590b1facf36
README.md
README.md
Markdown
<|file_sep|>original/tests/test_agent.py <|file_sep|>current/tests/test_agent.py <|file_sep|>updated/tests/test_agent.py
""" Tests for a agent. """ import io import os import pytest from onirim import action from onirim import agent from onirim import component def file_agent(in_str): return agent.File(io.StringIO(in_str), open(os.devnull, "w")) def content(): return component.Content([]) @pytest.mark.parametrize(
<|file_sep|>original/tests/test_agent.py <|file_sep|>current/tests/test_agent.py <|file_sep|>updated/tests/test_agent.py """ Tests for a agent. """ import io import os import pytest from onirim import action from onirim import agent from onirim import component def file_agent(in_str): return agent.File(io.Str...
507e3bad4e877330eea29675dafb8210ab6bada5
tests/test_agent.py
tests/test_agent.py
Python
<|file_sep|>original/source/net/message-framework/CMakeLists.txt MessageServerFull.cpp MessageDispatcher.cpp MessageFrameworkException.cpp MessageFrameworkNode.cpp ServiceInfo.cpp ServicePermissionInfo.cpp ServiceRegistrationMessage.cpp ThreadPool.cpp common.cpp MFClient...
MessageServerFull.cpp MessageDispatcher.cpp MessageFrameworkException.cpp MessageFrameworkNode.cpp ServiceInfo.cpp ServicePermissionInfo.cpp ServiceRegistrationMessage.cpp ThreadPool.cpp common.cpp #MFClient.cpp # MessageClientLight.cpp # MessageControllerLi...
<|file_sep|>original/source/net/message-framework/CMakeLists.txt MessageServerFull.cpp MessageDispatcher.cpp MessageFrameworkException.cpp MessageFrameworkNode.cpp ServiceInfo.cpp ServicePermissionInfo.cpp ServiceRegistrationMessage.cpp ThreadPool.cpp common.cpp MFClient...
72587285612540f3c8ab18031df03ceefe89592c
source/net/message-framework/CMakeLists.txt
source/net/message-framework/CMakeLists.txt
Text
<|file_sep|>original/lib/god/trigger.rb def self.register(condition) @mutex.synchronize do self.triggers[condition.watch.name] ||= [] self.triggers[condition.watch.name] << condition end end def self.deregister(condition) @mutex.synchronize do self.triggers[condit...
def self.register(condition) @mutex.synchronize do self.triggers[condition.watch.name] ||= [] self.triggers[condition.watch.name] << condition end end def self.deregister(condition) @mutex.synchronize do if self.triggers[condition.watch.name] self.trigge...
<|file_sep|>original/lib/god/trigger.rb def self.register(condition) @mutex.synchronize do self.triggers[condition.watch.name] ||= [] self.triggers[condition.watch.name] << condition end end def self.deregister(condition) @mutex.synchronize do self.triggers[condit...
ec7030a69a3360af955ca655f238a0006e687628
lib/god/trigger.rb
lib/god/trigger.rb
Ruby
<|file_sep|>original/css/style.scss // These lines here extend the table so it automatically gets those // stylings and look like real tables without having to add // that class to everything. table { @extend .table; @extend .table-bordered; } // Default blockquotes are too big in Bootstrap. // Shrink them down bl...
@extend .table; @extend .table-bordered; } // Default blockquotes are too big in Bootstrap. // Shrink them down blockquote { font-size: inherit; } // Set height to prevent weird bug where sidebar is clipped at bottom. html { height: 100%; } body { height: 100%; } h2,h3,h4,h5,h6 { margin-top: 30px; }
<|file_sep|>original/css/style.scss // These lines here extend the table so it automatically gets those // stylings and look like real tables without having to add // that class to everything. table { @extend .table; @extend .table-bordered; } // Default blockquotes are too big in Bootstrap. // Shrink them down bl...
9806e80d457a5152fb52620a85fc1ef360cfc53f
css/style.scss
css/style.scss
SCSS
<|file_sep|>app/views/users/_filter_status.html.erb.diff original: <!-- TODO: Once #213 is fixed we can simplify some checks here --> updated: <|file_sep|>app/views/users/_filter_status.html.erb.diff original: class: type_scope == "give" && status_scope == "available" ? "actual" : "''" %> updated: class: st...
<div class="filter_status"> <%= link_to t('nlt.all'), url_for, class: type_scope.nil? ? "actual" : "''" %> <%= link_to t('nlt.available'), url_for(type: 'give', status: 'available'), class: status_scope == "available" ? "actual" : "''" %> <%= link_to t('nlt.booked'), url_for(type: 'give', status: 'booked'), ...
<|file_sep|>app/views/users/_filter_status.html.erb.diff original: <!-- TODO: Once #213 is fixed we can simplify some checks here --> updated: <|file_sep|>app/views/users/_filter_status.html.erb.diff original: class: type_scope == "give" && status_scope == "available" ? "actual" : "''" %> updated: class: st...
db4fd25a3ae3436ee57ec1d89dfec466e14b8484
app/views/users/_filter_status.html.erb
app/views/users/_filter_status.html.erb
HTML+ERB
<|file_sep|>original/t/html/docs/doc_4.t <|file_sep|>current/t/html/docs/doc_4.t <|file_sep|>updated/t/html/docs/doc_4.t
#!/usr/bin/env perl use strict; use v5.10; use Log::Declare; use Test::More; use lib 't/lib'; use Helpers; plan tests => 3; use_ok 'Text::CaffeinatedMarkup::HTML'; new_ok 'Text::CaffeinatedMarkup::HTML'; local $/=undef; test_html_data_document(Text::CaffeinatedMarkup::HTML->new,<DATA>); done_testing();
<|file_sep|>original/t/html/docs/doc_4.t <|file_sep|>current/t/html/docs/doc_4.t <|file_sep|>updated/t/html/docs/doc_4.t #!/usr/bin/env perl use strict; use v5.10; use Log::Declare; use Test::More; use lib 't/lib'; use Helpers; plan tests => 3; use_ok 'Text::CaffeinatedMarkup::HTML'; new_ok 'Text::CaffeinatedMa...
7dfeceabfe366356de0bf000604159f831fd1e50
t/html/docs/doc_4.t
t/html/docs/doc_4.t
Perl
<|file_sep|>original/useful_links.txt Other docs to read about porting to Py3: http://lucumr.pocoo.org/2011/1/22/forwards-compatible-python/ http://python3porting.com/noconv.html http://techspot.zzzeek.org/2011/01/24/zzzeek-s-guide-to-python-3-porting/ http://dabeaz.blogspot.com.au/2011/01/porting-py65-and-my-superboa...
Other docs to read about porting to Py3: http://lucumr.pocoo.org/2011/1/22/forwards-compatible-python/ http://python3porting.com/noconv.html http://techspot.zzzeek.org/2011/01/24/zzzeek-s-guide-to-python-3-porting/ http://dabeaz.blogspot.com.au/2011/01/porting-py65-and-my-superboard-to.html http://wolfprojects.altervi...
<|file_sep|>original/useful_links.txt Other docs to read about porting to Py3: http://lucumr.pocoo.org/2011/1/22/forwards-compatible-python/ http://python3porting.com/noconv.html http://techspot.zzzeek.org/2011/01/24/zzzeek-s-guide-to-python-3-porting/ http://dabeaz.blogspot.com.au/2011/01/porting-py65-and-my-superboa...
0e3a4d738a8a096bda16fdee8c9ea94a9972f20e
useful_links.txt
useful_links.txt
Text
<|file_sep|>original/masters/master.client.skia.fyi/slaves.cfg 'builder': [ 'Housekeeper-Periodic-AutoRoll', ], 'os': 'linux', 'version': 'precise', 'bits': '64', }, { 'master': 'SkiaFYI', 'hostname': 'skiabot-linux-housekeeper-001', 'builder': [ 'Housekeeper-PerCommit', ...
'version': 'precise', 'bits': '64', }, { 'master': 'SkiaFYI', 'hostname': 'skiabot-linux-housekeeper-001', 'builder': [ 'Housekeeper-PerCommit', 'Housekeeper-Nightly-RecreateSKPs_Canary', 'Housekeeper-Weekly-RecreateSKPs', ], 'os': 'linux', 'version': 'precise', ...
<|file_sep|>original/masters/master.client.skia.fyi/slaves.cfg 'builder': [ 'Housekeeper-Periodic-AutoRoll', ], 'os': 'linux', 'version': 'precise', 'bits': '64', }, { 'master': 'SkiaFYI', 'hostname': 'skiabot-linux-housekeeper-001', 'builder': [ 'Housekeeper-PerCommit', ...
b31de96cefb516c81c68fb480c0727d9adde10b2
masters/master.client.skia.fyi/slaves.cfg
masters/master.client.skia.fyi/slaves.cfg
INI
<|file_sep|>original/test/test_lesstidy.rb require 'helper' class TestLesstidy < Test::Unit::TestCase pass_tests = { pass1: "div { color: red; }", pass2: "div + div { color: red; }", pass3: "div[name=foo] { color: red; }", pass4: "div[name='foo'] { color: red; }", pass5: "div[name='foo'] { .gradi...
require 'helper' class TestLesstidy < Test::Unit::TestCase pass_tests = { pass1: "div { color: red; }", pass2: "div + div { color: red; }", pass3: "div[name=foo] { color: red; }", pass4: "div[name='foo'] { color: red; }", pass5: "div[name='foo'] { .gradient('$*&!*@#()&!#'); }", pass6: "tt { a...
<|file_sep|>original/test/test_lesstidy.rb require 'helper' class TestLesstidy < Test::Unit::TestCase pass_tests = { pass1: "div { color: red; }", pass2: "div + div { color: red; }", pass3: "div[name=foo] { color: red; }", pass4: "div[name='foo'] { color: red; }", pass5: "div[name='foo'] { .gradi...
57c1346a3b6c4e5c1e7e51d4f3f20133c294205e
test/test_lesstidy.rb
test/test_lesstidy.rb
Ruby
<|file_sep|>original/laravel/database/migrations/2016_02_19_045140_create_user_data_table.php * @return void */ public function up() { // Schema::create('user_data', function (Blueprint $table) { $table->increments('id'); $table->string('burner_name')->n...
* @return void */ public function up() { // Schema::create('user_data', function (Blueprint $table) { $table->increments('id'); $table->string('burner_name')->nullable(); $table->string('real_name')->nullable(); $table->string('ad...
<|file_sep|>original/laravel/database/migrations/2016_02_19_045140_create_user_data_table.php * @return void */ public function up() { // Schema::create('user_data', function (Blueprint $table) { $table->increments('id'); $table->string('burner_name')->n...
5a71e72bce1682ff602f5524005f0287990f54fe
laravel/database/migrations/2016_02_19_045140_create_user_data_table.php
laravel/database/migrations/2016_02_19_045140_create_user_data_table.php
PHP
<|file_sep|>example_box/README.md.diff original: There are two box formats for the `kvm` provider: 1. VirtualBox box - you need to change the provider to `kvm` in the `metadata.json` file, the box will be converted on the fly. 2. "Native" box - you need a box.xml file (libvirt domain format) and a raw image file ...
# Vagrant KVM Example Box Vagrant providers each require a custom provider-specific box format. This folder shows the example contents of a box for the `kvm` provider. You need a box.xml file (libvirt domain format), you can use the example supplied as a base or use one from a VM you created with other tools. Don't f...
<|file_sep|>example_box/README.md.diff original: There are two box formats for the `kvm` provider: 1. VirtualBox box - you need to change the provider to `kvm` in the `metadata.json` file, the box will be converted on the fly. 2. "Native" box - you need a box.xml file (libvirt domain format) and a raw image file ...
ca688365a23880f4fd181257322d5ff5c31003c3
example_box/README.md
example_box/README.md
Markdown
<|file_sep|>index.php.diff original: $plugins = array( new AdminerDatabaseHide(array("mysql", "information_schema", "performance_schema")), new AdminerLoginServers(array(filter_input(INPUT_SERVER, 'SERVER_NAME'))), updated: $plugins = [ new AdminerDatabaseHide(["mysql", "information_sche...
} // Specify enabled plugins here. $plugins = [ new AdminerDatabaseHide(["mysql", "information_schema", "performance_schema"]), new AdminerLoginServers([ filter_input(INPUT_SERVER, 'HTTP_HOST') => filter_input(INPUT_SERVER, 'SERVER_NAME') ]), new AdminerSimpleMen...
<|file_sep|>index.php.diff original: $plugins = array( new AdminerDatabaseHide(array("mysql", "information_schema", "performance_schema")), new AdminerLoginServers(array(filter_input(INPUT_SERVER, 'SERVER_NAME'))), updated: $plugins = [ new AdminerDatabaseHide(["mysql", "information_sche...
2efec08d5a6df07cfdbeb9485666b08e993c0a75
index.php
index.php
PHP
<|file_sep|>original/net/net/CMakeLists.txt ROOT_GLOB_HEADERS(headers RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/inc inc/*.h) ROOT_GLOB_SOURCES(sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/src src/*.cxx) if(NOT ssl) list(REMOVE_ITEM headers TSSLSocket.h) list(REMOVE_ITEM sources TSSLSocket.cxx) set(ssllib) else() ...
ROOT_GLOB_HEADERS(headers RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/inc inc/*.h) ROOT_GLOB_SOURCES(sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/src src/*.cxx) if(NOT ssl) list(REMOVE_ITEM headers TSSLSocket.h) list(REMOVE_ITEM sources TSSLSocket.cxx) set(ssllib) else() include_directories(${OPENSSL_INCLUDE_DIR}) ...
<|file_sep|>original/net/net/CMakeLists.txt ROOT_GLOB_HEADERS(headers RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/inc inc/*.h) ROOT_GLOB_SOURCES(sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/src src/*.cxx) if(NOT ssl) list(REMOVE_ITEM headers TSSLSocket.h) list(REMOVE_ITEM sources TSSLSocket.cxx) set(ssllib) else() ...
9fcb6d38cb23c62f9063abe92ea08c5832cab16a
net/net/CMakeLists.txt
net/net/CMakeLists.txt
Text
<|file_sep|>original/addon/engine.js import Resolver from 'ember-resolver'; import loadInitializers from 'ember-load-initializers'; import config from './config/environment'; const { modulePrefix } = config; const Eng = Engine.extend({ modulePrefix, Resolver, dependencies: { services: [ 'store', ...
import Engine from 'ember-engines/engine'; import Resolver from 'ember-resolver'; import loadInitializers from 'ember-load-initializers'; import config from './config/environment'; const { modulePrefix } = config; const Eng = Engine.extend({ modulePrefix, Resolver }); loadInitializers(Eng, modulePrefix); export ...
<|file_sep|>original/addon/engine.js import Resolver from 'ember-resolver'; import loadInitializers from 'ember-load-initializers'; import config from './config/environment'; const { modulePrefix } = config; const Eng = Engine.extend({ modulePrefix, Resolver, dependencies: { services: [ 'store', ...
0c410708be0bd112391b0f6f34d0a1cfca39ea85
addon/engine.js
addon/engine.js
JavaScript
<|file_sep|>original/_posts/2018-08-13-atata.kendoui-0.7.0-released.md <|file_sep|>current/_posts/2018-08-13-atata.kendoui-0.7.0-released.md <|file_sep|>updated/_posts/2018-08-13-atata.kendoui-0.7.0-released.md
--- title: "Atata.KendoUI 0.7.0 Released" date: 2018-08-13 description: "Atata.KendoUI 0.7.0 has been released. Check the changelog." release_version: "0.7.0" --- [Atata.KendoUI {{page.release_version}}](https://www.nuget.org/packages/Atata.KendoUI/{{page.release_version}}) has been released. Check the changelog. {:.l...
<|file_sep|>original/_posts/2018-08-13-atata.kendoui-0.7.0-released.md <|file_sep|>current/_posts/2018-08-13-atata.kendoui-0.7.0-released.md <|file_sep|>updated/_posts/2018-08-13-atata.kendoui-0.7.0-released.md --- title: "Atata.KendoUI 0.7.0 Released" date: 2018-08-13 description: "Atata.KendoUI 0.7.0 has been relea...
1cf8835e44597c470ec97a93efc5ede0cfa883fc
_posts/2018-08-13-atata.kendoui-0.7.0-released.md
_posts/2018-08-13-atata.kendoui-0.7.0-released.md
Markdown
<|file_sep|>original/cookbooks/google-chrome/recipes/default.rb # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the So...
# copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY O...
<|file_sep|>original/cookbooks/google-chrome/recipes/default.rb # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the So...
75d04cfd4c6f93181c62eb6438033b99cb5271c0
cookbooks/google-chrome/recipes/default.rb
cookbooks/google-chrome/recipes/default.rb
Ruby
<|file_sep|>original/java/leetcode/implement_strstr/Solution.java <|file_sep|>current/java/leetcode/implement_strstr/Solution.java <|file_sep|>updated/java/leetcode/implement_strstr/Solution.java
package leetcode.implement_strstr; public class Solution { public int[] build_table(char[] haystack){ int length = haystack.length; int[] table = new int[length]; int pos = 2; int cnd = 0; table[0] = -1; if(table.length > 1) table[1] = 0; while(pos < length){ if(haystack[pos - 1] == haystack[cnd])...
<|file_sep|>original/java/leetcode/implement_strstr/Solution.java <|file_sep|>current/java/leetcode/implement_strstr/Solution.java <|file_sep|>updated/java/leetcode/implement_strstr/Solution.java package leetcode.implement_strstr; public class Solution { public int[] build_table(char[] haystack){ int length = hay...
c71013a835c9c514250006b345065dad1e877f0e
java/leetcode/implement_strstr/Solution.java
java/leetcode/implement_strstr/Solution.java
Java
<|file_sep|>original/web/geosearch/tests/test_bag_dataset.py class TestBAGDataset(unittest.TestCase): def test_query(self): x = 120993 y = 485919 ds = datasource.BagDataSource(dsn=config.DSN_BAG) results = ds.query(x, y) self.assertEqual(len(results['features']), 7) ...
class TestBAGDataset(unittest.TestCase): def test_query(self): x = 120993 y = 485919 ds = datasource.BagDataSource(dsn=config.DSN_BAG) results = ds.query(x, y) self.assertEqual(len(results['features']), 6) self.assertIn('distance', results['features'][0]['properti...
<|file_sep|>original/web/geosearch/tests/test_bag_dataset.py class TestBAGDataset(unittest.TestCase): def test_query(self): x = 120993 y = 485919 ds = datasource.BagDataSource(dsn=config.DSN_BAG) results = ds.query(x, y) self.assertEqual(len(results['features']), 7) ...
85db49b33f793a1ed5c66684996862fa8f1614b1
web/geosearch/tests/test_bag_dataset.py
web/geosearch/tests/test_bag_dataset.py
Python
<|file_sep|>original/packages/compile-common/src/index.ts import { Profiler } from "./profiler"; export { Profiler }; <|file_sep|>current/packages/compile-common/src/index.ts import { Profiler } from "./profiler"; export { Profiler }; <|file_sep|>updated/packages/compile-common/src/index.ts
import { Profiler } from "./profiler"; export { Profiler }; type Compilation = { sourceIndexes: string[]; contracts: CompiledContract[]; compiler: { name: string; version: string; }; }; type CompilerResult = Compilation[]; type CompiledContract = { contractName: string; contract_name: string; s...
<|file_sep|>original/packages/compile-common/src/index.ts import { Profiler } from "./profiler"; export { Profiler }; <|file_sep|>current/packages/compile-common/src/index.ts import { Profiler } from "./profiler"; export { Profiler }; <|file_sep|>updated/packages/compile-common/src/index.ts import { Profiler } from "./...
e4a71461cc87a3121d1ba576d3d07b2b69a9545f
packages/compile-common/src/index.ts
packages/compile-common/src/index.ts
TypeScript
<|file_sep|>original/ontrac-web-services.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/ontrac/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Brian Abreu"] gem.email = ["brian@nuts.com"] gem.description = %q{Provides an interface to the OnTrac web services...
# -*- encoding: utf-8 -*- require File.expand_path('../lib/ontrac/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Brian Abreu"] gem.email = ["brian@nuts.com"] gem.description = %q{Provides an interface to the OnTrac web services API} gem.summary = %q{Interfaces with th...
<|file_sep|>original/ontrac-web-services.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/ontrac/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Brian Abreu"] gem.email = ["brian@nuts.com"] gem.description = %q{Provides an interface to the OnTrac web services...
c96a76d60176c013ff66290c41d9c085f193c080
ontrac-web-services.gemspec
ontrac-web-services.gemspec
Ruby
<|file_sep|>original/Battery-Commander.Tests/AirTableServiceTests.cs [Fact] public async Task Try_Get_Records() { if (String.IsNullOrWhiteSpace(AppKey)) return; // Arrange var options = Options.Create(new AirTableSettings { AppKey = AppKey, BaseId = BaseId }...
var service = new AirTableService(options); // Act var records = await service.GetRecords(); // Assert Assert.NotEmpty(records); } [Fact] public async Task Get_Purchase_Order() { if (String.IsNullOrWhiteSpace(Ap...
<|file_sep|>original/Battery-Commander.Tests/AirTableServiceTests.cs [Fact] public async Task Try_Get_Records() { if (String.IsNullOrWhiteSpace(AppKey)) return; // Arrange var options = Options.Create(new AirTableSettings { AppKey = AppKey, BaseId = BaseId }...
a1c60447ec69949ea9b5ece04f7fec23c4827849
Battery-Commander.Tests/AirTableServiceTests.cs
Battery-Commander.Tests/AirTableServiceTests.cs
C#
<|file_sep|>original/app/mailers/noisy_workflow.rb email_address = case action.request_type when Action::PUBLISHED then "team@alphagov.co.uk" when Action::REVIEW_REQUESTED then "eds@alphagov.co.uk, seo@alphagov.co.uk" else "eds@alphagov.co.uk" end mail(:to => email_address, :subject =>...
email_address = case action.request_type when Action::PUBLISHED then "team@alphagov.co.uk" when Action::REVIEW_REQUESTED then "eds@alphagov.co.uk, seo@alphagov.co.uk" else "eds@alphagov.co.uk" end mail(:to => email_address, :subject => "[PUBLISHER] #{@action.friendly_description}: #{@a...
<|file_sep|>original/app/mailers/noisy_workflow.rb email_address = case action.request_type when Action::PUBLISHED then "team@alphagov.co.uk" when Action::REVIEW_REQUESTED then "eds@alphagov.co.uk, seo@alphagov.co.uk" else "eds@alphagov.co.uk" end mail(:to => email_address, :subject =>...
08cc339ffc5b4432d0aac676dd7e723250c119e6
app/mailers/noisy_workflow.rb
app/mailers/noisy_workflow.rb
Ruby
<|file_sep|>app/views/messages/index.html.erb.diff original: updated: <% @messages.each do |message| %> <li data-id="<%= message.id %>"><%= message.content %></li> <% end %> <|file_sep|>app/views/messages/index.html.erb.diff original: updated: </div> <div id="message-input"> <form action="/requests/1...
<script type="text/javascript" charset="utf-8"> var pusher = new Pusher('545220afdca7480dd648', {encrypted: true}); //note that 123456 below needs to be replaced with the requestid var channel = pusher.subscribe('private-<%= @request.id %>'); channel.bind('new_message', function(data) { $('#message...
<|file_sep|>app/views/messages/index.html.erb.diff original: updated: <% @messages.each do |message| %> <li data-id="<%= message.id %>"><%= message.content %></li> <% end %> <|file_sep|>app/views/messages/index.html.erb.diff original: updated: </div> <div id="message-input"> <form action="/requests/1...
05f77f064e6fd900c8ae480dd417f6c2c8a770f0
app/views/messages/index.html.erb
app/views/messages/index.html.erb
HTML+ERB
<|file_sep|>mfr/conftest.py.diff original: import io updated: <|file_sep|>mfr/conftest.py.diff original: updated: import mock <|file_sep|>original/mfr/conftest.py """Project-wide test configuration, including fixutres that can be used by any module. Example test: :: def test_my_renderer(fakefile): asser...
"""Project-wide test configuration, including fixutres that can be used by any module. Example test: :: def test_my_renderer(fakefile): assert my_renderer(fakefile) == '..expected result..' """ import pytest import mock @pytest.fixture def fakefile(): """A simple file-like object.""" return mock...
<|file_sep|>mfr/conftest.py.diff original: import io updated: <|file_sep|>mfr/conftest.py.diff original: updated: import mock <|file_sep|>original/mfr/conftest.py """Project-wide test configuration, including fixutres that can be used by any module. Example test: :: def test_my_renderer(fakefile): asser...
bed7f5c80f6c5b5ce9b9a17aea5c9eadd047ee47
mfr/conftest.py
mfr/conftest.py
Python
<|file_sep|>original/markdown-test.rb #! /usr/bin/env ruby puts "Maruku:" puts `bin/maruku -o - --html-frag #{ARGV[0]}` puts "\n\nRedcarpet:" puts `redcarpet #{ARGV[0]}` puts "\n\nKramdown:" puts `kramdown #{ARGV[0]}` puts "\n\nBluecloth:" puts `bluecloth #{ARGV[0]}` puts "\n\nRDiscount:" puts `rdiscount #{ARGV[0]...
#! /usr/bin/env ruby puts "Maruku:" puts `bin/maruku -o - --html-frag #{ARGV[0]}` puts "Old Maruku:" puts `maruku -o - --html-frag #{ARGV[0]}` puts "\n\nRedcarpet:" puts `redcarpet #{ARGV[0]}` puts "\n\nKramdown:" puts `kramdown #{ARGV[0]}` puts "\n\nBluecloth:" puts `bluecloth #{ARGV[0]}` puts "\n\nRDiscount:" p...
<|file_sep|>original/markdown-test.rb #! /usr/bin/env ruby puts "Maruku:" puts `bin/maruku -o - --html-frag #{ARGV[0]}` puts "\n\nRedcarpet:" puts `redcarpet #{ARGV[0]}` puts "\n\nKramdown:" puts `kramdown #{ARGV[0]}` puts "\n\nBluecloth:" puts `bluecloth #{ARGV[0]}` puts "\n\nRDiscount:" puts `rdiscount #{ARGV[0]...
bd2f6cc51af014ca2547b963a3b9c934ce69b12d
markdown-test.rb
markdown-test.rb
Ruby
<|file_sep|>tmuxinator/exercism.yml.diff original: updated: on_project_first_start: <|file_sep|>tmuxinator/exercism.yml.diff original: on_project_first_start: npm install updated: - npm install <|file_sep|>original/tmuxinator/exercism.yml # <% elsif @args[0] == "elixir" %> # - asdf local elixir 1.5.3 # - asdf ...
# <% elsif @args[0] == "elixir" %> # - asdf local elixir 1.5.3 # - asdf local erlang 20.2 # <% elsif @args[0] == "elm" %> # - asdf local elm 0.18.0 # <% end %> startup_window: editor windows: - editor: vim <% if @args[0] == "ruby" %> - tests: guard --guardfile ~/exercism/ruby/Guardfile - console: ...
<|file_sep|>tmuxinator/exercism.yml.diff original: updated: on_project_first_start: <|file_sep|>tmuxinator/exercism.yml.diff original: on_project_first_start: npm install updated: - npm install <|file_sep|>original/tmuxinator/exercism.yml # <% elsif @args[0] == "elixir" %> # - asdf local elixir 1.5.3 # - asdf ...
312e2f861df048fd6dd3b4c1af5e575213035631
tmuxinator/exercism.yml
tmuxinator/exercism.yml
YAML
<|file_sep|>original/views/partials/twitter-card.hbs <meta name="twitter:card" content="product"> <meta name="twitter:title" content="{{title}}"> <meta name="twitter:description" content="{{> about}}"> <meta name="twitter:image:src" content="http://enviroecon.org/img/logo-square.png"> <meta name="twitter:data1" content...
<meta name="twitter:card" content="product"> <meta name="twitter:title" content="{{title}} Conference"> <meta name="twitter:description" content="{{> about}}"> <meta name="twitter:image:src" content="http://enviroecon.org/img/logo-square.png"> <meta name="twitter:data1" content="{{eventDay event.start}}"> <meta name="t...
<|file_sep|>original/views/partials/twitter-card.hbs <meta name="twitter:card" content="product"> <meta name="twitter:title" content="{{title}}"> <meta name="twitter:description" content="{{> about}}"> <meta name="twitter:image:src" content="http://enviroecon.org/img/logo-square.png"> <meta name="twitter:data1" content...
92caddec295381602ad340df6ba3e0666d470215
views/partials/twitter-card.hbs
views/partials/twitter-card.hbs
Handlebars
<|file_sep|>original/lumbar.json { "mixins": { // Standard HTML loader // // Loads module resources through standard link and script tags. "lumbar-loader": { "scripts": [ {"src": "lib/script.js", "global": true, "combined": false}, {"src": "local-cache.js", "global": true}, ...
{ "name": "lumbar-loader", "mixins": { // Standard HTML loader // // Loads module resources through standard link and script tags. "lumbar-loader": { "scripts": [ {"src": "lib/script.js", "global": true, "combined": false}, {"src": "local-cache.js", "global": true}, {"...
<|file_sep|>original/lumbar.json { "mixins": { // Standard HTML loader // // Loads module resources through standard link and script tags. "lumbar-loader": { "scripts": [ {"src": "lib/script.js", "global": true, "combined": false}, {"src": "local-cache.js", "global": true}, ...
5ba63da06f7083fffc97de649136f91dba677ecb
lumbar.json
lumbar.json
JSON
<|file_sep|>ConsoleWritePrettyOneDay/Spinner.cs.diff original: updated: /// <summary> /// Displays a spinner while the provided <paramref name="action"/> is performed. /// If provided, <paramref name="message"/> will be displayed along with the elapsed time in milliseconds. /// </summar...
/// <summary> /// Displays a spinner while the provided <paramref name="task"/> is executed. /// If provided, <paramref name="message"/> will be displayed along with the elapsed time in milliseconds. /// </summary> public static void Wait(Task task, string message = null) ...
<|file_sep|>ConsoleWritePrettyOneDay/Spinner.cs.diff original: updated: /// <summary> /// Displays a spinner while the provided <paramref name="action"/> is performed. /// If provided, <paramref name="message"/> will be displayed along with the elapsed time in milliseconds. /// </summar...
f2df118419344af4ca9eaab28fe967d7288ad100
ConsoleWritePrettyOneDay/Spinner.cs
ConsoleWritePrettyOneDay/Spinner.cs
C#
<|file_sep|>original/updateLegacy.sh <|file_sep|>current/updateLegacy.sh <|file_sep|>updated/updateLegacy.sh
#!/usr/bin/env sh cp -fpv ~/node/common.gypi legacy/ cp -fpv ~/node/tools/addon.gypi legacy/tools/ cp -fpv ~/node/tools/gyp_addon legacy/tools/ cp -rfpv ~/node/tools/gyp legacy/tools/
<|file_sep|>original/updateLegacy.sh <|file_sep|>current/updateLegacy.sh <|file_sep|>updated/updateLegacy.sh #!/usr/bin/env sh cp -fpv ~/node/common.gypi legacy/ cp -fpv ~/node/tools/addon.gypi legacy/tools/ cp -fpv ~/node/tools/gyp_addon legacy/tools/ cp -rfpv ~/node/tools/gyp legacy/tools/
4e9b06ba96b738a974e523a28e2148171eaadfc9
updateLegacy.sh
updateLegacy.sh
Shell
<|file_sep|>original/dist.ini exclude_match=builder-lib exclude_match=botocore [ExecDir] [GatherDir] root = auto-lib prefix = lib [MakeMaker] [@Git] allow_dirty = dist.ini allow_dirty = Changes allow_dirty = README [Prereqs::FromCPANfile] [MetaResources] repository.web = https://github.com/pplu/aws-sdk-perl reposi...
[ExecDir] [GatherDir] root = auto-lib prefix = lib [MakeMaker] [@Git] allow_dirty = dist.ini allow_dirty = Changes allow_dirty = README [Prereqs::FromCPANfile] [MetaResources] repository.web = https://github.com/pplu/aws-sdk-perl repository.url = https://github.com/pplu/aws-sdk-perl.git repository.type = git bugtr...
<|file_sep|>original/dist.ini exclude_match=builder-lib exclude_match=botocore [ExecDir] [GatherDir] root = auto-lib prefix = lib [MakeMaker] [@Git] allow_dirty = dist.ini allow_dirty = Changes allow_dirty = README [Prereqs::FromCPANfile] [MetaResources] repository.web = https://github.com/pplu/aws-sdk-perl reposi...
93d7f005bb87b572bee2db6e8c42ecdd8666acdf
dist.ini
dist.ini
INI
<|file_sep|>original/LICENSE.md <|file_sep|>current/LICENSE.md <|file_sep|>updated/LICENSE.md
The MIT License (MIT) ===================== Copyright (c) 2015 Aaron Lumsden Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c...
<|file_sep|>original/LICENSE.md <|file_sep|>current/LICENSE.md <|file_sep|>updated/LICENSE.md The MIT License (MIT) ===================== Copyright (c) 2015 Aaron Lumsden Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...
53d0d6062f9f6f3bba3f1b6bcecfe8891b2367e2
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>original/FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift <|file_sep|>current/FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift <|file_sep|>updated/FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift
// // CacheManager.swift // FetchJsonEscapable // // Created by Alexander Farber on 05.05.21. // class CacheManager { static let instance = CacheManager() private init() var imageCache: NSCache<NSString, UIImage> = { let cache = NSCache<NSString, UIImage>() cache.countLimit = 100 ...
<|file_sep|>original/FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift <|file_sep|>current/FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift <|file_sep|>updated/FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift // // CacheManager.swift // FetchJsonEscapable // // Created by Alexander Farber on...
8930db4b0b65426579301e79ef25084c9eada2ae
FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift
FetchJsonEscapable/FetchJsonEscapable/CacheManager.swift
Swift
<|file_sep|>app/assets/party/profile.js.diff original: $scope.clickUser = function(user){ _.each($scope.volumes, function(v, i){ updated: // This function takes in a user, and loops through // volumes, and attaches a "volumeSelected" class // to all the pertinent volumes. $scope.clickUser ...
// This function takes in a user, and loops through // volumes, and attaches a "volumeSelected" class // to all the pertinent volumes. $scope.clickUser = function(user) { _.each($scope.volumes, function(v, i) { $scope.volumes[i].selectedClass = (v.users.indexOf(user.id) > -1) ? "volume...
<|file_sep|>app/assets/party/profile.js.diff original: $scope.clickUser = function(user){ _.each($scope.volumes, function(v, i){ updated: // This function takes in a user, and loops through // volumes, and attaches a "volumeSelected" class // to all the pertinent volumes. $scope.clickUser ...
af50546f56a995ae69158bed8679eed9a2b69894
app/assets/party/profile.js
app/assets/party/profile.js
JavaScript
<|file_sep|>original/test/CodeGen/X86/ipra-local-linkage.ll <|file_sep|>current/test/CodeGen/X86/ipra-local-linkage.ll <|file_sep|>updated/test/CodeGen/X86/ipra-local-linkage.ll
; RUN: llc < %s | FileCheck %s -check-prefix=NOIPRA ; RUN: llc -enable-ipra < %s | FileCheck %s target triple = "x86_64--" define internal void @foo() norecurse { ; When IPRA is not enabled R15 will be saved by foo as it is callee saved reg. ; NOIPRA-LABEL: foo: ; NOIPRA: pushq %r15 ; When IPRA is enabled none regist...
<|file_sep|>original/test/CodeGen/X86/ipra-local-linkage.ll <|file_sep|>current/test/CodeGen/X86/ipra-local-linkage.ll <|file_sep|>updated/test/CodeGen/X86/ipra-local-linkage.ll ; RUN: llc < %s | FileCheck %s -check-prefix=NOIPRA ; RUN: llc -enable-ipra < %s | FileCheck %s target triple = "x86_64--" define internal...
d800b6909f58b19db4ac59ec831952cf3fd924c7
test/CodeGen/X86/ipra-local-linkage.ll
test/CodeGen/X86/ipra-local-linkage.ll
LLVM
<|file_sep|>original/spec/logger_spec.rb require 'discordrb' describe Discordrb::Logger do it 'should log messages' do stream = spy logger = Discordrb::Logger.new(false, [stream]) logger.error('Testing') expect(stream).to have_received(:puts).with(something_including('Testing')) end end <|file_se...
describe Discordrb::Logger do it 'should log messages' do stream = spy logger = Discordrb::Logger.new(false, [stream]) logger.error('Testing') expect(stream).to have_received(:puts).with(something_including('Testing')) end it 'should respect the log mode' do stream = spy logger = Disco...
<|file_sep|>original/spec/logger_spec.rb require 'discordrb' describe Discordrb::Logger do it 'should log messages' do stream = spy logger = Discordrb::Logger.new(false, [stream]) logger.error('Testing') expect(stream).to have_received(:puts).with(something_including('Testing')) end end <|file_se...
982914c8eb68f0dba1cc1b3b0095fc45ff525ffd
spec/logger_spec.rb
spec/logger_spec.rb
Ruby
<|file_sep|>original/dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py <|file_sep|>current/dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py <|file_sep|>updated/dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py
"""Wipe TAS lookups: one-off data migration to delete existing TASLookups Revision ID: a7249e2d8a1a Revises: 0c857b50962a Create Date: 2016-10-18 19:58:19.837713 """ from alembic import op # revision identifiers, used by Alembic. revision = 'a7249e2d8a1a' down_revision = '0c857b50962a' branch_labels = None depends_o...
<|file_sep|>original/dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py <|file_sep|>current/dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py <|file_sep|>updated/dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py """Wipe TAS lookups: one-off data migration to delete existing...
200a9008512ba644e2ae773745d3c8896f390eee
dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py
dataactcore/migrations/versions/a7249e2d8a1a_wipe_tas_lookups.py
Python
<|file_sep|>app/src/lib/stores/helpers/pull-request-updater.ts.diff original: import { fatalError } from '../../fatal-error' updated: <|file_sep|>app/src/lib/stores/helpers/pull-request-updater.ts.diff original: enum TimeoutHandles { PullRequest = 'PullRequestHandle', Status = 'StatusHandle', PushedPullRequest ...
public constructor( private readonly repository: GitHubRepository, private readonly account: Account, private readonly store: PullRequestStore ) {} /** Starts the updater */ public start() { this.stop() this.intervalId = window.setInterval(() => { this.store.refreshPullRequests(this.r...
<|file_sep|>app/src/lib/stores/helpers/pull-request-updater.ts.diff original: import { fatalError } from '../../fatal-error' updated: <|file_sep|>app/src/lib/stores/helpers/pull-request-updater.ts.diff original: enum TimeoutHandles { PullRequest = 'PullRequestHandle', Status = 'StatusHandle', PushedPullRequest ...
db6e2cb5bab28a90cf58ed624064c816e848a090
app/src/lib/stores/helpers/pull-request-updater.ts
app/src/lib/stores/helpers/pull-request-updater.ts
TypeScript
<|file_sep|>packages/ar/arbor-postgres.yaml.diff original: hash: bf88450ae4c6f69d308c4d67122d23304cd8211fc61a972b6107c3957f81ed1d updated: hash: daa233d972abff115d666e7831e0109904f6d984ea1b130df73ad4869fd185a3 <|file_sep|>packages/ar/arbor-postgres.yaml.diff original: updated: bytestring: ! '>=0.10 && <0.11' <|file_...
text: ! '>=1.2 && <1.3' lens: ! '>=4.16 && <5' postgresql-simple: ! '>=0.5 && <0.6' network-uri: ! '>=2.6 && <3' generic-lens: ! '>=1.0.0.2 && <2' optparse-applicative: ! '>=0.14 && <0.15' all-versions: - '0.0.1' - '0.0.2' author: Arbor Networks latest: '0.0.2' description-type: markdown description: ! '# a...
<|file_sep|>packages/ar/arbor-postgres.yaml.diff original: hash: bf88450ae4c6f69d308c4d67122d23304cd8211fc61a972b6107c3957f81ed1d updated: hash: daa233d972abff115d666e7831e0109904f6d984ea1b130df73ad4869fd185a3 <|file_sep|>packages/ar/arbor-postgres.yaml.diff original: updated: bytestring: ! '>=0.10 && <0.11' <|file_...
85b1c5a35cbfac8f864752ff8ba03492ddb79ee9
packages/ar/arbor-postgres.yaml
packages/ar/arbor-postgres.yaml
YAML
<|file_sep|>original/skytap/Quotas.py return the quotas from Skytap in a JSON format. """ import json import sys from skytap.models.Quota import Quota from skytap.models.SkytapGroup import SkytapGroup class Quotas(SkytapGroup): """Company/account quotas object.""" def __init__(self): """Load the quo...
return the quotas from Skytap in a JSON format. """ import json import sys from skytap.models.Quota import Quota from skytap.models.SkytapGroup import SkytapGroup class Quotas(SkytapGroup): """Company/account quotas object. Note: This code assumes that you have regional limits on your account. The retur...
<|file_sep|>original/skytap/Quotas.py return the quotas from Skytap in a JSON format. """ import json import sys from skytap.models.Quota import Quota from skytap.models.SkytapGroup import SkytapGroup class Quotas(SkytapGroup): """Company/account quotas object.""" def __init__(self): """Load the quo...
0afdab2f6feced873c88ba1e73fdde0dad5f041e
skytap/Quotas.py
skytap/Quotas.py
Python
<|file_sep|>original/Cargo.toml [package] name = "quote" version = "0.3.0" # don't forget to update version in readme authors = ["David Tolnay <dtolnay@gmail.com>"] license = "MIT/Apache-2.0" description = "Dead simple quasi-quoting" repository = "https://github.com/dtolnay/quote" documentation = "https://dtolnay.githu...
[package] name = "quote" version = "0.3.0" # don't forget to update version in readme authors = ["David Tolnay <dtolnay@gmail.com>"] license = "MIT/Apache-2.0" description = "Dead simple quasi-quoting" repository = "https://github.com/dtolnay/quote" documentation = "https://dtolnay.github.io/quote/quote/" keywords = ["...
<|file_sep|>original/Cargo.toml [package] name = "quote" version = "0.3.0" # don't forget to update version in readme authors = ["David Tolnay <dtolnay@gmail.com>"] license = "MIT/Apache-2.0" description = "Dead simple quasi-quoting" repository = "https://github.com/dtolnay/quote" documentation = "https://dtolnay.githu...
a212011edb239b5a15b7f5d5db06b6eb1b3e4bae
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/.travis.yml sudo: required dist: xenial language: python python: - "3.6" before_install: - sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3 - wget 'https://github.com/bazelbuild/bazel/releases/download/0.29.1/bazel-0.29.1-installer-linux-x86_64.sh' - chmod +x bazel-0.29.1-...
sudo: required dist: xenial language: python python: - "3.6" before_install: - sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3 - wget 'https://github.com/bazelbuild/bazel/releases/download/1.0.1/bazel-1.0.1-installer-linux-x86_64.sh' - chmod +x bazel-1.0.1-installer-linux-x86_64.sh - ./baze...
<|file_sep|>original/.travis.yml sudo: required dist: xenial language: python python: - "3.6" before_install: - sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python3 - wget 'https://github.com/bazelbuild/bazel/releases/download/0.29.1/bazel-0.29.1-installer-linux-x86_64.sh' - chmod +x bazel-0.29.1-...
58251ed7f54bf1ebe6396cc4cc2f4059cbdb70c2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/fiddle/go/config/config.go package config import "go.skia.org/infra/go/buildskia" const ( // BUILD_TYPE is the type of build we use throughout fiddle. BUILD_TYPE = buildskia.RELEASE_BUILD ) var ( // GN_FLAGS are the flags to pass to GN. GN_FLAGS = []string{"is_debug=false", "skia_use_egl=tru...
package config import "go.skia.org/infra/go/buildskia" const ( // BUILD_TYPE is the type of build we use throughout fiddle. BUILD_TYPE = buildskia.RELEASE_BUILD ) var ( // GN_FLAGS are the flags to pass to GN. GN_FLAGS = []string{"is_debug=false", "skia_use_egl=true", "extra_cflags_cc=[\"-Wno-error\"]"} // EGL...
<|file_sep|>original/fiddle/go/config/config.go package config import "go.skia.org/infra/go/buildskia" const ( // BUILD_TYPE is the type of build we use throughout fiddle. BUILD_TYPE = buildskia.RELEASE_BUILD ) var ( // GN_FLAGS are the flags to pass to GN. GN_FLAGS = []string{"is_debug=false", "skia_use_egl=tru...
7b1a0575a66f7112cfd67b3df0a0020a5d98573b
fiddle/go/config/config.go
fiddle/go/config/config.go
Go
<|file_sep|>original/modules/backup/docker/script/init_container.sh #!/bin/bash set -e mkdir ~/.aws printf '%s\n' \ "[default]" \ "aws_access_key_id=$AWS_ACCESS_KEY_ID" \ "aws_secret_access_key=$AWS_SECRET_ACCESS_KEY" \ >> ~/.aws/credentials printf '%s\n' \ "$S3_BACKUP_BUCKET" \ >> ~/bucket c...
#!/bin/bash set -e mkdir -p ~/.aws printf '%s\n' \ "[default]" \ "aws_access_key_id=$AWS_ACCESS_KEY_ID" \ "aws_secret_access_key=$AWS_SECRET_ACCESS_KEY" \ >> ~/.aws/credentials printf '%s\n' \ "$S3_BACKUP_BUCKET" \ >> ~/bucket cron -f
<|file_sep|>original/modules/backup/docker/script/init_container.sh #!/bin/bash set -e mkdir ~/.aws printf '%s\n' \ "[default]" \ "aws_access_key_id=$AWS_ACCESS_KEY_ID" \ "aws_secret_access_key=$AWS_SECRET_ACCESS_KEY" \ >> ~/.aws/credentials printf '%s\n' \ "$S3_BACKUP_BUCKET" \ >> ~/bucket c...
62260ac2968425fce3812f8794b0f5f3e260c4e6
modules/backup/docker/script/init_container.sh
modules/backup/docker/script/init_container.sh
Shell