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/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt
docker==2.6.1 molecule==1.25.0 pytest==3.3.0 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1
<|file_sep|>original/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.2.5 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt docker==2.6.1 ...
9905949dd17c9e8bc987a1a8682e7deeda3e7732
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md # Vell [![Build Status](https://travis-ci.org/rkcpi/vell.svg?branch=master)](https://travis-ci.org/rkcpi/vell) Vell is a lightweigt repository management tool for RPM repositories. Every operation is done via Vell's REST API. ## Installation Make sure that the `createrepo` package is ...
# Vell [![Build Status](https://travis-ci.org/rkcpi/vell.svg?branch=master)](https://travis-ci.org/rkcpi/vell) Vell is a lightweigt repository management tool for RPM repositories. Every operation is done via Vell's REST API. ## Installation Vell is still under development and no stable version has been released as...
<|file_sep|>original/README.md # Vell [![Build Status](https://travis-ci.org/rkcpi/vell.svg?branch=master)](https://travis-ci.org/rkcpi/vell) Vell is a lightweigt repository management tool for RPM repositories. Every operation is done via Vell's REST API. ## Installation Make sure that the `createrepo` package is ...
f239517cb6463a58ad6f2ecc0e58c34ccc56b97f
README.md
README.md
Markdown
<|file_sep|>smartprompt.go.diff original: "errors" updated: <|file_sep|>smartprompt.go.diff original: func loadPromptPattern() (string, error) { updated: func loadPromptPattern() string { <|file_sep|>smartprompt.go.diff original: return "", errors.New("Invalid arguments") updated: return "{GREEN:bold}{user}@{host...
. "github.com/fholiveira/smartprompt/parsers" ) func loadPromptPattern() string { args := os.Args[1:] if len(args) != 1 { return "{GREEN:bold}{user}@{host} {BLUE:bold}{location:vimstyle} {git} {CYAN:bold}{prompt:symbol} {TEXT:reset}" } return args[0] } func main() { prompt := loadPromptPattern() prompt, _...
<|file_sep|>smartprompt.go.diff original: "errors" updated: <|file_sep|>smartprompt.go.diff original: func loadPromptPattern() (string, error) { updated: func loadPromptPattern() string { <|file_sep|>smartprompt.go.diff original: return "", errors.New("Invalid arguments") updated: return "{GREEN:bold}{user}@{host...
4df939f9e31260b3e59eba285ea85330caa86df5
smartprompt.go
smartprompt.go
Go
<|file_sep|>original/units/12-training-and-test-set/README.md * a training set * and a test set. If your ML model learns too much on the data set, that the performance might not be great on a slightly different one. The performance on the test set shouldn't be that different from the performance on the training set, ...
* a training set * and a test set. If your ML model learns too much on the data set, that the performance might not be great on a slightly different one. The performance on the test set shouldn't be that different from the performance on the training set, this would mean that the ML model learned *true* relationships...
<|file_sep|>original/units/12-training-and-test-set/README.md * a training set * and a test set. If your ML model learns too much on the data set, that the performance might not be great on a slightly different one. The performance on the test set shouldn't be that different from the performance on the training set, ...
77eada322cdb81fb90bac8aca5fe003a489925f4
units/12-training-and-test-set/README.md
units/12-training-and-test-set/README.md
Markdown
<|file_sep|>circle.yml.diff original: updated: - pip install -r requirements.txt <|file_sep|>original/circle.yml dependencies: override: - python setup.py install - pip install -r requirements.txt test: override: - mv pymatgen pmg - nosetests <|file_sep|>current/circle.yml dependencies: overr...
dependencies: override: - pip install -r requirements.txt - python setup.py install test: override: - mv pymatgen pmg - nosetests
<|file_sep|>circle.yml.diff original: updated: - pip install -r requirements.txt <|file_sep|>original/circle.yml dependencies: override: - python setup.py install - pip install -r requirements.txt test: override: - mv pymatgen pmg - nosetests <|file_sep|>current/circle.yml dependencies: overr...
a0c23d7ce83180d8d0a1a6412de57d556bd2d956
circle.yml
circle.yml
YAML
<|file_sep|>lib/tasks/deploy.rake.diff original: task :bundle_gems do updated: task :bundle_gems => [:environment] do <|file_sep|>original/lib/tasks/deploy.rake Dir.chdir(Rails.root) system("mkdir -p log tmp") end task :bundle_gems do puts "bundling..." Dir.chdir(Rails.root) system("bundle"...
Dir.chdir(Rails.root) system("mkdir -p log tmp") end task :bundle_gems => [:environment] do puts "bundling..." Dir.chdir(Rails.root) system("bundle") end task :db_migrate => [:environment] do Rake::Task['db:migrate'] end task :bounce_passenger do puts "restarting Passenger web...
<|file_sep|>lib/tasks/deploy.rake.diff original: task :bundle_gems do updated: task :bundle_gems => [:environment] do <|file_sep|>original/lib/tasks/deploy.rake Dir.chdir(Rails.root) system("mkdir -p log tmp") end task :bundle_gems do puts "bundling..." Dir.chdir(Rails.root) system("bundle"...
e6b29bc748a53c068e26b9db64e253ecfc8ae347
lib/tasks/deploy.rake
lib/tasks/deploy.rake
Ruby
<|file_sep|>cla_public/static-src/javascripts/modules/cookie-banner.js.diff original: updated: window.GOVUK.Modules.CookieBanner.prototype.isInCookiesPage = function () { return window.location.pathname === '/cookie-settings' } <|file_sep|>original/cla_public/static-src/javascripts/modules/cookie-banner.js w...
'brexit': false } window.GOVUK.setCookie('cookie_policy', JSON.stringify(defaultConsent), { days: 365 }) } window.GOVUK.approveAllCookieTypes = function () { var approvedConsent = { 'essential': true, 'usage': true, 'brexit': true } window.GOVUK.setCookie('cookie_policy...
<|file_sep|>cla_public/static-src/javascripts/modules/cookie-banner.js.diff original: updated: window.GOVUK.Modules.CookieBanner.prototype.isInCookiesPage = function () { return window.location.pathname === '/cookie-settings' } <|file_sep|>original/cla_public/static-src/javascripts/modules/cookie-banner.js w...
dc7e4ee88250241d6950b4bdd6da0dc899050ccb
cla_public/static-src/javascripts/modules/cookie-banner.js
cla_public/static-src/javascripts/modules/cookie-banner.js
JavaScript
<|file_sep|>circle.yml.diff original: # Ruby 2.3.4 - rvm-exec 2.3.4 ./spec/run-all.sh # Ruby 2.4.1 - rvm-exec 2.4.1 ./spec/run-all.sh updated: # Ruby 2.2.8 - rvm-exec 2.2.8 ./spec/run-all.sh # Ruby 2.3.5 - rvm-exec 2.3.5 ./spec/run-all.sh # Ruby 2.4.2 - rvm-exec 2.4.2 ./spec/run-...
dependencies: override: - sudo apt-get update; sudo apt-get install realpath wget - wget https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 && mv cloud_sql_proxy.linux.amd64 $HOME/cloud_sql_proxy && chmod +x $HOME/cloud_sql_proxy - sudo mkdir /cloudsql && sudo chmod 0777 /cloudsql # T...
<|file_sep|>circle.yml.diff original: # Ruby 2.3.4 - rvm-exec 2.3.4 ./spec/run-all.sh # Ruby 2.4.1 - rvm-exec 2.4.1 ./spec/run-all.sh updated: # Ruby 2.2.8 - rvm-exec 2.2.8 ./spec/run-all.sh # Ruby 2.3.5 - rvm-exec 2.3.5 ./spec/run-all.sh # Ruby 2.4.2 - rvm-exec 2.4.2 ./spec/run-...
561c458bfe5e90db7bdbe2e727f45a99c39ae287
circle.yml
circle.yml
YAML
<|file_sep|>original/features/convert_number_to_words.feature Feature: Convert number to words Write some code that will accept an amount and convert it to the appropriate string representation. Example: Convert 2523.04 to "Two thousand five hundred twenty-three and 04/100 dollars" Scenario: I need help writi...
Feature: Convert number to words Write some code that will accept an amount and convert it to the appropriate string representation. Example: Convert 2523.04 to "Two thousand five hundred twenty-three and 04/100 dollars" Scenario Outline: I need help writing amounts on my checks When I run `convert <Amoun...
<|file_sep|>original/features/convert_number_to_words.feature Feature: Convert number to words Write some code that will accept an amount and convert it to the appropriate string representation. Example: Convert 2523.04 to "Two thousand five hundred twenty-three and 04/100 dollars" Scenario: I need help writi...
49b0dfc3d86755ff8c7522dacde48d25906187e8
features/convert_number_to_words.feature
features/convert_number_to_words.feature
Cucumber
<|file_sep|>original/package.json ], "repository": { "type": "git", "url": "https://github.com/wikimedia/jquery-client" }, "scripts": { "test": "eslint . && karma start", "doc": "jsduck" }, "devDependencies": { "jquery": "1.11.2", "eslint-config-wikimedia": "0.5.0", "eslint": "4....
], "repository": { "type": "git", "url": "https://github.com/wikimedia/jquery-client" }, "scripts": { "test": "eslint . && karma start", "doc": "jsduck" }, "devDependencies": { "jquery": "3.2.1", "eslint-config-wikimedia": "0.5.0", "eslint": "4.17.0", "karma": "1.7.1", "k...
<|file_sep|>original/package.json ], "repository": { "type": "git", "url": "https://github.com/wikimedia/jquery-client" }, "scripts": { "test": "eslint . && karma start", "doc": "jsduck" }, "devDependencies": { "jquery": "1.11.2", "eslint-config-wikimedia": "0.5.0", "eslint": "4....
e9af6e34cb6073074ace1e1b9eaccaccb3d0aa29
package.json
package.json
JSON
<|file_sep|>original/docs/api/mixin.md # Mixin VeeValidate injects a mixin that augments your Vue instances with the following properties: - `$validator`: A `Validator` instance. - `errors`: An `ErrorBag` instance. - `fields` An object containing state flags for the validated fields. ::: tip You can choose to not ...
# Mixin VeeValidate injects a mixin that augments your Vue instances with the following properties: - `$validator`: A `Validator` instance. - `errors`: An `ErrorBag` instance. - `fields` An object containing state flags for the validated fields. ::: tip You can choose to not automatically inject those properties i...
<|file_sep|>original/docs/api/mixin.md # Mixin VeeValidate injects a mixin that augments your Vue instances with the following properties: - `$validator`: A `Validator` instance. - `errors`: An `ErrorBag` instance. - `fields` An object containing state flags for the validated fields. ::: tip You can choose to not ...
b7f791a952e84ddf8808f739227a3302adcf9d79
docs/api/mixin.md
docs/api/mixin.md
Markdown
<|file_sep|>scripts/zpe.py.diff original: _logger.info("{:<10s}{:<20s}".format("atom", "freq_type")) _logger.info("-"*25) updated: _logger.info("{:<10s}{:<10s}{:<20s}".format("atom", "type", "freq_type")) _logger.info("-"*35) # Get atom types. atom_types = [] for t, n in zip(poscar.atoms, p...
_logger.info("{:<10s}{:<10s}{:<20s}".format("atom", "type", "freq_type")) _logger.info("-"*35) # Get atom types. atom_types = [] for t, n in zip(poscar.atoms, poscar.atoms_num): atom_types += [t]*n idx = 0 tfs = poscar.tf.tolist() for atom_idx, tf in enumerate(tfs): if ...
<|file_sep|>scripts/zpe.py.diff original: _logger.info("{:<10s}{:<20s}".format("atom", "freq_type")) _logger.info("-"*25) updated: _logger.info("{:<10s}{:<10s}{:<20s}".format("atom", "type", "freq_type")) _logger.info("-"*35) # Get atom types. atom_types = [] for t, n in zip(poscar.atoms, p...
fe451116ffcb12621600310b6d4ca9b6316494ff
scripts/zpe.py
scripts/zpe.py
Python
<|file_sep|>original/docs/basic-example.md ```js let mix = require('laravel-mix'); mix.sass('src/app.sass', 'dist') .js('src/app.js', 'dist'); ``` Done. Simple, right? 1. Compile the Sass file, `./src/app.sass`, to `./dist/app.sass` 2. Bundle all JavaScript \(and any required modules\) at `./src/app.js` to `./di...
```js let mix = require('laravel-mix'); mix.sass('src/app.sass', 'dist') .js('src/app.js', 'dist'); ``` Done. Simple, right? 1. Compile the Sass file, `./src/app.sass`, to `./dist/app.css` 2. Bundle all JavaScript \(and any required modules\) at `./src/app.js` to `./dist/app.js`. With this configuration in plac...
<|file_sep|>original/docs/basic-example.md ```js let mix = require('laravel-mix'); mix.sass('src/app.sass', 'dist') .js('src/app.js', 'dist'); ``` Done. Simple, right? 1. Compile the Sass file, `./src/app.sass`, to `./dist/app.sass` 2. Bundle all JavaScript \(and any required modules\) at `./src/app.js` to `./di...
5d9decece36e4c2d90e69fd3c395203e1c69a2ec
docs/basic-example.md
docs/basic-example.md
Markdown
<|file_sep|>original/appinfo/info.xml <?xml version="1.0"?> <info> <id>apporder</id> <name>AppOrder</name> <description>Sort apps in the menu with drag and drop</description> <version>0.1.1</version> <licence>AGPL</licence> <author>jus</author> <dependencies> <owncloud min-version="7...
<?xml version="1.0"?> <info> <id>apporder</id> <name>AppOrder</name> <description>Sort apps in the menu with drag and drop</description> <version>0.1.1</version> <licence>AGPL</licence> <author>jus</author> <dependencies> <owncloud min-version="7.0" max-version="9.2" /> <next...
<|file_sep|>original/appinfo/info.xml <?xml version="1.0"?> <info> <id>apporder</id> <name>AppOrder</name> <description>Sort apps in the menu with drag and drop</description> <version>0.1.1</version> <licence>AGPL</licence> <author>jus</author> <dependencies> <owncloud min-version="7...
3559a8974bb05af12d40a3212d74599083377094
appinfo/info.xml
appinfo/info.xml
XML
<|file_sep|>xchange-gemini/src/main/resources/gemini.json.diff original: updated: }, "ZEC/USD": { "price_scale": 2, "min_amount": 0.001 }, "BTC/ZEC": { "price_scale": 5, "min_amount": 0.001 }, "ETH/ZEC": { "price_scale": 4, "min_amount": 0.001 <|file_sep|>ori...
"ETH/ZEC": { "price_scale": 4, "min_amount": 0.001 } }, "currencies": { "BTC": { "scale": 8 }, "USD": { "scale": 2 }, "ETH": { "scale": 6 }, "ZEC": { "scale": 6 } } }
<|file_sep|>xchange-gemini/src/main/resources/gemini.json.diff original: updated: }, "ZEC/USD": { "price_scale": 2, "min_amount": 0.001 }, "BTC/ZEC": { "price_scale": 5, "min_amount": 0.001 }, "ETH/ZEC": { "price_scale": 4, "min_amount": 0.001 <|file_sep|>ori...
55aff23f680c16109fdf98bf07f1ae9cb020372e
xchange-gemini/src/main/resources/gemini.json
xchange-gemini/src/main/resources/gemini.json
JSON
<|file_sep|>distarray/tests/test_client.py.diff original: updated: import numpy as np <|file_sep|>original/distarray/tests/test_client.py class TestDistArrayContext(unittest.TestCase): def setUp(self): self.client = Client() self.dv = self.client[:] def test_create_DAC(self): '''Can...
'''Can we create a plain vanilla context?''' dac = DistArrayContext(self.dv) self.assertIs(dac.view, self.dv) def test_create_DAC_with_targets(self): '''Can we create a context with a subset of engines?''' dac = DistArrayContext(self.dv, targets=[0, 1]) self.assertIs...
<|file_sep|>distarray/tests/test_client.py.diff original: updated: import numpy as np <|file_sep|>original/distarray/tests/test_client.py class TestDistArrayContext(unittest.TestCase): def setUp(self): self.client = Client() self.dv = self.client[:] def test_create_DAC(self): '''Can...
02d7f2b946293169e3d46f84f50f2fa801a33c95
distarray/tests/test_client.py
distarray/tests/test_client.py
Python
<|file_sep|>Technotes/HelpBook5.0/5.0/en/index.markdown.diff original: updated: <|file_sep|>original/Technotes/HelpBook5.0/5.0/en/index.markdown @title NetNewsWire 5 Help [What is RSS? What are feeds?](what-is-rss.html) <|file_sep|>current/Technotes/HelpBook5.0/5.0/en/index.markdown @title NetNewsWire 5 Help [Wha...
@title NetNewsWire 5 Help [What is RSS? What are feeds?](what-is-rss.html) More topics to do… How to add a feed How to import OPML How to export OPML How to go through your articles (take special note of the space bar and the n key) Sharing to other apps, including MarsEdit and Micro.blog How to delete feeds ...
<|file_sep|>Technotes/HelpBook5.0/5.0/en/index.markdown.diff original: updated: <|file_sep|>original/Technotes/HelpBook5.0/5.0/en/index.markdown @title NetNewsWire 5 Help [What is RSS? What are feeds?](what-is-rss.html) <|file_sep|>current/Technotes/HelpBook5.0/5.0/en/index.markdown @title NetNewsWire 5 Help [Wha...
8fb1fd31935509dc026363f45ac0d17ae8608eee
Technotes/HelpBook5.0/5.0/en/index.markdown
Technotes/HelpBook5.0/5.0/en/index.markdown
Markdown
<|file_sep|>original/entry_types/scrolled/package/src/widgets/defaultNavigation/ChapterLink.module.css .chapterLinkActive { composes: typography-defaultNavigationActiveChapterLink from global; } .summary { display: none; } /* mobile view */ @media (max-width: 780px) { .summary { display: block; } } @med...
.chapterLinkActive { composes: typography-defaultNavigationActiveChapterLink from global; } .summary { display: none; } /* mobile view */ @media (max-width: 780px) { .summary { display: block; color: var(--theme-widget-on-background-color); } } @media (max-width: 780px) { .tooltipBubble { displ...
<|file_sep|>original/entry_types/scrolled/package/src/widgets/defaultNavigation/ChapterLink.module.css .chapterLinkActive { composes: typography-defaultNavigationActiveChapterLink from global; } .summary { display: none; } /* mobile view */ @media (max-width: 780px) { .summary { display: block; } } @med...
a918565ac1c4cb0215232e0337f7939d403a50e3
entry_types/scrolled/package/src/widgets/defaultNavigation/ChapterLink.module.css
entry_types/scrolled/package/src/widgets/defaultNavigation/ChapterLink.module.css
CSS
<|file_sep|>modules/middleware/vhost.go.diff original: updated: fmt.Println("Found") <|file_sep|>modules/middleware/vhost.go.diff original: updated: fmt.Println("Found without port") <|file_sep|>modules/middleware/vhost.go.diff original: updated: fmt.Println("Found catchall") <|file_sep|>original/modules/mi...
portmatch := regexp.MustCompile(":.*$") return func(c *gin.Context) { host := c.Request.Host hostwithoutport := portmatch.ReplaceAllLiteralString(host, "") fmt.Println(hostwithoutport) if plan[host] != nil { fmt.Println("Found") plan[host](c) } else if plan[hostwithoutport] != nil { fmt.Println("F...
<|file_sep|>modules/middleware/vhost.go.diff original: updated: fmt.Println("Found") <|file_sep|>modules/middleware/vhost.go.diff original: updated: fmt.Println("Found without port") <|file_sep|>modules/middleware/vhost.go.diff original: updated: fmt.Println("Found catchall") <|file_sep|>original/modules/mi...
21c391cd7e97a2baf8d89457b64424744fa088dc
modules/middleware/vhost.go
modules/middleware/vhost.go
Go
<|file_sep|>original/cordova/scripts/replace-config-env-vars.js module.exports = function(context) { const fs = context.requireCordovaModule('fs'); const cordova_util = context.requireCordovaModule('cordova-lib/src/cordova/util'); let projectRoot = cordova_util.isCordova(); let configXML = cordova_util.projec...
module.exports = function(context) { const fs = require('fs'); const cordova_util = context.requireCordovaModule('cordova-lib/src/cordova/util'); let projectRoot = cordova_util.isCordova(); let configXML = cordova_util.projectConfig(projectRoot); let data = fs.readFileSync(configXML, 'utf8'); for (var env...
<|file_sep|>original/cordova/scripts/replace-config-env-vars.js module.exports = function(context) { const fs = context.requireCordovaModule('fs'); const cordova_util = context.requireCordovaModule('cordova-lib/src/cordova/util'); let projectRoot = cordova_util.isCordova(); let configXML = cordova_util.projec...
20fa652bb202bd6d0b02e0fe56ccdff2b47ba29d
cordova/scripts/replace-config-env-vars.js
cordova/scripts/replace-config-env-vars.js
JavaScript
<|file_sep|>original/package.json "main": "src/", "license": "MIT", "repository": {}, "author": {}, "contributors": [], "bugs": {}, "engines": { "node": ">= 0.12.0" }, "scripts": { "start": "supervisor node src/" }, "dependencies": { "async": "^2.0.1", "body-parser": "^1.15.2", ...
"main": "src/", "license": "MIT", "repository": {}, "author": {}, "contributors": [], "bugs": {}, "engines": { "node": ">= 0.12.0" }, "scripts": { "start": "node src/" }, "dependencies": { "async": "^2.0.1", "body-parser": "^1.15.2", "feathers": "^2.0.1", "feathers-configur...
<|file_sep|>original/package.json "main": "src/", "license": "MIT", "repository": {}, "author": {}, "contributors": [], "bugs": {}, "engines": { "node": ">= 0.12.0" }, "scripts": { "start": "supervisor node src/" }, "dependencies": { "async": "^2.0.1", "body-parser": "^1.15.2", ...
2295a6226cc1654e6e2035aff928407adebca42a
package.json
package.json
JSON
<|file_sep|>original/test.php <?php require __DIR__ . '/vendor/autoload.php'; // Check that the extension is loaded. if ( ! extension_loaded('ds')) { echo "ds extension is not enabled\n"; exit(1); } // 'false' so that PHPUnit doesn't use "exit" PHPUnit_TextUI_Command::main(false); // Attempt to collect anyt...
<?php require __DIR__ . '/vendor/autoload.php'; // Check that the extension is loaded. if ( ! extension_loaded('ds')) { echo "ds extension is not enabled\n"; exit(1); } // 'false' so that PHPUnit doesn't use "exit" \PHPUnit\TextUI\Command::main(false); // Attempt to collect anything left over from the tests...
<|file_sep|>original/test.php <?php require __DIR__ . '/vendor/autoload.php'; // Check that the extension is loaded. if ( ! extension_loaded('ds')) { echo "ds extension is not enabled\n"; exit(1); } // 'false' so that PHPUnit doesn't use "exit" PHPUnit_TextUI_Command::main(false); // Attempt to collect anyt...
1b05b3bfefaad02bc0bef498cc89b7b992ead69c
test.php
test.php
PHP
<|file_sep|>original/buildlapse/gui.py <|file_sep|>current/buildlapse/gui.py <|file_sep|>updated/buildlapse/gui.py
# gui.py # Generic GUI crap from gi.repository import Gtk class CheckEntry(Gtk.Box): def __init__(self, labeltxt, togglef = None): Gtk.Box.__init__(self, spacing=2) self.label = Gtk.Label(labeltxt, valign=0) self.check = Gtk.CheckButton() self.pack_start(self.check, True, True, 0) ...
<|file_sep|>original/buildlapse/gui.py <|file_sep|>current/buildlapse/gui.py <|file_sep|>updated/buildlapse/gui.py # gui.py # Generic GUI crap from gi.repository import Gtk class CheckEntry(Gtk.Box): def __init__(self, labeltxt, togglef = None): Gtk.Box.__init__(self, spacing=2) self.label = Gtk....
95652f83865913dd6989374faa3ac2be8d50d981
buildlapse/gui.py
buildlapse/gui.py
Python
<|file_sep|>original/packages/pr/primitive-primvar.yaml <|file_sep|>current/packages/pr/primitive-primvar.yaml <|file_sep|>updated/packages/pr/primitive-primvar.yaml
homepage: https://sr.ht/~qrpnxz/primitive-primvar/ changelog-type: markdown hash: e4d78774d90f404e9e99e1e10271106fbf17ca10ddcc57e3c1dc50941b8552fd test-bench-deps: {} maintainer: qrpnxz@hyperlife.xyz synopsis: Unboxed variables for `Prim` values. changelog: | # Revision history for primitive-primvar ## 0.0.0.0 -- ...
<|file_sep|>original/packages/pr/primitive-primvar.yaml <|file_sep|>current/packages/pr/primitive-primvar.yaml <|file_sep|>updated/packages/pr/primitive-primvar.yaml homepage: https://sr.ht/~qrpnxz/primitive-primvar/ changelog-type: markdown hash: e4d78774d90f404e9e99e1e10271106fbf17ca10ddcc57e3c1dc50941b8552fd test-...
f3ef636dfc0b1482da04de1e2e837cdce5d543e2
packages/pr/primitive-primvar.yaml
packages/pr/primitive-primvar.yaml
YAML
<|file_sep|>lib/__tests__/ActionCable-test.js.diff original: import { ActionCableProvider, ActionCable } from '../index'; updated: import Provider, { ActionCableProvider, ActionCable } from '../index'; <|file_sep|>original/lib/__tests__/ActionCable-test.js <ActionCableProvider> <ActionCable /> </ActionCab...
<ActionCableProvider> <ActionCable> <div>Hello</div> </ActionCable> </ActionCableProvider> ); expect(node.find(ActionCable)).to.have.length(1); const div = node.find('div') expect(div).to.have.length(1); }); test('Default exporting ActionCableProvider works', () => { const node =...
<|file_sep|>lib/__tests__/ActionCable-test.js.diff original: import { ActionCableProvider, ActionCable } from '../index'; updated: import Provider, { ActionCableProvider, ActionCable } from '../index'; <|file_sep|>original/lib/__tests__/ActionCable-test.js <ActionCableProvider> <ActionCable /> </ActionCab...
594b03ceb00f0ac76ad015a7380a4c9f23903f50
lib/__tests__/ActionCable-test.js
lib/__tests__/ActionCable-test.js
JavaScript
<|file_sep|>original/script.js var el = document.createElement("input"), $el = $(el); $el.attr({type: "text", value: originalContent}); td.empty(); td.append(el); $el.focus(); $el.keypress(function(e) { if (e.which == 13) { var text = $(this), newContent = text.val(), td = text.pa...
var el = document.createElement("input"), $el = $(el); $el.attr({type: "text", value: originalContent}); td.empty(); td.append(el); $el.focus(); $el.keypress(function(e) { if (e.which == 13) { var text = $(this), newContent = text.val(), td = text.parent(); td.text(newCont...
<|file_sep|>original/script.js var el = document.createElement("input"), $el = $(el); $el.attr({type: "text", value: originalContent}); td.empty(); td.append(el); $el.focus(); $el.keypress(function(e) { if (e.which == 13) { var text = $(this), newContent = text.val(), td = text.pa...
d64de52e833ababdc322475dd58a2bab8d2594bc
script.js
script.js
JavaScript
<|file_sep|>original/lib/logging.rb require "logger" require "colorize" module Logging @loggers = {} def logger @logger ||= Logging.logger_for self.class.name end def self.logger_for(class_name) @loggers[class_name] ||= create_logger_for(class_name) end def self.create_logger_for(class_name) ...
require "logger" require "colorize" module Logging @loggers = {} def logger @logger ||= Logging.logger_for self.class.name end def log_error(error) logger.error "Error: #{error.message}" error.backtrace.each { |line| logger.error line } end def self.logger_for(class_name) @loggers[class_...
<|file_sep|>original/lib/logging.rb require "logger" require "colorize" module Logging @loggers = {} def logger @logger ||= Logging.logger_for self.class.name end def self.logger_for(class_name) @loggers[class_name] ||= create_logger_for(class_name) end def self.create_logger_for(class_name) ...
c01949f4f4cba816bcef16f3efa361e794800d03
lib/logging.rb
lib/logging.rb
Ruby
<|file_sep|>original/middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb def image_tag(path, params={}) if !params.key?(:width) && !params.key?(:height) && !path.include?('://') real_path = path real_path = File.join(images_dir, real_path) unless real_path.start_with?('/') ...
def image_tag(path, params={}) if !params.key?(:width) && !params.key?(:height) && !path.include?('://') real_path = path real_path = File.join(images_dir, real_path) unless real_path.start_with?('/') full_path = File.join(source_dir, real_path) if File.exist?(full_path) ...
<|file_sep|>original/middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb def image_tag(path, params={}) if !params.key?(:width) && !params.key?(:height) && !path.include?('://') real_path = path real_path = File.join(images_dir, real_path) unless real_path.start_with?('/') ...
f2f8a42f00b9d6860ccee354ad4ef243be14fd7d
middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb
middleman-core/lib/middleman-more/extensions/automatic_image_sizes.rb
Ruby
<|file_sep|>original/specs/kilo/driver-internal-info.rst <|file_sep|>current/specs/kilo/driver-internal-info.rst <|file_sep|>updated/specs/kilo/driver-internal-info.rst
.. This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode ==================== Driver Internal Info ==================== https://blueprints.launchpad.net/ironic/+spec/driver-internal-info Problem description =================== Drive...
<|file_sep|>original/specs/kilo/driver-internal-info.rst <|file_sep|>current/specs/kilo/driver-internal-info.rst <|file_sep|>updated/specs/kilo/driver-internal-info.rst .. This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode =======...
09777ae52d1226bb0f24f9099dba0c41056f4492
specs/kilo/driver-internal-info.rst
specs/kilo/driver-internal-info.rst
reStructuredText
<|file_sep|>original/src/MentionServiceProvider.php * @var bool */ protected $defer = false; public function boot() { $this->setup(__DIR__) ->publishConfig() ->publishViews() ->publishAssets() ->loadViews() ->loadRoutes() ...
* @var bool */ protected $defer = false; public function boot() { $config = realpath(__DIR__.'/../resources/config/mentions.php'); $views = realpath(__DIR__.'/../resources/views'); $script = realpath(__DIR__.'/../resources/assets'); $this->publishes([ ...
<|file_sep|>original/src/MentionServiceProvider.php * @var bool */ protected $defer = false; public function boot() { $this->setup(__DIR__) ->publishConfig() ->publishViews() ->publishAssets() ->loadViews() ->loadRoutes() ...
af24758ee7e29854b89ee61d2507e3c99e973e01
src/MentionServiceProvider.php
src/MentionServiceProvider.php
PHP
<|file_sep|>.vscode/settings.json.diff original: updated: "marko", <|file_sep|>original/.vscode/settings.json "minmax", "mixins", "mqpacker", "noopener", "ontouchstart", "plusplus", "polyfill", "precompiled", "preload", "presets", "readonly", "rgba", "transpiled"...
"mixins", "mqpacker", "noopener", "ontouchstart", "plusplus", "polyfill", "precompiled", "preload", "presets", "readonly", "rgba", "transpiled", "typeof", "upsert", "visibilitychange", "vuex", "woff", "xlink", "xsite" ] }
<|file_sep|>.vscode/settings.json.diff original: updated: "marko", <|file_sep|>original/.vscode/settings.json "minmax", "mixins", "mqpacker", "noopener", "ontouchstart", "plusplus", "polyfill", "precompiled", "preload", "presets", "readonly", "rgba", "transpiled"...
d56ade8daab69580ac71aeba69d60d048d6e69e4
.vscode/settings.json
.vscode/settings.json
JSON
<|file_sep|>original/README.md ```c++ // Use a regular function: int foo(int a, int b) { return a + b; } auto memo_foo = memoize(foo); int x = memo_foo(1, 2); // Or a lambda: auto memo_lambda = memoize((int a, int b) { return a + b; }); int y = memo_lambda(1, 2); // Or a recursive function: auto fib = memoize<si...
```c++ // Use a regular function: int foo(int a, int b) { return a + b; } auto memo_foo = memoize(foo); int x = memo_foo(1, 2); // Or a lambda: auto memo_lambda = memoize([](int a, int b) { return a + b; }); int y = memo_lambda(1, 2); // Or a recursive function: auto fib = memoize<size_t(size_t)>([](auto &fib, s...
<|file_sep|>original/README.md ```c++ // Use a regular function: int foo(int a, int b) { return a + b; } auto memo_foo = memoize(foo); int x = memo_foo(1, 2); // Or a lambda: auto memo_lambda = memoize((int a, int b) { return a + b; }); int y = memo_lambda(1, 2); // Or a recursive function: auto fib = memoize<si...
8e4355a5cb2a8491ed83416b1c7fdd6f885c6509
README.md
README.md
Markdown
<|file_sep|>original/README.rst - Left click to draw a point Advanced Operations ------------------- - Move a Rectangle, Ellipse, or Lasso: Hold SPACE and Left click within the shape to drag - Build complex shapes + Hold SHIFT and create a new shape for a UNION + Hold CTRL and create a new shape for ...
- Move a Rectangle, Ellipse, or Lasso: Hold SPACE and Left click within the shape to drag - Build complex shapes + Hold SHIFT and create a new shape for a UNION + Hold CTRL and create a new shape for an INTERSECTION + Hold SHIFT+CTRL and create a new shape for a SUBTRACTION + You can switch bet...
<|file_sep|>original/README.rst - Left click to draw a point Advanced Operations ------------------- - Move a Rectangle, Ellipse, or Lasso: Hold SPACE and Left click within the shape to drag - Build complex shapes + Hold SHIFT and create a new shape for a UNION + Hold CTRL and create a new shape for ...
d65b386502ac64faf29f6469f327635d19fc5629
README.rst
README.rst
reStructuredText
<|file_sep|>app/views/items/show.html.erb.diff original: updated: <|file_sep|>original/app/views/items/show.html.erb <div class="individual-item-show"> <h2><%= @item.name %></h2> <% if is_admin? %> <p><%= link_to 'Edit Item', edit_item_path %> | <%= link_to 'Delete Item', @item, method: :delete %> </...
<h2><%= @item.name %></h2> <% if is_admin? %> <p><%= link_to 'Edit Item', edit_item_path %> | <%= link_to 'Delete Item', @item, method: :delete %> </p> <% end %> <% if !@item.image.blank? %> <img src="<%= @item.image %>" width="500" height="400"> <% else %> <img src="https://stat...
<|file_sep|>app/views/items/show.html.erb.diff original: updated: <|file_sep|>original/app/views/items/show.html.erb <div class="individual-item-show"> <h2><%= @item.name %></h2> <% if is_admin? %> <p><%= link_to 'Edit Item', edit_item_path %> | <%= link_to 'Delete Item', @item, method: :delete %> </...
a7a70c37cee80481942d630020d299be3ae4f658
app/views/items/show.html.erb
app/views/items/show.html.erb
HTML+ERB
<|file_sep|>original/zshrc/main.zsh # load oh-my-zsh source $HOME/.dotfiles/zshrc/oh-my-zsh.zsh # load pure theme source $HOME/.dotfiles/zshrc/pure.zsh alias gr='cd $(git root)' export EDITOR=vim alias ls='ls -Gh' alias subs='filebot -get-subtitles' alias mou='open -a Mou' alias subl='Open -a "Sublime Text 2"' # ZM...
# load oh-my-zsh source $HOME/.dotfiles/zshrc/oh-my-zsh.zsh # load pure theme source $HOME/.dotfiles/zshrc/pure.zsh alias gr='cd $(git root)' export EDITOR=vim alias ls='ls -Gh' alias subs='filebot -get-subtitles' alias mou='open -a Mou' alias subl='Open -a "Sublime Text 2"' alias br='Open -a "Brackets"' # ZMV autol...
<|file_sep|>original/zshrc/main.zsh # load oh-my-zsh source $HOME/.dotfiles/zshrc/oh-my-zsh.zsh # load pure theme source $HOME/.dotfiles/zshrc/pure.zsh alias gr='cd $(git root)' export EDITOR=vim alias ls='ls -Gh' alias subs='filebot -get-subtitles' alias mou='open -a Mou' alias subl='Open -a "Sublime Text 2"' # ZM...
9c4fcbf157f87a8dcaed9325ead014cc39b904c2
zshrc/main.zsh
zshrc/main.zsh
Shell
<|file_sep|>original/dot_sh/session/node.sh #!/usr/bin/env sh # Node.js - https://nodejs.org/ PATH="$PATH:$(dirname "$(which node)")" <|file_sep|>current/dot_sh/session/node.sh #!/usr/bin/env sh # Node.js - https://nodejs.org/ PATH="$PATH:$(dirname "$(which node)")" <|file_sep|>updated/dot_sh/session/node.sh
#!/usr/bin/env sh # Node.js - https://nodejs.org/ PATH="$PATH:$(dirname "$(which node)")" # Yarn - https://yarnpkg.com PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
<|file_sep|>original/dot_sh/session/node.sh #!/usr/bin/env sh # Node.js - https://nodejs.org/ PATH="$PATH:$(dirname "$(which node)")" <|file_sep|>current/dot_sh/session/node.sh #!/usr/bin/env sh # Node.js - https://nodejs.org/ PATH="$PATH:$(dirname "$(which node)")" <|file_sep|>updated/dot_sh/session/node.sh #!/usr/b...
185cb2ab995aaff9fb5ff0b8a848d6026eb8a64a
dot_sh/session/node.sh
dot_sh/session/node.sh
Shell
<|file_sep|>original/.travis.yml gemfile: - gemfiles/activerecord_3_0.gemfile - gemfiles/activerecord_3_1.gemfile - gemfiles/activerecord_3_2.gemfile before_script: - cp spec/default.database.yml spec/database.yml - psql -c 'CREATE DATABASE crypt_keeper_providers;' -U postgres - psql crypt_keeper_providers ...
language: ruby gemfile: - gemfiles/activerecord_3_0.gemfile - gemfiles/activerecord_3_1.gemfile - gemfiles/activerecord_3_2.gemfile before_script: - cp spec/default.database.yml spec/database.yml - psql -c 'CREATE DATABASE crypt_keeper_providers;' -U postgres - psql crypt_keeper_providers -c 'CREATE EXTENSI...
<|file_sep|>original/.travis.yml gemfile: - gemfiles/activerecord_3_0.gemfile - gemfiles/activerecord_3_1.gemfile - gemfiles/activerecord_3_2.gemfile before_script: - cp spec/default.database.yml spec/database.yml - psql -c 'CREATE DATABASE crypt_keeper_providers;' -U postgres - psql crypt_keeper_providers ...
a7d9366f3ef910d1a175e07e966e9dae608b486f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/five.js five.croatian = function() { return 'pet' }; five.czech = function() { return 'pět' }; five.english = function() { return 'Five' }; five.french = function() { return 'cinq' }; five.german = function() { return 'fünf' }; five.irish = function() { return 'cúig' }; five.mongolian...
five.croatian = function() { return 'pet' }; five.czech = function() { return 'pět' }; five.english = function() { return 'Five' }; five.french = function() { return 'cinq' }; five.german = function() { return 'fünf' }; five.irish = function() { return 'cúig' }; five.mongolian = function() { return 'таван...
<|file_sep|>original/five.js five.croatian = function() { return 'pet' }; five.czech = function() { return 'pět' }; five.english = function() { return 'Five' }; five.french = function() { return 'cinq' }; five.german = function() { return 'fünf' }; five.irish = function() { return 'cúig' }; five.mongolian...
815596560a71edb08a5cf37608f245b4799325a2
five.js
five.js
JavaScript
<|file_sep|>original/README.md # String Matching -- Data Structures ## Getting started ### Prerequisites The following dependencies must be installed on your machine: * Java * [Ant](http://ant.apache.org/) #### Coloring Ant output By default, `ant` provides a colorless output. If you prefer a colored output which...
# String Matching -- Data Structures This library implements the following data structures, which are useful to solve string matching problems: * Trie (Prefix Tree) * SuffixArray ## Getting started ### Prerequisites The following dependencies must be installed on your machine: * Java * [Ant](http://ant.apache.org...
<|file_sep|>original/README.md # String Matching -- Data Structures ## Getting started ### Prerequisites The following dependencies must be installed on your machine: * Java * [Ant](http://ant.apache.org/) #### Coloring Ant output By default, `ant` provides a colorless output. If you prefer a colored output which...
27d816d783d411959cdbe26af6a06f5dcdb5d51b
README.md
README.md
Markdown
<|file_sep|>original/lib/facebooker/rails/facebook_request_fix.rb module ::ActionController class AbstractRequest def request_method_with_facebooker if parameters[:fb_sig_request_method]=="GET" and parameters[:_method].blank? parameters[:_method]="GET" end request_method_without_facebook...
module ::ActionController class AbstractRequest def request_method_with_facebooker if parameters[:fb_sig_request_method]=="GET" and parameters[:_method].blank? parameters[:_method]="GET" end request_method_without_facebooker end if new.methods.include?("request_method") ...
<|file_sep|>original/lib/facebooker/rails/facebook_request_fix.rb module ::ActionController class AbstractRequest def request_method_with_facebooker if parameters[:fb_sig_request_method]=="GET" and parameters[:_method].blank? parameters[:_method]="GET" end request_method_without_facebook...
2b548aee061192e5afb3135d9800ae097502384b
lib/facebooker/rails/facebook_request_fix.rb
lib/facebooker/rails/facebook_request_fix.rb
Ruby
<|file_sep|>spec/support/gateway_helpers.rb.diff original: public_key: ENV['BRAINTREE_PUBLIC_KEY'], private_key: ENV['BRAINTREE_PRIVATE_KEY'], merchant_id: ENV['BRAINTREE_MERCHANT_ID'], updated: public_key: ENV.fetch('BRAINTREE_PUBLIC_KEY', 'dummy_public_key'), private_key: ENV.f...
name: "Braintree", preferences: { environment: 'sandbox', public_key: ENV.fetch('BRAINTREE_PUBLIC_KEY', 'dummy_public_key'), private_key: ENV.fetch('BRAINTREE_PRIVATE_KEY', 'dummy_private_key'), merchant_id: ENV.fetch('BRAINTREE_MERCHANT_ID', 'dummy_merchant_id'), mer...
<|file_sep|>spec/support/gateway_helpers.rb.diff original: public_key: ENV['BRAINTREE_PUBLIC_KEY'], private_key: ENV['BRAINTREE_PRIVATE_KEY'], merchant_id: ENV['BRAINTREE_MERCHANT_ID'], updated: public_key: ENV.fetch('BRAINTREE_PUBLIC_KEY', 'dummy_public_key'), private_key: ENV.f...
c99c221f34bf8c63c6b5b8fe819c68fff7b5a381
spec/support/gateway_helpers.rb
spec/support/gateway_helpers.rb
Ruby
<|file_sep|>original/packer/conf/bin/bk-check-disk-space.sh #!/bin/bash set -euo pipefail DISK_MIN_AVAILABLE=${DISK_MIN_AVAILABLE:-1048576} # 1GB DISK_MIN_INODES=${DISK_MIN_INODES:-1000000} # docker needs lots disk_avail=$(df -k --output=avail "$PWD" | tail -n1) echo "Disk space free: $(df -k -h --output=avail "$PWD...
#!/bin/bash set -euo pipefail DISK_MIN_AVAILABLE=${DISK_MIN_AVAILABLE:-1048576} # 1GB DISK_MIN_INODES=${DISK_MIN_INODES:-250000} # docker needs lots disk_avail=$(df -k --output=avail "$PWD" | tail -n1) echo "Disk space free: $(df -k -h --output=avail "$PWD" | tail -n1 | sed -e 's/^[[:space:]]//')" if [[ $disk_avail...
<|file_sep|>original/packer/conf/bin/bk-check-disk-space.sh #!/bin/bash set -euo pipefail DISK_MIN_AVAILABLE=${DISK_MIN_AVAILABLE:-1048576} # 1GB DISK_MIN_INODES=${DISK_MIN_INODES:-1000000} # docker needs lots disk_avail=$(df -k --output=avail "$PWD" | tail -n1) echo "Disk space free: $(df -k -h --output=avail "$PWD...
88abcd98e38681b5e3611302cede771fa983b87e
packer/conf/bin/bk-check-disk-space.sh
packer/conf/bin/bk-check-disk-space.sh
Shell
<|file_sep|>original/app/assets/stylesheets/desktop/header.scss and (max-width : 570px) { .extra-info-wrapper {display: none;} } #main { position: relative; } #main-outlet { padding-top: 82px; } .search-link .blurb { display: block; word-wrap: break-word; font-size: 11px; line-height: 1.3em; .search-...
.extra-info-wrapper {display: none;} } #main { position: relative; } #main-outlet { padding-top: 82px; } .search-link .blurb { color: dark-light-choose(scale-color($primary, $lightness: 45%), scale-color($secondary, $lightness: 55%)); display: block; word-wrap: break-word; font-size: 11px; line-heigh...
<|file_sep|>original/app/assets/stylesheets/desktop/header.scss and (max-width : 570px) { .extra-info-wrapper {display: none;} } #main { position: relative; } #main-outlet { padding-top: 82px; } .search-link .blurb { display: block; word-wrap: break-word; font-size: 11px; line-height: 1.3em; .search-...
29e5ab012143eb7613797fd4e0edf18cec765ea9
app/assets/stylesheets/desktop/header.scss
app/assets/stylesheets/desktop/header.scss
SCSS
<|file_sep|>src/core/entities/entity.js.diff original: this._contextData = {}; updated: this._contextData = {}; <|file_sep|>original/src/core/entities/entity.js getResolvedContext() { return this.source.resolve(this.context); } hasContext() { return this.getResolvedContext...
getResolvedContext() { return this.source.resolve(this.context); } hasContext() { return this.getResolvedContext().then(context => Object.keys(context).length); } getContext() { return _.clone(this._contextData); } toJSON() { const self = super.toJSON(); ...
<|file_sep|>src/core/entities/entity.js.diff original: this._contextData = {}; updated: this._contextData = {}; <|file_sep|>original/src/core/entities/entity.js getResolvedContext() { return this.source.resolve(this.context); } hasContext() { return this.getResolvedContext...
8fe614ab75010f884aeaf5d0bef85c1b1698a746
src/core/entities/entity.js
src/core/entities/entity.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: cpp compiler: clang env: - OPENCV_VERSION=2.4.8 - OPENCV_VERSION=3.1.0 addons: apt: sources: - boost-latest packages: - libboost1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-system1.55-dev libboost-test1.55...
sudo: false language: cpp compiler: clang git: depth: 1 lfs_skip_smudge: true env: - OPENCV_VERSION=2.4.8 - OPENCV_VERSION=3.1.0 addons: apt: sources: - boost-latest packages: - libboost1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-system1.55-dev libboost-t...
<|file_sep|>original/.travis.yml sudo: false language: cpp compiler: clang env: - OPENCV_VERSION=2.4.8 - OPENCV_VERSION=3.1.0 addons: apt: sources: - boost-latest packages: - libboost1.55-dev libboost-filesystem1.55-dev libboost-program-options1.55-dev libboost-system1.55-dev libboost-test1.55...
266241e45829e01c9f28982549b358ecd322b488
.travis.yml
.travis.yml
YAML
<|file_sep|>original/vscode-visual-tests/features/analytics_extension_in_marketplace.feature <|file_sep|>current/vscode-visual-tests/features/analytics_extension_in_marketplace.feature <|file_sep|>updated/vscode-visual-tests/features/analytics_extension_in_marketplace.feature
Feature: Visual Studio Code + the Analytics plugin basic functionality Scenario: Check that the Analytics plugin can be found in the Marketplace Given The PyAutoGUI library is initialized And The screen resolution is at least 1024x768 pixels And The Visual Studio Code is set up ...
<|file_sep|>original/vscode-visual-tests/features/analytics_extension_in_marketplace.feature <|file_sep|>current/vscode-visual-tests/features/analytics_extension_in_marketplace.feature <|file_sep|>updated/vscode-visual-tests/features/analytics_extension_in_marketplace.feature Feature: Visual Studio Code + the Analyti...
ff94c8788802aad2401af6e4a5540afbfef57d27
vscode-visual-tests/features/analytics_extension_in_marketplace.feature
vscode-visual-tests/features/analytics_extension_in_marketplace.feature
Cucumber
<|file_sep|>original/.rubocop.yml EmptyLines: Enabled: true EmptyLinesAroundBody: Enabled: false TrailingBlankLines: Enabled: true HashSyntax: Enabled: true LeadingCommentSpace: Enabled: true LineLength: Enabled: false Loop: Enabled: true <|file_sep|>current/.rubocop.yml EmptyLines: Enabled: true...
EmptyLines: Enabled: true EmptyLinesAroundBody: Enabled: false TrailingBlankLines: Enabled: true HashSyntax: Enabled: false LeadingCommentSpace: Enabled: true LineLength: Enabled: false Loop: Enabled: true
<|file_sep|>original/.rubocop.yml EmptyLines: Enabled: true EmptyLinesAroundBody: Enabled: false TrailingBlankLines: Enabled: true HashSyntax: Enabled: true LeadingCommentSpace: Enabled: true LineLength: Enabled: false Loop: Enabled: true <|file_sep|>current/.rubocop.yml EmptyLines: Enabled: true...
f8d48175ee39d3c5c5644f93ec51c585d018b70d
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>client/utils/fetcher.js.diff original: updated: // grab the CSRF token from the cookie const csrfToken = document.cookie.replace(/(?:(?:^|.*;\s*)csrftoken\s*=s*([^;]*).*$)|^.*$/, '$1'); <|file_sep|>original/client/utils/fetcher.js credentials: 'same-origin', headers: { 'Accept': 'application...
async function request(url, userOptions, dispatch) { const defaultOptions = { credentials: 'same-origin', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', 'Content-Security-Policy': 'default-src \'self\'', 'X-Frame-Options': 'SAMEORIGIN', 'X-XSS-Prote...
<|file_sep|>client/utils/fetcher.js.diff original: updated: // grab the CSRF token from the cookie const csrfToken = document.cookie.replace(/(?:(?:^|.*;\s*)csrftoken\s*=s*([^;]*).*$)|^.*$/, '$1'); <|file_sep|>original/client/utils/fetcher.js credentials: 'same-origin', headers: { 'Accept': 'application...
d9b11cd20e08cd9b71052c9141f3f9f9bcca57fb
client/utils/fetcher.js
client/utils/fetcher.js
JavaScript
<|file_sep|>lib/common/reset-search-paths.js.diff original: const rootPath = process.resourcesPath updated: <|file_sep|>original/lib/common/reset-search-paths.js // Clear current and parent(init.js)'s search paths. module.paths = [] module.parent.paths = [] // Prevent Node from adding paths outside this app to sear...
// Clear current and parent(init.js)'s search paths. module.paths = [] module.parent.paths = [] // Prevent Node from adding paths outside this app to search paths. const originalNodeModulePaths = Module._nodeModulePaths Module._nodeModulePaths = function (from) { const paths = originalNodeModulePaths(from) // If ...
<|file_sep|>lib/common/reset-search-paths.js.diff original: const rootPath = process.resourcesPath updated: <|file_sep|>original/lib/common/reset-search-paths.js // Clear current and parent(init.js)'s search paths. module.paths = [] module.parent.paths = [] // Prevent Node from adding paths outside this app to sear...
905e9e96451e84fab6203ed8d122cae3ed8e8d1e
lib/common/reset-search-paths.js
lib/common/reset-search-paths.js
JavaScript
<|file_sep|>original/controller.php <?php namespace Concrete\Package\KintDebug; use Concrete\Core\Package\Package; use View; defined('C5_EXECUTE') or die(_("Access Denied.")); require_once __DIR__ . '/vendor/autoload.php'; class Controller extends Package { protected $pkgHandle = 'kint_debug'; protected $ap...
<?php namespace Concrete\Package\KintDebug; use Concrete\Core\Package\Package; use View; defined('C5_EXECUTE') or die(t("Access Denied.")); require_once __DIR__ . '/vendor/autoload.php'; class Controller extends Package { protected $pkgHandle = 'kint_debug'; protected $appVersionRequired = '5.7'; protec...
<|file_sep|>original/controller.php <?php namespace Concrete\Package\KintDebug; use Concrete\Core\Package\Package; use View; defined('C5_EXECUTE') or die(_("Access Denied.")); require_once __DIR__ . '/vendor/autoload.php'; class Controller extends Package { protected $pkgHandle = 'kint_debug'; protected $ap...
2abcb650baa2cb0e9307953d8759228fbaab8993
controller.php
controller.php
PHP
<|file_sep|>app/helpers/campaign_helper.rb.diff original: organisation_name = organisation_attr(publication, 'formatted_name') || "" updated: organisation_name = organisation_attributes(publication).fetch("formatted_name", "") <|file_sep|>app/helpers/campaign_helper.rb.diff original: organisation_attr(publi...
organisation_name = organisation_attributes(publication).fetch("formatted_name", "") ERB::Util.html_escape(organisation_name).strip.gsub(/(?:\r?\n)/, "<br/>").html_safe end def organisation_url(publication) organisation_attributes(publication)["url"] end def organisation_crest(publication) org...
<|file_sep|>app/helpers/campaign_helper.rb.diff original: organisation_name = organisation_attr(publication, 'formatted_name') || "" updated: organisation_name = organisation_attributes(publication).fetch("formatted_name", "") <|file_sep|>app/helpers/campaign_helper.rb.diff original: organisation_attr(publi...
44b307e50930aa46153209db53f8ad89cb538a8d
app/helpers/campaign_helper.rb
app/helpers/campaign_helper.rb
Ruby
<|file_sep|>composer.json.diff original: "repositories": [ { "type": "composer", "url": "http://packages:satis@packages.heyday.net.nz/" } ], updated: <|file_sep|>composer.json.diff original: "composer/installers": "*" updated: "composer/installers": "~1.0...
{ "name": "heystack/ecommerce-products", "type": "silverstripe-module", "require": { "php": ">=5.4.0", "composer/installers": "~1.0.0" }, "autoload": { "psr-0": { "Heystack": "code/" } }, "extra": { "branch-alias": { "de...
<|file_sep|>composer.json.diff original: "repositories": [ { "type": "composer", "url": "http://packages:satis@packages.heyday.net.nz/" } ], updated: <|file_sep|>composer.json.diff original: "composer/installers": "*" updated: "composer/installers": "~1.0...
16a357f5cc571188a5e5093af8075a10450d900f
composer.json
composer.json
JSON
<|file_sep|>original/README.md # SACC.OperationResult A little library to standardize the results of invoking a method. <|file_sep|>current/README.md # SACC.OperationResult A little library to standardize the results of invoking a method. <|file_sep|>updated/README.md
# SACC.OperationResult A little .NET library to standardize the results of invoking a method. It targets .NET Standard 1.0, so should be working on just about everything .NET...
<|file_sep|>original/README.md # SACC.OperationResult A little library to standardize the results of invoking a method. <|file_sep|>current/README.md # SACC.OperationResult A little library to standardize the results of invoking a method. <|file_sep|>updated/README.md # SACC.OperationResult A little .NET library to sta...
b9f279a0404e1c3b7f678173894c20bd673c8ad4
README.md
README.md
Markdown
<|file_sep|>original/src/Generator/PluginBlockGenerator.php * @param $plugin_label * @param $plugin_id * @param $services */ public function generate($module, $class_name, $plugin_label, $plugin_id, $services) { $parameters = [ 'module' => $module, 'class' => [ 'name' ...
* @param $plugin_label * @param $plugin_id * @param $services */ public function generate($module, $class_name, $plugin_label, $plugin_id, $services) { $parameters = [ 'module' => $module, 'class_name' => $class_name, 'plugin_label' => $plugin_label, 'plugin_id' => $plu...
<|file_sep|>original/src/Generator/PluginBlockGenerator.php * @param $plugin_label * @param $plugin_id * @param $services */ public function generate($module, $class_name, $plugin_label, $plugin_id, $services) { $parameters = [ 'module' => $module, 'class' => [ 'name' ...
68bd6d52ae6b94f4084dfd91baf5f5ce8518df7f
src/Generator/PluginBlockGenerator.php
src/Generator/PluginBlockGenerator.php
PHP
<|file_sep|>original/app/controllers/admin/hidden_proposals_controller.rb @proposals = Proposal.only_hidden.send(@current_filter).order(hidden_at: :desc) .page(params[:page]) end def confirm_hide @proposal.confirm_hide redirect_to request.query_parameters.merge(action: :index) ...
@proposals = Proposal.only_hidden.send(@current_filter).order(hidden_at: :desc) .page(params[:page]) end def confirm_hide @proposal.confirm_hide redirect_to request.query_parameters.merge(action: :index) end def restore @proposal.restore(recursive: true) @proposal....
<|file_sep|>original/app/controllers/admin/hidden_proposals_controller.rb @proposals = Proposal.only_hidden.send(@current_filter).order(hidden_at: :desc) .page(params[:page]) end def confirm_hide @proposal.confirm_hide redirect_to request.query_parameters.merge(action: :index) ...
fb4d4c6c5a06ebd03a1e2bd8378a9e1159a201b7
app/controllers/admin/hidden_proposals_controller.rb
app/controllers/admin/hidden_proposals_controller.rb
Ruby
<|file_sep|>scraper_tools.gemspec.diff original: updated: <|file_sep|>original/scraper_tools.gemspec lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require 'scraper_tools/version' Gem::Specification.new do |s| s.name = "scraper_tools" s.version = Bundler::VERSION...
lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require 'scraper_tools/version' Gem::Specification.new do |s| s.name = "scraper_tools" s.version = Bundler::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Chris Zetter"] s.summary = "A framework ...
<|file_sep|>scraper_tools.gemspec.diff original: updated: <|file_sep|>original/scraper_tools.gemspec lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require 'scraper_tools/version' Gem::Specification.new do |s| s.name = "scraper_tools" s.version = Bundler::VERSION...
7e0a019b01389a34ed66fda6c0e4f984bf21eab4
scraper_tools.gemspec
scraper_tools.gemspec
Ruby
<|file_sep|>original/src/test/ui/type-alias-impl-trait/issue-63263-closure-return.rs // Regression test for issue #63263. // Tests that we properly handle closures with an explicit return type // that return an opaque type. // run-pass #![feature(type_alias_impl_trait)] pub type Closure = impl FnOnce(); fn main() {...
// Regression test for issue #63263. // Tests that we properly handle closures with an explicit return type // that return an opaque type. // check-pass #![feature(type_alias_impl_trait)] pub type Closure = impl FnOnce(); fn main() { || -> Closure { || () }; }
<|file_sep|>original/src/test/ui/type-alias-impl-trait/issue-63263-closure-return.rs // Regression test for issue #63263. // Tests that we properly handle closures with an explicit return type // that return an opaque type. // run-pass #![feature(type_alias_impl_trait)] pub type Closure = impl FnOnce(); fn main() {...
e8d55d0a43640cd4bdff98b59e962fba006fb819
src/test/ui/type-alias-impl-trait/issue-63263-closure-return.rs
src/test/ui/type-alias-impl-trait/issue-63263-closure-return.rs
Rust
<|file_sep|>src/scripts/views/campaign.es6.js.diff original: <textarea name='description' id='description'> </textarea> updated: <textarea name='description' id='description'></textarea> <|file_sep|>original/src/scripts/views/campaign.es6.js <label for='name'>Campaign Nam...
<label for='name'>Campaign Name</label> <input name='name' id='name'/> <label for='description'>Description</label> <textarea name='description' id='description'></textarea> <label for='expiry'>Expiry Date</label> <input name='expiry' id='expiry'...
<|file_sep|>src/scripts/views/campaign.es6.js.diff original: <textarea name='description' id='description'> </textarea> updated: <textarea name='description' id='description'></textarea> <|file_sep|>original/src/scripts/views/campaign.es6.js <label for='name'>Campaign Nam...
e99caaa03fd5571d8cc45cf4718e8dcc79fea542
src/scripts/views/campaign.es6.js
src/scripts/views/campaign.es6.js
JavaScript
<|file_sep|>original/app/views/admin/hooks/index.html.haml .alert.alert-info %span Post-receive hooks for binding events. %br Read more about system hooks %strong #{link_to "here", help_system_hooks_path, class: "vlink"} = form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline'...
%h3.page-title System Hooks %p.light #{link_to "System hooks ", help_system_hooks_path, class: "vlink"} can be used for binding events when GitLab creates a User or Project. %hr = form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline' } do |f| -if @hook.errors.any? .alert.alert-e...
<|file_sep|>original/app/views/admin/hooks/index.html.haml .alert.alert-info %span Post-receive hooks for binding events. %br Read more about system hooks %strong #{link_to "here", help_system_hooks_path, class: "vlink"} = form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline'...
6b845f8c55a0c0a856359887d747a049ae87bb7e
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
Haml
<|file_sep|>original/android/src/main/java/com/spaceout/MainActivity.java import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); startService(new Intent(this, NeuralAlertnessService.class)); } public void setNetwork(View view) { startActivity(new Intent(this, NetworkA...
<|file_sep|>original/android/src/main/java/com/spaceout/MainActivity.java import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
2d6508a2974d209449259e5f164cbdd383d72569
android/src/main/java/com/spaceout/MainActivity.java
android/src/main/java/com/spaceout/MainActivity.java
Java
<|file_sep|>web/src/js/mutations/LogTabMutation.js.diff original: updated: heartsUntilNextLevel level tabs vcCurrent <|file_sep|>original/web/src/js/mutations/LogTabMutation.js function commit (environment, user) { const userId = user.id return commitMutation( environment, ...
vcCurrent } } } ` function commit (environment, user) { const userId = user.id return commitMutation( environment, { mutation, variables: { input: { userId } } } ) } export default {commit}
<|file_sep|>web/src/js/mutations/LogTabMutation.js.diff original: updated: heartsUntilNextLevel level tabs vcCurrent <|file_sep|>original/web/src/js/mutations/LogTabMutation.js function commit (environment, user) { const userId = user.id return commitMutation( environment, ...
d8556a0b8dffd22d88e2a6fe30e58f4db6970752
web/src/js/mutations/LogTabMutation.js
web/src/js/mutations/LogTabMutation.js
JavaScript
<|file_sep|>original/metadata.json "14.04" ] } ], "dependencies": [ { "name": "puppetlabs/stdlib", "version_requirement": ">= 4.6.0 < 5.0.0" }, { "name": "puppetlabs/concat", "version_requirement": ">= 1.2.5 < 3.0.0" } ], "requirements": [ { "n...
"14.04" ] } ], "dependencies": [ { "name": "puppetlabs/stdlib", "version_requirement": ">= 4.6.0 < 5.0.0" }, { "name": "puppetlabs/concat", "version_requirement": ">= 1.2.5 <= 4.1.1" } ], "requirements": [ { "name": "puppet", "version_req...
<|file_sep|>original/metadata.json "14.04" ] } ], "dependencies": [ { "name": "puppetlabs/stdlib", "version_requirement": ">= 4.6.0 < 5.0.0" }, { "name": "puppetlabs/concat", "version_requirement": ">= 1.2.5 < 3.0.0" } ], "requirements": [ { "n...
ca533ab22969dd48cf870a712a26096a4626fe71
metadata.json
metadata.json
JSON
<|file_sep|>original/roles/osx/defaults/main.yml - alfred - dash - dropbox - evernote - firefox - google-chrome - karabiner - marked - noizio - skitch - spotify - sublime-text3 - textexpander - vlc dotfiles: links: - src: t...
- alfred - dash - dropbox - evernote - firefox - google-chrome - karabiner - marked - noizio - skitch - slack - spotify - sublime-text3 - textexpander - vlc dotfiles: links: - src: tmux/tmux.conf dest: ~/.tmux...
<|file_sep|>original/roles/osx/defaults/main.yml - alfred - dash - dropbox - evernote - firefox - google-chrome - karabiner - marked - noizio - skitch - spotify - sublime-text3 - textexpander - vlc dotfiles: links: - src: t...
a16fd3fd52e4240ecab2c326a08055935ee63d78
roles/osx/defaults/main.yml
roles/osx/defaults/main.yml
YAML
<|file_sep|>original/lib/docs/scrapers/react_native.rb module Docs class ReactNative < React self.name = 'React Native' self.slug = 'react_native' self.type = 'react' self.release = '0.33' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' ...
module Docs class ReactNative < React self.name = 'React Native' self.slug = 'react_native' self.type = 'react' self.release = '0.34' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' self.links = { home: 'https://facebook.github....
<|file_sep|>original/lib/docs/scrapers/react_native.rb module Docs class ReactNative < React self.name = 'React Native' self.slug = 'react_native' self.type = 'react' self.release = '0.33' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' ...
586bbb8c77261bcc38b3d694a06c8516df610942
lib/docs/scrapers/react_native.rb
lib/docs/scrapers/react_native.rb
Ruby
<|file_sep|>original/package.json "bin": { "smappi": "./bin/smappi.js" }, "bugs": { "url": "https://github.com/smappi/smappi/issues" }, "bundleDependencies": false, "dependencies": { "body-parser": "^1.18.2", "jsdoctap": "^0.5.8", "smappi-cl": "^0.6.8", ...
"bin": { "smappi": "./bin/smappi.js" }, "bugs": { "url": "https://github.com/smappi/smappi/issues" }, "bundleDependencies": false, "dependencies": { "body-parser": "^1.18.2", "jsdoctap": "^0.5.8", "smappi-cl": "^0.7.0", "tap-parser": "^6.0.1", ...
<|file_sep|>original/package.json "bin": { "smappi": "./bin/smappi.js" }, "bugs": { "url": "https://github.com/smappi/smappi/issues" }, "bundleDependencies": false, "dependencies": { "body-parser": "^1.18.2", "jsdoctap": "^0.5.8", "smappi-cl": "^0.6.8", ...
44402de2d36a2afb8d962a39e132ea08c8001a1d
package.json
package.json
JSON
<|file_sep|>original/rules/signup.md ## Detect whether it's a first time login/signup This rule will create a persistent property `signed_up` when the user logs in for the first time (i.e. a new user). The next time the user logs in, this rule will be skipped. ```js function (user, context, callback) { user.app_met...
## Detect whether it's a first time login/signup This rule will create a persistent property `signed_up` when the user logs in for the first time (i.e. a new user). The next time the user logs in, this rule will be skipped. ```js function (user, context, callback) { user.app_metadata = user.app_metadata || {}; //...
<|file_sep|>original/rules/signup.md ## Detect whether it's a first time login/signup This rule will create a persistent property `signed_up` when the user logs in for the first time (i.e. a new user). The next time the user logs in, this rule will be skipped. ```js function (user, context, callback) { user.app_met...
bcdc788c1c459e48fb3f1d52b81cc3bb3f124ae0
rules/signup.md
rules/signup.md
Markdown
<|file_sep|>original/Tests/Command/ServerDumpCommandTest.php use Symfony\Component\VarDumper\Server\DumpServer; class ServerDumpCommandTest extends TestCase { /** * @dataProvider provideCompletionSuggestions */ public function testComplete(array $input, array $expectedSuggestions) { if (!...
use Symfony\Component\VarDumper\Server\DumpServer; class ServerDumpCommandTest extends TestCase { /** * @dataProvider provideCompletionSuggestions */ public function testComplete(array $input, array $expectedSuggestions) { $tester = new CommandCompletionTester($this->createCommand()); ...
<|file_sep|>original/Tests/Command/ServerDumpCommandTest.php use Symfony\Component\VarDumper\Server\DumpServer; class ServerDumpCommandTest extends TestCase { /** * @dataProvider provideCompletionSuggestions */ public function testComplete(array $input, array $expectedSuggestions) { if (!...
034e23070be66d8f0a1da5e5caa808d94aff1d79
Tests/Command/ServerDumpCommandTest.php
Tests/Command/ServerDumpCommandTest.php
PHP
<|file_sep|>original/rgmanager/src/clulib/gettid.c #include <sys/types.h> #include <linux/unistd.h> #include <gettid.h> _syscall0(pid_t,gettid) <|file_sep|>current/rgmanager/src/clulib/gettid.c #include <sys/types.h> #include <linux/unistd.h> #include <gettid.h> _syscall0(pid_t,gettid) <|file_sep|>updated/rgmanager/s...
#include <sys/types.h> #include <linux/unistd.h> #include <gettid.h> #include <errno.h> _syscall0(pid_t,gettid)
<|file_sep|>original/rgmanager/src/clulib/gettid.c #include <sys/types.h> #include <linux/unistd.h> #include <gettid.h> _syscall0(pid_t,gettid) <|file_sep|>current/rgmanager/src/clulib/gettid.c #include <sys/types.h> #include <linux/unistd.h> #include <gettid.h> _syscall0(pid_t,gettid) <|file_sep|>updated/rgmanager/s...
a76075d352b4f48bb53f8d8c9accee841394d47c
rgmanager/src/clulib/gettid.c
rgmanager/src/clulib/gettid.c
C
<|file_sep|>original/test/channel_test.exs register_to_channel("a channel") assert occupied?("a channel") end test "list all channels" do register_to_channel("channel1") register_to_channel("channel2") spawn_registered_process("channel3") assert all == ["channel1", "channel2", "channel3"]...
register_to_channel("a channel") assert occupied?("a channel") end test "list all channels" do register_to_channel("channel1") register_to_channel("channel2") spawn_registered_process("channel3") assert "channel1" in all assert "channel2" in all assert "channel3" in all end t...
<|file_sep|>original/test/channel_test.exs register_to_channel("a channel") assert occupied?("a channel") end test "list all channels" do register_to_channel("channel1") register_to_channel("channel2") spawn_registered_process("channel3") assert all == ["channel1", "channel2", "channel3"]...
51264b70372e14dc171962ad60a373d9c57942d3
test/channel_test.exs
test/channel_test.exs
Elixir
<|file_sep|>src/pic32.mk.diff original: ifdef DEBUG BOARD_TAG = mega_pic32_dbg else updated: <|file_sep|>original/src/pic32.mk TARGET = cantranslator ifdef DEBUG BOARD_TAG = mega_pic32_dbg else BOARD_TAG = mega_pic32 endif ARDUINO_LIBS = chipKITCAN chipKITUSBDevice chipKITUSBDevice/utility cJSON NO_CORE_MAIN_FUNCTIO...
TARGET = cantranslator BOARD_TAG = mega_pic32 ARDUINO_LIBS = chipKITCAN chipKITUSBDevice chipKITUSBDevice/utility cJSON NO_CORE_MAIN_FUNCTION = 1 SKIP_SUFFIX_CHECK = 1 SERIAL_BAUDRATE = 115200 OSTYPE := $(shell uname) ifndef ARDUINO_PORT ifeq ($(OSTYPE),Darwin) ARDUINO_PORT = /dev/tty.usbserial* else ARDUINO...
<|file_sep|>src/pic32.mk.diff original: ifdef DEBUG BOARD_TAG = mega_pic32_dbg else updated: <|file_sep|>original/src/pic32.mk TARGET = cantranslator ifdef DEBUG BOARD_TAG = mega_pic32_dbg else BOARD_TAG = mega_pic32 endif ARDUINO_LIBS = chipKITCAN chipKITUSBDevice chipKITUSBDevice/utility cJSON NO_CORE_MAIN_FUNCTIO...
8e41b1c9656655eef817385e17f77fe2342358b8
src/pic32.mk
src/pic32.mk
Makefile
<|file_sep|>original/app/views/invoices/_list.html.haml = render 'invoices/sidebar' %table.zebra-striped.invoices.collection %thead %tr %th= t_attr :value_date, Invoice %th= t_attr :title, Invoice %th= t_attr :company, Invoice %th= t_attr :due_date, Invoice %th.currency= t_attr :amo...
= render 'invoices/sidebar' %table.zebra-striped.invoices.collection %thead %tr %th= t_attr :value_date, Invoice %th= t_attr :title, Invoice %th= t_attr :company, Invoice %th= t_attr :due_date, Invoice %th.currency= t_attr :amount, Invoice %th.currency= t_attr :balance, Invoic...
<|file_sep|>original/app/views/invoices/_list.html.haml = render 'invoices/sidebar' %table.zebra-striped.invoices.collection %thead %tr %th= t_attr :value_date, Invoice %th= t_attr :title, Invoice %th= t_attr :company, Invoice %th= t_attr :due_date, Invoice %th.currency= t_attr :amo...
8562ea66bd632b098808b2f23823fc6b14ba6896
app/views/invoices/_list.html.haml
app/views/invoices/_list.html.haml
Haml
<|file_sep|>original/app/views/admin/teams/members/new.html.haml %legend Members (#{@team.members.count}) = form_tag admin_team_members_path(@team), id: "team_members", class: "bulk_import", method: :post do %table#members_list %thead %tr %th User name %th Default project acce...
%hr = form_tag admin_team_members_path(@team), id: "team_members", class: "bulk_import", method: :post do - if @team.errors.any? .alert.alert-error %span= @team.errors.full_messages.first .clearfix = label_tag :user_ids do Users to add .input = select_tag :user_ids, options_from_colle...
<|file_sep|>original/app/views/admin/teams/members/new.html.haml %legend Members (#{@team.members.count}) = form_tag admin_team_members_path(@team), id: "team_members", class: "bulk_import", method: :post do %table#members_list %thead %tr %th User name %th Default project acce...
815c186b29e801377ab552ecf3665c7732a61415
app/views/admin/teams/members/new.html.haml
app/views/admin/teams/members/new.html.haml
Haml
<|file_sep|>Tests/PlayPen/CMakeLists.txt.diff original: include_directories(${CMAKE_SOURCE_DIR}/Samples/Common/include) updated: include_directories( ${CMAKE_SOURCE_DIR}/Samples/Common/include ${CMAKE_SOURCE_DIR}/Components/Terrain/include) <|file_sep|>original/Tests/PlayPen/CMakeLists.txt set(HEADER_FILES includ...
include/AnimationBlender.h include/StaticPluginLoader.h) set(SOURCE_FILES src/PlayPen.cpp src/AnimationBlender.cpp src/WindowEmbedding.cpp) if (APPLE) set(OGRE_LIBRARIES ${OGRE_LIBRARIES} IOKit) endif () include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) include_directories( ${CMAKE_SOURCE_DIR}/Sample...
<|file_sep|>Tests/PlayPen/CMakeLists.txt.diff original: include_directories(${CMAKE_SOURCE_DIR}/Samples/Common/include) updated: include_directories( ${CMAKE_SOURCE_DIR}/Samples/Common/include ${CMAKE_SOURCE_DIR}/Components/Terrain/include) <|file_sep|>original/Tests/PlayPen/CMakeLists.txt set(HEADER_FILES includ...
c8f1151de90dc42fcce18c1cad1d2e7f4cf1fd9c
Tests/PlayPen/CMakeLists.txt
Tests/PlayPen/CMakeLists.txt
Text
<|file_sep|>original/Command/WidgetGeneratorsListCommand.php } /** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $io = new SymfonyStyle($input, $output); $io->table(array('Alias'), array_map(function ($alias) { ret...
->setDescription('Displays list of aliases of existing view widget generators.'); } /** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $io = new SymfonyStyle($input, $output); $io->listing($this->getViewWidgetGenera...
<|file_sep|>original/Command/WidgetGeneratorsListCommand.php } /** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $io = new SymfonyStyle($input, $output); $io->table(array('Alias'), array_map(function ($alias) { ret...
31a77b590d5164b7ac47685eaa4003f0f00d7a76
Command/WidgetGeneratorsListCommand.php
Command/WidgetGeneratorsListCommand.php
PHP
<|file_sep|>original/build.sbt ) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime) } else { Some("Artifactory Realm" at s"$host/libs-release-local") } } // sil...
) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime) } else { Some("Artifactory Realm" at s"$host/libs-release-local") } } // silence all warnings on autogenera...
<|file_sep|>original/build.sbt ) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime) } else { Some("Artifactory Realm" at s"$host/libs-release-local") } } // sil...
f31fc3e21e5b874b858b3c985f906949336c2b97
build.sbt
build.sbt
Scala
<|file_sep|>original/requirements.txt -e git+https://github.com/amperser/proselint.git#egg=proselint -e git+https://github.com/charlierguo/gmail.git#egg=gmail APScheduler==3.5.1 bumpversion==0.5.3 click==6.7 coverage==4.5.1 coveralls==1.3.0 Flask-API==0.6.9 Flask-Cors==3.0.4 Flask==0.12.2 Flask-Limiter==0.9.3 future==0...
-e git+https://github.com/amperser/proselint.git#egg=proselint -e git+https://github.com/charlierguo/gmail.git#egg=gmail APScheduler==3.5.1 bumpversion==0.5.3 click==6.7 coverage==4.5.1 coveralls==1.3.0 Flask-API==0.6.9 Flask-Cors==3.0.4 Flask==1.0.2 Flask-Limiter==0.9.3 future==0.16.0 gunicorn==19.7.1 itsdangerous==0....
<|file_sep|>original/requirements.txt -e git+https://github.com/amperser/proselint.git#egg=proselint -e git+https://github.com/charlierguo/gmail.git#egg=gmail APScheduler==3.5.1 bumpversion==0.5.3 click==6.7 coverage==4.5.1 coveralls==1.3.0 Flask-API==0.6.9 Flask-Cors==3.0.4 Flask==0.12.2 Flask-Limiter==0.9.3 future==0...
3baf2fea197110f79d94350d37bdf4b1c6d19776
requirements.txt
requirements.txt
Text
<|file_sep|>python_logging_rabbitmq/formatters.py.diff original: updated: from django.core.serializers.json import DjangoJSONEncoder <|file_sep|>python_logging_rabbitmq/formatters.py.diff original: del data[f] updated: if f in data: del data[f] <|file_sep|>original/py...
msg = record.msg % record.args else: msg = record.msg data.update( host=gethostname(), msg=msg, args=tuple(text_type(arg) for arg in record.args) ) if 'exc_info' in data and data['exc_info']: data['exc_info'] = sel...
<|file_sep|>python_logging_rabbitmq/formatters.py.diff original: updated: from django.core.serializers.json import DjangoJSONEncoder <|file_sep|>python_logging_rabbitmq/formatters.py.diff original: del data[f] updated: if f in data: del data[f] <|file_sep|>original/py...
4d410dec85fc944717a6537e9eef2585a53159b6
python_logging_rabbitmq/formatters.py
python_logging_rabbitmq/formatters.py
Python
<|file_sep|>original/requirements_dev.txt pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9.0 flake8==3.5.0 tox==3.13.2 coverage==4.5.1 Sphinx==2.1.2 cryptography==2.3.1 PyYAML==5.1.1 open-source-init==0.1.4 <|file_sep|>current/requirements_dev.txt pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9....
pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9.0 flake8==3.7.8 tox==3.13.2 coverage==4.5.1 Sphinx==2.1.2 cryptography==2.3.1 PyYAML==5.1.1 open-source-init==0.1.4
<|file_sep|>original/requirements_dev.txt pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9.0 flake8==3.5.0 tox==3.13.2 coverage==4.5.1 Sphinx==2.1.2 cryptography==2.3.1 PyYAML==5.1.1 open-source-init==0.1.4 <|file_sep|>current/requirements_dev.txt pip==19.1.1 bumpversion==0.5.3 wheel==0.33.4 watchdog==0.9....
ec5f8ef168c50795e71a78059e8551b9f24ce90e
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/requirements.txt bleach==2.1.2 mistune==0.8.3 requests==2.18.4 python-json-logger==0.1.8 Flask>=0.12.2 orderedset==2.0 Jinja2==2.10 statsd==3.2.2 Flask-Redis==0.3.0 pyyaml==3.12 phonenumbers==8.8.11 pytz==2018.3 smartypants==2.0.1 monotonic==1.4 pypdf2==1.26.0 # required by both api and admin awsc...
bleach==2.1.2 mistune==0.8.3 requests==2.18.4 python-json-logger==0.1.8 Flask>=0.12.2 orderedset==2.0 Jinja2==2.10 statsd==3.2.2 Flask-Redis==0.3.0 pyyaml==3.12 phonenumbers==8.8.11 pytz==2018.3 smartypants==2.0.1 monotonic==1.4 pypdf2==1.26.0 # required by both api and admin awscli==1.14.45 boto3==1.5.35
<|file_sep|>original/requirements.txt bleach==2.1.2 mistune==0.8.3 requests==2.18.4 python-json-logger==0.1.8 Flask>=0.12.2 orderedset==2.0 Jinja2==2.10 statsd==3.2.2 Flask-Redis==0.3.0 pyyaml==3.12 phonenumbers==8.8.11 pytz==2018.3 smartypants==2.0.1 monotonic==1.4 pypdf2==1.26.0 # required by both api and admin awsc...
900d43d560fcdcccb62b56b5afc75a3f3843a560
requirements.txt
requirements.txt
Text
<|file_sep|>pom.xml.diff original: <groupId>com.mycompany.app</groupId> <artifactId>my-app</artifactId> updated: <groupId>de.pannemans</groupId> <artifactId>pokerhands</artifactId> <|file_sep|>original/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.pannemans</groupId> <artifactId>pokerhands</artifactId> ...
<|file_sep|>pom.xml.diff original: <groupId>com.mycompany.app</groupId> <artifactId>my-app</artifactId> updated: <groupId>de.pannemans</groupId> <artifactId>pokerhands</artifactId> <|file_sep|>original/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc...
45d74b68eb030db48ea856a9997a288cfaefe790
pom.xml
pom.xml
XML
<|file_sep|>original/Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java <|file_sep|>current/Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java <|file_sep|>updated/Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java
package org.xdi.oxauth.service; import java.util.HashSet; import java.util.Set; import javax.ws.rs.core.Application; import javax.ws.rs.ext.Provider; import org.xdi.oxauth.gluu.ws.rs.GluuConfigurationWS; /** * Integration with Resteasy * * @author Yuriy Movchan * @version 0.1, 03/28/2017 */ @Provider public c...
<|file_sep|>original/Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java <|file_sep|>current/Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java <|file_sep|>updated/Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java package org.xdi.oxauth.service; impor...
ffe07f8853eca74d0bd5a4c1a648ae57035cec7c
Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java
Server/src/test/java/org/xdi/oxauth/service/TestResteasyInitializer.java
Java
<|file_sep|>original/test/Unit/Middleware/ExceptionalPipelineTest.php <|file_sep|>current/test/Unit/Middleware/ExceptionalPipelineTest.php <|file_sep|>updated/test/Unit/Middleware/ExceptionalPipelineTest.php
<?php /* * Copyright (c) 2016 Refinery29, Inc. * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Refinery29\Piston\Test\Unit\Middleware; use InvalidArgumentException; use League\Pipeline\PipelineInterface; use League\Pipel...
<|file_sep|>original/test/Unit/Middleware/ExceptionalPipelineTest.php <|file_sep|>current/test/Unit/Middleware/ExceptionalPipelineTest.php <|file_sep|>updated/test/Unit/Middleware/ExceptionalPipelineTest.php <?php /* * Copyright (c) 2016 Refinery29, Inc. * * For the full copyright and license information, please ...
f297882799c84da22842d2489a3c5df8432c46c9
test/Unit/Middleware/ExceptionalPipelineTest.php
test/Unit/Middleware/ExceptionalPipelineTest.php
PHP
<|file_sep|>Demo/scripts/mpzpi.py.diff original: updated: from mpz import mpz <|file_sep|>Demo/scripts/mpzpi.py.diff original: k, a, b, a1, b1 = 2, 4, 1, 12, 4 while 1: # Next approximation p, q, k = k*k, 2*k+1, k+1 a, b, a1, b1 = a1, b1, p*a+q*a1, p*b+q*...
mpzone, mpztwo, mpzten = mpz(1), mpz(2), mpz(10) k, a, b, a1, b1 = mpz(2), mpz(4), mpz(1), mpz(12), mpz(4) while 1: # Next approximation p, q, k = k*k, mpztwo*k+mpzone, k+mpzone a, b, a1, b1 = a1, b1, p*a+q*a1, p*b+q*b1 # Print common digits d, d1 = a/b, a1/b1 while d == d1: output(d) a, a1 = mpzte...
<|file_sep|>Demo/scripts/mpzpi.py.diff original: updated: from mpz import mpz <|file_sep|>Demo/scripts/mpzpi.py.diff original: k, a, b, a1, b1 = 2, 4, 1, 12, 4 while 1: # Next approximation p, q, k = k*k, 2*k+1, k+1 a, b, a1, b1 = a1, b1, p*a+q*a1, p*b+q*...
acaefa673edbbaa89dd51444a90e5c61bd952cc3
Demo/scripts/mpzpi.py
Demo/scripts/mpzpi.py
Python
<|file_sep|>original/requirements/dev.txt -r common.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 coverage==4.5.1 Sphinx==1.7.1 cryptography==2.2.1 <|file_sep|>current/requirements/dev.txt -r common.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 coverage==4...
-r common.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 coverage==4.5.1 Sphinx==1.7.2 cryptography==2.2.1
<|file_sep|>original/requirements/dev.txt -r common.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 coverage==4.5.1 Sphinx==1.7.1 cryptography==2.2.1 <|file_sep|>current/requirements/dev.txt -r common.txt pip==9.0.2 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 coverage==4...
43ae4ba1f8da6063da8000b5fc0a0e1810ceff77
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/textrazor.gemspec spec.name = "textrazor" spec.version = TextRazor::VERSION spec.authors = ["Anuj Dutta"] spec.email = ["anuj@andhapp.com"] spec.description = %q{Api wrapper for text razor} spec.summary = %q{An api wrapper for text razor in ruby} s...
spec.version = TextRazor::VERSION spec.authors = ["Anuj Dutta"] spec.email = ["anuj@andhapp.com"] spec.description = %q{Api wrapper for text razor} spec.summary = %q{An api wrapper for text razor in ruby} spec.homepage = "" spec.license = "MIT" spec.files ...
<|file_sep|>original/textrazor.gemspec spec.name = "textrazor" spec.version = TextRazor::VERSION spec.authors = ["Anuj Dutta"] spec.email = ["anuj@andhapp.com"] spec.description = %q{Api wrapper for text razor} spec.summary = %q{An api wrapper for text razor in ruby} s...
cd33f633ff21dee730cf68048105f0a100d3746f
textrazor.gemspec
textrazor.gemspec
Ruby
<|file_sep|>original/mpv-autoplay.sh #!/bin/bash CLIP="$(xsel --clipboard)" echo $CLIP mpv $CLIP <|file_sep|>current/mpv-autoplay.sh #!/bin/bash CLIP="$(xsel --clipboard)" echo $CLIP mpv $CLIP <|file_sep|>updated/mpv-autoplay.sh
#!/bin/bash CLIP="$(xsel --clipboard)" echo $CLIP mpv --cache=1280 $CLIP
<|file_sep|>original/mpv-autoplay.sh #!/bin/bash CLIP="$(xsel --clipboard)" echo $CLIP mpv $CLIP <|file_sep|>current/mpv-autoplay.sh #!/bin/bash CLIP="$(xsel --clipboard)" echo $CLIP mpv $CLIP <|file_sep|>updated/mpv-autoplay.sh #!/bin/bash CLIP="$(xsel --clipboard)" echo $CLIP mpv --cache=1280 $CLIP
69999269c284c116ffe390cc00a0a1b8924b962e
mpv-autoplay.sh
mpv-autoplay.sh
Shell
<|file_sep|>spec/unit/ratio_spec.rb.diff original: RSpec.describe TTY::ProgressBar, 'ratio=' do updated: RSpec.describe TTY::ProgressBar, '.ratio=' do <|file_sep|>original/spec/unit/ratio_spec.rb progress.ratio = 0.7 expect(progress.current).to eq(7) output.rewind expect(output.read).to eq([ "\e[1...
].join) end it "finds closest available step from the ratio" do progress = TTY::ProgressBar.new("[:bar]", output: output, total: 3) progress.ratio = 0.5 expect(progress.current).to eq(1) end it "doesn't allow to set wrong ratio" do progress = TTY::ProgressBar.new("[:bar]", output: output, ...
<|file_sep|>spec/unit/ratio_spec.rb.diff original: RSpec.describe TTY::ProgressBar, 'ratio=' do updated: RSpec.describe TTY::ProgressBar, '.ratio=' do <|file_sep|>original/spec/unit/ratio_spec.rb progress.ratio = 0.7 expect(progress.current).to eq(7) output.rewind expect(output.read).to eq([ "\e[1...
901e038d1354ac2eff479ec61e87db2ec15966b6
spec/unit/ratio_spec.rb
spec/unit/ratio_spec.rb
Ruby
<|file_sep|>src/erldocs.erl.diff original: updated: -record(conf, {dirs = [], destination = cwd() ++ "/docs/erldocs"}). <|file_sep|>src/erldocs.erl.diff original: parse(Args, []). updated: parse(Args, #conf{}). <|file_sep|>src/erldocs.erl.diff original: parse([], []) -> Dest = filename:absname("docs/erldo...
Else -> Else end, run([{apps, Dirs}, {dest, filename:absname(Destination)}]); parse(["-o", Dest | Rest], Conf) -> parse(Rest, Conf#conf{destination=Dest}); parse([Dir | Rest], #conf{dirs = Dirs} = Conf) -> parse(Rest, Conf#conf{dirs = [Dir | Dirs]}). run(Conf) -> try erldocs_core:dispatch(...
<|file_sep|>src/erldocs.erl.diff original: updated: -record(conf, {dirs = [], destination = cwd() ++ "/docs/erldocs"}). <|file_sep|>src/erldocs.erl.diff original: parse(Args, []). updated: parse(Args, #conf{}). <|file_sep|>src/erldocs.erl.diff original: parse([], []) -> Dest = filename:absname("docs/erldo...
97c01e722c7bc762920a67188ffc0ea4a7dea08c
src/erldocs.erl
src/erldocs.erl
Erlang
<|file_sep|>original/packages/test-studio/src/dashboardConfig.js export default { widgets: [ {name: 'sanity-tutorials', layout: {width: 'full'}}, {name: 'document-list'}, {name: 'document-list', options: {title: 'Last edited', order: '_updatedAt desc'}}, {name: 'document-list', options: {title: 'Last ...
export default { widgets: [ {name: 'sanity-tutorials', layout: {width: 'full'}}, {name: 'document-list'}, {name: 'document-list', options: {title: 'Last edited', order: '_updatedAt desc'}}, {name: 'document-list', options: {title: 'Last created books', types: ['book']}}, {name: 'project-users'}, ...
<|file_sep|>original/packages/test-studio/src/dashboardConfig.js export default { widgets: [ {name: 'sanity-tutorials', layout: {width: 'full'}}, {name: 'document-list'}, {name: 'document-list', options: {title: 'Last edited', order: '_updatedAt desc'}}, {name: 'document-list', options: {title: 'Last ...
c2400b1dd1febefc3d36e9241dacfd020bcb19d3
packages/test-studio/src/dashboardConfig.js
packages/test-studio/src/dashboardConfig.js
JavaScript
<|file_sep|>original/scripts/install-dockertools.ps1 # install docker tools choco install -y docker-machine -version 0.5.6 choco install -y docker-compose -version 1.5.2 <|file_sep|>current/scripts/install-dockertools.ps1 # install docker tools choco install -y docker-machine -version 0.5.6 choco install -y docker-comp...
# install docker tools choco install -y docker-machine -version 0.6.0 choco install -y docker-compose -version 1.6.0
<|file_sep|>original/scripts/install-dockertools.ps1 # install docker tools choco install -y docker-machine -version 0.5.6 choco install -y docker-compose -version 1.5.2 <|file_sep|>current/scripts/install-dockertools.ps1 # install docker tools choco install -y docker-machine -version 0.5.6 choco install -y docker-comp...
f5656979efe9478aab9ec6abecd24843350e63e0
scripts/install-dockertools.ps1
scripts/install-dockertools.ps1
PowerShell
<|file_sep|>app/services/feed_info.rb.diff original: updated: feed = Feed.find_by_onestop_id(feed.onestop_id) || feed <|file_sep|>app/services/feed_info.rb.diff original: updated: operator = Operator.find_by_onestop_id(operator.onestop_id) || operator <|file_sep|>original/app/services/feed_info.rb @...
def parse_feed_and_operators # feed feed = Feed.from_gtfs(@gtfs, url: @url) feed = Feed.find_by_onestop_id(feed.onestop_id) || feed # operators operators = [] @gtfs.agencies.each do |agency| next if agency.stops.size == 0 operator = Operator.from_gtfs(agency) operator = Oper...
<|file_sep|>app/services/feed_info.rb.diff original: updated: feed = Feed.find_by_onestop_id(feed.onestop_id) || feed <|file_sep|>app/services/feed_info.rb.diff original: updated: operator = Operator.find_by_onestop_id(operator.onestop_id) || operator <|file_sep|>original/app/services/feed_info.rb @...
f6f649f00e96a7d100ce7ba7050c4cf947e47889
app/services/feed_info.rb
app/services/feed_info.rb
Ruby
<|file_sep|>original/zuul.d/layout.yaml <|file_sep|>current/zuul.d/layout.yaml <|file_sep|>updated/zuul.d/layout.yaml
--- - project: name: openstack/os-apply-config templates: - tripleo-multinode-baremetal-minimal - tripleo-multinode-container-minimal - tripleo-ovb-check - tripleo-ovb-experimental
<|file_sep|>original/zuul.d/layout.yaml <|file_sep|>current/zuul.d/layout.yaml <|file_sep|>updated/zuul.d/layout.yaml --- - project: name: openstack/os-apply-config templates: - tripleo-multinode-baremetal-minimal - tripleo-multinode-container-minimal - tripleo-ovb-check - tripleo-ovb...
6ade352ddddfc9f5361ff5229ec4227f3f6d8752
zuul.d/layout.yaml
zuul.d/layout.yaml
YAML
<|file_sep|>original/nonce.go // Nonce is a 24-byte number that should be used once per message. type Nonce [24]byte // DecodeNonce decodes a nonce from its Base58 string representation. func DecodeNonce(s string) (*Nonce, error) { var nonce Nonce buf, err := basen.Base58.DecodeString(s) if err != nil { return ni...
// Nonce is a 24-byte number that should be used once per message. type Nonce [24]byte // DecodeNonce decodes a nonce from its Base58 string representation. func DecodeNonce(s string) (*Nonce, error) { var nonce Nonce buf, err := basen.Base58.DecodeString(s) if err != nil { return nil, err } copy(nonce[:], buf)...
<|file_sep|>original/nonce.go // Nonce is a 24-byte number that should be used once per message. type Nonce [24]byte // DecodeNonce decodes a nonce from its Base58 string representation. func DecodeNonce(s string) (*Nonce, error) { var nonce Nonce buf, err := basen.Base58.DecodeString(s) if err != nil { return ni...
571bad4bf39576e70e4a4278ba5753a1b59126a1
nonce.go
nonce.go
Go
<|file_sep|>original/deploy/staging/prison-visits-public-secrets.yaml GITCRYPTG|Uh#Ѓ3[|2ߴ^w='L\-D}a@w6('+)Wr){P*hZÿ} $}|q r1k!-E;qo 2]Pq-[P%r[\2Q\þIN3(ex{5E:#mY(ۋƧ3|kN'h]Q\9 BqZ1Tq%Rf^:<M~y渇8h|$7`#ƘqTkd隙 p5Ws)vR/KMxkD^0v-y E sڟ9fq8N>A9xcA0.̝e@F'|oD`8!# e~k2Q:Lf_?*O̗о“>a\k6![ZnܷdH...
GITCRYPT[:$Nv֧DSt ,@sz}Nj<&8ɜQ%՟#7Y{2+29Rk bڛcy݋c| DY3tR }2/e0 iA mZ,a"QYBW̓[jn7ƝӐ1RznB40Fz q~= & i V|xَbyj,޿uGUs+s<jÀ{3@gzU7&J 7//Mur MSFaLbܑX- !$c~lv ?*.rt9Ө\VKC&GA\"-{?oߛof1 e}n zVFCU̷#s1mÏ3u[j/j-S'2+\6/]!1ㅽ+ D{!O-A<`SpfH=*eEօi^Fٓ7"]ݲlQ54g*n!B+Owtkwkv Dݮ װN-PFO)d+...
<|file_sep|>original/deploy/staging/prison-visits-public-secrets.yaml GITCRYPTG|Uh#Ѓ3[|2ߴ^w='L\-D}a@w6('+)Wr){P*hZÿ} $}|q r1k!-E;qo 2]Pq-[P%r[\2Q\þIN3(ex{5E:#mY(ۋƧ3|kN'h]Q\9 BqZ1Tq%Rf^:<M~y渇8h|$7`#ƘqTkd隙 p5Ws)vR/KMxkD^0v-y E sڟ9fq8N>A9xcA0.̝e@F'|oD`8!# e~k2Q:Lf_?*O̗о“>a\k6![ZnܷdH...
dd61eb13d61ad2b725b7e7a33e93e20eaf904070
deploy/staging/prison-visits-public-secrets.yaml
deploy/staging/prison-visits-public-secrets.yaml
YAML
<|file_sep|>.travis.yml.diff original: - 1.3 - tip updated: - 1.4 <|file_sep|>original/.travis.yml language: go go: - 1.3 - tip install: - go get -u code.google.com/p/go.tools/cmd/cover - go get -u github.com/mattn/goveralls script: - go test -race -cpu=2 -covermode=count -coverprofile=profile.cov - $HOME/gopath/bin/go...
language: go go: - 1.4 install: - go get -u golang.org/x/tools/cmd/cover - go get -u github.com/mattn/goveralls script: - go test -race -cpu=2 -covermode=count -coverprofile=profile.cov - $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
<|file_sep|>.travis.yml.diff original: - 1.3 - tip updated: - 1.4 <|file_sep|>original/.travis.yml language: go go: - 1.3 - tip install: - go get -u code.google.com/p/go.tools/cmd/cover - go get -u github.com/mattn/goveralls script: - go test -race -cpu=2 -covermode=count -coverprofile=profile.cov - $HOME/gopath/bin/go...
d8395ec48f76cc5df14ccc0cd05d6c9a9805f9fc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CHANGELOG.md 1.2.0 / 2015-09-21 ================== BC break: * Changed the behavior of `getValue` for checkboxes according to the BC break in Mink 1.6 New features: * Updated the driver to use findElementsXpaths for Mink 1.7 and forward compatibility with Mink 2 * Implemented `submitForm` * Imp...
1.2.1 / 2016-03-05 ================== Bug fixes: * Fixed the handling of cookies with semicolon in the value Testsuite: * Added testing on PHP 7 1.2.0 / 2015-09-21 ================== BC break: * Changed the behavior of `getValue` for checkboxes according to the BC break in Mink 1.6 New features: * Updated the ...
<|file_sep|>original/CHANGELOG.md 1.2.0 / 2015-09-21 ================== BC break: * Changed the behavior of `getValue` for checkboxes according to the BC break in Mink 1.6 New features: * Updated the driver to use findElementsXpaths for Mink 1.7 and forward compatibility with Mink 2 * Implemented `submitForm` * Imp...
8636f8d33409641d6913a45359083654bc7391e4
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/README.md atom-linter =========== atom-linter is an npm helper module that you can import in your Linter Providers and make things easier for yourself. #### API ```js class Helpers{ static exec(command: String, args: Array<string> = [], options: Object = {stream: 'stdout'}) static execNode(f...
atom-linter =========== atom-linter is an npm helper module that you can import in your Linter Providers and make things easier for yourself. #### API ```js class Helpers{ static exec(command: String, args: Array<string> = [], options: Object = {stream: 'stdout'}) static execNode(filePath: String, args: Array<st...
<|file_sep|>original/README.md atom-linter =========== atom-linter is an npm helper module that you can import in your Linter Providers and make things easier for yourself. #### API ```js class Helpers{ static exec(command: String, args: Array<string> = [], options: Object = {stream: 'stdout'}) static execNode(f...
3fe45e08194a12d29e329e04f2da1a919e1b6268
README.md
README.md
Markdown
<|file_sep|>original/app/assets/javascripts/infinite-scroll.js var approachingBottomOfPage, loadNextPageAt, nextPage, nextPageFnRunning, viewMore, ready; nextPageFnRunning = false; loadNextPageAt = 3000; approachingBottomOfPage = function() { return $(window).scrollTop() > $(document).height() - $(window).height() ...
var approachingBottomOfPage, loadNextPageAt, nextPage, nextPageFnRunning, viewMore, ready, checkAndLoad; nextPageFnRunning = false; loadNextPageAt = 3000; approachingBottomOfPage = function() { return $(window).scrollTop() > $(document).height() - $(window).height() - loadNextPageAt; }; nextPage = function() { v...
<|file_sep|>original/app/assets/javascripts/infinite-scroll.js var approachingBottomOfPage, loadNextPageAt, nextPage, nextPageFnRunning, viewMore, ready; nextPageFnRunning = false; loadNextPageAt = 3000; approachingBottomOfPage = function() { return $(window).scrollTop() > $(document).height() - $(window).height() ...
ccf7e5dd25479b0371f349245f42eb49905f0d92
app/assets/javascripts/infinite-scroll.js
app/assets/javascripts/infinite-scroll.js
JavaScript
<|file_sep|>lib/headerParsingLib.js.diff original: var qs = require("qs"); updated: var querystring = require("querystring"); <|file_sep|>original/lib/headerParsingLib.js * getNextLink * @function * @param {Object} response A response object returned from calling 'client.makeRequest' * @returns A parsed version of ...
* getNextLink * @function * @param {Object} response A response object returned from calling 'client.makeRequest' * @returns A parsed version of the link to the subsequent page, or null if no such page exists. */ var getNextLink = function (response) { if (response.headers.link) { var links = response.headers.l...
<|file_sep|>lib/headerParsingLib.js.diff original: var qs = require("qs"); updated: var querystring = require("querystring"); <|file_sep|>original/lib/headerParsingLib.js * getNextLink * @function * @param {Object} response A response object returned from calling 'client.makeRequest' * @returns A parsed version of ...
2388db23e4b11ebd4e35399bb52d0708fae5059a
lib/headerParsingLib.js
lib/headerParsingLib.js
JavaScript
<|file_sep|>original/dom/automation/detect_malloc_errors.py pline = "" ppline = "" for line in currentFile: line = line.strip("\x07").rstrip("\n") if (-1 != line.find("szone_error") or -1 != line.find("malloc_error_break") or -1 != line.find("MallocHelp")): ...
pline = "" ppline = "" for line in currentFile: line = line.strip("\x07").rstrip("\n") if (-1 != line.find("szone_error") or -1 != line.find("malloc_error_break") or -1 != line.find("MallocHelp")): if (-1 == pline.find("can't allocate region")): ...
<|file_sep|>original/dom/automation/detect_malloc_errors.py pline = "" ppline = "" for line in currentFile: line = line.strip("\x07").rstrip("\n") if (-1 != line.find("szone_error") or -1 != line.find("malloc_error_break") or -1 != line.find("MallocHelp")): ...
45e758b56370f5bb34ff28c4660837fd9037b945
dom/automation/detect_malloc_errors.py
dom/automation/detect_malloc_errors.py
Python