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/.travis.yml language: node_js node_js: - "7" - "6" - "5" - "4" sudo: false env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 <|file_sep|>current/.travis.yml language: node_js node_js: - "7" - "6" - "5" - "4" sudo: false en...
language: node_js node_js: - "8" - "7" - "6" - "5" - "4" sudo: false env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8
<|file_sep|>original/.travis.yml language: node_js node_js: - "7" - "6" - "5" - "4" sudo: false env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 <|file_sep|>current/.travis.yml language: node_js node_js: - "7" - "6" - "5" - "4" sudo: false en...
01e0a9024fdf8939b34a83225c5d6b65b6f489bf
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/assets/javascripts/controllers/middleware_deployment/middleware_deployment_controller.js ManageIQ.angular.app.controller('mwAddDeploymentController', MwAddDeploymentController); MwAddDeploymentController.$inject = ['$scope', '$http', 'miqService']; function MwAddDeploymentController($scope, $...
ManageIQ.angular.app.controller('mwAddDeploymentController', MwAddDeploymentController); MwAddDeploymentController.$inject = ['$scope', '$http', 'miqService']; function MwAddDeploymentController($scope, $http, miqService) { $scope.$on('mwAddDeploymentEvent', function(event, data) { var fd = new FormData(); ...
<|file_sep|>original/app/assets/javascripts/controllers/middleware_deployment/middleware_deployment_controller.js ManageIQ.angular.app.controller('mwAddDeploymentController', MwAddDeploymentController); MwAddDeploymentController.$inject = ['$scope', '$http', 'miqService']; function MwAddDeploymentController($scope, $...
a6b7e937a1d155cc9fb426cfb6511588f3968aa8
app/assets/javascripts/controllers/middleware_deployment/middleware_deployment_controller.js
app/assets/javascripts/controllers/middleware_deployment/middleware_deployment_controller.js
JavaScript
<|file_sep|>kawa/StatusBar.swift.diff original: updated: let buttonImage = NSImage(named: "StatusItemIcon") buttonImage?.isTemplate = true <|file_sep|>original/kawa/StatusBar.swift static func createStatusBarItem() { if item == nil { item = statusBar.statusItem(withLeng...
static func createStatusBarItem() { if item == nil { item = statusBar.statusItem(withLength: -1) let buttonImage = NSImage(named: "StatusItemIcon") buttonImage?.isTemplate = true let button = item!.button! button.target = self button....
<|file_sep|>kawa/StatusBar.swift.diff original: updated: let buttonImage = NSImage(named: "StatusItemIcon") buttonImage?.isTemplate = true <|file_sep|>original/kawa/StatusBar.swift static func createStatusBarItem() { if item == nil { item = statusBar.statusItem(withLeng...
1425a787bfc726857671a757dfd6b33666888c29
kawa/StatusBar.swift
kawa/StatusBar.swift
Swift
<|file_sep|>package.json.diff original: "version": "0.0.3", updated: "version": "0.0.4", <|file_sep|>package.json.diff original: updated: "needle": "^0.9.1" }, "devDependencies": { <|file_sep|>original/package.json "type": "git", "url": "https://github.com/lemavri/mls-api-node.git" }, "main": "...
}, "main": "./lib/index.js", "scripts": { "test": "node_modules/.bin/_mocha --recursive --reporter dot" }, "keywords": [ "geolocation", "wifi", "location", "mozilla" ], "author": "Mauricio Schneider <lemavri.com>", "license": "MIT Expat License", "dependencies": { "needle": "^0...
<|file_sep|>package.json.diff original: "version": "0.0.3", updated: "version": "0.0.4", <|file_sep|>package.json.diff original: updated: "needle": "^0.9.1" }, "devDependencies": { <|file_sep|>original/package.json "type": "git", "url": "https://github.com/lemavri/mls-api-node.git" }, "main": "...
b3a2a4ee8fc5eadd3f599dd004f77a1badb313dd
package.json
package.json
JSON
<|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php" > ...
<?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php" > <php> <!-- Disable E_USER_...
<|file_sep|>original/phpunit.xml.dist <?xml version="1.0" encoding="UTF-8"?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php" > ...
36cfc8378a8534aed006af5d8179d957cf678457
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>original/dbtest.php <|file_sep|>current/dbtest.php <|file_sep|>updated/dbtest.php
<?php $db_host = 'p2-db1.dev'; $db_user = 'drupal_user' $db_password = 'drupal_user' $db_name = 'drupal_db'; $db = @mysqli_connect($db_host, $db_user, $db_password, $db_name) OR die ('Could not connect to MySQL: ' . mysqli_connect_error()); $sql = "SHOW DATABASES"; $result = mysqli_query($db, $sql); while($row = mysql...
<|file_sep|>original/dbtest.php <|file_sep|>current/dbtest.php <|file_sep|>updated/dbtest.php <?php $db_host = 'p2-db1.dev'; $db_user = 'drupal_user' $db_password = 'drupal_user' $db_name = 'drupal_db'; $db = @mysqli_connect($db_host, $db_user, $db_password, $db_name) OR die ('Could not connect to MySQL: ' . mysqli_...
ef9a05d1487c8a9738fc6b5f758e4864c6ae70a7
dbtest.php
dbtest.php
PHP
<|file_sep|>original/tests/examples/project.yml --- crosscompute: 0.8.4 kind: project id: p1 name: Project 1 tools: - id: t1 - id: t2 results: - id: r1 - id: r2 datasets: - id: d1 - id: d2 <|file_sep|>current/tests/examples/project.yml --- crosscompute: 0.8.4 kind: project id: p1 name: Project 1 tools: - ...
--- crosscompute: 0.8.4 kind: project name: Project 1 tools: - id: t1 - id: t2 results: - id: r1 - id: r2 datasets: - id: d1 - id: d2
<|file_sep|>original/tests/examples/project.yml --- crosscompute: 0.8.4 kind: project id: p1 name: Project 1 tools: - id: t1 - id: t2 results: - id: r1 - id: r2 datasets: - id: d1 - id: d2 <|file_sep|>current/tests/examples/project.yml --- crosscompute: 0.8.4 kind: project id: p1 name: Project 1 tools: - ...
d6a83be51f8d912cb7ee215e162f4c27b3b7a927
tests/examples/project.yml
tests/examples/project.yml
YAML
<|file_sep|>original/db/migrate/006_add_default_to_score.rb class AddDefaultToScore < ActiveRecord::Migration def up change_column_default :players, :score, 0 Player.find_each do |p| p.update(score: 0) if p.score.nil? end end def down change_column_default, :players, :score, nil end end <...
class AddDefaultToScore < ActiveRecord::Migration def up change_column_default :players, :score, 0 Player.find_each do |p| p.update(score: 0) if p.score.nil? end end def down change_column_default :players, :score, nil end end
<|file_sep|>original/db/migrate/006_add_default_to_score.rb class AddDefaultToScore < ActiveRecord::Migration def up change_column_default :players, :score, 0 Player.find_each do |p| p.update(score: 0) if p.score.nil? end end def down change_column_default, :players, :score, nil end end <...
452961df1201cafd82eeddbbb6c620cfa20054c1
db/migrate/006_add_default_to_score.rb
db/migrate/006_add_default_to_score.rb
Ruby
<|file_sep|>original/plugins/worker/web_client/JobStatus.js color: '#92f5b5' }, WORKER_CONVERTING_OUTPUT: { value: 822, text: 'Converting output', icon: 'icon-shuffle', color: '#92f5b5' }, WORKER_PUSHING_OUTPUT: { value: 823, text: 'Pushing output'...
color: '#92f5b5' }, WORKER_CONVERTING_OUTPUT: { value: 822, text: 'Converting output', icon: 'icon-shuffle', color: '#92f5b5' }, WORKER_PUSHING_OUTPUT: { value: 823, text: 'Pushing output', icon: 'icon-upload', color: '#89d2e2' ...
<|file_sep|>original/plugins/worker/web_client/JobStatus.js color: '#92f5b5' }, WORKER_CONVERTING_OUTPUT: { value: 822, text: 'Converting output', icon: 'icon-shuffle', color: '#92f5b5' }, WORKER_PUSHING_OUTPUT: { value: 823, text: 'Pushing output'...
ae34140794738226dcdffd1951090a51a27bb59d
plugins/worker/web_client/JobStatus.js
plugins/worker/web_client/JobStatus.js
JavaScript
<|file_sep|>original/README.md # Run A simple command line tool for running individual files of source code. ## Installation Add this line to your application's Gemfile: gem 'run' And then execute: $ bundle Or install it yourself as: $ gem install run ## Usage TODO: Write usage instructions here <...
# Run [![Build Status](https://travis-ci.org/thenickperson/run.png)](https://travis-ci.org/thenickperson/run) A simple command line tool for running individual files of source code. ## Installation Add this line to your application's Gemfile: gem 'run' And then execute: $ bundle Or install it yourself as...
<|file_sep|>original/README.md # Run A simple command line tool for running individual files of source code. ## Installation Add this line to your application's Gemfile: gem 'run' And then execute: $ bundle Or install it yourself as: $ gem install run ## Usage TODO: Write usage instructions here <...
59b0d2435504fe678f067f447214d0be172f8a7c
README.md
README.md
Markdown
<|file_sep|>original/package.json "test:watch": "npm run test -- --watch", "clean": "rm -rf build && mkdir build", "build": "npm run clean && webpack -p --config=webpack.config.js src/index.js build/huz.js" }, "repository": { "type": "git", "url": "git+https://github.com/fluxxu/huz.git" }, ...
"scripts": { "test": "NODE_ENV=test ./node_modules/mocha/bin/mocha --compilers js:babel/register --require ./test/init.js --recursive", "test:watch": "npm run test -- --watch", "clean": "rm -rf build && mkdir build", "build": "npm run clean && webpack -p --config=webpack.config.js src/index.js build/...
<|file_sep|>original/package.json "test:watch": "npm run test -- --watch", "clean": "rm -rf build && mkdir build", "build": "npm run clean && webpack -p --config=webpack.config.js src/index.js build/huz.js" }, "repository": { "type": "git", "url": "git+https://github.com/fluxxu/huz.git" }, ...
d291cddcd8f38682fe0d39c7377ccf7e2d5b5051
package.json
package.json
JSON
<|file_sep|>original/.eslintrc.json <|file_sep|>current/.eslintrc.json <|file_sep|>updated/.eslintrc.json
{ "extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended" ], "env": { "es6": true, "browser": true, "jest": true, "node": true }, "plugins": [ "react", "prettier" ], "rules": { "prettier/prettier": "error", "react/no-find...
<|file_sep|>original/.eslintrc.json <|file_sep|>current/.eslintrc.json <|file_sep|>updated/.eslintrc.json { "extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended" ], "env": { "es6": true, "browser": true, "jest": true, "node": true }, "pl...
89960b7eb48611e843d680b393c883a5b6c808b9
.eslintrc.json
.eslintrc.json
JSON
<|file_sep|>original/gulpfile.js 'opera >= 23', 'ios >= 7', 'android >= 4.4', 'bb >= 10' ] }) ] }; // Merge user settings with default config var config = extend({}, defaults, appSettings); ...
'android >= 4.4', 'bb >= 10' ] }) ] }; // Merge user settings with default config var config = extend({}, defaults, appSettings); // Load tasks require('./tasks/default')(gulp, config); require('./tasks/deploy')(gulp, ...
<|file_sep|>original/gulpfile.js 'opera >= 23', 'ios >= 7', 'android >= 4.4', 'bb >= 10' ] }) ] }; // Merge user settings with default config var config = extend({}, defaults, appSettings); ...
1c3598a27c59ebe4adf226643c6ee0335b4f8005
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>original/lib/stripe_event.rb name ? "#{value}#{delimiter}#{name}" : value end def to_regexp(name = nil) %r{^#{call(name)}} end end class NotificationAdapter < Struct.new(:subscriber) def call(*args) payload = args.last subscriber.call(payload) end end c...
end def to_regexp(name = nil) %r{^#{call(name)}} end end class NotificationAdapter < Struct.new(:subscriber) def call(*args) payload = args.last subscriber.call(payload) end end class StripeEvent::Error < StandardError; end class StripeEvent::UnauthorizedError < Stripe...
<|file_sep|>original/lib/stripe_event.rb name ? "#{value}#{delimiter}#{name}" : value end def to_regexp(name = nil) %r{^#{call(name)}} end end class NotificationAdapter < Struct.new(:subscriber) def call(*args) payload = args.last subscriber.call(payload) end end c...
05fe1faf606ba3b8c920de1e5198df84224b792f
lib/stripe_event.rb
lib/stripe_event.rb
Ruby
<|file_sep|>tests/test_api.py.diff original: @mock.patch('lcp.api.requests.request') def _assert_calls_requests_with_url(original_url, expected_url, request_mock): api.Client('BASE_URL').request('METHOD', original_url) expected_headers = {'Content-Type': 'application/json'} eq_(request_mock.call_args_list, ...
def test_request_does_not_alter_absolute_urls(self): for absolute_url in [ 'http://www.points.com', 'https://www.points.com', ]: yield self._assert_calls_requests_with_url, absolute_url, absolute_url def test_request_adds_base_url_to_relative...
<|file_sep|>tests/test_api.py.diff original: @mock.patch('lcp.api.requests.request') def _assert_calls_requests_with_url(original_url, expected_url, request_mock): api.Client('BASE_URL').request('METHOD', original_url) expected_headers = {'Content-Type': 'application/json'} eq_(request_mock.call_args_list, ...
ecc56eec0ebee4a93d5052280ae5d8c649e1e6da
tests/test_api.py
tests/test_api.py
Python
<|file_sep|>original/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cryptography==1.8.2 flake8==3.3.0 mock==2.0.0 pip==9.0.1 pytest==3.1.0 tox==2.7.0 watchdog==0.8.3 wheel==0.29.0 <|file_sep|>current/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 c...
-r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cryptography==1.9 flake8==3.3.0 mock==2.0.0 pip==9.0.1 pytest==3.1.0 tox==2.7.0 watchdog==0.8.3 wheel==0.29.0
<|file_sep|>original/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 cryptography==1.8.2 flake8==3.3.0 mock==2.0.0 pip==9.0.1 pytest==3.1.0 tox==2.7.0 watchdog==0.8.3 wheel==0.29.0 <|file_sep|>current/requirements/dev.txt -r common.txt PyYAML==3.12 bumpversion==0.5.3 coverage==4.4.1 c...
7ac295fbc945c83dbd853f254a055364c33be53b
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/src/doc_injector.js <|file_sep|>current/src/doc_injector.js <|file_sep|>updated/src/doc_injector.js
var DocInjector = { init: function() { var that = this; $.each(this.data, function(i, docReference) { that.inject(docReference) }); }, data: [{ "api_url": "http://developer.github.com/v3/meta/#meta", "method_name":"meta" }], inject: function(docReference) { var anchor = docReference.api_url.split("#...
<|file_sep|>original/src/doc_injector.js <|file_sep|>current/src/doc_injector.js <|file_sep|>updated/src/doc_injector.js var DocInjector = { init: function() { var that = this; $.each(this.data, function(i, docReference) { that.inject(docReference) }); }, data: [{ "api_url": "http://developer.github.com...
93e2ebe6e77256e9102019350f0969ee3470e813
src/doc_injector.js
src/doc_injector.js
JavaScript
<|file_sep|>setup.py.diff original: BUILDBOTVERSION = '2.8.2' updated: BUILDBOTVERSION = '2.8.4' <|file_sep|>original/setup.py from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.2' setup( name='autobuilder', version='2.6.95', packages=find_packages(), license='MIT', author='Matt Ma...
from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.4' setup( name='autobuilder', version='2.7.0', packages=find_packages(), license='MIT', author='Matt Madison', author_email='matt@madison.systems', include_package_data=True, package_data={ 'autobuilder': ['temp...
<|file_sep|>setup.py.diff original: BUILDBOTVERSION = '2.8.2' updated: BUILDBOTVERSION = '2.8.4' <|file_sep|>original/setup.py from setuptools import setup, find_packages BUILDBOTVERSION = '2.8.2' setup( name='autobuilder', version='2.6.95', packages=find_packages(), license='MIT', author='Matt Ma...
52e7077ed05de7a7379f99f2a5ed71a07de79fa9
setup.py
setup.py
Python
<|file_sep|>bufferjs/concat.js.diff original: var buffer, length = 0, index = 0; updated: <|file_sep|>bufferjs/concat.js.diff original: for (var i=0, l=bufs.length; i<l; i++) { buffer = bufs[i]; if (!Buffer.isBuffer(buffer)) { buffer = bufs[i] = new Buffer(buffer); updated: var bu...
if (buf) { if (!Buffer.isBuffer(buf)) { buf = new Buffer(buf); } length += buf.length; bufsToConcat.push(buf); } } var concatBuf = new Buffer(length), index = 0; bufsToConcat.forEach(function (buf) { buf.copy(concatBuf, index, 0, buf.length); ...
<|file_sep|>bufferjs/concat.js.diff original: var buffer, length = 0, index = 0; updated: <|file_sep|>bufferjs/concat.js.diff original: for (var i=0, l=bufs.length; i<l; i++) { buffer = bufs[i]; if (!Buffer.isBuffer(buffer)) { buffer = bufs[i] = new Buffer(buffer); updated: var bu...
2362e791fe35307d049e1e20d5520d1cc70fbd14
bufferjs/concat.js
bufferjs/concat.js
JavaScript
<|file_sep|>original/unit_tests/CMakeLists.txt <|file_sep|>current/unit_tests/CMakeLists.txt <|file_sep|>updated/unit_tests/CMakeLists.txt
cmake_minimum_required(VERSION 2.8.9) option(test "Run all tests." ON) # Makes boolean 'test' available. project(libsorting_utests) ######################################################################################## # Source files set(SOURCES "") set(HEADERS "") list(APPEND SOURCES "simplesorts.cc") # See ht...
<|file_sep|>original/unit_tests/CMakeLists.txt <|file_sep|>current/unit_tests/CMakeLists.txt <|file_sep|>updated/unit_tests/CMakeLists.txt cmake_minimum_required(VERSION 2.8.9) option(test "Run all tests." ON) # Makes boolean 'test' available. project(libsorting_utests) ############################################...
93555da692bfc079e43538092dcda6847ac47e30
unit_tests/CMakeLists.txt
unit_tests/CMakeLists.txt
Text
<|file_sep|>original/README.md # Consolidation\Formatters Apply transformations to structured data to write output in different formats. [![Travis CI](https://travis-ci.org/consolidation-org/formatters.svg?branch=master)](https://travis-ci.org/consolidation-org/formatters) [![Scrutinizer Code Quality](https://scrutin...
# Consolidation\Formatters Apply transformations to structured data to write output in different formats. [![Travis CI](https://travis-ci.org/consolidation-org/output-formatters.svg?branch=master)](https://travis-ci.org/consolidation-org/output-formatters) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/con...
<|file_sep|>original/README.md # Consolidation\Formatters Apply transformations to structured data to write output in different formats. [![Travis CI](https://travis-ci.org/consolidation-org/formatters.svg?branch=master)](https://travis-ci.org/consolidation-org/formatters) [![Scrutinizer Code Quality](https://scrutin...
f9dab59b3c4ecec48accb4ab8cbc3fdd55d3f833
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: swift osx_image: xcode10.2 before_install: - gem install xcpretty before_script: - source "./Scripts/setup_simulator" - git submodule sync --recursive && git submodule update --recursive --init script: set -o pipefail jobs: include: - script: "./Scripts/test_bu...
language: swift osx_image: xcode11 before_install: - gem install xcpretty before_script: - source "./Scripts/setup_simulator" - git submodule sync --recursive && git submodule update --recursive --init script: set -o pipefail jobs: include: - script: "./Scripts/test_buy" name: "Test Buy" - scr...
<|file_sep|>original/.travis.yml language: swift osx_image: xcode10.2 before_install: - gem install xcpretty before_script: - source "./Scripts/setup_simulator" - git submodule sync --recursive && git submodule update --recursive --init script: set -o pipefail jobs: include: - script: "./Scripts/test_bu...
20c8ff71738f7540875363494bbb545968b6c202
.travis.yml
.travis.yml
YAML
<|file_sep|>Src/Dashboard/Program.cs.diff original: updated: using System.Diagnostics; using System.IO; <|file_sep|>Src/Dashboard/Program.cs.diff original: updated: Console.SetOut(new DebugWriter()); <|file_sep|>original/Src/Dashboard/Program.cs { HostFactory.Run(hostConfiguration ...
}); wsc.WhenStopped(ws => ws.Dispose()); }); hostConfiguration.RunAsLocalSystem(); hostConfiguration.SetDescription("This is Tellurium Dashboard"); hostConfiguration.SetDisplayName("Tellurium Dashboard"); ...
<|file_sep|>Src/Dashboard/Program.cs.diff original: updated: using System.Diagnostics; using System.IO; <|file_sep|>Src/Dashboard/Program.cs.diff original: updated: Console.SetOut(new DebugWriter()); <|file_sep|>original/Src/Dashboard/Program.cs { HostFactory.Run(hostConfiguration ...
8d8349d27bce60508b2a4416b5a3e07ad8e3102b
Src/Dashboard/Program.cs
Src/Dashboard/Program.cs
C#
<|file_sep|>original/src/assets/styles/base/normalize/_normalize.scss // Styles written by YOURNAME @ YOURCOMPANY /* ------------------------------------------------------------------------ *\ * Normalize \* ------------------------------------------------------------------------ */ // Vendor @import "../../vendor/...
* Normalize \* ------------------------------------------------------------------------ */ // Vendor @import "../../vendor/_normalize"; // Custom // Change the box-sizing of all elements *, *:before, *:after { box-sizing: border-box; } // Set max-height and max-width to 100% on SVGs to fix a bug in Safari (...
<|file_sep|>original/src/assets/styles/base/normalize/_normalize.scss // Styles written by YOURNAME @ YOURCOMPANY /* ------------------------------------------------------------------------ *\ * Normalize \* ------------------------------------------------------------------------ */ // Vendor @import "../../vendor/...
3ef4b90fd10685273ce7a09e0d6ae9e68beb16c3
src/assets/styles/base/normalize/_normalize.scss
src/assets/styles/base/normalize/_normalize.scss
SCSS
<|file_sep|>original/README.md # feiky [![Build Status](https://travis-ci.org/dewe/feiky.svg)](https://travis-ci.org/dewe/feiky) Simple node fake http server, useful for testing end-to-end request across process boundaries. <|file_sep|>current/README.md # feiky [![Build Status](https://travis-ci.org/dewe/feiky.svg)](...
# feiky [![Build Status](https://travis-ci.org/dewe/feiky.svg)](https://travis-ci.org/dewe/feiky) Simple node fake http server, useful for testing end-to-end request across process boundaries. ```javascript var feiky = require('feiky'), server = feiky(8000); ... // In test setup, tell feiky how to behave when c...
<|file_sep|>original/README.md # feiky [![Build Status](https://travis-ci.org/dewe/feiky.svg)](https://travis-ci.org/dewe/feiky) Simple node fake http server, useful for testing end-to-end request across process boundaries. <|file_sep|>current/README.md # feiky [![Build Status](https://travis-ci.org/dewe/feiky.svg)](...
632dcd895ad29f41a750aa934c6c2376103cf74a
README.md
README.md
Markdown
<|file_sep|>original/feed.xml <|file_sep|>current/feed.xml <|file_sep|>updated/feed.xml
--- layout: null --- <?xml version="1.0" encoding="utf-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>Abseil Blog & Tips</title> <description>An open-source collection of C++ library code designed to augment the C++ standard library</description> <link>{{ site.baseurl }...
<|file_sep|>original/feed.xml <|file_sep|>current/feed.xml <|file_sep|>updated/feed.xml --- layout: null --- <?xml version="1.0" encoding="utf-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>Abseil Blog & Tips</title> <description>An open-source collection of C++ library c...
ab0d1fdfca710dd08ff00d0b88a87f4f157794c2
feed.xml
feed.xml
XML
<|file_sep|>original/.travis.yml - go get github.com/kisielk/errcheck - go get github.com/joho/godotenv - go get -u golang.org/x/tools/cmd/cover - go get -u github.com/modocache/gover - go get -u github.com/mattn/goveralls stages: - verification - test jobs: include: - stage: verification go...
- go get github.com/kisielk/errcheck - go get github.com/joho/godotenv - go get -u golang.org/x/tools/cmd/cover - go get -u github.com/modocache/gover - go get -u github.com/mattn/goveralls stages: - verification - test go: - 1.11.x - 1.10.x - 1.9.x jobs: include: - stage: verification ...
<|file_sep|>original/.travis.yml - go get github.com/kisielk/errcheck - go get github.com/joho/godotenv - go get -u golang.org/x/tools/cmd/cover - go get -u github.com/modocache/gover - go get -u github.com/mattn/goveralls stages: - verification - test jobs: include: - stage: verification go...
898a4173f20bc5892a06511b4b17b7fc348b3e89
.travis.yml
.travis.yml
YAML
<|file_sep|>original/atmessager/config/config.example.json { "server": { "port": "3000" }, "access_log":{ "path": "/var/log/atm/atm.access_log" }, "app_log":{ "path": "/var/log/atm/atm.access_log" } } <|file_sep|>current/atmessager/config/config.example.json { "server": { "port": "3000" }, "access_log"...
{ "server": { "port": "3000" }, "access_log":{ "path": "/var/log/atm/atm.access_log" }, "app_log":{ "path": "/var/log/atm/atm.app_log" } }
<|file_sep|>original/atmessager/config/config.example.json { "server": { "port": "3000" }, "access_log":{ "path": "/var/log/atm/atm.access_log" }, "app_log":{ "path": "/var/log/atm/atm.access_log" } } <|file_sep|>current/atmessager/config/config.example.json { "server": { "port": "3000" }, "access_log"...
3df88857adb863a64bcb2b1fd60698c9e3319cd3
atmessager/config/config.example.json
atmessager/config/config.example.json
JSON
<|file_sep|>original/README.md This plugin is my attempt to bring modern placeholder behavior to the browsers that do not support it. ## Features * Works for text and password inputs * Supports AMD ## Usage $('[placeholder]').placeholder(options) ## Options * `force (boolean, default false)` — forces plugin i...
This plugin is my attempt to bring modern placeholder behavior to the browsers that do not support it. ## Features * Works for text and password inputs * Supports AMD ## Usage $('[placeholder]').placeholder(options) ## Options * `force (boolean, default false)` — forces plugin in all browsers (useful to enab...
<|file_sep|>original/README.md This plugin is my attempt to bring modern placeholder behavior to the browsers that do not support it. ## Features * Works for text and password inputs * Supports AMD ## Usage $('[placeholder]').placeholder(options) ## Options * `force (boolean, default false)` — forces plugin i...
7a49ab523c31fa8401551518566a0ce608b56870
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: - ./gradlew test updated: - ./gradlew test <|file_sep|>original/.travis.yml sudo: false language: java jdk: oraclejdk8 cache: directories: - $HOME/.gradle before_cache: - rm -f $HOME/.gradle/caches/*.lock - rm -f $HOME/.gradle/caches/*.bin - rm -f $HOME/.gradle/daemon...
language: java jdk: oraclejdk8 cache: directories: - $HOME/.gradle before_cache: - rm -f $HOME/.gradle/caches/*.lock - rm -f $HOME/.gradle/caches/*.bin - rm -f $HOME/.gradle/daemon - rm -f $HOME/.gradle/native script: - ./gradlew test notifications: slack: rooms: secure: i75o0wwiOqJ8h7P9w0Pc5...
<|file_sep|>.travis.yml.diff original: - ./gradlew test updated: - ./gradlew test <|file_sep|>original/.travis.yml sudo: false language: java jdk: oraclejdk8 cache: directories: - $HOME/.gradle before_cache: - rm -f $HOME/.gradle/caches/*.lock - rm -f $HOME/.gradle/caches/*.bin - rm -f $HOME/.gradle/daemon...
0d406d36d343b09bcacf2374d8cb7cd8382024fc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/_includes/header.html <meta charset="utf-8"> <!-- Fonts --> <link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400italic,700italic,400,700" rel="stylesheet" type="text/css"> ...
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="2015 perl-kr advent calendar"> <meta name="keywords" content="perl, perl-kr, advent calendar, 2015"> <meta name="author" content="perl-kr mo...
<|file_sep|>original/docs/_includes/header.html <meta charset="utf-8"> <!-- Fonts --> <link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=Open+Sans:300,400italic,700italic,400,700" rel="stylesheet" type="text/css"> ...
54d5389e5a2ac79212a54e479d01323e53265237
docs/_includes/header.html
docs/_includes/header.html
HTML
<|file_sep|>original/package.json { "name": "stats-server", "version": "0.1.0", "description": "Stats Server enables a webpage with stats for you app", "keywords": [ "json", "stats", "statistics" ], "author": "Dan Larsen", "maintainers": [ { "name": "Dan Larsen", "email": "dan@...
{ "name": "stats-server", "version": "0.1.0", "private": true, "description": "Stats Server enables a webpage with stats for you app", "keywords": [ "json", "stats", "statistics" ], "author": "Dan Larsen", "maintainers": [ { "name": "Dan Larsen", "email": "dan@techba.se", ...
<|file_sep|>original/package.json { "name": "stats-server", "version": "0.1.0", "description": "Stats Server enables a webpage with stats for you app", "keywords": [ "json", "stats", "statistics" ], "author": "Dan Larsen", "maintainers": [ { "name": "Dan Larsen", "email": "dan@...
26cdcf73cab65050fa3133948e9eeaf1ad750c31
package.json
package.json
JSON
<|file_sep|>README.md.diff original: represented as JSON data. It will replace [content API][content-api] in time. updated: represented as JSON data. <|file_sep|>original/README.md `./startup.sh` ## Running the test suite `bundle exec rake` ## Example API output Example API requests and corresponding responses can ...
`./startup.sh` ## Running the test suite `bundle exec rake` ## Example API output Example API requests and corresponding responses can be found in the [content store pack-broker documentation][pact-broker-docs]. ## Licence [MIT License](LICENCE) ## Further technical information Detailed technical information ca...
<|file_sep|>README.md.diff original: represented as JSON data. It will replace [content API][content-api] in time. updated: represented as JSON data. <|file_sep|>original/README.md `./startup.sh` ## Running the test suite `bundle exec rake` ## Example API output Example API requests and corresponding responses can ...
1b5759e5c9b3a2ddca3fc8233f20b045e2e60501
README.md
README.md
Markdown
<|file_sep|>plugins/xcode/xcode.plugin.zsh.diff original: xcode_proj=`ls | grep "\.xc" | sort -r | head -1` if [[ `echo -n $xcode_proj | wc -m` == 0 ]] then updated: local xcode_proj xcode_proj=(*.{xcworkspace,xcodeproj}(N)) if [[ ${#xcode_proj} -eq 0 ]]; then <|file_sep|>original/plugins/xcode/xcode.plugin...
#xc function courtesy of http://gist.github.com/subdigital/5420709 function xc { local xcode_proj xcode_proj=(*.{xcworkspace,xcodeproj}(N)) if [[ ${#xcode_proj} -eq 0 ]]; then echo "No xcworkspace/xcodeproj file found in the current directory." else echo "Found ${xcode_proj[1]}" open "${xcode_proj[1...
<|file_sep|>plugins/xcode/xcode.plugin.zsh.diff original: xcode_proj=`ls | grep "\.xc" | sort -r | head -1` if [[ `echo -n $xcode_proj | wc -m` == 0 ]] then updated: local xcode_proj xcode_proj=(*.{xcworkspace,xcodeproj}(N)) if [[ ${#xcode_proj} -eq 0 ]]; then <|file_sep|>original/plugins/xcode/xcode.plugin...
cbdad588e65f4205fcdc4e34e97b04fa7fdb5457
plugins/xcode/xcode.plugin.zsh
plugins/xcode/xcode.plugin.zsh
Shell
<|file_sep|>original/READEME.md # Meet and eat - Team distribution tool This should be a rewrite of the old python-only tool in c++ accelated python. <|file_sep|>current/READEME.md # Meet and eat - Team distribution tool This should be a rewrite of the old python-only tool in c++ accelated python. <|file_sep|>updated...
# Meet and eat - Team distribution tool This should be a rewrite of the old python-only tool in c++ accelated python. How to build and install: git clone https://github.com/janLo/meet-and-eat-distribution-tool.git cd meet-and-eat-distribution-tool mkdir build cmake -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL...
<|file_sep|>original/READEME.md # Meet and eat - Team distribution tool This should be a rewrite of the old python-only tool in c++ accelated python. <|file_sep|>current/READEME.md # Meet and eat - Team distribution tool This should be a rewrite of the old python-only tool in c++ accelated python. <|file_sep|>updated...
64bfb5d8b5bddb77a3fa8e32bf6f1ab5b317e570
READEME.md
READEME.md
Markdown
<|file_sep|>app/jobs/feed_job.rb.diff original: # To create outside of Rails, insert into the `delayed_jobs` table: updated: # To create outside of Rails, insert a row with values for the following columns # into the `delayed_jobs` table: <|file_sep|>original/app/jobs/feed_job.rb # To create outside of Rails, insert in...
# To create outside of Rails, insert a row with values for the following columns # into the `delayed_jobs` table: # # handler: {see example.yml} # run_at: {current_time} # # Notes: # # - the key `raw_message` for the `handler` column must have line endings "\n" # - to run delayed_jobs see in development use rak...
<|file_sep|>app/jobs/feed_job.rb.diff original: # To create outside of Rails, insert into the `delayed_jobs` table: updated: # To create outside of Rails, insert a row with values for the following columns # into the `delayed_jobs` table: <|file_sep|>original/app/jobs/feed_job.rb # To create outside of Rails, insert in...
c189b080085eb9a6601e580b0f1e49ef4c366b12
app/jobs/feed_job.rb
app/jobs/feed_job.rb
Ruby
<|file_sep|>original/calexicon/fn/overflow.py class OverflowDate(object): def __init__(self, **info): self.info = info def isocalendar(self): if 'isocalendar' in self.info: return self.info['isocalendar'] return None <|file_sep|>current/calexicon/fn/overflow.py class Overfl...
class OverflowDate(object): def __init__(self, **info): self.info = info def isocalendar(self): if 'isocalendar' in self.info: return self.info['isocalendar']
<|file_sep|>original/calexicon/fn/overflow.py class OverflowDate(object): def __init__(self, **info): self.info = info def isocalendar(self): if 'isocalendar' in self.info: return self.info['isocalendar'] return None <|file_sep|>current/calexicon/fn/overflow.py class Overfl...
cd22543319e4c21b693f91768adcc1cd42aa08a3
calexicon/fn/overflow.py
calexicon/fn/overflow.py
Python
<|file_sep|>spec/helpers/admin/orders_helper_spec.rb.diff original: adjustment = create(:adjustment, adjustable: order, amount: 1) updated: adjustment = create(:adjustment, order: order, adjustable: order, amount: 1) <|file_sep|>original/spec/helpers/admin/orders_helper_spec.rb describe "#order_adjustment...
describe "#order_adjustments_for_display" do let(:order) { create(:order) } it "selects eligible adjustments" do adjustment = create(:adjustment, order: order, adjustable: order, amount: 1) expect(helper.order_adjustments_for_display(order)).to eq [adjustment] end it "filters shipping m...
<|file_sep|>spec/helpers/admin/orders_helper_spec.rb.diff original: adjustment = create(:adjustment, adjustable: order, amount: 1) updated: adjustment = create(:adjustment, order: order, adjustable: order, amount: 1) <|file_sep|>original/spec/helpers/admin/orders_helper_spec.rb describe "#order_adjustment...
29c57031610b82c51771065c60d7fbd0c9e74a4a
spec/helpers/admin/orders_helper_spec.rb
spec/helpers/admin/orders_helper_spec.rb
Ruby
<|file_sep|>original/orbited.cfg [listen] http://:9000 #https://localhost:443 # This enables Orbited's built-in MorbidQ message queue. # Comment this out if to use your own, eg: RabbitMQ stomp://:61613 [access] * -> localhost:61613 * -> irc.freenode.net:6667 [global] # Enables the use of the proxy through the Orbite...
[listen] http://:9000 #https://localhost:443 # This enables Orbited's built-in MorbidQ message queue. # Comment this out if to use your own, eg: RabbitMQ stomp://:61613 [access] * -> localhost:61613 * -> localhost:5672 * -> irc.freenode.net:6667 [global] # Enables the use of the proxy through the Orbited.TCPSocket J...
<|file_sep|>original/orbited.cfg [listen] http://:9000 #https://localhost:443 # This enables Orbited's built-in MorbidQ message queue. # Comment this out if to use your own, eg: RabbitMQ stomp://:61613 [access] * -> localhost:61613 * -> irc.freenode.net:6667 [global] # Enables the use of the proxy through the Orbite...
666f7099be518155f2c55e7c82c6a666e8182322
orbited.cfg
orbited.cfg
INI
<|file_sep|>appveyor.yml.diff original: - "%devkit%\\devkitvars.bat" updated: <|file_sep|>appveyor.yml.diff original: - bundle install updated: - ridk.cmd exec bundle install <|file_sep|>original/appveyor.yml install: - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - "%devkit%\\devkitvars.bat" - ruby --version...
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) install: - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - ruby --version - gem --version - ridk.cmd exec bundle install build: off test_script: - bundle exec rake test # - bu...
<|file_sep|>appveyor.yml.diff original: - "%devkit%\\devkitvars.bat" updated: <|file_sep|>appveyor.yml.diff original: - bundle install updated: - ridk.cmd exec bundle install <|file_sep|>original/appveyor.yml install: - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - "%devkit%\\devkitvars.bat" - ruby --version...
dca694edd86586e1b5b0dd0ad8e359bb105ab500
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/CONTRIBUTING.md # Contributing Guidelines 1. Report your full operating system details, python version and terminal/console program and version. 2. Ensure that your commit messages follow [these guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). 3. Stick to t...
# Contributing Guidelines 1. Report your full operating system details, python version and terminal/console program and version. 2. Ensure that your commit messages follow [these guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). 3. Stick to the existing coding style. 4. Make sur...
<|file_sep|>original/CONTRIBUTING.md # Contributing Guidelines 1. Report your full operating system details, python version and terminal/console program and version. 2. Ensure that your commit messages follow [these guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). 3. Stick to t...
3c60e91e4252a4a270ae8b565ea8fbbe3da087d9
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>indra/sources/sofia/api.py.diff original: updated: <|file_sep|>original/indra/sources/sofia/api.py def process_table(fname): """Return processor by processing a given sheet of a spreadsheet file. Parameters ---------- fname : str The name of the Excel file (typically .xlsx extens...
Parameters ---------- fname : str The name of the Excel file (typically .xlsx extension) to process Returns ------- sp : indra.sources.sofia.processor.SofiaProcessor A SofiaProcessor object which has a list of extracted INDRA Statements as its statements attribute "...
<|file_sep|>indra/sources/sofia/api.py.diff original: updated: <|file_sep|>original/indra/sources/sofia/api.py def process_table(fname): """Return processor by processing a given sheet of a spreadsheet file. Parameters ---------- fname : str The name of the Excel file (typically .xlsx extens...
d2e52377f90c81365bd0ff62c8bea95207b44328
indra/sources/sofia/api.py
indra/sources/sofia/api.py
Python
<|file_sep|>original/requirements.txt flake8==3.7.7 pytest==4.6.3 pytest-cov==2.7.1 tox==3.12.1 isort==4.3.18 -e . <|file_sep|>current/requirements.txt flake8==3.7.7 pytest==4.6.3 pytest-cov==2.7.1 tox==3.12.1 isort==4.3.18 -e . <|file_sep|>updated/requirements.txt
flake8==3.7.8 pytest==4.6.3 pytest-cov==2.7.1 tox==3.12.1 isort==4.3.18 -e .
<|file_sep|>original/requirements.txt flake8==3.7.7 pytest==4.6.3 pytest-cov==2.7.1 tox==3.12.1 isort==4.3.18 -e . <|file_sep|>current/requirements.txt flake8==3.7.7 pytest==4.6.3 pytest-cov==2.7.1 tox==3.12.1 isort==4.3.18 -e . <|file_sep|>updated/requirements.txt flake8==3.7.8 pytest==4.6.3 pytest-cov==2.7.1 tox==3.1...
32f7bc463828fe4ce7d4483596ef5cab1cc5896e
requirements.txt
requirements.txt
Text
<|file_sep|>original/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope :base, -> { scoped } belongs_to :topic, -> { includes(:replies) } belongs_to :developer validates_presence_of :content end <|file_sep|>current/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope...
class Reply < ActiveRecord::Base scope :base, -> { all } belongs_to :topic, -> { includes(:replies) } belongs_to :developer validates_presence_of :content end
<|file_sep|>original/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope :base, -> { scoped } belongs_to :topic, -> { includes(:replies) } belongs_to :developer validates_presence_of :content end <|file_sep|>current/actionpack/test/fixtures/reply.rb class Reply < ActiveRecord::Base scope...
6b9004a9f424fdf271fed8b39e7555c44a31b82d
actionpack/test/fixtures/reply.rb
actionpack/test/fixtures/reply.rb
Ruby
<|file_sep|>original/feder/virus_scan/signer.py from django.core.signing import TimestampSigner class TokenSigner: signer = TimestampSigner() def unsign(self, value): return self.signer.unsign(value=value, max_age=60 * 60 * 24) def sign(self, value): return self.signer.sign(value) <|file...
from django.core.signing import TimestampSigner class TokenSigner: signer = TimestampSigner() def unsign(self, value): return self.signer.unsign(value=value, max_age=60 * 60 * 24 * 7) def sign(self, value): return self.signer.sign(value)
<|file_sep|>original/feder/virus_scan/signer.py from django.core.signing import TimestampSigner class TokenSigner: signer = TimestampSigner() def unsign(self, value): return self.signer.unsign(value=value, max_age=60 * 60 * 24) def sign(self, value): return self.signer.sign(value) <|file...
e9188fdce548106cd8729c2b62a58ba387255f82
feder/virus_scan/signer.py
feder/virus_scan/signer.py
Python
<|file_sep|>original/metadata/moe.minori.pgpclipper.txt Summary:Add PGP support via clipboard Description: Use PGPClipper to easily and safely write and receive PGP messages in apps that let you copy and paste text. PGPClipper monitors user clipboard, and notifies the user when possible PGP data is available for decod...
Summary:Add PGP support via clipboard Description: Use PGPClipper to easily and safely write and receive PGP messages in apps that let you copy and paste text. PGPClipper monitors user clipboard, and notifies the user when possible PGP data is available for decoding. . Repo Type:git Repo:https://github.com/Mnkai/PGPC...
<|file_sep|>original/metadata/moe.minori.pgpclipper.txt Summary:Add PGP support via clipboard Description: Use PGPClipper to easily and safely write and receive PGP messages in apps that let you copy and paste text. PGPClipper monitors user clipboard, and notifies the user when possible PGP data is available for decod...
92a82a12f887146db7b6b7c49a7507ed023c89e3
metadata/moe.minori.pgpclipper.txt
metadata/moe.minori.pgpclipper.txt
Text
<|file_sep|>original/tests/Factory/ToolFactoryTest.php <|file_sep|>current/tests/Factory/ToolFactoryTest.php <|file_sep|>updated/tests/Factory/ToolFactoryTest.php
<?php namespace Tooly\Tests\Factory; use org\bovigo\vfs\vfsStream; use Tooly\Factory\ToolFactory; use Tooly\Model\Tool; /** * @package Tooly\Tests\Factory */ class ToolFactoryTest extends \PHPUnit_Framework_TestCase { public function testCanCreateATool() { vfsStream::setup(); $tool = ToolF...
<|file_sep|>original/tests/Factory/ToolFactoryTest.php <|file_sep|>current/tests/Factory/ToolFactoryTest.php <|file_sep|>updated/tests/Factory/ToolFactoryTest.php <?php namespace Tooly\Tests\Factory; use org\bovigo\vfs\vfsStream; use Tooly\Factory\ToolFactory; use Tooly\Model\Tool; /** * @package Tooly\Tests\Fact...
53811d79593fa30287cc593cc99c719d29c0f5f9
tests/Factory/ToolFactoryTest.php
tests/Factory/ToolFactoryTest.php
PHP
<|file_sep|>original/app/assets/stylesheets/layouts/front/map-builder-specifics.scss // Specific styles for overwriting the map builder styles // modal should not take up 100% of the width .modal-wrapper { .modal { transform: translate(-50%, -50%); top: 50%; left: 50%; margin: 0 20px; width: 300p...
.modal-wrapper { .modal { transform: translate(-50%, -50%); top: 50%; left: 50%; margin: 0 20px; width: 300px; max-height: 400px; // The overflow breaks the dropdown of the select // of the search modal // overflow: hidden; } } .app-header { visibility: hidden; } .documents-...
<|file_sep|>original/app/assets/stylesheets/layouts/front/map-builder-specifics.scss // Specific styles for overwriting the map builder styles // modal should not take up 100% of the width .modal-wrapper { .modal { transform: translate(-50%, -50%); top: 50%; left: 50%; margin: 0 20px; width: 300p...
44e1569a0c4c554c99743f7914f2ca0c1ce7d84f
app/assets/stylesheets/layouts/front/map-builder-specifics.scss
app/assets/stylesheets/layouts/front/map-builder-specifics.scss
SCSS
<|file_sep|>original/.github/scripts/helm_publish.sh #!/bin/sh crVersion="0.2.3" helmVersion="3.0.2" chartDir="./charts/orbit" owner="orbit" repo="orbit.githib.com/orbit" token=$GITHUB_TOKEN platform="linux" curl -sSLo helm.tar.gz https://get.helm.sh/helm-v$helmVersion-$platform-amd64.tar.gz tar -xzf helm.tar.gz rm -...
#!/bin/sh crVersion="0.2.3" helmVersion="3.0.2" chartDir="./charts/orbit" owner="orbit" repo="orbit" token=$GITHUB_TOKEN platform="linux" curl -sSLo helm.tar.gz https://get.helm.sh/helm-v$helmVersion-$platform-amd64.tar.gz tar -xzf helm.tar.gz rm -f helm.tar.gz curl -sSLo cr.tar.gz "https://github.com/helm/chart-rel...
<|file_sep|>original/.github/scripts/helm_publish.sh #!/bin/sh crVersion="0.2.3" helmVersion="3.0.2" chartDir="./charts/orbit" owner="orbit" repo="orbit.githib.com/orbit" token=$GITHUB_TOKEN platform="linux" curl -sSLo helm.tar.gz https://get.helm.sh/helm-v$helmVersion-$platform-amd64.tar.gz tar -xzf helm.tar.gz rm -...
ee659d00f28f92aff86347510e84bff98dca12e1
.github/scripts/helm_publish.sh
.github/scripts/helm_publish.sh
Shell
<|file_sep|>original/remoting/client/extension/manifest.json { "name": "Chromoting Client", "version": "1.0", "description": "Lists the Chromoting hosts that the current user can access.", "browser_action": { "default_icon": "chromoticon.png", "default_title": "Chromoting" }, "background_page": "bac...
{ "name": "Chromoting Client", "version": "1.1", "description": "Lists the Chromoting hosts that the current user can access.", "browser_action": { "default_icon": "chromoticon.png", "default_title": "Chromoting" }, "background_page": "background.html", "permissions": [ "tabs", "https://ww...
<|file_sep|>original/remoting/client/extension/manifest.json { "name": "Chromoting Client", "version": "1.0", "description": "Lists the Chromoting hosts that the current user can access.", "browser_action": { "default_icon": "chromoticon.png", "default_title": "Chromoting" }, "background_page": "bac...
3d9a524d9f64195b4a5e748120dcd4992239eaed
remoting/client/extension/manifest.json
remoting/client/extension/manifest.json
JSON
<|file_sep|>original/gui/dev/fix-dist-artifacts.js #!/usr/bin/env node const fs = require('fs') function fixFile (file, bad, good) { if (fs.existsSync(file)) { console.log('Fixing ' + file + ' ...') fs.writeFileSync(file, fs.readFileSync(file, 'utf8').replace(bad, good)) } } // electron-builder uses the ...
#!/usr/bin/env node const fs = require('fs') function fixFile (file, bad, good) { if (fs.existsSync(file)) { console.log('Fixing ' + file + ' ...') fs.writeFileSync(file, fs.readFileSync(file, 'utf8').replace(bad, good)) } } // electron-builder uses the app/package.name instead of .productName to // gene...
<|file_sep|>original/gui/dev/fix-dist-artifacts.js #!/usr/bin/env node const fs = require('fs') function fixFile (file, bad, good) { if (fs.existsSync(file)) { console.log('Fixing ' + file + ' ...') fs.writeFileSync(file, fs.readFileSync(file, 'utf8').replace(bad, good)) } } // electron-builder uses the ...
f0827ef606c7f11edb1767853d8ed9b052faa7de
gui/dev/fix-dist-artifacts.js
gui/dev/fix-dist-artifacts.js
JavaScript
<|file_sep|>app/assets/view/helpFormatsView.html.diff original: updated: <col/> <col width='32px'/> <col/> <|file_sep|>app/assets/view/helpFormatsView.html.diff original: <th colspan="2" bo-text="'format.list.'+key | message"></th> updated: <th colspan="3" bo-text="'format.list.'+k...
<th colspan="3" bo-text="'format.list.'+key | message"></th> </tr> <tr class="hr"> <th bo-text="'format.list.extension' | message" class="th-right"></th> <th></th> <th bo-text="'format.list.description' | message"></th> </tr> ...
<|file_sep|>app/assets/view/helpFormatsView.html.diff original: updated: <col/> <col width='32px'/> <col/> <|file_sep|>app/assets/view/helpFormatsView.html.diff original: <th colspan="2" bo-text="'format.list.'+key | message"></th> updated: <th colspan="3" bo-text="'format.list.'+k...
01ccd224f5d90da1ea8124db45586e5e0aa7f823
app/assets/view/helpFormatsView.html
app/assets/view/helpFormatsView.html
HTML
<|file_sep|>original/recipes/epics-base-R3.14.12.4/meta.yaml {% set version = "3.14.12.4" %} package: name: epics-base version: {{ version }} source: fn: baseR{{ version }}.tar.gz url: http://www.aps.anl.gov/epics/download/base/baseR{{ version }}.tar.gz sha256: 0ea4a74e83ff73d68b64de89bedf7c42102...
{% set version = "3.14.12.4" %} package: name: epics-base version: {{ version }} source: fn: baseR{{ version }}.tar.gz url: http://www.aps.anl.gov/epics/download/base/baseR{{ version }}.tar.gz sha256: 0ea4a74e83ff73d68b64de89bedf7c42102edc2cc69c69fd49eb35c04dc9e3de patches: - config_sit...
<|file_sep|>original/recipes/epics-base-R3.14.12.4/meta.yaml {% set version = "3.14.12.4" %} package: name: epics-base version: {{ version }} source: fn: baseR{{ version }}.tar.gz url: http://www.aps.anl.gov/epics/download/base/baseR{{ version }}.tar.gz sha256: 0ea4a74e83ff73d68b64de89bedf7c42102...
fc180c80d6b1f18ae32fb1e59fb6739181eb37aa
recipes/epics-base-R3.14.12.4/meta.yaml
recipes/epics-base-R3.14.12.4/meta.yaml
YAML
<|file_sep|>setup.py.diff original: VERSION = '1.1' updated: VERSION = '1.2' <|file_sep|>original/setup.py try: from setuptools.core import setup except ImportError: from distutils.core import setup PACKAGE = 'django-render-as' VERSION = '1.1' package_data = { 'render_as': [ 'templates/avoid_clash...
try: from setuptools.core import setup except ImportError: from distutils.core import setup PACKAGE = 'django-render-as' VERSION = '1.2' package_data = { 'render_as': [ 'test_templates/avoid_clash_with_real_app/*.html', 'test_templates/render_as/*.html', ], } setup( name=PACKA...
<|file_sep|>setup.py.diff original: VERSION = '1.1' updated: VERSION = '1.2' <|file_sep|>original/setup.py try: from setuptools.core import setup except ImportError: from distutils.core import setup PACKAGE = 'django-render-as' VERSION = '1.1' package_data = { 'render_as': [ 'templates/avoid_clash...
b51e0ff9407f8a609be580d8fcb9cad6cfd267d8
setup.py
setup.py
Python
<|file_sep|>adaptive.yml.diff original: version: 5.0 updated: <|file_sep|>original/adaptive.yml name: adaptivesampleapp appid: me.adaptive.sample version: 0.0.1 engine: name: adaptive version: v2.2.15 platforms: - name: android version: 5.0 flavors: - mobile <|file_sep|>current/adaptive.yml ...
name: adaptivesampleapp appid: me.adaptive.sample version: 0.0.1 engine: name: adaptive version: v2.2.15 platforms: - name: android flavors: - name: mobile version: 5.0
<|file_sep|>adaptive.yml.diff original: version: 5.0 updated: <|file_sep|>original/adaptive.yml name: adaptivesampleapp appid: me.adaptive.sample version: 0.0.1 engine: name: adaptive version: v2.2.15 platforms: - name: android version: 5.0 flavors: - mobile <|file_sep|>current/adaptive.yml ...
73849899a460c936dbbe971802db3590f6dddb43
adaptive.yml
adaptive.yml
YAML
<|file_sep|>original/core/java/com/google/instrumentation/common/NonThrowingCloseable.java <|file_sep|>current/core/java/com/google/instrumentation/common/NonThrowingCloseable.java <|file_sep|>updated/core/java/com/google/instrumentation/common/NonThrowingCloseable.java
package com.google.instrumentation.common; import java.io.Closeable; /** * An {@link Closeable} which cannot throw a checked exception. */ public interface NonThrowingCloseable extends Closeable { @Override void close(); }
<|file_sep|>original/core/java/com/google/instrumentation/common/NonThrowingCloseable.java <|file_sep|>current/core/java/com/google/instrumentation/common/NonThrowingCloseable.java <|file_sep|>updated/core/java/com/google/instrumentation/common/NonThrowingCloseable.java package com.google.instrumentation.common; imp...
943b2ea23c9f7dd4f0fa8c1480f9c7277f082c06
core/java/com/google/instrumentation/common/NonThrowingCloseable.java
core/java/com/google/instrumentation/common/NonThrowingCloseable.java
Java
<|file_sep|>original/src/mailgun-transport.js var mailgun = Mailgun({ apiKey: this.options.auth.api_key, domain: this.options.auth.domain || '' }); var data = { from: mail.data.from, to: mail.data.to, subject: mail.data.subject, text: mail.data.text } mailgun.messages().send(data...
var mailgun = Mailgun({ apiKey: this.options.auth.api_key, domain: this.options.auth.domain || '' }); var data = { from: mail.data.from, to: mail.data.to, subject: mail.data.subject, text: mail.data.text, html: mail.data.html } mailgun.messages().send(data, function (err,...
<|file_sep|>original/src/mailgun-transport.js var mailgun = Mailgun({ apiKey: this.options.auth.api_key, domain: this.options.auth.domain || '' }); var data = { from: mail.data.from, to: mail.data.to, subject: mail.data.subject, text: mail.data.text } mailgun.messages().send(data...
e580b1c8dc4e2a09feaa5b6be00a3e8d1ea31e01
src/mailgun-transport.js
src/mailgun-transport.js
JavaScript
<|file_sep|>original/.travis.yml install: - rm composer.lock - composer update --no-scripts - cp .env.testing .env - php artisan clear-compiled - php artisan optimize - php artisan env - cp .env.testing .env - mv storage/database/databasecopy.sqlite storage/database/database.sqlite script: - phpunit...
install: - rm composer.lock - composer update --no-scripts - cp .env.testing .env - php artisan clear-compiled - php artisan optimize - php artisan env - cp .env.testing .env - mv storage/database/databasecopy.sqlite storage/database/database.sqlite - mkdir -p build/logs script: - phpunit -c phpun...
<|file_sep|>original/.travis.yml install: - rm composer.lock - composer update --no-scripts - cp .env.testing .env - php artisan clear-compiled - php artisan optimize - php artisan env - cp .env.testing .env - mv storage/database/databasecopy.sqlite storage/database/database.sqlite script: - phpunit...
61526df2451537f99d5bc0354f2f7d0f6d0a3ac3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/search-engine/spec/foil_queries_spec.rb <|file_sep|>current/search-engine/spec/foil_queries_spec.rb <|file_sep|>updated/search-engine/spec/foil_queries_spec.rb
describe "Foil queries" do include_context "db" let(:nonfoil) { db.printings.select{|c| c.foiling == "nonfoil" } } let(:foilonly) { db.printings.select{|c| c.foiling == "foilonly" } } let(:both) { db.printings.select{|c| c.foiling == "both" } } # These are just boring unit tests it "is:foil" do db.sear...
<|file_sep|>original/search-engine/spec/foil_queries_spec.rb <|file_sep|>current/search-engine/spec/foil_queries_spec.rb <|file_sep|>updated/search-engine/spec/foil_queries_spec.rb describe "Foil queries" do include_context "db" let(:nonfoil) { db.printings.select{|c| c.foiling == "nonfoil" } } let(:foilonly) {...
f4a22856c369b40d50a574272874ec7108f657a1
search-engine/spec/foil_queries_spec.rb
search-engine/spec/foil_queries_spec.rb
Ruby
<|file_sep|>original/db/data_migrations/20201008154641_end_measure_for_2103909080.rb end end end down do applicable { true } apply do if measures = Measure::Operation.where( measure_type_id: MEASURE_TYPE, goods_nomenclature_item_id: COMMODITY, validity_end_da...
# only update the measures where the validity_end_date is nil, otherwise, assume there's a date there for a reason measure.save end end end down do applicable { true } apply do Measure::Operation.where( measure_type_id: MEASURE_TYPE, goods_nomenclature_item...
<|file_sep|>original/db/data_migrations/20201008154641_end_measure_for_2103909080.rb end end end down do applicable { true } apply do if measures = Measure::Operation.where( measure_type_id: MEASURE_TYPE, goods_nomenclature_item_id: COMMODITY, validity_end_da...
3be6dffc748a314a1843ea9fa275263b7d426b2a
db/data_migrations/20201008154641_end_measure_for_2103909080.rb
db/data_migrations/20201008154641_end_measure_for_2103909080.rb
Ruby
<|file_sep|>original/_posts/2020-12-16-atata.configuration.json-1.5.0-released.md --- [Atata.Configuration.Json {{page.release_version}}](https://www.nuget.org/packages/Atata.Configuration.Json/{{page.release_version}}) is released with support of latest Atata configuration properties. {:.lead} <!--more--> ## Change...
--- [Atata.Configuration.Json {{page.release_version}}](https://www.nuget.org/packages/Atata.Configuration.Json/{{page.release_version}}) is released with support of latest Atata configuration properties. {:.lead} <!--more--> ## Changelog ### New Features - {% include issue.md repo='cj' id=56 type='mj' %} Add supp...
<|file_sep|>original/_posts/2020-12-16-atata.configuration.json-1.5.0-released.md --- [Atata.Configuration.Json {{page.release_version}}](https://www.nuget.org/packages/Atata.Configuration.Json/{{page.release_version}}) is released with support of latest Atata configuration properties. {:.lead} <!--more--> ## Change...
8f6537004c8c6c0ccd09d3d99b5b9e691cea45aa
_posts/2020-12-16-atata.configuration.json-1.5.0-released.md
_posts/2020-12-16-atata.configuration.json-1.5.0-released.md
Markdown
<|file_sep|>src/model/Mailer.php.diff original: require_once("libs/sendgrid-php/sendgrid-php.php"); updated: require_once(__DIR__ . "/../libs/sendgrid-php/sendgrid-php.php"); <|file_sep|>original/src/model/Mailer.php { "type": "text/plain", "value": "'.$body.'" } ...
{ "type": "text/plain", "value": "'.$body.'" } ] }'); if (Mailer::getWeb1Env() == "PROD") { $apiKey = getenv('SENDGRID_API'); $sg = new \SendGrid($apiKey); $response = $sg->client->mail()->send()->post(...
<|file_sep|>src/model/Mailer.php.diff original: require_once("libs/sendgrid-php/sendgrid-php.php"); updated: require_once(__DIR__ . "/../libs/sendgrid-php/sendgrid-php.php"); <|file_sep|>original/src/model/Mailer.php { "type": "text/plain", "value": "'.$body.'" } ...
e8e7a62258bd2381a844fbbb72c8d0d4aef4fa84
src/model/Mailer.php
src/model/Mailer.php
PHP
<|file_sep|>original/client/src/css/main.css .rotateCounterClock { -webkit-transform-origin: center bottom; -webkit-transform: rotate(-90deg) translateY(13%) translateX(5%); width: 424px; } .rotateCounterClock.up { -webkit-transform: rotate(90deg) translateY(85%) translateX(-5%); } .rotateCounterClock...
.rotateCounterClock { -webkit-transform-origin: center bottom; -webkit-transform: rotate(-90deg) translateY(13%) translateX(5%); width: 424px; } .rotateCounterClock.up { -webkit-transform: rotate(90deg) translateY(85%) translateX(-5%); } .rotateCounterClock.down { -webkit-transform: rotate(-90deg)...
<|file_sep|>original/client/src/css/main.css .rotateCounterClock { -webkit-transform-origin: center bottom; -webkit-transform: rotate(-90deg) translateY(13%) translateX(5%); width: 424px; } .rotateCounterClock.up { -webkit-transform: rotate(90deg) translateY(85%) translateX(-5%); } .rotateCounterClock...
86447ac48cafc4a0d6da8135c23a86f69d3d9dc7
client/src/css/main.css
client/src/css/main.css
CSS
<|file_sep|>original/jobs/test_settings.py from decouple import config from jobs.settings import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'test_db', 'USER': 'postgres', 'PASSWORD': '', 'HOST': 'db', 'PORT': 5432, }...
from decouple import config from jobs.settings import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'test_db', 'USER': 'postgres', 'PASSWORD': '', 'HOST': 'localhost', 'PORT': 5432, } } #DATABASES = { # 'default': {...
<|file_sep|>original/jobs/test_settings.py from decouple import config from jobs.settings import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'test_db', 'USER': 'postgres', 'PASSWORD': '', 'HOST': 'db', 'PORT': 5432, }...
e50f4bd135b41fa49a3f4d4972f1d7ee594e4447
jobs/test_settings.py
jobs/test_settings.py
Python
<|file_sep|>package.json.diff original: "test": "echo \"Error: no test specified\" && exit 1" updated: "test": "echo \"Error: no test specified\" && exit 1", "start": "electron ." <|file_sep|>original/package.json }, "repository": { "type": "git", "url": "https://github.com/mikaturunen/electron-...
"type": "git", "url": "https://github.com/mikaturunen/electron-twitter.git" }, "keywords": [ "electron", "twitter", "hello", "world", "testing" ], "author": "Mika Turunen <mika.turunen@ymail.com>", "license": "MIT", "bugs": { "url": "https://github.com/mikaturunen/electron-tw...
<|file_sep|>package.json.diff original: "test": "echo \"Error: no test specified\" && exit 1" updated: "test": "echo \"Error: no test specified\" && exit 1", "start": "electron ." <|file_sep|>original/package.json }, "repository": { "type": "git", "url": "https://github.com/mikaturunen/electron-...
c4ca75fbdcb739c7b12ea681037329fa066575da
package.json
package.json
JSON
<|file_sep|>original/docs/source/about.rst About ===== Author ------ **pronto** is developped and maintained by: +-----------------------------------+----------------------------------------------+ | | | **Martin Larralde** | | .. image:: _static/ens.png ...
------ **pronto** is developped and maintained by: +-----------------------------------+----------------------------------------------+ | | | **Martin Larralde** | | .. image:: _static/ens.png | | Ecole Normale Supérieure de Cachan, France | | ...
<|file_sep|>original/docs/source/about.rst About ===== Author ------ **pronto** is developped and maintained by: +-----------------------------------+----------------------------------------------+ | | | **Martin Larralde** | | .. image:: _static/ens.png ...
74afa589920b187a151a0cfb6a589326d4bfa2aa
docs/source/about.rst
docs/source/about.rst
reStructuredText
<|file_sep|>original/operations/test/alter-ssh-proxy-redirect-uri.yml <|file_sep|>current/operations/test/alter-ssh-proxy-redirect-uri.yml <|file_sep|>updated/operations/test/alter-ssh-proxy-redirect-uri.yml
--- - type: replace path: /instance_groups/name=uaa/jobs/name=uaa/properties/uaa/clients/name=ssh-proxy/redirect-uri value: http://localhost/
<|file_sep|>original/operations/test/alter-ssh-proxy-redirect-uri.yml <|file_sep|>current/operations/test/alter-ssh-proxy-redirect-uri.yml <|file_sep|>updated/operations/test/alter-ssh-proxy-redirect-uri.yml --- - type: replace path: /instance_groups/name=uaa/jobs/name=uaa/properties/uaa/clients/name=ssh-proxy/redi...
05477a4a3c84a4c78dc2694c237a6e89ff6d989c
operations/test/alter-ssh-proxy-redirect-uri.yml
operations/test/alter-ssh-proxy-redirect-uri.yml
YAML
<|file_sep|>original/app/models/renalware/clinics/clinic_visit.rb validates_presence_of :date validates_presence_of :clinic validates :date, timeliness: { type: :date } enumerize :urine_blood, in: %i(neg trace very_low low medium high) enumerize :urine_protein, in: %i(neg trace very_low...
validates_presence_of :date validates_presence_of :clinic validates :date, timeliness: { type: :date } enumerize :urine_blood, in: %i(neg trace very_low low medium high) enumerize :urine_protein, in: %i(neg trace very_low low medium high) def bmi return unless weight && h...
<|file_sep|>original/app/models/renalware/clinics/clinic_visit.rb validates_presence_of :date validates_presence_of :clinic validates :date, timeliness: { type: :date } enumerize :urine_blood, in: %i(neg trace very_low low medium high) enumerize :urine_protein, in: %i(neg trace very_low...
16bfa914025bef4c5b2753350d371f120d287a2f
app/models/renalware/clinics/clinic_visit.rb
app/models/renalware/clinics/clinic_visit.rb
Ruby
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
# Travis CI integration # Defaults to GNU GCC and autotools: ./configure && make && make test language: c # We don't need to install packages, use dockerized build, quicker sudo: false # We (currently) don't use GNU Configure & Build System, only a simple # Makefile, for the time being. script: - make distclean -...
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml # Travis CI integration # Defaults to GNU GCC and autotools: ./configure && make && make test language: c # We don't need to install packages, use dockerized build, quicker sudo: false # We (currently) don't use GNU Con...
88927f693c21e005e6a1bcbb8c0f8b3dde509886
.travis.yml
.travis.yml
YAML
<|file_sep|>t/04-all.t.diff original: #test_fail(+5); updated: test_fail(+4); <|file_sep|>original/t/04-all.t use 5.006; use strict; use warnings; use Test::Builder::Tester; use Test::More; use Test::Version qw( version_all_ok ); test_out( 'not ok 1 - validate VERSION in corpus/noversion/FooBar.pm', 'not ok 2 - vali...
use 5.006; use strict; use warnings; use Test::Builder::Tester; use Test::More; use Test::Version qw( version_all_ok ); test_out( 'not ok 1 - validate VERSION in corpus/noversion/FooBar.pm', 'not ok 2 - validate VERSION in corpus/fail/FooBarBaz.pm', 'ok 3 - VERSION 1.0 in corpus/pass/Foo.pm is valid', ); test_fail(...
<|file_sep|>t/04-all.t.diff original: #test_fail(+5); updated: test_fail(+4); <|file_sep|>original/t/04-all.t use 5.006; use strict; use warnings; use Test::Builder::Tester; use Test::More; use Test::Version qw( version_all_ok ); test_out( 'not ok 1 - validate VERSION in corpus/noversion/FooBar.pm', 'not ok 2 - vali...
aabc7e8d4750597bdb2803f6b115ed8743f24910
t/04-all.t
t/04-all.t
Perl
<|file_sep|>include/tiramisu/MainPage.h.diff original: /** \mainpage Tiramisu Optimization Framework * Tiramisu is a library that is designed to simplify code optimization and code generation. The user can express his code in the Tiramisu intermediate representation (Tiramisu IR), he can use the Tiramisu API to perf...
/** \file * This file only exists to contain the front-page of the documentation */ /** \mainpage Documentation of the API if the Tiramisu Compiler * * Tiramisu provides few classes to enable users to represent their program: * - The \ref tiramisu::function class: a function in Tiramisu is equivalent to a functio...
<|file_sep|>include/tiramisu/MainPage.h.diff original: /** \mainpage Tiramisu Optimization Framework * Tiramisu is a library that is designed to simplify code optimization and code generation. The user can express his code in the Tiramisu intermediate representation (Tiramisu IR), he can use the Tiramisu API to perf...
dad599a4b721780c6b11122bf88c39bdda5c9eed
include/tiramisu/MainPage.h
include/tiramisu/MainPage.h
C
<|file_sep|>original/mako.gemspec spec.summary = 'A static site feed reader' spec.homepage = 'https://github.com/jonathanpike/mako' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = 'exe' ...
spec.homepage = 'https://github.com/jonathanpike/mako' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.req...
<|file_sep|>original/mako.gemspec spec.summary = 'A static site feed reader' spec.homepage = 'https://github.com/jonathanpike/mako' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = 'exe' ...
4b16d6424480250c6c5afe301c6658fe42a04cca
mako.gemspec
mako.gemspec
Ruby
<|file_sep|>original/src/diamond/handler/httpHandler.py #!/usr/bin/env python # coding=utf-8 from Handler import Handler import urllib2 class HttpPostHandler(Handler): # Inititalize Handler with url and batch size def __init__(self, config=None): Handler.__init__(self, config) self.metrics = [] ...
#!/usr/bin/env python # coding=utf-8 """ Send metrics to a http endpoint via POST #### Dependencies * urllib2 #### Configuration Enable this handler * handers = diamond.handler.httpHandler.HttpPostHandler * url = http://www.example.com/endpoint """ from Handler import Handler
<|file_sep|>original/src/diamond/handler/httpHandler.py #!/usr/bin/env python # coding=utf-8 from Handler import Handler import urllib2 class HttpPostHandler(Handler): # Inititalize Handler with url and batch size def __init__(self, config=None): Handler.__init__(self, config) self.metrics = [] ...
befadd8fc0482adb55f63ac51166f2330c897d7a
src/diamond/handler/httpHandler.py
src/diamond/handler/httpHandler.py
Python
<|file_sep|>original/Casks/reaper.rb cask 'reaper' do version '5.93' sha256 '0b3946b9b200d93aab89343f4523add7ea49cd3e3a6f4d4ed84d8feaee8a4224' url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.no_dots}_x86_64.dmg" appcast 'http://www.cockos.com/reaper/latestversion/?p=osx_64' name 'REAPER' ...
cask 'reaper' do version '5.93' sha256 '0b3946b9b200d93aab89343f4523add7ea49cd3e3a6f4d4ed84d8feaee8a4224' url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.no_dots}_x86_64.dmg" appcast 'https://www.cockos.com/reaper/latestversion/?p=osx_64' name 'REAPER' homepage 'https://www.reaper.fm/' ...
<|file_sep|>original/Casks/reaper.rb cask 'reaper' do version '5.93' sha256 '0b3946b9b200d93aab89343f4523add7ea49cd3e3a6f4d4ed84d8feaee8a4224' url "https://www.reaper.fm/files/#{version.major}.x/reaper#{version.no_dots}_x86_64.dmg" appcast 'http://www.cockos.com/reaper/latestversion/?p=osx_64' name 'REAPER' ...
09fb217f7b8da77fb5048b679330dd94885e8b05
Casks/reaper.rb
Casks/reaper.rb
Ruby
<|file_sep|>original/app/controllers/api/search_controller.rb class Api::SearchController < ApplicationController def show @searches = Line.search(params[:term]).joins(:quote).includes(:character, :quote).map(&:quote) render json: @searches, root: :searches end end <|file_sep|>current/app/controllers/api/se...
class Api::SearchController < ApplicationController def show @searches = Line.search(params[:term]).joins(:quote).includes(:character, :quote).map(&:quote).uniq! render json: @searches, root: :searches end end
<|file_sep|>original/app/controllers/api/search_controller.rb class Api::SearchController < ApplicationController def show @searches = Line.search(params[:term]).joins(:quote).includes(:character, :quote).map(&:quote) render json: @searches, root: :searches end end <|file_sep|>current/app/controllers/api/se...
633f39df4832efc6fb2d7704d94fd932039692aa
app/controllers/api/search_controller.rb
app/controllers/api/search_controller.rb
Ruby
<|file_sep|>original/data/assets/hoverCircle.asset local assetHelper = asset.require('util/asset_helper') local spec = { Identifier = "HoverCircle", Type = "ScreenSpaceImageLocal", Name = "HoverCircle", FaceCamera = false, UseRadiusAzimuthElevation = false, RadiusAzimuthElevation ...
local assetHelper = asset.require('util/asset_helper') local spec = { Identifier = "HoverCircle", Type = "ScreenSpaceImageLocal", Name = "HoverCircle", FaceCamera = false, UseRadiusAzimuthElevation = false, RadiusAzimuthElevation = {1.0, 0.0, 0.0}, -- use for dome Scale= 0.0...
<|file_sep|>original/data/assets/hoverCircle.asset local assetHelper = asset.require('util/asset_helper') local spec = { Identifier = "HoverCircle", Type = "ScreenSpaceImageLocal", Name = "HoverCircle", FaceCamera = false, UseRadiusAzimuthElevation = false, RadiusAzimuthElevation ...
b2d5eb4e55059e93d5075e27e8843d169d1a2874
data/assets/hoverCircle.asset
data/assets/hoverCircle.asset
Unity3D Asset
<|file_sep|>original/utils/packaging/packaging_redhat.yml --- - name: Create temporary mount point file: dest=temp state=directory - name: Prepare a sparse file shell: "{{ item }}" with_items: - fallocate -l 2G rootfs.img - mkfs.btrfs rootfs.img - mount -t btrfs -o compress=lzo rootf...
--- - name: Create temporary mount point file: dest=temp state=directory - name: Prepare a sparse file shell: "{{ item }}" with_items: - fallocate -l 2G rootfs.img - mkfs.ext4 -F rootfs.img - mount -t ext4 rootfs.img temp - rsync -a --xattrs {{ chrootpath }}/ temp/ - umou...
<|file_sep|>original/utils/packaging/packaging_redhat.yml --- - name: Create temporary mount point file: dest=temp state=directory - name: Prepare a sparse file shell: "{{ item }}" with_items: - fallocate -l 2G rootfs.img - mkfs.btrfs rootfs.img - mount -t btrfs -o compress=lzo rootf...
2ee93676860c54d3ca6e1bfb4f6dbbe43f7559b7
utils/packaging/packaging_redhat.yml
utils/packaging/packaging_redhat.yml
YAML
<|file_sep|>LoginItemController.swift.diff original: self.launchAtLogin(self.enabled) updated: let flag = (self.enabled ? 1 : 0) as Boolean if SMLoginItemSetEnabled(helperBundle.bundleIdentifier, flag) == 0 { NSLog("SMLoginItemSetEnabled failed") } <|file...
// Singleton Implementation class var sharedController: LoginItemController { struct Static { static let instance: LoginItemController = LoginItemController() } return Static.instance } override init() { self.mainBundle = NSBundle.mainBundle() ...
<|file_sep|>LoginItemController.swift.diff original: self.launchAtLogin(self.enabled) updated: let flag = (self.enabled ? 1 : 0) as Boolean if SMLoginItemSetEnabled(helperBundle.bundleIdentifier, flag) == 0 { NSLog("SMLoginItemSetEnabled failed") } <|file...
7b9011224d32f62201d078acf74352dd49b85cb7
LoginItemController.swift
LoginItemController.swift
Swift
<|file_sep|>original/auth/pop3/lib.php // Authentication by looking up a POP3 server function auth_user_login ($username, $password) { // Returns true if the username and password work // and false if they are wrong or don't exist. global $CFG; switch ($CFG->auth_pop3type) { case "pop3": ...
// Authentication by looking up a POP3 server function auth_user_login ($username, $password) { // Returns true if the username and password work // and false if they are wrong or don't exist. global $CFG; switch ($CFG->auth_pop3type) { case "pop3": $host = "{".$CFG->auth_pop3host....
<|file_sep|>original/auth/pop3/lib.php // Authentication by looking up a POP3 server function auth_user_login ($username, $password) { // Returns true if the username and password work // and false if they are wrong or don't exist. global $CFG; switch ($CFG->auth_pop3type) { case "pop3": ...
17b88d19106554e7fb6c920c388f1f56c0ecdfeb
auth/pop3/lib.php
auth/pop3/lib.php
PHP
<|file_sep|>original/tabulo.gemspec spec.description = "Enumerable ASCII table" spec.homepage = "https://github.com/matt-harvey/tabulo" spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = "exe" ...
spec.summary = "Enumerable ASCII table" spec.description = "Enumerable ASCII table" spec.homepage = "https://github.com/matt-harvey/tabulo" spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir ...
<|file_sep|>original/tabulo.gemspec spec.description = "Enumerable ASCII table" spec.homepage = "https://github.com/matt-harvey/tabulo" spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = "exe" ...
b3d17da98c3ee3342941b9a68ff4429eeeaa581d
tabulo.gemspec
tabulo.gemspec
Ruby
<|file_sep|>original/Manager/UserManager.php return $user; } /** * @param int $userId * * @return UserInterface|null */ public function getUserById($userId) { $user = $this->userRepository->find($userId); return $user; } /** * Current user has ...
return $user; } /** * @param int $userId * * @return UserInterface|null */ public function getUserById($userId) { if (!$userId) { return null; } $user = $this->userRepository->find($userId); return $user; } /** * Cu...
<|file_sep|>original/Manager/UserManager.php return $user; } /** * @param int $userId * * @return UserInterface|null */ public function getUserById($userId) { $user = $this->userRepository->find($userId); return $user; } /** * Current user has ...
eea54212101553a61e0c0c37113c4eabeff78509
Manager/UserManager.php
Manager/UserManager.php
PHP
<|file_sep|>matador/core/management.py.diff original: def setup_logging(logging_destination='console', verbosity='DEBUG'): updated: def _setup_logging(logging_destination='console', verbosity='INFO'): <|file_sep|>matador/core/management.py.diff original: setup_logging() updated: <|file_sep|>matador/core/management...
'-l', '--logging', type=str, default='console', dest='logging_destination', help='logging (none, console or file)') parser.add_argument( '-v', '--verbosity', type=str, default='INFO', help='Logging level. DEBUG, INFO, ERROR or CRITICAL') ...
<|file_sep|>matador/core/management.py.diff original: def setup_logging(logging_destination='console', verbosity='DEBUG'): updated: def _setup_logging(logging_destination='console', verbosity='INFO'): <|file_sep|>matador/core/management.py.diff original: setup_logging() updated: <|file_sep|>matador/core/management...
8530e491d600f6a03b163d885c5febee0e654cc5
matador/core/management.py
matador/core/management.py
Python
<|file_sep|>original/source/views/layouts/partials/_proposition_header.html.erb <% if content_for?(:proposition_header) %> <%= yield(:proposition_header) %> <% else %> <div class="header-proposition"> <div class="content"> <a href="/" id="proposition-name"><%= "#{config_item(...
<% if content_for?(:proposition_header) %> <%= yield(:proposition_header) %> <% else %> <div class="header-proposition"> <div class="content"> <a href="/" id="proposition-name"><%= "#{config_item(:proposition_title)}" %></a> <%= yield(:proposition_links) %> ...
<|file_sep|>original/source/views/layouts/partials/_proposition_header.html.erb <% if content_for?(:proposition_header) %> <%= yield(:proposition_header) %> <% else %> <div class="header-proposition"> <div class="content"> <a href="/" id="proposition-name"><%= "#{config_item(...
23a2969c430600a7f339863d934367f1192d344e
source/views/layouts/partials/_proposition_header.html.erb
source/views/layouts/partials/_proposition_header.html.erb
HTML+ERB
<|file_sep|>original/.github/workflows/node.js.yml <|file_sep|>current/.github/workflows/node.js.yml <|file_sep|>updated/.github/workflows/node.js.yml
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Node.js CI on: push: branches: [ master ] pull_re...
<|file_sep|>original/.github/workflows/node.js.yml <|file_sep|>current/.github/workflows/node.js.yml <|file_sep|>updated/.github/workflows/node.js.yml # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https:/...
ad35e2368399a81ac14428cbc928cb74eac0fd34
.github/workflows/node.js.yml
.github/workflows/node.js.yml
YAML
<|file_sep|>.travis.yml.diff original: - sudo apt-get update - sudo apt-get install -qq p7zip-full updated: # sudo apt-get update # sudo apt-get install -qq p7zip-full <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 branches: only: - master before_install: # required libs for android...
language: java jdk: - oraclejdk8 branches: only: - master before_install: # required libs for android build tools # sudo apt-get update # sudo apt-get install -qq p7zip-full # sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch # newest Android NDK # wget http://dl.google.c...
<|file_sep|>.travis.yml.diff original: - sudo apt-get update - sudo apt-get install -qq p7zip-full updated: # sudo apt-get update # sudo apt-get install -qq p7zip-full <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 branches: only: - master before_install: # required libs for android...
96c3e554f4e49f7d8f3c538b4258eb5b83265412
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.0.0 - 2.1.0
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.0
1dc668522c7e416e9bc028fe8a9ff38e8a270278
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/people/_pending_updates.erb <% if @person.pending_updates.count > 0 %> <p class="highlight" style="width:400px;"> <%= image_tag 'clock.gif', :alt => 'Pending Updates', :class => 'icon' %> An update to this profile is <% if @logged_in.admin?(:update_profiles) %> <%= lin...
<% if @person.pending_updates.count > 0 %> <p class="highlight" style="width:400px;"> <%= image_tag 'clock.gif', :alt => 'Pending Updates', :class => 'icon' %> An update to this profile is <% if @logged_in.admin?(:edit_profiles) %> <%= link_to 'pending approval', administration_updates_path %>. ...
<|file_sep|>original/app/views/people/_pending_updates.erb <% if @person.pending_updates.count > 0 %> <p class="highlight" style="width:400px;"> <%= image_tag 'clock.gif', :alt => 'Pending Updates', :class => 'icon' %> An update to this profile is <% if @logged_in.admin?(:update_profiles) %> <%= lin...
1499afd54540bf763c6a4d9bf638b95c522a88a9
app/views/people/_pending_updates.erb
app/views/people/_pending_updates.erb
HTML+ERB
<|file_sep|>original/recipe_modules/raw_io/test_api.py <|file_sep|>current/recipe_modules/raw_io/test_api.py <|file_sep|>updated/recipe_modules/raw_io/test_api.py
from slave import recipe_test_api class RawIOTestApi(recipe_test_api.RecipeTestApi): # pragma: no cover @recipe_test_api.placeholder_step_data @staticmethod def output(data, retcode=None): return data, retcode
<|file_sep|>original/recipe_modules/raw_io/test_api.py <|file_sep|>current/recipe_modules/raw_io/test_api.py <|file_sep|>updated/recipe_modules/raw_io/test_api.py from slave import recipe_test_api class RawIOTestApi(recipe_test_api.RecipeTestApi): # pragma: no cover @recipe_test_api.placeholder_step_data @static...
ebbba9cfe923b86da28b9801515406efa1bdba4e
recipe_modules/raw_io/test_api.py
recipe_modules/raw_io/test_api.py
Python
<|file_sep|>original/app/assets/javascripts/umlaut/ajax_windows.js /* ajax_windows.js. Support for modal popup windows in Umlaut items. */ jQuery(document).ready(function($) { var populate_modal = function(data, textStatus, jqXHR) { data = $(data); var heading = data.find("h1, h2, h3, h4, h5, h6").eq(0).remo...
/* ajax_windows.js. Support for modal popup windows in Umlaut items. */ jQuery(document).ready(function($) { var populate_modal = function(data, textStatus, jqXHR) { data = $(data); var heading = data.find("h1, h2, h3, h4, h5, h6").eq(0).remove(); $("#modal .modal-header h3").text(heading.text()); va...
<|file_sep|>original/app/assets/javascripts/umlaut/ajax_windows.js /* ajax_windows.js. Support for modal popup windows in Umlaut items. */ jQuery(document).ready(function($) { var populate_modal = function(data, textStatus, jqXHR) { data = $(data); var heading = data.find("h1, h2, h3, h4, h5, h6").eq(0).remo...
e825b025f3e7e2c96cf73ae669e70161bb1e6b7e
app/assets/javascripts/umlaut/ajax_windows.js
app/assets/javascripts/umlaut/ajax_windows.js
JavaScript
<|file_sep|>original/tests/Unit/Provider/TumblrTest.php <|file_sep|>current/tests/Unit/Provider/TumblrTest.php <|file_sep|>updated/tests/Unit/Provider/TumblrTest.php
<?php namespace Risan\OAuth1\Test\Unit\Provider; use PHPUnit\Framework\TestCase; use Risan\OAuth1\Provider\Tumblr; use Risan\OAuth1\Signature\HmacSha1Signer; use Risan\OAuth1\Provider\ProviderInterface; class TumblrTest extends TestCase { private $tumblr; function setUp() { $this->tumblr = new T...
<|file_sep|>original/tests/Unit/Provider/TumblrTest.php <|file_sep|>current/tests/Unit/Provider/TumblrTest.php <|file_sep|>updated/tests/Unit/Provider/TumblrTest.php <?php namespace Risan\OAuth1\Test\Unit\Provider; use PHPUnit\Framework\TestCase; use Risan\OAuth1\Provider\Tumblr; use Risan\OAuth1\Signature\HmacSha1...
806bde8a749fff338b0be0a80501263d1263aecd
tests/Unit/Provider/TumblrTest.php
tests/Unit/Provider/TumblrTest.php
PHP
<|file_sep|>original/requirements.txt # we use the official Brotli module on CPython and the CFFI-based # extension 'brotlipy' on PyPy brotli==1.0.9; platform_python_implementation != "PyPy" brotlicffi==1.0.9.2; platform_python_implementation == "PyPy" unicodedata2==13.0.0.post2; python_version < '3.9' and platform_pyt...
# we use the official Brotli module on CPython and the CFFI-based # extension 'brotlipy' on PyPy brotli==1.0.9; platform_python_implementation != "PyPy" brotlicffi==1.0.9.2; platform_python_implementation == "PyPy" unicodedata2==13.0.0.post2; python_version < '3.9' and platform_python_implementation != "PyPy" scipy==1....
<|file_sep|>original/requirements.txt # we use the official Brotli module on CPython and the CFFI-based # extension 'brotlipy' on PyPy brotli==1.0.9; platform_python_implementation != "PyPy" brotlicffi==1.0.9.2; platform_python_implementation == "PyPy" unicodedata2==13.0.0.post2; python_version < '3.9' and platform_pyt...
a25707c3e13dcd88b6ba96dd64d91e9d6b357cf8
requirements.txt
requirements.txt
Text
<|file_sep|>Client/MySQL-Driver/src/main/java/net/sourceforge/javydreamercsw/mysql/driver/Installer.java.diff original: public static final String mysqlDriverClass = "com.mysql.jdbc.Driver"; private static final Logger LOG = Logger.getLogger(Installer.class.getCanonicalName()); updated: public s...
= Logger.getLogger(Installer.class.getCanonicalName()); @Override public void restored() { WindowManager.getDefault().invokeWhenUIReady(() -> { //Check drivers if (JDBCDriverManager.getDefault().getDrivers(DRIVER).length == 0) { try { ...
<|file_sep|>Client/MySQL-Driver/src/main/java/net/sourceforge/javydreamercsw/mysql/driver/Installer.java.diff original: public static final String mysqlDriverClass = "com.mysql.jdbc.Driver"; private static final Logger LOG = Logger.getLogger(Installer.class.getCanonicalName()); updated: public s...
f0567acb9b6aa5f5abf4c424f9b900ce63638cb0
Client/MySQL-Driver/src/main/java/net/sourceforge/javydreamercsw/mysql/driver/Installer.java
Client/MySQL-Driver/src/main/java/net/sourceforge/javydreamercsw/mysql/driver/Installer.java
Java
<|file_sep|>circle.yml.diff original: updated: machine: environment: GODIST: "go1.7.1.linux-amd64.tar.gz" <|file_sep|>original/circle.yml test: override: - bash gofmt.sh - go tool vet . - case $CIRCLE_NODE_INDEX in 0) go test -timeout 60s -v ./... ;; 1) GORACE="halt_on_error=1" g...
machine: environment: GODIST: "go1.7.1.linux-amd64.tar.gz" test: override: - go --version - bash gofmt.sh - go tool vet . - case $CIRCLE_NODE_INDEX in 0) go test -timeout 60s -v ./... ;; 1) GORACE="halt_on_error=1" go test -race -timeout 120s -v ./...;; esac: p...
<|file_sep|>circle.yml.diff original: updated: machine: environment: GODIST: "go1.7.1.linux-amd64.tar.gz" <|file_sep|>original/circle.yml test: override: - bash gofmt.sh - go tool vet . - case $CIRCLE_NODE_INDEX in 0) go test -timeout 60s -v ./... ;; 1) GORACE="halt_on_error=1" g...
9edc7b6f3e9d29555b7e0dcd7d1cf570b76fca05
circle.yml
circle.yml
YAML
<|file_sep|>assets/javascripts/personal_message_toggler.js.diff original: updated: $formSubmitButton = $("#request_form input[type='submit']")[0]; <|file_sep|>assets/javascripts/personal_message_toggler.js.diff original: updated: $formSubmitButton.disabled = true; } <|file_sep|>assets/javascripts/personal...
if ($switcherFieldGroup.length) { // If an error is showing they must have selected 'no' // so set this and don't hide the form. if ($(".errorExplanation").length) { $("#request_personal_switch_no").prop("checked", true); } else { $switcherFieldGroup.addClass("personal_request_switcher_foc...
<|file_sep|>assets/javascripts/personal_message_toggler.js.diff original: updated: $formSubmitButton = $("#request_form input[type='submit']")[0]; <|file_sep|>assets/javascripts/personal_message_toggler.js.diff original: updated: $formSubmitButton.disabled = true; } <|file_sep|>assets/javascripts/personal...
7047cafe591c9ffcf53fd882d71cea39eabeb92f
assets/javascripts/personal_message_toggler.js
assets/javascripts/personal_message_toggler.js
JavaScript
<|file_sep|>original/lib/SwiftDemangle/CMakeLists.txt SwiftDemangle.cpp MangleHack.cpp LINK_LIBRARIES swiftBasic) swift_install_in_component(compiler TARGETS swiftDemangle LIBRARY DESTINATION "lib${LLVM_LIBDIR_SUFFIX}" ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}") # Create a compatibility symlink....
add_swift_library(swiftDemangle SHARED SwiftDemangle.cpp MangleHack.cpp LINK_LIBRARIES swiftBasic) swift_install_in_component(compiler TARGETS swiftDemangle LIBRARY DESTINATION "lib${LLVM_LIBDIR_SUFFIX}" ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}")
<|file_sep|>original/lib/SwiftDemangle/CMakeLists.txt SwiftDemangle.cpp MangleHack.cpp LINK_LIBRARIES swiftBasic) swift_install_in_component(compiler TARGETS swiftDemangle LIBRARY DESTINATION "lib${LLVM_LIBDIR_SUFFIX}" ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}") # Create a compatibility symlink....
af07b626d44e5d46c428f710ac6431918f2a70e7
lib/SwiftDemangle/CMakeLists.txt
lib/SwiftDemangle/CMakeLists.txt
Text
<|file_sep|>original/test/IDE/print_clang_header.swift // RUN: echo '#include "header.h"' > %t.m // RUN: %target-swift-ide-test -source-filename %s -print-header -header-to-print %S/Inputs/header.h --cc-args -fsyntax-only %t.m -I %S/Inputs > %t.txt // RUN: FileCheck -input-file=%t.txt %s // CHECK: func doSomethingInHe...
// RUN: echo '#include "header.h"' > %t.m // RUN: %target-swift-ide-test -source-filename %s -print-header -header-to-print %S/Inputs/header.h --cc-args -Xclang -triple -Xclang %target-triple -fsyntax-only %t.m -I %S/Inputs > %t.txt // RUN: FileCheck -input-file=%t.txt %s // CHECK: func doSomethingInHead(arg: Int32) /...
<|file_sep|>original/test/IDE/print_clang_header.swift // RUN: echo '#include "header.h"' > %t.m // RUN: %target-swift-ide-test -source-filename %s -print-header -header-to-print %S/Inputs/header.h --cc-args -fsyntax-only %t.m -I %S/Inputs > %t.txt // RUN: FileCheck -input-file=%t.txt %s // CHECK: func doSomethingInHe...
0de049b6b6dba072e8a7e77c62b0da5b563c96dc
test/IDE/print_clang_header.swift
test/IDE/print_clang_header.swift
Swift
<|file_sep|>original/metadata/com.github.funkyg.funkytunes.txt Categories:Multimedia License:GPL-3.0 Web Site: Source Code:https://github.com/funkyg/funkytunes Issue Tracker:https://github.com/funkyg/funkytunes/issues Name:Funkytunes Auto Name:Funkytunes Summary:A streaming music player using torrents Description: Fun...
Categories:Multimedia License:GPL-3.0 Web Site: Source Code:https://github.com/funkyg/funkytunes Issue Tracker:https://github.com/funkyg/funkytunes/issues Auto Name:Funkytunes Summary:A streaming music player using torrents Description: Funkytunes is a BitTorrent-based music app, like Spotify or Pandora. You can strea...
<|file_sep|>original/metadata/com.github.funkyg.funkytunes.txt Categories:Multimedia License:GPL-3.0 Web Site: Source Code:https://github.com/funkyg/funkytunes Issue Tracker:https://github.com/funkyg/funkytunes/issues Name:Funkytunes Auto Name:Funkytunes Summary:A streaming music player using torrents Description: Fun...
a4565e20cb5d7d9b0304cbd406d5ef3ec598dee6
metadata/com.github.funkyg.funkytunes.txt
metadata/com.github.funkyg.funkytunes.txt
Text
<|file_sep|>original/nototools/map_pua_emoji.py <|file_sep|>current/nototools/map_pua_emoji.py <|file_sep|>updated/nototools/map_pua_emoji.py
#!/usr/bin/python # # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
<|file_sep|>original/nototools/map_pua_emoji.py <|file_sep|>current/nototools/map_pua_emoji.py <|file_sep|>updated/nototools/map_pua_emoji.py #!/usr/bin/python # # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in ...
cc79ee252e09ade17961d03265c61a87e270bd88
nototools/map_pua_emoji.py
nototools/map_pua_emoji.py
Python
<|file_sep|>setup.py.diff original: import __active_directory_version__ as __version__ updated: import __active_directory_version__ as _version <|file_sep|>original/setup.py import __active_directory_version__ as __version__ here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, 'README...
import __active_directory_version__ as _version here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='active_directory', version=_version.__VERSION__, description='Active Directory', ...
<|file_sep|>setup.py.diff original: import __active_directory_version__ as __version__ updated: import __active_directory_version__ as _version <|file_sep|>original/setup.py import __active_directory_version__ as __version__ here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, 'README...
765e060897d7823547098d76afbfa72c0fdb191c
setup.py
setup.py
Python
<|file_sep|>lib/pg_drive/uploader.rb.diff original: updated: app_name = Rails.application.class.parent_name <|file_sep|>original/lib/pg_drive/uploader.rb Drive = Google::Apis::DriveV2 AUTH_SCOPE = "https://www.googleapis.com/auth/drive".freeze RETRY_COUNT = 3 class << self def call(conte...
Drive = Google::Apis::DriveV2 AUTH_SCOPE = "https://www.googleapis.com/auth/drive".freeze RETRY_COUNT = 3 class << self def call(content) drive = Drive::DriveService.new drive.authorization = credentials app_name = Rails.application.class.parent_name drive.insert_f...
<|file_sep|>lib/pg_drive/uploader.rb.diff original: updated: app_name = Rails.application.class.parent_name <|file_sep|>original/lib/pg_drive/uploader.rb Drive = Google::Apis::DriveV2 AUTH_SCOPE = "https://www.googleapis.com/auth/drive".freeze RETRY_COUNT = 3 class << self def call(conte...
86baf275ca67369914662be7acb0b29697cfac26
lib/pg_drive/uploader.rb
lib/pg_drive/uploader.rb
Ruby