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/Sources/CommandRunner.swift try run(parser) } catch let error as Help { let help = error.reraise("$ \(executableName)") fputs("\(help)\n", stderr) exit(1) } catch GroupError.NoCommand(let path, let group) { var usage = "$ \(executableName)" if let path = ...
fputs("\(help)\n", stderr) exit(1) } catch GroupError.NoCommand(let path, let group) { var usage = "$ \(executableName)" if let path = path { usage += " \(path)" } let help = Help([], command: usage, group: group) fputs("\(help)\n", stderr) exit(1) } catch...
<|file_sep|>original/Sources/CommandRunner.swift try run(parser) } catch let error as Help { let help = error.reraise("$ \(executableName)") fputs("\(help)\n", stderr) exit(1) } catch GroupError.NoCommand(let path, let group) { var usage = "$ \(executableName)" if let path = ...
f116e856adef938893c04e6c5790bf407016cf84
Sources/CommandRunner.swift
Sources/CommandRunner.swift
Swift
<|file_sep|>vmdb/db/fixtures/ae_datastore/ManageIQ/Service/Provisioning/StateMachines/ServiceProvision_Template.class/__methods__/update_serviceprovision_status.rb.diff original: # Required inputs: status, status_state updated: # Required inputs: status <|file_sep|>original/vmdb/db/fixtures/ae_datastore/ManageIQ/Servic...
# # Description: This method updates the service provisioning status # Required inputs: status # prov = $evm.root['service_template_provision_task'] # Get status from input field status status = $evm.inputs['status'] # Update Status for on_entry,on_exit if $evm.root['ae_result'] == 'ok' # Check to see if provisio...
<|file_sep|>vmdb/db/fixtures/ae_datastore/ManageIQ/Service/Provisioning/StateMachines/ServiceProvision_Template.class/__methods__/update_serviceprovision_status.rb.diff original: # Required inputs: status, status_state updated: # Required inputs: status <|file_sep|>original/vmdb/db/fixtures/ae_datastore/ManageIQ/Servic...
77f0650f44cac1365aceaa27ce106c58f6253773
vmdb/db/fixtures/ae_datastore/ManageIQ/Service/Provisioning/StateMachines/ServiceProvision_Template.class/__methods__/update_serviceprovision_status.rb
vmdb/db/fixtures/ae_datastore/ManageIQ/Service/Provisioning/StateMachines/ServiceProvision_Template.class/__methods__/update_serviceprovision_status.rb
Ruby
<|file_sep|>original/.travis.yml --- language: node_js node_js: # we recommend testing addons with the same minimum supported node version as Ember CLI # so that your addon works for all apps - "4" sudo: false dist: trusty addons: chrome: stable cache: yarn: true directories: - node_modules env: g...
--- language: node_js node_js: # we recommend testing addons with the same minimum supported node version as Ember CLI # so that your addon works for all apps - "4" sudo: false dist: trusty cache: yarn: true directories: - node_modules env: global: # See https://git.io/vdao3 for details. - JO...
<|file_sep|>original/.travis.yml --- language: node_js node_js: # we recommend testing addons with the same minimum supported node version as Ember CLI # so that your addon works for all apps - "4" sudo: false dist: trusty addons: chrome: stable cache: yarn: true directories: - node_modules env: g...
19bb4f2baaac3cd42876d44bdbbf8646287d479f
.travis.yml
.travis.yml
YAML
<|file_sep|>koztumize/application.py.diff original: updated: import os <|file_sep|>original/koztumize/application.py """Declare the Koztumize application using Pynuts.""" import ldap from pynuts import Pynuts class Koztumize(Pynuts): """The class which open the ldap.""" @property def ldap(self): ...
"""Declare the Koztumize application using Pynuts.""" import os import ldap from pynuts import Pynuts class Koztumize(Pynuts): """The class which open the ldap.""" @property def ldap(self): """Open the ldap.""" if 'LDAP' not in self.config: # pragma: no cover self.config['LDA...
<|file_sep|>koztumize/application.py.diff original: updated: import os <|file_sep|>original/koztumize/application.py """Declare the Koztumize application using Pynuts.""" import ldap from pynuts import Pynuts class Koztumize(Pynuts): """The class which open the ldap.""" @property def ldap(self): ...
8c2ebccac0f633b3d2198a6a9d477ac4b8a620df
koztumize/application.py
koztumize/application.py
Python
<|file_sep|>package.json.diff original: updated: "babel-plugin-transform-object-rest-spread": "^6.20.2", <|file_sep|>original/package.json "repository": "b52/electron-es6-react", "scripts": { "start": "electron .", "test": "jest" }, "dependencies": { "babel-preset-es2015": "^6.3.13", "babel...
"repository": "b52/electron-es6-react", "scripts": { "start": "electron .", "test": "jest" }, "dependencies": { "babel-plugin-transform-object-rest-spread": "^6.20.2", "babel-preset-es2015": "^6.3.13", "babel-preset-react": "^6.3.13", "babel-register": "^6.3.13", "react": "^15.3.2", ...
<|file_sep|>package.json.diff original: updated: "babel-plugin-transform-object-rest-spread": "^6.20.2", <|file_sep|>original/package.json "repository": "b52/electron-es6-react", "scripts": { "start": "electron .", "test": "jest" }, "dependencies": { "babel-preset-es2015": "^6.3.13", "babel...
2a91edef885e1de871bb53e8756428652113a5f4
package.json
package.json
JSON
<|file_sep|>src/schemas/PagingSchema.js.diff original: required: true, updated: <|file_sep|>src/schemas/PagingSchema.js.diff original: required: true, updated: <|file_sep|>original/src/schemas/PagingSchema.js export default { type: 'object', properties: { page: { type: 'integer', defau...
export default { type: 'object', properties: { page: { type: 'integer', default: 1, minimum: 1, }, limit: { type: 'integer', default: 2, minimum: 1, }, }, dependencies: { page: { required: ['limit'] }, limit: { required: ['page'] }, }, }
<|file_sep|>src/schemas/PagingSchema.js.diff original: required: true, updated: <|file_sep|>src/schemas/PagingSchema.js.diff original: required: true, updated: <|file_sep|>original/src/schemas/PagingSchema.js export default { type: 'object', properties: { page: { type: 'integer', defau...
15fdb946a72f4d5acfbc4a0a29fe8eb28a6213f3
src/schemas/PagingSchema.js
src/schemas/PagingSchema.js
JavaScript
<|file_sep|>src/TypeAhead/SelectTrigger.js.diff original: updated: <|file_sep|>original/src/TypeAhead/SelectTrigger.js disabled, onClick, handleOnChange, handleKeyDown, handleOnFocus, } = props let value = props.searchTerm if (value === null) { value = selectedOption ? (selectedOption[s...
disabled, onClick, handleOnChange, handleKeyDown, handleOnFocus, } = props let value = props.searchTerm if (value === null) { value = '' if (selectedOption) { if (typeof selectedLabel === 'function') { value = selectedLabel(selectedOption) } else { value =...
<|file_sep|>src/TypeAhead/SelectTrigger.js.diff original: updated: <|file_sep|>original/src/TypeAhead/SelectTrigger.js disabled, onClick, handleOnChange, handleKeyDown, handleOnFocus, } = props let value = props.searchTerm if (value === null) { value = selectedOption ? (selectedOption[s...
1cba3cedca3bc14b2a700152d1e665bb93d0147c
src/TypeAhead/SelectTrigger.js
src/TypeAhead/SelectTrigger.js
JavaScript
<|file_sep|>original/src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java <|file_sep|>current/src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java <|file_sep|>updated/src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java
/* * The MIT License (MIT) * * Copyright (c) 2015 CodeRevisited.com * * 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...
<|file_sep|>original/src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java <|file_sep|>current/src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java <|file_sep|>updated/src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java /* * The MIT License (MIT) * * Copyright (c) 2015 CodeRevisited.com ...
d10093b48ed73e04abeed6fa8f8f3089fac13e85
src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java
src/com/coderevisited/linkedlists/singly/DeleteArbitrary.java
Java
<|file_sep|>cookbooks/travis_system_info/recipes/default.rb.diff original: chef_gem 'system-info' do updated: gem_package 'system-info' do gem_binary '/opt/chef/embedded/bin/gem' <|file_sep|>original/cookbooks/travis_system_info/recipes/default.rb source node['travis_system_info']['gem_url'] checksum node['travis...
source node['travis_system_info']['gem_url'] checksum node['travis_system_info']['gem_sha256sum'] end gem_package 'system-info' do gem_binary '/opt/chef/embedded/bin/gem' source local_gem end execute "rm -rf #{node['travis_system_info']['dest_dir']}" directory node['travis_system_info']['dest_dir'] do owne...
<|file_sep|>cookbooks/travis_system_info/recipes/default.rb.diff original: chef_gem 'system-info' do updated: gem_package 'system-info' do gem_binary '/opt/chef/embedded/bin/gem' <|file_sep|>original/cookbooks/travis_system_info/recipes/default.rb source node['travis_system_info']['gem_url'] checksum node['travis...
a03f5d1a57e1458cff9462c5fc3f4779c00801dc
cookbooks/travis_system_info/recipes/default.rb
cookbooks/travis_system_info/recipes/default.rb
Ruby
<|file_sep|>original/deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notification_templates.php <|file_sep|>current/deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notification_templates.php <|file_sep|>updated/deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notif...
<?php /** * @package deployment * @subpackage falcon.roles_and_permissions * * Adds widevine plugin permissions * No need to re-run after server code deploy */ $script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php'; $config = realpath(dirname(__F...
<|file_sep|>original/deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notification_templates.php <|file_sep|>current/deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notification_templates.php <|file_sep|>updated/deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notif...
fa4104ece1359778106450d2eaacf0f5f50fb0f2
deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notification_templates.php
deployment/updates/scripts/add_permissions/2013_07_17_admin_event_notification_templates.php
PHP
<|file_sep|>original/resources/views/layouts/base.blade.php <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@yield('title')</title> <link href="c...
<html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@yield('title')</title> <link href="css/main.css" rel="stylesheet"> @yield('head') ...
<|file_sep|>original/resources/views/layouts/base.blade.php <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@yield('title')</title> <link href="c...
3593336e5eb732ca01c69da8280b12399c20a02f
resources/views/layouts/base.blade.php
resources/views/layouts/base.blade.php
PHP
<|file_sep|>original/templates/_includes/user-rank.js <script> const getUserRankAndScore = function() { const currentUserName = '{{ current_user.name }}' || null; let def = $.Deferred(); $.ajax({ url: '/leaderboard/', dataType: 'json', contentType: 'application/json', data: '...
const currentUserName = '{{ current_user.name }}' || null; let def = $.Deferred(); $.ajax({ url: '/leaderboard/', dataType: 'json', contentType: 'application/json', data: '{}' }).done(function(data) { for (let user of data.top_users) { if (user.name ==...
<|file_sep|>original/templates/_includes/user-rank.js <script> const getUserRankAndScore = function() { const currentUserName = '{{ current_user.name }}' || null; let def = $.Deferred(); $.ajax({ url: '/leaderboard/', dataType: 'json', contentType: 'application/json', data: '...
ca72fa6a7d82b4ea5b87a6fc3f44f4d7724cb0b1
templates/_includes/user-rank.js
templates/_includes/user-rank.js
JavaScript
<|file_sep|>server/database/config.js.diff original: updated: const timezone = '+00:00' // UTC <|file_sep|>server/database/config.js.diff original: updated: timezone, <|file_sep|>server/database/config.js.diff original: updated: timezone, <|file_sep|>original/server/database/config.js const path = require('...
const dialect = process.env.DATABASE_DIALECT || 'postgres' const timezone = '+00:00' // UTC module.exports = { development: { url, dialect, timezone, }, staging: { url, dialect, timezone, }, production: { url, dialect, timezone, }, }
<|file_sep|>server/database/config.js.diff original: updated: const timezone = '+00:00' // UTC <|file_sep|>server/database/config.js.diff original: updated: timezone, <|file_sep|>server/database/config.js.diff original: updated: timezone, <|file_sep|>original/server/database/config.js const path = require('...
395d4fe3632fbbf17de053b7f8244eb47286b8dd
server/database/config.js
server/database/config.js
JavaScript
<|file_sep|>original/c64-asm.cfg <|file_sep|>current/c64-asm.cfg <|file_sep|>updated/c64-asm.cfg
FEATURES { STARTADDRESS: default = $0801; } SYMBOLS { __LOADADDR__: type = import; } MEMORY { ZP: file = "", start = $0002, size = $001A, define = yes; LOADADDR: file = %O, start = %S - 2, size = $0002; RAM: file = %O, start = %S, size = $D000 - %S; } SEGMENTS { LOADADDR: lo...
<|file_sep|>original/c64-asm.cfg <|file_sep|>current/c64-asm.cfg <|file_sep|>updated/c64-asm.cfg FEATURES { STARTADDRESS: default = $0801; } SYMBOLS { __LOADADDR__: type = import; } MEMORY { ZP: file = "", start = $0002, size = $001A, define = yes; LOADADDR: file = %O, start = %S - 2, size...
e61ec26fe68a79626dbb9d5f4b8e546cc3529f83
c64-asm.cfg
c64-asm.cfg
INI
<|file_sep|>original/packages/ti/time-manager.yaml <|file_sep|>current/packages/ti/time-manager.yaml <|file_sep|>updated/packages/ti/time-manager.yaml
homepage: http://github.com/yesodweb/wai changelog-type: '' hash: d258b1d08f9b926823f5380e9201303b0ebeefe4f9e0047c0cbd7b6728135ee1 test-bench-deps: {} maintainer: kazu@iij.ad.jp synopsis: Scalable timer changelog: '' basic-deps: base: ! '>=4.8 && <5' auto-update: -any all-versions: - 0.0.0 author: Michael Snoyman a...
<|file_sep|>original/packages/ti/time-manager.yaml <|file_sep|>current/packages/ti/time-manager.yaml <|file_sep|>updated/packages/ti/time-manager.yaml homepage: http://github.com/yesodweb/wai changelog-type: '' hash: d258b1d08f9b926823f5380e9201303b0ebeefe4f9e0047c0cbd7b6728135ee1 test-bench-deps: {} maintainer: kazu...
d71283ed23bd473b8727ed0384f96ec1f3f328c9
packages/ti/time-manager.yaml
packages/ti/time-manager.yaml
YAML
<|file_sep|>setup.py.diff original: url='', license='', updated: url='https:/github.com/ByteInternet/pythono-byterestclient', <|file_sep|>original/setup.py from setuptools import setup, find_packages setup( name='byterestclient', version='0.1', packages=find_packages(exclude=['test*']), url...
from setuptools import setup, find_packages setup( name='byterestclient', version='0.1', packages=find_packages(exclude=['test*']), url='https:/github.com/ByteInternet/pythono-byterestclient', author='Allard Hoeve', author_email='allard@byte.nl', description='A generic REST client', ins...
<|file_sep|>setup.py.diff original: url='', license='', updated: url='https:/github.com/ByteInternet/pythono-byterestclient', <|file_sep|>original/setup.py from setuptools import setup, find_packages setup( name='byterestclient', version='0.1', packages=find_packages(exclude=['test*']), url...
de1a11e770dc5e3639247cf94d1509ea73aa2554
setup.py
setup.py
Python
<|file_sep|>original/notes/proportional_representation.md --- layout: post title: Proportional Representation categories: [History] --- An electoral system which tries to enforce that if x% of a population support a particular political party as their favority, then roughly x% of seats should be won by that party. Mo...
--- layout: post title: Proportional Representation categories: [Miscellany] --- An electoral system which tries to enforce that if x% of a population support a particular political party as their favority, then roughly x% of seats should be won by that party. Most popular ways of Proportional Representation are * P...
<|file_sep|>original/notes/proportional_representation.md --- layout: post title: Proportional Representation categories: [History] --- An electoral system which tries to enforce that if x% of a population support a particular political party as their favority, then roughly x% of seats should be won by that party. Mo...
d82b21882afcfc91fef425ad4b0ec0f2a61a9431
notes/proportional_representation.md
notes/proportional_representation.md
Markdown
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>updated/.travis.yml
language: node_js sudo: false node_js: - "0.10" - "0.12" - "iojs" after_success: npm run coveralls
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>updated/.travis.yml language: n...
bcc5213b917ca50dfee157211393829c7b174e14
.travis.yml
.travis.yml
YAML
<|file_sep|>original/systemofrecord/__init__.py return logger # Sentry exception reporting if 'SENTRY_DSN' in os.environ: sentry = Sentry(app, dsn=os.environ['SENTRY_DSN']) if not app.debug: app.logger.addHandler(logging.StreamHandler()) app.logger.setLevel(logging.INFO) app.logger.info("\nConfigurat...
return logger # Sentry exception reporting if 'SENTRY_DSN' in os.environ: sentry = Sentry(app, dsn=os.environ['SENTRY_DSN']) if not app.debug: app.logger.addHandler(logging.StreamHandler()) app.logger.setLevel(logging.INFO) app.logger.debug("\nConfiguration\n%s\n" % app.config) def configure_health...
<|file_sep|>original/systemofrecord/__init__.py return logger # Sentry exception reporting if 'SENTRY_DSN' in os.environ: sentry = Sentry(app, dsn=os.environ['SENTRY_DSN']) if not app.debug: app.logger.addHandler(logging.StreamHandler()) app.logger.setLevel(logging.INFO) app.logger.info("\nConfigurat...
082897d8216f3ec2feca8af4afbc0be7401956d5
systemofrecord/__init__.py
systemofrecord/__init__.py
Python
<|file_sep|>original/requirements/test.txt # Test dependencies go here. -r local.txt factory-boy==2.11.1 django-coverage-plugin==1.5.0 django-test-plus==1.0.21 vcrpy==1.11.1 <|file_sep|>current/requirements/test.txt # Test dependencies go here. -r local.txt factory-boy==2.11.1 django-coverage-plugin==1.5.0 django-test-...
# Test dependencies go here. -r local.txt factory-boy==2.11.1 django-coverage-plugin==1.6.0 django-test-plus==1.0.21 vcrpy==1.11.1
<|file_sep|>original/requirements/test.txt # Test dependencies go here. -r local.txt factory-boy==2.11.1 django-coverage-plugin==1.5.0 django-test-plus==1.0.21 vcrpy==1.11.1 <|file_sep|>current/requirements/test.txt # Test dependencies go here. -r local.txt factory-boy==2.11.1 django-coverage-plugin==1.5.0 django-test-...
7a1d1aced15e5369307b070d3c7f2469997622d8
requirements/test.txt
requirements/test.txt
Text
<|file_sep|>original/lib/tasks/db.rb namespace :db do desc 'Run migrations up to specified version or to latest.' task :migrate, [:version] => [:dotenv] do |_, args| require 'sequel' Sequel.extension :migration environment = ENV['RACK_ENV'] || 'development' version = args[:version] migrations...
namespace :db do desc 'Run migrations up to specified version or to latest.' task :migrate, [:version] => [:dotenv] do |_, args| require 'sequel' Sequel.extension :migration environment = ENV['RACK_ENV'] || 'development' version = args[:version] migrations_directory = 'migrations' connect...
<|file_sep|>original/lib/tasks/db.rb namespace :db do desc 'Run migrations up to specified version or to latest.' task :migrate, [:version] => [:dotenv] do |_, args| require 'sequel' Sequel.extension :migration environment = ENV['RACK_ENV'] || 'development' version = args[:version] migrations...
4b6563a8a45fabecaa4f719b1e6b951b5402fd0a
lib/tasks/db.rb
lib/tasks/db.rb
Ruby
<|file_sep|>astral/api/tests/test_streams.py.diff original: self.get_url('/streams'), 'POST', body=json.dumps(data)), self.stop) updated: self.get_url('/streams'), 'POST', body=json.dumps(data), follow_redirects=False), self.stop) <|file_sep|>original/astral/api/tests/test_stream...
from astral.models.tests.factories import StreamFactory class StreamsHandlerTest(BaseTest): def test_get_streams(self): [StreamFactory() for _ in range(3)] response = self.fetch('/streams') eq_(response.code, 200) result = json.loads(response.body) ok_('streams' in result) ...
<|file_sep|>astral/api/tests/test_streams.py.diff original: self.get_url('/streams'), 'POST', body=json.dumps(data)), self.stop) updated: self.get_url('/streams'), 'POST', body=json.dumps(data), follow_redirects=False), self.stop) <|file_sep|>original/astral/api/tests/test_stream...
824c8cd3eb563de60ddf13fac1f7ca1341aa01f1
astral/api/tests/test_streams.py
astral/api/tests/test_streams.py
Python
<|file_sep|>original/validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap.swift <|file_sep|>current/validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap.swift <|file_sep|>updated/validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap...
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LICENSE.txt for license information // See http://swift.org/CONTRIBUTORS.txt for the list...
<|file_sep|>original/validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap.swift <|file_sep|>current/validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap.swift <|file_sep|>updated/validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap...
f2f43cb71c5c2735da41212f1fd58e4be624d23a
validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap.swift
validation-test/compiler_crashers/28296-swift-genericsignature-getsubstitutionmap.swift
Swift
<|file_sep|>original/packages/le/leb128-cereal.yaml <|file_sep|>current/packages/le/leb128-cereal.yaml <|file_sep|>updated/packages/le/leb128-cereal.yaml
homepage: '' changelog-type: markdown hash: 14b84d4ace3efa5ccc376522b5c978f6f18ae88e8dfd3abc264dd8ca1fb9cb1a test-bench-deps: bytestring: -any base: '>=4 && <5' leb128-cereal: -any tasty-quickcheck: -any tasty-hunit: -any tasty: '>=0.7' maintainer: mail@joachim-breitner.de synopsis: LEB128 and SLEB128 encod...
<|file_sep|>original/packages/le/leb128-cereal.yaml <|file_sep|>current/packages/le/leb128-cereal.yaml <|file_sep|>updated/packages/le/leb128-cereal.yaml homepage: '' changelog-type: markdown hash: 14b84d4ace3efa5ccc376522b5c978f6f18ae88e8dfd3abc264dd8ca1fb9cb1a test-bench-deps: bytestring: -any base: '>=4 && <5'...
632394ac5b94653804aeed502ca2b0bc77190c05
packages/le/leb128-cereal.yaml
packages/le/leb128-cereal.yaml
YAML
<|file_sep|>original/pull_request_template.md Please make sure your submission complies with our [Development](https://github.com/prestodb/presto/wiki/Presto-Development-Guidelines#development), [Formatting](https://github.com/prestodb/presto/wiki/Presto-Development-Guidelines#formatting), and [Commit Message](https://...
Test plan - (Please fill in how you tested your changes) Please make sure your submission complies with our [Development](https://github.com/prestodb/presto/wiki/Presto-Development-Guidelines#development), [Formatting](https://github.com/prestodb/presto/wiki/Presto-Development-Guidelines#formatting), and [Commit Messa...
<|file_sep|>original/pull_request_template.md Please make sure your submission complies with our [Development](https://github.com/prestodb/presto/wiki/Presto-Development-Guidelines#development), [Formatting](https://github.com/prestodb/presto/wiki/Presto-Development-Guidelines#formatting), and [Commit Message](https://...
6528824c2360774a5040206c9ff0ad7d222924d6
pull_request_template.md
pull_request_template.md
Markdown
<|file_sep|>src/bin/git-new/git-new.sh.diff original: git addignore '/dist/' updated: git ignore '/dist/' git ignore '/dist-newstyle/' <|file_sep|>original/src/bin/git-new/git-new.sh mkdir -pv "$1" cd "$1" git init rm -fv .git/hooks/*.sample realPWD=`env - PATH=$PATH pwd` case "$realPWD" in $HOME/src/...
mkdir -pv "$1" cd "$1" git init rm -fv .git/hooks/*.sample realPWD=`env - PATH=$PATH pwd` case "$realPWD" in $HOME/src/go/*) ln -fv $HOME/src/go/misc/git/hooks/* .git/hooks/ ;; $HOME/src/haskell/*) git ignore '/dist/' git ignore '/dist-newstyle/' ;; $HOME/src/rust/*) git ignore '/target...
<|file_sep|>src/bin/git-new/git-new.sh.diff original: git addignore '/dist/' updated: git ignore '/dist/' git ignore '/dist-newstyle/' <|file_sep|>original/src/bin/git-new/git-new.sh mkdir -pv "$1" cd "$1" git init rm -fv .git/hooks/*.sample realPWD=`env - PATH=$PATH pwd` case "$realPWD" in $HOME/src/...
8f5de6d15cf3cd888a21f403647837c7b244d6c6
src/bin/git-new/git-new.sh
src/bin/git-new/git-new.sh
Shell
<|file_sep|>original/sites/fixtures/sites_data.json <|file_sep|>current/sites/fixtures/sites_data.json <|file_sep|>updated/sites/fixtures/sites_data.json
[ { "model": "sites.sites", "pk": 1, "fields": { "name": "Demo Site" } }, { "model": "sites.sites", "pk": 2, "fields": { "first_name": "ABC Site" } }, { "model": "sites.sites", "pk": 3, "fields": { "first_name": "XYZ Site" }
<|file_sep|>original/sites/fixtures/sites_data.json <|file_sep|>current/sites/fixtures/sites_data.json <|file_sep|>updated/sites/fixtures/sites_data.json [ { "model": "sites.sites", "pk": 1, "fields": { "name": "Demo Site" } }, { "model": "sites.sites", "pk": 2, "fields": { ...
fdae32972b0e5a675ad4b2b1d98eadfc9721f8bd
sites/fixtures/sites_data.json
sites/fixtures/sites_data.json
JSON
<|file_sep|>original/registration/__init__.py from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.utils.importlib import import_module def get_backend(): """ Return an instance of the registration backend for use on this site, as determined by the ``REGISTRA...
from django.conf import settings from django.core.exceptions import ImproperlyConfigured # TODO: When Python 2.7 is released this becomes a try/except falling # back to Django's implementation. from django.utils.importlib import import_module def get_backend(): """ Return an instance of the registration backe...
<|file_sep|>original/registration/__init__.py from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.utils.importlib import import_module def get_backend(): """ Return an instance of the registration backend for use on this site, as determined by the ``REGISTRA...
73a96c3ddcf19df6534ae9dd57bcdca8d28ec615
registration/__init__.py
registration/__init__.py
Python
<|file_sep|>original/README.md # Gitlet Git implemented in JavaScript. Supports `init`, `add`, `rm`, `commit`, `branch`, `checkout`, `diff`, `remote`, `fetch`, `merge`, `push`, `pull` and `clone`. I wrote Gitlet to demonstrate how Git works under the covers. The code is about 1200 lines. It's written to be readabl...
# Gitlet Git implemented in JavaScript. Supports `init`, `add`, `rm`, `commit`, `branch`, `checkout`, `diff`, `remote`, `fetch`, `merge`, `push`, `pull`, `status` and `clone`. I wrote Gitlet to demonstrate how Git works under the covers. The code is about 1200 lines. It's written to be readable. It's not written ...
<|file_sep|>original/README.md # Gitlet Git implemented in JavaScript. Supports `init`, `add`, `rm`, `commit`, `branch`, `checkout`, `diff`, `remote`, `fetch`, `merge`, `push`, `pull` and `clone`. I wrote Gitlet to demonstrate how Git works under the covers. The code is about 1200 lines. It's written to be readabl...
89988709ee67612226e140dd1eb3b839ce4876d6
README.md
README.md
Markdown
<|file_sep|>post.go.diff original: updated: "io/ioutil" <|file_sep|>post.go.diff original: updated: "regexp" "strconv" <|file_sep|>post.go.diff original: updated: "time" <|file_sep|>post.go.diff original: updated: var conflictRegexp = regexp.MustCompile(`\d+`) <|file_sep|>post.go.diff original: // fkey is auto...
if err != nil { return nil, err } if res.StatusCode >= 400 { // For HTTP 409, wait for the throttle to cool down if res.StatusCode == http.StatusConflict { b, err := ioutil.ReadAll(res.Body) if err == nil { m := conflictRegexp.FindStringSubmatch(string(b)) if len(m) != 0 { i, _ :=...
<|file_sep|>post.go.diff original: updated: "io/ioutil" <|file_sep|>post.go.diff original: updated: "regexp" "strconv" <|file_sep|>post.go.diff original: updated: "time" <|file_sep|>post.go.diff original: updated: var conflictRegexp = regexp.MustCompile(`\d+`) <|file_sep|>post.go.diff original: // fkey is auto...
fddd17b872d3987910a5695b478c5fdcf611c264
post.go
post.go
Go
<|file_sep|>.travis.yml.diff original: php: - 5.5 - 5.6 - hhvm updated: matrix: include: - php: 5.5 - php: 5.6 - php: 5.5 env: deps=low - php: nightly - php: hhvm-nightly allow_failures: - php: nightly - php: hhvm-nightly fast_finish: t...
- php: 5.5 - php: 5.6 - php: 5.5 env: deps=low - php: nightly - php: hhvm-nightly allow_failures: - php: nightly - php: hhvm-nightly fast_finish: true env: global: - deps=no before_script: - composer self-update script: - i...
<|file_sep|>.travis.yml.diff original: php: - 5.5 - 5.6 - hhvm updated: matrix: include: - php: 5.5 - php: 5.6 - php: 5.5 env: deps=low - php: nightly - php: hhvm-nightly allow_failures: - php: nightly - php: hhvm-nightly fast_finish: t...
e57710d6a26d8386651e8e3e1105fde9a6610111
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/bi/bizzlelude.yaml.diff original: hash: e6543eff7ef93e41ad1b3f57dfec22446c977895da01af5ea7c47093da6d72c1 updated: hash: a9cbb2cd06f79151c4146635e0f61211707f062e7b81129153030473a44c95b5 <|file_sep|>packages/bi/bizzlelude.yaml.diff original: text: ! '>=1.2.2 && <1.2.3' containers: ! '>=0.5.7 && <...
synopsis: A lousy Prelude replacement by a lousy dude changelog: '' basic-deps: base: ! '>=4.8 && <5' text: ! '>=1.2.2 && <1.3.0' containers: ! '>=0.5.7 && <0.6.0' directory: ! '>=1.3.0 && <1.4.0' all-versions: - '0.0.3' - '0.0.4' - '1.0.1' - '1.0.2' - '1.0.3' - '1.0.4' author: Jason Bertsche latest: '1.0.4' de...
<|file_sep|>packages/bi/bizzlelude.yaml.diff original: hash: e6543eff7ef93e41ad1b3f57dfec22446c977895da01af5ea7c47093da6d72c1 updated: hash: a9cbb2cd06f79151c4146635e0f61211707f062e7b81129153030473a44c95b5 <|file_sep|>packages/bi/bizzlelude.yaml.diff original: text: ! '>=1.2.2 && <1.2.3' containers: ! '>=0.5.7 && <...
3464f632499e15dc7dbcf3d5d76017a9997f68be
packages/bi/bizzlelude.yaml
packages/bi/bizzlelude.yaml
YAML
<|file_sep|>original/test/test_rake_cpu_counter.rb require_relative 'helper' class TestRakeCpuCounter < Rake::TestCase def setup super @cpu_counter = Rake::CpuCounter.new end def test_count_via_win32 if Rake::Win32.windows? then assert_kind_of Numeric, @cpu_counter.count_via_win32 else ...
require File.expand_path('../helper', __FILE__) class TestRakeCpuCounter < Rake::TestCase def setup super @cpu_counter = Rake::CpuCounter.new end def test_count_via_win32 if Rake::Win32.windows? then assert_kind_of Numeric, @cpu_counter.count_via_win32 else assert_nil @cpu_counter....
<|file_sep|>original/test/test_rake_cpu_counter.rb require_relative 'helper' class TestRakeCpuCounter < Rake::TestCase def setup super @cpu_counter = Rake::CpuCounter.new end def test_count_via_win32 if Rake::Win32.windows? then assert_kind_of Numeric, @cpu_counter.count_via_win32 else ...
2b1a8b085f0475833b6d1972f39c5e0325e313b9
test/test_rake_cpu_counter.rb
test/test_rake_cpu_counter.rb
Ruby
<|file_sep|>scripts/docker-write-version.sh.diff original: TAG=$(git describe --dirty --tags) updated: TAG=$(git describe --tags) <|file_sep|>original/scripts/docker-write-version.sh #!/bin/sh set -ex TAG=$(git describe --dirty --tags) BRANCH=$(git rev-parse --abbrev-ref HEAD) DIST_VERSION=$TAG # If the branch comes...
set -ex TAG=$(git describe --tags) BRANCH=$(git rev-parse --abbrev-ref HEAD) DIST_VERSION=$TAG # If the branch comes out as HEAD then we're probably checked out to a tag, so if the thing is *not* # coming out as HEAD then we're on a branch. When we're on a branch, we want to resolve ourselves to # a few SHAs rather ...
<|file_sep|>scripts/docker-write-version.sh.diff original: TAG=$(git describe --dirty --tags) updated: TAG=$(git describe --tags) <|file_sep|>original/scripts/docker-write-version.sh #!/bin/sh set -ex TAG=$(git describe --dirty --tags) BRANCH=$(git rev-parse --abbrev-ref HEAD) DIST_VERSION=$TAG # If the branch comes...
3389f7afc991a5c15a79db73b2c294b927122d9a
scripts/docker-write-version.sh
scripts/docker-write-version.sh
Shell
<|file_sep|>original/src/SFA.DAS.EAS.Employer_Financial.Database/Tables/EnglishFraction.sql CREATE TABLE [employer_financial].[EnglishFraction] ( [Id] BIGINT NOT NULL PRIMARY KEY IDENTITY, [DateCalculated] DATETIME NOT NULL, [Amount] DECIMAL(18, 5) NULL, [EmpRef] NVARCHAR(50) NULL ) <|file_sep|>current...
CREATE TABLE [employer_financial].[EnglishFraction] ( [Id] BIGINT NOT NULL PRIMARY KEY IDENTITY, [DateCalculated] DATETIME NOT NULL, [Amount] DECIMAL(18, 5) NULL, [EmpRef] NVARCHAR(50) NULL ) GO CREATE INDEX [IX_EnglishFraction_Empref_DateCalculated] ON [employer_financial].[EnglishFraction] ([EmpRef...
<|file_sep|>original/src/SFA.DAS.EAS.Employer_Financial.Database/Tables/EnglishFraction.sql CREATE TABLE [employer_financial].[EnglishFraction] ( [Id] BIGINT NOT NULL PRIMARY KEY IDENTITY, [DateCalculated] DATETIME NOT NULL, [Amount] DECIMAL(18, 5) NULL, [EmpRef] NVARCHAR(50) NULL ) <|file_sep|>current...
fd721d68eb1fce6063de0d966e2726f9e0cb7f3a
src/SFA.DAS.EAS.Employer_Financial.Database/Tables/EnglishFraction.sql
src/SFA.DAS.EAS.Employer_Financial.Database/Tables/EnglishFraction.sql
SQL
<|file_sep|>original/.travis.yml language: c sudo: false cache: directories: - $HOME/.stack/ matrix: include: - env: CABALVER=1.22 GHCVER=7.10.3 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3],sources: [hvr-ghc]}} before_install: - mkdir -p ~/.local/bin - export PATH=~/.local/bin:$PATH ...
language: c sudo: false cache: directories: - $HOME/.stack/ matrix: include: - env: CABALVER=1.22 GHCVER=7.10.3 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3,llvm-3.5],sources: [hvr-ghc]}} before_install: - mkdir -p ~/.local/bin - export PATH=~/.local/bin:$PATH - travis_retry curl -L ...
<|file_sep|>original/.travis.yml language: c sudo: false cache: directories: - $HOME/.stack/ matrix: include: - env: CABALVER=1.22 GHCVER=7.10.3 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3],sources: [hvr-ghc]}} before_install: - mkdir -p ~/.local/bin - export PATH=~/.local/bin:$PATH ...
1415770af1ca5e00eea5a095bc4aa6efcdba881d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/ctrls/trivagoCall.js <|file_sep|>current/lib/ctrls/trivagoCall.js <|file_sep|>updated/lib/ctrls/trivagoCall.js
'use strict' const crypto = require('crypto') const config = require('../config') const rp = require('request-promise') const Q = require('q') const _ = require('lodash') var fixDate = function (date) { return (date).toISOString().split('.')[0] + 'Z' } const protocol = 'https://' const endpoint = 'api.trivago.com'...
<|file_sep|>original/lib/ctrls/trivagoCall.js <|file_sep|>current/lib/ctrls/trivagoCall.js <|file_sep|>updated/lib/ctrls/trivagoCall.js 'use strict' const crypto = require('crypto') const config = require('../config') const rp = require('request-promise') const Q = require('q') const _ = require('lodash') var fixDa...
7757d2986ae9890091dcb8b5f984ac30f12f9e3a
lib/ctrls/trivagoCall.js
lib/ctrls/trivagoCall.js
JavaScript
<|file_sep|>original/Cargo.toml [package] name = "igd" version = "0.3.1" authors = ["Simon Bernier St-Pierre <sbernierstpierre@gmail.com>"] description = "Internet Gateway Protocol client" homepage = "https://github.com/SBSTP/rust-igd" repository = "https://github.com/SBSTP/rust-igd" documentation = "https://sbstp.gith...
[package] name = "igd" version = "0.3.1" authors = ["Simon Bernier St-Pierre <sbernierstpierre@gmail.com>"] description = "Internet Gateway Protocol client" homepage = "https://github.com/SBSTP/rust-igd" repository = "https://github.com/SBSTP/rust-igd" documentation = "https://sbstp.github.io/rust-igd/igd/" readme = "R...
<|file_sep|>original/Cargo.toml [package] name = "igd" version = "0.3.1" authors = ["Simon Bernier St-Pierre <sbernierstpierre@gmail.com>"] description = "Internet Gateway Protocol client" homepage = "https://github.com/SBSTP/rust-igd" repository = "https://github.com/SBSTP/rust-igd" documentation = "https://sbstp.gith...
0a7cfe738fb7e9e4cb03c1cfa5a68bb060d6938b
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/renovate.json { "extends": [ "config:base" ], "postUpdateOptions": [ "gomodTidy" ], "commitBody": "Generated by renovateBot", "packageRules": [ { "matchUpdateTypes": ["minor", "patch", "pin", "digest"], "automerge": true }, { "packagePatterns": ["^g...
{ "extends": [ "config:base", ":disableDependencyDashboard" ], "postUpdateOptions": [ "gomodTidy" ], "commitBody": "Generated by renovateBot", "packageRules": [ { "matchUpdateTypes": ["minor", "patch", "pin", "digest"], "automerge": true }, { "packagePatterns": ["^g...
<|file_sep|>original/renovate.json { "extends": [ "config:base" ], "postUpdateOptions": [ "gomodTidy" ], "commitBody": "Generated by renovateBot", "packageRules": [ { "matchUpdateTypes": ["minor", "patch", "pin", "digest"], "automerge": true }, { "packagePatterns": ["^g...
5804f5f89d1f8aff96020b2f3b34cca57d4911c0
renovate.json
renovate.json
JSON
<|file_sep|>Keep-my-Pinned-Tab/src/bg/background.js.diff original: chrome.tabs.onCreated.addListener( function(tab){ if(tab.pinned) { chrome.tabs.executeScript(tab.id, {file: "src/js/onbeforeunload.js"}); updated: pinedTabs = {}; chrome.tabs.onCreated.addListener(function(tab){ if(tab.pinned) { pined...
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { if(changeInfo && changeInfo.pinned) { // Check to see if the tab that got updates wasn't already pinned if(!pinedTabs[tabId]){ pinedTabs[tabId] = true; chrome.tabs.executeScript(tabId, {code: "window.onbeforeunload = function(e) ...
<|file_sep|>Keep-my-Pinned-Tab/src/bg/background.js.diff original: chrome.tabs.onCreated.addListener( function(tab){ if(tab.pinned) { chrome.tabs.executeScript(tab.id, {file: "src/js/onbeforeunload.js"}); updated: pinedTabs = {}; chrome.tabs.onCreated.addListener(function(tab){ if(tab.pinned) { pined...
7c3adf0d0235eabcf373d5112e3f4e17b6717fb4
Keep-my-Pinned-Tab/src/bg/background.js
Keep-my-Pinned-Tab/src/bg/background.js
JavaScript
<|file_sep|>original/examples/device/audio_test/src/plot_audio_samples.py <|file_sep|>current/examples/device/audio_test/src/plot_audio_samples.py <|file_sep|>updated/examples/device/audio_test/src/plot_audio_samples.py
import sounddevice as sd import matplotlib.pyplot as plt import numpy as np if __name__ == '__main__': # devList = sd.query_devices() # print(devList) fs = 48000 # Sample rate duration = 100e-3 # Duration of recording device = 'Microphone (MicNode) MME' # MME is needed since ...
<|file_sep|>original/examples/device/audio_test/src/plot_audio_samples.py <|file_sep|>current/examples/device/audio_test/src/plot_audio_samples.py <|file_sep|>updated/examples/device/audio_test/src/plot_audio_samples.py import sounddevice as sd import matplotlib.pyplot as plt import numpy as np if __name__ == '__mai...
de3c03af76ebb4f092f798a390a463fe78cc27f0
examples/device/audio_test/src/plot_audio_samples.py
examples/device/audio_test/src/plot_audio_samples.py
Python
<|file_sep|>src/tibb/TableView/BasicListItem.cpp.diff original: BasicListItem::BasicListItem() { updated: BasicListItem::BasicListItem() : data_(NULL) { <|file_sep|>src/tibb/TableView/BasicListItem.cpp.diff original: updated: <|file_sep|>original/src/tibb/TableView/BasicListItem.cpp setRoot(item_); } void Ba...
item_ = new StandardListItem(); setRoot(item_); } void BasicListItem::setData(QObject* data) { updateImage(data->property("leftImage").value<QUrl>()); updateTitle(data->property("title").toString()); connect(data, SIGNAL(leftImageChanged(const QUrl&)), SLOT(updateImage(const QUrl&))); connect(...
<|file_sep|>src/tibb/TableView/BasicListItem.cpp.diff original: BasicListItem::BasicListItem() { updated: BasicListItem::BasicListItem() : data_(NULL) { <|file_sep|>src/tibb/TableView/BasicListItem.cpp.diff original: updated: <|file_sep|>original/src/tibb/TableView/BasicListItem.cpp setRoot(item_); } void Ba...
549c3bacf595f47e5346806f381e4e099417fd0d
src/tibb/TableView/BasicListItem.cpp
src/tibb/TableView/BasicListItem.cpp
C++
<|file_sep|>original/concrete/src/Page/DisplayOrderUpdateEvent.php <?php namespace Concrete\Core\Page; class DisplayOrderUpdateEvent extends Event { /** * Get the old display order * * This is the order *before* the page was moved. * * @return int */ public function getOldDisplay...
<?php namespace Concrete\Core\Page; /** * @since 8.5.0 */ class DisplayOrderUpdateEvent extends Event { /** * Get the old display order * * This is the order *before* the page was moved. * * @return int */ public function getOldDisplayOrder() { return (int) $this->g...
<|file_sep|>original/concrete/src/Page/DisplayOrderUpdateEvent.php <?php namespace Concrete\Core\Page; class DisplayOrderUpdateEvent extends Event { /** * Get the old display order * * This is the order *before* the page was moved. * * @return int */ public function getOldDisplay...
f0194042f14cc60937fd21b4865d9f89c998c6cc
concrete/src/Page/DisplayOrderUpdateEvent.php
concrete/src/Page/DisplayOrderUpdateEvent.php
PHP
<|file_sep|>core/parser.py.diff original: updated: self.log = open(config.log_file) def isLog(line): """ Checks if a log entry is a fail2ban log entry """ # TODO : Change this to some regex magic ? if "fail2ban" in line and "Ban" in line: return True...
if "fail2ban" in line and "Ban" in line: return True else: return False def parseAll(self): """ Parses all the previous entries in the fail2ban log without realtime support. """ entries = [] while True: line = self....
<|file_sep|>core/parser.py.diff original: updated: self.log = open(config.log_file) def isLog(line): """ Checks if a log entry is a fail2ban log entry """ # TODO : Change this to some regex magic ? if "fail2ban" in line and "Ban" in line: return True...
170d08442aeabaa5f8e2fb1fef14f9e6464eeeab
core/parser.py
core/parser.py
Python
<|file_sep|>original/tasks/dotfiles.yml tags: - zsh - name: create vim pathogen directories file: path: "{{ item }}" state: directory recurse: yes loop: - ~/.vim/autoload - ~/.vim/bundle tags: - vim - name: download vim pathogen get_url: url: https://tpo.pe/pathogen.vim dest: ~/....
path: "{{ item }}" state: directory recurse: yes loop: - ~/.vim/autoload - ~/.vim/bundle tags: - vim - name: download vim pathogen get_url: url: https://tpo.pe/pathogen.vim dest: ~/.vim/autoload/pathogen.vim mode: 0644 tags: - vim - name: install nerdtree git: repo: https...
<|file_sep|>original/tasks/dotfiles.yml tags: - zsh - name: create vim pathogen directories file: path: "{{ item }}" state: directory recurse: yes loop: - ~/.vim/autoload - ~/.vim/bundle tags: - vim - name: download vim pathogen get_url: url: https://tpo.pe/pathogen.vim dest: ~/....
960de21a26c90f64c465fd9fe06b68a2447a6a1f
tasks/dotfiles.yml
tasks/dotfiles.yml
YAML
<|file_sep|>original/doc/videos.adoc :icons: font // Set up support for relative links on GitHub; add more conditions // if you need to support other environments and extensions. ifdef::env-github[:outfilesuffix: .adoc] This page collects performance videos that highlight Afterglow in action. If you have any to share...
:icons: font // Set up support for relative links on GitHub; add more conditions // if you need to support other environments and extensions. ifdef::env-github[:outfilesuffix: .adoc] This page collects performance videos that highlight Afterglow in action. If you have any to share, please post them to the https://git...
<|file_sep|>original/doc/videos.adoc :icons: font // Set up support for relative links on GitHub; add more conditions // if you need to support other environments and extensions. ifdef::env-github[:outfilesuffix: .adoc] This page collects performance videos that highlight Afterglow in action. If you have any to share...
fae66814a50c60e47772ad6feec9ee222920fd9c
doc/videos.adoc
doc/videos.adoc
AsciiDoc
<|file_sep|>src/main/java/com/ice/av/sample/entity/Info.java.diff original: public Date getTimestamp() { return new Date(); updated: public String getTimestamp() { return new Date().toString(); <|file_sep|>original/src/main/java/com/ice/av/sample/entity/Info.java public String getInfo() { return info; } pub...
public String getInfo() { return info; } public void setInfo(String info) { this.info = info; } public String getTimestamp() { return new Date().toString(); } public void setTimestamp(String timestamp) { } @Override public String toString() { return "Info [info=" + info + "]"; } }
<|file_sep|>src/main/java/com/ice/av/sample/entity/Info.java.diff original: public Date getTimestamp() { return new Date(); updated: public String getTimestamp() { return new Date().toString(); <|file_sep|>original/src/main/java/com/ice/av/sample/entity/Info.java public String getInfo() { return info; } pub...
88857cbc998d82b8af2d2224f04a79f95a730a82
src/main/java/com/ice/av/sample/entity/Info.java
src/main/java/com/ice/av/sample/entity/Info.java
Java
<|file_sep|>original/docs/log_streaming.md # Activating log streaming By default, log streaming is deactivated in Empire. If you try to run `emp log -a <app>`, you will get the following response: ```console $ emp log -a acme-inc Logs are disabled ``` To activate log streaming on Empire, you need to set the `EMPIRE_...
# Activating log streaming By default, log streaming is deactivated in Empire. If you try to run `emp log -a <app>`, you will get the following response: ```console $ emp log -a acme-inc Logs are disabled ``` To activate log streaming on Empire, you need to set the `EMPIRE_LOG_STREAMER` environment variable on your ...
<|file_sep|>original/docs/log_streaming.md # Activating log streaming By default, log streaming is deactivated in Empire. If you try to run `emp log -a <app>`, you will get the following response: ```console $ emp log -a acme-inc Logs are disabled ``` To activate log streaming on Empire, you need to set the `EMPIRE_...
1c099e4ac7ce64370132b6d6e75176de0b287905
docs/log_streaming.md
docs/log_streaming.md
Markdown
<|file_sep|>original/.travis.yml language: java sudo: true before_script: - sudo sysctl -w vm.max_map_count=262144 script: - mvn -B verify after_success: - mvn -B jacoco:report coveralls:report jdk: - oraclejdk8 <|file_sep|>current/.travis.yml language: java sudo: true before_script: - sudo sysctl -w vm.max_m...
language: java sudo: true before_script: - sudo sysctl -w vm.max_map_count=262144 script: - mvn -B verify after_success: - mvn -B jacoco:report coveralls:report jdk: - openjdk8
<|file_sep|>original/.travis.yml language: java sudo: true before_script: - sudo sysctl -w vm.max_map_count=262144 script: - mvn -B verify after_success: - mvn -B jacoco:report coveralls:report jdk: - oraclejdk8 <|file_sep|>current/.travis.yml language: java sudo: true before_script: - sudo sysctl -w vm.max_m...
a98811b09fd5815da331d541c930528c082cb350
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "preferGlobal": "true", "bin": { "kiwiirc": "./kiwi" }, "repository" : { "type": "git", "url": "https://github.com/prawnsalad/KiwiIRC.git" }, "scripts": { "postinstall": "node client/assets/src/build.js" }, "dependencies": { "node-static": "0.5.9...
"preferGlobal": "true", "bin": { "kiwiirc": "./kiwi" }, "repository" : { "type": "git", "url": "https://github.com/prawnsalad/KiwiIRC.git" }, "scripts": { "postinstall": "node client/assets/src/build.js" }, "dependencies": { "node-static": "0.5.9", "uglify-js": "2.3.6", "...
<|file_sep|>original/package.json "preferGlobal": "true", "bin": { "kiwiirc": "./kiwi" }, "repository" : { "type": "git", "url": "https://github.com/prawnsalad/KiwiIRC.git" }, "scripts": { "postinstall": "node client/assets/src/build.js" }, "dependencies": { "node-static": "0.5.9...
fa21021696b056c960b89553bd35e2ef623f49fd
package.json
package.json
JSON
<|file_sep|>original/packages/truffle-compile/package.json { "name": "truffle-compile", "version": "2.0.1", "description": "Compiler helper and artifact manager", "main": "index.js", "dependencies": { "async": "^2.1.4", "colors": "^1.1.2", "graphlib": "^2.1.1", "solc": "0.4.11", "solidity-...
{ "name": "truffle-compile", "version": "2.0.1", "description": "Compiler helper and artifact manager", "main": "index.js", "dependencies": { "async": "^2.1.4", "colors": "^1.1.2", "graphlib": "^2.1.1", "solc": "0.4.11", "solidity-parser": "^0.4.0", "truffle-config": "0.0.7", "truf...
<|file_sep|>original/packages/truffle-compile/package.json { "name": "truffle-compile", "version": "2.0.1", "description": "Compiler helper and artifact manager", "main": "index.js", "dependencies": { "async": "^2.1.4", "colors": "^1.1.2", "graphlib": "^2.1.1", "solc": "0.4.11", "solidity-...
f26ccfdd86cc6577ee436a36b241aa12efb9deb3
packages/truffle-compile/package.json
packages/truffle-compile/package.json
JSON
<|file_sep|>original/src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java <|file_sep|>current/src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java <|file_sep|>updated/src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java
package net.imagej.ops.viewOp; import org.scijava.plugin.Plugin; import net.imagej.ops.view.ViewOps; import net.imagej.ops.view.ViewOps.ExtendBorder; import net.imglib2.RandomAccessibleInterval; import net.imglib2.view.ExtendedRandomAccessibleInterval; import net.imglib2.view.Views; @Plugin(type = ViewOps.ExtendBord...
<|file_sep|>original/src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java <|file_sep|>current/src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java <|file_sep|>updated/src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java package net.imagej.ops.viewOp; import org.scijava.plugin.Plugin; import ...
0c8592c33c01c365ad371cfb7dcd317cf9257269
src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java
src/main/java/net/imagej/ops/viewOp/DefaultExtendBorder.java
Java
<|file_sep|>original/spec/integration/snmpjr_spec.rb <|file_sep|>current/spec/integration/snmpjr_spec.rb <|file_sep|>updated/spec/integration/snmpjr_spec.rb
describe "snmpjr" do describe 'GET' do it "can perform a simple synchronous get request on an snmp agent" do snmp = Snmpjr.new(:host => 'demo.snmplabs.com', :port => 161, :community => 'public') expect(snmp.get '1.3.6.1.2.1.1.1.0').to eq 'SunOS zeus.snmplabs.com 4.1.3_U1 1 sun4m' end end end
<|file_sep|>original/spec/integration/snmpjr_spec.rb <|file_sep|>current/spec/integration/snmpjr_spec.rb <|file_sep|>updated/spec/integration/snmpjr_spec.rb describe "snmpjr" do describe 'GET' do it "can perform a simple synchronous get request on an snmp agent" do snmp = Snmpjr.new(:host => 'demo.snmpla...
54f0fb30cc02560d8205007a0e263a5f14425f5a
spec/integration/snmpjr_spec.rb
spec/integration/snmpjr_spec.rb
Ruby
<|file_sep|>original/package.json "name": "es-components", "version": "10.7.1", "description": "React components built for Exchange Solutions products", "repository": "https://github.com/wtw-im/es-components", "scripts": { "ci": "sh build.sh", "version_only": "lerna publish --skip-npm", "publish_...
"name": "es-components", "version": "10.7.1", "description": "React components built for Exchange Solutions products", "repository": "https://github.com/wtw-im/es-components", "scripts": { "ci": "sh build.sh", "version_only": "lerna publish --skip-npm", "publish_only": "lerna publish --skip-git",...
<|file_sep|>original/package.json "name": "es-components", "version": "10.7.1", "description": "React components built for Exchange Solutions products", "repository": "https://github.com/wtw-im/es-components", "scripts": { "ci": "sh build.sh", "version_only": "lerna publish --skip-npm", "publish_...
c4aaff7a9544673cecadc5f701b087582a1f7584
package.json
package.json
JSON
<|file_sep|>original/src/server/config.js const path = require('path') module.exports = { http: { port: process.env.DEV ? 8080 : 8050, favicon: path.join(__dirname, '../assets/favicon.ico') }, server: { SSR: true, // Server side rendering certificate: path.join(__dirname, '....
const path = require('path') module.exports = { http: { port: process.env.DEV ? 8080 : 8050, favicon: path.join(__dirname, '../assets/favicon.ico') }, server: { SSR: false, // Server side rendering certificate: path.join(__dirname, '../../fullchain.pem'), certificate...
<|file_sep|>original/src/server/config.js const path = require('path') module.exports = { http: { port: process.env.DEV ? 8080 : 8050, favicon: path.join(__dirname, '../assets/favicon.ico') }, server: { SSR: true, // Server side rendering certificate: path.join(__dirname, '....
ab216825b9c651cc6aabb22fd205a60cee93aa9a
src/server/config.js
src/server/config.js
JavaScript
<|file_sep|>original/font.js var WebFont = require("webfont"), stripDomain = new RegExp("^(.*://[^/]*/)?(.*)$"); exports.locate = function(load) { return decodeURI(load.name.match(stripDomain)[2]); } exports.fetch = function(load) { return new Promise(function(resolve, reject) { var fontName = load.addres...
var WebFont = require("webfont"), stripDomain = new RegExp("^(.*://[^/]*/)?(.*)$"); // scheme^ domain^ font^ exports.locate = function(load) { return decodeURI(load.name.match(stripDomain)[2]); } exports.fetch = function(load) { return new Promise(function(resolve, reject) { var fo...
<|file_sep|>original/font.js var WebFont = require("webfont"), stripDomain = new RegExp("^(.*://[^/]*/)?(.*)$"); exports.locate = function(load) { return decodeURI(load.name.match(stripDomain)[2]); } exports.fetch = function(load) { return new Promise(function(resolve, reject) { var fontName = load.addres...
17e4e2db2e332adc95e55e8ca66a693ad897fa45
font.js
font.js
JavaScript
<|file_sep|>sass/partials/_summary-block.scss.diff original: .content { margin-right: 0.5em; } updated: padding-right: 0.5em; <|file_sep|>original/sass/partials/_summary-block.scss } .alignleft { float: left; .content { margin-right: 0.5em; } } .alignright { float: right; .content ...
} .alignleft { float: left; padding-right: 0.5em; } .alignright { float: right; padding-left: 0.5em; } .list { .content { height: 50vh; max-height: 380px; overflow-x: auto; overflow-y: scroll; border-top: 1px dotted $color-list-content-border; border-bottom: 1px dot...
<|file_sep|>sass/partials/_summary-block.scss.diff original: .content { margin-right: 0.5em; } updated: padding-right: 0.5em; <|file_sep|>original/sass/partials/_summary-block.scss } .alignleft { float: left; .content { margin-right: 0.5em; } } .alignright { float: right; .content ...
94b85d55465eb722c9095d33bcfe108f36cb5489
sass/partials/_summary-block.scss
sass/partials/_summary-block.scss
SCSS
<|file_sep|>original/sky/shell/android/platform_view_android.h public: static bool Register(JNIEnv* env); ~PlatformViewAndroid() override; // Called from Java void Detach(JNIEnv* env, jobject obj); void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface); void SurfaceDestroyed(JNIEnv* env, jobject ...
class PlatformViewAndroid : public PlatformView { public: static bool Register(JNIEnv* env); ~PlatformViewAndroid() override; // Called from Java void Detach(JNIEnv* env, jobject obj); void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface); void SurfaceDestroyed(JNIEnv* env, jobject obj); priv...
<|file_sep|>original/sky/shell/android/platform_view_android.h public: static bool Register(JNIEnv* env); ~PlatformViewAndroid() override; // Called from Java void Detach(JNIEnv* env, jobject obj); void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface); void SurfaceDestroyed(JNIEnv* env, jobject ...
22da76be1ee64120f69ed35d6f21c85c31df08b6
sky/shell/android/platform_view_android.h
sky/shell/android/platform_view_android.h
C
<|file_sep|>original/contrib/migrateticketmodel.py # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority val...
# # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority values are # changed to the more meaningful new defaul...
<|file_sep|>original/contrib/migrateticketmodel.py # # This script completely migrates a <= 0.8.x Trac environment to use the new # default ticket model introduced in Trac 0.9. # # In particular, this means that the severity field is removed (or rather # disabled by removing all possible values), and the priority val...
e78dd9bf1b9e1d20b8df34ee3328ee08afd45676
contrib/migrateticketmodel.py
contrib/migrateticketmodel.py
Python
<|file_sep|>original/_config.yml # Site settings title: Emerald | A simple Jekyll blog description: "A minimal blog template, build with Jekyll." url: "http://www.jacoporabolini.com/emerald" author: name: "Jacopo Rabolini" email: "hello@jacoporabolini.com" url: "http://www.jacoporabolini.com" # Build settings ba...
# Site settings title: Emerald | A simple Jekyll blog description: "A minimal blog template, build with Jekyll." url: "http://www.jacoporabolini.com/emerald" author: name: "Jacopo Rabolini" email: "hello@jacoporabolini.com" url: "http://www.jacoporabolini.com" # Build settings baseurl: / # Change this to your re...
<|file_sep|>original/_config.yml # Site settings title: Emerald | A simple Jekyll blog description: "A minimal blog template, build with Jekyll." url: "http://www.jacoporabolini.com/emerald" author: name: "Jacopo Rabolini" email: "hello@jacoporabolini.com" url: "http://www.jacoporabolini.com" # Build settings ba...
09c0f532303b761ebe60c62fb4b94436ffb4b929
_config.yml
_config.yml
YAML
<|file_sep|>lib/node_modules/@stdlib/math/base/special/asin/docs/repl.txt.diff original: Compute the arcsine of a number. updated: Computes the arcsine of a number. <|file_sep|>lib/node_modules/@stdlib/math/base/special/asin/docs/repl.txt.diff original: The domain of `x` is restricted to `[-1,1]`. If `|x| >...
Input value. Returns ------- y: number Arcsine (in radians). Examples -------- > var y = {{alias}}( 0.0 ) 0.0 > y = {{alias}}( {{alias:@stdlib/math/constants/float64-pi}}/2.0 ) ~1.0 > y = {{alias}}( -{{alias:@stdlib/math/constants/float64-pi}}/6.0 ) ~-0.5 ...
<|file_sep|>lib/node_modules/@stdlib/math/base/special/asin/docs/repl.txt.diff original: Compute the arcsine of a number. updated: Computes the arcsine of a number. <|file_sep|>lib/node_modules/@stdlib/math/base/special/asin/docs/repl.txt.diff original: The domain of `x` is restricted to `[-1,1]`. If `|x| >...
64413e8b82cb8cb11725f18fdab4d193ada85e6e
lib/node_modules/@stdlib/math/base/special/asin/docs/repl.txt
lib/node_modules/@stdlib/math/base/special/asin/docs/repl.txt
Text
<|file_sep|>original/src/global/passwordmgr.css background: url(chrome://global/skin/icons/dialog-background.png) -20px 0 repeat-y #dadce4; } .contentPane { margin: 9px 8px 5px; } #signonsTree { margin: 2px -8px; border-right: 0; border-left: 0; } #SignonViewerDialog > hbox { border-top: 2px groove #d4d0...
#signonsTree { margin: 2px -8px; border-right: 0; border-left: 0; } #SignonViewerDialog > hbox { border-top: 2px groove #d4d0c8; background: url(chrome://browser/skin/icons/Tool-background2.png) top left repeat-x #adaebb; } .actionButtons { margin: 5px 0; } treechildren::-moz-tree-image(siteCol) { list...
<|file_sep|>original/src/global/passwordmgr.css background: url(chrome://global/skin/icons/dialog-background.png) -20px 0 repeat-y #dadce4; } .contentPane { margin: 9px 8px 5px; } #signonsTree { margin: 2px -8px; border-right: 0; border-left: 0; } #SignonViewerDialog > hbox { border-top: 2px groove #d4d0...
874e36e3b67a916b193fac8ab882aaf52875251b
src/global/passwordmgr.css
src/global/passwordmgr.css
CSS
<|file_sep|>original/server/src/test/java/de/fau/amos/virtualledger/server/TestRestProviderTest.java public class TestRestProviderTest { private final TestRestProvider testRestProvider = new TestRestProvider(); @Test public void helloWorld_noInput_200Status() { //arrange //act final...
public class TestRestProviderTest { private final TestRestProvider testRestProvider = new TestRestProvider(); @Test public void helloWorld_noInput_200Status() { //arrange //act final Response result = testRestProvider.helloWorld(); //assert Assert.assertEquals(200, r...
<|file_sep|>original/server/src/test/java/de/fau/amos/virtualledger/server/TestRestProviderTest.java public class TestRestProviderTest { private final TestRestProvider testRestProvider = new TestRestProvider(); @Test public void helloWorld_noInput_200Status() { //arrange //act final...
0c564b727426bf2ea0acb7461ed6a6731eaa5364
server/src/test/java/de/fau/amos/virtualledger/server/TestRestProviderTest.java
server/src/test/java/de/fau/amos/virtualledger/server/TestRestProviderTest.java
Java
<|file_sep|>content/book_phone.md.diff original: updated: <|file_sep|>content/book_phone.md.diff original: Phone **0800 138 3944**. updated: [Book online](/telephone-appointments/new){: .button #phone-button style="font-size: 0.9em; padding-left: 2em; padding-right: 2em;"} <|file_sep|>original/content/book_phone.md -...
--- description: Call 0800 138 3944 between 8am to 10pm, every day. tags: - appointments - booking --- # How to book a phone appointment [Book online](/telephone-appointments/new){: .button #phone-button style="font-size: 0.9em; padding-left: 2em; padding-right: 2em;"} or call **0800 138 3944**. If you’re outsid...
<|file_sep|>content/book_phone.md.diff original: updated: <|file_sep|>content/book_phone.md.diff original: Phone **0800 138 3944**. updated: [Book online](/telephone-appointments/new){: .button #phone-button style="font-size: 0.9em; padding-left: 2em; padding-right: 2em;"} <|file_sep|>original/content/book_phone.md -...
d4941496877f667c644cced2026de638e8244e4d
content/book_phone.md
content/book_phone.md
Markdown
<|file_sep|>original/include/libssh/CMakeLists.txt project(libssh-headers C) set(libssh_HDRS callbacks.h libssh.h ssh2.h ) if (WITH_SFTP) set(libssh_HDRS ${libssh_HDRS} sftp.h ) endif (WITH_SFTP) if (WITH_SSH1) set(libssh_HDRS ${libssh_HDRS} ssh1.h ) endif (WITH_SSH1) <|file_sep|>curren...
project(libssh-headers C) set(libssh_HDRS callbacks.h libssh.h ssh2.h legacy.h ) if (WITH_SFTP) set(libssh_HDRS ${libssh_HDRS} sftp.h ) endif (WITH_SFTP) if (WITH_SSH1) set(libssh_HDRS ${libssh_HDRS} ssh1.h )
<|file_sep|>original/include/libssh/CMakeLists.txt project(libssh-headers C) set(libssh_HDRS callbacks.h libssh.h ssh2.h ) if (WITH_SFTP) set(libssh_HDRS ${libssh_HDRS} sftp.h ) endif (WITH_SFTP) if (WITH_SSH1) set(libssh_HDRS ${libssh_HDRS} ssh1.h ) endif (WITH_SSH1) <|file_sep|>curren...
255f5bd73f69eaf278e02670dc64ddccb0947b73
include/libssh/CMakeLists.txt
include/libssh/CMakeLists.txt
Text
<|file_sep|>original/examples/react/stories/index.js import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import { Button, Welcome } from '@storybook/react/demo'; storiesOf('Welcome', module).add('...
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import { Button, Welcome } from '@storybook/react/demo'; storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('Button...
<|file_sep|>original/examples/react/stories/index.js import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { linkTo } from '@storybook/addon-links'; import { Button, Welcome } from '@storybook/react/demo'; storiesOf('Welcome', module).add('...
e04b74c6201a02b09ee2cfc86fe3cbb2bad500bb
examples/react/stories/index.js
examples/react/stories/index.js
JavaScript
<|file_sep|>original/server.ls require! { express, 'body-parser', request } app = express! app.enable 'trust proxy' app.use express.static 'static' #app.use body-parser.urlencoded extended: false app.get '/twitter/api/*' (req, res) !-> request "http://#{(process.env.BROKER_PORT_7999_TCP_ADDR or \localhost)}:7999/t...
require! { express, 'body-parser', request } app = express! app.enable 'trust proxy' app.use express.static 'static' #app.use body-parser.urlencoded extended: false app.get '/twitter/api/*' (req, res) !-> request 'arbiter:7999/databox-twitter-driver/' .pipe res app.listen (process.env.PORT or 8080)
<|file_sep|>original/server.ls require! { express, 'body-parser', request } app = express! app.enable 'trust proxy' app.use express.static 'static' #app.use body-parser.urlencoded extended: false app.get '/twitter/api/*' (req, res) !-> request "http://#{(process.env.BROKER_PORT_7999_TCP_ADDR or \localhost)}:7999/t...
3fefec80102e41c6a404bb744142233f09154cfe
server.ls
server.ls
LiveScript
<|file_sep|>original/test/getthumbinfo_sm17836499.xml <|file_sep|>current/test/getthumbinfo_sm17836499.xml <|file_sep|>updated/test/getthumbinfo_sm17836499.xml
<?xml version="1.0" encoding="UTF-8"?> <nicovideo_thumb_response status="ok"> <thumb> <video_id>sm17836499</video_id> <title>今日もBF3で酒がうまいぜ その17 ゆっくりできない実況</title> <description>深刻な素材不足によりOPはなしです、突撃兵はいかんねもうカットしまくりで疲れました・・・コンクエと突撃兵の組み合わせはもうないでしょう使用武器 M16A3 バイポ+ヘビバレ M26MAP Kharg Island(カーグ・アイランド)まいりす→mylist/31380823  ...
<|file_sep|>original/test/getthumbinfo_sm17836499.xml <|file_sep|>current/test/getthumbinfo_sm17836499.xml <|file_sep|>updated/test/getthumbinfo_sm17836499.xml <?xml version="1.0" encoding="UTF-8"?> <nicovideo_thumb_response status="ok"> <thumb> <video_id>sm17836499</video_id> <title>今日もBF3で酒がうまいぜ その17 ゆっくりできない実況</ti...
1b9db45453139341e374d7d665af3e4f81853099
test/getthumbinfo_sm17836499.xml
test/getthumbinfo_sm17836499.xml
XML
<|file_sep|>original/requirements/base.txt Whoosh==2.7.4 django-widget-tweaks==1.4.8 # YAML Loading PyYAML==5.3.1 # System tools tqdm==4.48.2 # XML Parsing lxml==4.6.1 cssselect==1.1.0 # I18n django-modeltranslation==0.15.2 uniseg==0.7.1 python-bidi==0.4.2 django-bidi-utils==1.0 # Plugging it in requests==2.24.0 <...
Whoosh==2.7.4 django-widget-tweaks==1.4.8 # YAML Loading PyYAML==5.3.1 # System tools tqdm==4.48.2 # XML Parsing lxml==4.6.2 cssselect==1.1.0 # I18n django-modeltranslation==0.15.2 uniseg==0.7.1 python-bidi==0.4.2 django-bidi-utils==1.0 # Plugging it in requests==2.24.0
<|file_sep|>original/requirements/base.txt Whoosh==2.7.4 django-widget-tweaks==1.4.8 # YAML Loading PyYAML==5.3.1 # System tools tqdm==4.48.2 # XML Parsing lxml==4.6.1 cssselect==1.1.0 # I18n django-modeltranslation==0.15.2 uniseg==0.7.1 python-bidi==0.4.2 django-bidi-utils==1.0 # Plugging it in requests==2.24.0 <...
12434cb3d359ad615b0a3aa0239f12d4747a579a
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/src/rimu/main.ts import * as Options from './options' /* The single public API which translates Rimu Markup to HTML: render(source [, options]) */ export function render(source: string, opts: Options.RenderOptions = {}): string { if (typeof source !== 'string') { throw new TypeError(...
The compiled modules are bundled by Webpack into 'var' (script tag) and 'commonjs' (npm) formatted libraries. */ import * as Api from './api' import * as Options from './options' /* The single public API which translates Rimu Markup to HTML: render(source [, options]) */ export function render(source: str...
<|file_sep|>original/src/rimu/main.ts import * as Options from './options' /* The single public API which translates Rimu Markup to HTML: render(source [, options]) */ export function render(source: string, opts: Options.RenderOptions = {}): string { if (typeof source !== 'string') { throw new TypeError(...
770b1b3dbe52ae8cf5593487621e1ca8662efd9d
src/rimu/main.ts
src/rimu/main.ts
TypeScript
<|file_sep|>original/messaging.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '0.22.1.0' s.summary = 'Common primitives for platform-specific messaging implementations for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'ope...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '0.22.2.0' s.summary = 'Common primitives for platform-specific messaging implementations for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homep...
<|file_sep|>original/messaging.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-messaging' s.version = '0.22.1.0' s.summary = 'Common primitives for platform-specific messaging implementations for Eventide' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'ope...
88eba3ca1736febbd632abf39e4718122ff11519
messaging.gemspec
messaging.gemspec
Ruby
<|file_sep|>.travis.yml.diff original: sudo: false updated: <|file_sep|>.travis.yml.diff original: updated: distro: trusty <|file_sep|>.travis.yml.diff original: updated: services: - postgresql - mysql <|file_sep|>.travis.yml.diff original: - SOLIDUS_BRANCH=v2.4 DB=postgres updated: <|file_sep|>.travis.yml....
distro: trusty language: ruby services: - postgresql - mysql rvm: - 2.6.3 env: matrix: - SOLIDUS_BRANCH=v2.5 DB=postgres - SOLIDUS_BRANCH=v2.6 DB=postgres - SOLIDUS_BRANCH=v2.7 DB=postgres - SOLIDUS_BRANCH=v2.8 DB=postgres - SOLIDUS_BRANCH=v2.9 DB=postgres - SOLIDUS_BRANCH=master DB=post...
<|file_sep|>.travis.yml.diff original: sudo: false updated: <|file_sep|>.travis.yml.diff original: updated: distro: trusty <|file_sep|>.travis.yml.diff original: updated: services: - postgresql - mysql <|file_sep|>.travis.yml.diff original: - SOLIDUS_BRANCH=v2.4 DB=postgres updated: <|file_sep|>.travis.yml....
973d250c6bc6ff3ff99d947869915e50cb29bb00
.travis.yml
.travis.yml
YAML
<|file_sep|>mopidy/utils/process.py.diff original: updated: import multiprocessing.dummy <|file_sep|>original/mopidy/utils/process.py class BaseProcess(multiprocessing.Process): def run(self): logger.debug(u'%s: Starting process', self.name) try: self.run_inside_try() except Ke...
sys.exit(1) except ImportError as e: logger.error(e) sys.exit(1) except Exception as e: logger.exception(e) raise e def run_inside_try(self): raise NotImplementedError class BaseThread(multiprocessing.dummy.Process): def run(...
<|file_sep|>mopidy/utils/process.py.diff original: updated: import multiprocessing.dummy <|file_sep|>original/mopidy/utils/process.py class BaseProcess(multiprocessing.Process): def run(self): logger.debug(u'%s: Starting process', self.name) try: self.run_inside_try() except Ke...
f8555e70610df47b726e20f312be5beba67f8435
mopidy/utils/process.py
mopidy/utils/process.py
Python
<|file_sep|>original/components/artwork_item/stylesheets/index.styl .artwork-item-caption color dark-gray-text-color font-size 15px line-height 1.3 text-align left a color dark-gray-text-color &.avant-garde-button-black color white p.artwork-item-overflow overflow ellipsis .artwork-item-...
.artwork-item-caption color dark-gray-text-color font-size 15px line-height 1.3 text-align left a color dark-gray-text-color &.avant-garde-button-black color white // Match width of 'Bid' button to be the same // as the 'More Info' button &.artwork-item-bid min-width 90px p...
<|file_sep|>original/components/artwork_item/stylesheets/index.styl .artwork-item-caption color dark-gray-text-color font-size 15px line-height 1.3 text-align left a color dark-gray-text-color &.avant-garde-button-black color white p.artwork-item-overflow overflow ellipsis .artwork-item-...
3e25cc9dbe06c4eece7a42ece506d247af36f63e
components/artwork_item/stylesheets/index.styl
components/artwork_item/stylesheets/index.styl
Stylus
<|file_sep|>original/demos/index.html <title>jQuery Toaster Plugin</title> <link rel=stylesheet href="../jquery.toaster.css"> </head> <body> <h1>jQuery Toaster Plugin</h1> <button id="toast">Toast!</button> <div id="x"></div> <!-- ======================================== --> <link ...
<title>jQuery Toaster Plugin</title> <link rel=stylesheet href="../jquery.toaster.css"> </head> <body> <h1>jQuery Toaster Plugin</h1> <button id="toast">Toast!</button> <div id="x"></div> <!-- ======================================== --> <script src="http://ajax.googleapis.com/ajax...
<|file_sep|>original/demos/index.html <title>jQuery Toaster Plugin</title> <link rel=stylesheet href="../jquery.toaster.css"> </head> <body> <h1>jQuery Toaster Plugin</h1> <button id="toast">Toast!</button> <div id="x"></div> <!-- ======================================== --> <link ...
f7768e4b58e7a86810c456f2986252a90565fbfb
demos/index.html
demos/index.html
HTML
<|file_sep|>qa/qa/specs/features/project/create_issue_spec.rb.diff original: describe 'with attachments', :object_storage do let(:file_to_attach) { File.absolute_path(File.join('spec', 'fixtures', 'banana_sample.gif')) } updated: context 'when using attachements in comments', :object_storage do let(...
end it 'user comments on an issue with an attachment' do create_issue Page::Project::Issue::Show.perform do |show| show.comment('See attached banana for scale', attachment: file_to_attach) show.refresh image_url = find('a[href$="banana_sample.gif"]')[:href] ...
<|file_sep|>qa/qa/specs/features/project/create_issue_spec.rb.diff original: describe 'with attachments', :object_storage do let(:file_to_attach) { File.absolute_path(File.join('spec', 'fixtures', 'banana_sample.gif')) } updated: context 'when using attachements in comments', :object_storage do let(...
7e7e52536b876a9381c6efb4d858d3a49d1f9640
qa/qa/specs/features/project/create_issue_spec.rb
qa/qa/specs/features/project/create_issue_spec.rb
Ruby
<|file_sep|>original/.github/workflows/publish-to-test-pypi.yml <|file_sep|>current/.github/workflows/publish-to-test-pypi.yml <|file_sep|>updated/.github/workflows/publish-to-test-pypi.yml
on: push jobs: build-n-publish: name: Build and publish bandcamp-downloader to TestPyPI runs-on: ubuntu-20.04 steps: - uses: actions/checkout@master - name: Set up Python 3.9 uses: actions/setup-python@v2 with: python-version: 3.9 - name: Build a binary wheel an...
<|file_sep|>original/.github/workflows/publish-to-test-pypi.yml <|file_sep|>current/.github/workflows/publish-to-test-pypi.yml <|file_sep|>updated/.github/workflows/publish-to-test-pypi.yml on: push jobs: build-n-publish: name: Build and publish bandcamp-downloader to TestPyPI runs-on: ubuntu-20.04 step...
f0b23a38be98aa96370ebcf86246a21e92439a88
.github/workflows/publish-to-test-pypi.yml
.github/workflows/publish-to-test-pypi.yml
YAML
<|file_sep|>README.md.diff original: updated: <|file_sep|>README.md.diff original: updated: <|file_sep|>original/README.md # Crying Obsidian Mod Crying Obsidian was a texture in Minecraft for a project to implement a spawn-point changing block. It was abandoned after the introduction of beds. This mod implements t...
# Crying Obsidian Mod Crying Obsidian was a texture in Minecraft for a project to implement a spawn-point changing block. It was abandoned after the introduction of beds. This mod implements this block. ## Download The mod can be downloaded [here](https://github.com/ErrorCraftLP/Crying-Obsidian-Mod/releases).
<|file_sep|>README.md.diff original: updated: <|file_sep|>README.md.diff original: updated: <|file_sep|>original/README.md # Crying Obsidian Mod Crying Obsidian was a texture in Minecraft for a project to implement a spawn-point changing block. It was abandoned after the introduction of beds. This mod implements t...
37714a0c156ab119269a55b336c4306924caad18
README.md
README.md
Markdown
<|file_sep|>README.md.diff original: updated: Without Specular Term <|file_sep|>original/README.md Having fun learning about ray tracers and implementing the ray tracer from http://raytracegroundup.com/. # Current Progress Currently RayJ allows you to define planes, spheres, ambient light sources, and point light ...
Currently RayJ allows you to define planes, spheres, ambient light sources, and point light sources in your scene. Shading is done using the [Blinn-Phong Model](https://en.wikipedia.org/wiki/Blinn%E2%80%93Phong_shading_model). Future versions hope to include reflections, refractions, shadows, more light sources, and ...
<|file_sep|>README.md.diff original: updated: Without Specular Term <|file_sep|>original/README.md Having fun learning about ray tracers and implementing the ray tracer from http://raytracegroundup.com/. # Current Progress Currently RayJ allows you to define planes, spheres, ambient light sources, and point light ...
76f0c543fd95f08b7dfd63c2f6ffde23c3ba681e
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "client-sessions": "^0.7.0", updated: <|file_sep|>original/package.json }, "author": "", "license": "ISC", "bugs": { "url": "https://github.com/familiar-protein/familiar-protein/issues" }, "homepage": "https://github.com/familiar-protein/familiar-protein#read...
}, "author": "", "license": "ISC", "bugs": { "url": "https://github.com/familiar-protein/familiar-protein/issues" }, "homepage": "https://github.com/familiar-protein/familiar-protein#readme", "dependencies": { "body-parser": "^1.13.3", "express": "^4.13.3", "express-session": "^1.11.3", ...
<|file_sep|>package.json.diff original: "client-sessions": "^0.7.0", updated: <|file_sep|>original/package.json }, "author": "", "license": "ISC", "bugs": { "url": "https://github.com/familiar-protein/familiar-protein/issues" }, "homepage": "https://github.com/familiar-protein/familiar-protein#read...
722dc0b7216a7e1a0d79748787355ec47a5bc135
package.json
package.json
JSON
<|file_sep|>original/wasabi.gemspec s.authors = ["Daniel Harrington"] s.email = ["me@rubiii.com"] s.homepage = "https://github.com/savonrb/#{s.name}" s.summary = "A simple WSDL parser" s.description = s.summary s.rubyforge_project = s.name s.license = 'MIT' s.add_dependency "httpi", ...
s.email = ["me@rubiii.com"] s.homepage = "https://github.com/savonrb/#{s.name}" s.summary = "A simple WSDL parser" s.description = s.summary s.rubyforge_project = s.name s.license = 'MIT' s.add_dependency "httpi", "~> 2.0" s.add_dependency "nokogiri", ">= 1.4.0" s.add_dependency "mim...
<|file_sep|>original/wasabi.gemspec s.authors = ["Daniel Harrington"] s.email = ["me@rubiii.com"] s.homepage = "https://github.com/savonrb/#{s.name}" s.summary = "A simple WSDL parser" s.description = s.summary s.rubyforge_project = s.name s.license = 'MIT' s.add_dependency "httpi", ...
ad2908793e094ab0c0d7a1e50c344d929ffd0b90
wasabi.gemspec
wasabi.gemspec
Ruby
<|file_sep|>tsconfig.json.diff original: "noImplicitAny": true, updated: <|file_sep|>tsconfig.json.diff original: "allowUnreachableCode": false, "strictNullChecks": true, updated: <|file_sep|>original/tsconfig.json // Environment Configuration "experimentalDecorators": true, "moduleResolution"...
// Environment Configuration "experimentalDecorators": true, "moduleResolution": "node", // Enhance Strictness "strict": true, "suppressImplicitAnyIndexErrors": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, "newLine": "LF", "noEmit": t...
<|file_sep|>tsconfig.json.diff original: "noImplicitAny": true, updated: <|file_sep|>tsconfig.json.diff original: "allowUnreachableCode": false, "strictNullChecks": true, updated: <|file_sep|>original/tsconfig.json // Environment Configuration "experimentalDecorators": true, "moduleResolution"...
c1e91552c46b085d0cb515013c34773b18725067
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/spec.js const expected = 'function'; assert.equal(actual, expected); }); }); //////////////////////////////////////////////////////////////////////////////////////////////////// describe('GET books about JSON from Google APIs', () => { it('has the correct "kind" s...
function handleData(data) { const actual = { kind: data.kind }; const expected = { kind: 'books#volumes' }; assert.deepEqual(actual, expected); done(); } fetchJson(url).then(handleData).catch(console.log); }); }); //////////////...
<|file_sep|>original/spec.js const expected = 'function'; assert.equal(actual, expected); }); }); //////////////////////////////////////////////////////////////////////////////////////////////////// describe('GET books about JSON from Google APIs', () => { it('has the correct "kind" s...
df60819b0cb9aec7a076bd32cbec2797811323e3
spec.js
spec.js
JavaScript
<|file_sep|>.travis.yml.diff original: - xcodebuild build test -project SwiftAlgorithmsAndDataStructuresDojo.xcodeproj -scheme SwiftAlgorithmsAndDataStructuresDojo -destination "platform=iOS Simulator,name=iPhone 7,OS=10.2" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO updated: script: - xcodeb...
language: objective-c osx_image: xcode8.2 script: script: - xcodebuild -scheme SwiftAlgorithmsAndDataStructuresDojo -project SwiftAlgorithmsAndDataStructuresDojo.xcodeproj -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.2' build test after_success: - bash <(curl -s https://codecov.io/b...
<|file_sep|>.travis.yml.diff original: - xcodebuild build test -project SwiftAlgorithmsAndDataStructuresDojo.xcodeproj -scheme SwiftAlgorithmsAndDataStructuresDojo -destination "platform=iOS Simulator,name=iPhone 7,OS=10.2" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO updated: script: - xcodeb...
83ee82d4e0c77b235c330704af5a50ee4ede5ef1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: mikeastock/rust:nightly environment: - DATABASE_URL=postgres://postgres@localhost/mob_test - image: circleci/postgres:9.6 environment: - POSTGRES_DB=mob_test working_directory: /m...
version: 2 jobs: build: docker: - image: mikeastock/rust:nightly-2017-11-20 environment: - DATABASE_URL=postgres://postgres@localhost/mob_test - image: circleci/postgres:9.6 environment: - POSTGRES_DB=mob_test working_directory: /mob steps: - checkout ...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: mikeastock/rust:nightly environment: - DATABASE_URL=postgres://postgres@localhost/mob_test - image: circleci/postgres:9.6 environment: - POSTGRES_DB=mob_test working_directory: /m...
bd4199d66d9a5ccd7ae0c70b727c8c6fc10da4a0
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "7" - "8" script: - npm test <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "7" - "8" script: - npm test <|file_sep|>updated/.travis.yml
language: node_js node_js: - "6" - "7" - "8" - "9" script: - npm test
<|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "7" - "8" script: - npm test <|file_sep|>current/.travis.yml language: node_js node_js: - "6" - "7" - "8" script: - npm test <|file_sep|>updated/.travis.yml language: node_js node_js: - "6" - "7" - "8" - "9" script: - npm test
9f609d2ede27cf238a6eb3a4c44e43338404e06d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "webpack-config-merge-loader", "version": "0.0.1", "description": "Loader for mergeing environment specific localiztion or configuration into a base set at build time.", "main": "index.js", "scripts": { "test": "mocha" }, "keywords": [ "webpack", "lo...
"test": "mocha" }, "keywords": [ "webpack", "loader", "config", "locale", "merge" ], "author": "Alex Lemanski", "license": "MIT", "devDependencies": { "json-loader": "^0.5.4", "mocha": "^3.4.2", "webpack": "^3.0.0", "yaml-loader": "^0.4.0" }, "dependencies": { ...
<|file_sep|>original/package.json { "name": "webpack-config-merge-loader", "version": "0.0.1", "description": "Loader for mergeing environment specific localiztion or configuration into a base set at build time.", "main": "index.js", "scripts": { "test": "mocha" }, "keywords": [ "webpack", "lo...
c88286395a3504866827fd1b2be27ee77370ee22
package.json
package.json
JSON
<|file_sep|>samples/04_markdown_parse/epub2markdown.py.diff original: updated: import os.path import subprocess <|file_sep|>samples/04_markdown_parse/epub2markdown.py.diff original: import subprocess import os import os.path updated: <|file_sep|>samples/04_markdown_parse/epub2markdown.py.diff original: ...
# convert into markdown if this is html if isinstance(item, epub.EpubHtml): proc = subprocess.Popen(['pandoc', '-f', 'html', '-t', 'markdown', '-'], stdin=subprocess.PIPE, stdout=subprocess.PIPE) content, err...
<|file_sep|>samples/04_markdown_parse/epub2markdown.py.diff original: updated: import os.path import subprocess <|file_sep|>samples/04_markdown_parse/epub2markdown.py.diff original: import subprocess import os import os.path updated: <|file_sep|>samples/04_markdown_parse/epub2markdown.py.diff original: ...
6db8a9e779031ae97977a49e4edd11d42fb6389d
samples/04_markdown_parse/epub2markdown.py
samples/04_markdown_parse/epub2markdown.py
Python
<|file_sep|>original/metadata/com.abcdjdj.rootverifier.txt Repo Type:git Repo:https://github.com/abcdjdj/RootVerifier-APP.git Build:1.2,3 commit=ff498b24bee87 Build:1.3,4 commit=f2fb7be5feff5a6fb998 Build:1.4,5 commit=7bf4bb9c9 Build:1.5,6 commit=8550385370a459e5 Auto Update Mode:None Update Check...
Repo Type:git Repo:https://github.com/abcdjdj/RootVerifier-APP.git Build:1.2,3 commit=ff498b24bee87 Build:1.3,4 commit=f2fb7be5feff5a6fb998 Build:1.4,5 commit=7bf4bb9c9 Build:1.5,6 commit=8550385370a459e5 Auto Update Mode:None Update Check Mode:RepoManifest Current Version:1.6 Current Version Code...
<|file_sep|>original/metadata/com.abcdjdj.rootverifier.txt Repo Type:git Repo:https://github.com/abcdjdj/RootVerifier-APP.git Build:1.2,3 commit=ff498b24bee87 Build:1.3,4 commit=f2fb7be5feff5a6fb998 Build:1.4,5 commit=7bf4bb9c9 Build:1.5,6 commit=8550385370a459e5 Auto Update Mode:None Update Check...
82ea9d9d71f295873639d6083c940fbe1cc25b71
metadata/com.abcdjdj.rootverifier.txt
metadata/com.abcdjdj.rootverifier.txt
Text
<|file_sep|>README.md.diff original: Then bundle and deploy the `extract-meta` zapp: updated: Then bundle and deploy the `extract-meta` and `extract-thumbnail` zapps: <|file_sep|>README.md.diff original: updated: $ cd extract-meta <|file_sep|>original/README.md using normal `swift upload`: $ swift upload vide...
using normal `swift upload`: $ swift upload video-browser *.html *.js *.css Then bundle and deploy the `extract-meta` and `extract-thumbnail` zapps: $ cd extract-meta $ zpm bundle $ zpm deploy video-browser/extract-meta extract-meta.zapp $ cd ../extract-thumbnail $ zpm bundle $ zpm deploy...
<|file_sep|>README.md.diff original: Then bundle and deploy the `extract-meta` zapp: updated: Then bundle and deploy the `extract-meta` and `extract-thumbnail` zapps: <|file_sep|>README.md.diff original: updated: $ cd extract-meta <|file_sep|>original/README.md using normal `swift upload`: $ swift upload vide...
bb9c8e92480e998231ad009a41794232c305e4e6
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: cache: bundler <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml - ruby-head - jruby-head - truffleruby matrix: include: - rvm: *latest_ruby script: bundle exec rake memory_profile:run name: Profiling Memory Usag...
- jruby-head - truffleruby matrix: include: - rvm: *latest_ruby script: bundle exec rake memory_profile:run name: Profiling Memory Usage allow_failures: - rvm: ruby-head - rvm: jruby-head - rvm: truffleruby branches: only: - master - gh-pages - /.*-stable/ notificati...
<|file_sep|>.travis.yml.diff original: updated: cache: bundler <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml - ruby-head - jruby-head - truffleruby matrix: include: - rvm: *latest_ruby script: bundle exec rake memory_profile:run name: Profiling Memory Usag...
b3097f143cfb3bbec4f010c5a0a86e368be70464
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml <|file_sep|>current/appveyor.yml <|file_sep|>updated/appveyor.yml
# Test against this version of Node.js environment: nodejs_version: "6.9.1" # fail all the builds once any of the builds fail have failed matrix: fast_finish: true # build only this branches branches: only: - master - develop # Install scripts. (runs after repo cloning) install: # install google chrome ...
<|file_sep|>original/appveyor.yml <|file_sep|>current/appveyor.yml <|file_sep|>updated/appveyor.yml # Test against this version of Node.js environment: nodejs_version: "6.9.1" # fail all the builds once any of the builds fail have failed matrix: fast_finish: true # build only this branches branches: only: -...
584b5439551377c4b41959f1e515d2e7064e9682
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/.travis.yml language: cpp #compiler: # - gcc # - clang before_script: # Get a recent GCC. # - echo "\n" | sudo add-apt-repository ppa:ubuntu-toolchain-r/test # - sudo apt-get update # - sudo apt-get install gcc-4.7 - sudo apt-get install g++-4.7 - g++ --version - g++-4.7 --version - ...
language: cpp #compiler: # - gcc # - clang before_script: # Get a recent GCC. - echo "\n" | sudo add-apt-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install g++-4.7 - g++ --version - g++-4.7 --version - export CXX=g++-4.7 - export CC=gcc-4.7 # Boost #- apt-get insta...
<|file_sep|>original/.travis.yml language: cpp #compiler: # - gcc # - clang before_script: # Get a recent GCC. # - echo "\n" | sudo add-apt-repository ppa:ubuntu-toolchain-r/test # - sudo apt-get update # - sudo apt-get install gcc-4.7 - sudo apt-get install g++-4.7 - g++ --version - g++-4.7 --version - ...
bb36dacc3f0f038b952117d64cccaef7a4539afe
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt coreapi==2.3.3 Django==1.11.5 django-rest-swagger==2.1.2 django-taggit==0.22.1 django-taggit-serializer==0.1.5 django-webpack-loader==0.5.0 djangorestframework==3.6.4 djangorestframework-jwt==1.11.0 freezegun==0.3.9 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.3 PyJWT==1.5.3 py...
coreapi==2.3.3 Django==1.11.6 django-rest-swagger==2.1.2 django-taggit==0.22.1 django-taggit-serializer==0.1.5 django-webpack-loader==0.5.0 djangorestframework==3.6.4 djangorestframework-jwt==1.11.0 freezegun==0.3.9 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.3 PyJWT==1.5.3 python-dateutil==2.6.1 requests==2.18.4 ...
<|file_sep|>original/requirements.txt coreapi==2.3.3 Django==1.11.5 django-rest-swagger==2.1.2 django-taggit==0.22.1 django-taggit-serializer==0.1.5 django-webpack-loader==0.5.0 djangorestframework==3.6.4 djangorestframework-jwt==1.11.0 freezegun==0.3.9 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.3 PyJWT==1.5.3 py...
d9a3368efb8e3ef3b1e44f6fc1dd806ae5bd7398
requirements.txt
requirements.txt
Text
<|file_sep|>original/samples/apptentive-dev/google-services.json "client": [ { "client_info": { "client_id": "android:com.apptentive.android.dev", "client_type": 1, "android_client_info": { "package_name": "com.apptentive.android.dev" } }, "oauth_client"...
"client": [ { "client_info": { "client_id": "android:com.apptentive.android.dev", "client_type": 1, "android_client_info": { "package_name": "com.apptentive.android.dev" } }, "oauth_client": [], "api_key": [], "services": { "analytics...
<|file_sep|>original/samples/apptentive-dev/google-services.json "client": [ { "client_info": { "client_id": "android:com.apptentive.android.dev", "client_type": 1, "android_client_info": { "package_name": "com.apptentive.android.dev" } }, "oauth_client"...
0668205e6c3028369a81098f12d8dfe8d76db6ba
samples/apptentive-dev/google-services.json
samples/apptentive-dev/google-services.json
JSON
<|file_sep|>original/test/utils/testStorage.js export default () => ({ clear: jest.fn(() => Promise.resolve()), persist: jest.fn(data => Promise.resolve(data)), restore: jest.fn(() => Promise.resolve()) }) <|file_sep|>current/test/utils/testStorage.js export default () => ({ clear: jest.fn(() => Promise.resolve...
export default () => ({ clear: jest.fn(() => Promise.resolve()), persist: jest.fn(data => Promise.resolve(data)), restore: jest.fn(() => Promise.resolve({ authenticated: {}})) })
<|file_sep|>original/test/utils/testStorage.js export default () => ({ clear: jest.fn(() => Promise.resolve()), persist: jest.fn(data => Promise.resolve(data)), restore: jest.fn(() => Promise.resolve()) }) <|file_sep|>current/test/utils/testStorage.js export default () => ({ clear: jest.fn(() => Promise.resolve...
a07e434e4dcf53b2eff2d95bfdcceb0270f52bc1
test/utils/testStorage.js
test/utils/testStorage.js
JavaScript
<|file_sep|>original/index.html --- layout: default title: Home --- This site is a work in progress. If you're seeing this text, it means that you're looking at a very early version of the site. Come back in a few weeks when there's more content. In the meantime, enjoy this gif. ![Yup, seriously.](http://www.textfi...
--- layout: default title: Home --- This site is a work in progress. If you're seeing this text, it means that you're looking at a very early version of the site. Come back in a few weeks when there's more content. In the meantime, enjoy this gif. ![Yup seriously](http://www.textfiles.com/underconstruction/Hollow77...
<|file_sep|>original/index.html --- layout: default title: Home --- This site is a work in progress. If you're seeing this text, it means that you're looking at a very early version of the site. Come back in a few weeks when there's more content. In the meantime, enjoy this gif. ![Yup, seriously.](http://www.textfi...
dfcc0134940e827fef3566d3ef5f11f42506f24b
index.html
index.html
HTML
<|file_sep|>original/solutions/problem_9/solution.py import sys import os sys.path.append(os.path.abspath(os.path.dirname('./utils/python'))) from python.decorators import timeit @timeit def solution(): n = 1000 for b in xrange(1, n): for c in xrange(1, n): a = n - b - c if (a*...
import sys import os sys.path.append(os.path.abspath(os.path.dirname('./utils/python'))) from python.utils import timeit @timeit def solution(): n = 1000 for b in xrange(1, n): for c in xrange(1, n): a = n - b - c if (a**2) + (b**2) == (c**2): return a * b * c ...
<|file_sep|>original/solutions/problem_9/solution.py import sys import os sys.path.append(os.path.abspath(os.path.dirname('./utils/python'))) from python.decorators import timeit @timeit def solution(): n = 1000 for b in xrange(1, n): for c in xrange(1, n): a = n - b - c if (a*...
39b4141ebd939bde649a9dfeb4f4cc832d0f4c39
solutions/problem_9/solution.py
solutions/problem_9/solution.py
Python
<|file_sep|>original/.travis.yml - autoconf2.13 - g++-6 - clang-5.0 env: - FEATURES="" - FEATURES="--features debugmozjs" before_script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CC=gcc-6; export CXX=g++-6; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install a...
- autoconf2.13 - g++-6 - clang-5.0 env: - FEATURES="" - FEATURES="--features debugmozjs" before_script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CC=gcc-6; export CXX=g++-6; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install autoconf@2.13 ccache llvm yasm; fi...
<|file_sep|>original/.travis.yml - autoconf2.13 - g++-6 - clang-5.0 env: - FEATURES="" - FEATURES="--features debugmozjs" before_script: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CC=gcc-6; export CXX=g++-6; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install a...
8c977765f06ba1db7a4a6a8859edaaac09e5fc7f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 cryptography==1.9 PyYAML==3.12 pytest==3.1.2 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 cryptography==1.9 PyYAML==3.12 pytest==3.1.3
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.2 cryptography==1.9 PyYAML==3.12 pytest==3.1.2 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox...
59e275416bf7f3f9d0c454835e9feb32e69b5d21
requirements_dev.txt
requirements_dev.txt
Text