prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/app/feeds/new/add-operator/route.js beforeModel: function(transition) { var controller = this; var feedModel = this.get('createFeedFromGtfsService').feedModel; var url = feedModel.get('url'); var adapter = this.get('store').adapterFor('feeds'); var fetch_info_url = adapter.url...
beforeModel: function(transition) { var controller = this; var feedModel = this.get('createFeedFromGtfsService').feedModel; var url = feedModel.get('url'); var adapter = this.get('store').adapterFor('feeds'); var fetch_info_url = adapter.urlPrefix()+'/feeds/fetch_info'; var promise = adapter.a...
<|file_sep|>original/app/feeds/new/add-operator/route.js beforeModel: function(transition) { var controller = this; var feedModel = this.get('createFeedFromGtfsService').feedModel; var url = feedModel.get('url'); var adapter = this.get('store').adapterFor('feeds'); var fetch_info_url = adapter.url...
c89ac3b60f0f0562e7bbb02e168884763f222b70
app/feeds/new/add-operator/route.js
app/feeds/new/add-operator/route.js
JavaScript
<|file_sep|>original/groovy-dev/tasks/main.yml --- - name: Check if Groovy is installed shell: stat /opt/groovy-{{ groovy_version }}/bin/groovy register: groovy_installed ignore_errors: true - name: Download Groovy get_url: url=http://dl.bintray.com/groovy/maven/groovy-binary-{{ groovy_version }}.zip ...
--- - name: Check if Groovy is installed shell: stat /opt/groovy-{{ groovy_version }}/bin/groovy register: groovy_installed ignore_errors: true - name: Download Groovy get_url: url=http://dl.bintray.com/groovy/maven/groovy-binary-{{ groovy_version }}.zip dest=/tmp/groovy-{{ groovy_version }}.zip ...
<|file_sep|>original/groovy-dev/tasks/main.yml --- - name: Check if Groovy is installed shell: stat /opt/groovy-{{ groovy_version }}/bin/groovy register: groovy_installed ignore_errors: true - name: Download Groovy get_url: url=http://dl.bintray.com/groovy/maven/groovy-binary-{{ groovy_version }}.zip ...
ebf729ed8801c867f42126818f14328e23c85edd
groovy-dev/tasks/main.yml
groovy-dev/tasks/main.yml
YAML
<|file_sep|>spacy/tests/regression/test_issue768.py.diff original: from ...fr.language_data import get_tokenizer_exceptions, STOP_WORDS updated: from ...fr.stop_words import STOP_WORDS from ...fr.tokenizer_exceptions import TOKENIZER_EXCEPTIONS <|file_sep|>spacy/tests/regression/test_issue768.py.diff original: updated...
def fr_tokenizer_w_infix(): SPLIT_INFIX = r'(?<=[{a}]\')(?=[{a}])'.format(a=ALPHA) # create new Language subclass to add to default infixes class French(Language): lang = 'fr' class Defaults(Language.Defaults): lex_attr_getters = dict(Language.Defaults.lex_attr_getters) ...
<|file_sep|>spacy/tests/regression/test_issue768.py.diff original: from ...fr.language_data import get_tokenizer_exceptions, STOP_WORDS updated: from ...fr.stop_words import STOP_WORDS from ...fr.tokenizer_exceptions import TOKENIZER_EXCEPTIONS <|file_sep|>spacy/tests/regression/test_issue768.py.diff original: updated...
be5541bd16a84c37b973cf77cb0f4d5c5e83e39a
spacy/tests/regression/test_issue768.py
spacy/tests/regression/test_issue768.py
Python
<|file_sep|>packages/hv/hvega-theme.yaml.diff original: hash: f90933a4dda858b476d00428c636185297fb4d659db5895df0ce7854d58ee7ce updated: hash: 0ef9816dc64273135f4662f4d39d3ead4f596eca26e59c26db13f05ec649a990 <|file_sep|>packages/hv/hvega-theme.yaml.diff original: updated: - 0.2.0.2 <|file_sep|>original/packages/hv/hveg...
changelog-type: '' hash: 0ef9816dc64273135f4662f4d39d3ead4f596eca26e59c26db13f05ec649a990 test-bench-deps: {} maintainer: gsch@pennmedicine.upenn.edu synopsis: Theme for hvega. changelog: '' basic-deps: base: '>=4.7 && <5' text: -any hvega: '>=0.7.0.1' all-versions: - 0.1.0.0 - 0.1.0.1 - 0.2.0.0 - 0.2.0.1 - 0.2.0...
<|file_sep|>packages/hv/hvega-theme.yaml.diff original: hash: f90933a4dda858b476d00428c636185297fb4d659db5895df0ce7854d58ee7ce updated: hash: 0ef9816dc64273135f4662f4d39d3ead4f596eca26e59c26db13f05ec649a990 <|file_sep|>packages/hv/hvega-theme.yaml.diff original: updated: - 0.2.0.2 <|file_sep|>original/packages/hv/hveg...
120f8f646a5fc67b43aa985fb8a6a02dfc27b36b
packages/hv/hvega-theme.yaml
packages/hv/hvega-theme.yaml
YAML
<|file_sep|>original/build/webpack.server.conf.js extensions: ['.js'], alias: { '@': resolve('src'), server: resolve('src/server'), handlebars: 'handlebars/runtime.js', }, }, module: { loaders: [ { test: /\.js$/, loader: 'babel-loader', include: [resol...
extensions: ['.js'], alias: { '@': resolve('src'), server: resolve('src/server'), handlebars: 'handlebars/runtime.js', }, }, module: { loaders: [ { test: /\.js$/, loader: 'babel-loader', include: [resolve('src'), resolve('test')], exclude: ['no...
<|file_sep|>original/build/webpack.server.conf.js extensions: ['.js'], alias: { '@': resolve('src'), server: resolve('src/server'), handlebars: 'handlebars/runtime.js', }, }, module: { loaders: [ { test: /\.js$/, loader: 'babel-loader', include: [resol...
8bd8a4802beaf9a87cf7042febc9a8d6b97b93bf
build/webpack.server.conf.js
build/webpack.server.conf.js
JavaScript
<|file_sep|>src/main/java/io/javalin/DataClasses.kt.diff original: * Description of a file uploaded as a multipart content updated: * Data class containing the content and meta-info of an uploaded file. * [contentType]: the content-type passed by the client * [inputStream]: the file-content as an [InputStream] * [...
* [inputStream]: the file-content as an [InputStream] * [name]: the file-name reported by the client * [extension]: the file-extension, extracted from the [name] * @see Context.uploadedFile * @see <a href="https://javalin.io/documentation#faq">Uploads in FAQ</a> */ data class UploadedFile(val contentType: String,...
<|file_sep|>src/main/java/io/javalin/DataClasses.kt.diff original: * Description of a file uploaded as a multipart content updated: * Data class containing the content and meta-info of an uploaded file. * [contentType]: the content-type passed by the client * [inputStream]: the file-content as an [InputStream] * [...
b0fa93c14285f0f28697f408e4c3c452ee6b3a5b
src/main/java/io/javalin/DataClasses.kt
src/main/java/io/javalin/DataClasses.kt
Kotlin
<|file_sep|>articles/logs/streams/index.md.diff original: Log Streams let you export your log events in near real-time to a given URL or to AWS EventBridge. updated: Log Streams let you export your log events in near real-time to a given URL or to AWS EventBridge. With Log Streams you can: <|file_sep|>original/articles...
classes: topic-page toc: false topics: - logs - streams - event-streams contentType: index --- # Log Streams Log Streams let you export your log events in near real-time to a given URL or to AWS EventBridge. With Log Streams you can: * export logs to a tool or service you already use * react to events, such as ch...
<|file_sep|>articles/logs/streams/index.md.diff original: Log Streams let you export your log events in near real-time to a given URL or to AWS EventBridge. updated: Log Streams let you export your log events in near real-time to a given URL or to AWS EventBridge. With Log Streams you can: <|file_sep|>original/articles...
407535539a86061e7706cca627efc963928a6bfe
articles/logs/streams/index.md
articles/logs/streams/index.md
Markdown
<|file_sep|>original/test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt <|file_sep|>current/test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt <|file_sep|>updated/test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt
FROM debian:9 MAINTAINER Jean Gabes <naparuba@gmail.com> ADD test/docker-helper/ / RUN /apt_get_install python3 # All need for debian, so faster test (we are testging feature here, not install) RUN /apt_get_install python3-jinja2 RUN /apt_get_install python3-crypto RUN /apt_ge...
<|file_sep|>original/test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt <|file_sep|>current/test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt <|file_sep|>updated/test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt FROM debian:9 MAINTAINER Jean Gabes <naparuba@gmail.c...
635078ab0615e09bac94461bfe6099f232d4a144
test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt
test/docker-files/docker-file-FEATURE-tarball-execution-PYTHON3.txt
Text
<|file_sep|>original/README.md # hubot-py-wtf ![travis status](https://travis-ci.org/caulagi/hubot-py-wtf.svg?branch=master) A hubot script that finds some wtf moments in your python code ``` user1>> hubot pywtf setdir /tmp/zcxv hubot>> No such directory! user1>> hubot pywtf setdir /Users/pcaulagi/code hubot>> ok! ...
# hubot-py-wtf A hubot script that finds some wtf moments in your python code ``` user1>> hubot pywtf setdir /tmp/zcxv hubot>> No such directory! user1>> hubot pywtf setdir /Users/pcaulagi/code hubot>> ok! user1>> hubot pywtf random hubot>> /Users/pcaulagi/code/api.py: wq = reduce(lambda x, y: x & y, wq) user1>> h...
<|file_sep|>original/README.md # hubot-py-wtf ![travis status](https://travis-ci.org/caulagi/hubot-py-wtf.svg?branch=master) A hubot script that finds some wtf moments in your python code ``` user1>> hubot pywtf setdir /tmp/zcxv hubot>> No such directory! user1>> hubot pywtf setdir /Users/pcaulagi/code hubot>> ok! ...
85d570806addf52b44fd5e67f1727cfdc9312973
README.md
README.md
Markdown
<|file_sep|>original/app/services/follower_notifier.rb def subject "Update for #{effort_data[:full_name]} at #{effort_data[:event_name]} from OpenSplitTime" end def message <<-MESSAGE The following new times were reported for #{effort_data[:full_name]} at #{effort_data[:event_name]}: #{times_text} Ful...
def subject "Update for #{effort_data[:full_name]} at #{effort_data[:event_name]} from OpenSplitTime" end def message <<-MESSAGE The following new times were reported for #{effort_data[:full_name]} at #{effort_data[:event_name]}: #{times_text} Full results for #{effort_data[:full_name]} here: https://...
<|file_sep|>original/app/services/follower_notifier.rb def subject "Update for #{effort_data[:full_name]} at #{effort_data[:event_name]} from OpenSplitTime" end def message <<-MESSAGE The following new times were reported for #{effort_data[:full_name]} at #{effort_data[:event_name]}: #{times_text} Ful...
d1ac5aab12518b743972d85360c16e91a29025f1
app/services/follower_notifier.rb
app/services/follower_notifier.rb
Ruby
<|file_sep|>original/views/includes/logo-details.jade div(class="match clearfix col-xs-5") img(class="match-img" ng-src="/public/logos/{{logo.org._id}}/{{logo._id}}.png") div(class="col-xs-7 center-block") b {{logo.name}} span(class="label label-default") {{logo.active | isActive}} br | {{logo.org.name}} sp...
div(class="match clearfix col-xs-5") img(class="match-img" ng-src="/public/logos/{{logo.org._id}}/{{logo._id}}.png") div(class="col-xs-7 center-block") b {{logo.name}} span(class="label label-default") {{logo.active | isActive}} br | {{logo.org.name}} span(class="label label-success") {{logo.org.active | is...
<|file_sep|>original/views/includes/logo-details.jade div(class="match clearfix col-xs-5") img(class="match-img" ng-src="/public/logos/{{logo.org._id}}/{{logo._id}}.png") div(class="col-xs-7 center-block") b {{logo.name}} span(class="label label-default") {{logo.active | isActive}} br | {{logo.org.name}} sp...
3aebca1830f447bb47b35b57a4130b1401f6a590
views/includes/logo-details.jade
views/includes/logo-details.jade
Jade
<|file_sep|>ibmcnx/doc/DataSources.py.diff original: AdminConfig.list ( db ) updated: try: AdminConfig.list ( db ) except: print "error on: " + db <|file_sep|>original/ibmcnx/doc/DataSources.py # Get a list of all databases except DefaultEJBTimerDataSource and OTiSDataSource dbs = AdminConf...
dbname = db.split('(') n = 0 for i in dbname: # i is only the name of the DataSource, db is DataSource ID! if n == 0 and i != "DefaultEJBTimerDataSource" and i != 'OTiSDataSource': dblist.append(str(db).replace('"','')) n += 1 dblist.sort() for db in dblist: print "...
<|file_sep|>ibmcnx/doc/DataSources.py.diff original: AdminConfig.list ( db ) updated: try: AdminConfig.list ( db ) except: print "error on: " + db <|file_sep|>original/ibmcnx/doc/DataSources.py # Get a list of all databases except DefaultEJBTimerDataSource and OTiSDataSource dbs = AdminConf...
92ecaea827da56a15297ffc240312b1767ebb845
ibmcnx/doc/DataSources.py
ibmcnx/doc/DataSources.py
Python
<|file_sep|>original/RxCocoa/iOS/UISwitch+Rx.swift extension Reactive where Base: UISwitch { /// Reactive wrapper for `isOn` property. public var isOn: ControlProperty<Bool> { return value } /** Reactive wrapper for `isOn` property. **⚠️ Versions prior to iOS 10.2 were leaking...
extension Reactive where Base: UISwitch { /// Reactive wrapper for `isOn` property. public var isOn: ControlProperty<Bool> { return value } /** Reactive wrapper for `isOn` property. **⚠️ Versions prior to iOS 10.2 were leaking `UISwitch`s, so on those versions underlying ...
<|file_sep|>original/RxCocoa/iOS/UISwitch+Rx.swift extension Reactive where Base: UISwitch { /// Reactive wrapper for `isOn` property. public var isOn: ControlProperty<Bool> { return value } /** Reactive wrapper for `isOn` property. **⚠️ Versions prior to iOS 10.2 were leaking...
9e6837f1a14c872c58c54e112ab6ee9de877dfe6
RxCocoa/iOS/UISwitch+Rx.swift
RxCocoa/iOS/UISwitch+Rx.swift
Swift
<|file_sep|>original/.pre-commit-config.yaml args: ['--recipe-prefix=com.github.homebysix.', '--ignore-min-vers-before=1.4.1', '--'] exclude: Kitematic - id: forbid-autopkg-overrides - id: forbid-autopkg-trust-info - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black - repo: https://gi...
args: [ "--recipe-prefix=com.github.homebysix.", "--ignore-min-vers-before=1.4.1", "--", ] exclude: Kitematic - id: forbid-autopkg-overrides - id: forbid-autopkg-trust-info - repo: https://github.com/ambv/black rev: 20.8b1 hoo...
<|file_sep|>original/.pre-commit-config.yaml args: ['--recipe-prefix=com.github.homebysix.', '--ignore-min-vers-before=1.4.1', '--'] exclude: Kitematic - id: forbid-autopkg-overrides - id: forbid-autopkg-trust-info - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black - repo: https://gi...
73b52484a4aaacea839367450ad46fcb3fa65743
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>README.md.diff original: This is an unofficial fork of the Shibboleth Embedded Discovery Service. The repository layout updated: This is an unofficial fork of the [Shibboleth Embedded Discovery Service](http://git.shibboleth.net/view/?p=js-embedded-discovery.git;a=summary). The repository layout <|file_sep|...
This is an unofficial fork of the [Shibboleth Embedded Discovery Service](http://git.shibboleth.net/view/?p=js-embedded-discovery.git;a=summary). The repository layout was reverse-engineered from the Makefile. The starting point was version 1.1.0 of the Shibboleth Embedded Discovery Service. The original is available ...
<|file_sep|>README.md.diff original: This is an unofficial fork of the Shibboleth Embedded Discovery Service. The repository layout updated: This is an unofficial fork of the [Shibboleth Embedded Discovery Service](http://git.shibboleth.net/view/?p=js-embedded-discovery.git;a=summary). The repository layout <|file_sep|...
54984f00ab738ebbd0534207f798f61e7696f891
README.md
README.md
Markdown
<|file_sep|>original/app/templates/post.html <table> <tr valign="top"> <td><img src="{{ post.author.avatar(50) }}"></td><td><i>{{ post.author.nickname }} says:</i><br>{{ post.body }}</td> </tr> </table> <|file_sep|>current/app/templates/post.html <table> <tr valign="top"> <td><img src="{{ po...
<table> <tr valign="top"> <td><img src="{{ post.author.avatar(50) }}"></td> <td><i><a href="/user/{{ post.author.nickname }}"> {{ post.author.nickname }}</a> says:</i> <br>{{ post.body }} </td> </tr> </table>
<|file_sep|>original/app/templates/post.html <table> <tr valign="top"> <td><img src="{{ post.author.avatar(50) }}"></td><td><i>{{ post.author.nickname }} says:</i><br>{{ post.body }}</td> </tr> </table> <|file_sep|>current/app/templates/post.html <table> <tr valign="top"> <td><img src="{{ po...
b7c09c9964cad39574bdb83e4c9337a8ff9dedd0
app/templates/post.html
app/templates/post.html
HTML
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "Valentin Jonovs", "email": "valentin@jonovs.com" } ], "require": { "php": ">=5.3.0", "symfony/event-dispatcher": ">=2.5.0" }, "suggest": { "guzzlehttp/guzzle": "Provides suppor...
"description": "A bridge between your code and external services", "keywords": ["bridge"], "license": "MIT", "authors": [ { "name": "Valentin Jonovs", "email": "valentin@jonovs.com" } ], "require": { "php": ">=5.3.0", "symfony/event-dispatcher": ">=2.5...
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "Valentin Jonovs", "email": "valentin@jonovs.com" } ], "require": { "php": ">=5.3.0", "symfony/event-dispatcher": ">=2.5.0" }, "suggest": { "guzzlehttp/guzzle": "Provides suppor...
64c9e0932245e13f33be77787a86a7d1d4b3ad77
composer.json
composer.json
JSON
<|file_sep|>original/requirements/base.txt # Contains all dependencies which are required for production and for development Django==3.2.7 django-allauth==0.45.0 django-allauth-cas==1.0.0 django-allauth-d120==0.0.8 django-bootstrap4==3.0.1 django-icons==4.0.0 django-formtools==2.3 odswriter==0.4.0 Pillow==8.3.1 pyTUID=...
# Contains all dependencies which are required for production and for development Django==3.2.7 django-allauth==0.45.0 django-allauth-cas==1.0.0 django-allauth-d120==0.0.8 django-bootstrap4==3.0.1 django-icons==4.0.0 django-formtools==2.3 odswriter==0.4.0 Pillow==8.3.2 pyTUID==1.3.5 pytz==2021.1
<|file_sep|>original/requirements/base.txt # Contains all dependencies which are required for production and for development Django==3.2.7 django-allauth==0.45.0 django-allauth-cas==1.0.0 django-allauth-d120==0.0.8 django-bootstrap4==3.0.1 django-icons==4.0.0 django-formtools==2.3 odswriter==0.4.0 Pillow==8.3.1 pyTUID=...
3bbcb95d74ed5697463c34c386f36e107a5572c0
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/tests/arguments.sh #!/bin/bash . util.sh ARGS=$(grep '= getopt(' $ORIGPWD/../src/main.c | sed -e 's/[^"]*"//; s/"[^"]*$//; s/://g; s/\(.\)/\1 /g' ) for a in $ARGS; do $ORIGPWD/../src/varnish-agent -h 2>&1 | egrep -q "^-$a"; if [ $? -eq "0" ]; then pass; else fail "$a missing in -h" fi inc ...
#!/bin/bash . util.sh ARGS=$(grep '= getopt(' $ORIGPWD/../src/main.c | sed -e 's/[^"]*"//; s/"[^"]*$//; s/://g; s/\(.\)/\1 /g' ) for a in $ARGS; do $ORIGPWD/../src/varnish-agent -h 2>&1 | egrep -q "^[ ]*-$a"; if [ $? -eq "0" ]; then pass; else fail "$a missing in -h" fi inc done for a in $ARGS; do egrep -q ...
<|file_sep|>original/tests/arguments.sh #!/bin/bash . util.sh ARGS=$(grep '= getopt(' $ORIGPWD/../src/main.c | sed -e 's/[^"]*"//; s/"[^"]*$//; s/://g; s/\(.\)/\1 /g' ) for a in $ARGS; do $ORIGPWD/../src/varnish-agent -h 2>&1 | egrep -q "^-$a"; if [ $? -eq "0" ]; then pass; else fail "$a missing in -h" fi inc ...
229d9dd339cd291146ab4272076541b52083327e
tests/arguments.sh
tests/arguments.sh
Shell
<|file_sep|>metadata/su.xash.husky.yml.diff original: AuthorName: a1batross AuthorEmail: contact@fwgs.ru SourceCode: https://git.mentality.rip/FWGS/Husky IssueTracker: https://git.mentality.rip/FWGS/Husky/issues Translation: https://l10n.mentality.rip/projects/husky/ Changelog: https://git.mentality.rip/FWGS/Husky/rele...
gradle: - huskyBlue prebuild: sed -i -e 's/buildnum()/168/g' build.gradle - versionName: 1.1.2 versionCode: 178 commit: 1.1.2 subdir: husky/app sudo: - apt-get update || apt-get update - apt-get install -y openjdk-11-jdk-headless - update-alternatives --auto java g...
<|file_sep|>metadata/su.xash.husky.yml.diff original: AuthorName: a1batross AuthorEmail: contact@fwgs.ru SourceCode: https://git.mentality.rip/FWGS/Husky IssueTracker: https://git.mentality.rip/FWGS/Husky/issues Translation: https://l10n.mentality.rip/projects/husky/ Changelog: https://git.mentality.rip/FWGS/Husky/rele...
56ea0e5e283679f8c0b1296d087b7210d6690c63
metadata/su.xash.husky.yml
metadata/su.xash.husky.yml
YAML
<|file_sep|>original/plugins/urban.js var request = require('request'); module.exports = function(bot){ bot.addCommand('define', 'Define', '[<keyword>]', USER_LEVEL_NORMAL, false, function(event){ var keyword = event.params.join('+'); request('http://api.urbandictionary.com/v0/define?term=' + keyword, function(err...
var request = require('request'); module.exports = function(bot){ bot.addCommand('define', 'Define', '[<keyword>]', USER_LEVEL_NORMAL, false, function(event){ var keyword = event.params.join('+'); request('http://api.urbandictionary.com/v0/define?term=' + keyword, function(error, response, body){ if(body){ ...
<|file_sep|>original/plugins/urban.js var request = require('request'); module.exports = function(bot){ bot.addCommand('define', 'Define', '[<keyword>]', USER_LEVEL_NORMAL, false, function(event){ var keyword = event.params.join('+'); request('http://api.urbandictionary.com/v0/define?term=' + keyword, function(err...
8f0599ec678b5e1ad456e05e9ac10badf24723d5
plugins/urban.js
plugins/urban.js
JavaScript
<|file_sep|>original/Common/Testing/Install/CMakeLists.txt PROJECT(VIT) INCLUDE(${CMAKE_ROOT}/Modules/FindVTK.cmake) IF(VTK_FOUND) INCLUDE("${VTK_USE_FILE}") ADD_EXECUTABLE(vit vit.cxx) TARGET_LINK_LIBRARIES(vit vtkCommon) ELSE(VTK_FOUND) MESSAGE(SEND_ERROR "VTK not found!") ENDIF(VTK_FOUND) <|file_sep|>curren...
PROJECT(VIT) INCLUDE(${CMAKE_ROOT}/Modules/FindVTK.cmake) IF(VTK_FOUND) INCLUDE("${VTK_USE_FILE}") ADD_EXECUTABLE(vit vit.cxx) TARGET_LINK_LIBRARIES(vit vtkGraphics) ELSE(VTK_FOUND) MESSAGE(SEND_ERROR "VTK not found!") ENDIF(VTK_FOUND)
<|file_sep|>original/Common/Testing/Install/CMakeLists.txt PROJECT(VIT) INCLUDE(${CMAKE_ROOT}/Modules/FindVTK.cmake) IF(VTK_FOUND) INCLUDE("${VTK_USE_FILE}") ADD_EXECUTABLE(vit vit.cxx) TARGET_LINK_LIBRARIES(vit vtkCommon) ELSE(VTK_FOUND) MESSAGE(SEND_ERROR "VTK not found!") ENDIF(VTK_FOUND) <|file_sep|>curren...
54911209ff6469b80f1d4ca7e3cecc54efa4d8df
Common/Testing/Install/CMakeLists.txt
Common/Testing/Install/CMakeLists.txt
Text
<|file_sep|>original/blueprints/app/files/bower.json { "name": "<%= name %>", "dependencies": { "handlebars": "~1.3.0", "jquery": "^1.11.1", "ember": "1.8.1", "ember-data": "1.0.0-beta.12", "ember-resolver": "~0.1.11", "loader.js": "ember-cli/loader.js#1.0.1", "ember-cli-shims": "ember-c...
{ "name": "<%= name %>", "dependencies": { "handlebars": "~1.3.0", "jquery": "^1.11.1", "ember": "1.8.1", "ember-data": "1.0.0-beta.12", "ember-resolver": "~0.1.11", "loader.js": "ember-cli/loader.js#1.0.1", "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3", "ember-cli-test-loader...
<|file_sep|>original/blueprints/app/files/bower.json { "name": "<%= name %>", "dependencies": { "handlebars": "~1.3.0", "jquery": "^1.11.1", "ember": "1.8.1", "ember-data": "1.0.0-beta.12", "ember-resolver": "~0.1.11", "loader.js": "ember-cli/loader.js#1.0.1", "ember-cli-shims": "ember-c...
441f1fb4796d9455962d648ae2e2a265c8acd3ed
blueprints/app/files/bower.json
blueprints/app/files/bower.json
JSON
<|file_sep|>original/app/views/timeline/index.js.erb $('body').addClass('infinite-scrolling'); // Append new data $("<%=j render(:partial => 'timeline/pictures', :object => @pictures) %>") .appendTo($('#gallery')); // Update next-page link <% if @pictures.last_page? %> $('.next-page').html(''); $('body').remove...
$('body').addClass('infinite-scrolling'); // Append new data $("<%=j render(:partial => 'timeline/pictures', :object => @pictures) %>") .appendTo($('#gallery')); // Update timeago $('time[data-time-ago]').timeago(); // Update next-page link <% if @pictures.last_page? %> $('.next-page').html(''); $('body').remo...
<|file_sep|>original/app/views/timeline/index.js.erb $('body').addClass('infinite-scrolling'); // Append new data $("<%=j render(:partial => 'timeline/pictures', :object => @pictures) %>") .appendTo($('#gallery')); // Update next-page link <% if @pictures.last_page? %> $('.next-page').html(''); $('body').remove...
765412a6e046c128611da70eee4cc4446b6f4363
app/views/timeline/index.js.erb
app/views/timeline/index.js.erb
HTML+ERB
<|file_sep|>original/init/command_t.vim " Small default height for CommandT let g:CommandTMaxHeight=20 let g:CommandTMaxFiles=20000 <|file_sep|>current/init/command_t.vim " Small default height for CommandT let g:CommandTMaxHeight=20 let g:CommandTMaxFiles=20000 <|file_sep|>updated/init/command_t.vim
" Small default height for CommandT let g:CommandTMaxHeight=20 let g:CommandTMaxFiles=20000 " Make ESC work in CommandT while in terminal Vim if &term =~ "xterm" || &term =~ "screen" let g:CommandTCancelMap=['<ESC>'] end
<|file_sep|>original/init/command_t.vim " Small default height for CommandT let g:CommandTMaxHeight=20 let g:CommandTMaxFiles=20000 <|file_sep|>current/init/command_t.vim " Small default height for CommandT let g:CommandTMaxHeight=20 let g:CommandTMaxFiles=20000 <|file_sep|>updated/init/command_t.vim " Small default he...
11d3d71732908c131cf545a8799180610afc489e
init/command_t.vim
init/command_t.vim
VimL
<|file_sep|>Scala/daytwo/Scrap.scala.diff original: updated: println(set.exists(man => man.contains("Dr"))) println() println(stringLengthSum(list)) } //exercise one - use foldLeft to compute the total size of a list of strings def stringLengthSum(strings: List[String]): Int = { strings.foldL...
println() //formatting println(list.forall(man => man.contains("man"))) println(set.forall(man => man.contains("man"))) println(set.exists(man => man.contains("Dr"))) println() println(stringLengthSum(list)) } //exercise one - use foldLeft to compute the total size of a list of strings ...
<|file_sep|>Scala/daytwo/Scrap.scala.diff original: updated: println(set.exists(man => man.contains("Dr"))) println() println(stringLengthSum(list)) } //exercise one - use foldLeft to compute the total size of a list of strings def stringLengthSum(strings: List[String]): Int = { strings.foldL...
f0a88ffbbe07eb683702819d4a74f7a4d4c771c0
Scala/daytwo/Scrap.scala
Scala/daytwo/Scrap.scala
Scala
<|file_sep|>original/.github/workflows/ci.yml name: Continous Integration on: [push, pull_request] jobs: test: name: Test on node ${{ matrix.node_version }} os ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: node_version: [8, 10, 12] os: [ubuntu-latest, windows-latest, ...
name: Continous Integration on: [push, pull_request] jobs: test: name: Test on node ${{ matrix.node_version }} os ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: node_version: [10, 12, 13] os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@mast...
<|file_sep|>original/.github/workflows/ci.yml name: Continous Integration on: [push, pull_request] jobs: test: name: Test on node ${{ matrix.node_version }} os ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: node_version: [8, 10, 12] os: [ubuntu-latest, windows-latest, ...
2ff756b7edadef71ce8a9c1fa76903ac7f0d68c4
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/requirements/doc.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 sphinxcontrib-napoleon==0.6.1 <|file_sep|>current/requirements/doc.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 sphinxcontrib-napoleon==0.6.1 <|file_sep|>updated/requirements/doc.txt
sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0 sphinxcontrib-napoleon==0.6.1
<|file_sep|>original/requirements/doc.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 sphinxcontrib-napoleon==0.6.1 <|file_sep|>current/requirements/doc.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.4.2 sphinxcontrib-napoleon==0.6.1 <|file_sep|>updated/requirements/doc.txt sphinx==1.7.4 alagitpull==0.0.20 relea...
f0a2d8ddfcb1bc0e4c832022ac01fc8b05dec1a1
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>packages/ja/jailbreak-cabal.yaml.diff original: hash: eb10d8166cc3a40e8d731ab1fba7d37ef57d155d6122c7234297ddbf776ec28a updated: hash: 844ae25efe600e19d4d11e1f0cfbea0b35439ffd7539728f236a1e763d5fa51c <|file_sep|>packages/ja/jailbreak-cabal.yaml.diff original: Cabal: ==1.20.* updated: Cabal: ==1.20.* || >...
homepage: http://github.com/peti/jailbreak-cabal changelog-type: '' hash: 844ae25efe600e19d4d11e1f0cfbea0b35439ffd7539728f236a1e763d5fa51c test-bench-deps: {} maintainer: Peter Simons <simons@cryp.to> synopsis: Strip version restrictions from build dependencies in Cabal files. changelog: '' basic-deps: Cabal: ==1.20....
<|file_sep|>packages/ja/jailbreak-cabal.yaml.diff original: hash: eb10d8166cc3a40e8d731ab1fba7d37ef57d155d6122c7234297ddbf776ec28a updated: hash: 844ae25efe600e19d4d11e1f0cfbea0b35439ffd7539728f236a1e763d5fa51c <|file_sep|>packages/ja/jailbreak-cabal.yaml.diff original: Cabal: ==1.20.* updated: Cabal: ==1.20.* || >...
fd9111e3038f9c1937ebfb35d1eb0a672df7d7c3
packages/ja/jailbreak-cabal.yaml
packages/ja/jailbreak-cabal.yaml
YAML
<|file_sep|>Cargo.toml.diff original: version = "0.1.1" updated: version = "0.1.2" <|file_sep|>original/Cargo.toml [package] name = "asm6502" version = "0.1.1" authors = ["W. Brian Gourlie <bgourlie@gmail.com>"] description = "A basic 6502 assembler." license = "MIT" repository = "https://github.com/bgourlie/asm6502" r...
[package] name = "asm6502" version = "0.1.2" authors = ["W. Brian Gourlie <bgourlie@gmail.com>"] description = "A basic 6502 assembler." license = "MIT" repository = "https://github.com/bgourlie/asm6502" readme = "README.md" keywords = ["6502", "assembler"] [badges] travis-ci = { repository = "bgourlie/asm6502", branc...
<|file_sep|>Cargo.toml.diff original: version = "0.1.1" updated: version = "0.1.2" <|file_sep|>original/Cargo.toml [package] name = "asm6502" version = "0.1.1" authors = ["W. Brian Gourlie <bgourlie@gmail.com>"] description = "A basic 6502 assembler." license = "MIT" repository = "https://github.com/bgourlie/asm6502" r...
5b8f129f65add14650ecf541700f735d16677975
Cargo.toml
Cargo.toml
TOML
<|file_sep|>src/shapes/Text.js.diff original: updated: let text = this.getText(); <|file_sep|>original/src/shapes/Text.js } /** * Renders a shape * @param {Cursor} cursor * @returns {Text} */ render(cursor) { let {x, y} = this.getPosition(); let text = this.getText(); let background ...
} /** * Renders a shape * @param {Cursor} cursor * @returns {Text} */ render(cursor) { let text = this.getText(); let {x, y} = this.getPosition(); let background = this.getBackground(); let foreground = this.getForeground(); if (background) cursor.background(background); if (...
<|file_sep|>src/shapes/Text.js.diff original: updated: let text = this.getText(); <|file_sep|>original/src/shapes/Text.js } /** * Renders a shape * @param {Cursor} cursor * @returns {Text} */ render(cursor) { let {x, y} = this.getPosition(); let text = this.getText(); let background ...
ebe282e05e9a4fa89ed270a53bde0b0df618f4a8
src/shapes/Text.js
src/shapes/Text.js
JavaScript
<|file_sep|>ckanext/meerbusch/templates/snippets/package_list.html.diff original: {% block package_list_inner %} updated: {% block package_list_inner %} {% if not c.datasets %} {% for package in packages %} {% snippet 'snippets/package_item.html', package=package, item_class=...
{% snippet 'snippets/package_list.html', packages=c.datasets %} #} {% block package_list %} {% if packages %} <ul class="{{ list_class or 'dataset-list unstyled' }}"> {% block package_list_inner %} {% if not c.datasets %} {% for package in packages %} {% snippet 'snippets/p...
<|file_sep|>ckanext/meerbusch/templates/snippets/package_list.html.diff original: {% block package_list_inner %} updated: {% block package_list_inner %} {% if not c.datasets %} {% for package in packages %} {% snippet 'snippets/package_item.html', package=package, item_class=...
5144eae399817eb165d4706bd7ae74bdb946caa5
ckanext/meerbusch/templates/snippets/package_list.html
ckanext/meerbusch/templates/snippets/package_list.html
HTML
<|file_sep|>lib/usps/configuration.rb.diff original: updated: # Configuration options: # username: Provided by the USPS during registration # timeout: How many seconds to wait for a response before raising Timeout::Error # testing: Should requests be done against the testing service or not # ...
module USPS # Configuration options: # username: Provided by the USPS during registration # timeout: How many seconds to wait for a response before raising Timeout::Error # testing: Should requests be done against the testing service or not # (only specific requests are supported). class Co...
<|file_sep|>lib/usps/configuration.rb.diff original: updated: # Configuration options: # username: Provided by the USPS during registration # timeout: How many seconds to wait for a response before raising Timeout::Error # testing: Should requests be done against the testing service or not # ...
2c47281d55882bd00d4a03018e1db7c9c8bbd0a8
lib/usps/configuration.rb
lib/usps/configuration.rb
Ruby
<|file_sep|>original/html/panel.html <div id="brackets-nodejs-terminal" class="bottom-panel"> <div class="toolbar simple-toolbar-layout" style="position: relative"> <div style="position: absolute;top: -2px;left: 0;height: 10px;width: 100%; cursor: n-resize" class="resize"></div> <div class="title"> ...
<div id="brackets-nodejs-terminal" class="bottom-panel"> <div class="toolbar simple-toolbar-layout" style="position: relative"> <div style="position: absolute;top: -2px;left: 0;height: 10px;width: 100%; cursor: n-resize" class="resize"></div> <div class="title"> Terminal:&nbsp; ...
<|file_sep|>original/html/panel.html <div id="brackets-nodejs-terminal" class="bottom-panel"> <div class="toolbar simple-toolbar-layout" style="position: relative"> <div style="position: absolute;top: -2px;left: 0;height: 10px;width: 100%; cursor: n-resize" class="resize"></div> <div class="title"> ...
f66edbbad5e235b507eab1fe6b71ef459d41bb30
html/panel.html
html/panel.html
HTML
<|file_sep|>.github/workflows/build_linux.yml.diff original: runs-on: ubuntu-latest updated: runs-on: ubuntu-20.04 <|file_sep|>original/.github/workflows/build_linux.yml jobs: standard: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: submodules: true - name: Insta...
jobs: standard: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 with: submodules: true - name: Install Dependencies run: | sudo apt update sudo apt install -y -qq python3-sphinx graphviz check sudo apt install -y -qq tcc clang-10 clang++-10 clang-to...
<|file_sep|>.github/workflows/build_linux.yml.diff original: runs-on: ubuntu-latest updated: runs-on: ubuntu-20.04 <|file_sep|>original/.github/workflows/build_linux.yml jobs: standard: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: submodules: true - name: Insta...
5351338fba12113f5f85df25a44c544bbaf9e024
.github/workflows/build_linux.yml
.github/workflows/build_linux.yml
YAML
<|file_sep|>original/.prettierrc.js module.exports = { printWidth: 100, tabWidth: 2, useTabs: false, semi: true, singleQuote: true, quoteProps: 'consistent', trailingComma: 'all', bracketSpacing: true, arrowParens: 'always', }; <|file_sep|>current/.prettierrc.js module.exports = { printWidth: 100, ...
module.exports = { printWidth: 100, tabWidth: 2, useTabs: false, semi: true, singleQuote: true, quoteProps: 'consistent', trailingComma: 'all', bracketSpacing: true, arrowParens: 'always', endOfLine: 'lf', };
<|file_sep|>original/.prettierrc.js module.exports = { printWidth: 100, tabWidth: 2, useTabs: false, semi: true, singleQuote: true, quoteProps: 'consistent', trailingComma: 'all', bracketSpacing: true, arrowParens: 'always', }; <|file_sep|>current/.prettierrc.js module.exports = { printWidth: 100, ...
6653fcba245b25adc7c20bf982a3d119f2659711
.prettierrc.js
.prettierrc.js
JavaScript
<|file_sep|>composer.json.diff original: "php": ">=5.3.0", updated: "php": ">=5.5.0", <|file_sep|>original/composer.json "authors": [ { "name": "Kevin Kaske", "email": "kevinkaske@gmail.com" } ], "require": { "php": ">=5.3.0", "kevinkaske/flash": "dev-master", "robmorgan/phinx": "*", "joshcam/m...
"authors": [ { "name": "Kevin Kaske", "email": "kevinkaske@gmail.com" } ], "require": { "php": ">=5.5.0", "kevinkaske/flash": "dev-master", "robmorgan/phinx": "*", "ThingEngineer/PHP-MySQLi-Database-Class": "dev-master" }, "autoload": { "files": [ "libs/assets.php", "libs/Controller.php",...
<|file_sep|>composer.json.diff original: "php": ">=5.3.0", updated: "php": ">=5.5.0", <|file_sep|>original/composer.json "authors": [ { "name": "Kevin Kaske", "email": "kevinkaske@gmail.com" } ], "require": { "php": ">=5.3.0", "kevinkaske/flash": "dev-master", "robmorgan/phinx": "*", "joshcam/m...
424f6fed03cc866010159659d19af3d8e7b47d8b
composer.json
composer.json
JSON
<|file_sep|>original/requirements-dev.txt # Runtime requirements --requirement requirements.txt #testing pytest==3.3.0 pytest-cov==2.5.1 webtest==2.0.29 httpretty==0.8.14 coveralls==1.2.0 mock==2.0.0 #wheel wheel==0.30.0 <|file_sep|>current/requirements-dev.txt # Runtime requirements --requirement requirements.txt ...
# Runtime requirements --requirement requirements.txt #testing pytest==3.3.2 pytest-cov==2.5.1 webtest==2.0.29 httpretty==0.8.14 coveralls==1.2.0 mock==2.0.0 #wheel wheel==0.30.0
<|file_sep|>original/requirements-dev.txt # Runtime requirements --requirement requirements.txt #testing pytest==3.3.0 pytest-cov==2.5.1 webtest==2.0.29 httpretty==0.8.14 coveralls==1.2.0 mock==2.0.0 #wheel wheel==0.30.0 <|file_sep|>current/requirements-dev.txt # Runtime requirements --requirement requirements.txt ...
7584555db1408b466aeff70fe9277bd24dc97d11
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/UNAUTOMATED.md In the Mac App store. * Skitch In the Mac App store. * Seagate Dashboard Installed with my Seagate external hard drive. Hard to automate, since the software is on the drive itself. May not want to automate, since this seems very specific to the device itself. * Swap Caps Lock an...
In the Mac App store. * Seagate Dashboard Installed with my Seagate external hard drive. Hard to automate, since the software is on the drive itself. May not want to automate, since this seems very specific to the device itself. * Swap Caps Lock and Control Apparently, not really too easy to automate. I haven't loo...
<|file_sep|>original/UNAUTOMATED.md In the Mac App store. * Skitch In the Mac App store. * Seagate Dashboard Installed with my Seagate external hard drive. Hard to automate, since the software is on the drive itself. May not want to automate, since this seems very specific to the device itself. * Swap Caps Lock an...
9de6db402fb223f2f4c26e30e93d9585546224a4
UNAUTOMATED.md
UNAUTOMATED.md
Markdown
<|file_sep|>README.md.diff original: ```` updated: ```bash <|file_sep|>original/README.md deps=(composer nginx php5_fpm) # One time setup done after I run establish _after() { BASENAME=$(basename $PWD) sudo ln -s "${PWD}/vhost" /etc/nginx/sites-available/${BASENAME} sudo ln -s /etc/nginx/sites-available/${BASEN...
# My projects dependencies deps=(composer nginx php5_fpm) # One time setup done after I run establish _after() { BASENAME=$(basename $PWD) sudo ln -s "${PWD}/vhost" /etc/nginx/sites-available/${BASENAME} sudo ln -s /etc/nginx/sites-available/${BASENAME} /etc/nginx/sites-enabled/${BASENAME} sudo service nginx r...
<|file_sep|>README.md.diff original: ```` updated: ```bash <|file_sep|>original/README.md deps=(composer nginx php5_fpm) # One time setup done after I run establish _after() { BASENAME=$(basename $PWD) sudo ln -s "${PWD}/vhost" /etc/nginx/sites-available/${BASENAME} sudo ln -s /etc/nginx/sites-available/${BASEN...
e6e4c6f69c91db84d0a155bdcd1a508d48126fee
README.md
README.md
Markdown
<|file_sep|>lib/node_modules/@stdlib/math/base/random/frechet/lib/index.js.diff original: updated: * <|file_sep|>original/lib/node_modules/@stdlib/math/base/random/frechet/lib/index.js * var frechet = factory( 5.0, 5.0, 3.0, { * 'seed': 643361677 * }); * * var v = frechet(); * // returns ~8.733 * * @example * var ...
* * var frechet = factory( 5.0, 5.0, 3.0, { * 'seed': 643361677 * }); * * var v = frechet(); * // returns ~8.733 * * @example * var factory = require( '@stdlib/math/base/random/frechet' ).factory; * * var frechet = factory({ * 'seed': 643361677 * }); * * var v = frechet( 5.0, 5.0, 3.0 ); * // returns ~8.733 */ ...
<|file_sep|>lib/node_modules/@stdlib/math/base/random/frechet/lib/index.js.diff original: updated: * <|file_sep|>original/lib/node_modules/@stdlib/math/base/random/frechet/lib/index.js * var frechet = factory( 5.0, 5.0, 3.0, { * 'seed': 643361677 * }); * * var v = frechet(); * // returns ~8.733 * * @example * var ...
085f8d2bea32c7edb216f18195819abcf9dd0e97
lib/node_modules/@stdlib/math/base/random/frechet/lib/index.js
lib/node_modules/@stdlib/math/base/random/frechet/lib/index.js
JavaScript
<|file_sep|>original/requirements.txt pytest==3.7.1 pytest-cookies==0.3.0 pyaml==17.12.1 testinfra==1.14.1 tox==3.1.2 <|file_sep|>current/requirements.txt pytest==3.7.1 pytest-cookies==0.3.0 pyaml==17.12.1 testinfra==1.14.1 tox==3.1.2 <|file_sep|>updated/requirements.txt
pytest==3.7.1 pytest-cookies==0.3.0 pyaml==17.12.1 testinfra==1.14.1 tox==3.5.3
<|file_sep|>original/requirements.txt pytest==3.7.1 pytest-cookies==0.3.0 pyaml==17.12.1 testinfra==1.14.1 tox==3.1.2 <|file_sep|>current/requirements.txt pytest==3.7.1 pytest-cookies==0.3.0 pyaml==17.12.1 testinfra==1.14.1 tox==3.1.2 <|file_sep|>updated/requirements.txt pytest==3.7.1 pytest-cookies==0.3.0 pyaml==17.12...
171ffb36cc0f92b2109ad36551daa836670e7f55
requirements.txt
requirements.txt
Text
<|file_sep|>original/deploy-requirements.txt # Requirements to deploy this code. akismet == 0.2.0 Django == 1.6.5 django-contact-form == 1.0 django-haystack == 1.2.7 django-push == 0.6.1 django-registration==1.0 django-secure == 1.0 docutils == 0.12 feedparser == 5.1.3 Jinja2 == 2.7.3 psycopg2 == 2.5.3 python-memcache...
# Requirements to deploy this code. akismet == 0.2.0 Django == 1.6.5 django-contact-form == 1.0 django-haystack == 1.2.7 django-push == 0.6.1 django-registration==1.0 django-secure == 1.0 docutils == 0.11 feedparser == 5.1.3 Jinja2 == 2.7.3 psycopg2 == 2.5.3 python-memcached == 1.53 raven == 5.0.0 requests == 2.3.0 So...
<|file_sep|>original/deploy-requirements.txt # Requirements to deploy this code. akismet == 0.2.0 Django == 1.6.5 django-contact-form == 1.0 django-haystack == 1.2.7 django-push == 0.6.1 django-registration==1.0 django-secure == 1.0 docutils == 0.12 feedparser == 5.1.3 Jinja2 == 2.7.3 psycopg2 == 2.5.3 python-memcache...
dbf44f2a4b3e8773fe64b73ec6f20109b21f9143
deploy-requirements.txt
deploy-requirements.txt
Text
<|file_sep|>original/app/views/home/_category_filter.html.haml = minimize_overlay('categories') %h4= t('home.index.filter.category') %ul#amenities - Amenities.keys.sort_by(&:to_s).each do |amenity_group| %li{:class => amenity_group} = check_box_tag("category-#{amenity_group}", 1, true) = label_tag ...
= minimize_overlay('categories') %h4= t('home.index.filter.category') %ul#amenities - Category.all.sort_by(&:localized_name).each do |category| %li{:class => category.identifier} = check_box_tag("category-#{category.identifier}", 1, true) = label_tag "category-#{category.identifier}", category.loca...
<|file_sep|>original/app/views/home/_category_filter.html.haml = minimize_overlay('categories') %h4= t('home.index.filter.category') %ul#amenities - Amenities.keys.sort_by(&:to_s).each do |amenity_group| %li{:class => amenity_group} = check_box_tag("category-#{amenity_group}", 1, true) = label_tag ...
a0febc7aa2623130219abfd67a3425095a4e17a1
app/views/home/_category_filter.html.haml
app/views/home/_category_filter.html.haml
Haml
<|file_sep|>original/providers/default.rb action :delete do do_s3_file(:delete) end action :touch do do_s3_file(:touch) end def do_s3_file(resource_action) s3file = S3UrlGenerator.new(new_resource.bucket, new_resource.remote_path, new_resource.aws_access_key_id, new_resource.aws_secret_access_key) remote_fi...
action :delete do do_s3_file(:delete) end action :touch do do_s3_file(:touch) end def do_s3_file(resource_action) remote_path = new_resource.remote_path remote_path = "/#{remote_path}" unless remote_path.chars.first == '/' s3file = S3UrlGenerator.new(new_resource.bucket, remote_path, new_resource.aws_acces...
<|file_sep|>original/providers/default.rb action :delete do do_s3_file(:delete) end action :touch do do_s3_file(:touch) end def do_s3_file(resource_action) s3file = S3UrlGenerator.new(new_resource.bucket, new_resource.remote_path, new_resource.aws_access_key_id, new_resource.aws_secret_access_key) remote_fi...
97d2d40a2aef7f4b7d53fa89f9b307a8424d0634
providers/default.rb
providers/default.rb
Ruby
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 Sphinx==1.6.7 coverage==4.5.1 cryptography==2.1.4 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 Sphi...
pip==9.0.3 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 Sphinx==1.6.7 coverage==4.5.1 cryptography==2.1.4 PyYAML==3.12
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 Sphinx==1.6.7 coverage==4.5.1 cryptography==2.1.4 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 Sphi...
c2689fc507f1dab1b784fe16c83c82441957999f
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.circleci/config.yml - persist_to_workspace: root: . paths: - assets build_hugo: docker: - image: cibuilds/hugo:latest steps: - checkout - run: name: Build command: hugo - persist_to_workspace: ro...
- persist_to_workspace: root: . paths: - assets build_hugo: docker: - image: cibuilds/hugo:latest steps: - checkout - attach_workspace: at: . - run: name: Build command: hugo - persist_to_workspace: ro...
<|file_sep|>original/.circleci/config.yml - persist_to_workspace: root: . paths: - assets build_hugo: docker: - image: cibuilds/hugo:latest steps: - checkout - run: name: Build command: hugo - persist_to_workspace: ro...
e77cfddf88386825b2a8c9d8ef191c04054a4504
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>original/whatchanged/main.py from os.path import exists, isdir, join # Local library from .util import is_py_file from .diff import diff_files def main(): import sys if sys.argv < 3: print('Usage: %s <module1> <module2>' % sys.argv[0]) sys.exit(1) old, new = sys.argv[1:3] ...
from os.path import exists, isdir, join # Local library from .util import is_py_file from .diff import diff_files def main(): import sys if len(sys.argv) < 3: print('Usage: %s <package1/module1> <package2/module2>' % sys.argv[0]) sys.exit(1) old, new = sys.argv[1:3] diff = set([]) ...
<|file_sep|>original/whatchanged/main.py from os.path import exists, isdir, join # Local library from .util import is_py_file from .diff import diff_files def main(): import sys if sys.argv < 3: print('Usage: %s <module1> <module2>' % sys.argv[0]) sys.exit(1) old, new = sys.argv[1:3] ...
18fec1124bb86f90183350e7b9c86eb946a01884
whatchanged/main.py
whatchanged/main.py
Python
<|file_sep|>static/js/utils.js.diff original: updated: function encodeData (data) { var query = []; for (var key in data) query.push(encodeURIComponent(key) + '=' + encodeURIComponent(data[key])); return query.join('&'); } <|file_sep|>static/js/utils.js.diff original: upd...
if (options.watch) load('__morgen_watchdog'); }; morgen.broadcast = function (msg) { __morgen.ws.send(JSON.stringify(msg)); }; morgen.httpSend = function (method, url, data, success, error) { var xhr = new XMLHttpRequest(), contentType = method == 'ge...
<|file_sep|>static/js/utils.js.diff original: updated: function encodeData (data) { var query = []; for (var key in data) query.push(encodeURIComponent(key) + '=' + encodeURIComponent(data[key])); return query.join('&'); } <|file_sep|>static/js/utils.js.diff original: upd...
99ef624044ae8513e131f71fb8790ca165b2328b
static/js/utils.js
static/js/utils.js
JavaScript
<|file_sep|>original/lib/dartrocket.dart library dartrocket; import "dart:math"; import "dart:async"; import "dart:html" show Element,querySelector; import "package:stagexl/stagexl.dart" as StageXL; part "src/core/game.dart"; part "src/core/statemanager.dart"; part "src/core/state.dart"; part "src/core/background.da...
library dartrocket; import "dart:math"; import "dart:async"; import "dart:html" show Element,querySelector; import "package:stagexl/stagexl.dart" as StageXL; part "src/core/game.dart"; part "src/core/statemanager.dart"; part "src/core/state.dart"; part "src/core/background.dart"; part "src/core/text.dart"; part "sr...
<|file_sep|>original/lib/dartrocket.dart library dartrocket; import "dart:math"; import "dart:async"; import "dart:html" show Element,querySelector; import "package:stagexl/stagexl.dart" as StageXL; part "src/core/game.dart"; part "src/core/statemanager.dart"; part "src/core/state.dart"; part "src/core/background.da...
58b21f702886c38f3152cf298365b2ccd7c03b2e
lib/dartrocket.dart
lib/dartrocket.dart
Dart
<|file_sep|>original/sources/models/VERSPM/BaseYear/defs/run_parameters.json { "Model": "RSPM", "Scenario": "Base year RSPM pilot", "Description": "Base year RSPM pilot", "Region": "Atlanta", "BaseYear": "2015", "Years": ["2015"], "DatastoreName": "datastore.h5" } <|file_sep|>current/sources/models/VERSPM...
{ "Model": "RSPM", "Scenario": "Base year RSPM pilot", "Description": "Base year RSPM pilot", "Region": "RVMPO", "BaseYear": "2010", "Years": ["2010"], "DatastoreName": "datastore.h5" }
<|file_sep|>original/sources/models/VERSPM/BaseYear/defs/run_parameters.json { "Model": "RSPM", "Scenario": "Base year RSPM pilot", "Description": "Base year RSPM pilot", "Region": "Atlanta", "BaseYear": "2015", "Years": ["2015"], "DatastoreName": "datastore.h5" } <|file_sep|>current/sources/models/VERSPM...
cf0a1f190f0ce08086e080012e68359a56406e23
sources/models/VERSPM/BaseYear/defs/run_parameters.json
sources/models/VERSPM/BaseYear/defs/run_parameters.json
JSON
<|file_sep|>original/app/Http/Middleware/NegotiateContent.php <|file_sep|>current/app/Http/Middleware/NegotiateContent.php <|file_sep|>updated/app/Http/Middleware/NegotiateContent.php
<?php namespace App\Http\Middleware; use Closure; use Symfony\Component\HttpFoundation\Response; /** * A middleware that determines the response * format that is preferred by the client. */ class NegotiateContent { /** * A list of response content types supported by the different routes. * * @v...
<|file_sep|>original/app/Http/Middleware/NegotiateContent.php <|file_sep|>current/app/Http/Middleware/NegotiateContent.php <|file_sep|>updated/app/Http/Middleware/NegotiateContent.php <?php namespace App\Http\Middleware; use Closure; use Symfony\Component\HttpFoundation\Response; /** * A middleware that determine...
7fc76413ab8f111a0abb9750b27a7430cd306efb
app/Http/Middleware/NegotiateContent.php
app/Http/Middleware/NegotiateContent.php
PHP
<|file_sep|>original/LICENSE.md <|file_sep|>current/LICENSE.md <|file_sep|>updated/LICENSE.md
The MIT License (MIT) Copyright (c) 2015 Valmik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
<|file_sep|>original/LICENSE.md <|file_sep|>current/LICENSE.md <|file_sep|>updated/LICENSE.md The MIT License (MIT) Copyright (c) 2015 Valmik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software wit...
8d35d3118fbc57c06504472bba39238370894a94
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>api_browser.rb.diff original: GitHub::User.delete_all $user = GitHub::User.create(YAML::load_file('config/secrets.yml')[:user]) updated: loaded_user = GitHub::User.new(YAML::load_file('config/secrets.yml')[:user]) if GitHub::User.last if GitHub::User.last.login == loaded_user.login && GitHub::Us...
loaded_user = GitHub::User.new(YAML::load_file('config/secrets.yml')[:user]) if GitHub::User.last if GitHub::User.last.login == loaded_user.login && GitHub::User.last.token == loaded_user.token $user = GitHub::User.last end else GitHub::User.delete_all $user = GitHub::User.create(YAML::load_...
<|file_sep|>api_browser.rb.diff original: GitHub::User.delete_all $user = GitHub::User.create(YAML::load_file('config/secrets.yml')[:user]) updated: loaded_user = GitHub::User.new(YAML::load_file('config/secrets.yml')[:user]) if GitHub::User.last if GitHub::User.last.login == loaded_user.login && GitHub::Us...
38510a90e6361fe7367327198402f646a1723dec
api_browser.rb
api_browser.rb
Ruby
<|file_sep|>unit_tests/jimple_tests/test.sh.diff original: ( ulimit -t $TIMELIMIT; $1/bin/jstar -f $2.jimple ) 2> /dev/null updated: ( $1/unit_tests/limit -w $TIMELIMIT -x "$1/bin/jstar -f $2.jimple" ) 2> /dev/null <|file_sep|>unit_tests/jimple_tests/test.sh.diff original: 137) updated: 4) <|file_sep|>original/unit...
TIMELIMIT=5 fi echo -n . ( $1/unit_tests/limit -w $TIMELIMIT -x "$1/bin/jstar -f $2.jimple" ) 2> /dev/null EC=$? case $EC in 4) echo echo "Time limit (${TIMELIMIT}s) exceeded. Try" echo " TIMELIMIT=${TIMELIMIT}0 make test" echo "or, if you use a byte-code build," echo " TIMELIMIT=${TIMELIMIT}0...
<|file_sep|>unit_tests/jimple_tests/test.sh.diff original: ( ulimit -t $TIMELIMIT; $1/bin/jstar -f $2.jimple ) 2> /dev/null updated: ( $1/unit_tests/limit -w $TIMELIMIT -x "$1/bin/jstar -f $2.jimple" ) 2> /dev/null <|file_sep|>unit_tests/jimple_tests/test.sh.diff original: 137) updated: 4) <|file_sep|>original/unit...
43b3f39dce6a23485dbb4030701eee718bc63996
unit_tests/jimple_tests/test.sh
unit_tests/jimple_tests/test.sh
Shell
<|file_sep|>original/ui/messaging/composer.json "require": { "ewallet/application": "~1.0", "symfony/console": "~4.2", "vlucas/phpdotenv": "~2.0", "zendframework/zend-mail": "~2.10" }, "require-dev": { "fzaninotto/faker": "~1.8", "mockery/mockery": "~1.2", ...
"require": { "ewallet/application": "~1.0", "symfony/console": "~4.2", "vlucas/phpdotenv": "~2.0", "zendframework/zend-mail": "~2.10" }, "require-dev": { "fzaninotto/faker": "~1.8", "mockery/mockery": "~1.2", "phpunit/phpunit": "~7.4", "roave/s...
<|file_sep|>original/ui/messaging/composer.json "require": { "ewallet/application": "~1.0", "symfony/console": "~4.2", "vlucas/phpdotenv": "~2.0", "zendframework/zend-mail": "~2.10" }, "require-dev": { "fzaninotto/faker": "~1.8", "mockery/mockery": "~1.2", ...
d3e6f130d151767d53c2fceff99c8a2eaf5525b1
ui/messaging/composer.json
ui/messaging/composer.json
JSON
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <title>My journey in Web Development</title> <meta charset="UTF-8"> </head> <center><h1>My journey in Web Development</h1></center> <body> <h2>Blog Post:</h2> <ol> <li><a href="blog/c1-reflection-blog.html">Reflection - Feb 21 201...
<!DOCTYPE html> <html> <head> <title>My journey in Web Development</title> <meta charset="UTF-8"> <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css"> <link href="styles/main.css" rel="stylesheet" type="text/css"> </head> <center><h1>My journey in Web Dev...
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <title>My journey in Web Development</title> <meta charset="UTF-8"> </head> <center><h1>My journey in Web Development</h1></center> <body> <h2>Blog Post:</h2> <ol> <li><a href="blog/c1-reflection-blog.html">Reflection - Feb 21 201...
35a3cb044f90b631ca0b7e2f3c2b9616b3dde1b3
index.html
index.html
HTML
<|file_sep|>original/terraform/accounts/main/jenkins.tf module "jenkins_elb_log_bucket" { source = "../../modules/jenkins/log_bucket" name = "jenkins-ci.marketplace.team-logs-bucket" } module "jenkins" { source = "../../modules/jenkins/jenkins" name = "jenkins...
module "jenkins_elb_log_bucket" { source = "../../modules/jenkins/log_bucket" name = "jenkins-ci.marketplace.team-logs-bucket" } module "jenkins" { source = "../../modules/jenkins/jenkins" name = "jenkins" dev_user_ips = "${var.dev_user_ips}...
<|file_sep|>original/terraform/accounts/main/jenkins.tf module "jenkins_elb_log_bucket" { source = "../../modules/jenkins/log_bucket" name = "jenkins-ci.marketplace.team-logs-bucket" } module "jenkins" { source = "../../modules/jenkins/jenkins" name = "jenkins...
9b8d67a87184d22cd277a603b79d84a1de6f0de7
terraform/accounts/main/jenkins.tf
terraform/accounts/main/jenkins.tf
HCL
<|file_sep|>original/assets/qperf-server.yaml <|file_sep|>current/assets/qperf-server.yaml <|file_sep|>updated/assets/qperf-server.yaml
apiVersion: v1 kind: Pod metadata: name: qperf-server namespace: default spec: containers: - image: arjanschaaf/centos-qperf args: ["-lp", "4000"] imagePullPolicy: IfNotPresent name: busybox restartPolicy: Always --- apiVersion: v1 kind: Service metadata: name: qperf-server namespace: defau...
<|file_sep|>original/assets/qperf-server.yaml <|file_sep|>current/assets/qperf-server.yaml <|file_sep|>updated/assets/qperf-server.yaml apiVersion: v1 kind: Pod metadata: name: qperf-server namespace: default spec: containers: - image: arjanschaaf/centos-qperf args: ["-lp", "4000"] imagePullPolicy: If...
776fe597eaa713162785523d0697254f4e1e7ed8
assets/qperf-server.yaml
assets/qperf-server.yaml
YAML
<|file_sep|>original/jest.config.js module.exports = { moduleDirectories: ['node_modules', 'src'] } <|file_sep|>current/jest.config.js module.exports = { moduleDirectories: ['node_modules', 'src'] } <|file_sep|>updated/jest.config.js
module.exports = { moduleDirectories: ['node_modules', 'src'], globals: { fetch: () => {} } }
<|file_sep|>original/jest.config.js module.exports = { moduleDirectories: ['node_modules', 'src'] } <|file_sep|>current/jest.config.js module.exports = { moduleDirectories: ['node_modules', 'src'] } <|file_sep|>updated/jest.config.js module.exports = { moduleDirectories: ['node_modules', 'src'], globals: { ...
1fdfc1abc09bf6877b3ff1653b0ac913e9bb1080
jest.config.js
jest.config.js
JavaScript
<|file_sep|>_posts/2021-05-13-welcome.markdown.diff original: Hi everyone and welcome (once again) to my personal web page. If you've been here before, this is another reset (probably something like the 5th one) but I intend it to be the last one. updated: Hi everyone and welcome (once again) to my personal web page. I...
--- layout: post title: "Welcome." date: 2021-05-13 12:00:00 +0200 categories: general --- Hi everyone and welcome (once again) to my personal web page. If you've been here before, this is another reset (probably something like the 5th one), but I intend it to be the last one. Regarding the content, I plan to post ...
<|file_sep|>_posts/2021-05-13-welcome.markdown.diff original: Hi everyone and welcome (once again) to my personal web page. If you've been here before, this is another reset (probably something like the 5th one) but I intend it to be the last one. updated: Hi everyone and welcome (once again) to my personal web page. I...
fe4a504c0b118853a19c307887f11b8e2dbd4290
_posts/2021-05-13-welcome.markdown
_posts/2021-05-13-welcome.markdown
Markdown
<|file_sep|>original/contrib/apelscripts/accountingRun.sh #!/bin/bash # accountingRun.sh # sjones@hep.ph.liv.ac.uk, 2019 # Run the processes of a HTCondor accounting run /usr/share/apel/condor_ce_blah.sh # Make the blah file (CE/Security data) /usr/share/apel/condor_ce_batch.sh # Make the batch file (Job ti...
#!/bin/bash # accountingRun.sh # sjones@hep.ph.liv.ac.uk, 2019 # Run the processes of a HTCondor accounting run /usr/bin/condor_ce_blah.sh # Make the blah file (CE/Security data) /usr/bin/condor_ce_batch.sh # Make the batch file (Job times) /usr/bin/apelparser # Read the blah and batch fi...
<|file_sep|>original/contrib/apelscripts/accountingRun.sh #!/bin/bash # accountingRun.sh # sjones@hep.ph.liv.ac.uk, 2019 # Run the processes of a HTCondor accounting run /usr/share/apel/condor_ce_blah.sh # Make the blah file (CE/Security data) /usr/share/apel/condor_ce_batch.sh # Make the batch file (Job ti...
c613d7fc1f697bad4c4f4a010f48ec3b4254d9e5
contrib/apelscripts/accountingRun.sh
contrib/apelscripts/accountingRun.sh
Shell
<|file_sep|>original/content_stream/config/initializers/recommendable.rb require 'redis' Recommendable.configure do |config| # Recommendable's connection to Redis config.redis = Redis.new(:host => 'localhost', :port => 6379, :db => 0) config.orm = :active_record # A prefix for all keys Recommendable uses c...
require 'redis' Recommendable.configure do |config| # Recommendable's connection to Redis redis_host = ENV['REDIS_HOST'] || 'localhost' config.redis = Redis.new(:host => redis_host, :port => 6379, :db => 0) config.orm = :active_record # A prefix for all keys Recommendable uses config.redis_namespace = :r...
<|file_sep|>original/content_stream/config/initializers/recommendable.rb require 'redis' Recommendable.configure do |config| # Recommendable's connection to Redis config.redis = Redis.new(:host => 'localhost', :port => 6379, :db => 0) config.orm = :active_record # A prefix for all keys Recommendable uses c...
d66de2a854827e7b95388fdf462c1f72c72aeaa1
content_stream/config/initializers/recommendable.rb
content_stream/config/initializers/recommendable.rb
Ruby
<|file_sep|>original/cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java <|file_sep|>current/cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java <|file_sep|>updated/cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java
// ======================================================================== // Copyright 2011 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. ...
<|file_sep|>original/cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java <|file_sep|>current/cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java <|file_sep|>updated/cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java // ===========================================================...
f7b0cca3ab2380631eb986f468d0355e30130281
cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java
cipango-plus/src/test/java/org/cipango/plus/sipapp/Listener.java
Java
<|file_sep|>src/test/java/com/grayben/riskExtractor/htmlScorer/partScorers/tagScorers/TagSegmentationScorerTest.java.diff original: updated: import org.mockito.Mock; import org.mockito.Mockito; <|file_sep|>src/test/java/com/grayben/riskExtractor/htmlScorer/partScorers/tagScorers/TagSegmentationScorerTest.java.diff ori...
this.tagSegmentationScorerSUT = new TagSegmentationScorer( TagSegmentationScorer.defaultMap() ); super.setMapScorerSUT(this.tagSegmentationScorerSUT); super.setUp(); } @After public void tearDown() throws Exception { super.tearDown(); ...
<|file_sep|>src/test/java/com/grayben/riskExtractor/htmlScorer/partScorers/tagScorers/TagSegmentationScorerTest.java.diff original: updated: import org.mockito.Mock; import org.mockito.Mockito; <|file_sep|>src/test/java/com/grayben/riskExtractor/htmlScorer/partScorers/tagScorers/TagSegmentationScorerTest.java.diff ori...
0f49331f0c0198878808bd8e9eaa0367ae3d13a3
src/test/java/com/grayben/riskExtractor/htmlScorer/partScorers/tagScorers/TagSegmentationScorerTest.java
src/test/java/com/grayben/riskExtractor/htmlScorer/partScorers/tagScorers/TagSegmentationScorerTest.java
Java
<|file_sep|>routes/auth.js.diff original: var db = require('../db'); updated: <|file_sep|>original/routes/auth.js passport.use(new OpenIDConnectStrategy({ issuer: 'https://server.example.com', authorizationURL: 'https://server.example.com/authorize', tokenURL: 'https://server.example.com/token', userInfoURL:...
passport.use(new OpenIDConnectStrategy({ issuer: 'https://server.example.com', authorizationURL: 'https://server.example.com/authorize', tokenURL: 'https://server.example.com/token', userInfoURL: 'https://server.example.com/userinfo', clientID: process.env['CLIENT_ID'], clientSecret: process.env['CLIENT_SE...
<|file_sep|>routes/auth.js.diff original: var db = require('../db'); updated: <|file_sep|>original/routes/auth.js passport.use(new OpenIDConnectStrategy({ issuer: 'https://server.example.com', authorizationURL: 'https://server.example.com/authorize', tokenURL: 'https://server.example.com/token', userInfoURL:...
0e283c009c2774a70184afb776924f76b2e0087a
routes/auth.js
routes/auth.js
JavaScript
<|file_sep|>original/src/js/controller/LoginController.js /*jshint unused:false */ function LoginController($scope, loginService) { $scope.login = function() { loginService.login($scope.username, $scope.password, function(result) { $scope.result = result; }); }; } <|file_sep|>curr...
/*jshint unused:false */ function LoginController($scope, loginService) { $scope.login = function() { loginService.login($scope.username, $scope.password, function(result) { $scope.result = result; }, "tiddlyspace.cookie_form"); }; }
<|file_sep|>original/src/js/controller/LoginController.js /*jshint unused:false */ function LoginController($scope, loginService) { $scope.login = function() { loginService.login($scope.username, $scope.password, function(result) { $scope.result = result; }); }; } <|file_sep|>curr...
2909f6b8dbec309281321b2442beb4204e0aba1b
src/js/controller/LoginController.js
src/js/controller/LoginController.js
JavaScript
<|file_sep|>original/app/workers/data_import_worker.rb <|file_sep|>current/app/workers/data_import_worker.rb <|file_sep|>updated/app/workers/data_import_worker.rb
# # Responsible for migrating data from the Opscode Community Site to Supermarket # class DataImportWorker include Sidekiq::Worker include Sidetiq::Schedulable recurrence do daily.hour_of_day(3, 9, 15, 21) end # # Invokes the supermarket:migrate Rake task # def perform migration = Rake::Task['...
<|file_sep|>original/app/workers/data_import_worker.rb <|file_sep|>current/app/workers/data_import_worker.rb <|file_sep|>updated/app/workers/data_import_worker.rb # # Responsible for migrating data from the Opscode Community Site to Supermarket # class DataImportWorker include Sidekiq::Worker include Sidetiq::Sch...
72c89d7d3d221712ebebbde72a4dfb815c664256
app/workers/data_import_worker.rb
app/workers/data_import_worker.rb
Ruby
<|file_sep|>original/heufybot/factory.py def clientConnectionFailed(self, connector, reason): self.bot.log.info("Client connection to {connector.host} failed (Reason: {reason.value}).", connector=connector, reason=reason) ReconnectingClientFactory.clientConnectionFailed(sel...
self.bot.log.info("Client connection to {connector.host} failed (Reason: {reason.value}).", connector=connector, reason=reason) ReconnectingClientFactory.clientConnectionFailed(self, connector, reason) def clientConnectionLost(self, connector, reason): # Disable mo...
<|file_sep|>original/heufybot/factory.py def clientConnectionFailed(self, connector, reason): self.bot.log.info("Client connection to {connector.host} failed (Reason: {reason.value}).", connector=connector, reason=reason) ReconnectingClientFactory.clientConnectionFailed(sel...
981d0473a24d52fb19e8da1a2af18c9f8823dd29
heufybot/factory.py
heufybot/factory.py
Python
<|file_sep|>original/_posts/2015-08-04-hpx-fedora.md --- layout: post title: Installing HPX on Fedora 22 tags: - Building --- Prerequisites ===== Install all packages for minimal installation {% highlight bash %} sudo dnf gcc-c++ install cmake boost-build boost boost-devel hwloc-devel hwloc gcc-gfortran papi-devel gper...
--- layout: post title: Installing HPX on Fedora 22 tags: - Building --- Prerequisites ===== Install all packages for minimal installation {% highlight bash %} sudo dnf install gcc-c++ cmake boost-build boost boost-devel hwloc-devel hwloc gcc-gfortran papi-devel gperftools-devel docbook-dtds docbook-style-xsl libsodium...
<|file_sep|>original/_posts/2015-08-04-hpx-fedora.md --- layout: post title: Installing HPX on Fedora 22 tags: - Building --- Prerequisites ===== Install all packages for minimal installation {% highlight bash %} sudo dnf gcc-c++ install cmake boost-build boost boost-devel hwloc-devel hwloc gcc-gfortran papi-devel gper...
e17fba2d53788a91013a899a8a3ca417eb0a6ef4
_posts/2015-08-04-hpx-fedora.md
_posts/2015-08-04-hpx-fedora.md
Markdown
<|file_sep|>index.php.diff original: * version: 0.3 updated: * version: 0.3.1 <|file_sep|>original/index.php case "projects": case "feed": case "links": case "tags": case "login": include("page_$page.php"); break; case "flag": case "submit": if (LOGIN_REQUIRED and ...
case "projects": case "feed": case "links": case "tags": case "login": include("page_$page.php"); break; case "flag": case "submit": if ((LOGIN_REQUIRED or $page === "flag") and empty($_SESSION["openid"])) { exit(include("page_login.php")); } ...
<|file_sep|>index.php.diff original: * version: 0.3 updated: * version: 0.3.1 <|file_sep|>original/index.php case "projects": case "feed": case "links": case "tags": case "login": include("page_$page.php"); break; case "flag": case "submit": if (LOGIN_REQUIRED and ...
fd4b5c930b6b92a1c1c7060a8e60576ad4dc5ea8
index.php
index.php
PHP
<|file_sep|>package.json.diff original: "homepage": "https://github.com/josh/js-edn", updated: "homepage": "https://github.com/yieldbot/js-edn", <|file_sep|>package.json.diff original: "url": "git://github.com/josh/js-edn.git" updated: "url": "git://github.com/yieldbot/js-edn.git" <|file_sep|>original/packa...
"version": "0.2.0", "main": "./edn.js", "homepage": "https://github.com/yieldbot/js-edn", "repository": { "type": "git", "url": "git://github.com/yieldbot/js-edn.git" }, "licenses": [ { "type": "MIT", "url": "https://raw.github.com/yieldbot/js-edn/master/LICENSE" } ], "devDep...
<|file_sep|>package.json.diff original: "homepage": "https://github.com/josh/js-edn", updated: "homepage": "https://github.com/yieldbot/js-edn", <|file_sep|>package.json.diff original: "url": "git://github.com/josh/js-edn.git" updated: "url": "git://github.com/yieldbot/js-edn.git" <|file_sep|>original/packa...
5ef50705377a27b97424f3b47d46fdf4093a097d
package.json
package.json
JSON
<|file_sep|>original/lib/chicago/rake_tasks.rb desc "Report code statistics (KLOCs, etc) from the application" task :stats do verbose = true stats_dirs = [['Code', './lib'], ['Test', "./#{@test_dir}"]].select { |name, dir| File.directory?(dir) } CodeStatistics....
desc "Report code statistics (KLOCs, etc) from the application" task :stats do verbose = true stats_dirs = [['Code', './lib'], ['Test', "./#{@test_dir}"]].select { |name, dir| File.directory?(dir) } CodeStatistics.new(*stats_dirs).to_s end namespac...
<|file_sep|>original/lib/chicago/rake_tasks.rb desc "Report code statistics (KLOCs, etc) from the application" task :stats do verbose = true stats_dirs = [['Code', './lib'], ['Test', "./#{@test_dir}"]].select { |name, dir| File.directory?(dir) } CodeStatistics....
b9ea56737288228f8a2972ed861cb7f3968dc96e
lib/chicago/rake_tasks.rb
lib/chicago/rake_tasks.rb
Ruby
<|file_sep|>original/models/Shoes.js const mongoose = require('mongoose'); const shoesSchema = new mongoose.Schema({ name: String }); const Shoes = mongoose.model('Shoes', shoesSchema); module.exports = Shoes; <|file_sep|>current/models/Shoes.js const mongoose = require('mongoose'); const shoesSchema = new mongoos...
const mongoose = require('mongoose'); const shoesSchema = new mongoose.Schema({ name: String }); const Shoes = mongoose.model('Shoes', shoesSchema); module.exports = Shoes; /*function listshoes() { return a list of all the shoes to be treated } */ /*function getSize(shoe) { return the size of a shoe } */
<|file_sep|>original/models/Shoes.js const mongoose = require('mongoose'); const shoesSchema = new mongoose.Schema({ name: String }); const Shoes = mongoose.model('Shoes', shoesSchema); module.exports = Shoes; <|file_sep|>current/models/Shoes.js const mongoose = require('mongoose'); const shoesSchema = new mongoos...
c3aeb8490653e959c9996c2e4e7769f07029a46d
models/Shoes.js
models/Shoes.js
JavaScript
<|file_sep|>includes/formatters/EditThresholdPresentationModel.php.diff original: updated: if ( !$this->event->getTitle() ) { return false; } <|file_sep|>original/includes/formatters/EditThresholdPresentationModel.php class EchoEditThresholdPresentationModel extends EchoEventPresentationModel { public functio...
class EchoEditThresholdPresentationModel extends EchoEventPresentationModel { public function getIconType() { return 'edit'; } public function getHeaderMessageKey() { return 'notification-header-thank-you-' . $this->event->getExtraParam( 'editCount' ) . '-edit'; } public function getPrimaryLink() { if ( ...
<|file_sep|>includes/formatters/EditThresholdPresentationModel.php.diff original: updated: if ( !$this->event->getTitle() ) { return false; } <|file_sep|>original/includes/formatters/EditThresholdPresentationModel.php class EchoEditThresholdPresentationModel extends EchoEventPresentationModel { public functio...
59c0ad6c4d19e690fe8d748a9b3fa4cb6ee7bfe6
includes/formatters/EditThresholdPresentationModel.php
includes/formatters/EditThresholdPresentationModel.php
PHP
<|file_sep|>original/.gitlab-ci.yml image: 'tailhook/vagga:latest' before_script: - vagga _build test test: script: - vagga lint <|file_sep|>current/.gitlab-ci.yml image: 'tailhook/vagga:latest' before_script: - vagga _build test test: script: - vagga lint <|file_sep|>updated/.gitlab-ci.yml
image: 'tailhook/vagga:v0.7.0' before_script: - vagga _build test test: script: - vagga lint
<|file_sep|>original/.gitlab-ci.yml image: 'tailhook/vagga:latest' before_script: - vagga _build test test: script: - vagga lint <|file_sep|>current/.gitlab-ci.yml image: 'tailhook/vagga:latest' before_script: - vagga _build test test: script: - vagga lint <|file_sep|>updated/.gitlab-ci.yml image: 'ta...
87e2991ff8195ea34d14cc1fad1c037090ccc09c
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/requirements_dev.txt # required cython==0.29.16 numpy==1.18.2 dask[array]==2.13.0 # optional scipy==1.4.1 matplotlib==3.2.1 seaborn==0.10.0 pandas==0.25.0 scikit-learn==0.21.3 h5py==2.9.0 numexpr==2.6.9 bcolz==1.2.1 zarr==2.3.2 hmmlearn==0.2.2 # install problems on windows, skip for now # https://g...
# required cython==0.29.16 numpy==1.18.2 dask[array]==2.13.0 # optional scipy==1.4.1 matplotlib==3.2.1 seaborn==0.10.0 pandas==1.0.3 scikit-learn==0.21.3 h5py==2.9.0 numexpr==2.6.9 bcolz==1.2.1 zarr==2.3.2 hmmlearn==0.2.2 # install problems on windows, skip for now # https://github.com/jmschrei/pomegranate/issues/333#i...
<|file_sep|>original/requirements_dev.txt # required cython==0.29.16 numpy==1.18.2 dask[array]==2.13.0 # optional scipy==1.4.1 matplotlib==3.2.1 seaborn==0.10.0 pandas==0.25.0 scikit-learn==0.21.3 h5py==2.9.0 numexpr==2.6.9 bcolz==1.2.1 zarr==2.3.2 hmmlearn==0.2.2 # install problems on windows, skip for now # https://g...
1ef18d0a938ecd3d631d942e4f07ad4e45243d8c
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/Tests/Registry/ActionsRegistryTest.php <|file_sep|>current/Tests/Registry/ActionsRegistryTest.php <|file_sep|>updated/Tests/Registry/ActionsRegistryTest.php
<?php namespace Pierstoval\Bundle\CharacterManagerBundle\Tests\Registry; use PHPUnit\Framework\TestCase; use Pierstoval\Bundle\CharacterManagerBundle\Action\StepActionInterface; use Pierstoval\Bundle\CharacterManagerBundle\Model\StepInterface; use Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistry; cl...
<|file_sep|>original/Tests/Registry/ActionsRegistryTest.php <|file_sep|>current/Tests/Registry/ActionsRegistryTest.php <|file_sep|>updated/Tests/Registry/ActionsRegistryTest.php <?php namespace Pierstoval\Bundle\CharacterManagerBundle\Tests\Registry; use PHPUnit\Framework\TestCase; use Pierstoval\Bundle\CharacterMa...
0661710360272b474333d10ff1d01a36c837e510
Tests/Registry/ActionsRegistryTest.php
Tests/Registry/ActionsRegistryTest.php
PHP
<|file_sep|>original/CHANGELOG.md # Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased](#unreleased) ### Added - documentation for th...
# Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased ### Added - documentation for themr and react-toolbox - reference to [Phoenix Rea...
<|file_sep|>original/CHANGELOG.md # Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased](#unreleased) ### Added - documentation for th...
7096bdcad6d51870f503aede133338ca3ce46c3b
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/banjocat/SqlToCpp.svg?branch=master)](https://travis-ci.org/banjocat/SqlToCpp) -- Travis [![Build Status](http://www.jackmuratore.com:8080/job/sqltocpp/badge/icon)](http://www.jackmuratore.com:8080/job/sqltocpp/) -- Jenkins This is in development a...
[![Build Status](https://travis-ci.org/banjocat/SqlToCpp.svg?branch=master)](https://travis-ci.org/banjocat/SqlToCpp) -- Travis [![Build Status](http://www.jackmuratore.com:8080/buildStatus/icon?job=sqltocpp)](http://www.jackmuratore.com:8080/job/sqltocpp/)-- Jenkins This is in development and has not reached a stabl...
<|file_sep|>original/README.md [![Build Status](https://travis-ci.org/banjocat/SqlToCpp.svg?branch=master)](https://travis-ci.org/banjocat/SqlToCpp) -- Travis [![Build Status](http://www.jackmuratore.com:8080/job/sqltocpp/badge/icon)](http://www.jackmuratore.com:8080/job/sqltocpp/) -- Jenkins This is in development a...
0648b58384225d197f4ff25dee90ceefd5be3e4d
README.md
README.md
Markdown
<|file_sep|>original/lib/src/async/helpers.dart part of alpha.async; Future<List<dynamic>> where(List<dynamic> input, bool filter(dynamic it)) { var completer = new Completer(); var elements = []; new Stream.fromIterable(input) .where(filter) .listen(elements.add) .onDone(() => completer.comple...
part of alpha.async; Future<List<dynamic>> where(List<dynamic> input, bool filter(dynamic it)) { var completer = new Completer(); var elements = []; new Stream.fromIterable(input) .where(filter) .listen(elements.add) .onDone(() => completer.complete(elements)); return completer.future; } ...
<|file_sep|>original/lib/src/async/helpers.dart part of alpha.async; Future<List<dynamic>> where(List<dynamic> input, bool filter(dynamic it)) { var completer = new Completer(); var elements = []; new Stream.fromIterable(input) .where(filter) .listen(elements.add) .onDone(() => completer.comple...
7d3983177fb0a159e900367b766d2d71d493406c
lib/src/async/helpers.dart
lib/src/async/helpers.dart
Dart
<|file_sep|>util.js.diff original: if (/[\\\"]/.test(s)) updated: if (/^[_A-Za-z][_A-Za-z0-9]*$/.test(s)) return s; else <|file_sep|>original/util.js function quote(s) { return "\"" + s.replace(/([\\\"])/, "\\$1") + "\""; } function maybe_quote(s) { if (/[\\\"]/.test(s)) return quote(s); else return s; } ...
function quote(s) { return "\"" + s.replace(/([\\\"])/, "\\$1") + "\""; } function maybe_quote(s) { if (/^[_A-Za-z][_A-Za-z0-9]*$/.test(s)) return s; else return quote(s); } function repr(x, max_depth) { if (max_depth == undefined) max_depth = 1; if (x === null) { return "null"; } else if (x instanceof...
<|file_sep|>util.js.diff original: if (/[\\\"]/.test(s)) updated: if (/^[_A-Za-z][_A-Za-z0-9]*$/.test(s)) return s; else <|file_sep|>original/util.js function quote(s) { return "\"" + s.replace(/([\\\"])/, "\\$1") + "\""; } function maybe_quote(s) { if (/[\\\"]/.test(s)) return quote(s); else return s; } ...
d394c7e4dc8d9286034d08c5445e95d2a0cf6891
util.js
util.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 sudo: false cache: bundler script: bundle exec rake ci <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 sudo: false cache: bundler script: bundle exec rake ci <|file_sep|>updated/.trav...
language: ruby rvm: - 2.2.10 - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 - 2.7.0 sudo: false cache: bundler script: bundle exec rake ci
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 sudo: false cache: bundler script: bundle exec rake ci <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.9 - 2.3.6 - 2.4.3 - 2.5.0 sudo: false cache: bundler script: bundle exec rake ci <|file_sep|>updated/.trav...
5b26fb6baa99d64e2bc08350818455f5599bbea4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/debezium-connector-postgres/src/test/resources/log4j.properties # Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%...
# Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} %-5p %X{dbz.connectorType}|%X{dbz.connectorName}|%X{dbz.connectorContext}...
<|file_sep|>original/debezium-connector-postgres/src/test/resources/log4j.properties # Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%...
40506d5352aa5361eb96f71e257f7429bde6ab07
debezium-connector-postgres/src/test/resources/log4j.properties
debezium-connector-postgres/src/test/resources/log4j.properties
INI
<|file_sep|>spec/lib/terraforming/resource/db_parameter_group_spec.rb.diff original: updated: let(:client) do Aws::RDS::Client.new(stub_responses: true) end let(:db_parameter_groups) do [ { db_parameter_group_name: "default.mysql5.6", db_parameter_group_family: "mys...
} resource "aws_db_parameter_group" "default.postgres9.4" { name = "default.postgres9.4" family = "postgres9.4" description = "Default parameter group for postgres9.4" } EOS end describe ".tfstate" do it "should raise NotImplementedError" do expect do ...
<|file_sep|>spec/lib/terraforming/resource/db_parameter_group_spec.rb.diff original: updated: let(:client) do Aws::RDS::Client.new(stub_responses: true) end let(:db_parameter_groups) do [ { db_parameter_group_name: "default.mysql5.6", db_parameter_group_family: "mys...
50cde2ac191ccc92097d4376a88091bc76e5f022
spec/lib/terraforming/resource/db_parameter_group_spec.rb
spec/lib/terraforming/resource/db_parameter_group_spec.rb
Ruby
<|file_sep|>original/test-requirements.txt coverage>=4.0.3,<4.6 docutils==0.14 flake8>=2.4.1,<2.5 Pygments>=2.0.2,<2.5 pytest>=2.7.2,<2.8 isort>=4.2.2,<4.4 <|file_sep|>current/test-requirements.txt coverage>=4.0.3,<4.6 docutils==0.14 flake8>=2.4.1,<2.5 Pygments>=2.0.2,<2.5 pytest>=2.7.2,<2.8 isort>=4.2.2,<4.4 <|file_se...
coverage>=4.0.3,<4.6 docutils==0.14 flake8>=2.4.1,<3.8 Pygments>=2.0.2,<2.5 pytest>=2.7.2,<2.8 isort>=4.2.2,<4.4
<|file_sep|>original/test-requirements.txt coverage>=4.0.3,<4.6 docutils==0.14 flake8>=2.4.1,<2.5 Pygments>=2.0.2,<2.5 pytest>=2.7.2,<2.8 isort>=4.2.2,<4.4 <|file_sep|>current/test-requirements.txt coverage>=4.0.3,<4.6 docutils==0.14 flake8>=2.4.1,<2.5 Pygments>=2.0.2,<2.5 pytest>=2.7.2,<2.8 isort>=4.2.2,<4.4 <|file_se...
652f3d9f98a8545274e1840c6ef3f2670acda9d7
test-requirements.txt
test-requirements.txt
Text
<|file_sep|>spec/image_downloader_adapter_base_spec.rb.diff original: updated: it 'should download elements with background-image property in stylesheet' do file = File.join(source_dir, 'background stylesheet.png') expect(target_bank.contains? file).to be(true) end <|file_sep|>original/spec/image_download...
it 'should download elements with background-image property in stylesheet' do file = File.join(source_dir, 'background stylesheet.png') expect(target_bank.contains? file).to be(true) end xit 'should download img tags with srcset in scheme http' do end xit 'should download img tags with embedded ima...
<|file_sep|>spec/image_downloader_adapter_base_spec.rb.diff original: updated: it 'should download elements with background-image property in stylesheet' do file = File.join(source_dir, 'background stylesheet.png') expect(target_bank.contains? file).to be(true) end <|file_sep|>original/spec/image_download...
38f6992576f3f48fb82faa6b347d6eaa12aaa07d
spec/image_downloader_adapter_base_spec.rb
spec/image_downloader_adapter_base_spec.rb
Ruby
<|file_sep|>original/pkg/brew/ripgrep-bin.rb class RipgrepBin < Formula version '0.5.0' desc "Search tool like grep and The Silver Searcher." homepage "https://github.com/BurntSushi/ripgrep" url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz" ...
class RipgrepBin < Formula version '0.5.0' desc "Search tool like grep and The Silver Searcher." homepage "https://github.com/BurntSushi/ripgrep" url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz" sha256 "5bfa8872c4f2a5d010ddec1c213d518056e62...
<|file_sep|>original/pkg/brew/ripgrep-bin.rb class RipgrepBin < Formula version '0.5.0' desc "Search tool like grep and The Silver Searcher." homepage "https://github.com/BurntSushi/ripgrep" url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz" ...
75f1855a91ca00b5d0e62740595b1b91bc5142a2
pkg/brew/ripgrep-bin.rb
pkg/brew/ripgrep-bin.rb
Ruby
<|file_sep|>original/src/Android.mk LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ framing.c \ bitwise.c # LOCAL_SHARED_LIBRARIES := \ # libglib-2.0 \ # libgthread-2.0 \ # libgmodule-2.0 \ # libgobject-2.0 LOCAL_MODULE:= libogg LOCAL_C_I...
LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ framing.c \ bitwise.c # LOCAL_SHARED_LIBRARIES := \ # libglib-2.0 \ # libgthread-2.0 \ # libgmodule-2.0 \ # libgobject-2.0 LOCAL_MODULE:= libogg LOCAL_C_INCLUDES := \ $(LOCAL_PATH) \ $...
<|file_sep|>original/src/Android.mk LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ framing.c \ bitwise.c # LOCAL_SHARED_LIBRARIES := \ # libglib-2.0 \ # libgthread-2.0 \ # libgmodule-2.0 \ # libgobject-2.0 LOCAL_MODULE:= libogg LOCAL_C_I...
e69f5238297770f831c0d3fa8a030635713bf929
src/Android.mk
src/Android.mk
Makefile
<|file_sep|>CONTRIBUTORS.txt.diff original: updated: <|file_sep|>CONTRIBUTORS.txt.diff original: updated: <|file_sep|>CONTRIBUTORS.txt.diff original: - Cyrille Rossant. updated: - Cyrille Rossant - Eric Larson <|file_sep|>original/CONTRIBUTORS.txt Core team --------- - Luke Campagnola - Almar Klein - Nicolas Ro...
- Nicolas Rougier - Cyrille Rossant - Eric Larson Contributors ------------ - Jerome Kieffer keep it compatible with python 2.6 #68 - M S Suraj Canvas object now provides fps #109 - Matthias Vogelgesang Simplify setup py #70 - joe311 Tailed arrow marker #60
<|file_sep|>CONTRIBUTORS.txt.diff original: updated: <|file_sep|>CONTRIBUTORS.txt.diff original: updated: <|file_sep|>CONTRIBUTORS.txt.diff original: - Cyrille Rossant. updated: - Cyrille Rossant - Eric Larson <|file_sep|>original/CONTRIBUTORS.txt Core team --------- - Luke Campagnola - Almar Klein - Nicolas Ro...
43c941dd9a05dcc0adcff7561aa0e2481bbefac6
CONTRIBUTORS.txt
CONTRIBUTORS.txt
Text
<|file_sep|>original/tests/jobs/test_update_sample.py <|file_sep|>current/tests/jobs/test_update_sample.py <|file_sep|>updated/tests/jobs/test_update_sample.py
import pytest import virtool.jobs.create_sample @pytest.fixture def test_update_sample_job(mocker, tmpdir, loop, request, dbi, dbs, test_db_connection_string, test_db_name): tmpdir.mkdir("samples") tmpdir.mkdir("logs").mkdir("jobs") settings = { "data_path": str(tmpdir), "db_name": test_...
<|file_sep|>original/tests/jobs/test_update_sample.py <|file_sep|>current/tests/jobs/test_update_sample.py <|file_sep|>updated/tests/jobs/test_update_sample.py import pytest import virtool.jobs.create_sample @pytest.fixture def test_update_sample_job(mocker, tmpdir, loop, request, dbi, dbs, test_db_connection_stri...
2f83733b2f9526b9d81a5b088927218f78ee442b
tests/jobs/test_update_sample.py
tests/jobs/test_update_sample.py
Python
<|file_sep|>app/uk/gov/dvla/vehicles/presentation/common/controllers/AlternateLanguages.scala.diff original: updated: import play.api.i18n.Lang import play.api.Logger import play.api.mvc.{Action, Controller} <|file_sep|>app/uk/gov/dvla/vehicles/presentation/common/controllers/AlternateLanguages.scala.diff original: im...
import play.api.Logger import play.api.mvc.{Action, Controller} import play.api.Play.current object AlternateLanguages extends Controller { final val CyId = "cy" final val EnId = "en" val langCy = Lang(CyId) val langEn = Lang(EnId) def withLanguage(chosenLanguage: String) = Action { implicit request => ...
<|file_sep|>app/uk/gov/dvla/vehicles/presentation/common/controllers/AlternateLanguages.scala.diff original: updated: import play.api.i18n.Lang import play.api.Logger import play.api.mvc.{Action, Controller} <|file_sep|>app/uk/gov/dvla/vehicles/presentation/common/controllers/AlternateLanguages.scala.diff original: im...
82404f0874aecfc72965cc1dfebd19804ed7ed02
app/uk/gov/dvla/vehicles/presentation/common/controllers/AlternateLanguages.scala
app/uk/gov/dvla/vehicles/presentation/common/controllers/AlternateLanguages.scala
Scala
<|file_sep|>original/composer.json "homepage": "https://github.com/laravelflare/flare", "license": "MIT", "authors": [ { "name": "Laravel Flare", "homepage": "https://github.com/laravelflare" }, { "name": "Aden Fraser", "email": "aden@j...
"homepage": "https://github.com/laravelflare" }, { "name": "Aden Fraser", "email": "aden@jacobbailey.com", "homepage": "https://github.com/AdenFraser" } ], "require": { }, "extra": { "branch-alias": { "dev-master...
<|file_sep|>original/composer.json "homepage": "https://github.com/laravelflare/flare", "license": "MIT", "authors": [ { "name": "Laravel Flare", "homepage": "https://github.com/laravelflare" }, { "name": "Aden Fraser", "email": "aden@j...
dd96945833acca5aa350b5057209219c53ed02f3
composer.json
composer.json
JSON
<|file_sep|>original/project.clj ;;;; This file is part of algebolic. Copyright (C) 2014-, Jony Hudson. ;;;; ;;;; algebolic is licenced to you under the MIT licence. See the file LICENCE.txt for full details. (defproject algebolic "0.1.0-SNAPSHOT" :description "A library for doing symbolic regression with algebraic ...
;;;; This file is part of algebolic. Copyright (C) 2014-, Jony Hudson. ;;;; ;;;; algebolic is licenced to you under the MIT licence. See the file LICENCE.txt for full details. (defproject algebolic "0.1.0-SNAPSHOT" :description "A library for doing symbolic regression with algebraic manipulation." :license {:name ...
<|file_sep|>original/project.clj ;;;; This file is part of algebolic. Copyright (C) 2014-, Jony Hudson. ;;;; ;;;; algebolic is licenced to you under the MIT licence. See the file LICENCE.txt for full details. (defproject algebolic "0.1.0-SNAPSHOT" :description "A library for doing symbolic regression with algebraic ...
d570ab3333d48cbe441e0eba1faa19de7dce8df7
project.clj
project.clj
Clojure
<|file_sep|>original/thumbtack.gemspec require 'thumbtack/version' Gem::Specification.new do |spec| spec.add_development_dependency 'bundler' spec.add_development_dependency 'minitest', '5.11.3' spec.add_development_dependency 'rake', '12.3.2' spec.add_development_dependency 'simplecov', '0.16.1' spec.add_de...
require 'thumbtack/version' Gem::Specification.new do |spec| spec.add_development_dependency 'bundler' spec.add_development_dependency 'minitest', '5.11.3' spec.add_development_dependency 'rake', '12.3.2' spec.add_development_dependency 'simplecov', '0.16.1' spec.add_development_dependency 'yard', '0.9.18' ...
<|file_sep|>original/thumbtack.gemspec require 'thumbtack/version' Gem::Specification.new do |spec| spec.add_development_dependency 'bundler' spec.add_development_dependency 'minitest', '5.11.3' spec.add_development_dependency 'rake', '12.3.2' spec.add_development_dependency 'simplecov', '0.16.1' spec.add_de...
729eef9f714ba7ad505b92a7dc8038d13f039fc8
thumbtack.gemspec
thumbtack.gemspec
Ruby
<|file_sep|>original/opencog/nlp/triples/sentence-split.pl <|file_sep|>current/opencog/nlp/triples/sentence-split.pl <|file_sep|>updated/opencog/nlp/triples/sentence-split.pl
#! /usr/bin/env perl # # sentence-split.pl # # Take as input a file containing multiple sentences expressed # as opencog scheme. Split it into multiple files, with each file # containg one sentence. # # Usage: # cat somefile.scm | ./sentence-split.pl /some/file-prefix- # # will take each sentence in "somefile.scm", ...
<|file_sep|>original/opencog/nlp/triples/sentence-split.pl <|file_sep|>current/opencog/nlp/triples/sentence-split.pl <|file_sep|>updated/opencog/nlp/triples/sentence-split.pl #! /usr/bin/env perl # # sentence-split.pl # # Take as input a file containing multiple sentences expressed # as opencog scheme. Split it into ...
015e81bae39d05615301170b072923cd0c663929
opencog/nlp/triples/sentence-split.pl
opencog/nlp/triples/sentence-split.pl
Perl
<|file_sep|>original/lib/agent/server.js return done(); }); function done() { setTimeout(update, 2000); } } update(); var proxy = httpProxy.createProxyServer({}); var server = http.createServer(function (req, res) { var host = hosts[req.headers.host]; if (host && host.port) { proxy.web(req, res,...
return done(); }); function done() { setTimeout(update, 2000); } } update(); var proxy = httpProxy.createProxyServer({}); proxy.on('error', function (err, req, res) { if (err.code !== 'ECONNRESET') throw err; req.destroy(); res.destroy(); }); var server = http.createServer(function (req, res) { ...
<|file_sep|>original/lib/agent/server.js return done(); }); function done() { setTimeout(update, 2000); } } update(); var proxy = httpProxy.createProxyServer({}); var server = http.createServer(function (req, res) { var host = hosts[req.headers.host]; if (host && host.port) { proxy.web(req, res,...
95e91ecc58ba536c179120c91380caa6c939467a
lib/agent/server.js
lib/agent/server.js
JavaScript
<|file_sep|>original/SECURITY.md # Security Policy ## Supported Versions | Version | Supported | |---------|------------------------| | 14.0.x | βœ”οΈ Yes | | 13.0.x | πŸ” Security updates until April 2022 | | 0.13.x | ❌ No | | 0.12.x | πŸ” Security updates until January 2022 | | < 0.12 | ❌ No | ## Reporting a Vuln...
# Security Policy ## Supported Versions | Version | Supported | |---------|------------------------| | 14.0.x | βœ”οΈ Yes | | 13.0.x | πŸ” Security updates until April 2022 | | <= 0.13.x | ❌ No | ## Reporting a Vulnerability In general, vulnerabilities can be reported as an issue, pull requests are very welcome. If...
<|file_sep|>original/SECURITY.md # Security Policy ## Supported Versions | Version | Supported | |---------|------------------------| | 14.0.x | βœ”οΈ Yes | | 13.0.x | πŸ” Security updates until April 2022 | | 0.13.x | ❌ No | | 0.12.x | πŸ” Security updates until January 2022 | | < 0.12 | ❌ No | ## Reporting a Vuln...
251d4a1fdc79f654fa90fc52ec06046b3ad6a56f
SECURITY.md
SECURITY.md
Markdown
<|file_sep|>examples/engines/SCRIPT.txt.diff original: | ?- assertz(a(2)), assertz(a(1)), assertz(a(4)), assertz(a(3)) updated: | ?- assertz(a(2)), assertz(a(1)), assertz(a(4)), assertz(a(3)). <|file_sep|>examples/engines/SCRIPT.txt.diff original: | ?- metas::best_of(X, (>), a(X)), updated: | ?- metas::best_of(X, (>), ...
... % some clauses for a predicate used in the next queries: | ?- assertz(a(2)), assertz(a(1)), assertz(a(4)), assertz(a(3)). yes % find the larger value from the values returned by a generator: | ?- metas::best_of(X, (>), a(X)). X = 4 yes % test the threaded engine implementation of the standard findall/3 pred...
<|file_sep|>examples/engines/SCRIPT.txt.diff original: | ?- assertz(a(2)), assertz(a(1)), assertz(a(4)), assertz(a(3)) updated: | ?- assertz(a(2)), assertz(a(1)), assertz(a(4)), assertz(a(3)). <|file_sep|>examples/engines/SCRIPT.txt.diff original: | ?- metas::best_of(X, (>), a(X)), updated: | ?- metas::best_of(X, (>), ...
112e55d1c5fdf7a668cfe84b2baf7ebb0b22e66f
examples/engines/SCRIPT.txt
examples/engines/SCRIPT.txt
Text
<|file_sep|>original/herringbone-main/src/main/scala/com/stripe/herringbone/load/ParquetLoadConf.scala package com.stripe.herringbone.load import org.rogach.scallop._ class ParquetLoadConf(arguments: Seq[String]) extends ScallopConf(arguments) { val database = opt[String](default = Some("default")) val table = op...
package com.stripe.herringbone.load import org.rogach.scallop._ class ParquetLoadConf(arguments: Seq[String]) extends ScallopConf(arguments) { val database = opt[String](default = Some("default")) val table = opt[String](required = true) val path = opt[String]() val hive = opt[Boolean]("hive") val connectio...
<|file_sep|>original/herringbone-main/src/main/scala/com/stripe/herringbone/load/ParquetLoadConf.scala package com.stripe.herringbone.load import org.rogach.scallop._ class ParquetLoadConf(arguments: Seq[String]) extends ScallopConf(arguments) { val database = opt[String](default = Some("default")) val table = op...
10af5d17d54a94b2de4f241ca5a7495929198253
herringbone-main/src/main/scala/com/stripe/herringbone/load/ParquetLoadConf.scala
herringbone-main/src/main/scala/com/stripe/herringbone/load/ParquetLoadConf.scala
Scala