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|>ENVLicenseParser.podspec.diff original: s.version = "1.0.0" updated: s.version = "1.0.1" <|file_sep|>original/ENVLicenseParser.podspec Pod::Spec.new do |s| s.name = "ENVLicenseParser" s.version = "1.0.0" s.summary = "A parser...
Pod::Spec.new do |s| s.name = "ENVLicenseParser" s.version = "1.0.1" s.summary = "A parser for AAMVA license barcode formats" s.homepage = "https://github.com/envoy/ENVLicenseParser" s.license = "MIT" s.author = { "Envoy"...
<|file_sep|>ENVLicenseParser.podspec.diff original: s.version = "1.0.0" updated: s.version = "1.0.1" <|file_sep|>original/ENVLicenseParser.podspec Pod::Spec.new do |s| s.name = "ENVLicenseParser" s.version = "1.0.0" s.summary = "A parser...
0594019ba48a170077c14e0097cd7124ed91652e
ENVLicenseParser.podspec
ENVLicenseParser.podspec
Ruby
<|file_sep|>README.md.diff original: echo '{ "extends": "earnest" }' > .eslintrc updated: echo '{ "extends": "earnest-es7" }' > .eslintrc <|file_sep|>original/README.md 2. Add a root level `.eslintrc` that references this package ``` echo '{ "extends": "earnest" }' > .eslintrc ``` 3. Add another ...
2. Add a root level `.eslintrc` that references this package ``` echo '{ "extends": "earnest-es7" }' > .eslintrc ``` 3. Add another `.eslintrc` to your `test` folder that supports mocha ``` echo '{\n\s\s"extends": "earnest-es7",\n\s\s"env": { "mocha": true }\n}' > test/.eslintrc ``` 4. (Rec...
<|file_sep|>README.md.diff original: echo '{ "extends": "earnest" }' > .eslintrc updated: echo '{ "extends": "earnest-es7" }' > .eslintrc <|file_sep|>original/README.md 2. Add a root level `.eslintrc` that references this package ``` echo '{ "extends": "earnest" }' > .eslintrc ``` 3. Add another ...
742cffda44c8157429ec3bb0845de99124359b62
README.md
README.md
Markdown
<|file_sep|>original/app/controllers/statistics_controller.rb def rfc_activity respond_to do |format| format.json { render(json: rfc_activity_data) } end end def rfc_activity_history respond_to do |format| format.html { render 'rfc_activity_history' } format.json do interval...
def rfc_activity respond_to do |format| format.json { render(json: rfc_activity_data) } end end def rfc_activity_history respond_to do |format| format.html { render 'rfc_activity_history' } format.json do interval = params[:interval].to_s.empty? ? 'year' : params[:interval] ...
<|file_sep|>original/app/controllers/statistics_controller.rb def rfc_activity respond_to do |format| format.json { render(json: rfc_activity_data) } end end def rfc_activity_history respond_to do |format| format.html { render 'rfc_activity_history' } format.json do interval...
9da3d9865404047c4de5c824810fed1efb72b607
app/controllers/statistics_controller.rb
app/controllers/statistics_controller.rb
Ruby
<|file_sep|>app/assets/javascripts/components/yale-login.cjsx.diff original: <div className="hero-overlay-text">To begin marking and transcribing programs, please log in to your prefered account</div> updated: <div className="hero-overlay-text">To begin marking and transcribing programs, please log in w...
module.exports = React.createClass displayName: 'YaleLogin' render:-> return <div className="login-page"> <div className="hero-overlay-container"> <div className="hero-overlay-title">Welcome</div> <div className="hero-overlay-text">To begin marking and transcribing programs, please log i...
<|file_sep|>app/assets/javascripts/components/yale-login.cjsx.diff original: <div className="hero-overlay-text">To begin marking and transcribing programs, please log in to your prefered account</div> updated: <div className="hero-overlay-text">To begin marking and transcribing programs, please log in w...
4f5384c6676312d2de0ca8d55abcd5da27cc21bd
app/assets/javascripts/components/yale-login.cjsx
app/assets/javascripts/components/yale-login.cjsx
CoffeeScript
<|file_sep|>original/modules/cron/templates/default/croninfo-tpl.php ?> <div id="content"> <p>Cron is a way to run things regularly on unix systems.</p> <p>Here is a suggestion for a crontab file:</p> <pre style="font-size: x-small; color: #444; padding: 1em; border: 1px solid #eee; margin: .4em "><code><?php ...
?> <div id="content"> <p>Cron is a way to run things regularly on unix systems.</p> <p>Here is a suggestion for a crontab file:</p> <pre style="font-size: x-small; color: #444; padding: 1em; border: 1px solid #eee; margin: .4em "><code><?php foreach ($this->data['urls'] AS $url ) { echo "# " . $url['title...
<|file_sep|>original/modules/cron/templates/default/croninfo-tpl.php ?> <div id="content"> <p>Cron is a way to run things regularly on unix systems.</p> <p>Here is a suggestion for a crontab file:</p> <pre style="font-size: x-small; color: #444; padding: 1em; border: 1px solid #eee; margin: .4em "><code><?php ...
8069731f88bf1ac6c237a5bf3f2307bd5e81dd37
modules/cron/templates/default/croninfo-tpl.php
modules/cron/templates/default/croninfo-tpl.php
PHP
<|file_sep|>original/README.md # S1 Next [![GitHub version](https://badge.fury.io/gh/floating-cat%2FS1-Next.svg)](http://badge.fury.io/gh/floating-cat%2FS1-Next) This is the Android Client for [STAGE1](http://bbs.saraba1st.com/2b/forum.php). ## License [Apache License, Version 2.0](LICENSE.txt) ## Third-party Lice...
# S1 Next [![GitHub version](https://badge.fury.io/gh/floating-cat%2FS1-Next.svg)](http://badge.fury.io/gh/floating-cat%2FS1-Next) [![Build Status](https://travis-ci.org/floating-cat/S1-Next.svg?branch=master)](https://travis-ci.org/floating-cat/S1-Next) This is the Android Client for [STAGE1](http://bbs.saraba1st.co...
<|file_sep|>original/README.md # S1 Next [![GitHub version](https://badge.fury.io/gh/floating-cat%2FS1-Next.svg)](http://badge.fury.io/gh/floating-cat%2FS1-Next) This is the Android Client for [STAGE1](http://bbs.saraba1st.com/2b/forum.php). ## License [Apache License, Version 2.0](LICENSE.txt) ## Third-party Lice...
1053aefc6eeb04429d9b51a61b46141fa21ce886
README.md
README.md
Markdown
<|file_sep|>tox.ini.diff original: updated: {py38,py39,py310}-django-40 <|file_sep|>original/tox.ini setenv = PYTHONPATH = {toxinidir}:{toxinidir}/djfractions:{toxinidir}/test_project/frac commands = coverage run --source djfractions runtests.py mypy djfractions deps = django-22: Django>=2.2,<3 ...
setenv = PYTHONPATH = {toxinidir}:{toxinidir}/djfractions:{toxinidir}/test_project/frac commands = coverage run --source djfractions runtests.py mypy djfractions deps = django-22: Django>=2.2,<3 django-3: Django>=3,<3.1 django-31: Django>=3.1,<3.2 django-32: Django>=3.2,<3.3 django-40: D...
<|file_sep|>tox.ini.diff original: updated: {py38,py39,py310}-django-40 <|file_sep|>original/tox.ini setenv = PYTHONPATH = {toxinidir}:{toxinidir}/djfractions:{toxinidir}/test_project/frac commands = coverage run --source djfractions runtests.py mypy djfractions deps = django-22: Django>=2.2,<3 ...
3546ff93e173eabe65a2a31e6cfd62e2d37c9b14
tox.ini
tox.ini
INI
<|file_sep|>actiontext.gemspec.diff original: s.authors = ["Javan Makhmali", "Sam Stephenson"] s.email = ["javan@javan.us", "sstephenson@gmail.com"] updated: s.authors = ["Javan Makhmali", "Sam Stephenson", "David Heinemeier Hansson"] s.email = ["javan@javan.us", "sstephenson@gmail.com", "david@loudthin...
s.name = "actiontext" s.version = ActionText::VERSION s.authors = ["Javan Makhmali", "Sam Stephenson", "David Heinemeier Hansson"] s.email = ["javan@javan.us", "sstephenson@gmail.com", "david@loudthinking.com"] s.summary = "Edit and display rich text in Rails applications" s.homepage = "https://gi...
<|file_sep|>actiontext.gemspec.diff original: s.authors = ["Javan Makhmali", "Sam Stephenson"] s.email = ["javan@javan.us", "sstephenson@gmail.com"] updated: s.authors = ["Javan Makhmali", "Sam Stephenson", "David Heinemeier Hansson"] s.email = ["javan@javan.us", "sstephenson@gmail.com", "david@loudthin...
369f4926774843f418c35f1efffc0f391529e6f7
actiontext.gemspec
actiontext.gemspec
Ruby
<|file_sep|>init-package/init-fill-column-indicator.el.diff original: (setq fci-rule-column 79) updated: <|file_sep|>original/init-package/init-fill-column-indicator.el (require 'fill-column-indicator) (setq fci-rule-column 79) (setq fci-rule-width 1) (setq fci-enabled 0) (defun toggle-fill-column-indicator () (in...
(require 'fill-column-indicator) (setq fci-rule-width 1) (setq fci-enabled 0) (defun toggle-fill-column-indicator () (interactive) (make-local-variable 'fci-enabled) (if (> fci-enabled 0) (deactivate-fci) (activate-fci))) (defun activate-fci () (setq fci-rule-column 79) (setq fci-enabled 1) (fci-mode 1))...
<|file_sep|>init-package/init-fill-column-indicator.el.diff original: (setq fci-rule-column 79) updated: <|file_sep|>original/init-package/init-fill-column-indicator.el (require 'fill-column-indicator) (setq fci-rule-column 79) (setq fci-rule-width 1) (setq fci-enabled 0) (defun toggle-fill-column-indicator () (in...
cda41d9043f5fa8fc582315e0023366af96be7d3
init-package/init-fill-column-indicator.el
init-package/init-fill-column-indicator.el
Emacs Lisp
<|file_sep|>package.json.diff original: "version": "0.0.7", updated: "version": "0.0.8", <|file_sep|>original/package.json "test": "mocha" }, "dependencies": { "yeoman-generator": "~0.13.1", "grunt": "~0.4.1" }, "devDependencies": { "mocha": "~1.12.0" }, "peerDependencies": { "yo": "...
"test": "mocha" }, "dependencies": { "yeoman-generator": "~0.13.1", "grunt": "~0.4.1" }, "devDependencies": { "mocha": "~1.12.0" }, "peerDependencies": { "yo": ">=1.0.0" }, "engines": { "node": ">=0.8.0", "npm": ">=1.2.10" }, "licenses": [ { "type": "MIT" } ...
<|file_sep|>package.json.diff original: "version": "0.0.7", updated: "version": "0.0.8", <|file_sep|>original/package.json "test": "mocha" }, "dependencies": { "yeoman-generator": "~0.13.1", "grunt": "~0.4.1" }, "devDependencies": { "mocha": "~1.12.0" }, "peerDependencies": { "yo": "...
1848e06c97b52c28bf286453e4b1bd20f822d65f
package.json
package.json
JSON
<|file_sep|>original/test/integration/targets/win_get_url/defaults/main.yml --- test_win_get_url_link: http://docs.ansible.com test_win_get_url_invalid_link: http://docs.ansible.com/skynet_module.html test_win_get_url_invalid_path: "Q:\\Filez\\Cyberdyne.html" test_win_get_url_path: "{{ test_win_get_url_dir_path }}\\do...
--- test_win_get_url_link: https://www.redhat.com test_win_get_url_invalid_link: https://www.redhat.com/skynet_module.html test_win_get_url_invalid_path: "Q:\\Filez\\Cyberdyne.html" test_win_get_url_path: "{{ test_win_get_url_dir_path }}\\docs_index.html"
<|file_sep|>original/test/integration/targets/win_get_url/defaults/main.yml --- test_win_get_url_link: http://docs.ansible.com test_win_get_url_invalid_link: http://docs.ansible.com/skynet_module.html test_win_get_url_invalid_path: "Q:\\Filez\\Cyberdyne.html" test_win_get_url_path: "{{ test_win_get_url_dir_path }}\\do...
9462707f214dc11e7ec032fc53a4256e858deda8
test/integration/targets/win_get_url/defaults/main.yml
test/integration/targets/win_get_url/defaults/main.yml
YAML
<|file_sep|>original/ontology-rest/src/test/resources/application.properties ## ================= Solr ================= solr.solr.home=../solr-cores/src/main/cores # tests can overwrite this value with use of uk.ac.ebi.quickgo.repo.solr.io.ontology.TemporarySolrDataStore # otherwise, this value ensures tests do not o...
## ================= Solr ================= solr.solr.home=../solr-cores/src/main/cores # tests can overwrite this value with use of uk.ac.ebi.quickgo.repo.solr.io.ontology.TemporarySolrDataStore # otherwise, this value ensures tests do not overwrite a real data-store solr.data.dir=/tmp/solr-data-dir ## ============...
<|file_sep|>original/ontology-rest/src/test/resources/application.properties ## ================= Solr ================= solr.solr.home=../solr-cores/src/main/cores # tests can overwrite this value with use of uk.ac.ebi.quickgo.repo.solr.io.ontology.TemporarySolrDataStore # otherwise, this value ensures tests do not o...
17eddeb1412a4b958fc89427e74712881bfaea53
ontology-rest/src/test/resources/application.properties
ontology-rest/src/test/resources/application.properties
INI
<|file_sep|>original/ci/scripts/build-project-windows.bat SET "JAVA_HOME=C:\opt\jdk1.8.0_161" cd git-repo ./mvnw clean install <|file_sep|>current/ci/scripts/build-project-windows.bat SET "JAVA_HOME=C:\opt\jdk1.8.0_161" cd git-repo ./mvnw clean install <|file_sep|>updated/ci/scripts/build-project-windows.bat
SET "JAVA_HOME=C:\opt\jdk1.8.0_161" cd git-repo ./mvnw clean install -X
<|file_sep|>original/ci/scripts/build-project-windows.bat SET "JAVA_HOME=C:\opt\jdk1.8.0_161" cd git-repo ./mvnw clean install <|file_sep|>current/ci/scripts/build-project-windows.bat SET "JAVA_HOME=C:\opt\jdk1.8.0_161" cd git-repo ./mvnw clean install <|file_sep|>updated/ci/scripts/build-project-windows.bat SET "JAVA_...
fd8ebf728ca68aa6766f95310d2efe68da5d749c
ci/scripts/build-project-windows.bat
ci/scripts/build-project-windows.bat
Batchfile
<|file_sep|>docs/Using-Mastodon/List-of-Mastodon-instances.md.diff original: List of Mastodon instances updated: List of Known Mastodon instances <|file_sep|>docs/Using-Mastodon/List-of-Mastodon-instances.md.diff original: * [mastodon.social](https://mastodon.social) * [social.tchncs.de](https://social.tchncs.de) * [on...
List of Known Mastodon instances ========================== | Name | Theme/Notes, if applicable | Open Registrations | | ------------- |:-------------:| -----:| | [mastodon.social](https://mastodon.social) | Flagship, quick updates | $Yes | | [awoo.space](https://awoo.space) | Intentionall...
<|file_sep|>docs/Using-Mastodon/List-of-Mastodon-instances.md.diff original: List of Mastodon instances updated: List of Known Mastodon instances <|file_sep|>docs/Using-Mastodon/List-of-Mastodon-instances.md.diff original: * [mastodon.social](https://mastodon.social) * [social.tchncs.de](https://social.tchncs.de) * [on...
63a18efb27e4446f453af420a4a6a1c5308ee2d0
docs/Using-Mastodon/List-of-Mastodon-instances.md
docs/Using-Mastodon/List-of-Mastodon-instances.md
Markdown
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
# Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the wo...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
8e2197a712dfce2b3d7b746ab5451f2775ac2221
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/senlin/tests/tempest/api/clusters/test_cluster_show_negative.py <|file_sep|>current/senlin/tests/tempest/api/clusters/test_cluster_show_negative.py <|file_sep|>updated/senlin/tests/tempest/api/clusters/test_cluster_show_negative.py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
<|file_sep|>original/senlin/tests/tempest/api/clusters/test_cluster_show_negative.py <|file_sep|>current/senlin/tests/tempest/api/clusters/test_cluster_show_negative.py <|file_sep|>updated/senlin/tests/tempest/api/clusters/test_cluster_show_negative.py # Licensed under the Apache License, Version 2.0 (the "License");...
9e0acc72cf34659c3a95a3495cfa4c5536bb15b7
senlin/tests/tempest/api/clusters/test_cluster_show_negative.py
senlin/tests/tempest/api/clusters/test_cluster_show_negative.py
Python
<|file_sep|>workshop/variables.yml.diff original: elastic_version: 6.4.3 updated: elastic_version: 6.5.0 <|file_sep|>workshop/variables.yml.diff original: apm_java_version: 0.7.1 updated: apm_java_version: 1.0.1 <|file_sep|>original/workshop/variables.yml backend_database: person apm_server: localhost:8200 apm_secret: ...
backend_database: person apm_server: localhost:8200 apm_secret: secret # MySQL mysql_user: admin mysql_password: secret # SilverStripe setup silverstripe_version: 4.2.2 silverstripe_user: admin silverstripe_password: secret silverstripe_database: silverstripe silverstripe_directory: /var/www/html/silverstripe/ # ...
<|file_sep|>workshop/variables.yml.diff original: elastic_version: 6.4.3 updated: elastic_version: 6.5.0 <|file_sep|>workshop/variables.yml.diff original: apm_java_version: 0.7.1 updated: apm_java_version: 1.0.1 <|file_sep|>original/workshop/variables.yml backend_database: person apm_server: localhost:8200 apm_secret: ...
16f604bfa3906a53f0379e1d93094544e8bc8f0a
workshop/variables.yml
workshop/variables.yml
YAML
<|file_sep|>original/src/scripts/modules/media/tabs/contents/leaf.coffee define (require) -> $ = require('jquery') router = require('cs!router') analytics = require('cs!helpers/handlers/analytics') BaseView = require('cs!helpers/backbone/views/base') template = require('hbs!./leaf-template') require('less!....
define (require) -> $ = require('jquery') router = require('cs!router') analytics = require('cs!helpers/handlers/analytics') BaseView = require('cs!helpers/backbone/views/base') template = require('hbs!./leaf-template') require('less!./leaf') return class TocNodeView extends BaseView template: templa...
<|file_sep|>original/src/scripts/modules/media/tabs/contents/leaf.coffee define (require) -> $ = require('jquery') router = require('cs!router') analytics = require('cs!helpers/handlers/analytics') BaseView = require('cs!helpers/backbone/views/base') template = require('hbs!./leaf-template') require('less!....
46f539706265bd3802105ee1a5b012bcf917aa00
src/scripts/modules/media/tabs/contents/leaf.coffee
src/scripts/modules/media/tabs/contents/leaf.coffee
CoffeeScript
<|file_sep|>original/imports/ui/components/Modal.jsx import React from 'react'; export default class ProfilePage extends React.Component { constructor(props) { super(props); } render() { return ( <div className="overlay-background"> {this.props.children} </div> ); } } <|file_se...
import React from 'react'; export default class Modal extends React.Component { constructor(props) { super(props); } render() { return ( <div className="overlay-background"> {this.props.children} </div> ); } }
<|file_sep|>original/imports/ui/components/Modal.jsx import React from 'react'; export default class ProfilePage extends React.Component { constructor(props) { super(props); } render() { return ( <div className="overlay-background"> {this.props.children} </div> ); } } <|file_se...
6fae32990285e4b1eff6e8780408a1f552939e2f
imports/ui/components/Modal.jsx
imports/ui/components/Modal.jsx
JSX
<|file_sep|>original/package.json "through", "transform" ], "dependencies": {}, "engines": { "node": ">=0.10" }, "testling": { "files": "test/index.js", "browsers": [ "ie/8..latest", "ff/15..latest", "chrome/20..latest", "safari/5.1..latest" ] }, "scripts": ...
"through", "transform" ], "dependencies": {}, "engines": { "node": ">=0.10" }, "scripts": { "test": "node test" }, "repository": { "type": "git", "url": "https://github.com/joaquimserafim/through-tuga.git" }, "author": "@joaquimserafim", "license": "ISC", "bugs": { "url...
<|file_sep|>original/package.json "through", "transform" ], "dependencies": {}, "engines": { "node": ">=0.10" }, "testling": { "files": "test/index.js", "browsers": [ "ie/8..latest", "ff/15..latest", "chrome/20..latest", "safari/5.1..latest" ] }, "scripts": ...
058defcddcfe4014df6c659c7b1e27a21e316bcb
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: ruby before_install: - gem install bundler -v '~> 1.5' rvm: - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - 2.4.1 bundler_args: --without debug deploy: provider: rubygems api_key: secure: JxDBiuSJgTyne4WriC56QqOhhl07ojHN/qZerKyxabBj1yQ/GmxlzcdvXdU6eUFJ1E3BvrfrMmraJ28xADm2hG3xgxkNP/...
language: ruby before_install: - gem install bundler -v '~> 1.5' rvm: - 2.2.6 - 2.3.3 - 2.4.0 - 2.4.1 bundler_args: --without debug deploy: provider: rubygems api_key: secure: JxDBiuSJgTyne4WriC56QqOhhl07ojHN/qZerKyxabBj1yQ/GmxlzcdvXdU6eUFJ1E3BvrfrMmraJ28xADm2hG3xgxkNP/D7jqTv0o0h2CODh+W2dr0iv3bNkoDOfjChNrJZCLPX...
<|file_sep|>original/.travis.yml language: ruby before_install: - gem install bundler -v '~> 1.5' rvm: - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - 2.4.1 bundler_args: --without debug deploy: provider: rubygems api_key: secure: JxDBiuSJgTyne4WriC56QqOhhl07ojHN/qZerKyxabBj1yQ/GmxlzcdvXdU6eUFJ1E3BvrfrMmraJ28xADm2hG3xgxkNP/...
389d3d073aff2a72c7df3bf85d900e316c332290
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/main.yml name: Python application on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.5, 3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions...
name: Python application on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ...
<|file_sep|>original/.github/workflows/main.yml name: Python application on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.5, 3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions...
4f3abe08175af7d715096d22da7069a2a62d42de
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>public/js/poem/new.js.diff original: $('.poetsearch').typeahead({ updated: var poetSearch = $('.poetsearch'); var poetsList = poetSearch.closest('form').find('.poets'); poetSearch.typeahead({ <|file_sep|>public/js/poem/new.js.diff original: remote: '/poet?q=%QUERY', valueKey: 'name' update...
url: '/poet?q=%QUERY', filter: function(poets) { return poets.filter(function(p) { return poetsList.find('input[value=' + p.id + ']').length === 0; }); } } }).on('typeahead:selected', function(element, poet) { var li = $('<li/>', { text: poet.name }).appen...
<|file_sep|>public/js/poem/new.js.diff original: $('.poetsearch').typeahead({ updated: var poetSearch = $('.poetsearch'); var poetsList = poetSearch.closest('form').find('.poets'); poetSearch.typeahead({ <|file_sep|>public/js/poem/new.js.diff original: remote: '/poet?q=%QUERY', valueKey: 'name' update...
8a7ba1d61acf2313faef7570551bb2d8b576c7bb
public/js/poem/new.js
public/js/poem/new.js
JavaScript
<|file_sep|>locales/fy-NL/addon.properties.diff original: updated: tooltip_switch_visual= Klik om fisualisaasje te skeakeljen media_type_audio= audio media_type_video= fideo <|file_sep|>original/locales/fy-NL/addon.properties tooltip_play= Ofspylje tooltip_pause= Pauzearje tooltip_mute= Lûd út tooltip_unmute= Lûd oan ...
tooltip_play= Ofspylje tooltip_pause= Pauzearje tooltip_mute= Lûd út tooltip_unmute= Lûd oan tooltip_send_to_tab= Nei ljepblêd ferstjoere tooltip_minimize= Minimalisearje tooltip_maximize= Maksimalisearje tooltip_close= Slute tooltip_switch_visual= Klik om fisualisaasje te skeakeljen media_type_audio= audio media_type_...
<|file_sep|>locales/fy-NL/addon.properties.diff original: updated: tooltip_switch_visual= Klik om fisualisaasje te skeakeljen media_type_audio= audio media_type_video= fideo <|file_sep|>original/locales/fy-NL/addon.properties tooltip_play= Ofspylje tooltip_pause= Pauzearje tooltip_mute= Lûd út tooltip_unmute= Lûd oan ...
1a75d17a41b8d7fc76baf837199b8bdb097089cd
locales/fy-NL/addon.properties
locales/fy-NL/addon.properties
INI
<|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - ree - jruby - rbx branches: only: - master - hook - stdin notifications: irc: "irc.freenode.org#guard" <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.2 - ree - jruby - rbx branches: only: - master - hook - stdi...
rvm: - 1.8.7 - 1.9.2 - ree - jruby - rbx branches: only: - master - hook - stdin - fix_jruby_on_travis notifications: irc: "irc.freenode.org#guard"
<|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.2 - ree - jruby - rbx branches: only: - master - hook - stdin notifications: irc: "irc.freenode.org#guard" <|file_sep|>current/.travis.yml rvm: - 1.8.7 - 1.9.2 - ree - jruby - rbx branches: only: - master - hook - stdi...
b8e43e7a7c65c7cc9ffff8ff9fa92a7f5471f411
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/in/indextype.yaml.diff original: hash: da63c61f631ba3c9eca530240ff459e6f07f1bdbf04973ed49296570c72e0bbd updated: hash: cc4eebfcb655bb5540a482b11ad1ac5790a8d1137506079a0bdbee7b91fec11d <|file_sep|>packages/in/indextype.yaml.diff original: base: ==4.9.* updated: base: ! '>=4.9 && <4.11' <|file_se...
basic-deps: base: ! '>=4.9 && <4.11' all-versions: - '0.1.0.0' - '0.2.0.0' - '0.2.2.0' - '0.2.3.0' - '0.3.0.0' - '0.3.0.1' author: Clinton Mead latest: '0.3.0.1' description-type: haddock description: ! 'This package deals with types that can roughly be "indexed" at compile time by an integer. For example, tuple...
<|file_sep|>packages/in/indextype.yaml.diff original: hash: da63c61f631ba3c9eca530240ff459e6f07f1bdbf04973ed49296570c72e0bbd updated: hash: cc4eebfcb655bb5540a482b11ad1ac5790a8d1137506079a0bdbee7b91fec11d <|file_sep|>packages/in/indextype.yaml.diff original: base: ==4.9.* updated: base: ! '>=4.9 && <4.11' <|file_se...
fc859ad4bba409131181b9f2cc3da3d903b64f6c
packages/in/indextype.yaml
packages/in/indextype.yaml
YAML
<|file_sep|>src/diode.js.diff original: * Throws an error if the callback is not included in the Set. updated: * Throws an error if the callback is not included in the set. <|file_sep|>original/src/diode.js return target } /** * Given a CALLBACK function, remove it from the set of callbacks. * Thr...
return target } /** * Given a CALLBACK function, remove it from the set of callbacks. * Throws an error if the callback is not included in the set. */ target.ignore = target.unsubscribe = function (callback) { for (var i = 0, len = _callbacks.length; i < len; i++) { if (_callbacks[i] === ...
<|file_sep|>src/diode.js.diff original: * Throws an error if the callback is not included in the Set. updated: * Throws an error if the callback is not included in the set. <|file_sep|>original/src/diode.js return target } /** * Given a CALLBACK function, remove it from the set of callbacks. * Thr...
19e113dfe7edc5e8a91c690bf48268e941c79fee
src/diode.js
src/diode.js
JavaScript
<|file_sep|>original/setup.py author="Brett Cannon", author_email="brett@python.org", license="Apache", classifiers=[ 'Intended Audience :: Developers', "License :: OSI Approved :: Apache Software License", "Development Status :: 2 - Pre-Alpha", 'Programming Language :: P...
author_email="brett@python.org", license="Apache", classifiers=[ 'Intended Audience :: Developers', "License :: OSI Approved :: Apache Software License", "Development Status :: 2 - Pre-Alpha", 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Pyt...
<|file_sep|>original/setup.py author="Brett Cannon", author_email="brett@python.org", license="Apache", classifiers=[ 'Intended Audience :: Developers', "License :: OSI Approved :: Apache Software License", "Development Status :: 2 - Pre-Alpha", 'Programming Language :: P...
d5c2a4643f22d768694b452ea1b0ca5db65bb169
setup.py
setup.py
Python
<|file_sep|>original/app/views/movie.js.erb var data = JSON.parse(message.data); // console.log(data) if (data.video) { var source = document.querySelectorAll("#video-player video source"); source[0].src = data.video; video.load(); video.play(); $("#decision-logo ").hide(); if (data.questi...
var data = JSON.parse(message.data); // console.log(data) if (data.video) { var source = document.querySelectorAll("#video-player video source"); source[0].src = data.video; video.load(); video.play(); $("#decision-logo ").hide(); if (data.question != null) { decicsionActive = false; } }...
<|file_sep|>original/app/views/movie.js.erb var data = JSON.parse(message.data); // console.log(data) if (data.video) { var source = document.querySelectorAll("#video-player video source"); source[0].src = data.video; video.load(); video.play(); $("#decision-logo ").hide(); if (data.questi...
3d91c413a65d0e6f2ccef34dec4cdd8fd2f0858c
app/views/movie.js.erb
app/views/movie.js.erb
HTML+ERB
<|file_sep|>ext/mysql2/mysql2_ext.h.diff original: #include <mysql_com.h> updated: <|file_sep|>original/ext/mysql2/mysql2_ext.h we'll never modify the pointers we get back from RSTRING_PTR */ #define RSTRING_NOT_MODIFIED #include <ruby.h> #ifdef HAVE_MYSQL_H #include <mysql.h> #include <mysql_com.h> #include <errm...
we'll never modify the pointers we get back from RSTRING_PTR */ #define RSTRING_NOT_MODIFIED #include <ruby.h> #ifdef HAVE_MYSQL_H #include <mysql.h> #include <errmsg.h> #include <mysqld_error.h> #else #include <mysql/mysql.h> #include <mysql/errmsg.h> #include <mysql/mysqld_error.h> #endif #ifdef HAVE_RUBY_ENCODI...
<|file_sep|>ext/mysql2/mysql2_ext.h.diff original: #include <mysql_com.h> updated: <|file_sep|>original/ext/mysql2/mysql2_ext.h we'll never modify the pointers we get back from RSTRING_PTR */ #define RSTRING_NOT_MODIFIED #include <ruby.h> #ifdef HAVE_MYSQL_H #include <mysql.h> #include <mysql_com.h> #include <errm...
8d8fbf94c3fc783a1becafb9efa6db8f4d0985f1
ext/mysql2/mysql2_ext.h
ext/mysql2/mysql2_ext.h
C
<|file_sep|>original/app/assets/stylesheets/views/pages/_home.scss // ----------------------------------------------------------------------------- // Views > Home // ----------------------------------------------------------------------------- .home { padding-top: 85px; .grid { width: 100%; a.link { ...
.grid { width: 100%; a.link { color: white; &:hover { color: white; } } a.confession { color: white; &:hover { color: white; } &:nth-child(odd) { display: none; } @include media($tablet) { &:nth-child(odd) { display: block; } } } } }
<|file_sep|>original/app/assets/stylesheets/views/pages/_home.scss // ----------------------------------------------------------------------------- // Views > Home // ----------------------------------------------------------------------------- .home { padding-top: 85px; .grid { width: 100%; a.link { ...
93fe46b36e7f2c8de4e36fc0c28dad8acb546cb9
app/assets/stylesheets/views/pages/_home.scss
app/assets/stylesheets/views/pages/_home.scss
SCSS
<|file_sep|>original/setup.cfg [flake8] max-line-length = 120 max-complexity = 10 [pydocstyle] ignore = D100,D104,D203,D212 [tool:pytest] norecursedirs = .git .tox [isort] atomic = true combine_as_imports = false indent = 4 length_sort = false line_length = 120 multi_line_output = 5 not_skip = __init__.py order_by_...
[flake8] max-line-length = 120 max-complexity = 10 [pydocstyle] ignore = D100,D104,D203,D212 [tool:pytest] norecursedirs = .git .tox markers = slow: marks tests as slow (deselect with '-m "not slow"') [isort] atomic = true combine_as_imports = false indent = 4 length_sort = false line_length = 120 multi_line_ou...
<|file_sep|>original/setup.cfg [flake8] max-line-length = 120 max-complexity = 10 [pydocstyle] ignore = D100,D104,D203,D212 [tool:pytest] norecursedirs = .git .tox [isort] atomic = true combine_as_imports = false indent = 4 length_sort = false line_length = 120 multi_line_output = 5 not_skip = __init__.py order_by_...
9385a59379fcac6d9e9904a5a093b6582cb6ff6c
setup.cfg
setup.cfg
INI
<|file_sep|>original/modules/locations/DefaultLocation.js module.exports = process.env.NODE_ENV === 'test' ? require('./MemoryLocation') : require('./HashLocation'); <|file_sep|>current/modules/locations/DefaultLocation.js module.exports = process.env.NODE_ENV === 'test' ? require('./MemoryLocation') : require(...
var canUseDOM = require('react/lib/ExecutionEnvironment').canUseDOM; module.exports = process.env.NODE_ENV === 'test' || !canUseDOM ? require('./MemoryLocation') : require('./HashLocation');
<|file_sep|>original/modules/locations/DefaultLocation.js module.exports = process.env.NODE_ENV === 'test' ? require('./MemoryLocation') : require('./HashLocation'); <|file_sep|>current/modules/locations/DefaultLocation.js module.exports = process.env.NODE_ENV === 'test' ? require('./MemoryLocation') : require(...
4aa384895363bae1127b9b9d4047b0bb4500d796
modules/locations/DefaultLocation.js
modules/locations/DefaultLocation.js
JavaScript
<|file_sep|>original/test/element/#/replace-content.js 'use strict'; var aFrom = require('es5-ext/array/from'); module.exports = function (t, a) { var el, child1, child2, child3, list; if (typeof document === 'undefined') return; el = document.createElement('p'); child1 = document.createElement('span'); child2 ...
'use strict'; var aFrom = require('es5-ext/array/from'); module.exports = function (t, a) { var el, child1, child2, child3, list; if (typeof document === 'undefined') return; el = document.createElement('p'); child1 = document.createElement('span'); child2 = document.createElement('b'); child3 = document.creat...
<|file_sep|>original/test/element/#/replace-content.js 'use strict'; var aFrom = require('es5-ext/array/from'); module.exports = function (t, a) { var el, child1, child2, child3, list; if (typeof document === 'undefined') return; el = document.createElement('p'); child1 = document.createElement('span'); child2 ...
3b2495565d8839763d68ca6bca55e7658f6643c6
test/element/#/replace-content.js
test/element/#/replace-content.js
JavaScript
<|file_sep|>index.html.diff original: <title>Multiple counter</title> updated: <title>Multiple Counter</title> <|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Multiple counter</title> </head> <body> <div id='counter_app'></div> <script id='counte...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Multiple Counter</title> </head> <body> <div id='counter_app'></div> <script id='counter_template' type='text/ractive'> <h1>Multiple Counter</h1> <form on-submit="addItem(event)"> <input type='text' placeholder='new ti...
<|file_sep|>index.html.diff original: <title>Multiple counter</title> updated: <title>Multiple Counter</title> <|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Multiple counter</title> </head> <body> <div id='counter_app'></div> <script id='counte...
0eda15ce85c03c9ddfa2aca5574c9d0e0b88b2ba
index.html
index.html
HTML
<|file_sep|>original/cookbooks/nagios/recipes/server_package.rb # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the ...
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing ...
<|file_sep|>original/cookbooks/nagios/recipes/server_package.rb # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the ...
7bb92f416cd2722bc15879565c0789fe8fd90296
cookbooks/nagios/recipes/server_package.rb
cookbooks/nagios/recipes/server_package.rb
Ruby
<|file_sep|>tests/mock_vws/test_query.py.diff original: updated: import io from urllib.parse import urljoin <|file_sep|>tests/mock_vws/test_query.py.diff original: updated: from requests_mock import POST from urllib3.filepost import encode_multipart_formdata <|file_sep|>tests/mock_vws/test_query.py.diff original: fr...
authorization_string = authorization_header( access_key=access_key, secret_key=secret_key, method=method, content=content, # Note that this is not the actual Content-Type header value sent. content_type='multipart/form-data', da...
<|file_sep|>tests/mock_vws/test_query.py.diff original: updated: import io from urllib.parse import urljoin <|file_sep|>tests/mock_vws/test_query.py.diff original: updated: from requests_mock import POST from urllib3.filepost import encode_multipart_formdata <|file_sep|>tests/mock_vws/test_query.py.diff original: fr...
a6441de03522f9352742cba5a8a656785de05455
tests/mock_vws/test_query.py
tests/mock_vws/test_query.py
Python
<|file_sep|>src/js/utils/FileUtils.js.diff original: updated: readFileAsArrayBuffer : function (file, callback) { var reader = new FileReader(); reader.addEventListener("loadend", function() { callback(reader.result); }); reader.readAsArrayBuffer(file); }, <|file_sep|>original/...
image.src = content; }); }, downloadAsFile : function (content, filename) { var saveAs = window.saveAs || (navigator.msSaveBlob && navigator.msSaveBlob.bind(navigator)); if (saveAs) { saveAs(content, filename); } else { var downloadLink = document.createElement('...
<|file_sep|>src/js/utils/FileUtils.js.diff original: updated: readFileAsArrayBuffer : function (file, callback) { var reader = new FileReader(); reader.addEventListener("loadend", function() { callback(reader.result); }); reader.readAsArrayBuffer(file); }, <|file_sep|>original/...
fefc635e2544319b2e90c963a5b814c23fd3aeba
src/js/utils/FileUtils.js
src/js/utils/FileUtils.js
JavaScript
<|file_sep|>original/spec/spec_helper.rb require 'simplecov' SimpleCov.start require 'codeclimate-test-reporter' CodeClimate::TestReporter.start require 'pry' require 'omniauth-g5' Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f } require 'webmock/rspec' # See http://rubydoc.info/gems/rs...
require 'simplecov' SimpleCov.start 'test_frameworks' require 'codeclimate-test-reporter' CodeClimate::TestReporter.start require 'pry' require 'omniauth-g5' Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f } require 'webmock/rspec' # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Con...
<|file_sep|>original/spec/spec_helper.rb require 'simplecov' SimpleCov.start require 'codeclimate-test-reporter' CodeClimate::TestReporter.start require 'pry' require 'omniauth-g5' Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f } require 'webmock/rspec' # See http://rubydoc.info/gems/rs...
843cc5b5857d5f1ae6726496a36c9ca7fe07e5f3
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/project.clj (defproject buddy/buddy-auth "0.6.1" :description "Authentication and Authorization facilities for ring based web applications." :url "https://github.com/funcool/buddy-auth" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies...
(defproject buddy/buddy-auth "0.6.1" :description "Authentication and Authorization facilities for ring based web applications." :url "https://github.com/funcool/buddy-auth" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies [[org.clojure/clojure "1.7.0" :s...
<|file_sep|>original/project.clj (defproject buddy/buddy-auth "0.6.1" :description "Authentication and Authorization facilities for ring based web applications." :url "https://github.com/funcool/buddy-auth" :license {:name "Apache 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0"} :dependencies...
a3b0d14e111b95855cb5661e0bf18af67ab4a89a
project.clj
project.clj
Clojure
<|file_sep|>test/test_helper.rb.diff original: updated: # proccess background jobs Delayed::Worker.new.work_off <|file_sep|>test/test_helper.rb.diff original: setup do updated: def setup <|file_sep|>original/test/test_helper.rb # clear cache Cache.clear # load seeds load "#{Rails.root}/db/seeds.rb" ...
def setup # clear cache Cache.clear # set current user puts 'reset UserInfo.current_user_id' UserInfo.current_user_id = nil end # cleanup jobs def teardown puts 'teardown' # check if jobs are proccessed if !Delayed::Job.all.empty? Delayed::Job.all.destroy_all end ...
<|file_sep|>test/test_helper.rb.diff original: updated: # proccess background jobs Delayed::Worker.new.work_off <|file_sep|>test/test_helper.rb.diff original: setup do updated: def setup <|file_sep|>original/test/test_helper.rb # clear cache Cache.clear # load seeds load "#{Rails.root}/db/seeds.rb" ...
b566a36797cc40be80aeeeb9ce8a63bcc1ffed52
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>original/54_TODO.txt Replace default.css with Twitter Bootstrap + Tapestry extensions. Include a new Java module that supports writing an exception log file on error. New module to replace tapestry-yuicompressor that is based on WRO4J. Merge PageCatalog and ServiceStatus into a Dashboard page - make it e...
Include a new Java module that supports writing an exception log file on error. New module to replace tapestry-yuicompressor that is based on WRO4J. Merge PageCatalog and ServiceStatus into a Dashboard page - make it extensible - Hibernate status too Start collecting various stats, store in RRD (round robin database...
<|file_sep|>original/54_TODO.txt Replace default.css with Twitter Bootstrap + Tapestry extensions. Include a new Java module that supports writing an exception log file on error. New module to replace tapestry-yuicompressor that is based on WRO4J. Merge PageCatalog and ServiceStatus into a Dashboard page - make it e...
6aa716288b0b9002a7b862fb9e4b11ce67ddd018
54_TODO.txt
54_TODO.txt
Text
<|file_sep|>refctx/refctx.go.diff original: updated: "github.com/SentimensRG/ctx" <|file_sep|>refctx/refctx.go.diff original: cancel context.CancelFunc refcnt int32 updated: cancel func() refcnt uint32 <|file_sep|>refctx/refctx.go.diff original: func (r *RefCtr) Add(i int32) { if v := atomic.AddInt32(&r.refcnt,...
func (r *RefCtr) Add(i uint32) { if v := atomic.AddUint32(&r.refcnt, i); v == 0 { r.cancel() } } // Decr decrements the refcount func (r *RefCtr) Decr() { atomic.AddUint32(&r.refcnt, ^uint32(0)) } // WithRefCount derives a ctx.C that will be cancelled when all references are // freed func WithRefCount(d ctx.Doner...
<|file_sep|>refctx/refctx.go.diff original: updated: "github.com/SentimensRG/ctx" <|file_sep|>refctx/refctx.go.diff original: cancel context.CancelFunc refcnt int32 updated: cancel func() refcnt uint32 <|file_sep|>refctx/refctx.go.diff original: func (r *RefCtr) Add(i int32) { if v := atomic.AddInt32(&r.refcnt,...
cd44a3fcebfc3f67f87a9e4614d1848b0c617204
refctx/refctx.go
refctx/refctx.go
Go
<|file_sep|>original/experiments/simple_opt.cpp <|file_sep|>current/experiments/simple_opt.cpp <|file_sep|>updated/experiments/simple_opt.cpp
#include <atomic> extern "C" { #if 0 } #endif const std::memory_order mo_rlx = std::memory_order_relaxed; const std::memory_order mo_rel = std::memory_order_release; const std::memory_order mo_acq = std::memory_order_acquire; const std::memory_order mo_acq_rel = std::memory_order_acq_rel; int load_store(std::atomic<...
<|file_sep|>original/experiments/simple_opt.cpp <|file_sep|>current/experiments/simple_opt.cpp <|file_sep|>updated/experiments/simple_opt.cpp #include <atomic> extern "C" { #if 0 } #endif const std::memory_order mo_rlx = std::memory_order_relaxed; const std::memory_order mo_rel = std::memory_order_release; const std...
f4aeebb58d3515d4480b346b767ab0ceb038e999
experiments/simple_opt.cpp
experiments/simple_opt.cpp
C++
<|file_sep|>original/Cargo.toml [package] name = "syntect" version = "0.1.0" authors = ["Tristan Hume <tristan@thume.ca>"] [dependencies] yaml-rust = "0.3" # TODO: switch this back to crates.io once a new release with my fix is published onig = { git = "https://github.com/rust-onig/rust-onig.git", rev = "d152d45" } wa...
[package] name = "syntect" version = "0.1.0" authors = ["Tristan Hume <tristan@thume.ca>"] [dependencies] yaml-rust = "0.3" onig = "0.5.1" walkdir = "0.1"
<|file_sep|>original/Cargo.toml [package] name = "syntect" version = "0.1.0" authors = ["Tristan Hume <tristan@thume.ca>"] [dependencies] yaml-rust = "0.3" # TODO: switch this back to crates.io once a new release with my fix is published onig = { git = "https://github.com/rust-onig/rust-onig.git", rev = "d152d45" } wa...
19c673ff3fed954b37106608b524c012cc526ad1
Cargo.toml
Cargo.toml
TOML
<|file_sep|>heroku.sh.diff original: updated: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$DIR" <|file_sep|>original/heroku.sh #!/bin/bash message="$(git log -1 --pretty=%B)" message="$(echo -e $message)" rm -rf _html python main.py cd _html touch composer.json touch index.php mv index.html hom...
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$DIR" message="$(git log -1 --pretty=%B)" message="$(echo -e $message)" rm -rf _html python main.py cd _html touch composer.json touch index.php mv index.html home.html echo '<?php include_once("home.html"); ?>' > index.php echo '{}' > comp...
<|file_sep|>heroku.sh.diff original: updated: DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$DIR" <|file_sep|>original/heroku.sh #!/bin/bash message="$(git log -1 --pretty=%B)" message="$(echo -e $message)" rm -rf _html python main.py cd _html touch composer.json touch index.php mv index.html hom...
28622a6ab877ddac0d6b1362a9f5ca088c8b47f5
heroku.sh
heroku.sh
Shell
<|file_sep|>resources.md.diff original: updated: - [The Agile Manifesto](http://agilemanifesto.org/) <|file_sep|>original/resources.md # Resources - [Actionable Ways to Improve Psychological Safety on Teams](https://medium.com/@johnpcutler/actionable-ways-to-improve-psychological-safety-on-teams-9d9a2a3940cf) - [Arti...
# Resources - [Actionable Ways to Improve Psychological Safety on Teams](https://medium.com/@johnpcutler/actionable-ways-to-improve-psychological-safety-on-teams-9d9a2a3940cf) - [The Agile Manifesto](http://agilemanifesto.org/) - [Articles and talks by Jennifer Tucker on motivating teams](http://tuckertalk.net/blog2/a...
<|file_sep|>resources.md.diff original: updated: - [The Agile Manifesto](http://agilemanifesto.org/) <|file_sep|>original/resources.md # Resources - [Actionable Ways to Improve Psychological Safety on Teams](https://medium.com/@johnpcutler/actionable-ways-to-improve-psychological-safety-on-teams-9d9a2a3940cf) - [Arti...
7f80dde102f04529d08d712043ccc80bb7eef45e
resources.md
resources.md
Markdown
<|file_sep|>original/util/util.go package util import "fmt" import "os" func MaybePanic(err error) { if err != nil { panic(err) } } func Debugging() bool { return os.Getenv("GOLOG_DEBUG") != "" } func Debugf(format string, args ...interface{}) { if Debugging() { fmt.Printf(format, args...) } } <|file_sep|>...
package util import "fmt" import "os" func MaybePanic(err error) { if err != nil { panic(err) } } func Debugging() bool { return os.Getenv("GOLOG_DEBUG") != "" } func Debugf(format string, args ...interface{}) { if Debugging() { fmt.Fprintf(os.Stderr, format, args...) } }
<|file_sep|>original/util/util.go package util import "fmt" import "os" func MaybePanic(err error) { if err != nil { panic(err) } } func Debugging() bool { return os.Getenv("GOLOG_DEBUG") != "" } func Debugf(format string, args ...interface{}) { if Debugging() { fmt.Printf(format, args...) } } <|file_sep|>...
f913d71d8808825ea2358731fc464e5aae542b57
util/util.go
util/util.go
Go
<|file_sep|>original/templates/components/project_card.html <div class="col s12 m6 l6 xl6"> <div class="card"> <div class="card-image"> {% if image %} <img src="{{ image }}"/> {% else %} <img src="/images/project_thumbs/no_image.png" /> {% endif %} </div> <...
<div class="col s12 m6 l6 xl6"> <div class="card"> <div class="card-image"> {% if image %} <img src="{{ image }}"/> {% else %} <img src="/images/project_thumbs/no_image.png" /> {% endif %} </div> <div class="card-content"> <span class="card-title">{...
<|file_sep|>original/templates/components/project_card.html <div class="col s12 m6 l6 xl6"> <div class="card"> <div class="card-image"> {% if image %} <img src="{{ image }}"/> {% else %} <img src="/images/project_thumbs/no_image.png" /> {% endif %} </div> <...
7159667f60b80dc708e2a1ea258b8912cf121e55
templates/components/project_card.html
templates/components/project_card.html
HTML
<|file_sep|>original/requirements.txt tqdm==4.19.6 numpy==1.14.0 pandas==0.22.0 astropy==3.0 matplotlib==2.1.2 multiprocess==0.70.5 scipy==1.0.0 <|file_sep|>current/requirements.txt tqdm==4.19.6 numpy==1.14.0 pandas==0.22.0 astropy==3.0 matplotlib==2.1.2 multiprocess==0.70.5 scipy==1.0.0 <|file_sep|>updated/requirement...
tqdm==4.19.6 numpy==1.14.1 pandas==0.22.0 astropy==3.0 matplotlib==2.1.2 multiprocess==0.70.5 scipy==1.0.0
<|file_sep|>original/requirements.txt tqdm==4.19.6 numpy==1.14.0 pandas==0.22.0 astropy==3.0 matplotlib==2.1.2 multiprocess==0.70.5 scipy==1.0.0 <|file_sep|>current/requirements.txt tqdm==4.19.6 numpy==1.14.0 pandas==0.22.0 astropy==3.0 matplotlib==2.1.2 multiprocess==0.70.5 scipy==1.0.0 <|file_sep|>updated/requirement...
5626e1e18830106517643a8f0359c0189d68da61
requirements.txt
requirements.txt
Text
<|file_sep|>original/t/lib/starter.pm6 #!/usr/bin/env perl6 module starter; use lib 'lib'; use HTTP::Server::Async; use Test; my $host = '127.0.0.1'; my $port = (6000..8000).pick; my $s; sub host is export { $host; } sub port is export { $port; } sub srv(|opts) is export { $s = HTTP::Server::Async.new(:$host, :$po...
#!/usr/bin/env perl6 unit module starter; use lib 'lib'; use HTTP::Server::Async; use Test; my $host = '127.0.0.1'; my $port = (6000..8000).pick; my $s; sub host is export { $host; } sub port is export { $port; } sub srv(|opts) is export { $s = HTTP::Server::Async.new(:$host, :$port, |opts) or die 'dead'; return...
<|file_sep|>original/t/lib/starter.pm6 #!/usr/bin/env perl6 module starter; use lib 'lib'; use HTTP::Server::Async; use Test; my $host = '127.0.0.1'; my $port = (6000..8000).pick; my $s; sub host is export { $host; } sub port is export { $port; } sub srv(|opts) is export { $s = HTTP::Server::Async.new(:$host, :$po...
042f5aef537901f75a35caf1169ccebef6a8ada3
t/lib/starter.pm6
t/lib/starter.pm6
Perl6
<|file_sep|>original/README.md JavaScript SpatialNavigation ============================ A javascript-based implementation of Spatial Navigation. + [Demonstration](http://luke-chang.github.io/js-spatial-navigation/demo/) License ------- Copyright (c) 2016 Luke Chang. Licensed under the MPL license. <|file_sep|>cur...
JavaScript SpatialNavigation ============================ A javascript-based implementation of Spatial Navigation. + [Demonstration](http://luke-chang.github.io/js-spatial-navigation/demo/) Browser Support --------------- Chrome 5, Firefox 4, IE 9, Opera 10.5, Safari 5 License ------- Copyright (c) 2016 Luke Chan...
<|file_sep|>original/README.md JavaScript SpatialNavigation ============================ A javascript-based implementation of Spatial Navigation. + [Demonstration](http://luke-chang.github.io/js-spatial-navigation/demo/) License ------- Copyright (c) 2016 Luke Chang. Licensed under the MPL license. <|file_sep|>cur...
ee2dff08b3f9532db5706671a6070cf799119ce6
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - 2.3.1 <|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.2.4 - 2.1.8 - ruby-head matrix: allow_failures: - rvm: ruby-head include: - rvm: 1.9.3 env: JEKYLL_VERSION=2.5 - rvm: 2.3.0 env: JEKYLL_VERSION=3.1 env: matrix: ...
sudo: false language: ruby rvm: - 2.3.1 - 2.2.4 - 2.1.8 env: matrix: - JEKYLL_VERSION=2.5 - JEKYLL_VERSION=3.1 branches: only: - master install: - travis_retry script/bootstrap script: script/cibuild notifications: irc: on_success: change on_failure: change channels:
<|file_sep|>.travis.yml.diff original: updated: - 2.3.1 <|file_sep|>original/.travis.yml sudo: false language: ruby rvm: - 2.2.4 - 2.1.8 - ruby-head matrix: allow_failures: - rvm: ruby-head include: - rvm: 1.9.3 env: JEKYLL_VERSION=2.5 - rvm: 2.3.0 env: JEKYLL_VERSION=3.1 env: matrix: ...
4ef6393eb4af273e06e93e50ed580fbe11fa251e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/content/posts/2018-02-05-posix-make-note.md <|file_sep|>current/content/posts/2018-02-05-posix-make-note.md <|file_sep|>updated/content/posts/2018-02-05-posix-make-note.md
--- title: "Posix & GNU Make Note" date: 2018-02-05T18:00:50+08:00 categories: "Notes" tags: ["make", "makefile"] description: "Note on make and makefile" draft: false --- ## Compile Source code -> object file: "\*.c -> \*.o" ## Link Object files -> executable: "\*.o -> a.out" # makefile ## Rules
<|file_sep|>original/content/posts/2018-02-05-posix-make-note.md <|file_sep|>current/content/posts/2018-02-05-posix-make-note.md <|file_sep|>updated/content/posts/2018-02-05-posix-make-note.md --- title: "Posix & GNU Make Note" date: 2018-02-05T18:00:50+08:00 categories: "Notes" tags: ["make", "makefile"] description...
ad8b403f8c84d7d7da350a822997140699d75e5d
content/posts/2018-02-05-posix-make-note.md
content/posts/2018-02-05-posix-make-note.md
Markdown
<|file_sep|>original/gamification/dashboard/dashboard.html <div id="dashboard-status"> <img class="avatar" src="{{ user.avatar }}"> <div class="infos"> <h3>{{ user.username }}</h3> <div class="level">{{ reputation.level }}</div> <div class="xp-bar"> <div class="xp" style="width: {{ reputation.p...
<h2>Dashboard</h2> <div id="dashboard-status"> <img class="avatar" src="{{ user.avatar }}"> <div class="infos"> <h3>{{ user.username }}</h3> <div class="level">{{ reputation.level }}</div> <div class="xp-bar"> <div class="xp" style="width: {{ reputation.percentage }}%;"></div> <div class...
<|file_sep|>original/gamification/dashboard/dashboard.html <div id="dashboard-status"> <img class="avatar" src="{{ user.avatar }}"> <div class="infos"> <h3>{{ user.username }}</h3> <div class="level">{{ reputation.level }}</div> <div class="xp-bar"> <div class="xp" style="width: {{ reputation.p...
05b1ab2d9a4c7777cb0d78ed7bc89010a8e51535
gamification/dashboard/dashboard.html
gamification/dashboard/dashboard.html
HTML
<|file_sep|>src/component.js.diff original: import { select, local } from "d3-selection"; updated: import { select } from "d3-selection"; <|file_sep|>src/component.js.diff original: return function (selection, props){ updated: return function (selection, data){ <|file_sep|>src/component.js.diff original: .dat...
import { select } from "d3-selection"; export default function (component){ var className = component.className, tagName = component.tagName, render = component.render || function(){}; return function (selection, data){ var components = selection .selectAll(className ? "." + className : tagNa...
<|file_sep|>src/component.js.diff original: import { select, local } from "d3-selection"; updated: import { select } from "d3-selection"; <|file_sep|>src/component.js.diff original: return function (selection, props){ updated: return function (selection, data){ <|file_sep|>src/component.js.diff original: .dat...
bde8d1c1ec1f94e02eb00b9170693cf4af788948
src/component.js
src/component.js
JavaScript
<|file_sep|>original/src/components/shared/BadgeButton.js import React from 'react' import PropTypes from 'prop-types' const BadgeButton = ({label, url}) => <a href={url} type="application/hal+json"> <span style={{ fontSize: '0.8em', backgroundColor: 'white', borderRadius: '3px', ...
import React from 'react' import PropTypes from 'prop-types' const BadgeButton = ({label, url}) => <a href={url} type="application/hal+json"> <span style={{ border-radius: 60px, color: white, padding: 4px 12px 4px, font-weight: 500, background-color: #01c0c...
<|file_sep|>original/src/components/shared/BadgeButton.js import React from 'react' import PropTypes from 'prop-types' const BadgeButton = ({label, url}) => <a href={url} type="application/hal+json"> <span style={{ fontSize: '0.8em', backgroundColor: 'white', borderRadius: '3px', ...
ef51eb1fd8e5b006d13427407cabe9e467642af2
src/components/shared/BadgeButton.js
src/components/shared/BadgeButton.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.1.2 gemfile: - Gemfile notifications: email: on_success: never on_failure: never slack: secure: 8b8dwwpHEw7vYd5Vma/BK2dZBrKYpFtu8TN8+NtpW8Xp+boYY3hEaFCeeEySzDvacCBZFKjjvDxverOFd4jqml2MtOukNZ/zlFc7ZVybGsNirfisNucS7auvwoWPwVrzrHoNpB5nT...
language: ruby rvm: - 1.9.3 - 2.1.2 gemfile: - Gemfile before_install: - gem install bundler -v 1.11.2 notifications: email: on_success: never on_failure: never slack: secure: 8b8dwwpHEw7vYd5Vma/BK2dZBrKYpFtu8TN8+NtpW8Xp+boYY3hEaFCeeEySzDvacCBZFKjjvDxverOFd4jqml2MtOukNZ/zlFc7ZVybGsNirfisNucS7auv...
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.1.2 gemfile: - Gemfile notifications: email: on_success: never on_failure: never slack: secure: 8b8dwwpHEw7vYd5Vma/BK2dZBrKYpFtu8TN8+NtpW8Xp+boYY3hEaFCeeEySzDvacCBZFKjjvDxverOFd4jqml2MtOukNZ/zlFc7ZVybGsNirfisNucS7auvwoWPwVrzrHoNpB5nT...
0f84a1c14f8f1232915fd1a940bebaa062f374e8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/zsh/config/bindings.sh # zsh-users/zsh-autosuggestions bindkey '^[[C' autosuggest-accept bindkey '^ ' autosuggest-accept bindkey -M vicmd ' ' autosuggest-accept bindkey -M vicmd 'L' autosuggest-accept # zsh-users/zsh-history-substring-search bindkey -M vicmd 'k' history-substring-search-up bindkey...
# zsh-users/zsh-autosuggestions bindkey '^ ' autosuggest-accept bindkey -M vicmd ' ' autosuggest-accept bindkey -M vicmd 'L' autosuggest-accept # zsh-users/zsh-history-substring-search bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'j' history-substring-search-down
<|file_sep|>original/zsh/config/bindings.sh # zsh-users/zsh-autosuggestions bindkey '^[[C' autosuggest-accept bindkey '^ ' autosuggest-accept bindkey -M vicmd ' ' autosuggest-accept bindkey -M vicmd 'L' autosuggest-accept # zsh-users/zsh-history-substring-search bindkey -M vicmd 'k' history-substring-search-up bindkey...
9a016b8efedf94d6be972e3853a41fff7ffe59c9
zsh/config/bindings.sh
zsh/config/bindings.sh
Shell
<|file_sep|>original/Tests/Features/Blog/edit.feature When I follow "Blog" Then I should see "Create a post now" When I follow "Create a post now" Then I should see "Create a new post" Then I should see "If this field is empty, the slug will be autogenerated" Given I fill...
When I follow "Blog" Then I should see "Create a post now" When I follow "Create a post now" Then I should see "Create a new post" Then I should see "If this field is empty, the slug will be autogenerated" Given I fill in "article_translations_en_name" with "I'm your fath...
<|file_sep|>original/Tests/Features/Blog/edit.feature When I follow "Blog" Then I should see "Create a post now" When I follow "Create a post now" Then I should see "Create a new post" Then I should see "If this field is empty, the slug will be autogenerated" Given I fill...
0bd973721e1380b144931de395f78dd6e939a415
Tests/Features/Blog/edit.feature
Tests/Features/Blog/edit.feature
Cucumber
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" after_success: - chmod +x ./scripts/*.sh - chmod +x ./scripts/for-travis/*.sh - ./scripts/for-travis/build-and-deploy.sh env: global: - TDDBIN_ROOT_DOMAIN: tddbin.com - GH_EMAIL: contact+travis-for-tddbin@uxebu.com - GH_REF: github.co...
language: node_js node_js: - "0.10" after_success: - chmod +x ./scripts/*.sh - chmod +x ./scripts/for-travis/*.sh - ./scripts/for-travis/build-and-deploy.sh env: global: - TDDBIN_ROOT_DOMAIN: tddbin.com - GH_EMAIL: contact+travis-for-tddbin@uxebu.com - GH_REF: github.com/tddbin/katas.git - secure: Cl...
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" after_success: - chmod +x ./scripts/*.sh - chmod +x ./scripts/for-travis/*.sh - ./scripts/for-travis/build-and-deploy.sh env: global: - TDDBIN_ROOT_DOMAIN: tddbin.com - GH_EMAIL: contact+travis-for-tddbin@uxebu.com - GH_REF: github.co...
7ef6b9231bca0cd9c4111685977310123f1aacbb
.travis.yml
.travis.yml
YAML
<|file_sep|>src/VisionTool.js.diff original: import {createRoute} from 'part:@sanity/base/router' updated: import {route} from 'part:@sanity/base/router' <|file_sep|>original/src/VisionTool.js import React from 'react' import SanityVision from './SanityVision' import {createRoute} from 'part:@sanity/base/router' expor...
import React from 'react' import SanityVision from './SanityVision' import {route} from 'part:@sanity/base/router' export default { router: route('/*'), name: 'Vision', icon: function VisionIcon() { return <div /> }, component: SanityVision }
<|file_sep|>src/VisionTool.js.diff original: import {createRoute} from 'part:@sanity/base/router' updated: import {route} from 'part:@sanity/base/router' <|file_sep|>original/src/VisionTool.js import React from 'react' import SanityVision from './SanityVision' import {createRoute} from 'part:@sanity/base/router' expor...
7f9687c9922e50d41b3dcf36695efbf46658a77f
src/VisionTool.js
src/VisionTool.js
JavaScript
<|file_sep|>original/system/ORM/Annotation/Table.php * @Annotation\Target("CLASS") */ class Table extends Annotation { /** * @var string * @Annotation\Required() */ public $name; /** * @var string */ public $prefix = DB_PREFIX; /** * Link Name, default is default. ...
/** * @var string */ public $prefix = DB_PREFIX; /** * Link Name, default is default. * @var string */ public $link = 'default'; /** * Class Name of entity * @var null|string */ private $className = null; /** * Get full table name * @retu...
<|file_sep|>original/system/ORM/Annotation/Table.php * @Annotation\Target("CLASS") */ class Table extends Annotation { /** * @var string * @Annotation\Required() */ public $name; /** * @var string */ public $prefix = DB_PREFIX; /** * Link Name, default is default. ...
3ab58cc2edd67c3f21daecdb3d745612a124a2f4
system/ORM/Annotation/Table.php
system/ORM/Annotation/Table.php
PHP
<|file_sep|>original/catalog/CSS/css_with_ruby.yml name: CSS with Ruby description: projects: - airblade/css_dryer - anjlab-bootstrap-rails - bootstrap-sass - bourbon - compass - deadweight - less - patterns - rainpress - sass - sass-rails - smurfville - stylish - stylus - twitter-bootstra...
name: CSS with Ruby description: projects: - airblade/css_dryer - bootstrap-sass - bourbon - compass - deadweight - less - patterns - rainpress - sass - sass-rails - smurfville - stylish - stylus - twitter-bootstrap-rails - twitter-bootswatch-rails - twitter-bootswatch-rails-fontawesome ...
<|file_sep|>original/catalog/CSS/css_with_ruby.yml name: CSS with Ruby description: projects: - airblade/css_dryer - anjlab-bootstrap-rails - bootstrap-sass - bourbon - compass - deadweight - less - patterns - rainpress - sass - sass-rails - smurfville - stylish - stylus - twitter-bootstra...
0f09aaaf41c53c4810c22f5bb58e777b2f1926f5
catalog/CSS/css_with_ruby.yml
catalog/CSS/css_with_ruby.yml
YAML
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.6.2 alagitpull==0.0.11 releases==1.3.1 # Updated from 1.2.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.6.2 alagitpull==0.0.11 releases==1.3.1 # Updated from 1.2.0 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt sphinx==1.6.2 alagitpull==0.0.12 releases==1.3.1 # Updated from 1.2.0
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.6.2 alagitpull==0.0.11 releases==1.3.1 # Updated from 1.2.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.6.2 alagitpull==0.0.11 releases==1.3.1 # Updated from 1.2.0 <|file_sep|>updated/requirements/doc.txt -r ./base.txt sphinx==1.6.2 ...
ba22046d502dc6afb0f6d14d8d121837a6cc2950
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/.travis.yml sudo: false language: ruby before_install: gem install bundler -v 1.14.6 rvm: - "2.4.0" - "2.3.4" - "2.2.7" - "2.1.10" - "2.0.0" - "1.9.3" - "ruby-head" - "jruby" - "jruby-19mode" - "jruby-head" matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head <|...
sudo: false language: ruby before_install: gem install bundler -v 1.14.6 rvm: - "2.4.1" - "2.3.4" - "2.2.7" - "2.1.10" - "2.0.0" - "1.9.3" - "ruby-head" - "jruby" - "jruby-19mode" - "jruby-head" matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head
<|file_sep|>original/.travis.yml sudo: false language: ruby before_install: gem install bundler -v 1.14.6 rvm: - "2.4.0" - "2.3.4" - "2.2.7" - "2.1.10" - "2.0.0" - "1.9.3" - "ruby-head" - "jruby" - "jruby-19mode" - "jruby-head" matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head <|...
7278733ad7604a86a6dcc52f2e957240049182c2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Casks/telegram.rb cask :v1 => 'telegram' do version '0.7.17' sha256 '8c724f209947f224b7fea4a88f56e8c54c593fd50b28455cebf6a3462f47d395' # tdesktop.com is the official download host per the vendor homepage url "https://updates.tdesktop.com/tmac/tsetup.#{version}.dmg" name 'Telegram' home...
cask :v1 => 'telegram' do version '0.8.3' sha256 'e1ece44ceba78952f113759ad425cf9ebddae357fd6ca6eebd559195fadbc704' # tdesktop.com is the official download host per the vendor homepage url "https://updates.tdesktop.com/tmac/tsetup.#{version}.dmg" name 'Telegram' homepage 'https://telegram.org/' license :...
<|file_sep|>original/Casks/telegram.rb cask :v1 => 'telegram' do version '0.7.17' sha256 '8c724f209947f224b7fea4a88f56e8c54c593fd50b28455cebf6a3462f47d395' # tdesktop.com is the official download host per the vendor homepage url "https://updates.tdesktop.com/tmac/tsetup.#{version}.dmg" name 'Telegram' home...
bef2371263d76a2ce48e07cc5d0af1f294a3cd8b
Casks/telegram.rb
Casks/telegram.rb
Ruby
<|file_sep|>original/website/app/application/core/projects/project/home/home.js ctrl.templates = templates; ctrl.hasFavorites = _.partial(_.any, ctrl.templates, _.matchesProperty('favorite', true)); ///////////////////////// function chooseTemplate() { mcmodal.chooseTemplat...
ctrl.templates = templates; ctrl.hasFavorites = _.partial(_.any, ctrl.templates, _.matchesProperty('favorite', true)); ///////////////////////// function chooseTemplate() { mcmodal.chooseTemplate(ctrl.project, templates).then(function (processTemplateName) { ...
<|file_sep|>original/website/app/application/core/projects/project/home/home.js ctrl.templates = templates; ctrl.hasFavorites = _.partial(_.any, ctrl.templates, _.matchesProperty('favorite', true)); ///////////////////////// function chooseTemplate() { mcmodal.chooseTemplat...
028adbb9b7f634bffd100823f5c7cfcba034837d
website/app/application/core/projects/project/home/home.js
website/app/application/core/projects/project/home/home.js
JavaScript
<|file_sep|>original/CHANGELOG.md **v2.2.0** - 2016.01.10 * Update dependencies * Update RoG logo * Add talent pictures for every hero * Add Popular Builds from hotslogs.com **v2.1.0** - 2015.12.26 * Add Contact link to footer * Add talent images **v2.0.2** - 2015.12.23 * Add Republic of Gamers logo * Add new hero...
**v2.2.0** - 2016.01.10 * Update dependencies * Update RoG logo * Add talent pictures for every hero * Add Popular Builds from hotslogs.com * Add initial version of app analytics **v2.1.0** - 2015.12.26 * Add Contact link to footer * Add talent images **v2.0.2** - 2015.12.23 * Add Republic of Gamers logo * Add new...
<|file_sep|>original/CHANGELOG.md **v2.2.0** - 2016.01.10 * Update dependencies * Update RoG logo * Add talent pictures for every hero * Add Popular Builds from hotslogs.com **v2.1.0** - 2015.12.26 * Add Contact link to footer * Add talent images **v2.0.2** - 2015.12.23 * Add Republic of Gamers logo * Add new hero...
67f1467e00501f2afbb98cf53c2f39b30d80d083
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>knockout-context-util.js.diff original: define(['knockout', 'jquery'], function (ko, $) { var defaultBodySelector = 'body'; updated: define(['module', 'knockout', 'jquery'], function (module, ko, $) { var defaultBodySelector; if (module && typeof module.config === 'function' && typeof module.config()....
if (!context) { return; } root = context.$root; if (!root) { return; } return root; } }; var getContext = createGetContext(); return { getContext: getContext, getRoot: createGetRoot(getContext), getViewModel: createGetViewModel(getContext) ...
<|file_sep|>knockout-context-util.js.diff original: define(['knockout', 'jquery'], function (ko, $) { var defaultBodySelector = 'body'; updated: define(['module', 'knockout', 'jquery'], function (module, ko, $) { var defaultBodySelector; if (module && typeof module.config === 'function' && typeof module.config()....
ce1859248b06e5d6e61e9a5704a5655233bec609
knockout-context-util.js
knockout-context-util.js
JavaScript
<|file_sep|>original/README.md But it covers the challenge requirements and gave me a chance to have a well tested core, with a number of flexible interfaces. ## Setup ```bash composer install ``` ## running tests ```bash phpunit tests/ArrayValueFinderTest.php ``` ## running script ```bash chmod u+x ./find_in_json.p...
But it covers the challenge requirements and gave me a chance to have a well tested core, with a number of flexible interfaces. ## Setup ```bash composer install ``` ## running tests ```bash vendor/bin/phpunit tests/ArrayValueFinderTest.php ``` ## running script ```bash chmod u+x ./find_in_json.php cat examples/test...
<|file_sep|>original/README.md But it covers the challenge requirements and gave me a chance to have a well tested core, with a number of flexible interfaces. ## Setup ```bash composer install ``` ## running tests ```bash phpunit tests/ArrayValueFinderTest.php ``` ## running script ```bash chmod u+x ./find_in_json.p...
10d7c16218d97447714070dd2c6b2d2d77ab2a63
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - 2.5 <|file_sep|>original/.travis.yml - CC_TEST_REPORTER_ID=9f7f740ac1b6e264e1189fa07a6687a87bcdb9f3c0f4199d4344ab3b538e187e rvm: - 2.1 - 2.2 - 2.3 - 2.4 before_install: - wget http://www.us.apache.org/dist/kafka/1.0.0/kafka_2.12-1.0.0.tgz -O kafka.tgz...
- CC_TEST_REPORTER_ID=9f7f740ac1b6e264e1189fa07a6687a87bcdb9f3c0f4199d4344ab3b538e187e rvm: - 2.1 - 2.2 - 2.3 - 2.4 - 2.5 before_install: - gem update --system - wget http://www.us.apache.org/dist/kafka/1.0.0/kafka_2.12-1.0.0.tgz -O kafka.tgz - mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-...
<|file_sep|>.travis.yml.diff original: updated: - 2.5 <|file_sep|>original/.travis.yml - CC_TEST_REPORTER_ID=9f7f740ac1b6e264e1189fa07a6687a87bcdb9f3c0f4199d4344ab3b538e187e rvm: - 2.1 - 2.2 - 2.3 - 2.4 before_install: - wget http://www.us.apache.org/dist/kafka/1.0.0/kafka_2.12-1.0.0.tgz -O kafka.tgz...
fd4594b071aa6c5d55f5d7a3142b6892b455f61e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/code/request/AssetUrlConversionFilter.php public function setConvertUrls($v) { $this->convertUrls = $v; } public function postRequest(\SS_HTTPRequest $request, \SS_HTTPResponse $response, \DataModel $model) { if ($this->convertUrls) { $body = $...
public function setConvertUrls($v) { $this->convertUrls = $v; } public function postRequest(\SS_HTTPRequest $request, \SS_HTTPResponse $response, \DataModel $model) { if ($this->convertUrls) { $body = $response->getBody(); // if (preg_match_...
<|file_sep|>original/code/request/AssetUrlConversionFilter.php public function setConvertUrls($v) { $this->convertUrls = $v; } public function postRequest(\SS_HTTPRequest $request, \SS_HTTPResponse $response, \DataModel $model) { if ($this->convertUrls) { $body = $...
4e5f3e7a64111ea6c82e54f4d5bcae1e44360c2f
code/request/AssetUrlConversionFilter.php
code/request/AssetUrlConversionFilter.php
PHP
<|file_sep|>generator.go.diff original: updated: // A Command represents a command which has flags. <|file_sep|>generator.go.diff original: updated: // A Flag represents the information of a flag. <|file_sep|>generator.go.diff original: Short []string Long []string Arg string Description stri...
// RegisterGenerator makes a completion generator available // by the provided name. func RegisterGenerator(name string, g Generator) { generatorsMu.Lock() defer generatorsMu.Unlock() if _, dup := generators[name]; dup { panic("RegisterGenerator called twice for generator " + name) } generators[name] = g } // L...
<|file_sep|>generator.go.diff original: updated: // A Command represents a command which has flags. <|file_sep|>generator.go.diff original: updated: // A Flag represents the information of a flag. <|file_sep|>generator.go.diff original: Short []string Long []string Arg string Description stri...
e25741eadca9875c822f2df7bbdaad5c22d934ed
generator.go
generator.go
Go
<|file_sep|>app/assets/javascripts/components/ClearInput.js.diff original: var _this = this; updated: <|file_sep|>app/assets/javascripts/components/ClearInput.js.diff original: var fn = (this.$resetInput.val() == '') ? 'removeClass' : 'addClass'; updated: var fn = this.$resetInput.val() === '' ? 'removeCla...
*/ ClearInput.prototype.init = function(initialised) { this._initialisedSuccess(initialised); }; ClearInput.prototype.updateResetButton = function() { var fn = this.$resetInput.val() === '' ? 'removeClass' : 'addClass'; this.$resetButton[fn]('is-active'); }; // We are progressively enhancing the...
<|file_sep|>app/assets/javascripts/components/ClearInput.js.diff original: var _this = this; updated: <|file_sep|>app/assets/javascripts/components/ClearInput.js.diff original: var fn = (this.$resetInput.val() == '') ? 'removeClass' : 'addClass'; updated: var fn = this.$resetInput.val() === '' ? 'removeCla...
288df663a89979e9df524ee7d0127a537074efac
app/assets/javascripts/components/ClearInput.js
app/assets/javascripts/components/ClearInput.js
JavaScript
<|file_sep|>original/app/navbar.component.ts inputs: ['selectedTab'], events: ['selectedTabChanged'] }) export class NavbarComponent { public selectedTab: NavbarTab; public selectedTabChanged = new EventEmitter<NavbarTab>(); private tabs: NavbarTab[] = [ { name: "Reminders", filter: (s: number) => { retur...
}) export class NavbarComponent { public selectedTab: NavbarTab; public selectedTabChanged = new EventEmitter<NavbarTab>(); private tabs: NavbarTab[] = [ { name: "Reminders", filter: (s: number) => { return s == 1 || s == 2 } }, { name: "Timers", filter: (s: number) => { return s == 0 } }, { name: "Lo...
<|file_sep|>original/app/navbar.component.ts inputs: ['selectedTab'], events: ['selectedTabChanged'] }) export class NavbarComponent { public selectedTab: NavbarTab; public selectedTabChanged = new EventEmitter<NavbarTab>(); private tabs: NavbarTab[] = [ { name: "Reminders", filter: (s: number) => { retur...
f6a0a080f46f3b6d159b565b45458c5e066cc63d
app/navbar.component.ts
app/navbar.component.ts
TypeScript
<|file_sep|>src/Backend/Core/Layout/Templates/subnavigation.html.twig.diff original: <a href="/private/{{ LANGUAGE }}/{{ subItem.url }}">{{ subItem.label }}</a> updated: <a href="/private/{{ LANGUAGE }}/{{ subItem.url }}">{{ ('lbl.'~subItem.label)|trans|capitalize }}</a> <|file_sep|>orig...
<ul class="nav navbar-nav navbar-sidebar"> {% for mainItem in navigation %} {% for subItem in mainItem.children if mainItem.active %} <li class="nav-item{%if subItem.active %} active{% endif %}"> <a href="/private/{{ LANGUAGE }}/{{ subItem.url }}">{{ ('lbl.'~subItem.label)|trans|...
<|file_sep|>src/Backend/Core/Layout/Templates/subnavigation.html.twig.diff original: <a href="/private/{{ LANGUAGE }}/{{ subItem.url }}">{{ subItem.label }}</a> updated: <a href="/private/{{ LANGUAGE }}/{{ subItem.url }}">{{ ('lbl.'~subItem.label)|trans|capitalize }}</a> <|file_sep|>orig...
885dabd43fd33d9cef2de69c08eed347d6056bd0
src/Backend/Core/Layout/Templates/subnavigation.html.twig
src/Backend/Core/Layout/Templates/subnavigation.html.twig
Twig
<|file_sep|>Gruntfile.coffee.diff original: updated: grunt.loadNpmTasks 'grunt-bower-task' <|file_sep|>original/Gruntfile.coffee options: sassDir: 'docs/welcome/sass' cssDir: 'docs/welcome/css' bower: install: options: targetDir: 'deps' cleanup: true...
options: sassDir: 'docs/welcome/sass' cssDir: 'docs/welcome/css' bower: install: options: targetDir: 'deps' cleanup: true layout: 'byComponent' bowerOptions: forceLatest: true production: true grunt.loadNpm...
<|file_sep|>Gruntfile.coffee.diff original: updated: grunt.loadNpmTasks 'grunt-bower-task' <|file_sep|>original/Gruntfile.coffee options: sassDir: 'docs/welcome/sass' cssDir: 'docs/welcome/css' bower: install: options: targetDir: 'deps' cleanup: true...
b6da7f3b0ec5619f414cea8b2455adab2cb9f4d6
Gruntfile.coffee
Gruntfile.coffee
CoffeeScript
<|file_sep|>original/.travis.yml packages: - oracle-java8-installer branches: only: - master jdk: - oraclejdk8 - oraclejdk7 - openjdk7 - openjdk6 matrix: include: - jdk: oraclejdk8 env: TARGET=-Pjava8 - jdk: oraclejdk7 env: TARGET=-Pjava7 script: mvn verify $TARGET -Pin...
packages: - oracle-java8-installer branches: only: - master jdk: - oraclejdk8 - oraclejdk7 - openjdk6 matrix: include: - jdk: oraclejdk8 env: TARGET=-Pjava8 - jdk: oraclejdk7 env: TARGET=-Pjava7 script: mvn verify $TARGET -Pintegration
<|file_sep|>original/.travis.yml packages: - oracle-java8-installer branches: only: - master jdk: - oraclejdk8 - oraclejdk7 - openjdk7 - openjdk6 matrix: include: - jdk: oraclejdk8 env: TARGET=-Pjava8 - jdk: oraclejdk7 env: TARGET=-Pjava7 script: mvn verify $TARGET -Pin...
85646e3cc06508b45c3ab35f73cc4f1067141bca
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/python-publish.yml <|file_sep|>current/.github/workflows/python-publish.yml <|file_sep|>updated/.github/workflows/python-publish.yml
# This workflow will upload a Python Package using Twine when a release is created # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries name: Upload Python Package on: release: types: [created] jobs: dep...
<|file_sep|>original/.github/workflows/python-publish.yml <|file_sep|>current/.github/workflows/python-publish.yml <|file_sep|>updated/.github/workflows/python-publish.yml # This workflow will upload a Python Package using Twine when a release is created # For more information see: https://help.github.com/en/actions/...
b9a0e6428487bf1abde026abf7b4d435f9923a62
.github/workflows/python-publish.yml
.github/workflows/python-publish.yml
YAML
<|file_sep|>original/zircon.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/zircon/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Ryo NAKAMURA"] gem.email = ["r7kamura@gmail.com"] gem.description = "Zircon is a mineral belonging to the group of nesosilicate...
# -*- encoding: utf-8 -*- require File.expand_path('../lib/zircon/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Ryo NAKAMURA"] gem.email = ["r7kamura@gmail.com"] gem.description = "Zircon is a mineral belonging to the group of nesosilicates." gem.summary = "IRC clien...
<|file_sep|>original/zircon.gemspec # -*- encoding: utf-8 -*- require File.expand_path('../lib/zircon/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Ryo NAKAMURA"] gem.email = ["r7kamura@gmail.com"] gem.description = "Zircon is a mineral belonging to the group of nesosilicate...
249e47f6275f76ed78718523cc926772a31a68a1
zircon.gemspec
zircon.gemspec
Ruby
<|file_sep|>spec/api_class_spec.rb.diff original: LastFM.should_receive(:send_api_request).with("apiclass.foo", {:bar => :baz}).and_return({}) updated: LastFM.should_receive(:send_api_request).with("apiclass.foo", {:bar => :baz}, :get).and_return({}) <|file_sep|>original/spec/api_class_spec.rb it "should not ...
it "should not allow to call a method with invalid params" do lambda { LastFM::APIClass.foo("not a hash") }.should raise_error(ArgumentError, "Params should be a hash") end it "should respond to unrestricted methods" do LastFM.should_receive(:send_api_request).with("apiclass.foo", {:bar => :baz}, :get).a...
<|file_sep|>spec/api_class_spec.rb.diff original: LastFM.should_receive(:send_api_request).with("apiclass.foo", {:bar => :baz}).and_return({}) updated: LastFM.should_receive(:send_api_request).with("apiclass.foo", {:bar => :baz}, :get).and_return({}) <|file_sep|>original/spec/api_class_spec.rb it "should not ...
dd0b25b3da81681a813fb20e66f30b458c53a863
spec/api_class_spec.rb
spec/api_class_spec.rb
Ruby
<|file_sep|>original/test/integration/test_return_codes.rb <|file_sep|>current/test/integration/test_return_codes.rb <|file_sep|>updated/test/integration/test_return_codes.rb
require_relative '../test_helper' # NOTE: These tests depend on the OpenLDAP retcode overlay. # See: section 12.12 http://www.openldap.org/doc/admin24/overlays.html class TestReturnCodeIntegration < LDAPIntegrationTestCase def test_operations_error refute @ldap.search(filter: "cn=operationsError", base: "ou=Ret...
<|file_sep|>original/test/integration/test_return_codes.rb <|file_sep|>current/test/integration/test_return_codes.rb <|file_sep|>updated/test/integration/test_return_codes.rb require_relative '../test_helper' # NOTE: These tests depend on the OpenLDAP retcode overlay. # See: section 12.12 http://www.openldap.org/doc...
2be8704f8173108efb06f36e096d7d9426bfc4d9
test/integration/test_return_codes.rb
test/integration/test_return_codes.rb
Ruby
<|file_sep|>lib/grammar-utils/lisp.coffee.diff original: this.parenDepth = (this.parenDepth or 0) + 1 this.inStatement = true updated: @parenDepth = (@parenDepth or 0) + 1 @inStatement = true <|file_sep|>lib/grammar-utils/lisp.coffee.diff original: this.parenDepth = (this.parenDe...
module.exports = splitStatements: (code) -> reducer = (statements, char, i, code) -> if char == '(' @parenDepth = (@parenDepth or 0) + 1 @inStatement = true else if char == ')' @parenDepth = (@parenDepth or 0) - 1 @statement = (@statement or '') + char if @parenDe...
<|file_sep|>lib/grammar-utils/lisp.coffee.diff original: this.parenDepth = (this.parenDepth or 0) + 1 this.inStatement = true updated: @parenDepth = (@parenDepth or 0) + 1 @inStatement = true <|file_sep|>lib/grammar-utils/lisp.coffee.diff original: this.parenDepth = (this.parenDe...
af791609bbe8b0480f5bcabed082394eb4e19792
lib/grammar-utils/lisp.coffee
lib/grammar-utils/lisp.coffee
CoffeeScript
<|file_sep|>original/README.md ## Current Status <a href='https://bintray.com/johnrengelman/gradle-plugins/gradle-shadow-plugin/view?source=watch' alt='Get automatic notifications about new "gradle-shadow-plugin" versions'><img src='https://www.bintray.com/docs/images/bintray_badge_color.png'></a> [ ![Download](https...
## Current Status <a href='https://bintray.com/johnrengelman/gradle-plugins/gradle-shadow-plugin/view?source=watch' alt='Get automatic notifications about new "gradle-shadow-plugin" versions'><img src='https://www.bintray.com/docs/images/bintray_badge_color.png'></a> [ ![Download](https://api.bintray.com/packages/joh...
<|file_sep|>original/README.md ## Current Status <a href='https://bintray.com/johnrengelman/gradle-plugins/gradle-shadow-plugin/view?source=watch' alt='Get automatic notifications about new "gradle-shadow-plugin" versions'><img src='https://www.bintray.com/docs/images/bintray_badge_color.png'></a> [ ![Download](https...
55c3061c5b8a047fe43a6cf78b6ce291ed6dd3fe
README.md
README.md
Markdown
<|file_sep|>original/app/models/admin_ability.rb class AdminAbility include CanCan::Ability def initialize(user) user ||= User.new if user.admin? can :manage, :all elsif user.mod? can :read, ActiveAdmin::Page, name: "Dashboard" can :manage, Event end end end <|file_sep|>current/...
class AdminAbility include CanCan::Ability def initialize(user) user ||= User.new if user.admin? can :manage, :all elsif user.mod? can :read, ActiveAdmin::Page, name: "Dashboard" can :manage, Event can :manage, Speaker end end end
<|file_sep|>original/app/models/admin_ability.rb class AdminAbility include CanCan::Ability def initialize(user) user ||= User.new if user.admin? can :manage, :all elsif user.mod? can :read, ActiveAdmin::Page, name: "Dashboard" can :manage, Event end end end <|file_sep|>current/...
8eb92daa6ea0d3918a4261e9102769cc7af903f8
app/models/admin_ability.rb
app/models/admin_ability.rb
Ruby
<|file_sep|>server_tracking/django/settings.py.diff original: updated: from .. import DEFER_METHOD_CELERY <|file_sep|>server_tracking/django/settings.py.diff original: update_default_settings(settings, 'SERVER_SIDE_TRACKING', SST_DEFAULT_SETTINGS) update_default_settings(settings, 'SERVER_SIDE_TRACKING_GA', GA_DEFAULT...
SST_DEFAULT_SETTINGS.update( cookie_path=getattr(settings, 'SESSION_COOKIE_PATH', '/'), cookie_salt=getattr(settings, 'SECRET_KEY', ''), debug=getattr(settings, 'DEBUG', False), pageview_exclude=( 'admin/', ), django_title_extractors=( 'server_tracking.django.utils.ContextTitleEx...
<|file_sep|>server_tracking/django/settings.py.diff original: updated: from .. import DEFER_METHOD_CELERY <|file_sep|>server_tracking/django/settings.py.diff original: update_default_settings(settings, 'SERVER_SIDE_TRACKING', SST_DEFAULT_SETTINGS) update_default_settings(settings, 'SERVER_SIDE_TRACKING_GA', GA_DEFAULT...
3be50d7b6f3cbd3bc5185257377efe9c39ebb01f
server_tracking/django/settings.py
server_tracking/django/settings.py
Python
<|file_sep|>original/app/assets/stylesheets/active_admin.css.scss @import "active_admin/mixins"; @import "active_admin/base"; @import "select2/select2.css"; <|file_sep|>current/app/assets/stylesheets/active_admin.css.scss @import "active_admin/mixins"; @import "active_admin/base"; @import "select2/select2.css"; <|file_...
@import "active_admin/mixins"; @import "active_admin/base"; @import "select2/select2.css"; ul { display: inline-flex; list-style-type: none; }
<|file_sep|>original/app/assets/stylesheets/active_admin.css.scss @import "active_admin/mixins"; @import "active_admin/base"; @import "select2/select2.css"; <|file_sep|>current/app/assets/stylesheets/active_admin.css.scss @import "active_admin/mixins"; @import "active_admin/base"; @import "select2/select2.css"; <|file_...
96a20bad9f8d69b5f87c9f2e48403764a4526db7
app/assets/stylesheets/active_admin.css.scss
app/assets/stylesheets/active_admin.css.scss
SCSS
<|file_sep|>original/lxqt-config-input/translations/lxqt-config-input_cs.desktop <|file_sep|>current/lxqt-config-input/translations/lxqt-config-input_cs.desktop <|file_sep|>updated/lxqt-config-input/translations/lxqt-config-input_cs.desktop
Name[cs]=Klávesnice a myš GenericName[cs]=Nastavení vstupních zařízení Comment[cs]=Nastavování klávesnice, myši a dalších vstupních zařízení
<|file_sep|>original/lxqt-config-input/translations/lxqt-config-input_cs.desktop <|file_sep|>current/lxqt-config-input/translations/lxqt-config-input_cs.desktop <|file_sep|>updated/lxqt-config-input/translations/lxqt-config-input_cs.desktop Name[cs]=Klávesnice a myš GenericName[cs]=Nastavení vstupních zařízení Commen...
279b6d194c1e91c7c7d8416a7cb5878453f7d9e5
lxqt-config-input/translations/lxqt-config-input_cs.desktop
lxqt-config-input/translations/lxqt-config-input_cs.desktop
desktop
<|file_sep|>mac/resources/open_ICON.js.diff original: return function(resource) { if (resource.data.length !== 128 && resource.data.length !== 256) { console.error('ICON resource expected to be 128 bytes, got ' + resource.data.length); return; } var img = document.createElement('CANVAS'); ...
return function(item) { return item.getBytes().then(function(bytes) { if (bytes.length !== 128 && bytes.length !== 256) { return Promise.reject('ICON resource expected to be 128 bytes, got ' + bytes.length); } item.withPixels(32, 32, function(pixelData) { var mask = bytes.length ...
<|file_sep|>mac/resources/open_ICON.js.diff original: return function(resource) { if (resource.data.length !== 128 && resource.data.length !== 256) { console.error('ICON resource expected to be 128 bytes, got ' + resource.data.length); return; } var img = document.createElement('CANVAS'); ...
f4b4729a00beed04476e73aa86aea9cb2e694f8b
mac/resources/open_ICON.js
mac/resources/open_ICON.js
JavaScript
<|file_sep|>original/docs/installation/requirements.rst Requirements ============ Imbo requires a web server (for instance `Apache <http://httpd.apache.org/>`_, `Nginx <http://nginx.org/en/>`_ or `Lighttpd <http://www.lighttpd.net/>`_) running `PHP >= 5.6 <http://php.net>`_ and the `Imagick <http://pecl.php.net/packag...
Requirements ============ Imbo requires a web server (for instance `Apache <http://httpd.apache.org/>`_, `Nginx <http://nginx.org/en/>`_ or `Lighttpd <http://www.lighttpd.net/>`_) running `PHP >= 5.6 <http://php.net>`_ and the `Imagick <http://pecl.php.net/package/imagick>`_ extension for PHP (with at least ImageMagic...
<|file_sep|>original/docs/installation/requirements.rst Requirements ============ Imbo requires a web server (for instance `Apache <http://httpd.apache.org/>`_, `Nginx <http://nginx.org/en/>`_ or `Lighttpd <http://www.lighttpd.net/>`_) running `PHP >= 5.6 <http://php.net>`_ and the `Imagick <http://pecl.php.net/packag...
b1262d6de025236ba6e273684b0d06657210872f
docs/installation/requirements.rst
docs/installation/requirements.rst
reStructuredText
<|file_sep|>original/README.md LinMon ====== LinMon is a server monitoring tool designed to be used on Linux (primarily debian based distros) coded in PHP. The goal is to eventually have a tool that can be used to monitor the vital resources (CPU, RAM, HDD, Network, etc) of a cluster of Linux Servers. <|file_sep|>cur...
LinMon ====== LinMon is a server monitoring tool designed to be used on Linux (primarily debian based distros) coded in PHP. The goal is to eventually have a tool that can be used to monitor the vital resources (CPU, RAM, HDD, Network, etc) of a cluster of Linux Servers. The Plan ====== The plan is that LinMon wi...
<|file_sep|>original/README.md LinMon ====== LinMon is a server monitoring tool designed to be used on Linux (primarily debian based distros) coded in PHP. The goal is to eventually have a tool that can be used to monitor the vital resources (CPU, RAM, HDD, Network, etc) of a cluster of Linux Servers. <|file_sep|>cur...
6eb55dd6ae78d7b34b81fea3444b4e7a5a55c8ca
README.md
README.md
Markdown
<|file_sep|>original/app/models/member.rb class Member < ApplicationRecord attr_encrypted( :ssn, key: Rails.application.secrets.secret_key_for_ssn_encryption, ) def full_name "#{first_name} #{last_name}" end end <|file_sep|>current/app/models/member.rb class Member < ApplicationRecord attr_encryp...
class Member < ApplicationRecord attribute :ssn attr_encrypted( :ssn, key: Rails.application.secrets.secret_key_for_ssn_encryption, ) def full_name "#{first_name} #{last_name}" end end
<|file_sep|>original/app/models/member.rb class Member < ApplicationRecord attr_encrypted( :ssn, key: Rails.application.secrets.secret_key_for_ssn_encryption, ) def full_name "#{first_name} #{last_name}" end end <|file_sep|>current/app/models/member.rb class Member < ApplicationRecord attr_encryp...
bca8d8b9b3f9c1602d0855dc45ea3941c9b11aad
app/models/member.rb
app/models/member.rb
Ruby
<|file_sep|>original/bin/deploy-docker.sh #!/bin/sh # Abort script at first error set -e errexit repo_path=$( cd $(dirname $0) ; git rev-parse --show-toplevel ) export GIT_WORK_TREE="$repo_path" export GIT_DIR="${GIT_WORK_TREE}/.git" export COMPOSE_FILE="${GIT_WORK_TREE}/docker/docker-compose.yaml" docker-compose pu...
#!/bin/sh # Abort script at first error set -e errexit repo_path=$( cd $(dirname $0) ; git rev-parse --show-toplevel ) export GIT_WORK_TREE="$repo_path" export GIT_DIR="${GIT_WORK_TREE}/.git" export COMPOSE_FILE=${COMPOSE_FILE:-"${GIT_WORK_TREE}/docker/docker-compose.yaml"} docker-compose pull docker-compose up -d
<|file_sep|>original/bin/deploy-docker.sh #!/bin/sh # Abort script at first error set -e errexit repo_path=$( cd $(dirname $0) ; git rev-parse --show-toplevel ) export GIT_WORK_TREE="$repo_path" export GIT_DIR="${GIT_WORK_TREE}/.git" export COMPOSE_FILE="${GIT_WORK_TREE}/docker/docker-compose.yaml" docker-compose pu...
23540411b6ba3828114a19cda56909c38b27065e
bin/deploy-docker.sh
bin/deploy-docker.sh
Shell
<|file_sep|>original/pp.rb # Preprocessor. require 'erb' # The version of Coq. version = `coqc -v`.match(/version ([^(]*) \(/)[1] Dir.glob("src/*.v.erb") do |file_name| renderer = ERB.new(File.read(file_name, encoding: "UTF-8")) File.open(file_name[0..-5], "w") do |file| file << renderer.result() end puts...
# Preprocessor. require 'erb' # The version of Coq. version = `coqc -v`.match(/version (\S+)/)[1] Dir.glob("src/*.v.erb") do |file_name| renderer = ERB.new(File.read(file_name, encoding: "UTF-8")) File.open(file_name[0..-5], "w") do |file| file << renderer.result() end puts file_name end
<|file_sep|>original/pp.rb # Preprocessor. require 'erb' # The version of Coq. version = `coqc -v`.match(/version ([^(]*) \(/)[1] Dir.glob("src/*.v.erb") do |file_name| renderer = ERB.new(File.read(file_name, encoding: "UTF-8")) File.open(file_name[0..-5], "w") do |file| file << renderer.result() end puts...
31f99347840dcb1fd7a5c6530533e7dfa5b29bb3
pp.rb
pp.rb
Ruby
<|file_sep|>testing/lib/refinery/testing/controller_macros/methods.rb.diff original: def get(action, *args) process_refinery_action(action, 'GET', *args) updated: def get(action, options = {}) process_refinery_action(action, 'GET', options) <|file_sep|>testing/lib/refinery/testing/co...
end # Executes a request simulating PUT HTTP method and set/volley the response def patch(action, options = {}) process_refinery_action(action, 'PATCH', options) end # Executes a request simulating DELETE HTTP method and set/volley the response def delete(acti...
<|file_sep|>testing/lib/refinery/testing/controller_macros/methods.rb.diff original: def get(action, *args) process_refinery_action(action, 'GET', *args) updated: def get(action, options = {}) process_refinery_action(action, 'GET', options) <|file_sep|>testing/lib/refinery/testing/co...
e0c089ba5802463ff522b23f927b694a41469643
testing/lib/refinery/testing/controller_macros/methods.rb
testing/lib/refinery/testing/controller_macros/methods.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 before_script: bundle update script: script/cibuild notifications: irc: on_success: change on_failure: change channels: - irc.freenode.org#bunto template: - '%{repository}#%{build_number} ...
language: ruby cache: bundler sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 before_script: - chmod a+x script/bootstrap - chmod a+x script/cibuild - chmod a+x script/rebund - chmod a+x script/release - bundle update script: script/cibuild notifications: irc: on_success: change on_failure: change ch...
<|file_sep|>original/.travis.yml language: ruby cache: bundler sudo: false rvm: - 2.2 - 2.1 - 2.0 - 1.9.3 before_script: bundle update script: script/cibuild notifications: irc: on_success: change on_failure: change channels: - irc.freenode.org#bunto template: - '%{repository}#%{build_number} ...
6ff647b36408cdc66bb94f62e4bfb8d5a14faa67
.travis.yml
.travis.yml
YAML
<|file_sep|>original/doc/testing.md ``` Python packages can also be specified to run only a subset of tests. Some examples are: ```bash # Hazardlib $ nosetests -v -a '!slow' openquake.hazardlib # Calculators $ nosetests -v -a '!slow' openquake.hazardlib # Engine server $ nosetests -v -a '!slow' openquake.server ```...
Python packages can also be specified to run only a subset of tests. Some examples are: ```bash # Hazardlib $ nosetests -v -a '!slow' openquake.hazardlib # Calculators $ nosetests -v -a '!slow' openquake.hazardlib # Engine server $ nosetests -v -a '!slow' openquake.server ``` See the [man page](http://nose.readthed...
<|file_sep|>original/doc/testing.md ``` Python packages can also be specified to run only a subset of tests. Some examples are: ```bash # Hazardlib $ nosetests -v -a '!slow' openquake.hazardlib # Calculators $ nosetests -v -a '!slow' openquake.hazardlib # Engine server $ nosetests -v -a '!slow' openquake.server ```...
2de2877bac97789ef8b2b7f3b6bb7dfa9e8510fa
doc/testing.md
doc/testing.md
Markdown
<|file_sep|>original/.travis.yml node_js: - "0.10" sudo: true # Install package dependencies. See # http://docs.travis-ci.com/user/installing-dependencies/ # gulp: required for JS testing before_install: - npm install -g gulp - yes | sudo add-apt-repository ppa:hansjorg/rust - sudo apt-get update install: ...
node_js: - "0.10" sudo: true # Install package dependencies. See # http://docs.travis-ci.com/user/installing-dependencies/ # gulp: required for JS testing before_install: - npm install -g gulp - yes | sudo add-apt-repository ppa:jonathonf/rustlang - sudo apt-get update install: sudo apt-get install rust-n...
<|file_sep|>original/.travis.yml node_js: - "0.10" sudo: true # Install package dependencies. See # http://docs.travis-ci.com/user/installing-dependencies/ # gulp: required for JS testing before_install: - npm install -g gulp - yes | sudo add-apt-repository ppa:hansjorg/rust - sudo apt-get update install: ...
904c44b01d072188c7f2e0e59e86880e89d9ad63
.travis.yml
.travis.yml
YAML
<|file_sep|>test/test_helper.rb.diff original: SimpleCov.start updated: require 'coveralls' <|file_sep|>original/test/test_helper.rb require 'simplecov' SimpleCov.start require 'coveralls' Coveralls.wear! $:.unshift(File.expand_path(File.dirname(__FILE__) + '../../lib/')) $KCODE = 'u' if RUBY_VERSION =~ /^1\.8/ req...
require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ Coveralls::SimpleCov::Formatter, SimpleCov::Formatter::HTMLFormatter ] SimpleCov.start do add_filter 'test' end $:.unshift(File.expand_path(File.dirname(__FILE__) + '../../lib/')) $KCODE = 'u' if RUBY_VERSION =...
<|file_sep|>test/test_helper.rb.diff original: SimpleCov.start updated: require 'coveralls' <|file_sep|>original/test/test_helper.rb require 'simplecov' SimpleCov.start require 'coveralls' Coveralls.wear! $:.unshift(File.expand_path(File.dirname(__FILE__) + '../../lib/')) $KCODE = 'u' if RUBY_VERSION =~ /^1\.8/ req...
53fdab59f2122fbdd5a831d4d53f0a957faddef8
test/test_helper.rb
test/test_helper.rb
Ruby