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|>ipa-fun-checkout.sh.diff original: echo "Usage: $0 branch [destination]" updated: echo "Usage: $0 branch " <|file_sep|>original/ipa-fun-checkout.sh # Validate branch name # TODO: support just pieces of branch name if [[ $1 == "" ]] then echo "Usage: $0 branch [destination]" exit 1 fi # Check if de...
# If any command here fails, exit the script set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source $DIR/config.sh # Validate branch name # TODO: support just pieces of branch name if [[ $1 == "" ]] then echo "Usage: $0 branch " exit 1 fi pushd $IPA_DIR # Checkout to the given branch echo "Checki...
<|file_sep|>ipa-fun-checkout.sh.diff original: echo "Usage: $0 branch [destination]" updated: echo "Usage: $0 branch " <|file_sep|>original/ipa-fun-checkout.sh # Validate branch name # TODO: support just pieces of branch name if [[ $1 == "" ]] then echo "Usage: $0 branch [destination]" exit 1 fi # Check if de...
0a910fbdce6bcf3afc869238a75385112697260d
ipa-fun-checkout.sh
ipa-fun-checkout.sh
Shell
<|file_sep|>original/.github/workflows/main-openjdk_lts-linux.yml on: push: branches: [ develop, feature/*, release/* ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: JDK uses: actions/setup-java@v1 wi...
on: push: branches: [ develop, feature/*, release/* ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: JDK uses: actions/setup-java@v1 with: java-version: 17 - name: Build run: mv...
<|file_sep|>original/.github/workflows/main-openjdk_lts-linux.yml on: push: branches: [ develop, feature/*, release/* ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: JDK uses: actions/setup-java@v1 wi...
a4a707b86791a3048a0700e1b4904a92bb496390
.github/workflows/main-openjdk_lts-linux.yml
.github/workflows/main-openjdk_lts-linux.yml
YAML
<|file_sep|>original/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb SUMMARY = "Freedesktop sound theme" HOMEPAGE = "http://freedesktop.org/wiki/Specifications/sound-theme-spec" LICENSE = "GPLv2+ CC-BY-3.0 CC-BY-SA-3.0" LIC_FILES_CHKSUM = "file://CREDITS;md5=3213e601ce34bb42ddc3498903ac4e69" # g...
SUMMARY = "Freedesktop sound theme" HOMEPAGE = "http://freedesktop.org/wiki/Specifications/sound-theme-spec" LICENSE = "GPLv2+ & CC-BY-3.0 & CC-BY-SA-3.0" LIC_FILES_CHKSUM = "file://CREDITS;md5=3213e601ce34bb42ddc3498903ac4e69" # glib-2.0 for glib-gettext.m4 which provides AM_GLIB_GNU_GETTEXT # intltool for intltool.m...
<|file_sep|>original/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb SUMMARY = "Freedesktop sound theme" HOMEPAGE = "http://freedesktop.org/wiki/Specifications/sound-theme-spec" LICENSE = "GPLv2+ CC-BY-3.0 CC-BY-SA-3.0" LIC_FILES_CHKSUM = "file://CREDITS;md5=3213e601ce34bb42ddc3498903ac4e69" # g...
09db50599aed073cc173b7de23358a83abd27218
meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
BitBake
<|file_sep|>original/Modules/Remote/IOFDF.remote.cmake itk_fetch_module(IOFDF "FDFImageIO plugin for ITK. Authors Gleen Pierce/Nick Tustison/Kent Williams" GIT_REPOSITORY http://github.com/InsightSoftwareConsortium/itkFDFImageIO.git GIT_TAG eff61805983c8a92b7a2043b94272d7b865c5a06 ) <|file_sep|>current/Modules...
itk_fetch_module(IOFDF "FDFImageIO plugin for ITK. Authors Gleen Pierce/Nick Tustison/Kent Williams" GIT_REPOSITORY http://github.com/InsightSoftwareConsortium/itkFDFImageIO.git GIT_TAG 145e6342bd340919574003e4e324b0b9ebf49d26 )
<|file_sep|>original/Modules/Remote/IOFDF.remote.cmake itk_fetch_module(IOFDF "FDFImageIO plugin for ITK. Authors Gleen Pierce/Nick Tustison/Kent Williams" GIT_REPOSITORY http://github.com/InsightSoftwareConsortium/itkFDFImageIO.git GIT_TAG eff61805983c8a92b7a2043b94272d7b865c5a06 ) <|file_sep|>current/Modules...
db56773985ef368726a0e3edeb720b3a37acdf21
Modules/Remote/IOFDF.remote.cmake
Modules/Remote/IOFDF.remote.cmake
CMake
<|file_sep|>original/KeywordSearch/ivysettings.xml <ivysettings> <settings defaultResolver="main"/> <resolvers> <chain name="main"> <ibiblio name="central" m2compatible="true"/> <ibiblio name="maven.restlet.org" root="http://maven.restlet.org" m2compatible="true" /> </chain> </reso...
<ivysettings> <settings defaultResolver="main"/> <resolvers> <chain name="main"> <ibiblio name="central" m2compatible="true"/> <ibiblio name="maven.restlet.org" root="http://maven.restlet.com" m2compatible="true" /> </chain> </resolvers> </ivysettings>
<|file_sep|>original/KeywordSearch/ivysettings.xml <ivysettings> <settings defaultResolver="main"/> <resolvers> <chain name="main"> <ibiblio name="central" m2compatible="true"/> <ibiblio name="maven.restlet.org" root="http://maven.restlet.org" m2compatible="true" /> </chain> </reso...
27421e9f2ab97c5c0583bab9065d5c1536fe7326
KeywordSearch/ivysettings.xml
KeywordSearch/ivysettings.xml
XML
<|file_sep|>original/run-on-vm.sh <|file_sep|>current/run-on-vm.sh <|file_sep|>updated/run-on-vm.sh
#!/usr/bin/env sh cd ../OpenConext-deploy && vagrant ssh -c "cd /opt/openconext/OpenConext-engineblock/ && $@" && cd ../OpenConext-engineblock
<|file_sep|>original/run-on-vm.sh <|file_sep|>current/run-on-vm.sh <|file_sep|>updated/run-on-vm.sh #!/usr/bin/env sh cd ../OpenConext-deploy && vagrant ssh -c "cd /opt/openconext/OpenConext-engineblock/ && $@" && cd ../OpenConext-engineblock
0f7f7f39d151ef21a9790e4fee9c13b56ed0432e
run-on-vm.sh
run-on-vm.sh
Shell
<|file_sep|>original/README.md # Express helper [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)] ### A convenient way to track your package in Chrome Browser ## Installation **express helper** can be installed from [Chrome Web Store](https://chrome.google.com/webstore/category/extensions) ## Us...
# Express helper [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)] ### A convenient way to track your package in Chrome Browser ## Installation **express helper** can be installed from [Chrome Web Store](https://chrome.google.com/webstore/detail/express-helper/mlikhhcddekiepmagohoklonboibillj) #...
<|file_sep|>original/README.md # Express helper [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)] ### A convenient way to track your package in Chrome Browser ## Installation **express helper** can be installed from [Chrome Web Store](https://chrome.google.com/webstore/category/extensions) ## Us...
6137953115ea1b3fd0d9407b0a7562c8a5537509
README.md
README.md
Markdown
<|file_sep|>original/setup.cfg [bumpversion] current_version = 2.2.1 commit = True tag = True [aliases] test = pytest [bumpversion:file:setup.py] [bumpversion:file:skosify/__init__.py] [bdist_wheel] universal = 1 [flake8] max-line-length = 140 <|file_sep|>current/setup.cfg [bumpversion] current_version = 2.2.1 com...
[bumpversion] current_version = 2.2.1 commit = True tag = True [aliases] test = pytest [bumpversion:file:setup.py] [bumpversion:file:skosify/__init__.py] [bdist_wheel] universal = 1 [flake8] max-line-length = 120
<|file_sep|>original/setup.cfg [bumpversion] current_version = 2.2.1 commit = True tag = True [aliases] test = pytest [bumpversion:file:setup.py] [bumpversion:file:skosify/__init__.py] [bdist_wheel] universal = 1 [flake8] max-line-length = 140 <|file_sep|>current/setup.cfg [bumpversion] current_version = 2.2.1 com...
1f6aeb22befefbad2c4789a670b8a54c880bafae
setup.cfg
setup.cfg
INI
<|file_sep|>original/web/templates/user/show.html.slim .columns .one-fourth.column = avatar(@user, size: 230) h2 = @user.name .three-fourths.column .pb-3.clearfix a.btn.btn-primary.float-right href="#{style_path(@conn, :new, @user.name)}" = gettext "New tweak" = if Enum.count(@styles) == 0 do ...
.columns .one-fourth.column = avatar(@user, size: 230) h2 = @user.name .three-fourths.column = if !is_nil(@current_user) && @current_user.name == @user.name do .pb-3.clearfix a.btn.btn-primary.float-right href="#{style_path(@conn, :new, @user.name)}" = gettext "New tweak" = if Enum.cou...
<|file_sep|>original/web/templates/user/show.html.slim .columns .one-fourth.column = avatar(@user, size: 230) h2 = @user.name .three-fourths.column .pb-3.clearfix a.btn.btn-primary.float-right href="#{style_path(@conn, :new, @user.name)}" = gettext "New tweak" = if Enum.count(@styles) == 0 do ...
1e3111d50907f8a108b44a02e0c6be2dfc646e4a
web/templates/user/show.html.slim
web/templates/user/show.html.slim
Slim
<|file_sep|>README.md.diff original: The 'fail_unconfigured' function was written to simplify a common pattern in our manifests: updated: fail_unconfigured ================= Description ----------- The 'fail_unconfigured' function was written to simplify a common default case: fail and log a few facts that are often ...
With this function, we are able to simplify to this: class foo::params { case $operatingsystem { "knownos": { ... } default: { fail_unconfigured() } } } Author ------- Wil Cooley wcooley(at)nakedape.cc License ------- Author:: Wil Cooley (wcooley(at)nakedape.cc) ...
<|file_sep|>README.md.diff original: The 'fail_unconfigured' function was written to simplify a common pattern in our manifests: updated: fail_unconfigured ================= Description ----------- The 'fail_unconfigured' function was written to simplify a common default case: fail and log a few facts that are often ...
48312831a3aead8ddf9a3212aad04b57785b1f5c
README.md
README.md
Markdown
<|file_sep|>original/.github/stale.yml <|file_sep|>current/.github/stale.yml <|file_sep|>updated/.github/stale.yml
# Configuration for probot-stale - https://github.com/probot/stale # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 90 # Number of days of inactivity before an Issue or Pull Request with the stale label is closed. # Set to false to disable. If disabled, issues still need to...
<|file_sep|>original/.github/stale.yml <|file_sep|>current/.github/stale.yml <|file_sep|>updated/.github/stale.yml # Configuration for probot-stale - https://github.com/probot/stale # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 90 # Number of days of inactivity before ...
439371980ba6f9bac78cd5353cfe2a56f1d2c085
.github/stale.yml
.github/stale.yml
YAML
<|file_sep|>original/tests/fixtures/extra/double_link.html <p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p> <p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p> <p>Already linked: <a href="http://example.com/"><strong>http://example.com/</strong></a>.</p> <|file_s...
<p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p> <p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p> <p>Already linked: <a href="http://example.com/">**http://example.com/**</a>.</p>
<|file_sep|>original/tests/fixtures/extra/double_link.html <p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p> <p>Already linked: <a href="http://example.com/">http://example.com/</a>.</p> <p>Already linked: <a href="http://example.com/"><strong>http://example.com/</strong></a>.</p> <|file_s...
cfda32534eb97c040964061a6d68a39a969ea049
tests/fixtures/extra/double_link.html
tests/fixtures/extra/double_link.html
HTML
<|file_sep|>original/bin/requirements.txt google-auth-oauthlib==0.4.1 googleapis-common-protos==1.52.0 httplib2==0.18.1 idna==2.9 oauth2client==4.1.3 oauthlib==3.1.0 protobuf==3.12.2 pyasn1==0.4.8 pyasn1-modules==0.2.8 python-slugify==4.0.0 pytube3==9.6.4 pytz==2020.1 requests==2.23.0 requests-oauthlib==1.3.0 rsa==4.1 ...
google-auth-oauthlib==0.4.1 googleapis-common-protos==1.52.0 httplib2==0.18.1 idna==2.9 oauth2client==4.1.3 oauthlib==3.1.0 protobuf==3.12.2 pyasn1==0.4.8 pyasn1-modules==0.2.8 python-slugify==4.0.0 pytube3==9.6.4 pytz==2020.1 requests==2.23.0 requests-oauthlib==1.3.0 rsa==4.2 sitemap-python==0.2.0 six==1.15.0 text-uni...
<|file_sep|>original/bin/requirements.txt google-auth-oauthlib==0.4.1 googleapis-common-protos==1.52.0 httplib2==0.18.1 idna==2.9 oauth2client==4.1.3 oauthlib==3.1.0 protobuf==3.12.2 pyasn1==0.4.8 pyasn1-modules==0.2.8 python-slugify==4.0.0 pytube3==9.6.4 pytz==2020.1 requests==2.23.0 requests-oauthlib==1.3.0 rsa==4.1 ...
83a9f4cd3026164daa650e8057a35afd6fd85700
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>src/emoji/EmojiRow.js.diff original: onPress: () => void, updated: onPress: (name: string) => void, <|file_sep|>src/emoji/EmojiRow.js.diff original: updated: handlePress = () => { const { name, onPress } = this.props; onPress(name); }; <|file_sep|>src/emoji/EmojiRow.js.diff original: c...
handlePress = () => { const { name, onPress } = this.props; onPress(name); }; render() { const { name } = this.props; // TODO: this only handles Unicode emoji (shipped with the app), // not realm emoji or Zulip extra emoji. See our issue #2846. return ( <Touchable onPress={this.h...
<|file_sep|>src/emoji/EmojiRow.js.diff original: onPress: () => void, updated: onPress: (name: string) => void, <|file_sep|>src/emoji/EmojiRow.js.diff original: updated: handlePress = () => { const { name, onPress } = this.props; onPress(name); }; <|file_sep|>src/emoji/EmojiRow.js.diff original: c...
8533357e61375e8f955cfa7b39be59a2cd56a020
src/emoji/EmojiRow.js
src/emoji/EmojiRow.js
JavaScript
<|file_sep|>original/requirements-app.txt # Run `make freeze-requirements` to update requirements.txt # with package version changes made in requirements-app.txt ago==0.0.92 Flask==1.0.2 Flask-WTF==0.14.2 Flask-Login==0.4.1 blinker==1.4 pyexcel==0.5.8 pyexcel-io==0.5.7 pyexcel-xls==0.5.7 pyexcel-xlsx==0.5.6 pyexcel-o...
# Run `make freeze-requirements` to update requirements.txt # with package version changes made in requirements-app.txt ago==0.0.92 Flask==1.0.2 Flask-WTF==0.14.2 Flask-Login==0.4.1 blinker==1.4 pyexcel==0.5.8 pyexcel-io==0.5.8 pyexcel-xls==0.5.7 pyexcel-xlsx==0.5.6 pyexcel-ods3==0.5.2 pytz==2018.5 gunicorn==19.8.1 w...
<|file_sep|>original/requirements-app.txt # Run `make freeze-requirements` to update requirements.txt # with package version changes made in requirements-app.txt ago==0.0.92 Flask==1.0.2 Flask-WTF==0.14.2 Flask-Login==0.4.1 blinker==1.4 pyexcel==0.5.8 pyexcel-io==0.5.7 pyexcel-xls==0.5.7 pyexcel-xlsx==0.5.6 pyexcel-o...
6071c98031da46edf12b6d216ec4a9e40fc278c2
requirements-app.txt
requirements-app.txt
Text
<|file_sep|>metadata/be.knars.netflixtoimdb.yml.diff original: AutoName: Netflix to IMDb updated: AutoName: NI <|file_sep|>metadata/be.knars.netflixtoimdb.yml.diff original: updated: - versionName: '5.1' versionCode: 6 commit: '5.1' subdir: app gradle: - yes <|file_sep|>original/metadata/be.kn...
gradle: - yes - versionName: '4.0' versionCode: 4 commit: '4.0' subdir: app gradle: - yes - versionName: '5.1' versionCode: 6 commit: '5.1' subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: '5.1' CurrentVersionCode: 6
<|file_sep|>metadata/be.knars.netflixtoimdb.yml.diff original: AutoName: Netflix to IMDb updated: AutoName: NI <|file_sep|>metadata/be.knars.netflixtoimdb.yml.diff original: updated: - versionName: '5.1' versionCode: 6 commit: '5.1' subdir: app gradle: - yes <|file_sep|>original/metadata/be.kn...
6b030b2c9eb9c7ad9933228b2643bd79a5ea2834
metadata/be.knars.netflixtoimdb.yml
metadata/be.knars.netflixtoimdb.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - bundle install <|file_sep|>original/.travis.yml language: go go: - 1.2 install: - script/bootstrap script: - export PATH="$HOME/gopath/bin:$PATH" - script/build - script/test <|file_sep|>current/.travis.yml language: go go: - 1.2 install: - script/boots...
language: go go: - 1.2 install: - script/bootstrap - bundle install script: - export PATH="$HOME/gopath/bin:$PATH" - script/build - script/test - bundle exec rake features
<|file_sep|>.travis.yml.diff original: updated: - bundle install <|file_sep|>original/.travis.yml language: go go: - 1.2 install: - script/bootstrap script: - export PATH="$HOME/gopath/bin:$PATH" - script/build - script/test <|file_sep|>current/.travis.yml language: go go: - 1.2 install: - script/boots...
17544aa0ca802622b835624a75f6bba50386f2c0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/leiningen/new/chestnut/env/test/js/unit-test.js var page = require('webpage').create(); var url = phantom.args[0]; page.onConsoleMessage = function (message) { console.log(message); }; function exit(code) { setTimeout(function(){ phantom.exit(code); }, 0); phantom.onError = function(){}...
var page = require('webpage').create(); var url; if (phantom.args) { url = phantom.args[0]; } else { url = require('system').args[1]; } page.onConsoleMessage = function (message) { console.log(message); }; function exit(code) { setTimeout(function(){ phantom.exit(code); }, 0); phantom.onError = function(){...
<|file_sep|>original/src/leiningen/new/chestnut/env/test/js/unit-test.js var page = require('webpage').create(); var url = phantom.args[0]; page.onConsoleMessage = function (message) { console.log(message); }; function exit(code) { setTimeout(function(){ phantom.exit(code); }, 0); phantom.onError = function(){}...
37acd3b3cebbbc7eae0cc14b53043e441b48acbe
src/leiningen/new/chestnut/env/test/js/unit-test.js
src/leiningen/new/chestnut/env/test/js/unit-test.js
JavaScript
<|file_sep|>original/lib/node_modules/@stdlib/utils/read-stdin/test/fixtures/stdin.js 'use strict'; // MODULES // var Readable = require( 'readable-stream' ).Readable; // STREAM // /** * Readable stream. * * @private * @constructor * @returns {Stream} Stream instance */ function Stream() { if ( !(this instanceof ...
'use strict'; // MODULES // var Readable = require( 'stream' ).Readable; // STREAM // /** * Readable stream. * * @private * @constructor * @returns {Stream} Stream instance */ function Stream() { if ( !(this instanceof Stream) ) { return new Stream(); } Readable.call( this );
<|file_sep|>original/lib/node_modules/@stdlib/utils/read-stdin/test/fixtures/stdin.js 'use strict'; // MODULES // var Readable = require( 'readable-stream' ).Readable; // STREAM // /** * Readable stream. * * @private * @constructor * @returns {Stream} Stream instance */ function Stream() { if ( !(this instanceof ...
e1c7ee5ce1fc5d5ff35b6e9d574d8553df3ab2fd
lib/node_modules/@stdlib/utils/read-stdin/test/fixtures/stdin.js
lib/node_modules/@stdlib/utils/read-stdin/test/fixtures/stdin.js
JavaScript
<|file_sep|>original/rebulk/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ Define simple search patterns in bulk to perform advanced matching on any string """ from .rebulk import Rebulk from .match import Match from .rules import Rule from .pattern import REGEX_AVAILABLE <|file_sep|>current/rebulk/__in...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Define simple search patterns in bulk to perform advanced matching on any string """ from .rebulk import Rebulk from .match import Match from .rules import Rule, AppendMatchRule, RemoveMatchRule from .pattern import REGEX_AVAILABLE
<|file_sep|>original/rebulk/__init__.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ Define simple search patterns in bulk to perform advanced matching on any string """ from .rebulk import Rebulk from .match import Match from .rules import Rule from .pattern import REGEX_AVAILABLE <|file_sep|>current/rebulk/__in...
2f6c82d74592c80b5042c0b808a658650896cbec
rebulk/__init__.py
rebulk/__init__.py
Python
<|file_sep|>original/metadata/com.money.manager.ex.txt * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Repo:https://github.com/moneymanagerex/android-mon...
* Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Repo:https://github.com/moneymanagerex/android-money-manager-ex Build:2.15.2,687 disable=third party...
<|file_sep|>original/metadata/com.money.manager.ex.txt * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Repo:https://github.com/moneymanagerex/android-mon...
89841a3c927c105923b89cb219353ffef6ed85f9
metadata/com.money.manager.ex.txt
metadata/com.money.manager.ex.txt
Text
<|file_sep|>original/SSPPullToRefresh.podspec Pod::Spec.new do |s| s.name = 'SSPPullToRefresh' s.version = '0.1.11' s.summary = 'General classes for "Pull-To-Refresh" concept customisation' s.description = <<-DESC This general classes provide for client the possbility to make...
Pod::Spec.new do |s| s.name = 'SSPPullToRefresh' s.version = '0.1.12' s.summary = 'General classes for "Pull-To-Refresh" concept customisation' s.description = <<-DESC This general classes provide for client the possbility to make own derived implementations ...
<|file_sep|>original/SSPPullToRefresh.podspec Pod::Spec.new do |s| s.name = 'SSPPullToRefresh' s.version = '0.1.11' s.summary = 'General classes for "Pull-To-Refresh" concept customisation' s.description = <<-DESC This general classes provide for client the possbility to make...
4f772879e0c6f4e147270a2c4411db07b11cede1
SSPPullToRefresh.podspec
SSPPullToRefresh.podspec
Ruby
<|file_sep|>original/addon/components/mail-check.js email: _this.value, suggested: function(suggestion) { var message = 'Did you mean '; _this.set('hint', message); _this.set('suggestion', suggestion.full); }, empty: function() { var email = _this....
email: _this.value, suggested: function(suggestion) { var message = 'Did you mean '; _this.set('hint', message); _this.set('suggestion', suggestion.full); }, empty: function() { var email = _this.value; if (isEmail(email)) { ...
<|file_sep|>original/addon/components/mail-check.js email: _this.value, suggested: function(suggestion) { var message = 'Did you mean '; _this.set('hint', message); _this.set('suggestion', suggestion.full); }, empty: function() { var email = _this....
6a8911b4c95529923a198c534c87615ed5833a18
addon/components/mail-check.js
addon/components/mail-check.js
JavaScript
<|file_sep|>original/README.md # validates\_url\_format\_of Rails plugin that provides a `validates_url_format_of` method to `ActiveRecord` models. URLs are validated by regexp. ## Usage After installing the plugin, it's used like class User < ActiveRecord::Base validates_url_format_of :url, ...
# validates\_url\_format\_of [![Build Status](https://travis-ci.org/conickal/validates_url_format_of.png?branch=master)](https://travis-ci.org/conickal/validates_url_format_of) Rails plugin that provides a `validates_url_format_of` method to `ActiveRecord` models. URLs are validated by regexp. ## Usage After install...
<|file_sep|>original/README.md # validates\_url\_format\_of Rails plugin that provides a `validates_url_format_of` method to `ActiveRecord` models. URLs are validated by regexp. ## Usage After installing the plugin, it's used like class User < ActiveRecord::Base validates_url_format_of :url, ...
b78137cb2807b942a6e3d4210807ffcc5bc59022
README.md
README.md
Markdown
<|file_sep|>common/virtualbox-guest-additions.sh.diff original: updated: # # Installs the VirtualBox guest additions <|file_sep|>original/common/virtualbox-guest-additions.sh #!/bin/bash set -e # Install dependencies yum -y install dkms bzip2 # Mount the ISO mountpoint=/tmp/virtualbox-guest-addtions guest_additions...
#!/bin/bash # # Installs the VirtualBox guest additions set -e # Only run this script if actually running a VirtualBox build if [ "${PACKER_BUILDER_TYPE}" != "virtualbox-iso"] && [ "${PACKER_BUILDER_TYPE}" != "virtualbox-ovf"]; then exit 0 fi # Install dependencies yum -y install dkms bzip2 # Mount the ISO moun...
<|file_sep|>common/virtualbox-guest-additions.sh.diff original: updated: # # Installs the VirtualBox guest additions <|file_sep|>original/common/virtualbox-guest-additions.sh #!/bin/bash set -e # Install dependencies yum -y install dkms bzip2 # Mount the ISO mountpoint=/tmp/virtualbox-guest-addtions guest_additions...
e744083c6431f72cf8bebaae1736f00346cc10bf
common/virtualbox-guest-additions.sh
common/virtualbox-guest-additions.sh
Shell
<|file_sep|>original/project/plugins.sbt resolvers += Resolver.url("hmrc-sbt-plugin-releases", url("https://dl.bintray.com/hmrc/sbt-plugin-releases"))(Resolver.ivyStylePatterns) resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/" addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "1.4.0") ...
resolvers += Resolver.url("hmrc-sbt-plugin-releases", url("https://dl.bintray.com/hmrc/sbt-plugin-releases"))(Resolver.ivyStylePatterns) resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/" addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "1.4.0") addSbtPlugin("uk.gov.hmrc" % "sbt-git-ver...
<|file_sep|>original/project/plugins.sbt resolvers += Resolver.url("hmrc-sbt-plugin-releases", url("https://dl.bintray.com/hmrc/sbt-plugin-releases"))(Resolver.ivyStylePatterns) resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/" addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "1.4.0") ...
decb0f6aeaec797067e0b9fae76f5530c00c6f9a
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>src/CMakeLists.txt.diff original: TARGET_LINK_LIBRARIES(Native lapacke cblas) updated: TARGET_LINK_LIBRARIES(Native lapacke cblas blas) <|file_sep|>original/src/CMakeLists.txt # Compilation of the source code # Generation of a shared librairy libNative.so # Generation of an executable NativeSolid (linked wi...
# Compilation of the source code # Generation of a shared librairy libNative.so # Generation of an executable NativeSolid (linked with libNative.so) #FILE(GLOB SRCS ../include/*.hpp *.cpp ../include/*.inl ../inclue/*.h) ADD_LIBRARY(Native SHARED ../include/config.h ../include/geometry.h ../include/integration.h ../in...
<|file_sep|>src/CMakeLists.txt.diff original: TARGET_LINK_LIBRARIES(Native lapacke cblas) updated: TARGET_LINK_LIBRARIES(Native lapacke cblas blas) <|file_sep|>original/src/CMakeLists.txt # Compilation of the source code # Generation of a shared librairy libNative.so # Generation of an executable NativeSolid (linked wi...
af0eba32dd9bdf3928b3cd1f31e7a1d5eee9890e
src/CMakeLists.txt
src/CMakeLists.txt
Text
<|file_sep|>original/spec/classes/tripleo_certmonger_httpd.rb <|file_sep|>current/spec/classes/tripleo_certmonger_httpd.rb <|file_sep|>updated/spec/classes/tripleo_certmonger_httpd.rb
# # Copyright (C) 2017 Red Hat Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
<|file_sep|>original/spec/classes/tripleo_certmonger_httpd.rb <|file_sep|>current/spec/classes/tripleo_certmonger_httpd.rb <|file_sep|>updated/spec/classes/tripleo_certmonger_httpd.rb # # Copyright (C) 2017 Red Hat Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file ex...
a51c0e739971bf0d6795166e940fea04dfc5099d
spec/classes/tripleo_certmonger_httpd.rb
spec/classes/tripleo_certmonger_httpd.rb
Ruby
<|file_sep|>original/.travis.yml script: "bundle exec rake spec" language: ruby rvm: - 1.9.3 - ruby-head - jruby - rbx-19mode matrix: allow_failures: - rvm: ruby-head - rvm: jruby - rvm: rbx-19mode gemfile: - gemfiles/rails_32.gemfile - gemfiles/rails_40.gemfile <|file_sep|>current/.travis.yml...
script: "bundle exec rake spec" language: ruby rvm: - 1.9.3 - 2.0.0 - 2.1.0 - ruby-head - jruby - rbx-19mode matrix: allow_failures: - rvm: ruby-head - rvm: jruby - rvm: rbx-19mode gemfile: - gemfiles/rails_32.gemfile - gemfiles/rails_40.gemfile
<|file_sep|>original/.travis.yml script: "bundle exec rake spec" language: ruby rvm: - 1.9.3 - ruby-head - jruby - rbx-19mode matrix: allow_failures: - rvm: ruby-head - rvm: jruby - rvm: rbx-19mode gemfile: - gemfiles/rails_32.gemfile - gemfiles/rails_40.gemfile <|file_sep|>current/.travis.yml...
fa50fc8c3d3b4c25dd5612e77e8416b87f573147
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - oraclejdk7 updated: <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 - oraclejdk7 - openjdk7 addons: hosts: - localhost hostname: localhost before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME...
language: java jdk: - oraclejdk8 - openjdk7 addons: hosts: - localhost hostname: localhost before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ after_succes...
<|file_sep|>.travis.yml.diff original: - oraclejdk7 updated: <|file_sep|>original/.travis.yml language: java jdk: - oraclejdk8 - oraclejdk7 - openjdk7 addons: hosts: - localhost hostname: localhost before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME...
fc38c8c182c2cf923e68deacc442840add1f6fa0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.utility/deploy-travis-wrapper.sh #!/bin/bash ./gradlew bintrayUpload & # output every 9 min to prevent a Travis timeout PID=$! while [[ `ps -p $PID | tail -n +2` ]]; do echo 'Deploying...' sleep 540 done <|file_sep|>current/.utility/deploy-travis-wrapper.sh #!/bin/bash ./gradlew bintrayUplo...
#!/bin/bash ./gradlew bintrayUpload & # output every 9 min to prevent a Travis timeout PID=$! while [[ $(ps -p $PID | tail -n +2) ]]; do echo 'Deploying...' sleep 540 done
<|file_sep|>original/.utility/deploy-travis-wrapper.sh #!/bin/bash ./gradlew bintrayUpload & # output every 9 min to prevent a Travis timeout PID=$! while [[ `ps -p $PID | tail -n +2` ]]; do echo 'Deploying...' sleep 540 done <|file_sep|>current/.utility/deploy-travis-wrapper.sh #!/bin/bash ./gradlew bintrayUplo...
0081be120c42b5010bbeda0c1673facbc1c12b52
.utility/deploy-travis-wrapper.sh
.utility/deploy-travis-wrapper.sh
Shell
<|file_sep|>libs/asset.php.diff original: <link rel="stylesheet" href="<?= WEBROOT . $src ?>"> updated: <link rel="stylesheet" href="<?= WEBROOT . 'css/' . $src ?>"> <|file_sep|>original/libs/asset.php <?php class Asset { public function css($src) { ?> <link rel="stylesheet" href="<?= WEBROOT . $src ?>"> ...
<?php class Asset { public function css($src) { ?> <link rel="stylesheet" href="<?= WEBROOT . 'css/' . $src ?>"> <?php } public function script($src) { ?> <script src="<?= WEBROOT . 'js/' . $src ?>"></script> <?php } }
<|file_sep|>libs/asset.php.diff original: <link rel="stylesheet" href="<?= WEBROOT . $src ?>"> updated: <link rel="stylesheet" href="<?= WEBROOT . 'css/' . $src ?>"> <|file_sep|>original/libs/asset.php <?php class Asset { public function css($src) { ?> <link rel="stylesheet" href="<?= WEBROOT . $src ?>"> ...
bd3db9a0a2be5e665f50f7cec31f1d90da950650
libs/asset.php
libs/asset.php
PHP
<|file_sep|>original/README.md amiibo.github.io ================ The page to keep track of your amiibos <|file_sep|>current/README.md amiibo.github.io ================ The page to keep track of your amiibos <|file_sep|>updated/README.md
amiibo.github.io ================ The page to keep track of your amiibos. All the images are from Nintendo website.
<|file_sep|>original/README.md amiibo.github.io ================ The page to keep track of your amiibos <|file_sep|>current/README.md amiibo.github.io ================ The page to keep track of your amiibos <|file_sep|>updated/README.md amiibo.github.io ================ The page to keep track of your amiibos. All th...
6edfeeaec8ff1ac6ae8c1b19219cdebbc788ed68
README.md
README.md
Markdown
<|file_sep|>tests/CallGraphTest.hs.diff original: import Data.ByteString.Char8 ( unpack ) updated: <|file_sep|>original/tests/CallGraphTest.hs cgPattern = "tests/callgraph/order/*.c" expectedMapper :: FilePath -> FilePath expectedMapper = (<.> "expected") extractTraversalOrder :: Module -> [Set String] extractTraver...
expectedMapper :: FilePath -> FilePath expectedMapper = (<.> "expected") extractTraversalOrder :: Module -> [Set String] extractTraversalOrder m = case res == pres of True -> res False -> error "Mismatch between serial and parallel result" where Just mainFunc = findMain m pta = runPointsToAnalysis...
<|file_sep|>tests/CallGraphTest.hs.diff original: import Data.ByteString.Char8 ( unpack ) updated: <|file_sep|>original/tests/CallGraphTest.hs cgPattern = "tests/callgraph/order/*.c" expectedMapper :: FilePath -> FilePath expectedMapper = (<.> "expected") extractTraversalOrder :: Module -> [Set String] extractTraver...
f6436407f6f8e50588987b8320775ea7a5533903
tests/CallGraphTest.hs
tests/CallGraphTest.hs
Haskell
<|file_sep|>original/_posts/2021/11/2021-11-28-startup-tools.md --- title: Startup tools for a better version summary: Are you a startup founder and are you looking for startup tools like invoice, planning or just making money with much automation? Check this article, from founder to founders. categories: startup tags...
--- title: Startup tools for a better version summary: Are you a startup founder and are you looking for startup tools like invoice, planning or just making money with much automation? Check this article, from founder to founders. categories: startup tags: tools startup date: 2021-11-28 09:09:09 +0000 cover: https://c...
<|file_sep|>original/_posts/2021/11/2021-11-28-startup-tools.md --- title: Startup tools for a better version summary: Are you a startup founder and are you looking for startup tools like invoice, planning or just making money with much automation? Check this article, from founder to founders. categories: startup tags...
36f81da235732e7a791fff334d1a4f4e4ea40742
_posts/2021/11/2021-11-28-startup-tools.md
_posts/2021/11/2021-11-28-startup-tools.md
Markdown
<|file_sep|>original/uber/templates/static_views/howToStaff.html <html> <head> <title> How to Volunteer at {{ EVENT_NAME }} </title> </head> <body> <h3 align="center"> How do I sign up to volunteer at {{ EVENT_NAME }}? </h3> All first-time volunteers must <a target="_blank" href="https://magfestubersystem.com/mag...
<html> <head> <title> How to Volunteer at {{ EVENT_NAME }} </title> </head> <body> <h3 align="center"> How do I sign up to volunteer at {{ EVENT_NAME }}? </h3> All first-time volunteers must <a target="_blank" href="{{ URL_BASE }}/preregistration/">preregister</a> for a badge. When you preregister, simply select ...
<|file_sep|>original/uber/templates/static_views/howToStaff.html <html> <head> <title> How to Volunteer at {{ EVENT_NAME }} </title> </head> <body> <h3 align="center"> How do I sign up to volunteer at {{ EVENT_NAME }}? </h3> All first-time volunteers must <a target="_blank" href="https://magfestubersystem.com/mag...
a928587aa85ce91c256e59e264e81df2864e714f
uber/templates/static_views/howToStaff.html
uber/templates/static_views/howToStaff.html
HTML
<|file_sep|>.travis.yml.diff original: updated: - mkdir -p demo/ <|file_sep|>.travis.yml.diff original: - cd demo/template/continuous_deployment updated: - cd demo/continuous_deployment <|file_sep|>original/.travis.yml - 12 cache: directories: - $TRAVIS_BUILD_DIR/demo/node_modules - $TRAVIS_BUILD_DI...
cache: directories: - $TRAVIS_BUILD_DIR/demo/node_modules - $TRAVIS_BUILD_DIR/demo/functions/node_modules before_install: - mkdir -p demo/ - cp -R packages/rmw-shell/cra-template-rmw/template demo/ - cd demo/continuous_deployment - chmod +x before_install.sh - ./before_install.shgit before_script...
<|file_sep|>.travis.yml.diff original: updated: - mkdir -p demo/ <|file_sep|>.travis.yml.diff original: - cd demo/template/continuous_deployment updated: - cd demo/continuous_deployment <|file_sep|>original/.travis.yml - 12 cache: directories: - $TRAVIS_BUILD_DIR/demo/node_modules - $TRAVIS_BUILD_DI...
d9d3b29d456449d7861e6a209ba7cc31159ecddb
.travis.yml
.travis.yml
YAML
<|file_sep|>composer.json.diff original: "illuminate/html": "5.0.*@dev" updated: "illuminate/html": "~5.0" <|file_sep|>original/composer.json "phpunit/phpunit": "~4.0", "mockery/mockery": "0.9.*" }, "extra": { "branch-alias": { "dev-master": "1.1.x-dev" ...
"phpunit/phpunit": "~4.0", "mockery/mockery": "0.9.*" }, "extra": { "branch-alias": { "dev-master": "1.1.x-dev" } }, "autoload": { "psr-0": { "Kris\\LaravelFormBuilder": "src/" }, "classmap": [ "tests/FormBuilder...
<|file_sep|>composer.json.diff original: "illuminate/html": "5.0.*@dev" updated: "illuminate/html": "~5.0" <|file_sep|>original/composer.json "phpunit/phpunit": "~4.0", "mockery/mockery": "0.9.*" }, "extra": { "branch-alias": { "dev-master": "1.1.x-dev" ...
c18aab7c952e2e8d9538602bc9abc0ce8bcc1999
composer.json
composer.json
JSON
<|file_sep|>original/README.md mcstatus provides an easy way to query Minecraft servers for any information they can expose. It provides two modes of access, 'query' and 'ping', the differences of which are listed below in usage. Usage ----- from mcstatus import MinecraftServer server = MinecraftServer("...
mcstatus provides an easy way to query Minecraft servers for any information they can expose. It provides two modes of access, 'query' and 'ping', the differences of which are listed below in usage. Usage ----- ```python from mcstatus import MinecraftServer server = MinecraftServer("localhost", 25565) # 'ping' is s...
<|file_sep|>original/README.md mcstatus provides an easy way to query Minecraft servers for any information they can expose. It provides two modes of access, 'query' and 'ping', the differences of which are listed below in usage. Usage ----- from mcstatus import MinecraftServer server = MinecraftServer("...
ed792b4642dc27f66257e697ac3cf5afe9addb5e
README.md
README.md
Markdown
<|file_sep|>original/ideasbox/templates/ideasbox/includes/tag_list.html {% spaceless %} {% for tag in tags %} <a href="{% url url tag=tag %}">{{ tag }}</a>{% if not forloop.last %},{% endif %} {% endfor %} {% endspaceless %} <|file_sep|>current/ideasbox/templates/ideasbox/includes/tag_list.html {% space...
{% spaceless %} {% for tag in tags %} <a href="{% url url tag=tag.slug %}">{{ tag }}</a>{% if not forloop.last %},{% endif %} {% endfor %} {% endspaceless %}
<|file_sep|>original/ideasbox/templates/ideasbox/includes/tag_list.html {% spaceless %} {% for tag in tags %} <a href="{% url url tag=tag %}">{{ tag }}</a>{% if not forloop.last %},{% endif %} {% endfor %} {% endspaceless %} <|file_sep|>current/ideasbox/templates/ideasbox/includes/tag_list.html {% space...
46d39ec32a66d395a06d03891de640d281ef86ce
ideasbox/templates/ideasbox/includes/tag_list.html
ideasbox/templates/ideasbox/includes/tag_list.html
HTML
<|file_sep|>original/app/services/api/v1/data/historical_emissions_csv_content.rb @headers.shift @years = filter.years end def call CSV.generate do |csv| csv << @headers.map(&:humanize) + @years @grouped_query.each do |record| ary = @h...
@headers.shift @years = filter.years end def call CSV.generate do |csv| csv << @headers.map(&:humanize) + @years @grouped_query.each do |record| ary = @headers.map { |h| record[h] } ary += @years.map do |y| ...
<|file_sep|>original/app/services/api/v1/data/historical_emissions_csv_content.rb @headers.shift @years = filter.years end def call CSV.generate do |csv| csv << @headers.map(&:humanize) + @years @grouped_query.each do |record| ary = @h...
4636bfac93cefb9260c082ac652e5faa127be9f4
app/services/api/v1/data/historical_emissions_csv_content.rb
app/services/api/v1/data/historical_emissions_csv_content.rb
Ruby
<|file_sep|>original/source/partials/_doc-menu.html.erb <nav class="doc-menu"> <span class="sandwich"></span> <ul> <li><%= link_to "Home", "#{base_url}" %></li> <li><%= link_to "Use agora", "#{base_url}/documentacao/introducao/" %></li> <li><%= link_to "Changelog", "#{base_url}/changelog" %></li> <l...
<nav class="doc-menu"> <span class="sandwich"></span> <ul> <li><%= link_to "Home", "#{base_url}" %></li> <li><%= link_to "Documentação", "#{base_url}/documentacao/introducao/" %></li> <li><%= link_to "Changelog", "#{base_url}/changelog" %></li> <li><%= link_to "Documentação V1", "http://locaweb.gith...
<|file_sep|>original/source/partials/_doc-menu.html.erb <nav class="doc-menu"> <span class="sandwich"></span> <ul> <li><%= link_to "Home", "#{base_url}" %></li> <li><%= link_to "Use agora", "#{base_url}/documentacao/introducao/" %></li> <li><%= link_to "Changelog", "#{base_url}/changelog" %></li> <l...
b4ec2cbc4aaf71d88840dca2db658d0b849a34c1
source/partials/_doc-menu.html.erb
source/partials/_doc-menu.html.erb
HTML+ERB
<|file_sep|>original/website/templates/elements/blogcategory_compact_column_item.html {% load staticfiles %} <h3> {{ item.title }} </h3> <div class="mod_placehere"> <div style="overflow:auto;" class="mod_placehere_leading even"> <table width="100%" border="0" cellspacing="0" cellpadding="3"> {% for...
{% load staticfiles %} <h3> {{ item.title }} </h3> <table width="100%" border="0" cellspacing="0" cellpadding="3"> {% for child in item.children %} <tr> <td width="25px" style="padding:0px 0px 5px 5px;"> <img src="{% static "images/icons/headline.png" %}"/> </td> <td> ...
<|file_sep|>original/website/templates/elements/blogcategory_compact_column_item.html {% load staticfiles %} <h3> {{ item.title }} </h3> <div class="mod_placehere"> <div style="overflow:auto;" class="mod_placehere_leading even"> <table width="100%" border="0" cellspacing="0" cellpadding="3"> {% for...
943037d8ea7f212c3a3ddf5f6c81fb06c35c44ea
website/templates/elements/blogcategory_compact_column_item.html
website/templates/elements/blogcategory_compact_column_item.html
HTML
<|file_sep|>original/src/main/app/js/i18n.js 'gl': 'Galician', 'glk': 'گیلکی', 'hu': 'Magyar', 'ja': '日本語', 'ko': '한국어', 'nl': 'Nederlands', 'nb': 'Norsk (bokmål)', 'nn': 'Norsk (nynorsk)', 'pt': 'Português', 'pl': 'Polski', 'ru': 'Pусский', 'fi': 'Suomi', 'sv': 'Svenska', 'zh': '简体中文', 'i...
'gl': 'Galician', 'glk': 'گیلکی', 'hu': 'Magyar', 'ja': '日本語', 'ko': '한국어', 'nl': 'Nederlands', 'nb': 'Norsk (bokmål)', 'nn': 'Norsk (nynorsk)', 'pt': 'Português', 'pl': 'Polski', 'ru': 'Русский', 'fi': 'Suomi', 'sv': 'Svenska', 'zh': '简体中文', 'it': 'Italiano', 'tr': 'Türkçe', 'cy': 'Cy...
<|file_sep|>original/src/main/app/js/i18n.js 'gl': 'Galician', 'glk': 'گیلکی', 'hu': 'Magyar', 'ja': '日本語', 'ko': '한국어', 'nl': 'Nederlands', 'nb': 'Norsk (bokmål)', 'nn': 'Norsk (nynorsk)', 'pt': 'Português', 'pl': 'Polski', 'ru': 'Pусский', 'fi': 'Suomi', 'sv': 'Svenska', 'zh': '简体中文', 'i...
1b8ff7ca61e28e841067f5759f586e74318179ed
src/main/app/js/i18n.js
src/main/app/js/i18n.js
JavaScript
<|file_sep|>original/search/fibonacci_search/python/fibonacci_search.py <|file_sep|>current/search/fibonacci_search/python/fibonacci_search.py <|file_sep|>updated/search/fibonacci_search/python/fibonacci_search.py
#Fibonacci search for sorted algorithm def fibSearch(arr,x): #fibonacci numbers initialization fib2 = 0 fib1 = 1 fib = fib2 + fib1 n = len(arr) #find the smallest fibonacci greater than or equal to array length while (fib < n): fib2 = fib1 fib1 = fib fib = fib2 + fi...
<|file_sep|>original/search/fibonacci_search/python/fibonacci_search.py <|file_sep|>current/search/fibonacci_search/python/fibonacci_search.py <|file_sep|>updated/search/fibonacci_search/python/fibonacci_search.py #Fibonacci search for sorted algorithm def fibSearch(arr,x): #fibonacci numbers initialization ...
30f704c3e767462fefb5086bbf6b5f190cec7c1b
search/fibonacci_search/python/fibonacci_search.py
search/fibonacci_search/python/fibonacci_search.py
Python
<|file_sep|>original/tox.ini [testenv] # These will be installed with pip before the commands below are run. deps= -rrequirements.txt commands= # Run unit tests. py.test --pyargs my_project # Run this to `pip-compile` your `requirements*.in` files into `requirements.txt`. Note that # this will use your de...
[testenv] # These will be installed with pip before the commands below are run. deps= -rrequirements.txt commands= # Run unit tests. py.test --pyargs my_project # Run this to `pip-compile` your `requirements*.in` files into `requirements.txt`. Note that # this will use your default version of python when ...
<|file_sep|>original/tox.ini [testenv] # These will be installed with pip before the commands below are run. deps= -rrequirements.txt commands= # Run unit tests. py.test --pyargs my_project # Run this to `pip-compile` your `requirements*.in` files into `requirements.txt`. Note that # this will use your de...
d38614fd712369eb01655e2b9dce73edc436389a
tox.ini
tox.ini
INI
<|file_sep|>original/.travis.yml language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g env: - KOREBUILD_DNU_RESTORE_CORECLR=true mono: - 4.0.5 script: - ./build.sh --quiet verify <|file_sep...
language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g env: - KOREBUILD_DNU_RESTORE_CORECLR=true - KOREBUILD_TEST_DNXCORE=true mono: - 4.0.5 script: - ./build.sh --quiet verify
<|file_sep|>original/.travis.yml language: csharp sudo: required dist: trusty addons: apt: packages: - gettext - libcurl4-openssl-dev - libicu-dev - libssl-dev - libunwind8 - zlib1g env: - KOREBUILD_DNU_RESTORE_CORECLR=true mono: - 4.0.5 script: - ./build.sh --quiet verify <|file_sep...
cd0266590959658018a27be0dfaeea496e4e9f99
.travis.yml
.travis.yml
YAML
<|file_sep|>test/models/base_model_test.rb.diff original: updated: def setup @foo = :foo @bar_baz = :bar_baz @qux = :qux data_hash = { foo: @foo, barBaz: @bar_baz, qux: @qux } @test_model = TestModel.new(data_hash) end <|file_sep|>test/models/base_model_test.rb.diff original: ...
class BaseModelTest < MiniTest::Unit::TestCase def setup @foo = :foo @bar_baz = :bar_baz @qux = :qux data_hash = { foo: @foo, barBaz: @bar_baz, qux: @qux } @test_model = TestModel.new(data_hash) end def test_initialize_sets_proper_attributes assert_equal(@test_model.fo...
<|file_sep|>test/models/base_model_test.rb.diff original: updated: def setup @foo = :foo @bar_baz = :bar_baz @qux = :qux data_hash = { foo: @foo, barBaz: @bar_baz, qux: @qux } @test_model = TestModel.new(data_hash) end <|file_sep|>test/models/base_model_test.rb.diff original: ...
55b16f76189bff666f9792387ea61332ce5c5a23
test/models/base_model_test.rb
test/models/base_model_test.rb
Ruby
<|file_sep|>oh-my-zsh.sh.diff original: # Load all of your custom configurations from custom/ for config_file ($ZSH/custom/*.zsh) source $config_file updated: <|file_sep|>original/oh-my-zsh.sh # Load and run compinit autoload -U compinit compinit -i # Load all of your custom configurations from custom/ for config_fi...
autoload -U compinit compinit -i # Load all of the plugins that were defined in ~/.zshrc for plugin ($plugins); do if [ -f $ZSH/plugins/$plugin/$plugin.plugin.zsh ]; then source $ZSH/plugins/$plugin/$plugin.plugin.zsh fi done # Load all of your custom configurations from custom/ for config_file ($ZSH/custom/*...
<|file_sep|>oh-my-zsh.sh.diff original: # Load all of your custom configurations from custom/ for config_file ($ZSH/custom/*.zsh) source $config_file updated: <|file_sep|>original/oh-my-zsh.sh # Load and run compinit autoload -U compinit compinit -i # Load all of your custom configurations from custom/ for config_fi...
51a7cb093b94938aec250bd3bc8177d7c01e49a5
oh-my-zsh.sh
oh-my-zsh.sh
Shell
<|file_sep|>original/ReQL.h #include "ReQL-ast.h" #ifndef _REQL_H #define _REQL_H struct _ReQL_Conn_s { int socket; int error; char *buf; }; typedef struct _ReQL_Conn_s _ReQL_Conn_t; struct _ReQL_Cur_s { }; typedef struct _ReQL_Cur_s _ReQL_Cur_t; int _reql_connect(_ReQL_Conn_t *conn, unsigned char host_len, ...
#include "ReQL-ast.h" #ifndef _REQL_H #define _REQL_H struct _ReQL_Conn_s { int socket; int error; char *buf; unsigned int max_token; struct _ReQL_Cur_s **cursor; }; typedef struct _ReQL_Conn_s _ReQL_Conn_t; struct _ReQL_Cur_s { }; typedef struct _ReQL_Cur_s _ReQL_Cur_t; int _reql_connect(_ReQL_Conn_t *c...
<|file_sep|>original/ReQL.h #include "ReQL-ast.h" #ifndef _REQL_H #define _REQL_H struct _ReQL_Conn_s { int socket; int error; char *buf; }; typedef struct _ReQL_Conn_s _ReQL_Conn_t; struct _ReQL_Cur_s { }; typedef struct _ReQL_Cur_s _ReQL_Cur_t; int _reql_connect(_ReQL_Conn_t *conn, unsigned char host_len, ...
394a095665a5ac4f465d194b46da6bf77a340958
ReQL.h
ReQL.h
C
<|file_sep|>original/src/Models/Realm.php public function infoOpTargetDominions() { return $this->hasManyThrough( Dominion::class, InfoOp::class, 'source_realm_id', 'id', null, 'target_dominion_id' ); } public func...
public function infoOpTargetDominions() { return $this->hasManyThrough( Dominion::class, InfoOp::class, 'source_realm_id', 'id', null, 'target_dominion_id' ) ->groupBy('target_dominion_id') ->orderBy...
<|file_sep|>original/src/Models/Realm.php public function infoOpTargetDominions() { return $this->hasManyThrough( Dominion::class, InfoOp::class, 'source_realm_id', 'id', null, 'target_dominion_id' ); } public func...
395c0023cc68ec1cfa58cef31ae97a0ec817d34f
src/Models/Realm.php
src/Models/Realm.php
PHP
<|file_sep|>Main.hs.diff original: updated: import Examples.Util(flags) <|file_sep|>original/Main.hs mains = ["tar" * Tar.main, "self" * Self.main ,"basic1" * Basic1.main, "directory" * Directory.main, "errors" * Errors.main ,"filepath" * FilePath.main, "files" * Files.main, "pool" * Pool.main] wh...
mains = ["tar" * Tar.main, "self" * Self.main ,"basic1" * Basic1.main, "directory" * Directory.main, "errors" * Errors.main ,"filepath" * FilePath.main, "files" * Files.main, "pool" * Pool.main] where (*) = (,) main :: IO () main = do xs <- getArgs case flip lookup (fakes ++ mains) =<< lis...
<|file_sep|>Main.hs.diff original: updated: import Examples.Util(flags) <|file_sep|>original/Main.hs mains = ["tar" * Tar.main, "self" * Self.main ,"basic1" * Basic1.main, "directory" * Directory.main, "errors" * Errors.main ,"filepath" * FilePath.main, "files" * Files.main, "pool" * Pool.main] wh...
9e422a22ea170258b5672f11abc0243a740d863c
Main.hs
Main.hs
Haskell
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 - ruby-head script: bundle exec rspec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.1 - ruby-head script: bundle exec rspec <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 - 2.1.1 - ruby-head script: bundle exec rspec
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.1 - ruby-head script: bundle exec rspec <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.1 - ruby-head script: bundle exec rspec <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.9.3 - 2.1.1 - ruby-head script: bundle exec rspec
1dee9af504025e8f58185a3a5fed5ec6166ee2f6
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/local-links-manager/check_links/link_status_updater.rb.diff original: attr_reader :column, :table, :url_checker updated: attr_reader :url_checker <|file_sep|>lib/local-links-manager/check_links/link_status_updater.rb.diff original: @table = Link @column = :url updated: <|fil...
links.each do |url| response = url_checker.check_link(url) update_link(url, response) end end private def links Link.enabled_links.distinct.pluck(:url) end def update_link(url, link_response) Link.where(url: url).update_all( st...
<|file_sep|>lib/local-links-manager/check_links/link_status_updater.rb.diff original: attr_reader :column, :table, :url_checker updated: attr_reader :url_checker <|file_sep|>lib/local-links-manager/check_links/link_status_updater.rb.diff original: @table = Link @column = :url updated: <|fil...
9207fd860a235b495b776a426e9ab9ccd8f874e0
lib/local-links-manager/check_links/link_status_updater.rb
lib/local-links-manager/check_links/link_status_updater.rb
Ruby
<|file_sep|>original/meetings/15-09-29_slackin_off.md <|file_sep|>current/meetings/15-09-29_slackin_off.md <|file_sep|>updated/meetings/15-09-29_slackin_off.md
# Should we use Slack for our community? _Date:_ September 29th, 2015 _Attendees:_ - Dave Fontenot - Jonathan Leung - Max Wofford - Zach Latta ------------------------------------------------------------------------------- ## Primary Notes - We're going to move forward with using Slack for our community - Do we ...
<|file_sep|>original/meetings/15-09-29_slackin_off.md <|file_sep|>current/meetings/15-09-29_slackin_off.md <|file_sep|>updated/meetings/15-09-29_slackin_off.md # Should we use Slack for our community? _Date:_ September 29th, 2015 _Attendees:_ - Dave Fontenot - Jonathan Leung - Max Wofford - Zach Latta ----------...
2391b6833898636a1111408783c1a8d099f88518
meetings/15-09-29_slackin_off.md
meetings/15-09-29_slackin_off.md
Markdown
<|file_sep|>original/derrida/books/urls.py from django.conf.urls import url from django.contrib.admin.views.decorators import staff_member_required from derrida.books.views import ( PublisherAutocomplete, LanguageAutocomplete, InstanceDetailView, InstanceListView ) urlpatterns = [ # TODO: come up with cl...
from django.conf.urls import url from django.contrib.admin.views.decorators import staff_member_required from derrida.books.views import ( PublisherAutocomplete, LanguageAutocomplete, InstanceDetailView, InstanceListView ) urlpatterns = [ # TODO: come up with cleaner url patterns/names for autocomplete v...
<|file_sep|>original/derrida/books/urls.py from django.conf.urls import url from django.contrib.admin.views.decorators import staff_member_required from derrida.books.views import ( PublisherAutocomplete, LanguageAutocomplete, InstanceDetailView, InstanceListView ) urlpatterns = [ # TODO: come up with cl...
8188008cf1bd41c1cbe0452ff635dd0319dfecd9
derrida/books/urls.py
derrida/books/urls.py
Python
<|file_sep|>original/config/environment.rb MAX_UNREAD_COUNT = 10 DEFAULT_FAVICON = "#{Rails.root}/public/img/icon/default.png" SUBSCRIBE_LIMIT = 5000 SAVE_PIN_LIMIT = 100 CRAWL_INTERVAL = 60 ALLOW_TAGS = %w(a i u b em strong table tr td th tbody font center div pre code blockquote ins del img br p hr ul li ol dl dt d...
MAX_UNREAD_COUNT = 10 DEFAULT_FAVICON = "#{Rails.root}/public/img/icon/default.png" SUBSCRIBE_LIMIT = 5000 SAVE_PIN_LIMIT = 100 CRAWL_INTERVAL = 60 ALLOW_TAGS = %w(a i u b em strong table tr td th tbody font center div pre code blockquote ins del img br p hr ul li ol dl dt dd) ALLOW_ATTRIBUTES = %w(src width height b...
<|file_sep|>original/config/environment.rb MAX_UNREAD_COUNT = 10 DEFAULT_FAVICON = "#{Rails.root}/public/img/icon/default.png" SUBSCRIBE_LIMIT = 5000 SAVE_PIN_LIMIT = 100 CRAWL_INTERVAL = 60 ALLOW_TAGS = %w(a i u b em strong table tr td th tbody font center div pre code blockquote ins del img br p hr ul li ol dl dt d...
9025a647cc72eb68f5335c120f91eeb1d95f29ba
config/environment.rb
config/environment.rb
Ruby
<|file_sep|>original/config/software/libsqlite3.rb name "libsqlite3" default_version "3.7.7.1" source :git => 'git@github.com:LuaDist/libsqlite3.git' relative_path 'libsqlite3' env = { "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{i...
name "libsqlite3" default_version "3.7.7.1" source :git => 'git://github.com/LuaDist/libsqlite3.git' relative_path 'libsqlite3' env = { "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "LD_RUN_PATH" =>...
<|file_sep|>original/config/software/libsqlite3.rb name "libsqlite3" default_version "3.7.7.1" source :git => 'git@github.com:LuaDist/libsqlite3.git' relative_path 'libsqlite3' env = { "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{i...
8a8bc600927f56ca74eedc59429c27834831b4fa
config/software/libsqlite3.rb
config/software/libsqlite3.rb
Ruby
<|file_sep|>main/src/main/java/com/bloatit/web/exceptions/RedirectException.java.diff original: updated: // No serialization possible because IndexPageUrl is not serialisable. @SuppressWarnings("serial") <|file_sep|>original/main/src/main/java/com/bloatit/web/exceptions/RedirectException.java */ package com.bloatit.w...
*/ package com.bloatit.web.exceptions; import com.bloatit.web.utils.url.IndexPageUrl; import com.bloatit.web.utils.url.Url; // No serialization possible because IndexPageUrl is not serialisable. @SuppressWarnings("serial") public class RedirectException extends Exception { private final Url url; public Red...
<|file_sep|>main/src/main/java/com/bloatit/web/exceptions/RedirectException.java.diff original: updated: // No serialization possible because IndexPageUrl is not serialisable. @SuppressWarnings("serial") <|file_sep|>original/main/src/main/java/com/bloatit/web/exceptions/RedirectException.java */ package com.bloatit.w...
c4c2fec564d70583939b400002a7c6fc20be6053
main/src/main/java/com/bloatit/web/exceptions/RedirectException.java
main/src/main/java/com/bloatit/web/exceptions/RedirectException.java
Java
<|file_sep|>original/lib/capistrano/tasks/jekyll.rake namespace :jekyll do desc 'Build the website using Jekyll' task :build do on roles(:web) do within release_path do execute :jekyll, 'build' end end end desc 'Print Jekyll deprecation warnings' task :doctor do on roles(:web)...
namespace :jekyll do desc 'Build the website using Jekyll' task :build do on roles(:web) do within release_path do execute :jekyll, 'build' end end end desc 'Print Jekyll deprecation warnings' task :doctor do on roles(:web) do within release_path do execute :jeky...
<|file_sep|>original/lib/capistrano/tasks/jekyll.rake namespace :jekyll do desc 'Build the website using Jekyll' task :build do on roles(:web) do within release_path do execute :jekyll, 'build' end end end desc 'Print Jekyll deprecation warnings' task :doctor do on roles(:web)...
ea5febe63fb0de849f78be7c8ab1108be0be0c4a
lib/capistrano/tasks/jekyll.rake
lib/capistrano/tasks/jekyll.rake
Ruby
<|file_sep|>original/pac_alike.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <link href="./pac_styling.css" rel="stylesheet" type="text/css"/> <script src="./matrix.js"></script> <script src="./pac_constants.js"></script> <script src="./board.js"></script> <script src="./view.js"></script> ...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <link href="./pac_styling.css" rel="stylesheet" type="text/css"/> <script src="./matrix.js"></script> <script src="./pac_constants.js"></script> <script src="./audio_channel.js"></script> <script src="./board.js"></script> <script src="./view.js"></...
<|file_sep|>original/pac_alike.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"/> <link href="./pac_styling.css" rel="stylesheet" type="text/css"/> <script src="./matrix.js"></script> <script src="./pac_constants.js"></script> <script src="./board.js"></script> <script src="./view.js"></script> ...
715cf90200079a8d97a6b77b00e23e2d99025268
pac_alike.html
pac_alike.html
HTML
<|file_sep|>original/build/fbcode_builder_config.py # Since Bistro doesn't presently have an "install" target, there is no # point in having its spec in the shared spec directory. def fbcode_builder_spec(builder): return { 'depends_on': [folly, proxygen, fbthrift], 'steps': [ builder.fb_...
# Since Bistro doesn't presently have an "install" target, there is no # point in having its spec in the shared spec directory. def fbcode_builder_spec(builder): return { 'depends_on': [folly, proxygen, fbthrift], 'steps': [ builder.fb_github_project_workdir('bistro/bistro'), ...
<|file_sep|>original/build/fbcode_builder_config.py # Since Bistro doesn't presently have an "install" target, there is no # point in having its spec in the shared spec directory. def fbcode_builder_spec(builder): return { 'depends_on': [folly, proxygen, fbthrift], 'steps': [ builder.fb_...
59e15749671009047ec62cae315a07719d583ac7
build/fbcode_builder_config.py
build/fbcode_builder_config.py
Python
<|file_sep|>original/README.md # CothorityMobile A mobile application to perform distributed tasks using the [cothority-framework][cothority]. [cothority]: https://github.com/dedis/cothority <|file_sep|>current/README.md # CothorityMobile A mobile application to perform distributed tasks using the [cothority-framewo...
[![Build Status](https://travis-ci.org/lromerio/cothority-mobile.svg?branch=master)](https://travis-ci.org/lromerio/cothority-mobile) # CothorityMobile A mobile application to perform distributed tasks using the [cothority-framework][cothority]. [cothority]: https://github.com/dedis/cothority
<|file_sep|>original/README.md # CothorityMobile A mobile application to perform distributed tasks using the [cothority-framework][cothority]. [cothority]: https://github.com/dedis/cothority <|file_sep|>current/README.md # CothorityMobile A mobile application to perform distributed tasks using the [cothority-framewo...
f0f3f7edc5e1c25529d435b17c7441a11ece4242
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.11" - "0.10" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.11" - "0.10" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6"
173ec867042f87efd71b80f79629fa1d2e361306
.travis.yml
.travis.yml
YAML
<|file_sep|>views/bloglist.jade.diff original: updated: - var onlyhelp = true each blog in blogs if blog.status != help -onlyhelp = false <|file_sep|>views/bloglist.jade.diff original: td a(href='#{layout.htmlroot}/blog/' + blog.id) #{blog.na...
| closed else - allclosed = false if blog["reviewComment"+lang] | review else a(href="#{layout.htmlroot}/article/list?markdown#{lang}=&category=!=--unpublished--&...
<|file_sep|>views/bloglist.jade.diff original: updated: - var onlyhelp = true each blog in blogs if blog.status != help -onlyhelp = false <|file_sep|>views/bloglist.jade.diff original: td a(href='#{layout.htmlroot}/blog/' + blog.id) #{blog.na...
2e37ed45e56dfa94bd62100c73d7a68cb5169bff
views/bloglist.jade
views/bloglist.jade
Jade
<|file_sep|>phpunit.xml.dist.diff original: updated: <directory>./vendor/</directory> <|file_sep|>original/phpunit.xml.dist convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false" bootstrap="vendor/autoload.php" ...
convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false" bootstrap="vendor/autoload.php" > <testsuites> <testsuite name="Badcow Common Test Suite"> <directory>./lib/Tests</directory> </tests...
<|file_sep|>phpunit.xml.dist.diff original: updated: <directory>./vendor/</directory> <|file_sep|>original/phpunit.xml.dist convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false" bootstrap="vendor/autoload.php" ...
2eb9447bab9abd9d33b207708dc9d8484a3068f1
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>original/articles/appliance/monitoring/index.md --- url: /appliance/monitoring section: appliance description: Ways to monitor the PSaaS Appliance --- # Monitoring the Private SaaS (PSaaS) Appliance In addition to providing tools for monitoring your PSaaS Appliance, Auth0 provides integration with select ...
--- url: /appliance/monitoring section: appliance description: Ways to monitor the PSaaS Appliance --- # Monitoring the Private SaaS (PSaaS) Appliance In addition to providing tools for monitoring your PSaaS Appliance, Auth0 provides integration with select third-party utilities. Your options include: * **Instrumen...
<|file_sep|>original/articles/appliance/monitoring/index.md --- url: /appliance/monitoring section: appliance description: Ways to monitor the PSaaS Appliance --- # Monitoring the Private SaaS (PSaaS) Appliance In addition to providing tools for monitoring your PSaaS Appliance, Auth0 provides integration with select ...
681717e981cf399903dd65dd2619a2ae33c50345
articles/appliance/monitoring/index.md
articles/appliance/monitoring/index.md
Markdown
<|file_sep|>package.json.diff original: "homepage": "yo/modown", updated: "homepage": "http://yo/modown", <|file_sep|>original/package.json "lru-cache": "2.3.1" }, "devDependencies": { "chai": "*", "istanbul": "*", "jshint": "*", "mocha": "*", "xunit-file"...
"istanbul": "*", "jshint": "*", "mocha": "*", "xunit-file": "*" }, "scripts": { "cover": "./node_modules/istanbul/lib/cli.js cover -- ./node_modules/mocha/bin/_mocha tests/lib/*.js --reporter spec", "test": "jshint lib/index.js tests/lib/index.js && _mocha tests/l...
<|file_sep|>package.json.diff original: "homepage": "yo/modown", updated: "homepage": "http://yo/modown", <|file_sep|>original/package.json "lru-cache": "2.3.1" }, "devDependencies": { "chai": "*", "istanbul": "*", "jshint": "*", "mocha": "*", "xunit-file"...
7baa4ff3e7ba5051f9b2711a39b944b895b4dc9a
package.json
package.json
JSON
<|file_sep|>original/docs/networking.md Emulating a network card is supported. It can be used by passing the `network_relay_url` option to `V86Starter`. The url must point to a running WebSockets Proxy. The source code for WebSockets Proxy can be found at https://github.com/benjamincburns/websockproxy. The network car...
Emulating a network card is supported. It can be used by passing the `network_relay_url` option to `V86Starter`. The url must point to a running WebSockets Proxy. The source code for WebSockets Proxy can be found at https://github.com/benjamincburns/websockproxy. The network card could also be controlled programatical...
<|file_sep|>original/docs/networking.md Emulating a network card is supported. It can be used by passing the `network_relay_url` option to `V86Starter`. The url must point to a running WebSockets Proxy. The source code for WebSockets Proxy can be found at https://github.com/benjamincburns/websockproxy. The network car...
aaa583659c7fff0d7dd365c510e1ab1c65ee0b58
docs/networking.md
docs/networking.md
Markdown
<|file_sep|>src/main/scala/com/github/mrpowers/spark/daria/sql/DataFrameHelpers.scala.diff original: ): collection.mutable.Map[keyType, valueType] = { updated: ): Map[keyType, valueType] = { <|file_sep|>original/src/main/scala/com/github/mrpowers/spark/daria/sql/DataFrameHelpers.scala def twoColumnsToMap[keyType:...
def twoColumnsToMap[keyType: TypeTag, valueType: TypeTag]( df: DataFrame, keyColName: String, valueColName: String ): Map[keyType, valueType] = { validatePresenceOfColumns(df, Seq(keyColName, valueColName)) df .select(keyColName, valueColName) .collect() .map(r => (r(0).asInsta...
<|file_sep|>src/main/scala/com/github/mrpowers/spark/daria/sql/DataFrameHelpers.scala.diff original: ): collection.mutable.Map[keyType, valueType] = { updated: ): Map[keyType, valueType] = { <|file_sep|>original/src/main/scala/com/github/mrpowers/spark/daria/sql/DataFrameHelpers.scala def twoColumnsToMap[keyType:...
0cd6ff0cb672894d0756d3b06019c4ebc1c80709
src/main/scala/com/github/mrpowers/spark/daria/sql/DataFrameHelpers.scala
src/main/scala/com/github/mrpowers/spark/daria/sql/DataFrameHelpers.scala
Scala
<|file_sep|>original/.github/workflows/main.yml max-parallel: 5 matrix: python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-ve...
max-parallel: 5 matrix: python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies ...
<|file_sep|>original/.github/workflows/main.yml max-parallel: 5 matrix: python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-ve...
7f73f7e462c28b9ea7e7883e90de11954d40f5b6
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/.github/workflows/ci.yaml <|file_sep|>current/.github/workflows/ci.yaml <|file_sep|>updated/.github/workflows/ci.yaml
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
<|file_sep|>original/.github/workflows/ci.yaml <|file_sep|>current/.github/workflows/ci.yaml <|file_sep|>updated/.github/workflows/ci.yaml # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain...
edeb0e286867810c0e87c0b5ca4838289411b323
.github/workflows/ci.yaml
.github/workflows/ci.yaml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' sudo: false after_success: - gulp coverage deploy: provider: npm email: d2ltravisdeploy@d2l.com api_key: secure: T619z2cz2HgXROdDtzDkheikIK+B96ukczb3RFYAeHvvmK5UvXssHH9r13IzjtGMmvGP3hgkiQg397VDUYXAhl8fkSrHxiDkGARAZt2oFyMPPRPMWWoZfiwG59SK1TXp...
language: node_js node_js: - '0.12' sudo: false after_success: - gulp coverage deploy: provider: npm email: d2ltravisdeploy@d2l.com api_key: secure: NY9v4U8k4N9VKHTmYxnGeLT860amhm70H1F5ZA55t9zfRbEyE/jWcM+oR1cH65IhWFj+QxCSCh16QTScLnfiWP4w4TIeG1b70bY8mkw8lx+eeOzISoZylI7BmqnJRdMoJxr6tjCKgEQW71wRn1xxYZaaEgGZA10cJ...
<|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' sudo: false after_success: - gulp coverage deploy: provider: npm email: d2ltravisdeploy@d2l.com api_key: secure: T619z2cz2HgXROdDtzDkheikIK+B96ukczb3RFYAeHvvmK5UvXssHH9r13IzjtGMmvGP3hgkiQg397VDUYXAhl8fkSrHxiDkGARAZt2oFyMPPRPMWWoZfiwG59SK1TXp...
ccd395328b56eebe3cf7acdbfa07fcaebbeb1a31
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 # - 1.9.3 script: 'rake spec' before_install: - sudo apt-get update -qq - sudo apt-get install -qq libaugeas0 libaugeas-dev env: - PUPPET_VERSION="~> 2.7.0" # - PUPPET_VERSION="3.3" gemfile: .gemfile branches: only: - 'master' - 'wcool...
language: ruby rvm: - 1.8.7 # - 1.9.3 script: 'rake spec' before_install: - sudo add-apt-repository ppa:raphink/augeas - sudo apt-get update -qq - sudo apt-get install -qq libaugeas0 libaugeas-dev env: - PUPPET_VERSION="~> 2.7.0" # - PUPPET_VERSION="3.3" gemfile: .gemfile branches: only: - 'mast...
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 # - 1.9.3 script: 'rake spec' before_install: - sudo apt-get update -qq - sudo apt-get install -qq libaugeas0 libaugeas-dev env: - PUPPET_VERSION="~> 2.7.0" # - PUPPET_VERSION="3.3" gemfile: .gemfile branches: only: - 'master' - 'wcool...
1a347dc9af518fe694c4235ec7ae4b9d2cd44d0d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app.rb # This file contains your application, it requires dependencies and necessary # parts of the application. # # It will be required from either `config.ru` or `start.rb` require 'rubygems' require 'ramaze' require 'json' # Make sure that Ramaze knows where you are Ramaze.options.roots = [ __...
# This file contains your application, it requires dependencies and necessary # parts of the application. # # It will be required from either `config.ru` or `start.rb` require 'rubygems' require 'ramaze' require 'digest/sha1' require 'cgi' require 'json' # Make sure that Ramaze knows where you are Ramaze.options.root...
<|file_sep|>original/app.rb # This file contains your application, it requires dependencies and necessary # parts of the application. # # It will be required from either `config.ru` or `start.rb` require 'rubygems' require 'ramaze' require 'json' # Make sure that Ramaze knows where you are Ramaze.options.roots = [ __...
d16db7705067547eae6c8727dfdd655244c050e2
app.rb
app.rb
Ruby
<|file_sep|>original/requirements/common.txt PyYAML==3.12 blinker==1.4 pika==0.11.2 six==1.11.0 sqlalchemy==1.2.7 <|file_sep|>current/requirements/common.txt PyYAML==3.12 blinker==1.4 pika==0.11.2 six==1.11.0 sqlalchemy==1.2.7 <|file_sep|>updated/requirements/common.txt
PyYAML==3.12 blinker==1.4 pika==0.11.2 six==1.11.0 sqlalchemy==1.2.8
<|file_sep|>original/requirements/common.txt PyYAML==3.12 blinker==1.4 pika==0.11.2 six==1.11.0 sqlalchemy==1.2.7 <|file_sep|>current/requirements/common.txt PyYAML==3.12 blinker==1.4 pika==0.11.2 six==1.11.0 sqlalchemy==1.2.7 <|file_sep|>updated/requirements/common.txt PyYAML==3.12 blinker==1.4 pika==0.11.2 six==1.11....
689ed7a02081a8d54d5fe44e19c522cacc9df327
requirements/common.txt
requirements/common.txt
Text
<|file_sep|>Casks/android-studio.rb.diff original: version '0.8.4 build-135.1295215' sha256 '595d0f24bc02e3be3ff3d2e4dc7c623d3bbf5a57fd26b48c3613e9292e8fc5ec' updated: version '0.8.6 build-135.1339820' sha256 '3a9f65434a2381019f4487481331f539a69b09b8ea81a8b4dfff9c6a126423f0' <|file_sep|>original/Casks/android-s...
class AndroidStudio < Cask version '0.8.6 build-135.1339820' sha256 '3a9f65434a2381019f4487481331f539a69b09b8ea81a8b4dfff9c6a126423f0' url 'http://dl.google.com/android/studio/install/0.8.6/android-studio-bundle-135.1339820-mac.dmg' homepage 'https://developer.android.com/sdk/installing/studio.html' link 'A...
<|file_sep|>Casks/android-studio.rb.diff original: version '0.8.4 build-135.1295215' sha256 '595d0f24bc02e3be3ff3d2e4dc7c623d3bbf5a57fd26b48c3613e9292e8fc5ec' updated: version '0.8.6 build-135.1339820' sha256 '3a9f65434a2381019f4487481331f539a69b09b8ea81a8b4dfff9c6a126423f0' <|file_sep|>original/Casks/android-s...
cdecaa1f4f16850d44e630066f7bf3cde44078be
Casks/android-studio.rb
Casks/android-studio.rb
Ruby
<|file_sep|>original/requirements.txt # 'lxml' is not a primary requirement of psautohint but it's listed here because we # want to have control over the version and guarantee that the XML output remains stable lxml==4.5.0 fonttools[lxml,ufo]==4.4.1 <|file_sep|>current/requirements.txt # 'lxml' is not a primary require...
# 'lxml' is not a primary requirement of psautohint but it's listed here because we # want to have control over the version and guarantee that the XML output remains stable lxml==4.5.0 fonttools[lxml,ufo]==4.4.3
<|file_sep|>original/requirements.txt # 'lxml' is not a primary requirement of psautohint but it's listed here because we # want to have control over the version and guarantee that the XML output remains stable lxml==4.5.0 fonttools[lxml,ufo]==4.4.1 <|file_sep|>current/requirements.txt # 'lxml' is not a primary require...
5c89db73b5db37c0afb3d816e0e4ff83a2b352ce
requirements.txt
requirements.txt
Text
<|file_sep|>src/game/Generators/genCreatures.js.diff original: let level = Math.ceil(Math.random() * playerLevel * 1.5); updated: <|file_sep|>original/src/game/Generators/genCreatures.js class Creature { constructor(level, creature) { this.name = creature.name; this.level = level; this.symbol = creatur...
class Creature { constructor(level, creature) { this.name = creature.name; this.level = level; this.symbol = creature.attributes.healthBar; // this.items = getItems(this.name); this.attr = creature.attributes; } } const genCreatures = (playerLevel = 1) => { let tileCreatures = []; creatures...
<|file_sep|>src/game/Generators/genCreatures.js.diff original: let level = Math.ceil(Math.random() * playerLevel * 1.5); updated: <|file_sep|>original/src/game/Generators/genCreatures.js class Creature { constructor(level, creature) { this.name = creature.name; this.level = level; this.symbol = creatur...
72dc834d56b010607a8699a3e4da9b9a5abd87c9
src/game/Generators/genCreatures.js
src/game/Generators/genCreatures.js
JavaScript
<|file_sep|>examples/fine-tuning/create_dataset.sh.diff original: do cp "$MNIST_DIR/$digit/*.png" "$NEW_DATASET_DIR/even/" updated: do cp "$MNIST_DIR/$digit/"*.png "$NEW_DATASET_DIR/even/" <|file_sep|>original/examples/fine-tuning/create_dataset.sh if [ "$#" -ne 2 ] || ! [ -d "$2" ]; then echo "Usage: $0 <NEW_...
if [ "$#" -ne 2 ] || ! [ -d "$2" ]; then echo "Usage: $0 <NEW_DATASET_DIR> <MNIST_DIR>" >&2 exit 1 fi NEW_DATASET_DIR=$1 MNIST_DIR=$2 # create new dataset directories mkdir -p "$NEW_DATASET_DIR/odd" mkdir -p "$NEW_DATASET_DIR/even" # create symbolic links for digit in 0 2 4 6 8 do cp "$MNIST_DIR/$digit/"*.pn...
<|file_sep|>examples/fine-tuning/create_dataset.sh.diff original: do cp "$MNIST_DIR/$digit/*.png" "$NEW_DATASET_DIR/even/" updated: do cp "$MNIST_DIR/$digit/"*.png "$NEW_DATASET_DIR/even/" <|file_sep|>original/examples/fine-tuning/create_dataset.sh if [ "$#" -ne 2 ] || ! [ -d "$2" ]; then echo "Usage: $0 <NEW_...
7997708c4fca70f1da75cb2f7150b15c2e2f0369
examples/fine-tuning/create_dataset.sh
examples/fine-tuning/create_dataset.sh
Shell
<|file_sep|>original/kubernetes/delete_pods.sh <|file_sep|>current/kubernetes/delete_pods.sh <|file_sep|>updated/kubernetes/delete_pods.sh
#!/bin/bash for each in $(kubectl get pods --all-namespaces | grep 'Evicted\|Error\|Failed' | awk '{print $1 "/" $2 "/" $4}'); do del_args=(${each//\// }) echo "DELETING ${del_args[0]} ${del_args[1]} ${del_args[2]}" kubectl delete pods -n ${del_args[0]} ${del_args[1]} --request-timeout=666 done
<|file_sep|>original/kubernetes/delete_pods.sh <|file_sep|>current/kubernetes/delete_pods.sh <|file_sep|>updated/kubernetes/delete_pods.sh #!/bin/bash for each in $(kubectl get pods --all-namespaces | grep 'Evicted\|Error\|Failed' | awk '{print $1 "/" $2 "/" $4}'); do del_args=(${each//\// }) echo "DELETING ${del...
14d08d2eb58c340984429aef77a8aab2fee46605
kubernetes/delete_pods.sh
kubernetes/delete_pods.sh
Shell
<|file_sep|>original/utils/print_num_errors.py <|file_sep|>current/utils/print_num_errors.py <|file_sep|>updated/utils/print_num_errors.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Make statistics on score files (stored in JSON files). """ import argparse import json import numpy as np def parse_json_file(json_file_path): with open(json_file_path, "r") as fd: json_data = json.load(fd) return json_data def extract_data_list(j...
<|file_sep|>original/utils/print_num_errors.py <|file_sep|>current/utils/print_num_errors.py <|file_sep|>updated/utils/print_num_errors.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Make statistics on score files (stored in JSON files). """ import argparse import json import numpy as np def parse_json_fil...
a91b633ba88a01b12305fdfafd570c0b3776b42d
utils/print_num_errors.py
utils/print_num_errors.py
Python
<|file_sep|>original/elasticsearch/content.md You can run the default `elasticsearch` command simply: ```console $ docker run -d elasticsearch ``` You can also pass in additional flags to `elasticsearch`: ```console $ docker run -d elasticsearch elasticsearch -Des.node.name="TestNode" ``` This image comes with a d...
You can run the default `elasticsearch` command simply: ```console $ docker run -d elasticsearch ``` You can also pass in additional flags to `elasticsearch`: ```console $ docker run -d elasticsearch -Des.node.name="TestNode" ``` This image comes with a default set of configuration files for `elasticsearch`, but i...
<|file_sep|>original/elasticsearch/content.md You can run the default `elasticsearch` command simply: ```console $ docker run -d elasticsearch ``` You can also pass in additional flags to `elasticsearch`: ```console $ docker run -d elasticsearch elasticsearch -Des.node.name="TestNode" ``` This image comes with a d...
2847fbe28002e7b7875265d72c5d46b2175d6d82
elasticsearch/content.md
elasticsearch/content.md
Markdown
<|file_sep|>.travis.yml.diff original: - master - /.*-[0-9]+\..*/ updated: - master - "/.*-[0-9]+\\..*/" <|file_sep|>original/.travis.yml language: java jdk: oraclejdk8 branches: only: - master - /.*-[0-9]+\..*/ install: true script: ".travis/build.sh" env: global: - secure: W7pZHHN3nOemJ4wDk7...
language: java jdk: oraclejdk8 branches: only: - master - "/.*-[0-9]+\\..*/" install: true script: ".travis/build.sh" env: global: secure: Igyr6NuuHuVHGKK44tdLSsSlW9pdT9fd4tJURQ5o3+KkNqmu82GrOqiarxe0xPrUj9ClbSHIPEF1tzB0kl8RS3SZErJD+ejrzTuUf1NfhpSjLgKwtEFqI7Xwq4S494alhqt9ZsXg8seDy/6kq1gq3H/Cwz8Zrli1d0u2DKJ83...
<|file_sep|>.travis.yml.diff original: - master - /.*-[0-9]+\..*/ updated: - master - "/.*-[0-9]+\\..*/" <|file_sep|>original/.travis.yml language: java jdk: oraclejdk8 branches: only: - master - /.*-[0-9]+\..*/ install: true script: ".travis/build.sh" env: global: - secure: W7pZHHN3nOemJ4wDk7...
63e6bf6ebc55f13daaba144496d954377fd19470
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml version: 0.7.1-{build} configuration: - Release - Win7 Release - Win8 Release - Win 8.1 Release platform: - Win32 - x64 os: Windows Server 2012 R2 build: project: dokan.sln verbosity: minimal notifications: - provider: Email to: - reports@islog.com on_build_success: false o...
version: 0.7.1-{build} configuration: - Release - Win7 Release - Win8 Release - Win8.1 Release platform: - Win32 - x64 os: Windows Server 2012 R2 build: project: dokan.sln verbosity: minimal notifications: - provider: Email to: - reports@islog.com on_build_success: false on_build_failure: false on_build_s...
<|file_sep|>original/appveyor.yml version: 0.7.1-{build} configuration: - Release - Win7 Release - Win8 Release - Win 8.1 Release platform: - Win32 - x64 os: Windows Server 2012 R2 build: project: dokan.sln verbosity: minimal notifications: - provider: Email to: - reports@islog.com on_build_success: false o...
2a32ceacdf8203988bc47449639b85fe45bf3b9a
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/changes/api/project_commit_builds.py class ProjectCommitBuildsAPIView(APIView): def get(self, project_id, commit_id): project = Project.get(project_id) if not project: return '', 404 repo = project.repository revision = Revision.query.filter( ...
class ProjectCommitBuildsAPIView(APIView): def get(self, project_id, commit_id): project = Project.get(project_id) if not project: return '', 404 repo = project.repository revision = Revision.query.filter( Revision.repository_id == repo.id, Revisi...
<|file_sep|>original/changes/api/project_commit_builds.py class ProjectCommitBuildsAPIView(APIView): def get(self, project_id, commit_id): project = Project.get(project_id) if not project: return '', 404 repo = project.repository revision = Revision.query.filter( ...
f7a590e97715bf055928e8510c3822cc9b8272e8
changes/api/project_commit_builds.py
changes/api/project_commit_builds.py
Python
<|file_sep|>webservice/build/css/style.css.diff original: top: 0; right: 0; updated: padding: 6px; padding-top: 0px; top: 15px; right: 15px; <|file_sep|>original/webservice/build/css/style.css .messages { height: 200px; overflow: scroll; } #testsHolder { position: absolute; top: 0; right: 0; wid...
height: 200px; overflow: scroll; } #testsHolder { position: absolute; padding: 6px; padding-top: 0px; top: 15px; right: 15px; width: 300px; background-color: white; border: 1px solid gray; border-radius: 8px; } .test-status { padding-right: 3px; float: right; text-align: right; } .status-suc...
<|file_sep|>webservice/build/css/style.css.diff original: top: 0; right: 0; updated: padding: 6px; padding-top: 0px; top: 15px; right: 15px; <|file_sep|>original/webservice/build/css/style.css .messages { height: 200px; overflow: scroll; } #testsHolder { position: absolute; top: 0; right: 0; wid...
aacdab35f6f35dbcead05ae5d0bacf3487a397b6
webservice/build/css/style.css
webservice/build/css/style.css
CSS
<|file_sep|>original/drivers/CMakeLists.txt <|file_sep|>current/drivers/CMakeLists.txt <|file_sep|>updated/drivers/CMakeLists.txt
# SPDX-License-Identifier: Apache-2.0 target_sources(mbed-os PRIVATE source/AnalogIn.cpp source/AnalogOut.cpp source/BufferedSerial.cpp source/BusIn.cpp source/BusInOut.cpp source/BusOut.cpp source/CAN.cpp source/DigitalIn.cpp source/DigitalIn...
<|file_sep|>original/drivers/CMakeLists.txt <|file_sep|>current/drivers/CMakeLists.txt <|file_sep|>updated/drivers/CMakeLists.txt # SPDX-License-Identifier: Apache-2.0 target_sources(mbed-os PRIVATE source/AnalogIn.cpp source/AnalogOut.cpp source/BufferedSerial.cpp source/BusIn.cp...
840828947d27d6333843e2a5ead5a62bf22c222b
drivers/CMakeLists.txt
drivers/CMakeLists.txt
Text
<|file_sep|>original/requirements.txt autopep8==1.3.2 biopython==1.68 certifi==2016.9.26 isort==4.2.15 jupyter==1.0.0 lxml==3.3.6 numpy>=1.11 peewee==2.8.5 psycopg2==2.6.2 pycurl==7.43.0 pytest-tornado==0.4.5 pytest==3.0.3 simplejson==3.10.0 tornado==4.4.1 torngithub==0.2.0 <|file_sep|>current/requirements.txt autopep8...
autopep8==1.3.2 biopython==1.68 certifi==2016.9.26 isort==4.2.15 jupyter==1.0.0 lxml==3.3.6 numpy>=1.11 peewee==2.8.5 psycopg2==2.7.3 pycurl==7.43.0 pytest-tornado==0.4.5 pytest==3.0.3 simplejson==3.10.0 tornado==4.4.1 torngithub==0.2.0
<|file_sep|>original/requirements.txt autopep8==1.3.2 biopython==1.68 certifi==2016.9.26 isort==4.2.15 jupyter==1.0.0 lxml==3.3.6 numpy>=1.11 peewee==2.8.5 psycopg2==2.6.2 pycurl==7.43.0 pytest-tornado==0.4.5 pytest==3.0.3 simplejson==3.10.0 tornado==4.4.1 torngithub==0.2.0 <|file_sep|>current/requirements.txt autopep8...
00b00d961638c4ffa2c9a5754923c46d06a475ca
requirements.txt
requirements.txt
Text
<|file_sep|>original/esnext.js 'no-var': 'error', 'object-shorthand': ['error', 'always'], 'prefer-arrow-callback': ['error', {allowNamedFunctions: true}], 'prefer-const': [ 'error', { destructuring: 'all' } ], 'prefer-numeric-literals': 2, 'prefer-rest-params': 'error', 'prefer-spread': 'e...
'prefer-const': [ 'error', { destructuring: 'all' } ], 'prefer-numeric-literals': 2, 'prefer-rest-params': 'error', 'prefer-spread': 'error', 'prefer-destructuring': [ 'error', { // Disabled because it forces destructuring on // stupid stuff like `foo.bar = process.argv[2];` /...
<|file_sep|>original/esnext.js 'no-var': 'error', 'object-shorthand': ['error', 'always'], 'prefer-arrow-callback': ['error', {allowNamedFunctions: true}], 'prefer-const': [ 'error', { destructuring: 'all' } ], 'prefer-numeric-literals': 2, 'prefer-rest-params': 'error', 'prefer-spread': 'e...
2379d8e35cdee8c0a474e9b3c3e1987650b316b0
esnext.js
esnext.js
JavaScript
<|file_sep|>test/integration/recent_changes_test.rb.diff original: assert_response :redirect updated: <|file_sep|>original/test/integration/recent_changes_test.rb event = create(:event, conference: @conference) create(:event_person, event: event) PaperTrail.enabled = true assert_difference 'Event.c...
event = create(:event, conference: @conference) create(:event_person, event: event) PaperTrail.enabled = true assert_difference 'Event.count', -1 do delete "/#{@conference.acronym}/events/#{event.id}" end get '/', params: { conference_acronym: @conference.acronym } assert_response :suc...
<|file_sep|>test/integration/recent_changes_test.rb.diff original: assert_response :redirect updated: <|file_sep|>original/test/integration/recent_changes_test.rb event = create(:event, conference: @conference) create(:event_person, event: event) PaperTrail.enabled = true assert_difference 'Event.c...
9820e6667346a431d3ea9f9536699e75eb0a1703
test/integration/recent_changes_test.rb
test/integration/recent_changes_test.rb
Ruby
<|file_sep|>original/app/Checklist.js if (evt.key === 'Enter') { this.props.taskCallbacks.add(this.props.cardId, evt.target.value); evt.target.value = ''; } } render() { let tasks = this.props.tasks.map((task, taskIndex) => ( <li key={ task.id } className="checklist__task"> ...
if (evt.key === 'Enter') { this.props.taskCallbacks.add(this.props.cardId, evt.target.value); evt.target.value = ''; } } render() { let tasks = this.props.tasks.map((task, taskIndex) => ( <li key={ task.id } className="checklist__task"> <in...
<|file_sep|>original/app/Checklist.js if (evt.key === 'Enter') { this.props.taskCallbacks.add(this.props.cardId, evt.target.value); evt.target.value = ''; } } render() { let tasks = this.props.tasks.map((task, taskIndex) => ( <li key={ task.id } className="checklist__task"> ...
fc6047d320f626b36af564136547c1a8b7d453b8
app/Checklist.js
app/Checklist.js
JavaScript
<|file_sep|>original/chrome/browser/resources/chromeos/login/demo_user_login.js // found in the LICENSE file. /** * @fileoverview Demo login UI. */ /** * Handles a user clicking anywhere on the screen. This will log the demo user * in. Yes, this actually _is the intention. */ onClick = function() { chrome.send...
// found in the LICENSE file. /** * @fileoverview Demo login UI. */ /** * Handles a user clicking anywhere on the screen. This will log the demo user * in. Yes, this actually _is the intention. */ onClick = function(e) { document.removeEventListener('click', onClick); e.stopPropagation(); chrome.send('laun...
<|file_sep|>original/chrome/browser/resources/chromeos/login/demo_user_login.js // found in the LICENSE file. /** * @fileoverview Demo login UI. */ /** * Handles a user clicking anywhere on the screen. This will log the demo user * in. Yes, this actually _is the intention. */ onClick = function() { chrome.send...
933c38e17fcdb48393b37b7c8081788d3a28b7d4
chrome/browser/resources/chromeos/login/demo_user_login.js
chrome/browser/resources/chromeos/login/demo_user_login.js
JavaScript
<|file_sep|>original/src/components/widgets/ListPageHeader.vue <|file_sep|>current/src/components/widgets/ListPageHeader.vue <|file_sep|>updated/src/components/widgets/ListPageHeader.vue
<template> <div class="level page-header"> <div class="level-left"> <page-title :text="title" /> </div> <div class="level-right"> <button-simple class="level-item" icon="plus" :text="newEntryLabel" @click="$emit('new-clicked')" /> </div> </div> </template> <script> import { ...
<|file_sep|>original/src/components/widgets/ListPageHeader.vue <|file_sep|>current/src/components/widgets/ListPageHeader.vue <|file_sep|>updated/src/components/widgets/ListPageHeader.vue <template> <div class="level page-header"> <div class="level-left"> <page-title :text="title" /> </div> <div class="level...
d9987f2f08be462fcd7df76c0113f3dd9ca71591
src/components/widgets/ListPageHeader.vue
src/components/widgets/ListPageHeader.vue
Vue
<|file_sep|>source/scriptzeug/source/ScriptContext.cpp.diff original: if (backend == "duktape") updated: // Javascript (default: duktape) // Duktape if (backend == "duktape" || backend == "javascript" || backend == "js") { <|file_sep|>source/scriptzeug/source/ScriptContext.cpp.diff original: upda...
// Duktape if (backend == "duktape" || backend == "javascript" || backend == "js") { m_backend = new DuktapeScriptContext(this); } // V8 #ifdef LIBZEUG_USE_V8 else if (backend == "v8") { m_backend = new JSScriptContext(this); } #endif } ScriptContext::~ScriptContext() { //...
<|file_sep|>source/scriptzeug/source/ScriptContext.cpp.diff original: if (backend == "duktape") updated: // Javascript (default: duktape) // Duktape if (backend == "duktape" || backend == "javascript" || backend == "js") { <|file_sep|>source/scriptzeug/source/ScriptContext.cpp.diff original: upda...
b21edeb90f8d7d91d5d498b09d6ce6feef98b10e
source/scriptzeug/source/ScriptContext.cpp
source/scriptzeug/source/ScriptContext.cpp
C++
<|file_sep|>app/controllers/init.go.diff original: updated: "strings" <|file_sep|>original/app/controllers/init.go import ( "github.com/jgraham909/revmgo" "github.com/robfig/revel" "html/template" ) func init() { revel.TemplateFuncs["add"] = func(a, b int) int { return a + b } revel.TemplateFuncs["get"] = func...
"github.com/jgraham909/revmgo" "github.com/robfig/revel" "html/template" "strings" ) func init() { revel.TemplateFuncs["add"] = func(a, b int) int { return a + b } revel.TemplateFuncs["get"] = func(a []string, b int) string { return a[b] } revel.TemplateFuncs["html"] = func(s string) template.HTML { return temp...
<|file_sep|>app/controllers/init.go.diff original: updated: "strings" <|file_sep|>original/app/controllers/init.go import ( "github.com/jgraham909/revmgo" "github.com/robfig/revel" "html/template" ) func init() { revel.TemplateFuncs["add"] = func(a, b int) int { return a + b } revel.TemplateFuncs["get"] = func...
d2983fa99b50c54473920034ab2789b9d2517c8b
app/controllers/init.go
app/controllers/init.go
Go
<|file_sep|>original/oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicator.groovy <|file_sep|>current/oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicator.groovy <|file_sep|>updated/oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicat...
/* * Copyright 2014 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
<|file_sep|>original/oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicator.groovy <|file_sep|>current/oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicator.groovy <|file_sep|>updated/oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicat...
ae1220cc05499bb258a3504c6c6eb15a7831248f
oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicator.groovy
oort-gce/src/main/groovy/com/netflix/spinnaker/oort/gce/health/GceHealthIndicator.groovy
Groovy
<|file_sep|>original/requirements_for_test.txt -r requirements.txt isort==4.3.4 pytest==3.5.0 pytest-env==0.6.2 pytest-mock==1.8.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.3.0 httpretty==0.8.14 beautifulsoup4==4.6.0 freezegun==0.3.10 flake8==3.5.0 flake8-print==3.1.0 <|file_sep|>current/requirements_for_test...
-r requirements.txt isort==4.3.4 pytest==3.5.0 pytest-env==0.6.2 pytest-mock==1.9.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.3.0 httpretty==0.8.14 beautifulsoup4==4.6.0 freezegun==0.3.10 flake8==3.5.0 flake8-print==3.1.0
<|file_sep|>original/requirements_for_test.txt -r requirements.txt isort==4.3.4 pytest==3.5.0 pytest-env==0.6.2 pytest-mock==1.8.0 pytest-cov==2.5.1 pytest-xdist==1.22.2 coveralls==1.3.0 httpretty==0.8.14 beautifulsoup4==4.6.0 freezegun==0.3.10 flake8==3.5.0 flake8-print==3.1.0 <|file_sep|>current/requirements_for_test...
b41a42daf4969b5991e94b188d7021c094fd71a8
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/composer.json "type": "campaignchain-channel", "homepage": "http://www.campaignchain.com", "license": "Apache-2.0", "authors": [ { "name": "Sandro Groganz", "email": "sandro@campaignchain.com" } ], "require": { "campaignchain/c...
"type": "campaignchain-channel", "homepage": "http://www.campaignchain.com", "license": "Apache-2.0", "authors": [ { "name": "Sandro Groganz", "email": "sandro@campaignchain.com" } ], "require": { "campaignchain/core": "1.0.0@beta | 1.0.0@rc", ...
<|file_sep|>original/composer.json "type": "campaignchain-channel", "homepage": "http://www.campaignchain.com", "license": "Apache-2.0", "authors": [ { "name": "Sandro Groganz", "email": "sandro@campaignchain.com" } ], "require": { "campaignchain/c...
eca8d29a987a9a515e87945d37cd1491a9d1a29e
composer.json
composer.json
JSON
<|file_sep|>original/app/assets/stylesheets/responsive_active_admin/_forms.scss &.label label { @include responsive { position: static; float: none; } } } &:not(.has_many_fields) ol { @include responsive { width: 80%; ...
&.label label { @include responsive { position: static; float: none; } } } &:not(.has_many_fields) ol { @include responsive { padding-left: 0; } } } } /* Text Fields */ input[type=text], input[type=pas...
<|file_sep|>original/app/assets/stylesheets/responsive_active_admin/_forms.scss &.label label { @include responsive { position: static; float: none; } } } &:not(.has_many_fields) ol { @include responsive { width: 80%; ...
919d5b7dda97f8f4e7370a073871dc951195dae6
app/assets/stylesheets/responsive_active_admin/_forms.scss
app/assets/stylesheets/responsive_active_admin/_forms.scss
SCSS