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/list.c struct List { ListNode* head; }; List* List_Create(void) { List* l = (List *)malloc(sizeof(List)); l->head = NULL; return l; } ListNode* ListNode_Create(void* k) { ListNode* n = (ListNode *)malloc(sizeof(ListNode)); n->prev = NULL; n->next = NULL; n->k = k; return n; } <|file_sep...
return l; } ListNode* ListNode_Create(void* k) { ListNode* n = (ListNode *)malloc(sizeof(ListNode)); n->prev = NULL; n->next = NULL; n->k = k; return n; } ListNode* List_Search(List* l, void* k, int (f)(void*, void*)) { ListNode* n = l->head; while (n != NULL && !f(n->k, k)) { n = n->next; } return n; }
<|file_sep|>original/list.c struct List { ListNode* head; }; List* List_Create(void) { List* l = (List *)malloc(sizeof(List)); l->head = NULL; return l; } ListNode* ListNode_Create(void* k) { ListNode* n = (ListNode *)malloc(sizeof(ListNode)); n->prev = NULL; n->next = NULL; n->k = k; return n; } <|file_sep...
f0b6c5101e4b1c88410e8e9d227266500497e031
list.c
list.c
C
<|file_sep|>ansible/provision_majorTom.yml.diff original: updated: - { role: worker, sudo: no } <|file_sep|>original/ansible/provision_majorTom.yml --- - hosts: localhost connection: local sudo: yes gather_facts: yes roles: - common tasks: - name: get ec2 inventory script sudo: no get...
--- - hosts: localhost connection: local sudo: yes gather_facts: yes roles: - common - { role: worker, sudo: no } tasks: - name: stop worker sudo: no command: ~/bin/stop-rqworker.sh # TODO: when rwqoekr.pid - name: stop akara command: "{{ dir_venv}}/bin/akara -f {{ dir_...
<|file_sep|>ansible/provision_majorTom.yml.diff original: updated: - { role: worker, sudo: no } <|file_sep|>original/ansible/provision_majorTom.yml --- - hosts: localhost connection: local sudo: yes gather_facts: yes roles: - common tasks: - name: get ec2 inventory script sudo: no get...
b030b506cde6ce91171fc372cdce9aca985ab4b6
ansible/provision_majorTom.yml
ansible/provision_majorTom.yml
YAML
<|file_sep|>org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java.diff original: updated: import java.lang.annotation.Documented; <|file_sep|>org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java.diff original: updated: import java.lang.annotation.Inherited; <|file_sep|>origina...
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation is used to. * * @author Sébastien Bordes */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) @Inherited @Documented public @interface RunInto { /** * Define the Run...
<|file_sep|>org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java.diff original: updated: import java.lang.annotation.Documented; <|file_sep|>org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java.diff original: updated: import java.lang.annotation.Inherited; <|file_sep|>origina...
97091743cef521d8076b27213393b85eb021fb44
org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java
org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java
Java
<|file_sep|>original/requirements.txt Flask-Webpack==0.1.0 werkzeug>=0.15.3 mediacloud==3.7.6 pymongo==3.6.1 requests==2.20.0 raven[flask]==6.9.0 redis==2.10.6 networkx==1.9 Flask-Mail==0.9.1 mediacloud-cliff==2.6.0 gunicorn==19.9.0 dogpile.cache==0.9.0 python-dateutil==2.7.3 python-slugify==1.2.6 greenlet==0.4.15 geve...
Flask-Webpack==0.1.0 werkzeug>=0.15.3 mediacloud==3.7.6 pymongo==3.6.1 requests==2.20.0 raven[flask]==6.9.0 redis==2.10.6 networkx==1.9 Flask-Mail==0.9.1 mediacloud-cliff==2.6.0 gunicorn==19.9.0 dogpile.cache==0.7.1 python-dateutil==2.7.3 python-slugify==1.2.6 greenlet==0.4.15 gevent==1.3.7 deco==0.5.2 psaw==0.0.7 Flas...
<|file_sep|>original/requirements.txt Flask-Webpack==0.1.0 werkzeug>=0.15.3 mediacloud==3.7.6 pymongo==3.6.1 requests==2.20.0 raven[flask]==6.9.0 redis==2.10.6 networkx==1.9 Flask-Mail==0.9.1 mediacloud-cliff==2.6.0 gunicorn==19.9.0 dogpile.cache==0.9.0 python-dateutil==2.7.3 python-slugify==1.2.6 greenlet==0.4.15 geve...
fc5affa059ed0cbf64c06e5a828d423d821e59e8
requirements.txt
requirements.txt
Text
<|file_sep|>original/index.html <div class="posts"> {% for post in paginator.posts %} <div class="post"> <h1 class="post-title"> <a href="{{ post.url }}"> {{ post.title }} </a> </h1> <span class="post-date">{{ post.date | date_to_string }}</span> {{ post.content }} </div> {...
<div class="posts"> {% for post in paginator.posts %} <div class="post"> <h1 class="post-title"> <a href="{{ post.url }}"> {{ post.title }} </a> </h1> <span class="post-date"> {{ post.date | date_to_string }} {% if post.comments %} • <a href="https://hyperparticle.com/{{...
<|file_sep|>original/index.html <div class="posts"> {% for post in paginator.posts %} <div class="post"> <h1 class="post-title"> <a href="{{ post.url }}"> {{ post.title }} </a> </h1> <span class="post-date">{{ post.date | date_to_string }}</span> {{ post.content }} </div> {...
219b6781084d837cb409cc798cbbe682f31198f6
index.html
index.html
HTML
<|file_sep|>lib/travis/config/url.rb.diff original: updated: Amqps = Amqp <|file_sep|>original/lib/travis/config/url.rb def to_h super.reject { |key, value| key == :database }.merge(vhost: vhost) end end class << self def parse(url) return Generic.new if ...
super.reject { |key, value| key == :database }.merge(vhost: vhost) end end Amqps = Amqp class << self def parse(url) return Generic.new if url.nil? || url.empty? uri = URI.parse(url) const = const_get(camelize(uri.scheme)) const.new(...
<|file_sep|>lib/travis/config/url.rb.diff original: updated: Amqps = Amqp <|file_sep|>original/lib/travis/config/url.rb def to_h super.reject { |key, value| key == :database }.merge(vhost: vhost) end end class << self def parse(url) return Generic.new if ...
1fd033b98ea96652a57d13f32a9bacd71c7fadfe
lib/travis/config/url.rb
lib/travis/config/url.rb
Ruby
<|file_sep|>original/_config.yml exclude: [CNAME, README.md, .gitignore] permalink: /:title ## disables post output timezone: null lsi: false markdown: kramdown ### content configuration ### title: "Computing Skills Workshop for Researchers" keywords: "CAMH, research, computing, scientific computing, workshop...
exclude: [CNAME, README.md, .gitignore] permalink: /:title ## disables post output timezone: null lsi: false markdown: kramdown ### content configuration ### title: "Computing Skills Workshop for Researchers" keywords: "CAMH, research, computing, scientific computing, workshop" description: "A 6 day long seri...
<|file_sep|>original/_config.yml exclude: [CNAME, README.md, .gitignore] permalink: /:title ## disables post output timezone: null lsi: false markdown: kramdown ### content configuration ### title: "Computing Skills Workshop for Researchers" keywords: "CAMH, research, computing, scientific computing, workshop...
f5ab6572611de0d2e35e64e3394bc3c2c56873e2
_config.yml
_config.yml
YAML
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.10" branches: only: - master - develop env: global: - secure: "UfYavLB1FeVZZtJ9w+KwQ/m5JPkBhlcMyOPqILf+I+u08DY5/5nQ2VjvgAK7nakKtXHIrIurxlrd4MZogUICFeS7bu347rT8cHOUBo/R+Q4wYmaAInyek2NXawAdTxwl9hMxOHwAm6pxBGzji4rzuHPIr5ZttKdNHwxXmzfg...
sudo: false language: node_js node_js: - "0.10" branches: only: - master - develop env: global: - secure: "ZBbV6vqjQUkx9A8vd2gwRr0WdUR7SV2VLwlSTwgWnnBWTh3ZdKcHVqVlA3mjtaIyUx6J4mdtcMq7/U/vNCbXdqKyqKFIQtKiKWfJVQXGtscp0CK8QeVxG/v2DajRNUxeS3IsLMK9lnPv/tuT7eAKMecSG2CI190B9SWhAZYG3kk=" before_install: - npm insta...
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.10" branches: only: - master - develop env: global: - secure: "UfYavLB1FeVZZtJ9w+KwQ/m5JPkBhlcMyOPqILf+I+u08DY5/5nQ2VjvgAK7nakKtXHIrIurxlrd4MZogUICFeS7bu347rT8cHOUBo/R+Q4wYmaAInyek2NXawAdTxwl9hMxOHwAm6pxBGzji4rzuHPIr5ZttKdNHwxXmzfg...
bf8340f7194dd3d26848651e13bdc363577f810d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/backend/zotero.py import requests ##### Zotero interface ##### def fetch_zotero_by_DOI(doi): """ Fetch Zotero metadata for a given DOI. Works only with the doi_cache proxy. """ try: request = requests.get('http://'+settings.DOI_PROXY_DOMAIN+'/zotero/'+doi) retu...
import requests ##### Zotero interface ##### def fetch_zotero_by_DOI(doi): """ Fetch Zotero metadata for a given DOI. Works only with the doi_cache proxy. """ try: request = requests.get('https://'+settings.DOI_PROXY_DOMAIN+'/zotero/'+doi) return request.json() except ValueErro...
<|file_sep|>original/backend/zotero.py import requests ##### Zotero interface ##### def fetch_zotero_by_DOI(doi): """ Fetch Zotero metadata for a given DOI. Works only with the doi_cache proxy. """ try: request = requests.get('http://'+settings.DOI_PROXY_DOMAIN+'/zotero/'+doi) retu...
c8376eddddd7bb61d4ae608e2fe0a0f333b0be84
backend/zotero.py
backend/zotero.py
Python
<|file_sep|>original/.zuul.yaml - job: name: ceilometermiddleware-integration parent: telemetry-dsvm-integration required-projects: - openstack/ceilometermiddleware - project: templates: - openstack-python3-ussuri-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 ...
- job: name: ceilometermiddleware-integration parent: telemetry-dsvm-integration required-projects: - openstack/ceilometermiddleware - project: templates: - openstack-python3-victoria-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: -...
<|file_sep|>original/.zuul.yaml - job: name: ceilometermiddleware-integration parent: telemetry-dsvm-integration required-projects: - openstack/ceilometermiddleware - project: templates: - openstack-python3-ussuri-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 ...
deacd8d7821cdee03fa9c86409c90e046e349acd
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>base/src/main/proto/spine/ui/language.proto.diff original: updated: // A human language. // // See https://github.com/SpineEventEngine/base/issues/2 <|file_sep|>base/src/main/proto/spine/ui/language.proto.diff original: updated: <|file_sep|>original/base/src/main/proto/spine/ui/language.proto * DATA, OR...
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ syntax = "proto3"; package spine.ui; import "spine/options.proto"; option (type_url_prefix) = "type.spine.io"; option java_multiple_files = true; option java_outer_clas...
<|file_sep|>base/src/main/proto/spine/ui/language.proto.diff original: updated: // A human language. // // See https://github.com/SpineEventEngine/base/issues/2 <|file_sep|>base/src/main/proto/spine/ui/language.proto.diff original: updated: <|file_sep|>original/base/src/main/proto/spine/ui/language.proto * DATA, OR...
130caa9b8824d1f5711ba8c40f979bc825df6727
base/src/main/proto/spine/ui/language.proto
base/src/main/proto/spine/ui/language.proto
Protocol Buffer
<|file_sep|>knowledge_repo/app/auth_providers/ldap.py.diff original: from ldap3 import Server, Connection, ALL updated: from ldap3 import Connection, Server, ALL <|file_sep|>original/knowledge_repo/app/auth_providers/ldap.py self.server = Server(self.app.config['LDAP_SERVER'], get_info=ALL) def prompt(self...
self.server = Server(self.app.config['LDAP_SERVER'], get_info=ALL) def prompt(self): return render_template(AUTH_LOGIN_FORM, skip_password=False) def authorize(self): user = self.get_user() if user is None: raise RuntimeError('No such user or invalid credentials') ...
<|file_sep|>knowledge_repo/app/auth_providers/ldap.py.diff original: from ldap3 import Server, Connection, ALL updated: from ldap3 import Connection, Server, ALL <|file_sep|>original/knowledge_repo/app/auth_providers/ldap.py self.server = Server(self.app.config['LDAP_SERVER'], get_info=ALL) def prompt(self...
bab5ed65fb9530b9cd3e9bfabc1e2632da31d106
knowledge_repo/app/auth_providers/ldap.py
knowledge_repo/app/auth_providers/ldap.py
Python
<|file_sep|>original/es6/index.js 'use strict'; module.exports = { extends: 'ryansobol/core', parser: 'babel-eslint', env: { es6: true, node: true }, ecmaFeatures: { modules: true }, rules: Object.assign( require('../rules/ecmascript-6'), { 'no-param-reassign': 0 } // because of de...
'use strict'; module.exports = { extends: 'ryansobol/core', parser: 'babel-eslint', env: { es6: true, node: true }, ecmaFeatures: { modules: true }, rules: require('../rules/ecmascript-6') };
<|file_sep|>original/es6/index.js 'use strict'; module.exports = { extends: 'ryansobol/core', parser: 'babel-eslint', env: { es6: true, node: true }, ecmaFeatures: { modules: true }, rules: Object.assign( require('../rules/ecmascript-6'), { 'no-param-reassign': 0 } // because of de...
4a32cada6221d91bc8a5405ac8b45c465556cee1
es6/index.js
es6/index.js
JavaScript
<|file_sep|>original/config/newrelic_plugin.yml # Please make sure to update the license_key information with the license key for your New Relic # account. # # newrelic: # # Update with your New Relic account license key: # license_key: '101010101010' #Set the polling cycle (unit in seconds) poll: 60 # ...
# Please make sure to update the license_key information with the license key for your New Relic # account. # # newrelic: # # Update with your New Relic account license key: # license_key: 'YOUR_LICENSE_KEY_HERE' #Set the polling cycle (unit in seconds) poll: 60 # # Set to '1' for verbose output, remov...
<|file_sep|>original/config/newrelic_plugin.yml # Please make sure to update the license_key information with the license key for your New Relic # account. # # newrelic: # # Update with your New Relic account license key: # license_key: '101010101010' #Set the polling cycle (unit in seconds) poll: 60 # ...
7d7eaa4f25a7f75af99a211b01727cd91db91aa6
config/newrelic_plugin.yml
config/newrelic_plugin.yml
YAML
<|file_sep|>original/axelor-human-resource/src/main/resources/domains/AppTimesheet.xml <?xml version="1.0" encoding="UTF-8"?> <domain-models xmlns="http://axelor.com/xml/ns/domain-models" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/...
<?xml version="1.0" encoding="UTF-8"?> <domain-models xmlns="http://axelor.com/xml/ns/domain-models" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.0.xsd"> <module name="base" package="com.axelor....
<|file_sep|>original/axelor-human-resource/src/main/resources/domains/AppTimesheet.xml <?xml version="1.0" encoding="UTF-8"?> <domain-models xmlns="http://axelor.com/xml/ns/domain-models" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/...
ae4b4eaa85bd7f177a3f6098aed4beb46a4b96da
axelor-human-resource/src/main/resources/domains/AppTimesheet.xml
axelor-human-resource/src/main/resources/domains/AppTimesheet.xml
XML
<|file_sep|>original/site/package.json { "name": "@skatejs/site", "private": true, "dependencies": { "@skatejs/renderer-lit-html": "0.2.0", "@skatejs/renderer-preact": "0.2.3", "@skatejs/renderer-react": "0.2.1", "@skatejs/sk-marked": "0.0.0", "@skatejs/sk-router": "0.2.0", "highlight.js":...
{ "name": "@skatejs/site", "private": true, "dependencies": { "@skatejs/renderer-lit-html": "0.2.0", "@skatejs/renderer-preact": "0.2.5", "@skatejs/renderer-react": "0.2.1", "@skatejs/sk-marked": "0.0.0", "@skatejs/sk-router": "0.2.0", "highlight.js": "9.12.0", "lit-html": "0.9.0", ...
<|file_sep|>original/site/package.json { "name": "@skatejs/site", "private": true, "dependencies": { "@skatejs/renderer-lit-html": "0.2.0", "@skatejs/renderer-preact": "0.2.3", "@skatejs/renderer-react": "0.2.1", "@skatejs/sk-marked": "0.0.0", "@skatejs/sk-router": "0.2.0", "highlight.js":...
559d4f9b151c2dd2b46ee11302edac78c1b4e32c
site/package.json
site/package.json
JSON
<|file_sep|>original/.travis.yml language: ruby sudo: false cache: bundler rvm: - 2.2.7 - 2.3.4 - 2.4.1 before_install: - gem update bundler env: matrix: - SPROCKETS_VERSION="~> 3.3.0" - SPROCKETS_VERSION="~> 3.7.0" - SPROCKETS_VERSION="~> 4.0.0.beta4" - EMBER_SOURCE_VERSION="~> 1.13" - EM...
language: ruby sudo: false cache: bundler rvm: - 2.2.8 - 2.3.5 - 2.4.2 before_install: - gem update bundler env: matrix: - SPROCKETS_VERSION="~> 3.3.0" - SPROCKETS_VERSION="~> 3.7.0" - SPROCKETS_VERSION="~> 4.0.0.beta4" - EMBER_SOURCE_VERSION="~> 1.13" - EMBER_SOURCE_VERSION="~> 2.6" -...
<|file_sep|>original/.travis.yml language: ruby sudo: false cache: bundler rvm: - 2.2.7 - 2.3.4 - 2.4.1 before_install: - gem update bundler env: matrix: - SPROCKETS_VERSION="~> 3.3.0" - SPROCKETS_VERSION="~> 3.7.0" - SPROCKETS_VERSION="~> 4.0.0.beta4" - EMBER_SOURCE_VERSION="~> 1.13" - EM...
848cf4ec492de41705fa478dd0a92abc369a1d9e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/kubernetes/guestbook/README.md # vitess/guestbook This is a Docker image for a sample guestbook app that uses Vitess. It is essentially a port of the [kubernetes/guestbook-go](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook-go) example, but using Python i...
# vitess/guestbook This is a Docker image for a sample guestbook app that uses Vitess. It is essentially a port of the [kubernetes/guestbook-go](https://github.com/kubernetes/examples/tree/master/guestbook-go) example, but using Python instead of Go for the app server, and Vitess instead of Redis for the storage engi...
<|file_sep|>original/examples/kubernetes/guestbook/README.md # vitess/guestbook This is a Docker image for a sample guestbook app that uses Vitess. It is essentially a port of the [kubernetes/guestbook-go](https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook-go) example, but using Python i...
2d0dbe576db4b96ac631b67d3c5aacd4f4926b4b
examples/kubernetes/guestbook/README.md
examples/kubernetes/guestbook/README.md
Markdown
<|file_sep|>original/doc/image-guide/source/create-images-manually.rst Creating a new image is a step done outside of your OpenStack installation. You create the new image manually on your own system and then upload the image to your cloud. To create a new image, you will need the installation CD or DVD ISO file for t...
To create a new image, you will need the installation CD or DVD ISO file for the guest operating system. You will also need access to a virtualization tool. You can use KVM for this. Or, if you have a GUI desktop virtualization tool (such as, VMware Fusion or VirtualBox), you can use that instead. Convert the file to r...
<|file_sep|>original/doc/image-guide/source/create-images-manually.rst Creating a new image is a step done outside of your OpenStack installation. You create the new image manually on your own system and then upload the image to your cloud. To create a new image, you will need the installation CD or DVD ISO file for t...
3576f44403abf4ba4f113841198c709dc5287017
doc/image-guide/source/create-images-manually.rst
doc/image-guide/source/create-images-manually.rst
reStructuredText
<|file_sep|>original/README.md ![Travis CI](https://travis-ci.org/dragonnodejs/skeleton.svg?branch=master "Travis CI") # DragonNodejs - Develop modular and testable Node.js applications - Separate configuration and implementation of modules - Allow to define configurations depends on the environment - Service containe...
[![Travis CI](https://travis-ci.org/dragonnodejs/skeleton.svg?branch=master "Travis CI")] (https://travis-ci.org/dragonnodejs/skeleton) # DragonNodejs - Develop modular and testable Node.js applications - Separate configuration and implementation of modules - Allow to define configurations depends on the environme...
<|file_sep|>original/README.md ![Travis CI](https://travis-ci.org/dragonnodejs/skeleton.svg?branch=master "Travis CI") # DragonNodejs - Develop modular and testable Node.js applications - Separate configuration and implementation of modules - Allow to define configurations depends on the environment - Service containe...
c1fc9bfa8537123768ef884a1698a5132d794d27
README.md
README.md
Markdown
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots // until the changes can be landed upstream. // TODO(podivilov): Remove on next roll. BUG_PODI...
// until the changes can be landed upstream. // TODO(podivilov): Remove on next roll. BUG_PODIVILOV MAC : svg/custom/clip-path-child-changes.svg = TEXT // TODO(ager): started crashing after the v8 roll of r52309. // http://crbug.com/49099 BUG_AGER LINUX DEBUG : fast/js/excessive-comma-usage.html = CRASH // Should pa...
<|file_sep|>original/webkit/tools/layout_tests/test_expectations.txt // src/third_party/WebKit/LayoutTests/platform/chromium/test_expectations.txt // // Only add expectations here to temporarily suppress messages on the bots // until the changes can be landed upstream. // TODO(podivilov): Remove on next roll. BUG_PODI...
113005d94578954221d469202c0eac44d3ca41ea
webkit/tools/layout_tests/test_expectations.txt
webkit/tools/layout_tests/test_expectations.txt
Text
<|file_sep|>original/core/js/oc-requesttoken.js $(document).on('ajaxSend',function(elm, xhr) { xhr.setRequestHeader('requesttoken', oc_requesttoken); }); <|file_sep|>current/core/js/oc-requesttoken.js $(document).on('ajaxSend',function(elm, xhr) { xhr.setRequestHeader('requesttoken', oc_requesttoken); }); <|file_sep|...
$(document).on('ajaxSend',function(elm, xhr) { xhr.setRequestHeader('requesttoken', oc_requesttoken); xhr.setRequestHeader('OCS-APIREQUEST', 'true'); });
<|file_sep|>original/core/js/oc-requesttoken.js $(document).on('ajaxSend',function(elm, xhr) { xhr.setRequestHeader('requesttoken', oc_requesttoken); }); <|file_sep|>current/core/js/oc-requesttoken.js $(document).on('ajaxSend',function(elm, xhr) { xhr.setRequestHeader('requesttoken', oc_requesttoken); }); <|file_sep|...
8c2aeb9b2143c30b4ad066dd3558161815c37312
core/js/oc-requesttoken.js
core/js/oc-requesttoken.js
JavaScript
<|file_sep|>file/validator/test/FileValidatorTest.sh.diff original: updated: testIsFilePathFile(){ ${assertTrue} $(FileValidator isFilePath _file) } @test testIsFilePathPath(){ ${assertTrue} $(FileValidator isFilePath _path) } @test <|file_sep|>original/file/validator/test/FileValidatorTest.sh ${assertNu...
testIsFilePathPath(){ ${assertTrue} $(FileValidator isFilePath _path) } @test testIsNotFile(){ ${assertNull} $(FileValidator isFile _path) } @test testIsNotFilePath(){ ${assertNull} $(FileValidator isFilePath @${path}) } @test testIsNotPath(){ TestUtil assertNotNull $(FileValidator isPath _file) }...
<|file_sep|>file/validator/test/FileValidatorTest.sh.diff original: updated: testIsFilePathFile(){ ${assertTrue} $(FileValidator isFilePath _file) } @test testIsFilePathPath(){ ${assertTrue} $(FileValidator isFilePath _path) } @test <|file_sep|>original/file/validator/test/FileValidatorTest.sh ${assertNu...
026fd9fa108207df82ad5da9a5041cc4cd40ee9d
file/validator/test/FileValidatorTest.sh
file/validator/test/FileValidatorTest.sh
Shell
<|file_sep|>original/samples/SupportAppNavigation/Android.mk LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := samples tests LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := SupportAppNavigation LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4 LOCAL_SDK_VERSION := cu...
LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := samples tests LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := SupportAppNavigation LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4 LOCAL_SDK_VERSION := current LOCAL_DEX_PREOPT := false include $(BUILD_PACKAGE) L...
<|file_sep|>original/samples/SupportAppNavigation/Android.mk LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := samples tests LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_PACKAGE_NAME := SupportAppNavigation LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4 LOCAL_SDK_VERSION := cu...
3b95592e3abae1b712a7a6c49ef19952f69565a3
samples/SupportAppNavigation/Android.mk
samples/SupportAppNavigation/Android.mk
Makefile
<|file_sep|>original/app/helpers/crud_helper.rb def td_delete(resource, options = {}) url = options[:url] || [:admin, resource] if options[:disabled] link = '' else anchor = raw('<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>') link = link_to anchor, url, method: :d...
def back_link(text, url) link_to raw('< &nbsp;&nbsp; ' + text), url, :class => 'btn btn-lg btn-default btn-back' end def page_header(title, &block) if block_given? block_text = capture(&block) else block_text = '' end html = '<div class="page-header">' html += "<h1>#{title}</...
<|file_sep|>original/app/helpers/crud_helper.rb def td_delete(resource, options = {}) url = options[:url] || [:admin, resource] if options[:disabled] link = '' else anchor = raw('<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>') link = link_to anchor, url, method: :d...
8dc73a57c8a8556ab34f01b972bc8f84fa79c36f
app/helpers/crud_helper.rb
app/helpers/crud_helper.rb
Ruby
<|file_sep|>original/validate.php require_once __DIR__ . '/vendor/autoload.php'; $config = include __DIR__ . '/validate/config.php'; $serviceManager = new ServiceManager(new Config($config['services'])); $return = 0; $videoValidator = $serviceManager->get(VideoValidator::class); $videoFiles =...
$videoValidator = $serviceManager->get(VideoValidator::class); $videoFiles = $serviceManager->get(VideoLoader::class)->getFiles(); foreach ($videoFiles as $file) { if (!$videoValidator->isValid($file)) { $return = 1; echo join(PHP_EOL, $videoValidator->getMessages()) . PHP_E...
<|file_sep|>original/validate.php require_once __DIR__ . '/vendor/autoload.php'; $config = include __DIR__ . '/validate/config.php'; $serviceManager = new ServiceManager(new Config($config['services'])); $return = 0; $videoValidator = $serviceManager->get(VideoValidator::class); $videoFiles =...
b1e6ac0eb389b3bd656bdc44892abae4911cde58
validate.php
validate.php
PHP
<|file_sep|>IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs.diff original: updated: public IJsonServiceConfiguration JsonServiceConfiguration { get; set; } public JsonServiceClientAdapter() { } <|file_sep|>original/IntegrationEngine.Core/ServiceStack/JsonServiceClient...
namespace IntegrationEngine.Core.ServiceStack { public class JsonServiceClientAdapter : JsonServiceClient, IJsonServiceClient { public IJsonServiceConfiguration JsonServiceConfiguration { get; set; } public JsonServiceClientAdapter() { } public JsonServiceClientAdapte...
<|file_sep|>IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs.diff original: updated: public IJsonServiceConfiguration JsonServiceConfiguration { get; set; } public JsonServiceClientAdapter() { } <|file_sep|>original/IntegrationEngine.Core/ServiceStack/JsonServiceClient...
e8288a5f6afe6cc365d0c9d49243bfd1f0abdf8e
IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs
IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs
C#
<|file_sep|>original/index.js return new ActiveXObject('Microsoft.XMLHTTP'); else if (window.XMLHttpRequest) return new XMLHttpRequest(); return null; }; module.exports = function(url, callback, postBody) { var xhr = newXHR(); if (!xhr) return; xhr.onreadystatechange = function() { if (xhr....
return new ActiveXObject('Microsoft.XMLHTTP'); else if (window.XMLHttpRequest) return new XMLHttpRequest(); return null; }; module.exports = function(url, callback, postBody) { var xhr = newXHR(); if (!xhr) throw new Error('No XMLHttpRequest object available.'); xhr.onreadystatechange = functio...
<|file_sep|>original/index.js return new ActiveXObject('Microsoft.XMLHTTP'); else if (window.XMLHttpRequest) return new XMLHttpRequest(); return null; }; module.exports = function(url, callback, postBody) { var xhr = newXHR(); if (!xhr) return; xhr.onreadystatechange = function() { if (xhr....
153423d41993fc2834ae40cd651cb8a637c406f6
index.js
index.js
JavaScript
<|file_sep|>original/spec/non_propagating_grid_spec.rb <|file_sep|>current/spec/non_propagating_grid_spec.rb <|file_sep|>updated/spec/non_propagating_grid_spec.rb
require 'spec_helper' describe Sudoku::NonPropagatingGrid do let(:grid) { Sudoku::NonPropagatingGrid.new } describe ".set" do it "doesn't propagate" do grid.set("A1", 1) grid.values["A1"].size.should eq(1) grid.values.all? {|key, value| key == "A1" || value.size == 9}.should be_true end ...
<|file_sep|>original/spec/non_propagating_grid_spec.rb <|file_sep|>current/spec/non_propagating_grid_spec.rb <|file_sep|>updated/spec/non_propagating_grid_spec.rb require 'spec_helper' describe Sudoku::NonPropagatingGrid do let(:grid) { Sudoku::NonPropagatingGrid.new } describe ".set" do it "doesn't propaga...
02d20575d1ddeb4f181adabfc9270d606458bfe1
spec/non_propagating_grid_spec.rb
spec/non_propagating_grid_spec.rb
Ruby
<|file_sep|>generators/reducer/templates/reducer.js.diff original: } updated: }; <|file_sep|>original/generators/reducer/templates/reducer.js const initialState = { /* Define your initial state here */ } const <%= reducerName %> = function (state = initialState, action) { var nextState = Object.assign({}, state); ...
const initialState = { /* Define your initial state here */ }; const <%= reducerName %> = function (state = initialState, action) { //var nextState = Object.assign({}, state); switch (action.type) { /* case 'YOUR_ACTION': { // Modify next state depending on the action and return it return ne...
<|file_sep|>generators/reducer/templates/reducer.js.diff original: } updated: }; <|file_sep|>original/generators/reducer/templates/reducer.js const initialState = { /* Define your initial state here */ } const <%= reducerName %> = function (state = initialState, action) { var nextState = Object.assign({}, state); ...
437fc2524f8da4cdf5cb95e99c2c37bc1301cccf
generators/reducer/templates/reducer.js
generators/reducer/templates/reducer.js
JavaScript
<|file_sep|>src/main/java/org/codeswarm/lipsum/AttributeRendererImpl.java.diff original: import java.util.HashMap; updated: import com.google.common.collect.Maps; <|file_sep|>original/src/main/java/org/codeswarm/lipsum/AttributeRendererImpl.java package org.codeswarm.lipsum; import java.util.HashMap; import java.util...
package org.codeswarm.lipsum; import com.google.common.collect.Maps; import java.util.Locale; import java.util.Map; class AttributeRendererImpl implements Lipsum.AttributeRenderer { private final Map<String, Lipsum.ParagraphGenerator> registeredLipsums = Maps.newHashMapWithExpectedSize(4); @Override publ...
<|file_sep|>src/main/java/org/codeswarm/lipsum/AttributeRendererImpl.java.diff original: import java.util.HashMap; updated: import com.google.common.collect.Maps; <|file_sep|>original/src/main/java/org/codeswarm/lipsum/AttributeRendererImpl.java package org.codeswarm.lipsum; import java.util.HashMap; import java.util...
9f9fee2d7997badbeb39c903c5f493a9f2857799
src/main/java/org/codeswarm/lipsum/AttributeRendererImpl.java
src/main/java/org/codeswarm/lipsum/AttributeRendererImpl.java
Java
<|file_sep|>original/gradle.properties gradleVersion = 2.3.0 supportLibVersion = 25.2.0 compileSdkVersion = android-25 buildToolsVersion = 25.0.1 minSdkVersion = 15 # Cannot target API 24+ until https://github.com/commons-app/apps-android-commons/issues/457 fixed targetSdkVersion = 23 android.useDeprecatedNdk=true ...
gradleVersion = 2.3.0 supportLibVersion = 25.2.0 compileSdkVersion = android-25 buildToolsVersion = 25.0.1 minSdkVersion = 15 targetSdkVersion = 25 android.useDeprecatedNdk=true # Library dependencies BUTTERKNIFE_VERSION=8.4.0 GUAVA_VERSION=19.0
<|file_sep|>original/gradle.properties gradleVersion = 2.3.0 supportLibVersion = 25.2.0 compileSdkVersion = android-25 buildToolsVersion = 25.0.1 minSdkVersion = 15 # Cannot target API 24+ until https://github.com/commons-app/apps-android-commons/issues/457 fixed targetSdkVersion = 23 android.useDeprecatedNdk=true ...
ffa47a76466f4a8b0d642ce11f2559010bce0da7
gradle.properties
gradle.properties
INI
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md
How to Contribute Code to ROOT ============================== Thank you for your interest in contributing to ROOT! We strongly welcome and appreciate such contributions! This short guide aims to provide hints and pointers to making the process as quick and painless as possible. ROOT Source Code ---------------- T...
<|file_sep|>original/CONTRIBUTING.md <|file_sep|>current/CONTRIBUTING.md <|file_sep|>updated/CONTRIBUTING.md How to Contribute Code to ROOT ============================== Thank you for your interest in contributing to ROOT! We strongly welcome and appreciate such contributions! This short guide aims to provide hi...
84fb1ae535a2e2fb2a0292461929ca4af4990745
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|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 coverage==4.4.2 Sphinx==1.6.5 cryptography==2.1.4 PyYAML==3.12 pytest==3.3.1 pytest-cov==2.5.1 coveralls==1.2.0 pytest-runner==3.0 numpy==1.13.3 pandas==0.21.0 <|file_sep|>current/requirements_...
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.2 Sphinx==1.6.5 cryptography==2.1.4 PyYAML==3.12 pytest==3.3.2 pytest-cov==2.5.1 coveralls==1.2.0 pytest-runner==3.0 numpy==1.13.3 pandas==0.21.0
<|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 coverage==4.4.2 Sphinx==1.6.5 cryptography==2.1.4 PyYAML==3.12 pytest==3.3.1 pytest-cov==2.5.1 coveralls==1.2.0 pytest-runner==3.0 numpy==1.13.3 pandas==0.21.0 <|file_sep|>current/requirements_...
dbaf8067c25d510500f50431971563e829ba8aec
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==1.9 PyYAML==3.12 pytest==3.1.3 numpy==1.12.1 scipy==0.19.1 scikit-learn==0.18.2 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5....
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.1 PyYAML==3.12 pytest==3.1.3 numpy==1.12.1 scipy==0.19.1 scikit-learn==0.18.2
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==1.9 PyYAML==3.12 pytest==3.1.3 numpy==1.12.1 scipy==0.19.1 scikit-learn==0.18.2 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5....
04bfcb2f4a8c74765bc03dd46535f46c20c6cf61
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/views/register.view.php <h1>This is a registration site.</h1> <|file_sep|>current/views/register.view.php <h1>This is a registration site.</h1> <|file_sep|>updated/views/register.view.php
<h1>This is a registration site.</h1> <form action="" method="post"> <ul> <li> <label for="username">Username: </label> <input name="username" type="text"> </li> <li> <label for="name">Name: </label> <input name="name" type="text"> </li> <li> <label for="email">Email: </label> <inp...
<|file_sep|>original/views/register.view.php <h1>This is a registration site.</h1> <|file_sep|>current/views/register.view.php <h1>This is a registration site.</h1> <|file_sep|>updated/views/register.view.php <h1>This is a registration site.</h1> <form action="" method="post"> <ul> <li> <label for="username">...
36ff2d522a0273f156d1d28d14f1ede311c598e0
views/register.view.php
views/register.view.php
PHP
<|file_sep|>original/ajax/libs/rainbow/package.json "version": "1.2.0", "description": "Rainbow is a code syntax highlighting library written in Javascript", "homepage": "http://craig.is/making/rainbows/", "keywords": [ "code", "syntax", "highlighting" ], "maintainers": [ { "name": "Cr...
{ "name": "Craig Campbell", "web": "http://craig.is/" } ], "repositories": [ { "type": "git", "url": "https://github.com/ccampbell/rainbow.git" } ], "autoupdate": { "source": "git", "target": "git://github.com/ccampbell/rainbow.git", "basePath": "", "files...
<|file_sep|>original/ajax/libs/rainbow/package.json "version": "1.2.0", "description": "Rainbow is a code syntax highlighting library written in Javascript", "homepage": "http://craig.is/making/rainbows/", "keywords": [ "code", "syntax", "highlighting" ], "maintainers": [ { "name": "Cr...
b2397d6e568ee3c61e9cab9891dfa6a48eb7da23
ajax/libs/rainbow/package.json
ajax/libs/rainbow/package.json
JSON
<|file_sep|>app/assets/stylesheets/_variables.css.scss.diff original: updated: <|file_sep|>app/assets/stylesheets/_variables.css.scss.diff original: $muted : #CCC; $primary : #3782BA; $success : #82C451; $danger : #FF5656; $warning : #FFB305; updated: $black: #333; $white: #FEFEFE; $gray: ...
$highlight : #FEA; $grey : $gray; $secondary : $success; $error : $danger; // Avatar $avatar-default-size: 45px; // Btn $btn-border-radius: 4px; // Column $column-border-width: 3px; $column-border-color: #e6e6e6;
<|file_sep|>app/assets/stylesheets/_variables.css.scss.diff original: updated: <|file_sep|>app/assets/stylesheets/_variables.css.scss.diff original: $muted : #CCC; $primary : #3782BA; $success : #82C451; $danger : #FF5656; $warning : #FFB305; updated: $black: #333; $white: #FEFEFE; $gray: ...
54777a8156873114c8d6a248bb8036463beb8cd4
app/assets/stylesheets/_variables.css.scss
app/assets/stylesheets/_variables.css.scss
SCSS
<|file_sep|>original/ideascube/conf/idb_jor_zaatari.py <|file_sep|>current/ideascube/conf/idb_jor_zaatari.py <|file_sep|>updated/ideascube/conf/idb_jor_zaatari.py
# -*- coding: utf-8 -*- """Ideaxbox for Zaatari, Jordan""" from .idb import * # noqa from django.utils.translation import ugettext_lazy as _ IDEASCUBE_NAME = u"Zaatari" IDEASCUBE_PLACE_NAME = _("city") COUNTRIES_FIRST = ['SY', 'JO'] TIME_ZONE = 'Asia/Amman' LANGUAGE_CODE = 'ar' LOAN_DURATION = 14 MONITORING_ENTRY_EXP...
<|file_sep|>original/ideascube/conf/idb_jor_zaatari.py <|file_sep|>current/ideascube/conf/idb_jor_zaatari.py <|file_sep|>updated/ideascube/conf/idb_jor_zaatari.py # -*- coding: utf-8 -*- """Ideaxbox for Zaatari, Jordan""" from .idb import * # noqa from django.utils.translation import ugettext_lazy as _ IDEASCUBE_NA...
9a80f30acc2b57c37726d765977ff471b0033e1a
ideascube/conf/idb_jor_zaatari.py
ideascube/conf/idb_jor_zaatari.py
Python
<|file_sep|>original/macosx/scripts/iTunes/it-rename.rb <|file_sep|>current/macosx/scripts/iTunes/it-rename.rb <|file_sep|>updated/macosx/scripts/iTunes/it-rename.rb
#!/usr/bin/env ruby ################################################################################ require('rubygems') require('appscript') require('ostruct') require('optparse') ################################################################################ class Rename ######################################...
<|file_sep|>original/macosx/scripts/iTunes/it-rename.rb <|file_sep|>current/macosx/scripts/iTunes/it-rename.rb <|file_sep|>updated/macosx/scripts/iTunes/it-rename.rb #!/usr/bin/env ruby ################################################################################ require('rubygems') require('appscript') require('...
1bc2015deaa96670f161d1508c14f2bc1593f8a5
macosx/scripts/iTunes/it-rename.rb
macosx/scripts/iTunes/it-rename.rb
Ruby
<|file_sep|>original/web/locales/udm/messages.ftl <|file_sep|>current/web/locales/udm/messages.ftl <|file_sep|>updated/web/locales/udm/messages.ftl
## General # Don't rename the following section, its contents are auto-inserted based on the name (see scripts/pontoon-languages-to-ftl.js) # [Languages] ## Languages mdf = Мокша # [/] ## Layout ## Home Page ## Account Benefits
<|file_sep|>original/web/locales/udm/messages.ftl <|file_sep|>current/web/locales/udm/messages.ftl <|file_sep|>updated/web/locales/udm/messages.ftl ## General # Don't rename the following section, its contents are auto-inserted based on the name (see scripts/pontoon-languages-to-ftl.js) # [Languages] ## Languages...
56966362da46e16723070281928b1d194bd9d3fc
web/locales/udm/messages.ftl
web/locales/udm/messages.ftl
FreeMarker
<|file_sep|>bower.json.diff original: "iron-icons": "PolymerElements/iron-icons", updated: <|file_sep|>original/bower.json "description": "Aspects for treating an array of data as list items, and showing the selected item as a string.", "version": "0.6.0-preview", "license": "MIT", "main": "basic-data-item...
"name": "basic-data-items", "description": "Aspects for treating an array of data as list items, and showing the selected item as a string.", "version": "0.6.0-preview", "license": "MIT", "main": "basic-data-items.html", "dependencies": { "basic-aspect": "basic-web-components/basic-aspect#master", "...
<|file_sep|>bower.json.diff original: "iron-icons": "PolymerElements/iron-icons", updated: <|file_sep|>original/bower.json "description": "Aspects for treating an array of data as list items, and showing the selected item as a string.", "version": "0.6.0-preview", "license": "MIT", "main": "basic-data-item...
0e1ef7c1b473cfcfd146d7b29b321bf7ad480fa2
bower.json
bower.json
JSON
<|file_sep|>metrics-clojure-core/src/metrics/counters.clj.diff original: `(def ~title (counter ~(str title)))) updated: `(def ~title (counter ~(str title)))) <|file_sep|>original/metrics-clojure-core/src/metrics/counters.clj " [title] (Metrics/newCounter (metric-name title))) (defmacro defcounter "De...
" [title] (Metrics/newCounter (metric-name title))) (defmacro defcounter "Define a new Counter metric with a given title, or group, type and title." ([title] `(def ~title (counter ~(str title)))) ([group type title] `(def ~title (counter ~(vec (map str [group type title])))))) ; Read -------------...
<|file_sep|>metrics-clojure-core/src/metrics/counters.clj.diff original: `(def ~title (counter ~(str title)))) updated: `(def ~title (counter ~(str title)))) <|file_sep|>original/metrics-clojure-core/src/metrics/counters.clj " [title] (Metrics/newCounter (metric-name title))) (defmacro defcounter "De...
0dc099814be5bfcce8b0ad77510051acfd05a245
metrics-clojure-core/src/metrics/counters.clj
metrics-clojure-core/src/metrics/counters.clj
Clojure
<|file_sep|>original/appveyor.yml build: on environment: GITHUB_TOKEN: secure: PTJuUJLTdJTgSCatNWHnVejoZdTkrYBMLBe6UM46LXMy/sxk+KCLD9J6URu5q0JG install: - ps: mkdir c:/Modules - ps: $env:PSModulePath += ";c:\Modules\" - ps: (new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") |...
build: on environment: GITHUB_TOKEN: secure: PTJuUJLTdJTgSCatNWHnVejoZdTkrYBMLBe6UM46LXMy/sxk+KCLD9J6URu5q0JG install: - ps: mkdir c:/Modules - ps: $env:PSModulePath += ";c:\Modules\" - ps: (new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex - ps: install-module pest...
<|file_sep|>original/appveyor.yml build: on environment: GITHUB_TOKEN: secure: PTJuUJLTdJTgSCatNWHnVejoZdTkrYBMLBe6UM46LXMy/sxk+KCLD9J6URu5q0JG install: - ps: mkdir c:/Modules - ps: $env:PSModulePath += ";c:\Modules\" - ps: (new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") |...
cafeb96e5cafb536b66cec859ae20dd3585040b5
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.4 flake8==3.9.2 tox==3.24.3 coverage==5.5 Sphinx==4.1.2 cryptography==3.4.7 PyYAML==5.4.1 <|file_sep|>current/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.4 flake8==3.9.2 tox==3.24.3 c...
pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.5 flake8==3.9.2 tox==3.24.3 coverage==5.5 Sphinx==4.1.2 cryptography==3.4.7 PyYAML==5.4.1
<|file_sep|>original/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.4 flake8==3.9.2 tox==3.24.3 coverage==5.5 Sphinx==4.1.2 cryptography==3.4.7 PyYAML==5.4.1 <|file_sep|>current/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.4 flake8==3.9.2 tox==3.24.3 c...
2f8bb12c76853cd036956bfbaea5382ddf099c5c
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.github/ISSUE_TEMPLATE/feature_request.yml name: Feature request description: Suggest a feature for one of our libraries. labels: [feature] body: - type: dropdown attributes: label: Core Library multiple: true options: - "MSAL.js v2 (@azure/msal-browser)" - "MSAL.js v1 (@...
name: Feature request description: Suggest a feature for one of our libraries. labels: [feature-unconfirmed, question] body: - type: dropdown attributes: label: Core Library multiple: true options: - "MSAL.js v2 (@azure/msal-browser)" - "MSAL.js v1 (@azure/msal or msal)" - "MSAL Node (@...
<|file_sep|>original/.github/ISSUE_TEMPLATE/feature_request.yml name: Feature request description: Suggest a feature for one of our libraries. labels: [feature] body: - type: dropdown attributes: label: Core Library multiple: true options: - "MSAL.js v2 (@azure/msal-browser)" - "MSAL.js v1 (@...
b2598659ff6bf00c8713b4b415340b743e148657
.github/ISSUE_TEMPLATE/feature_request.yml
.github/ISSUE_TEMPLATE/feature_request.yml
YAML
<|file_sep|>original/lib/app/views/submissions/encourage_nitpicker.erb <p>Things to keep in mind:</p> <ul> <li>What do you like about the code?</li> <li>How does the code make use of <%= language %>?</li> <li>Does the code make appropriate use of Object-Oriented or Functional principles?</li> <li>How readable i...
<p>Things to keep in mind:</p> <ul> <li>What do you like about the code?</li> <li>How does the code make use of <%= language %>?</li> <li>Does the code make appropriate use of Object-Oriented or Functional principles?</li> <li>How readable is the code? How well does it tell its story?</li> <li>What software d...
<|file_sep|>original/lib/app/views/submissions/encourage_nitpicker.erb <p>Things to keep in mind:</p> <ul> <li>What do you like about the code?</li> <li>How does the code make use of <%= language %>?</li> <li>Does the code make appropriate use of Object-Oriented or Functional principles?</li> <li>How readable i...
c651dbfa89db2e3beba9cd418dfbe001e76d9878
lib/app/views/submissions/encourage_nitpicker.erb
lib/app/views/submissions/encourage_nitpicker.erb
HTML+ERB
<|file_sep|>original/nvim/settings/plugin-yankring.vim let g:yankring_history_file = '.yankring-history' nnoremap <leader>yr :YRShow<CR> nnoremap <C-y> :YRShow<CR> <|file_sep|>current/nvim/settings/plugin-yankring.vim let g:yankring_history_file = '.yankring-history' nnoremap <leader>yr :YRShow<CR> nnoremap <C-y> :YRSh...
let g:yankring_history_file = '.yankring-history' nnoremap <leader>yr :YRShow<CR>
<|file_sep|>original/nvim/settings/plugin-yankring.vim let g:yankring_history_file = '.yankring-history' nnoremap <leader>yr :YRShow<CR> nnoremap <C-y> :YRShow<CR> <|file_sep|>current/nvim/settings/plugin-yankring.vim let g:yankring_history_file = '.yankring-history' nnoremap <leader>yr :YRShow<CR> nnoremap <C-y> :YRSh...
3171d9bbd3a724939ca93a3ea94f1b5f1629cd3a
nvim/settings/plugin-yankring.vim
nvim/settings/plugin-yankring.vim
VimL
<|file_sep|>original/modules/hdo/templates/nginx-files-vhost.conf.erb # # This file is managed by Puppet. Local edits will be lost. # server { listen 80; server_name <%= @server_name %>; root <%= @files_root %>; autoindex off; access_log /opt/nginx/logs/<%= @server_name %>.access.log combined...
# # This file is managed by Puppet. Local edits will be lost. # server { listen 80; server_name <%= @server_name %>; root <%= @files_root %>; autoindex off; charset utf-8; access_log /opt/nginx/logs/<%= @server_name %>.access.log combined; error_log /opt/nginx/logs/<%= @server_name ...
<|file_sep|>original/modules/hdo/templates/nginx-files-vhost.conf.erb # # This file is managed by Puppet. Local edits will be lost. # server { listen 80; server_name <%= @server_name %>; root <%= @files_root %>; autoindex off; access_log /opt/nginx/logs/<%= @server_name %>.access.log combined...
b23f704bd00d35982a95e7247162ed264685b6e8
modules/hdo/templates/nginx-files-vhost.conf.erb
modules/hdo/templates/nginx-files-vhost.conf.erb
HTML+ERB
<|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = # Soon, two versions, Django...
# Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = # Soon, two versions, Django 1.8 and 1.9: # py35-djan...
<|file_sep|>original/tox.ini # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] envlist = # Soon, two versions, Django...
4c0ee9d2f2b12d42c21cd9f1a02ccfb1524edf9b
tox.ini
tox.ini
INI
<|file_sep|>original/lib/pkgcloud/common/index.js <|file_sep|>current/lib/pkgcloud/common/index.js <|file_sep|>updated/lib/pkgcloud/common/index.js
/* * index.js: Top-level include for the pkgcloud common module. * * (C) 2011 Nodejitsu Inc. * */ exports.auth = require('./auth');
<|file_sep|>original/lib/pkgcloud/common/index.js <|file_sep|>current/lib/pkgcloud/common/index.js <|file_sep|>updated/lib/pkgcloud/common/index.js /* * index.js: Top-level include for the pkgcloud common module. * * (C) 2011 Nodejitsu Inc. * */ exports.auth = require('./auth');
75a380e2bf12b3ae84006cd2260ea9b6ae296794
lib/pkgcloud/common/index.js
lib/pkgcloud/common/index.js
JavaScript
<|file_sep|>original/app/views/admin/visualizations/track.html.erb <!DOCTYPE html> <html lang="en"> <body> <%= render 'shared/analytics', ua: Cartodb.config[:google_analytics]["embeds"] %> </body> </html> <|file_sep|>current/app/views/admin/visualizations/track.html.erb <!DOCTYPE html> <html lang="en"> <body>...
<!DOCTYPE html> <html lang="en"> <body> <%= render partial: 'shared/analytics', locals: { ua: Cartodb.config[:google_analytics]['embeds'], domain: Cartodb.config[:google_analytics]['domain'] } %> </html>
<|file_sep|>original/app/views/admin/visualizations/track.html.erb <!DOCTYPE html> <html lang="en"> <body> <%= render 'shared/analytics', ua: Cartodb.config[:google_analytics]["embeds"] %> </body> </html> <|file_sep|>current/app/views/admin/visualizations/track.html.erb <!DOCTYPE html> <html lang="en"> <body>...
cab149fe1f7cd523bb7064d6d374a8aaf377710b
app/views/admin/visualizations/track.html.erb
app/views/admin/visualizations/track.html.erb
HTML+ERB
<|file_sep|>original/README.md # gIRC-go This is an IRC library for Go, pretty similar to the [original Python version](https://github.com/DanielOaks/girc). This package is still in its early stages. An example bot that uses this package can be found [here](https://gist.github.com/DanielOaks/cbbc957e8dba39f59d9e). ...
# gIRC-go This is an IRC library for Go, pretty similar to the [original Python version](https://github.com/DanielOaks/girc). --- [![Build Status](https://travis-ci.org/DanielOaks/girc-go.svg?branch=master)](https://travis-ci.org/DanielOaks/girc-go) [![Coverage Status](https://coveralls.io/repos/DanielOaks/girc-go/b...
<|file_sep|>original/README.md # gIRC-go This is an IRC library for Go, pretty similar to the [original Python version](https://github.com/DanielOaks/girc). This package is still in its early stages. An example bot that uses this package can be found [here](https://gist.github.com/DanielOaks/cbbc957e8dba39f59d9e). ...
50d81c7e68bbb656ea068e9166e1ad41361b6bf2
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - '3.2' - '3.3' - '3.4' - '3.5' - '3.6' services: - redis-server - mongodb - docker before_install: - openssl aes-256-cbc -K $encrypted_ad8f1517fc45_key -iv $encrypted_ad8f1517fc45_iv -in .env.enc -out .env -d install: pip install -r requirements.txt # Run ser...
language: python python: - '3.2' - '3.3' - '3.4' - '3.5' - '3.6' services: - redis-server - mongodb - docker before_install: - openssl aes-256-cbc -K $encrypted_ad8f1517fc45_key -iv $encrypted_ad8f1517fc45_iv -in .env.enc -out .env -d install: pip install -r requirements.txt # Run server only for 50 seconds, some tim...
<|file_sep|>original/.travis.yml language: python python: - '3.2' - '3.3' - '3.4' - '3.5' - '3.6' services: - redis-server - mongodb - docker before_install: - openssl aes-256-cbc -K $encrypted_ad8f1517fc45_key -iv $encrypted_ad8f1517fc45_iv -in .env.enc -out .env -d install: pip install -r requirements.txt # Run ser...
e55c513301bf01fc9f313ea4774f735aa33ca98b
.travis.yml
.travis.yml
YAML
<|file_sep|>Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml.diff original: return; updated: return; <|file_sep|>original/Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml @model Vehicle @switch(Model.Status) { case Vehicle.VehicleStatus.FMC: ...
@model Vehicle @switch(Model.Status) { case Vehicle.VehicleStatus.FMC: <span class="label label-success">FMC</span> return; case Vehicle.VehicleStatus.NMC: <span class="label label-danger">NMC</span> return; case Vehicle.VehicleStatus.Unknown: <span class="...
<|file_sep|>Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml.diff original: return; updated: return; <|file_sep|>original/Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml @model Vehicle @switch(Model.Status) { case Vehicle.VehicleStatus.FMC: ...
77d7af42199bba5ba7eb7417d30fd4440d83628d
Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml
Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml
C#
<|file_sep|>original/roles/ucl.rb :zone => "ucl", :inet => { :prefix => "24", :gateway => "193.60.236.254" } } } }, :sysctl => { :blackhole => { :comment => "Force TCP level MTU probing because of known ICMP blackhole at UCL", :parameters => { ...
:zone => "ucl", :inet => { :prefix => "24", :gateway => "193.60.236.254" } } } } ) override_attributes( :networking => { :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"], :search => ["ucl.openstreetmap.org", "openstreetmap.org"] }, :ntp => { :...
<|file_sep|>original/roles/ucl.rb :zone => "ucl", :inet => { :prefix => "24", :gateway => "193.60.236.254" } } } }, :sysctl => { :blackhole => { :comment => "Force TCP level MTU probing because of known ICMP blackhole at UCL", :parameters => { ...
58f0e499a286b174a23cc463f3c7e9621f578560
roles/ucl.rb
roles/ucl.rb
Ruby
<|file_sep|>spec/javascripts/behaviors/autosize_spec.js.diff original: /* eslint-disable space-before-function-paren, no-var, comma-dangle, no-return-assign, max-len */ updated: <|file_sep|>spec/javascripts/behaviors/autosize_spec.js.diff original: (function() { describe('Autosize behavior', function() { var lo...
import '~/behaviors/autosize'; function load() { $(document).trigger('load'); } describe('Autosize behavior', () => { beforeEach(() => { setFixtures('<textarea class="js-autosize" style="resize: vertical"></textarea>'); }); it('does not overwrite the resize property', () => { load(); expect($('te...
<|file_sep|>spec/javascripts/behaviors/autosize_spec.js.diff original: /* eslint-disable space-before-function-paren, no-var, comma-dangle, no-return-assign, max-len */ updated: <|file_sep|>spec/javascripts/behaviors/autosize_spec.js.diff original: (function() { describe('Autosize behavior', function() { var lo...
cd9c75960c99ece71cadd691eb0297850e623a47
spec/javascripts/behaviors/autosize_spec.js
spec/javascripts/behaviors/autosize_spec.js
JavaScript
<|file_sep|>.travis.yml.diff original: language: go go: 1.6 updated: language: java jdk: oraclejdk8 before_install: GIMME_OUTPUT=$(gimme 1.6) && eval "$GIMME_OUTPUT" <|file_sep|>original/.travis.yml language: go go: 1.6 install: make get-deps script: - make go - make test - make test-integration <|file_sep|>curre...
language: java jdk: oraclejdk8 before_install: GIMME_OUTPUT=$(gimme 1.6) && eval "$GIMME_OUTPUT" install: make get-deps script: - make go - make test - make test-integration - make java - make test-java
<|file_sep|>.travis.yml.diff original: language: go go: 1.6 updated: language: java jdk: oraclejdk8 before_install: GIMME_OUTPUT=$(gimme 1.6) && eval "$GIMME_OUTPUT" <|file_sep|>original/.travis.yml language: go go: 1.6 install: make get-deps script: - make go - make test - make test-integration <|file_sep|>curre...
fb9e07f755113f5f366d716a0e140d9ac1773bdc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt Django==1.11.13 django-bootstrap4==0.0.6 django-stronghold==0.3.0 Jinja2==2.9.5 MarkupSafe==0.23 psycopg2==2.7.4 psycopg2-binary==2.7.4 pytz==2018.4 <|file_sep|>current/requirements.txt Django==1.11.13 django-bootstrap4==0.0.6 django-stronghold==0.3.0 Jinja2==2.9.5 MarkupSafe==0.23...
Django==1.11.13 django-bootstrap4==0.0.6 django-stronghold==0.3.0 djangorestframework==3.8.2 Jinja2==2.9.5 MarkupSafe==0.23 psycopg2==2.7.4 psycopg2-binary==2.7.4 pytz==2018.4
<|file_sep|>original/requirements.txt Django==1.11.13 django-bootstrap4==0.0.6 django-stronghold==0.3.0 Jinja2==2.9.5 MarkupSafe==0.23 psycopg2==2.7.4 psycopg2-binary==2.7.4 pytz==2018.4 <|file_sep|>current/requirements.txt Django==1.11.13 django-bootstrap4==0.0.6 django-stronghold==0.3.0 Jinja2==2.9.5 MarkupSafe==0.23...
e5846d0a59567ac6e4c47ecc15fc263b9ad76cf2
requirements.txt
requirements.txt
Text
<|file_sep|>original/DropboxApps.txt WebEx Alcohol 52% Amazon MP3 Amazon MP3 Uploader Digital Editions Parallels Neat Neat Data Colloquy/Transcripts Colloquy Transcripts Sametime/Transcripts SametimeTranscripts Amazon Downloader/Logs Amazon Downloader Logs Burn/Temporary.localized Burn Temporary.localized Curse Client ...
WebEx Alcohol 52% Amazon MP3 Amazon MP3 Uploader Digital Editions Parallels Neat Neat Data Colloquy/Transcripts Colloquy Transcripts Sametime/Transcripts SametimeTranscripts Amazon Downloader/Logs Amazon Downloader Logs Burn/Temporary.localized Burn Temporary.localized Curse Client My Curse/Curse Client Reader My Books...
<|file_sep|>original/DropboxApps.txt WebEx Alcohol 52% Amazon MP3 Amazon MP3 Uploader Digital Editions Parallels Neat Neat Data Colloquy/Transcripts Colloquy Transcripts Sametime/Transcripts SametimeTranscripts Amazon Downloader/Logs Amazon Downloader Logs Burn/Temporary.localized Burn Temporary.localized Curse Client ...
713d2843a827215c83b0b64484068d8bc3ba7b4b
DropboxApps.txt
DropboxApps.txt
Text
<|file_sep|>original/.travis.yml language: python python: - "3.3" - "2.7" - "2.6" install: - "pip install -r test_requirements.txt" - "python setup.py install" script: - python setup.py test - behave <|file_sep|>current/.travis.yml language: python python: - "3.3" - "2.7" - "2.6" install: - "pip i...
language: python python: - "3.3" - "2.7" - "2.6" install: - "pip install -r test_requirements.txt" - "python setup.py install" script: - "python setup.py test" - "behave -s"
<|file_sep|>original/.travis.yml language: python python: - "3.3" - "2.7" - "2.6" install: - "pip install -r test_requirements.txt" - "python setup.py install" script: - python setup.py test - behave <|file_sep|>current/.travis.yml language: python python: - "3.3" - "2.7" - "2.6" install: - "pip i...
e0ad711c8f80ea2f825383f71792f12bbb5bf4b1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt
Copyright (c) 2012 Russell Heilling 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, distribute, s...
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt Copyright (c) 2012 Russell Heilling 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 restr...
65f0de4615873999d0b9e04f1e9f86b2b66c92ec
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>src/FragmentShader.glsl.diff original: bool lightsEnabled = u_FlatShading < 1.0 && (u_LightColor.r > 0.0 || u_LightColor.g > 0.0 || u_LightColor.b > 0.0); vec3 color = lightsEnabled ? applyLight(material) : material; updated: bool flatShading = u_FlatShading > 0.0; bool lights = length(u_Lig...
#pragma glslify: applyMaterial = require(./chunks/applyMaterial) #pragma glslify: applyLight = require(./chunks/applyLight) void main() { vec3 material = baseColor.r >= 0.0 ? baseColor : applyMaterial(baseColor); bool flatShading = u_FlatShading > 0.0; bool lights = length(u_LightColor) > 0.0; vec3 co...
<|file_sep|>src/FragmentShader.glsl.diff original: bool lightsEnabled = u_FlatShading < 1.0 && (u_LightColor.r > 0.0 || u_LightColor.g > 0.0 || u_LightColor.b > 0.0); vec3 color = lightsEnabled ? applyLight(material) : material; updated: bool flatShading = u_FlatShading > 0.0; bool lights = length(u_Lig...
04539df205ca38dda5b46a1d97c1d35bc8e2ad8a
src/FragmentShader.glsl
src/FragmentShader.glsl
GLSL
<|file_sep|>.travis.yml.diff original: - "6" updated: - "8" - "10" <|file_sep|>original/.travis.yml language: node_js node_js: - "6" before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 script: - yarn test cache: yarn <|file_sep|>current/.travis.yml language: node_js node_js: -...
language: node_js node_js: - "8" - "10" before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 script: - npm test
<|file_sep|>.travis.yml.diff original: - "6" updated: - "8" - "10" <|file_sep|>original/.travis.yml language: node_js node_js: - "6" before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 script: - yarn test cache: yarn <|file_sep|>current/.travis.yml language: node_js node_js: -...
aca7c1edc92d9a5f7f6ecdbc8fcb04c8d9d0d9b6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt Scrapy==1.5.0 bleach==2.1.3 pytest==3.6.2 pytest-cov==2.5.1 python-dateutil==2.7.3 git+https://github.com/multiplechoice/sqlalchemy-mappings.git@60a36c59ff7700b2975122874411f73f7a4041bc <|file_sep|>current/requirements.txt Scrapy==1.5.0 bleach==2.1.3 pytest==3.6.2 pytest-cov==2.5.1...
Scrapy==1.5.0 bleach==2.1.3 pytest==3.6.3 pytest-cov==2.5.1 python-dateutil==2.7.3 git+https://github.com/multiplechoice/sqlalchemy-mappings.git@60a36c59ff7700b2975122874411f73f7a4041bc
<|file_sep|>original/requirements.txt Scrapy==1.5.0 bleach==2.1.3 pytest==3.6.2 pytest-cov==2.5.1 python-dateutil==2.7.3 git+https://github.com/multiplechoice/sqlalchemy-mappings.git@60a36c59ff7700b2975122874411f73f7a4041bc <|file_sep|>current/requirements.txt Scrapy==1.5.0 bleach==2.1.3 pytest==3.6.2 pytest-cov==2.5.1...
79094f2bbdecdb83fba48c45869196b112c9fb41
requirements.txt
requirements.txt
Text
<|file_sep|>original/CONTRIBUTORS.md <|file_sep|>current/CONTRIBUTORS.md <|file_sep|>updated/CONTRIBUTORS.md
# Контрибьюторам Список контрибьютеров данного проекта доступен по ссылке https://github.com/bem-site/builder-core/graphs/contributors. Вы так же можете получить его с помощью команды `git log --pretty=format:"%an <%ae>" | sort -u`.
<|file_sep|>original/CONTRIBUTORS.md <|file_sep|>current/CONTRIBUTORS.md <|file_sep|>updated/CONTRIBUTORS.md # Контрибьюторам Список контрибьютеров данного проекта доступен по ссылке https://github.com/bem-site/builder-core/graphs/contributors. Вы так же можете получить его с помощью команды `git log --pretty=format...
19a2af89c36df9f996cd3ecf101a0c4bb1a0753f
CONTRIBUTORS.md
CONTRIBUTORS.md
Markdown
<|file_sep|>original/customize/modify_rootfs.sh echo "[CHROOT] $*" } function update_locales() { locale-gen en_US.UTF-8 update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX } function lvm_initramfs_hook() { LVM_INITRAMFS_HOOK=/usr/share/initramfs-tools/scripts/local-top/lvm2 sed 's/lvchange_activate() {/vgchang...
echo "[CHROOT] $*" } function update_locales() { locale-gen en_US.UTF-8 update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX } function lvm_initramfs_hook() { LVM_INITRAMFS_HOOK=/usr/share/initramfs-tools/scripts/local-top/lvm2 sed 's/lvchange_activate() {/vgchange -ay\n\nlvchange_activate() {/' $LVM_INITRAMFS_...
<|file_sep|>original/customize/modify_rootfs.sh echo "[CHROOT] $*" } function update_locales() { locale-gen en_US.UTF-8 update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX } function lvm_initramfs_hook() { LVM_INITRAMFS_HOOK=/usr/share/initramfs-tools/scripts/local-top/lvm2 sed 's/lvchange_activate() {/vgchang...
bad51a644c20466048cc48a0d8d77e3d53d84367
customize/modify_rootfs.sh
customize/modify_rootfs.sh
Shell
<|file_sep|>original/src/Native/Now.js Elm.Native.Now = {}; Elm.Native.Now.make = function(localRuntime) { localRuntime.Native = localRuntime.Native || {}; localRuntime.Native.Now = localRuntime.Native.Now || {}; if (localRuntime.Native.Now.values) { return localRuntime.Native.Now.values; } var Resu...
Elm.Native.Now = {}; Elm.Native.Now.make = function(localRuntime) { localRuntime.Native = localRuntime.Native || {}; localRuntime.Native.Now = localRuntime.Native.Now || {}; if (localRuntime.Native.Now.values) { return localRuntime.Native.Now.values; } var Result = Elm.Result.make(localRuntime); ...
<|file_sep|>original/src/Native/Now.js Elm.Native.Now = {}; Elm.Native.Now.make = function(localRuntime) { localRuntime.Native = localRuntime.Native || {}; localRuntime.Native.Now = localRuntime.Native.Now || {}; if (localRuntime.Native.Now.values) { return localRuntime.Native.Now.values; } var Resu...
ce1c9f69ab4aec5e1d2a1c15faaeb0a00a954f04
src/Native/Now.js
src/Native/Now.js
JavaScript
<|file_sep|>original/samples/http2/simple_server.py <|file_sep|>current/samples/http2/simple_server.py <|file_sep|>updated/samples/http2/simple_server.py
"""A simple HTTP/2 file server.""" import asyncio import logging import sys from concurrent.futures.thread import ThreadPoolExecutor import os.path import urllib.parse from http import HTTPStatus from http2 import HttpError, Protocol LOG = logging.getLogger(__name__) class Handler: def __init__(self, root_p...
<|file_sep|>original/samples/http2/simple_server.py <|file_sep|>current/samples/http2/simple_server.py <|file_sep|>updated/samples/http2/simple_server.py """A simple HTTP/2 file server.""" import asyncio import logging import sys from concurrent.futures.thread import ThreadPoolExecutor import os.path import urllib....
31a453c2fe3a668f4c826a2b5bced7ee50f58f2e
samples/http2/simple_server.py
samples/http2/simple_server.py
Python
<|file_sep|>tox.ini.diff original: py.test --pylama pylama py.test test_pylama.py -s updated: py.test --pylama pylama {posargs} py.test test_pylama.py -s {posargs} <|file_sep|>original/tox.ini envlist = py27,py35,cov [pytest] addopts = -s norecursedirs = * [testenv] commands= py.test --pylama pyla...
envlist = py27,py35,cov [pytest] addopts = -s norecursedirs = * [testenv] commands= py.test --pylama pylama {posargs} py.test test_pylama.py -s {posargs} deps = pytest -rrequirements.txt [testenv:cov] deps = coverage {[testenv]deps} commands = coverage run --source pylama -m py.test test_...
<|file_sep|>tox.ini.diff original: py.test --pylama pylama py.test test_pylama.py -s updated: py.test --pylama pylama {posargs} py.test test_pylama.py -s {posargs} <|file_sep|>original/tox.ini envlist = py27,py35,cov [pytest] addopts = -s norecursedirs = * [testenv] commands= py.test --pylama pyla...
3a58cb8c96d59f07e6a658af691ac889f167a549
tox.ini
tox.ini
INI
<|file_sep|>original/test/config.testConnectionStrings.json [ { "title" : "Sqlite3", "connectionString" : "DRIVER={SQLite3};DATABASE=data/sqlite-test.db" } , { "title" : "MySQL-Local", "connectionString" : "DRIVER={MySQL};DATABASE=test;HOST=localhost;USER=test;" } , { "title" : "MSSQL-FreeTDS-Remote", "connectionStr...
[ { "title" : "Sqlite3", "connectionString" : "DRIVER={SQLite3};DATABASE=data/sqlite-test.db" } , { "title" : "MySQL-Local", "connectionString" : "DRIVER={MySQL};DATABASE=test;HOST=localhost;USER=test;" } , { "title" : "MSSQL-FreeTDS-Remote", "connectionString" : "DRIVER={FreeTDS};SERVERNAME=sql2;DATABASE=test;UID=t...
<|file_sep|>original/test/config.testConnectionStrings.json [ { "title" : "Sqlite3", "connectionString" : "DRIVER={SQLite3};DATABASE=data/sqlite-test.db" } , { "title" : "MySQL-Local", "connectionString" : "DRIVER={MySQL};DATABASE=test;HOST=localhost;USER=test;" } , { "title" : "MSSQL-FreeTDS-Remote", "connectionStr...
17331a1524dc8147f738f7df19f26dc270d77796
test/config.testConnectionStrings.json
test/config.testConnectionStrings.json
JSON
<|file_sep|>original/powerline/segments/shell.py # -*- coding: utf-8 -*- from powerline.theme import requires_segment_info @requires_segment_info def last_status(segment_info): '''Return last exit code.''' return str(segment_info.last_exit_code) if segment_info.last_exit_code else None @requires_segment_info def...
# -*- coding: utf-8 -*- from powerline.theme import requires_segment_info @requires_segment_info def last_status(segment_info): '''Return last exit code.''' if not segment_info.last_exit_code: return None return [{'contents': str(segment_info.last_exit_code), 'highlight_group': 'exit_fail'}] @requires_segment...
<|file_sep|>original/powerline/segments/shell.py # -*- coding: utf-8 -*- from powerline.theme import requires_segment_info @requires_segment_info def last_status(segment_info): '''Return last exit code.''' return str(segment_info.last_exit_code) if segment_info.last_exit_code else None @requires_segment_info def...
16a5b7897a76c9a53e60d78baf7fb94fcc59b220
powerline/segments/shell.py
powerline/segments/shell.py
Python
<|file_sep|>app/controllers/registrations_controller.rb.diff original: def new super end updated: <|file_sep|>original/app/controllers/registrations_controller.rb class RegistrationsController < Devise::RegistrationsController def new super end def create if params[:user][:role].present? && cu...
class RegistrationsController < Devise::RegistrationsController def create if params[:user][:role].present? && current_user.role?(:superadmin) # all is well else params[:user][:role] = "editor" end super end end
<|file_sep|>app/controllers/registrations_controller.rb.diff original: def new super end updated: <|file_sep|>original/app/controllers/registrations_controller.rb class RegistrationsController < Devise::RegistrationsController def new super end def create if params[:user][:role].present? && cu...
5e5bc9291d181cad46a1465a69ff40e8d7da0351
app/controllers/registrations_controller.rb
app/controllers/registrations_controller.rb
Ruby
<|file_sep|>original/pajbot/modules/linefarming.py NAME = "Line Farming" DESCRIPTION = "Keep track on the amount of lines users type in chat" ENABLED_DEFAULT = True CATEGORY = "Feature" SETTINGS = [ ModuleSetting( key="count_offline", label="Count lines in offline chat", type="bo...
ID = __name__.split(".")[-1] NAME = "Line Farming" DESCRIPTION = "Keep track on the amount of lines users type in chat" ENABLED_DEFAULT = True CATEGORY = "Feature" SETTINGS = [ ModuleSetting( key="count_offline", label="Count lines in offline chat", type="boolean", required=...
<|file_sep|>original/pajbot/modules/linefarming.py NAME = "Line Farming" DESCRIPTION = "Keep track on the amount of lines users type in chat" ENABLED_DEFAULT = True CATEGORY = "Feature" SETTINGS = [ ModuleSetting( key="count_offline", label="Count lines in offline chat", type="bo...
25ea87b810d717690679613251fbc262f11c021f
pajbot/modules/linefarming.py
pajbot/modules/linefarming.py
Python
<|file_sep|>src/Common/Doctrine/Entity/CreateSchema.php.diff original: updated: use Doctrine\ORM\Tools\ToolsException; <|file_sep|>src/Common/Doctrine/Entity/CreateSchema.php.diff original: updated: * * @throws ToolsException <|file_sep|>original/src/Common/Doctrine/Entity/CreateSchema.php * Adds new d...
$schemaTool = new SchemaTool($this->entityManager); try { $schemaTool->createSchema( array_map( [$this->entityManager, 'getClassMetadata'], $entityClasses ) ); } catch (TableExistsException $tableExi...
<|file_sep|>src/Common/Doctrine/Entity/CreateSchema.php.diff original: updated: use Doctrine\ORM\Tools\ToolsException; <|file_sep|>src/Common/Doctrine/Entity/CreateSchema.php.diff original: updated: * * @throws ToolsException <|file_sep|>original/src/Common/Doctrine/Entity/CreateSchema.php * Adds new d...
b0c4a60980cd25199a595c98e69c42ab1c1ae456
src/Common/Doctrine/Entity/CreateSchema.php
src/Common/Doctrine/Entity/CreateSchema.php
PHP
<|file_sep|>original/app/templates/_service_attributes.html {% import "toolkit/summary-table.html" as summary %} {% for section in service.summary_manifest %} {% if not section.is_empty %} <div class="scroll-tracking" id="{{ service.lot.slug }}-{{ section.slug }}"> {{ summary.heading(section.name, id=secti...
{% import "toolkit/summary-table.html" as summary %} {% for section in service.summary_manifest %} {% if not section.is_empty %} <div class="scroll-tracking" id="{{ loop.index }}-{{ section.slug }}"> {{ summary.heading(section.name, id=section.slug) }} {% call(question) summary.list_table( s...
<|file_sep|>original/app/templates/_service_attributes.html {% import "toolkit/summary-table.html" as summary %} {% for section in service.summary_manifest %} {% if not section.is_empty %} <div class="scroll-tracking" id="{{ service.lot.slug }}-{{ section.slug }}"> {{ summary.heading(section.name, id=secti...
ff64e1b5569bf8120c3548b09696b7376ec4c84c
app/templates/_service_attributes.html
app/templates/_service_attributes.html
HTML
<|file_sep|>original/_posts/2014-02-20-trident-+-carga-por-+-tempo.markdown --- layout: default modal-id: 4 date: 2014-02-20 img: trident-carga-tempo.jpg alt: image-alt project-date: Fevereiro 2014 client: Aurora.ag client-url: http://www.aurora.ag category: Mobile Development description: --- <|file_sep|>current/_pos...
--- layout: default modal-id: 4 date: 2014-02-20 img: trident-carga-tempo.jpg alt: image-alt project-date: Fevereiro 2014 client: Aurora.ag client-url: http://www.aurora.ag category: Mobile Development description: Projeto foi desenvolvido para uma ação da Trident no Camarote Oficial do Galo da Madrugada. Onde os usuár...
<|file_sep|>original/_posts/2014-02-20-trident-+-carga-por-+-tempo.markdown --- layout: default modal-id: 4 date: 2014-02-20 img: trident-carga-tempo.jpg alt: image-alt project-date: Fevereiro 2014 client: Aurora.ag client-url: http://www.aurora.ag category: Mobile Development description: --- <|file_sep|>current/_pos...
2590856d56491d34388281f77f140d932d50202c
_posts/2014-02-20-trident-+-carga-por-+-tempo.markdown
_posts/2014-02-20-trident-+-carga-por-+-tempo.markdown
Markdown
<|file_sep|>original/lib/Parameter.js if (defaultValue) { this.node.Default = defaultValue; } _.extend(this.node, options); return this; } Parameter.prototype.ref = function () { return { 'Ref': this.id }; }; Parameter.prototype.minLength = function (min) { this.node.MinLength = min + ...
Parameter.prototype.ref = function () { return { 'Ref': this.id }; }; Parameter.prototype.minLength = function (min) { this.node.MinLength = min + ''; }; Parameter.prototype.maxLength = function (max) { this.node.MaxLength = max + ''; }; Parameter.prototype.allowedValues = function (values) { if (!(v...
<|file_sep|>original/lib/Parameter.js if (defaultValue) { this.node.Default = defaultValue; } _.extend(this.node, options); return this; } Parameter.prototype.ref = function () { return { 'Ref': this.id }; }; Parameter.prototype.minLength = function (min) { this.node.MinLength = min + ...
d735ae9cca196295c67afaed2638dce54cebfb19
lib/Parameter.js
lib/Parameter.js
JavaScript
<|file_sep|>original/.istanbul.yml instrumentation: root: src include-all-sources: true excludes: [ 'server/main.js', 'server/config.js', 'server/mainCss.js', 'server/mainServer.js', 'server/middleware/dev.js', 'web/main.jsx', 'web/store.js', 'web/sagas/index.js', 'web/forms/in...
instrumentation: root: src include-all-sources: true excludes: [ 'server/index.js', 'server/main.js', 'server/config.js', 'server/mainCss.js', 'server/mainServer.js', 'server/middleware/dev.js', 'web/main.jsx', 'web/store.js', 'web/sagas/index.js', 'web/forms/index.js', ]...
<|file_sep|>original/.istanbul.yml instrumentation: root: src include-all-sources: true excludes: [ 'server/main.js', 'server/config.js', 'server/mainCss.js', 'server/mainServer.js', 'server/middleware/dev.js', 'web/main.jsx', 'web/store.js', 'web/sagas/index.js', 'web/forms/in...
c4776af1dc970ea875ce08808c18a391047ca827
.istanbul.yml
.istanbul.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: dist: bionic <|file_sep|>.travis.yml.diff original: - sudo add-apt-repository -y ppa:maxmind/ppa updated: <|file_sep|>original/.travis.yml - clang - gcc before_install: - sudo add-apt-repository -y ppa:maxmind/ppa - sudo apt-get -qq update - sudo apt-get i...
compiler: - clang - gcc before_install: - sudo apt-get -qq update - sudo apt-get install -y libmaxminddb-dev libssl-dev - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- - git clone https://git.kore.io/kore.g...
<|file_sep|>.travis.yml.diff original: updated: dist: bionic <|file_sep|>.travis.yml.diff original: - sudo add-apt-repository -y ppa:maxmind/ppa updated: <|file_sep|>original/.travis.yml - clang - gcc before_install: - sudo add-apt-repository -y ppa:maxmind/ppa - sudo apt-get -qq update - sudo apt-get i...
77fa8764cd98e5587c519a1b8329f3ab94911776
.travis.yml
.travis.yml
YAML
<|file_sep|>original/recipes/ttf-fonts/ttf-arphic-uming_20080216.bb DESCRIPTION = "Unicode Mingti (printed) TrueType Font" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" LICENSE = "${PN}" SRC_DISTRIBUTE_LICENSES += "${PN}" RPROVIDES_${PN} = "virtual-chinese-font" PR = "r2" SRC_URI = \ "http://archiv...
DESCRIPTION = "Unicode Mingti (printed) TrueType Font" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" LICENSE = "${PN}" SRC_DISTRIBUTE_LICENSES += "${PN}" RPROVIDES_${PN} = "virtual-chinese-font" PR = "r2" SRC_URI = \ "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0....
<|file_sep|>original/recipes/ttf-fonts/ttf-arphic-uming_20080216.bb DESCRIPTION = "Unicode Mingti (printed) TrueType Font" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" LICENSE = "${PN}" SRC_DISTRIBUTE_LICENSES += "${PN}" RPROVIDES_${PN} = "virtual-chinese-font" PR = "r2" SRC_URI = \ "http://archiv...
1f7fe5429cc9ea4df54715ddef8ade505c35324f
recipes/ttf-fonts/ttf-arphic-uming_20080216.bb
recipes/ttf-fonts/ttf-arphic-uming_20080216.bb
BitBake
<|file_sep|>original/gulpfile.js specFiles: ['app/scripts/**/*.{spec,mock}.es6'], views: { src: ['app/views/{,*/}*.htm{,l}'], base: 'app/views/' }, normalFiles: ['app/instances.json'], buildDir: 'build', version: false, }; require('./gulp/copy.js')(options); require('./gulp/css.js')(options); requ...
specFiles: ['app/scripts/**/*.{spec,mock}.es6'], views: { src: ['app/views/{,*/}*.htm{,l}'], base: 'app/views/' }, normalFiles: ['app/instances.json'], buildDir: 'build', version: false, }; require('./gulp/copy.js')(options); require('./gulp/css.js')(options); require('./gulp/deploy.js')(options);...
<|file_sep|>original/gulpfile.js specFiles: ['app/scripts/**/*.{spec,mock}.es6'], views: { src: ['app/views/{,*/}*.htm{,l}'], base: 'app/views/' }, normalFiles: ['app/instances.json'], buildDir: 'build', version: false, }; require('./gulp/copy.js')(options); require('./gulp/css.js')(options); requ...
e6233ddf0d44b1d1086790e084ba2937e31b7480
gulpfile.js
gulpfile.js
JavaScript
<|file_sep|>app/views/proposals/show.html.erb.diff original: <p><%= link_to "I want to teach a course for this!", new_course_path %></p> updated: <p><%= link_to "I want to teach a course for this!", new_course_path(@proposal) %></p> <|file_sep|>original/app/views/proposals/show.html.erb <p id="notice"><%= notice %>...
<% if user_signed_in? %> <p><%= link_to "I want to teach a course for this!", new_course_path(@proposal) %></p> <% end %> <% if user_signed_in? && !@proposal.user_has_voted?(current_user) %> <p> I want to <a href="<%= proposal_vote_path(@proposal) %>">vote</a> for this proposal! </p> <% end %> <% if @proposal.cour...
<|file_sep|>app/views/proposals/show.html.erb.diff original: <p><%= link_to "I want to teach a course for this!", new_course_path %></p> updated: <p><%= link_to "I want to teach a course for this!", new_course_path(@proposal) %></p> <|file_sep|>original/app/views/proposals/show.html.erb <p id="notice"><%= notice %>...
76b979c75b9e3cb15352e4c316b77af8a0790582
app/views/proposals/show.html.erb
app/views/proposals/show.html.erb
HTML+ERB
<|file_sep|>lib/phocus.rb.diff original: updated: def method_pattern @method_pattern || /^test_/ end <|file_sep|>original/lib/phocus.rb module Phocus class << self attr_accessor :method_pattern end def self.included(base) self.method_pattern = /^test_/ base.extend ClassMethods end ...
module Phocus class << self attr_accessor :method_pattern def method_pattern @method_pattern || /^test_/ end end def self.included(base) base.extend ClassMethods end module ClassMethods @@__test_methods = {} @@__focused = false @@__focus_next = false def focuse...
<|file_sep|>lib/phocus.rb.diff original: updated: def method_pattern @method_pattern || /^test_/ end <|file_sep|>original/lib/phocus.rb module Phocus class << self attr_accessor :method_pattern end def self.included(base) self.method_pattern = /^test_/ base.extend ClassMethods end ...
38e0d73ee8b644752a9b8b4404f2565f592608e8
lib/phocus.rb
lib/phocus.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" after_success: npm run coveralls <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" after_success: npm run coveralls <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.10" - "iojs" after_success: npm run coveralls
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" after_success: npm run coveralls <|file_sep|>current/.travis.yml language: node_js node_js: - "0.10" after_success: npm run coveralls <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.10" - "iojs" after_success: npm run coveralls
0f93a0091593b35456da185051bdfe4d3514594a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/client/extract-translatable-strings.js }, }), JsExtractors.callExpression('gettext_noop', { arguments: { text: 0, context: 1, }, }), JsExtractors.callExpression('ngettext', { arguments: { text: 1, textPlural: 2, context...
}, }), JsExtractors.callExpression('gettext_noop', { arguments: { text: 0, context: 1, }, }), JsExtractors.callExpression('ngettext', { arguments: { text: 0, textPlural: 1, context: 3, }, }), ]) .parseFilesGlob('./src/**/*.@(t...
<|file_sep|>original/client/extract-translatable-strings.js }, }), JsExtractors.callExpression('gettext_noop', { arguments: { text: 0, context: 1, }, }), JsExtractors.callExpression('ngettext', { arguments: { text: 1, textPlural: 2, context...
d8ff3cbcf20a72da4dcadac56664435bdf0c3563
client/extract-translatable-strings.js
client/extract-translatable-strings.js
JavaScript
<|file_sep|>original/nettests/experimental/script.py <|file_sep|>current/nettests/experimental/script.py <|file_sep|>updated/nettests/experimental/script.py
from ooni import nettest from ooni.utils import log from twisted.internet import defer, protocol, reactor from twisted.python import usage import os def which(program): def is_exe(fpath): return os.path.isfile(fpath) and os.access(fpath, os.X_OK) fpath, fname = os.path.split(program) if fpath: ...
<|file_sep|>original/nettests/experimental/script.py <|file_sep|>current/nettests/experimental/script.py <|file_sep|>updated/nettests/experimental/script.py from ooni import nettest from ooni.utils import log from twisted.internet import defer, protocol, reactor from twisted.python import usage import os def which...
df4601af8ce70e48ffd4362556c2b07e4a6f53db
nettests/experimental/script.py
nettests/experimental/script.py
Python
<|file_sep|>original/src/bindToSelection.js const _bindSelector = curry((selectionName, selector) => flow( get(selectionName), selector ) ) const bindToSelection = (actions, selectors) => (_selectionName) => { let selectionName = _selectionName if (!selectionName) { selectionName = 'selection' }...
const _bindSelector = curry((selectionName, selector) => flow( get(selectionName), selector ) ) const bindToSelection = (actions, selectors) => (selectionName = 'selection') => { const boundActions = mapValues( (actionCreator) => bind(actionCreator, null, selectionName), actions ) const boun...
<|file_sep|>original/src/bindToSelection.js const _bindSelector = curry((selectionName, selector) => flow( get(selectionName), selector ) ) const bindToSelection = (actions, selectors) => (_selectionName) => { let selectionName = _selectionName if (!selectionName) { selectionName = 'selection' }...
94393f587dd1433a48d440e053f6012379f4ca47
src/bindToSelection.js
src/bindToSelection.js
JavaScript
<|file_sep|>original/IPython/html/widgets/__init__.py from .widget_output import Output from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select from .widget_selectioncontainer import Tab, Accordion from .widget_string import HTML, Latex, Text, Textarea from .interaction import interact, interactive,...
from .widget_output import Output from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select from .widget_selectioncontainer import Tab, Accordion from .widget_string import HTML, Latex, Text, Textarea from .interaction import interact, interactive, fixed, interact_manual from .widget_link import Link,...
<|file_sep|>original/IPython/html/widgets/__init__.py from .widget_output import Output from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select from .widget_selectioncontainer import Tab, Accordion from .widget_string import HTML, Latex, Text, Textarea from .interaction import interact, interactive,...
aca410866dfdd9ced23df14fb3e51fb02f910e85
IPython/html/widgets/__init__.py
IPython/html/widgets/__init__.py
Python
<|file_sep|>lib/travis/build/addons/apt_packages.rb.diff original: updated: disallowed = [] <|file_sep|>lib/travis/build/addons/apt_packages.rb.diff original: sh.echo "Ignoring unknown/disallowed package #{package.inspect}" updated: disallowed << package <|file_sep|>origina...
disallowed = [] config.each do |package| if whitelist.include?(package) whitelisted << package else disallowed << package end end unless disallowed.empty? sh.echo "Disallowing packag...
<|file_sep|>lib/travis/build/addons/apt_packages.rb.diff original: updated: disallowed = [] <|file_sep|>lib/travis/build/addons/apt_packages.rb.diff original: sh.echo "Ignoring unknown/disallowed package #{package.inspect}" updated: disallowed << package <|file_sep|>origina...
fe6de42a8ff50e033849cf097939c70ac769ee56
lib/travis/build/addons/apt_packages.rb
lib/travis/build/addons/apt_packages.rb
Ruby
<|file_sep|>packages/ri/rivet-core.yaml.diff original: hash: 4c57342f91259043749e64eb3074dd585adfcfdc9bb3afb7859c9ee7ebee30b2 updated: hash: 96a47eb24ce19ea8bc39241ed9edba0f388472e3bf8b5deebb042427b3b29217 <|file_sep|>packages/ri/rivet-core.yaml.diff original: updated: - '0.1.0.1' <|file_sep|>original/packages/ri/rive...
basic-deps: shake: -any base: ! '>=4.7 && <5' time: ! '>=1.5 && <1.6' configurator: ! '>=0.3.0.0' unordered-containers: -any text: -any filepath: -any process: -any directory-tree: -any postgresql-simple: -any template-haskell: -any directory: ! '>=1.2.1.0' all-versions: - '0.1.0.0' - '0.1.0.1' ...
<|file_sep|>packages/ri/rivet-core.yaml.diff original: hash: 4c57342f91259043749e64eb3074dd585adfcfdc9bb3afb7859c9ee7ebee30b2 updated: hash: 96a47eb24ce19ea8bc39241ed9edba0f388472e3bf8b5deebb042427b3b29217 <|file_sep|>packages/ri/rivet-core.yaml.diff original: updated: - '0.1.0.1' <|file_sep|>original/packages/ri/rive...
da0e93fe554ae52347363a2ccfe4b16b3ca35e2b
packages/ri/rivet-core.yaml
packages/ri/rivet-core.yaml
YAML
<|file_sep|>original/requirements.txt future==0.17.1 tqdm==4.35.0 networkx==2.3 pytest==5.1.1 <|file_sep|>current/requirements.txt future==0.17.1 tqdm==4.35.0 networkx==2.3 pytest==5.1.1 <|file_sep|>updated/requirements.txt
future==0.17.1 tqdm==4.35.0 networkx==2.3 pytest==5.1.2
<|file_sep|>original/requirements.txt future==0.17.1 tqdm==4.35.0 networkx==2.3 pytest==5.1.1 <|file_sep|>current/requirements.txt future==0.17.1 tqdm==4.35.0 networkx==2.3 pytest==5.1.1 <|file_sep|>updated/requirements.txt future==0.17.1 tqdm==4.35.0 networkx==2.3 pytest==5.1.2
2aab0ea1e0c97110b4156356c0ef078273f5c5a3
requirements.txt
requirements.txt
Text
<|file_sep|>spec/lib/grampus_spec.rb.diff original: expect { Process.getsid(p) }.not_to raise_error updated: expect { Process.getpgid(p) }.not_to raise_error <|file_sep|>original/spec/lib/grampus_spec.rb describe Grampus do before do `lsof -t -i tcp:21779 | xargs kill` end it "kills a process runnin...
describe Grampus do before do `lsof -t -i tcp:21779 | xargs kill` end it "kills a process running on a port" do p = fork { TCPServer.new(21779).accept } expect { Process.getpgid(p) }.not_to raise_error Grampus.kill(21779) expect { Process.getpgid(p) }.to raise_error(Errno::ESRCH) end it...
<|file_sep|>spec/lib/grampus_spec.rb.diff original: expect { Process.getsid(p) }.not_to raise_error updated: expect { Process.getpgid(p) }.not_to raise_error <|file_sep|>original/spec/lib/grampus_spec.rb describe Grampus do before do `lsof -t -i tcp:21779 | xargs kill` end it "kills a process runnin...
43e3b335fec57fe972161725c9873af342ce85fc
spec/lib/grampus_spec.rb
spec/lib/grampus_spec.rb
Ruby
<|file_sep|>package.json.diff original: "immutable": "^3.7.6", "radium": "^0.15.3", "react": "^0.14.3", "react-document-meta": "^2.0.0", "react-dom": "^0.14.0", "react-redux": "^3.1.0", "react-router": "^1.0.0", "redux": "^3.3.1" updated: "immutable": "^3.7.6" <|file_sep|>original/pa...
"scripts": { "test": "ava" }, "author": "mars@heroku.com", "license": "MIT", "dependencies": { "history": "^1.13.0", "immutable": "^3.7.6" }, "devDependencies": { "ava": "^0.12.0", "radium": "0.15.x", "react": "0.14.x", "react-document-meta": "2.x", "react-dom": "0.14.x", ...
<|file_sep|>package.json.diff original: "immutable": "^3.7.6", "radium": "^0.15.3", "react": "^0.14.3", "react-document-meta": "^2.0.0", "react-dom": "^0.14.0", "react-redux": "^3.1.0", "react-router": "^1.0.0", "redux": "^3.3.1" updated: "immutable": "^3.7.6" <|file_sep|>original/pa...
0146e27cb5cc3ad3a24e9372f8b11ecb8dd897d2
package.json
package.json
JSON
<|file_sep|>original/src/buildviz/main.clj status (:status resp)] (log/info (format "\"%s %s\" %s" method uri status)) resp))) (defn- wrap-log-errors [handler] (fn [req] (let [resp (handler req) status (:status resp) body (:body resp) uri (:uri req)] (whe...
status (:status resp)] (log/info (format "\"%s %s\" %s" method uri status)) resp))) (defn- wrap-log-errors [handler] (fn [req] (let [resp (handler req) status (:status resp) body (:body resp) uri (:uri req)] (when (and (some? status) (>= status 400)) ...
<|file_sep|>original/src/buildviz/main.clj status (:status resp)] (log/info (format "\"%s %s\" %s" method uri status)) resp))) (defn- wrap-log-errors [handler] (fn [req] (let [resp (handler req) status (:status resp) body (:body resp) uri (:uri req)] (whe...
56f7d763f051e616cb2eb5462bf7c777ef4cf820
src/buildviz/main.clj
src/buildviz/main.clj
Clojure
<|file_sep|>original/test/C++Frontend/2005-01-03-StaticInitializers.cpp // RUN: %llvmgxx %s -S -o - | grep '%XX = global int 4' struct S { int A[2]; }; int XX = (int)&(((struct S*)0)->A[1]); <|file_sep|>current/test/C++Frontend/2005-01-03-StaticInitializers.cpp // RUN: %llvmgxx %s -S -o - | grep '%XX = global int...
// RUN: %llvmgxx %s -S -o - | not grep 'llvm.global_ctor' struct S { int A[2]; }; int XX = (int)&(((struct S*)0)->A[1]);
<|file_sep|>original/test/C++Frontend/2005-01-03-StaticInitializers.cpp // RUN: %llvmgxx %s -S -o - | grep '%XX = global int 4' struct S { int A[2]; }; int XX = (int)&(((struct S*)0)->A[1]); <|file_sep|>current/test/C++Frontend/2005-01-03-StaticInitializers.cpp // RUN: %llvmgxx %s -S -o - | grep '%XX = global int...
8e0de32cc99f05076c126a77620b2d1ff5751b93
test/C++Frontend/2005-01-03-StaticInitializers.cpp
test/C++Frontend/2005-01-03-StaticInitializers.cpp
C++
<|file_sep|>original/composer.json "email": "cornelius.howl@gmail.com" } ], "require": { "phpsgi/phpsgi": "dev-master", "corneltek/universal": "^1.6", "corneltek/codegen": "^2" }, "license": "MIT", "require-dev": { "willdurand/negotiation": "^1.4",...
"require": { "phpsgi/phpsgi": "dev-master", "corneltek/universal": "^1.6", "corneltek/codegen": "^2" }, "license": "MIT", "require-dev": { "willdurand/negotiation": "^1.4", "corneltek/phpunit-testmore": "dev-master", "corneltek/lazyrecord": "dev-master", ...
<|file_sep|>original/composer.json "email": "cornelius.howl@gmail.com" } ], "require": { "phpsgi/phpsgi": "dev-master", "corneltek/universal": "^1.6", "corneltek/codegen": "^2" }, "license": "MIT", "require-dev": { "willdurand/negotiation": "^1.4",...
5060d3ea9edfccd9b5d756b99225f00849ff900f
composer.json
composer.json
JSON
<|file_sep|>Resources/config/grids/payment_method.yml.diff original: updated: repository: method: createListQueryBuilder <|file_sep|>Resources/config/grids/payment_method.yml.diff original: code: updated: search: <|file_sep|>original/Resources...
options: template: SyliusAdminBundle:Grid/Field:label.html.twig enabled: type: twig label: sylius.ui.enabled options: template: SyliusAdminBundle:Grid/Field:enabled.html.twig ...
<|file_sep|>Resources/config/grids/payment_method.yml.diff original: updated: repository: method: createListQueryBuilder <|file_sep|>Resources/config/grids/payment_method.yml.diff original: code: updated: search: <|file_sep|>original/Resources...
630ec7abc86d104ba8f7719aafa3da3d8e1122ea
Resources/config/grids/payment_method.yml
Resources/config/grids/payment_method.yml
YAML
<|file_sep|>src/main/java/com/infinityraider/agricraft/renderers/particles/LiquidSprayFX.java.diff original: updated: import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.VertexBuffer; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.entity.Entity; <|file_sep|>origin...
import net.minecraft.util.math.Vec3d; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @SideOnly(Side.CLIENT) public class LiquidSprayFX extends AgriCraftFX { public LiquidSprayFX(World world, double x, double y, double z, float sc...
<|file_sep|>src/main/java/com/infinityraider/agricraft/renderers/particles/LiquidSprayFX.java.diff original: updated: import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.VertexBuffer; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.entity.Entity; <|file_sep|>origin...
ae90f695d1f65d6548268dc8e7e055a8c0798466
src/main/java/com/infinityraider/agricraft/renderers/particles/LiquidSprayFX.java
src/main/java/com/infinityraider/agricraft/renderers/particles/LiquidSprayFX.java
Java
<|file_sep|>original/releasenotes/notes/6.0.0-0d097c704b6602e8.yaml --- prelude: > 6.0.0 is the final Ocata release for tripleo-image-elements. This is also the first release with release notes. <|file_sep|>current/releasenotes/notes/6.0.0-0d097c704b6602e8.yaml --- prelude: > 6.0.0 is the final Ocata releas...
--- prelude: > 6.0.0 is the final Ocata release for tripleo-image-elements. This is also the first release with release notes. features: - Add zaqar.use_websockets option to os-collect-config. - Add scripts to zero iptables & ip6tables files at build time. When including these new elements, we empty the...
<|file_sep|>original/releasenotes/notes/6.0.0-0d097c704b6602e8.yaml --- prelude: > 6.0.0 is the final Ocata release for tripleo-image-elements. This is also the first release with release notes. <|file_sep|>current/releasenotes/notes/6.0.0-0d097c704b6602e8.yaml --- prelude: > 6.0.0 is the final Ocata releas...
85979269c246f411eab0abfd4fadaf99fdc4c929
releasenotes/notes/6.0.0-0d097c704b6602e8.yaml
releasenotes/notes/6.0.0-0d097c704b6602e8.yaml
YAML