prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/route/station.py from flask import request from flask.ext import restful from route.base import api from model.base import db from model.user import User import logging class StationAPI(restful.Resource): def post(self): data = request.get_json() station = Station(data['name'], dat...
from flask import request from flask.ext import restful from route.base import api from model.base import db from model.user import User import logging class StationAPI(restful.Resource): def post(self): data = request.get_json() station = Station(data['name'], data['address'], data['address2'], data['...
<|file_sep|>original/route/station.py from flask import request from flask.ext import restful from route.base import api from model.base import db from model.user import User import logging class StationAPI(restful.Resource): def post(self): data = request.get_json() station = Station(data['name'], dat...
5c787be025ca99da339aae221b714bd1d8f2d0bd
route/station.py
route/station.py
Python
<|file_sep|>original/lib/handlers/mail.js _this.sendMail({ from: "JSBin <dave-the-robot@jsbin.com>", to: to, subject: 'JSBin Internal Server Error', text: body }, fn); }); }, sendMail: function (options, fn) { var error = new errors.MailerError('Mail Transport is...
from: "JSBin <dave-the-robot@jsbin.com>", to: to, subject: 'JSBin Internal Server Error', text: body }, fn); }); }, sendMail: function (options, fn) { var error = new errors.MailerError('Mail Transport is not configured'); if (!this.transport) { return fn(err...
<|file_sep|>original/lib/handlers/mail.js _this.sendMail({ from: "JSBin <dave-the-robot@jsbin.com>", to: to, subject: 'JSBin Internal Server Error', text: body }, fn); }); }, sendMail: function (options, fn) { var error = new errors.MailerError('Mail Transport is...
fce079584e738c0688339d015542b15c1d28e508
lib/handlers/mail.js
lib/handlers/mail.js
JavaScript
<|file_sep|>original/pontoon/base/static/js/project.js Pontoon.requestLocale(locale, project); } }); // Switch between available locales and locales to request $('.locale .menu .search-wrapper > a').click(function (e) { e.preventDefault(); var menu = $(this).parents('.menu'); menu.find('....
Pontoon.requestLocale(locale, project); } }); // Switch between available locales and locales to request $('.locale .menu .search-wrapper > a').click(function (e) { e.preventDefault(); var menu = $(this).parents('.menu'); menu.find('.sort .progress, .latest').toggle(); $(this).toggleC...
<|file_sep|>original/pontoon/base/static/js/project.js Pontoon.requestLocale(locale, project); } }); // Switch between available locales and locales to request $('.locale .menu .search-wrapper > a').click(function (e) { e.preventDefault(); var menu = $(this).parents('.menu'); menu.find('....
09d134ff622cc167d30c1109a3431daa9ea86e1e
pontoon/base/static/js/project.js
pontoon/base/static/js/project.js
JavaScript
<|file_sep|>database/schema/post.go.diff original: import ( "github.com/coopernurse/gorp" "log" "time" ) func toString(t time.Time) string { return t.Format(time.UnixDate) } func fromString(st string) time.Time { t, err := time.Parse(time.UnixDate, st) if err != nil { log.Fatal(err) } return t } updated: im...
package schema import "time" // A post to be displayed on the blog type Post struct { Id int64 `db:"id"` // The indexed ID of the blog post Title string `db:"title"` // The title of the blog post Author string `db:"author"` // The blog post's author Body string `db:"body"` // Th...
<|file_sep|>database/schema/post.go.diff original: import ( "github.com/coopernurse/gorp" "log" "time" ) func toString(t time.Time) string { return t.Format(time.UnixDate) } func fromString(st string) time.Time { t, err := time.Parse(time.UnixDate, st) if err != nil { log.Fatal(err) } return t } updated: im...
2fa00279bfb36f6ff83a923a26e719a2f3e2f3cc
database/schema/post.go
database/schema/post.go
Go
<|file_sep|>lib/backbeat/workers/daily_activity/report.html.erb.diff original: <p>No inconsistent workflows for this period</p> updated: <p style="font-weight: normal;">No inconsistent workflows for this period</p> <|file_sep|>lib/backbeat/workers/daily_activity/report.html.erb.diff original: <p>Incon...
<html> <body style="min-width: 100%;"> <h2 style="font-family: Arial;">Backbeat Activity Report</h2> <% if report[:inconsistent][:counts].empty? %> <p style="font-weight: normal;">No inconsistent workflows for this period</p> <% else %> <%= render_table "Workflow Inconsistencies", report[:inc...
<|file_sep|>lib/backbeat/workers/daily_activity/report.html.erb.diff original: <p>No inconsistent workflows for this period</p> updated: <p style="font-weight: normal;">No inconsistent workflows for this period</p> <|file_sep|>lib/backbeat/workers/daily_activity/report.html.erb.diff original: <p>Incon...
a3ffc3bad56bf8643d820c05e46d2d84d4a3b1df
lib/backbeat/workers/daily_activity/report.html.erb
lib/backbeat/workers/daily_activity/report.html.erb
HTML+ERB
<|file_sep|>original/plat_include/exynos4/platsupport/plat/irq_combiner.h <|file_sep|>current/plat_include/exynos4/platsupport/plat/irq_combiner.h <|file_sep|>updated/plat_include/exynos4/platsupport/plat/irq_combiner.h
/* * Copyright 2014, NICTA * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(NICTA_BSD) */ #ifndef _PLATSUPPORT_PLAT_IRQ_COMBINER_H_ #define _PLATSUPPORT_PLAT_IRQ_COMBINER_H_ ...
<|file_sep|>original/plat_include/exynos4/platsupport/plat/irq_combiner.h <|file_sep|>current/plat_include/exynos4/platsupport/plat/irq_combiner.h <|file_sep|>updated/plat_include/exynos4/platsupport/plat/irq_combiner.h /* * Copyright 2014, NICTA * * This software may be distributed and modified according to the t...
9e61dcaafe0e4d33b2ed9fc1023cbffefccfbb18
plat_include/exynos4/platsupport/plat/irq_combiner.h
plat_include/exynos4/platsupport/plat/irq_combiner.h
C
<|file_sep|>original/package.json "version": "0.1.8", "homepage": "https://github.com/mklabs/node-fileset", "repository": { "type": "git", "url": "git://github.com/mklabs/node-fileset.git" }, "main": "./lib/fileset", "scripts": { "test": "node tests/test.js" }, "dependencies": { "minimat...
"version": "0.1.8", "homepage": "https://github.com/mklabs/node-fileset", "repository": { "type": "git", "url": "git://github.com/mklabs/node-fileset.git" }, "main": "./lib/fileset", "scripts": { "test": "node tests/test.js" }, "dependencies": { "minimatch": "2.x", "glob": "5.x" },...
<|file_sep|>original/package.json "version": "0.1.8", "homepage": "https://github.com/mklabs/node-fileset", "repository": { "type": "git", "url": "git://github.com/mklabs/node-fileset.git" }, "main": "./lib/fileset", "scripts": { "test": "node tests/test.js" }, "dependencies": { "minimat...
d4aadf207189a5e11594eaaebce0aa432ac1ff01
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: updated: - 1.9.3-p385 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 before_script: - "ruby lib/initial_setup.rb ../.travis_setup" - "psql -c 'create database slice_test;' -U postgres" - "bundle exec rake db:migrate" <|file_sep|>current/.travis.y...
language: ruby rvm: - 1.9.3 - 1.9.3-p385 - 2.0.0 before_script: - "ruby lib/initial_setup.rb ../.travis_setup" - "psql -c 'create database slice_test;' -U postgres" - "bundle exec rake db:migrate" matrix: allow_failures: - rvm: 1.9.3-p385
<|file_sep|>.travis.yml.diff original: updated: - 1.9.3-p385 <|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 2.0.0 before_script: - "ruby lib/initial_setup.rb ../.travis_setup" - "psql -c 'create database slice_test;' -U postgres" - "bundle exec rake db:migrate" <|file_sep|>current/.travis.y...
04e7cc4087bd27369fb5111988dff4f2d1d1e435
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packages/un/unitym-yesod.yaml <|file_sep|>current/packages/un/unitym-yesod.yaml <|file_sep|>updated/packages/un/unitym-yesod.yaml
homepage: https://github.com/githubuser/unitym-yesod#readme changelog-type: '' hash: ccc18d56a16445a4148b8d016f2c5d1e470a6cc0c27e197c20cab692fca2c941 test-bench-deps: {} maintainer: bhurt42@gmail.com synopsis: Implementation of the unity monad for the Yesod framework changelog: '' basic-deps: unitym: ! '>=0.1 && <1.0...
<|file_sep|>original/packages/un/unitym-yesod.yaml <|file_sep|>current/packages/un/unitym-yesod.yaml <|file_sep|>updated/packages/un/unitym-yesod.yaml homepage: https://github.com/githubuser/unitym-yesod#readme changelog-type: '' hash: ccc18d56a16445a4148b8d016f2c5d1e470a6cc0c27e197c20cab692fca2c941 test-bench-deps: ...
77d3e40ea1f18d86e1656b75e6170bf365c2dfe3
packages/un/unitym-yesod.yaml
packages/un/unitym-yesod.yaml
YAML
<|file_sep|>original/src/main/resources/static/css/viewer.css #leaflet-container, #osd-container, #uv-container { height: calc(100vh - 290px); } #mirador-container { height: calc(100vh - 110px); position: relative; } #mirador-container .mirador-osd-annotation-controls * { box-sizing: content-box; } <|file_sep...
} #mirador-container { height: calc(100vh - 110px); position: relative; } #mirador-container .mirador-osd-annotation-controls * { box-sizing: content-box; } #mirador-container .metadata-listing .metadata-item { padding-top: 5px; } #mirador-container .metadata-listing .metadata-label, #mirador-container .met...
<|file_sep|>original/src/main/resources/static/css/viewer.css #leaflet-container, #osd-container, #uv-container { height: calc(100vh - 290px); } #mirador-container { height: calc(100vh - 110px); position: relative; } #mirador-container .mirador-osd-annotation-controls * { box-sizing: content-box; } <|file_sep...
f89c632f6cf1aee383969a34f8a5852c3cd213ca
src/main/resources/static/css/viewer.css
src/main/resources/static/css/viewer.css
CSS
<|file_sep|>original/bootstrap.sh #!/usr/bin/env bash cd "$(dirname "${BASH_SOURCE[0]}")" || (echo "Unable to switch to script directory" && exit 1) export XDG_DATA_HOME="${HOME}/.local/share" export XDG_CONFIG_HOME="${HOME}/.config" export XDG_CACHE_HOME="${HOME}/.cache" # git pull origin ccpcs000536 function doIt()...
#!/usr/bin/env bash cd "$(dirname "${BASH_SOURCE[0]}")" || (echo "Unable to switch to script directory" && exit 1) export XDG_DATA_HOME="${HOME}/.local/share" export XDG_CONFIG_HOME="${HOME}/.config" export XDG_CACHE_HOME="${HOME}/.cache" # git pull origin ccpcs000536 function doIt() { # ensure VIM temp directories...
<|file_sep|>original/bootstrap.sh #!/usr/bin/env bash cd "$(dirname "${BASH_SOURCE[0]}")" || (echo "Unable to switch to script directory" && exit 1) export XDG_DATA_HOME="${HOME}/.local/share" export XDG_CONFIG_HOME="${HOME}/.config" export XDG_CACHE_HOME="${HOME}/.cache" # git pull origin ccpcs000536 function doIt()...
e86450dd0e73566744be51aedc3743c7898ec27c
bootstrap.sh
bootstrap.sh
Shell
<|file_sep|>original/package.json { "name": "haraka-plugin-vmta", "version": "0.0.4", "description": "Administer virtual MTAs for the outbound traffic", "main": "index.js", "scripts": { "lint": "./node_modules/.bin/eslint *.js test/*.js", "test": "mocha" }, "repository": { "type": "git", "...
{ "name": "haraka-plugin-vmta", "version": "0.0.5", "description": "Administer virtual MTAs for the outbound traffic", "main": "index.js", "scripts": { "lint": "./node_modules/.bin/eslint *.js test/*.js", "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/hara...
<|file_sep|>original/package.json { "name": "haraka-plugin-vmta", "version": "0.0.4", "description": "Administer virtual MTAs for the outbound traffic", "main": "index.js", "scripts": { "lint": "./node_modules/.bin/eslint *.js test/*.js", "test": "mocha" }, "repository": { "type": "git", "...
8c95a2f48336c9fdc9ed22d4c93477a541b99581
package.json
package.json
JSON
<|file_sep|>app/views/layouts/_cookie_banner.html.haml.diff original: .govuk-cookie-banner{ role: 'region', 'aria-label': t('.title'), 'tab-index': '-1' } updated: .govuk-cookie-banner{ role: 'region', 'aria-label': t('.title'), 'tab-index': '-1', 'data-nosnippet': true } <|file_sep|>original/app/views/layouts/_coo...
.govuk-cookie-banner__content = t('.content_html') .govuk-button-group = govuk_link_button(t('.accept_button'), '?usage_opt_in=true&show_confirmation=true') = govuk_link_button(t('.reject_button'), '?usage_opt_in=false&show_confirmation=true') = govuk_link_to(t('.v...
<|file_sep|>app/views/layouts/_cookie_banner.html.haml.diff original: .govuk-cookie-banner{ role: 'region', 'aria-label': t('.title'), 'tab-index': '-1' } updated: .govuk-cookie-banner{ role: 'region', 'aria-label': t('.title'), 'tab-index': '-1', 'data-nosnippet': true } <|file_sep|>original/app/views/layouts/_coo...
6390ffe42b8608c317e677ecf1a007656dd089e4
app/views/layouts/_cookie_banner.html.haml
app/views/layouts/_cookie_banner.html.haml
Haml
<|file_sep|>original/lib/calyx/modifiers.rb module Calyx class Modifiers def transform(name, value) if respond_to?(name) send(name, value) elsif value.respond_to?(name) value.send(name) else value end end end end <|file_sep|>current/lib/calyx/modifiers.rb modu...
module Calyx class Modifiers # Transforms an output string by delegating to the given output function. # # If a registered modifier method is not found, then delegate to the given # string function. # # If an invalid modifier function is given, returns the raw input string. # # @param ...
<|file_sep|>original/lib/calyx/modifiers.rb module Calyx class Modifiers def transform(name, value) if respond_to?(name) send(name, value) elsif value.respond_to?(name) value.send(name) else value end end end end <|file_sep|>current/lib/calyx/modifiers.rb modu...
64ad5a13ee87cf02192ccdf211738fc017578eca
lib/calyx/modifiers.rb
lib/calyx/modifiers.rb
Ruby
<|file_sep|>original/.travis.yml language: go go: - tip - 1.3 script: go get code.google.com/p/go.tools/cmd/vet && go get code.google.com/p/go.tools/cmd/goimports && go get github.com/golang/lint/golint && go get github.com/kisom/whitelist/... && $HOME/gopath/bin/golint *.go && go test github.com/kisom/...
language: go go: - tip - 1.3 script: go get code.google.com/p/go.tools/cmd/vet && go get code.google.com/p/go.tools/cmd/goimports && go get github.com/golang/lint/golint && go get github.com/kisom/whitelist/... && [ -z "$($HOME/gopath/bin/golint *.go)" ] && go test github.com/kisom/whitelist/... && go v...
<|file_sep|>original/.travis.yml language: go go: - tip - 1.3 script: go get code.google.com/p/go.tools/cmd/vet && go get code.google.com/p/go.tools/cmd/goimports && go get github.com/golang/lint/golint && go get github.com/kisom/whitelist/... && $HOME/gopath/bin/golint *.go && go test github.com/kisom/...
4b2e24a0ad9b7480ec936cbf06ffd04c2a3bcf47
.travis.yml
.travis.yml
YAML
<|file_sep|>original/configurations/es6.js module.exports = { "extends": "chiton/configurations/default", "env": { "es6": true }, "ecmaFeatures": { "modules": true }, "rules": { "arrow-body-style": [2, "as-needed"], "arrow-parens": [2, "as-needed"], "arrow-spacing": [2, {"after": true, "...
module.exports = { "extends": "chiton/configurations/default", "env": { "es6": true }, "ecmaFeatures": { "modules": true }, "rules": { "arrow-body-style": [2, "as-needed"], "arrow-parens": [2, "always"], "arrow-spacing": [2, {"after": true, "before": true}], "no-arrow-condition": 2, ...
<|file_sep|>original/configurations/es6.js module.exports = { "extends": "chiton/configurations/default", "env": { "es6": true }, "ecmaFeatures": { "modules": true }, "rules": { "arrow-body-style": [2, "as-needed"], "arrow-parens": [2, "as-needed"], "arrow-spacing": [2, {"after": true, "...
b010de69aedd34f228ea6d395d29774d9e7e821b
configurations/es6.js
configurations/es6.js
JavaScript
<|file_sep|>original/src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java <|file_sep|>current/src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java <|file_sep|>updated/src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java
package com.github.jmchilton.blend4j.galaxy; import javax.net.ssl.HostnameVerifier; import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLSession; public class SslHacking { public static void disableCertificateCheck() { javax.net.ssl.TrustManager x509 = new javax.net...
<|file_sep|>original/src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java <|file_sep|>current/src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java <|file_sep|>updated/src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java package com.github.jmchilton.blend4j.galaxy; import javax....
4e8b54f272e63c60bcafbb1f777ee584f4092a88
src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java
src/main/java/com/github/jmchilton/blend4j/galaxy/SslHacking.java
Java
<|file_sep|>original/Sources/Extensions/UIButtonExtensions.swift // // UIButtonExtensions.swift // Ello // // Created by Ryan Boyajian on 3/13/15. // Copyright (c) 2015 Ello. All rights reserved. // import Foundation import SVGKit extension UIButton { func setSVGImage(named: String) { self.setImage(S...
// Created by Ryan Boyajian on 3/13/15. // Copyright (c) 2015 Ello. All rights reserved. // import Foundation import SVGKit extension UIButton { func setSVGImages(named: String) { self.setSVGImage("\(named)_normal.svg", forState: UIControlState.Normal) self.setSVGImage("\(named)_selected.svg", ...
<|file_sep|>original/Sources/Extensions/UIButtonExtensions.swift // // UIButtonExtensions.swift // Ello // // Created by Ryan Boyajian on 3/13/15. // Copyright (c) 2015 Ello. All rights reserved. // import Foundation import SVGKit extension UIButton { func setSVGImage(named: String) { self.setImage(S...
d3dcc5cd183b7f96aa03a03a980a7811bbfb5234
Sources/Extensions/UIButtonExtensions.swift
Sources/Extensions/UIButtonExtensions.swift
Swift
<|file_sep|>original/app/views/admin/shared/_title_etc.html.erb <%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %> <li class="optional"> <label for="edition_assigned_to_id">Assigned to</label> <%= f.collection_select :assigned_to_id, User.all, :id, :name, :prompt => "Select someone" %> <...
<%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %> <li class="optional"> <label for="edition_assigned_to_id">Assigned to</label> <%= f.collection_select :assigned_to_id, User.order_by([[:name, :asc]]).all, :id, :name, :prompt => "Select someone" %> </li> <%= f.input :alternative_title, ...
<|file_sep|>original/app/views/admin/shared/_title_etc.html.erb <%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %> <li class="optional"> <label for="edition_assigned_to_id">Assigned to</label> <%= f.collection_select :assigned_to_id, User.all, :id, :name, :prompt => "Select someone" %> <...
09fbc07ae778e29c3494d3686665b96ffb204623
app/views/admin/shared/_title_etc.html.erb
app/views/admin/shared/_title_etc.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml before_install: - sudo apt-get update -qq - sudo apt-get install -qq bzr make python-transaction protobuf-compiler python-setuptools gcc python-dev python-twisted-web postgresql-9.1 python-yaml python-psycopg2 postgresql-contrib supervisor postgresql-plpy...
before_install: - sudo apt-get update -qq - sudo apt-get install -qq bzr make python-transaction protobuf-compiler python-setuptools gcc python-dev python-twisted-web postgresql-9.1 python-yaml python-psycopg2 postgresql-contrib supervisor postgresql-plpython-9.1 python-boto squid ...
<|file_sep|>original/.travis.yml before_install: - sudo apt-get update -qq - sudo apt-get install -qq bzr make python-transaction protobuf-compiler python-setuptools gcc python-dev python-twisted-web postgresql-9.1 python-yaml python-psycopg2 postgresql-contrib supervisor postgresql-plpy...
5923f787b9f5f3458f87136809f50a83507e46c0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.1 cryptography==2.1.4 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 cov...
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.2 Sphinx==1.7.1 cryptography==2.1.4 PyYAML==3.12
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.5.1 Sphinx==1.7.1 cryptography==2.1.4 PyYAML==3.12 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 cov...
a3dde45b5a59c581835f80edf5b365dd9f4904b9
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.1 env: - DB=pg - DB=sqlite3 - DB=mysql before_script: - psql -c 'create database activerecord_like_test' -U postgres - mysql -e 'create database activerecord_like_test' <|file_sep|>current/.travis.yml language: rub...
language: ruby cache: bundler rvm: - 2.0.0 - 2.1.1 env: - DB=pg - DB=sqlite3 - DB=mysql before_script: - psql -c 'create database activerecord_like_test' -U postgres - mysql -e 'create database activerecord_like_test'
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.9.3 - 2.0.0 - 2.1.1 env: - DB=pg - DB=sqlite3 - DB=mysql before_script: - psql -c 'create database activerecord_like_test' -U postgres - mysql -e 'create database activerecord_like_test' <|file_sep|>current/.travis.yml language: rub...
fc57621aad2d106ebbd687a26fd65afd8ccaf117
.travis.yml
.travis.yml
YAML
<|file_sep|>original/rules/core/constants.js 'use strict'; const COMPOSITION_METHODS = ['compose', 'flow', 'flowRight', 'pipe']; const FOREACH_METHODS = ['forEach', 'forEachRight', 'each', 'eachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight']; const SIDE_EFFECT_METHODS = FOREACH_METHODS.concat(['bindAll']); mo...
'use strict'; const COMPOSITION_METHODS = ['compose', 'flow', 'flowRight', 'pipe']; const FOREACH_METHODS = ['forEach', 'forEachRight', 'each', 'eachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight']; const SIDE_EFFECT_METHODS = FOREACH_METHODS.concat(['bindAll', 'defer', 'delay']); module.exports = { COMPOSIT...
<|file_sep|>original/rules/core/constants.js 'use strict'; const COMPOSITION_METHODS = ['compose', 'flow', 'flowRight', 'pipe']; const FOREACH_METHODS = ['forEach', 'forEachRight', 'each', 'eachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight']; const SIDE_EFFECT_METHODS = FOREACH_METHODS.concat(['bindAll']); mo...
b25451ded86bab0ed28424131e1a826b4479c69f
rules/core/constants.js
rules/core/constants.js
JavaScript
<|file_sep|>addon/index.js.diff original: get: function(_, prop) { updated: get: function(target, prop) { <|file_sep|>original/addon/index.js import Inflector from 'ember-inflector'; import { __inflections } from './utils/inflector'; function patchEmberInflector() { __inflections(newInflector => { /...
import Inflector from 'ember-inflector'; import { __inflections } from './utils/inflector'; function patchEmberInflector() { __inflections(newInflector => { // Proxy ember-inflector calls to `inflected` Inflector.inflector = new window.Proxy(Inflector.inflector, { get: function(target, prop) { ...
<|file_sep|>addon/index.js.diff original: get: function(_, prop) { updated: get: function(target, prop) { <|file_sep|>original/addon/index.js import Inflector from 'ember-inflector'; import { __inflections } from './utils/inflector'; function patchEmberInflector() { __inflections(newInflector => { /...
ee152c020c2b3cfe4a2a0cc9cafa0386e4c36544
addon/index.js
addon/index.js
JavaScript
<|file_sep|>original/tests/travis/run.sh if test -n "$USECURL"; then export PYCURL_CURL_CONFIG="$HOME"/i/curl-"$USECURL"/bin/curl-config export LD_LIBRARY_PATH="$HOME"/i/curl-"$USECURL"/lib fi if test -n "$USESSL"; then if test "$USESSL" != none; then export PYCURL_SSL_LIBRARY="$USESSL" fi else # default...
if test -n "$USECURL"; then export PYCURL_CURL_CONFIG="$HOME"/i/curl-"$USECURL"/bin/curl-config export LD_LIBRARY_PATH="$HOME"/i/curl-"$USECURL"/lib fi if test -n "$USESSL"; then if test "$USESSL" != none; then export PYCURL_SSL_LIBRARY="$USESSL" fi else # default for ubuntu 12 which is what travis curre...
<|file_sep|>original/tests/travis/run.sh if test -n "$USECURL"; then export PYCURL_CURL_CONFIG="$HOME"/i/curl-"$USECURL"/bin/curl-config export LD_LIBRARY_PATH="$HOME"/i/curl-"$USECURL"/lib fi if test -n "$USESSL"; then if test "$USESSL" != none; then export PYCURL_SSL_LIBRARY="$USESSL" fi else # default...
5209841e08256a9d7399ef7a2780c91a8a843040
tests/travis/run.sh
tests/travis/run.sh
Shell
<|file_sep|>original/src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala <|file_sep|>current/src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala <|file_sep|>updated/src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala
package eu.shiftforward.icfpc2015 object MainApp extends App { case class Options( files: List[String] = List(), timeLimit: Option[Int] = None, memoryLimit: Option[Int] = None, phrasesOfPower: List[String] = List()) def nextOption(opts: Options, remArgs: List[String]): Options = { remArgs mat...
<|file_sep|>original/src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala <|file_sep|>current/src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala <|file_sep|>updated/src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala package eu.shiftforward.icfpc2015 object MainApp extends App { case class Options( f...
90fbebbf863ab8e004e2c596edced572e8773e9e
src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala
src/main/scala/eu/shiftforward/icfpc2015/MainApp.scala
Scala
<|file_sep|>original/resources/views/page/designer/index.blade.php @extends('layout.app', [ 'title' => 'Designers', 'body_id' => 'designer-index-page', 'body_class' => 'designer-index index', ]) @section('main') <div class="container"> <div class="row"> @foreach ($designers as $designer) ...
@extends('layout.app', [ 'title' => 'Design Stories', 'body_id' => 'designer-index-page', 'body_class' => 'designer-index index', ]) @section('main') <div class="container"> <div class="row"> @foreach ($designers as $designer) <article id="story-{{ $designer->id }}" class="story gri...
<|file_sep|>original/resources/views/page/designer/index.blade.php @extends('layout.app', [ 'title' => 'Designers', 'body_id' => 'designer-index-page', 'body_class' => 'designer-index index', ]) @section('main') <div class="container"> <div class="row"> @foreach ($designers as $designer) ...
e78f4a14bd29fa492071330ed6d45c0bf9d3e483
resources/views/page/designer/index.blade.php
resources/views/page/designer/index.blade.php
PHP
<|file_sep|>server/hn/readHn.js.diff original: Meteor.methods({ "readHn": function () { "use strict"; hn.getStories(Meteor.bindEnvironment( function (error, data) { if (error) { throw error; } _(data.hits).forEach(function (item) { /*jshint camelcase: false */...
console.log('Reading last 24 hours of Hacker News'); var now = Date.now() / 1000; var query = 'search?tags=story&numericFilters=created_at_i>' + (now - 86400) + ',created_at_i<' + now; hn.call(query, Meteor.bindEnvironment( function (error, data) { if (error) { throw error; } ...
<|file_sep|>server/hn/readHn.js.diff original: Meteor.methods({ "readHn": function () { "use strict"; hn.getStories(Meteor.bindEnvironment( function (error, data) { if (error) { throw error; } _(data.hits).forEach(function (item) { /*jshint camelcase: false */...
1ff257d154742bb639790cd48be1aa0fb93c3dbd
server/hn/readHn.js
server/hn/readHn.js
JavaScript
<|file_sep|>lib/grape-slate/example_generator/shell.rb.diff original: updated: def route_path route.route_path_without_format end <|file_sep|>lib/grape-slate/example_generator/shell.rb.diff original: "curl #{host}/#{route_name}/#{id}" updated: "curl #{host}/#{route_path}".split('/').reject!(&:empty?)....
def command "curl #{host}/#{route_path}".split('/').reject!(&:empty?).join('/') end def request_by_id? method == 'GET' && !route.list? || %w(PUT DELETE).include?(method) end def request return unless %w(POST PUT DELETE).include?(method) "--request #{method}" end def data return un...
<|file_sep|>lib/grape-slate/example_generator/shell.rb.diff original: updated: def route_path route.route_path_without_format end <|file_sep|>lib/grape-slate/example_generator/shell.rb.diff original: "curl #{host}/#{route_name}/#{id}" updated: "curl #{host}/#{route_path}".split('/').reject!(&:empty?)....
c387e265e3f857166110f803087bd16120ca2a9c
lib/grape-slate/example_generator/shell.rb
lib/grape-slate/example_generator/shell.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "7" - "8" - "9" - "10" - "11" notifications: email: false cache: directories: - node_modules <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "7" - "8" - "9" - "10" - "11" notifications: em...
language: node_js sudo: false node_js: - "8" - "9" - "10" - "11" notifications: email: false cache: directories: - node_modules
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "7" - "8" - "9" - "10" - "11" notifications: email: false cache: directories: - node_modules <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "7" - "8" - "9" - "10" - "11" notifications: em...
8abb790bce5876a6965b65388bdf2af9aabede33
.travis.yml
.travis.yml
YAML
<|file_sep|>original/utility/airwave-utility.desktop [Desktop Entry] Type=Application Version=1.0 Name=Aiwave utility application Comment=Tool for configuring the Airwave VST bridge Exec=airwave-utility Icon=airwave-utility Terminal=false Categories=Multimedia <|file_sep|>current/utility/airwave-utility.desktop [Deskto...
[Desktop Entry] Type=Application Version=1.0 Name=Aiwave utility application Comment=Tool for configuring the Airwave VST bridge Exec=airwave-utility Icon=airwave-utility Terminal=false Categories=Multimedia;AudioVideo;Player;Recorder;
<|file_sep|>original/utility/airwave-utility.desktop [Desktop Entry] Type=Application Version=1.0 Name=Aiwave utility application Comment=Tool for configuring the Airwave VST bridge Exec=airwave-utility Icon=airwave-utility Terminal=false Categories=Multimedia <|file_sep|>current/utility/airwave-utility.desktop [Deskto...
8bd2f4eb56bde0f3d5231f522e3fe7283bc19042
utility/airwave-utility.desktop
utility/airwave-utility.desktop
desktop
<|file_sep|>original/templates/json.erb <|file_sep|>current/templates/json.erb <|file_sep|>updated/templates/json.erb
{ "version": "https://jsonfeed.org/version/1", "title": "The Setup<% if @category %> / <%= @category.capitalize %><% end %>", "home_page_url": "https://usesthis.com/", "feed_url": "http://usesthis.com/<% if @category %>/interviews/<%= @category %>/<% end %>feed/", "author": { "name": "Daniel Bogan" }, ...
<|file_sep|>original/templates/json.erb <|file_sep|>current/templates/json.erb <|file_sep|>updated/templates/json.erb { "version": "https://jsonfeed.org/version/1", "title": "The Setup<% if @category %> / <%= @category.capitalize %><% end %>", "home_page_url": "https://usesthis.com/", "feed_url": "http://uses...
62b4bed48b843f8643d437269b3d428aadd30158
templates/json.erb
templates/json.erb
HTML+ERB
<|file_sep|>docs/database/postgresql_scaffolding.sql.diff original: updated: GRANT SELECT ON ALL SEQUENCES IN SCHEMA public TO amy_ro; <|file_sep|>original/docs/database/postgresql_scaffolding.sql NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION VALID UNTIL 'infinity'; -- roles and pe...
NOCREATEDB NOCREATEROLE NOREPLICATION VALID UNTIL 'infinity'; -- roles and permissions GRANT TEMPORARY ON DATABASE amy TO amy; GRANT TEMPORARY ON DATABASE amy TO amy_ro; GRANT ALL ON DATABASE amy TO postgres; GRANT amy TO postgres; GRANT amy_ro TO postgres; GRANT ALL ON SCHEMA public TO amy; ALTER DEF...
<|file_sep|>docs/database/postgresql_scaffolding.sql.diff original: updated: GRANT SELECT ON ALL SEQUENCES IN SCHEMA public TO amy_ro; <|file_sep|>original/docs/database/postgresql_scaffolding.sql NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION VALID UNTIL 'infinity'; -- roles and pe...
0ba7c1e57ceabe9b8d969f913bd4869911749224
docs/database/postgresql_scaffolding.sql
docs/database/postgresql_scaffolding.sql
SQL
<|file_sep|>original/BreweryDB/RequestBuilder.swift // // RequestBuilder.swift // BreweryDB // // Created by Jake Welton on 1/30/16. // Copyright © 2016 Jake Welton. All rights reserved. // import Foundation enum RequestEndPoint: String { case Beer = "beer" case Beers = "beers" } class RequestBuilder { ...
// // Created by Jake Welton on 1/30/16. // Copyright © 2016 Jake Welton. All rights reserved. // import Foundation enum RequestEndPoint: String { case Beer = "beer" case Beers = "beers" } extension NSURL { func URLByAppendingPathComponent(endPoint: RequestEndPoint) -> NSURL { return URLByAppen...
<|file_sep|>original/BreweryDB/RequestBuilder.swift // // RequestBuilder.swift // BreweryDB // // Created by Jake Welton on 1/30/16. // Copyright © 2016 Jake Welton. All rights reserved. // import Foundation enum RequestEndPoint: String { case Beer = "beer" case Beers = "beers" } class RequestBuilder { ...
f28a5b3ba3c2ab4898466947dfc1938318c9460c
BreweryDB/RequestBuilder.swift
BreweryDB/RequestBuilder.swift
Swift
<|file_sep|>original/tools/internal_ci/macos/grpc_build_artifacts.sh # change to grpc repo root cd $(dirname $0)/../../.. source tools/internal_ci/helper_scripts/prepare_build_macos_rc # install cython for all python versions python2.7 -m pip install cython setuptools wheel python3.5 -m pip install cython setuptools ...
# change to grpc repo root cd $(dirname $0)/../../.. source tools/internal_ci/helper_scripts/prepare_build_macos_rc # install cython for all python versions python2.7 -m pip install cython setuptools wheel python3.5 -m pip install cython setuptools wheel python3.6 -m pip install cython setuptools wheel python3.7 -m p...
<|file_sep|>original/tools/internal_ci/macos/grpc_build_artifacts.sh # change to grpc repo root cd $(dirname $0)/../../.. source tools/internal_ci/helper_scripts/prepare_build_macos_rc # install cython for all python versions python2.7 -m pip install cython setuptools wheel python3.5 -m pip install cython setuptools ...
63363aaf187539e3311590ff137446f2ccc6115c
tools/internal_ci/macos/grpc_build_artifacts.sh
tools/internal_ci/macos/grpc_build_artifacts.sh
Shell
<|file_sep|>app/src/main/java/com/smartdragons/interactivestory/MainActivity.java.diff original: updated: import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; <|file_sep|>app/src/main/java/com/smartdragons/interactivestory/MainActivity.java.diff original:...
private EditText mNameField; private Button mStartButton; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mNameField = (EditText) findViewById(R.id.nameEditText); mStartButton = ...
<|file_sep|>app/src/main/java/com/smartdragons/interactivestory/MainActivity.java.diff original: updated: import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; <|file_sep|>app/src/main/java/com/smartdragons/interactivestory/MainActivity.java.diff original:...
0c51483a40be09cf419ba3a7ed9af41251525e2a
app/src/main/java/com/smartdragons/interactivestory/MainActivity.java
app/src/main/java/com/smartdragons/interactivestory/MainActivity.java
Java
<|file_sep|>Gruntfile.js.diff original: updated: options: { src: './test/app' }, <|file_sep|>original/Gruntfile.js } }, expected : { options: { dest: './test/expected' } }, options: { src: './test/app' } }, mochaTest: { options: { reporter: 'list' }, src:...
actual: { options: { dest: './test/actual' } }, expected : { options: { dest: './test/expected' } } }, mochaTest: { options: { reporter: 'list' }, src: 'test/test.js' } }); grunt.loadTasks('tasks');
<|file_sep|>Gruntfile.js.diff original: updated: options: { src: './test/app' }, <|file_sep|>original/Gruntfile.js } }, expected : { options: { dest: './test/expected' } }, options: { src: './test/app' } }, mochaTest: { options: { reporter: 'list' }, src:...
66c725253152a04854882ddb1be5665bb77e41ae
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/turing.h #ifndef TURING_H_ #define TURING_H_ #define TAPE_LEN 1024 #define turing_error(...) fprintf(stderr, __VA_ARGS__);\ return TURING_ERROR typedef int bool; typedef enum { TURING_OK, TURING_HALT, TURING_ERROR } turing_status_t; typedef struct Turing { bool *tape; b...
#ifndef TURING_H_ #define TURING_H_ #define TAPE_LEN 1024 #define turing_error(...) fprintf(stderr, __VA_ARGS__);\ return TURING_ERROR #define move_head_left(t) move_head(t, 0) #define move_head_right(t) move_head(t, 1) typedef int bool; typedef enum { TURING_OK, TURING_HALT, TURING_ERROR } turing_s...
<|file_sep|>original/turing.h #ifndef TURING_H_ #define TURING_H_ #define TAPE_LEN 1024 #define turing_error(...) fprintf(stderr, __VA_ARGS__);\ return TURING_ERROR typedef int bool; typedef enum { TURING_OK, TURING_HALT, TURING_ERROR } turing_status_t; typedef struct Turing { bool *tape; b...
c584028875926b3a193e480e16bfc19b1c613438
turing.h
turing.h
C
<|file_sep|>original/doc/CONTRIBUTING.md - Output of `bspwm -v`. - Content of `bspwmrc`. - Steps to reproduce the problem. ## Pull Requests ### Requirements You must be comfortable with [C][1], [XCB][2] and [Git][3]. ### Coding Style I follow the [Linux Coding Style][4] with the following variations: - [Indent wit...
- Output of `bspwm -v`. - Content of `bspwmrc`. - Steps to reproduce the problem. ## Pull Requests ### Requirements You must be comfortable with [C][1], [XCB][2] and [Git][3]. ### Coding Style I follow the [Linux Coding Style][4] with the following variations: - [Indent with tabs, align with spaces][5]. - Always u...
<|file_sep|>original/doc/CONTRIBUTING.md - Output of `bspwm -v`. - Content of `bspwmrc`. - Steps to reproduce the problem. ## Pull Requests ### Requirements You must be comfortable with [C][1], [XCB][2] and [Git][3]. ### Coding Style I follow the [Linux Coding Style][4] with the following variations: - [Indent wit...
a6aa980c268f0fc2c2bef1935eec3892136933de
doc/CONTRIBUTING.md
doc/CONTRIBUTING.md
Markdown
<|file_sep|>original/week-4/variables-methods.rb <|file_sep|>current/week-4/variables-methods.rb <|file_sep|>updated/week-4/variables-methods.rb
#Full name greeting puts "What is your first name?" first_name = gets.chomp puts "What is your middle name?" second_name = gets.chomp puts "What is your last name?" third_name = gets.chomp puts 'Hello ' + first_name + ' ' + second_name + ' ' + third_name + '. ' + 'Nice to meet you!' #Bigger, better favorite numb...
<|file_sep|>original/week-4/variables-methods.rb <|file_sep|>current/week-4/variables-methods.rb <|file_sep|>updated/week-4/variables-methods.rb #Full name greeting puts "What is your first name?" first_name = gets.chomp puts "What is your middle name?" second_name = gets.chomp puts "What is your last name?" thi...
f7b3c7c7d000773721af03a0a6e4cd55f1571ef8
week-4/variables-methods.rb
week-4/variables-methods.rb
Ruby
<|file_sep|>original/appveyor.yml clone_depth: 10 # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.12" - nodejs_version: "5" # Install scripts. (runs after repo clo...
clone_depth: 10 # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.12" - nodejs_version: "6" # Install scripts. (runs after repo cloning) install: # Get the Node ve...
<|file_sep|>original/appveyor.yml clone_depth: 10 # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "0.12" - nodejs_version: "5" # Install scripts. (runs after repo clo...
4fb621aec2a381da6952338028386487a0bdfd18
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/README.markdown Declarative Rollup Summaries for Lookups! ========================================= You can read more information about this tool at my blog [here](http://andyinthecloud.com/2013/07/07/new-tool-declarative-rollup-summaries-for-lookups). <|file_sep|>current/README.markdown Declarati...
Declarative Rollups for Lookups! ================================ You can read more information about this tool at my blog [here](http://andyinthecloud.com/2013/07/07/new-tool-declarative-rollup-summaries-for-lookups).
<|file_sep|>original/README.markdown Declarative Rollup Summaries for Lookups! ========================================= You can read more information about this tool at my blog [here](http://andyinthecloud.com/2013/07/07/new-tool-declarative-rollup-summaries-for-lookups). <|file_sep|>current/README.markdown Declarati...
2c63b37ec8dfb5c3fada88370a7efe0da9aefac5
README.markdown
README.markdown
Markdown
<|file_sep|>original/py/1-bit-and-2-bit-characters.py <|file_sep|>current/py/1-bit-and-2-bit-characters.py <|file_sep|>updated/py/1-bit-and-2-bit-characters.py
class Solution(object): def isOneBitCharacter(self, bits): """ :type bits: List[int] :rtype: bool """ s0, s1 = True, False for i, b in enumerate(bits[:-1]): if b == 1: s0, s1 = s1 and bits[i - 1] == 1, s0 else: s...
<|file_sep|>original/py/1-bit-and-2-bit-characters.py <|file_sep|>current/py/1-bit-and-2-bit-characters.py <|file_sep|>updated/py/1-bit-and-2-bit-characters.py class Solution(object): def isOneBitCharacter(self, bits): """ :type bits: List[int] :rtype: bool """ s0, s1 = Tru...
68b5e3438b771afe4a70019a12fdd6d60a587c7e
py/1-bit-and-2-bit-characters.py
py/1-bit-and-2-bit-characters.py
Python
<|file_sep|>original/src/Oro/Bundle/FormBundle/Resources/public/js/app/views/select2-autocomplete-view.js define([ 'jquery', './select2-view' ], function($, Select2View) { 'use strict'; var Select2AutocompleteView; Select2AutocompleteView = Select2View.extend({ events: { 'change...
define([ 'jquery', './select2-view' ], function($, Select2View) { 'use strict'; var Select2AutocompleteView; Select2AutocompleteView = Select2View.extend({ events: { 'change': function(e) { var selectedData = this.$el.data().selectedData || []; if...
<|file_sep|>original/src/Oro/Bundle/FormBundle/Resources/public/js/app/views/select2-autocomplete-view.js define([ 'jquery', './select2-view' ], function($, Select2View) { 'use strict'; var Select2AutocompleteView; Select2AutocompleteView = Select2View.extend({ events: { 'change...
347c6b2176d127fc6c2e43e8a483f8aeb268e15c
src/Oro/Bundle/FormBundle/Resources/public/js/app/views/select2-autocomplete-view.js
src/Oro/Bundle/FormBundle/Resources/public/js/app/views/select2-autocomplete-view.js
JavaScript
<|file_sep|>original/.travis.yml language: haskell ghc: 7.8 deploy: provider: hackage username: StefanKersten password: secure: OeylLs0HzrV/W756CTWLtsaVJXENE9y6axQVeFPxLCQA42YxiHOS7xaiE/QHXWVNtXKSIqSmbrPZ4/ycMl+80YxrlY7QwoFD9ikZsENIAe6xg80z2eRzWgtp2pdlpfG0bBfAdOZ3p5aKcwF69bM2UaQWcWuHGxNcMljpN7I0TL8= on: ...
sudo: false language: haskell ghc: 7.8 deploy: provider: hackage username: StefanKersten password: secure: OeylLs0HzrV/W756CTWLtsaVJXENE9y6axQVeFPxLCQA42YxiHOS7xaiE/QHXWVNtXKSIqSmbrPZ4/ycMl+80YxrlY7QwoFD9ikZsENIAe6xg80z2eRzWgtp2pdlpfG0bBfAdOZ3p5aKcwF69bM2UaQWcWuHGxNcMljpN7I0TL8= on: repo: samplecount/sh...
<|file_sep|>original/.travis.yml language: haskell ghc: 7.8 deploy: provider: hackage username: StefanKersten password: secure: OeylLs0HzrV/W756CTWLtsaVJXENE9y6axQVeFPxLCQA42YxiHOS7xaiE/QHXWVNtXKSIqSmbrPZ4/ycMl+80YxrlY7QwoFD9ikZsENIAe6xg80z2eRzWgtp2pdlpfG0bBfAdOZ3p5aKcwF69bM2UaQWcWuHGxNcMljpN7I0TL8= on: ...
9ab77474a28eb6bdf63ff0301a3883e92078f390
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/controllers/api/v1/proof_attempts_controller.rb class Api::V1::ProofAttemptsController < Api::V1::Base inherit_resources belongs_to :theorem actions :index, :show def index super do |format| format.json do render json: collection, each_serializer: ProofAtte...
def index super do |format| format.json do render json: collection, each_serializer: ProofAttemptSerializer::Reference end end end def used_axioms respond_to do |format| format.json do render json: resource.used_axioms, each_serializer: Axio...
<|file_sep|>original/app/controllers/api/v1/proof_attempts_controller.rb class Api::V1::ProofAttemptsController < Api::V1::Base inherit_resources belongs_to :theorem actions :index, :show def index super do |format| format.json do render json: collection, each_serializer: ProofAtte...
e02bcda5c356adb19107c10bd2448a2d43250aea
app/controllers/api/v1/proof_attempts_controller.rb
app/controllers/api/v1/proof_attempts_controller.rb
Ruby
<|file_sep|>original/haskell/hw5.hs -- See https://github.com/Jakehp/PLC/blob/master/pdfs/hwk5.pdf is_member :: [Int] -> Int -> Bool is_member l x = foldl (\hasBeenFound e -> if not hasBeenFound then x == e else hasBeenFound) False l <|file_sep|>current/haskell/hw5.hs -- See https://github.com/Jakehp/PLC/blob/master/p...
-- See https://github.com/Jakehp/PLC/blob/master/pdfs/hwk5.pdf is_member :: (Eq a) => [a] -> a -> Bool is_member l x = foldl (\hasBeenFound e -> if not hasBeenFound then x == e else hasBeenFound) False l
<|file_sep|>original/haskell/hw5.hs -- See https://github.com/Jakehp/PLC/blob/master/pdfs/hwk5.pdf is_member :: [Int] -> Int -> Bool is_member l x = foldl (\hasBeenFound e -> if not hasBeenFound then x == e else hasBeenFound) False l <|file_sep|>current/haskell/hw5.hs -- See https://github.com/Jakehp/PLC/blob/master/p...
aa6f731ba1cb1b172c2700f99220ca3584ec460d
haskell/hw5.hs
haskell/hw5.hs
Haskell
<|file_sep|>original/application/core/MY_Controller.php class MY_Controller extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('twig'); $this->load->helper('url'); // Twig 관련 글로벌 설정은 이곳 또는 application/libraries/Twig.php 에 작성 $t...
class MY_Controller extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('twig'); $this->load->helper('url'); // Twig 관련 글로벌 설정은 이곳 또는 application/libraries/Twig.php 에 작성 $this->twig->addGlobal('session', $_SESSION); // ...
<|file_sep|>original/application/core/MY_Controller.php class MY_Controller extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('twig'); $this->load->helper('url'); // Twig 관련 글로벌 설정은 이곳 또는 application/libraries/Twig.php 에 작성 $t...
9d4f10e1ddaeed2ac73b5d06ba5e6d6a2128fc1a
application/core/MY_Controller.php
application/core/MY_Controller.php
PHP
<|file_sep|>libpqxx/autogen.sh.diff original: libtoolize --automake --copy updated: libtoolize --force --automake --copy <|file_sep|>libpqxx/autogen.sh.diff original: ./configure --enable-maintainer-mode updated: confflags="--enable-maintainer-mode" if test x$NOCONFIGURE = x; then echo Running $srcdir/configure $conf_...
fi if test -x /usr/bin/automake-1.7 ; then ver="-1.7" fi aclocal${ver} autoheader libtoolize --force --automake --copy automake${ver} --verbose --add-missing --copy autoconf confflags="--enable-maintainer-mode" if test x$NOCONFIGURE = x; then echo Running $srcdir/configure $conf_flags "$@" ... ./configure $conf_fla...
<|file_sep|>libpqxx/autogen.sh.diff original: libtoolize --automake --copy updated: libtoolize --force --automake --copy <|file_sep|>libpqxx/autogen.sh.diff original: ./configure --enable-maintainer-mode updated: confflags="--enable-maintainer-mode" if test x$NOCONFIGURE = x; then echo Running $srcdir/configure $conf_...
f5d702ce915b057e1fb7963e89c8de8a1203108c
libpqxx/autogen.sh
libpqxx/autogen.sh
Shell
<|file_sep|>metadata/com.smartpack.packagemanager.yml.diff original: updated: - versionName: v3.5 versionCode: 35 commit: v3.5 subdir: app gradle: - fdroid <|file_sep|>original/metadata/com.smartpack.packagemanager.yml gradle: - fdroid - versionName: v3.3 versionCode: 33 c...
gradle: - fdroid - versionName: v3.4 versionCode: 34 commit: v3.4 subdir: app gradle: - fdroid - versionName: v3.5 versionCode: 35 commit: v3.5 subdir: app gradle: - fdroid AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: v3.5 CurrentVersionCo...
<|file_sep|>metadata/com.smartpack.packagemanager.yml.diff original: updated: - versionName: v3.5 versionCode: 35 commit: v3.5 subdir: app gradle: - fdroid <|file_sep|>original/metadata/com.smartpack.packagemanager.yml gradle: - fdroid - versionName: v3.3 versionCode: 33 c...
a1ceed3db9532aa9ffadebefe2b095708e2cacde
metadata/com.smartpack.packagemanager.yml
metadata/com.smartpack.packagemanager.yml
YAML
<|file_sep|>original/xwiki-rendering-macros/xwiki-rendering-macro-content/src/main/resources/ApplicationResources.properties <|file_sep|>current/xwiki-rendering-macros/xwiki-rendering-macro-content/src/main/resources/ApplicationResources.properties <|file_sep|>updated/xwiki-rendering-macros/xwiki-rendering-macro-cont...
# --------------------------------------------------------------------------- # See the NOTICE file distributed with this work for additional # information regarding copyright ownership. # # This is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as # p...
<|file_sep|>original/xwiki-rendering-macros/xwiki-rendering-macro-content/src/main/resources/ApplicationResources.properties <|file_sep|>current/xwiki-rendering-macros/xwiki-rendering-macro-content/src/main/resources/ApplicationResources.properties <|file_sep|>updated/xwiki-rendering-macros/xwiki-rendering-macro-cont...
a982d8591798139d40e54fd304ddf156bec8f2d8
xwiki-rendering-macros/xwiki-rendering-macro-content/src/main/resources/ApplicationResources.properties
xwiki-rendering-macros/xwiki-rendering-macro-content/src/main/resources/ApplicationResources.properties
INI
<|file_sep|>original/monitorsim/CMakeLists.txt set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) find_package(Qt5Widgets) set(monitorsim_SOURCES monitorsim.cpp qevdiscreen.cpp screenpreview.cpp ) add_executable(monitorsim ${monitorsim_SOURCES}) target_link_libraries(monitorsim Qt5::Widgets evdipp libevdi...
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) find_package(Qt5Widgets) include_directories(SYSTEM ${Qt5Widgets_INCLUDE_DIRS}) add_definitions(${Qt5Widgets_DEFINITIONS}) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") set(monitorsim_SOURCES monitorsim.cpp qevdiscreen.cpp ...
<|file_sep|>original/monitorsim/CMakeLists.txt set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOMOC ON) find_package(Qt5Widgets) set(monitorsim_SOURCES monitorsim.cpp qevdiscreen.cpp screenpreview.cpp ) add_executable(monitorsim ${monitorsim_SOURCES}) target_link_libraries(monitorsim Qt5::Widgets evdipp libevdi...
9aa1bd693a19d4072c788deb03f4fe94fe0b465e
monitorsim/CMakeLists.txt
monitorsim/CMakeLists.txt
Text
<|file_sep|>original/releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml <|file_sep|>current/releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml <|file_sep|>updated/releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml
--- critical: - Fix a critical bug that when lazy translation is enabled NeutronClientException raises a TypeError (`bug 1552760 <https://bugs.launchpad.net/heat/+bug/1552760>`_).
<|file_sep|>original/releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml <|file_sep|>current/releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml <|file_sep|>updated/releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml --- critical: - Fix a critical bug that wh...
8fe5386a006992bdf606872d5e8ad57e60786c50
releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml
releasenotes/notes/fix-exception-typeerror-4.1.0-b37d738146575ed5.yaml
YAML
<|file_sep|>original/configs/common/_app.json "get": { "host": "" }, "post": { "host": "" }, "auth": "", "timeout": 300000 }, "yandex-disk": { "user": "", "password": "", "namespace": "" }, "mailer": { "host": "", "port": 25, "from": "", "to": [] ...
"github": { "private": { "host": "" }, "public": { "token": [] }, "people": "" }, "mds": { "namespace": "", "get": { "host": "" }, "post": { "host": "" }, "auth": "", "timeout": 300000 } }
<|file_sep|>original/configs/common/_app.json "get": { "host": "" }, "post": { "host": "" }, "auth": "", "timeout": 300000 }, "yandex-disk": { "user": "", "password": "", "namespace": "" }, "mailer": { "host": "", "port": 25, "from": "", "to": [] ...
f3d7bb20bd639bd3be9c6f16c9e0d864c16ca587
configs/common/_app.json
configs/common/_app.json
JSON
<|file_sep|>original/package.json "version": "0.2.0", "repository": { "type": "git", "url": "git://github.com/cyrus-and/chrome-remote-interface.git" }, "bugs" : { "url" : "http://github.com/cyrus-and/chrome-remote-interface/issues" }, "dependencies": { "ws": "0.4....
"version": "0.2.0", "repository": { "type": "git", "url": "git://github.com/cyrus-and/chrome-remote-interface.git" }, "bugs" : { "url" : "http://github.com/cyrus-and/chrome-remote-interface/issues" }, "dependencies": { "ws": "0.4.x" }, "bin": { "ch...
<|file_sep|>original/package.json "version": "0.2.0", "repository": { "type": "git", "url": "git://github.com/cyrus-and/chrome-remote-interface.git" }, "bugs" : { "url" : "http://github.com/cyrus-and/chrome-remote-interface/issues" }, "dependencies": { "ws": "0.4....
ac0662d6551cbe0e647df0e42b5911d4777940e0
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>updated/.travis.yml
language: node_js sudo: false node_js: - "0.10" - "0.12" - "iojs" after_success: npm run coveralls
<|file_sep|>original/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>current/.travis.yml language: node_js sudo: false node_js: - "0.10" - "0.12" - "1.2" after_success: npm run coveralls <|file_sep|>updated/.travis.yml language: n...
7f04f62670cc6d8e07bd19ff23b3156139063f0d
.travis.yml
.travis.yml
YAML
<|file_sep|>_config.yml.diff original: A collection a Elixir programming language examples. updated: A collection of small Elixir programming language examples. <|file_sep|>original/_config.yml # which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* re...
# For technical reasons, this file is *NOT* reloaded automatically when you use # 'jekyll serve'. If you change this file, please restart the server process. # Site settings title: Elixir Examples description: > # this means to ignore newlines until "baseurl:" A collection of small Elixir programming language exampl...
<|file_sep|>_config.yml.diff original: A collection a Elixir programming language examples. updated: A collection of small Elixir programming language examples. <|file_sep|>original/_config.yml # which you are expected to set up once and rarely need to edit after that. # For technical reasons, this file is *NOT* re...
a936998325c11373a7d2453e24d70705e858571d
_config.yml
_config.yml
YAML
<|file_sep|>original/requirements.txt Flask==0.11.1 Flask-Login==0.3.2 inflection==0.2.1 unicodecsv==0.14.1 Werkzeug==0.11.10 git+https://github.com/AusDTO/dto-digitalmarketplace-utils.git@25.9.2#egg=dto-digitalmarketplace-utils==25.9.2 git+https://github.com/AusDTO/dto-digitalmarketplace-content-loader.git@1.5.0#egg=...
Flask==0.11.1 Flask-Login==0.3.2 inflection==0.2.1 unicodecsv==0.14.1 Werkzeug==0.11.10 git+https://github.com/AusDTO/dto-digitalmarketplace-utils.git@25.9.2#egg=dto-digitalmarketplace-utils==25.9.2 git+https://github.com/AusDTO/dto-digitalmarketplace-content-loader.git@1.5.1#egg=dto-digitalmarketplace-content-loader=...
<|file_sep|>original/requirements.txt Flask==0.11.1 Flask-Login==0.3.2 inflection==0.2.1 unicodecsv==0.14.1 Werkzeug==0.11.10 git+https://github.com/AusDTO/dto-digitalmarketplace-utils.git@25.9.2#egg=dto-digitalmarketplace-utils==25.9.2 git+https://github.com/AusDTO/dto-digitalmarketplace-content-loader.git@1.5.0#egg=...
c73ac084439f844c8ec52f46f30798c21ed15f49
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/MC/LLVMBuild.txt ; This file is distributed under the University of Illinois Open Source ; License. See LICENSE.TXT for details. ; ;===------------------------------------------------------------------------===; ; ; This is an LLVMBuild description file for the components in this subdirectory. ...
; This file is distributed under the University of Illinois Open Source ; License. See LICENSE.TXT for details. ; ;===------------------------------------------------------------------------===; ; ; This is an LLVMBuild description file for the components in this subdirectory. ; ; For more information on the LLVMBuild ...
<|file_sep|>original/lib/MC/LLVMBuild.txt ; This file is distributed under the University of Illinois Open Source ; License. See LICENSE.TXT for details. ; ;===------------------------------------------------------------------------===; ; ; This is an LLVMBuild description file for the components in this subdirectory. ...
22f6baa132a446878a213f3c1c9bf62de3bf7fe4
lib/MC/LLVMBuild.txt
lib/MC/LLVMBuild.txt
Text
<|file_sep|>original/.travis.yml - os: linux language: python python: "2.6" - os: linux language: python python: "2.7" - os: linux language: python python: "3.2" - os: linux language: python python: "3.3" - os: linux language: python python...
- os: linux language: python python: "2.6" - os: linux language: python python: "2.7" - os: linux language: python python: "3.2" - os: linux language: python python: "3.3" - os: linux language: python python: "3.6" - os: linux lan...
<|file_sep|>original/.travis.yml - os: linux language: python python: "2.6" - os: linux language: python python: "2.7" - os: linux language: python python: "3.2" - os: linux language: python python: "3.3" - os: linux language: python python...
bc337f80adfe4a537512323ee6271db2e44f046c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/develop_requirements.txt ansible==2.7.5 pip==18.1 wheel==0.32.3 watchdog==0.9.0 flake8==3.5.0 tox==3.7.0 coverage==4.5.2 Sphinx==1.8.3 twine==1.12.1 rstcheck==3.3.1 pycodestyle==2.4.0 pylint==2.2.2 <|file_sep|>current/develop_requirements.txt ansible==2.7.5 pip==18.1 wheel==0.32.3 watchdog==0.9.0 ...
ansible==2.7.6 pip==18.1 wheel==0.32.3 watchdog==0.9.0 flake8==3.5.0 tox==3.7.0 coverage==4.5.2 Sphinx==1.8.3 twine==1.12.1 rstcheck==3.3.1 pycodestyle==2.4.0 pylint==2.2.2
<|file_sep|>original/develop_requirements.txt ansible==2.7.5 pip==18.1 wheel==0.32.3 watchdog==0.9.0 flake8==3.5.0 tox==3.7.0 coverage==4.5.2 Sphinx==1.8.3 twine==1.12.1 rstcheck==3.3.1 pycodestyle==2.4.0 pylint==2.2.2 <|file_sep|>current/develop_requirements.txt ansible==2.7.5 pip==18.1 wheel==0.32.3 watchdog==0.9.0 ...
6849f7f3db2ab013bf5fc7a270fb7ee858ee7651
develop_requirements.txt
develop_requirements.txt
Text
<|file_sep|>original/test/requirements.txt # this is the requirements dedicated to tests. -r ../requirements.txt unittest2 mock coveralls nose-cov coverage nose pylint pep8 pep257 -e git+https://github.com/Alignak-monitoring-contrib/alignak-backend-client.git#egg=alignak_backend_client uwsgi -e git+https://github.com/A...
# this is the requirements dedicated to tests. -r ../requirements.txt unittest2 mock coveralls nose-cov coverage nose pylint pep8 pep257 -e git+https://github.com/Alignak-monitoring-contrib/alignak-backend-client.git#egg=alignak_backend_client uwsgi -e git+https://github.com/Alignak-monitoring/alignak.git@simplify_modu...
<|file_sep|>original/test/requirements.txt # this is the requirements dedicated to tests. -r ../requirements.txt unittest2 mock coveralls nose-cov coverage nose pylint pep8 pep257 -e git+https://github.com/Alignak-monitoring-contrib/alignak-backend-client.git#egg=alignak_backend_client uwsgi -e git+https://github.com/A...
140d091c6ac1ab619c9e90cd048a7d611295e806
test/requirements.txt
test/requirements.txt
Text
<|file_sep|>original/index.md # Welcome to **mathemage**'s personal webpage <|file_sep|>current/index.md # Welcome to **mathemage**'s personal webpage <|file_sep|>updated/index.md
# Welcome to **mathemage**'s personal webpage * [e-mail](mathemage@gmail.com) * [previous personal website](https://sites.google.com/site/mathemage/) * [SlideShare](https://www.slideshare.net/KarelHa1) * [Facebook](https://www.facebook.com/mathemage) * [LinkedIn](https://www.linkedin.com/in/mathemage/) * [Twitter](htt...
<|file_sep|>original/index.md # Welcome to **mathemage**'s personal webpage <|file_sep|>current/index.md # Welcome to **mathemage**'s personal webpage <|file_sep|>updated/index.md # Welcome to **mathemage**'s personal webpage * [e-mail](mathemage@gmail.com) * [previous personal website](https://sites.google.com/site/m...
e02677c359e3fd986bc0c705204b9ded8a853087
index.md
index.md
Markdown
<|file_sep|>original/client/models/areaOfStudy.js var _ = require('lodash'); var React = require('react'); var RequirementSet = require('./requirementSet'); var getRandomInt = require('../helpers/getRandomInt') var AreaOfStudy = React.createClass({ render: function() { var areaDetails = this.props;//getAreaOfStu...
var _ = require('lodash'); var React = require('react'); var RequirementSet = require('./requirementSet'); var getRandomInt = require('../helpers/getRandomInt') var areas = { major: { 'Computer Science': require('../../mockups/demo_csci_major'), 'Asian Studies': require('../../mockups/demo_major') }, degree: ...
<|file_sep|>original/client/models/areaOfStudy.js var _ = require('lodash'); var React = require('react'); var RequirementSet = require('./requirementSet'); var getRandomInt = require('../helpers/getRandomInt') var AreaOfStudy = React.createClass({ render: function() { var areaDetails = this.props;//getAreaOfStu...
fc8df4e09b6b492bd7a1545f8661cbd83013c0d1
client/models/areaOfStudy.js
client/models/areaOfStudy.js
JavaScript
<|file_sep|>src/AppBundle/Form/Type/UserType.php.diff original: updated: use Symfony\Bridge\Doctrine\Form\Type\EntityType; <|file_sep|>original/src/AppBundle/Form/Type/UserType.php { /** * {@inheritdoc} */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder...
class UserType extends AbstractType { /** * {@inheritdoc} */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('name', null, [ 'description' => 'The user name' ]); $builder->add('userDetails', EntityType::class, [ ...
<|file_sep|>src/AppBundle/Form/Type/UserType.php.diff original: updated: use Symfony\Bridge\Doctrine\Form\Type\EntityType; <|file_sep|>original/src/AppBundle/Form/Type/UserType.php { /** * {@inheritdoc} */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder...
56ccaf4db70ba6cbf5a6e466ea060f6f79112504
src/AppBundle/Form/Type/UserType.php
src/AppBundle/Form/Type/UserType.php
PHP
<|file_sep|>original/bayespy/nodes/__init__.py :toctree: generated/ Mixture Deterministic nodes =================== .. autosummary:: :toctree: generated/ Dot SumMultiply Gate """ # Currently, model construction and the inference network are not separated so # the model is constructed using vari...
Mixture Deterministic nodes =================== .. autosummary:: :toctree: generated/ Dot SumMultiply Add Gate """ # Currently, model construction and the inference network are not separated so # the model is constructed using variational message passing nodes. from bayespy.inference.vmp.nodes ...
<|file_sep|>original/bayespy/nodes/__init__.py :toctree: generated/ Mixture Deterministic nodes =================== .. autosummary:: :toctree: generated/ Dot SumMultiply Gate """ # Currently, model construction and the inference network are not separated so # the model is constructed using vari...
9f0b9b68a3c9dfaa64942e55fc97e435b8eb6f50
bayespy/nodes/__init__.py
bayespy/nodes/__init__.py
Python
<|file_sep|>original/src/Data/Symbol.purs , SProxy(..) ) where import Type.Proxy (Proxy(..)) -- | A value-level proxy for a type-level symbol. data SProxy (sym :: Symbol) = SProxy -- | A class for known symbols class IsSymbol (sym :: Symbol) where reflectSymbol :: Proxy sym -> String -- local definition for u...
, SProxy(..) ) where import Type.Proxy (Proxy(..)) -- | A value-level proxy for a type-level symbol. data SProxy (sym :: Symbol) = SProxy -- | A class for known symbols class IsSymbol (sym :: Symbol) where reflectSymbol :: forall proxy. proxy sym -> String -- local definition for use in `reifySymbol` foreign ...
<|file_sep|>original/src/Data/Symbol.purs , SProxy(..) ) where import Type.Proxy (Proxy(..)) -- | A value-level proxy for a type-level symbol. data SProxy (sym :: Symbol) = SProxy -- | A class for known symbols class IsSymbol (sym :: Symbol) where reflectSymbol :: Proxy sym -> String -- local definition for u...
5a31dfdb60981ba1f675a3211111d6da25e53558
src/Data/Symbol.purs
src/Data/Symbol.purs
PureScript
<|file_sep|>original/composer.json ], "support": { "issues": "https://github.com/neilime/zf2-twb-bundle/issues" }, "require": { "php": "^7.2", "twig/twig": "^2.14", "easybook/geshi": "^1.0" }, "require-dev": { "phpunit/phpunit": "^8.5.24" }, "autol...
], "support": { "issues": "https://github.com/neilime/zf2-twb-bundle/issues" }, "require": { "php": "^7.2", "twig/twig": "^2.14", "easybook/geshi": "^1.0" }, "require-dev": { "phpunit/phpunit": "^8.5.25" }, "autoload": { "psr-4": { ...
<|file_sep|>original/composer.json ], "support": { "issues": "https://github.com/neilime/zf2-twb-bundle/issues" }, "require": { "php": "^7.2", "twig/twig": "^2.14", "easybook/geshi": "^1.0" }, "require-dev": { "phpunit/phpunit": "^8.5.24" }, "autol...
386caf878c01fbeeb1b9a260fc4cd204f681db58
composer.json
composer.json
JSON
<|file_sep|>original/lib/oshpark.rb require "Oshpark/version" require "Oshpark/Oshpark" require "Oshpark/client" require "Oshpark/model" require "Oshpark/dimensionable" require "Oshpark/project" module Oshpark end <|file_sep|>current/lib/oshpark.rb require "Oshpark/version" require "Oshpark/Oshpark" require "Oshpark/c...
require "oshpark/version" require "oshpark/oshpark" require "oshpark/client" require "oshpark/model" require "oshpark/dimensionable" require "oshpark/project" module Oshpark end
<|file_sep|>original/lib/oshpark.rb require "Oshpark/version" require "Oshpark/Oshpark" require "Oshpark/client" require "Oshpark/model" require "Oshpark/dimensionable" require "Oshpark/project" module Oshpark end <|file_sep|>current/lib/oshpark.rb require "Oshpark/version" require "Oshpark/Oshpark" require "Oshpark/c...
c84e571afa7c7deb9f7f7b6eb25b0acffc8fa952
lib/oshpark.rb
lib/oshpark.rb
Ruby
<|file_sep|>original/spec/spec_helper.rb config.after :all do load 'setup/elasticsearch/stop.rb' end config.before :suite do require 'setup/sqlite.rb' require 'database_cleaner' # https://github.com/DatabaseCleaner/database_cleaner#additional-activerecord-options-for-truncation DatabaseCle...
require 'setup/sqlite.rb' require 'database_cleaner' # https://github.com/DatabaseCleaner/database_cleaner#additional-activerecord-options-for-truncation DatabaseCleaner.clean_with :deletion, cache_tables: false DatabaseCleaner.strategy = :deletion end config.around(:each) do |example| Da...
<|file_sep|>original/spec/spec_helper.rb config.after :all do load 'setup/elasticsearch/stop.rb' end config.before :suite do require 'setup/sqlite.rb' require 'database_cleaner' # https://github.com/DatabaseCleaner/database_cleaner#additional-activerecord-options-for-truncation DatabaseCle...
fb9cddb15880b8234f35386ab5e650cd2d8364fc
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/Battery-Commander.Web/Migrations/20190126183747_CanLogin.cs public partial class CanLogin : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "CanLogin", table: "Sol...
public partial class CanLogin : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "CanLogin", table: "Soldiers", nullable: false, defaultValue: false); ...
<|file_sep|>original/Battery-Commander.Web/Migrations/20190126183747_CanLogin.cs public partial class CanLogin : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "CanLogin", table: "Sol...
cc0b9dd6278b340f46b58f9d5395cddd556d36f8
Battery-Commander.Web/Migrations/20190126183747_CanLogin.cs
Battery-Commander.Web/Migrations/20190126183747_CanLogin.cs
C#
<|file_sep|>original/src/app/views/provider_accounts/_provider_selection.haml = label_tag "Cloud type: " = @selected_provider.provider_type.name - unless @selected_provider.provider_type.codename.nil? = render :partial => "provider_form", :locals => { :provider_type => @selected_provider.provider_type} - el...
= label_tag "Cloud type: " = @selected_provider.provider_type.name - unless @selected_provider.provider_type.codename.nil? = render :partial => "provider_form", :locals => { :provider_type => @selected_provider.provider_type} - else = flash.now[:warning] = "You don't have any provider yet" :javascript ...
<|file_sep|>original/src/app/views/provider_accounts/_provider_selection.haml = label_tag "Cloud type: " = @selected_provider.provider_type.name - unless @selected_provider.provider_type.codename.nil? = render :partial => "provider_form", :locals => { :provider_type => @selected_provider.provider_type} - el...
299144cc793a9dd821755360a3965faa06245ccc
src/app/views/provider_accounts/_provider_selection.haml
src/app/views/provider_accounts/_provider_selection.haml
Haml
<|file_sep|>original/.travis.yml language: python sudo: false env: - TOXENV=py26 - TOXENV=py27 - TOXENV=pypy - TOXENV=py32 - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 install: # "virtualenv<14.0.0" is needed for Python 3.2 compat - travis_retry pip install "virtualenv<14.0.0" "tox==1.6.1" script: - tr...
language: python sudo: false env: - TOXENV=py26 - TOXENV=py27 - TOXENV=pypy - TOXENV=py32 - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 install: # "virtualenv<14.0.0" is needed for Python 3.2 compat - travis_retry pip install "virtualenv<14.0.0" tox script: - travis_retry tox
<|file_sep|>original/.travis.yml language: python sudo: false env: - TOXENV=py26 - TOXENV=py27 - TOXENV=pypy - TOXENV=py32 - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 install: # "virtualenv<14.0.0" is needed for Python 3.2 compat - travis_retry pip install "virtualenv<14.0.0" "tox==1.6.1" script: - tr...
3634807647cbf8787eb4c645043d9123462a1082
.travis.yml
.travis.yml
YAML
<|file_sep|>provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt.diff original: updated: "annotationProcessor", <|file_sep|>original/provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt val expectedSchema = ...
":" to ProjectSchema( extensions = mapOf( "defaultArtifacts" to "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet", "ext" to "org.gradle.api.plugins.ExtraPropertiesExtension", "report...
<|file_sep|>provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt.diff original: updated: "annotationProcessor", <|file_sep|>original/provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt val expectedSchema = ...
aa7e53822a3815ccb655b1c12dabedc7b2302578
provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt
provider/src/test/kotlin/org/gradle/kotlin/dsl/accessors/GenerateProjectSchemaTest.kt
Kotlin
<|file_sep|>original/setup.py if version_match: return version_match.group(1) raise RuntimeError("Unable to find version string.") setup( name='django-floppyforms', version=find_version('floppyforms', '__init__.py'), author=u'Bruno Renié', author_email='bruno@renie.fr', packages=fi...
if version_match: return version_match.group(1) raise RuntimeError("Unable to find version string.") setup( name='django-floppyforms', version=find_version('floppyforms', '__init__.py'), author=u'Bruno Renié', author_email='bruno@renie.fr', packages=find_packages(exclude=["tests.*"...
<|file_sep|>original/setup.py if version_match: return version_match.group(1) raise RuntimeError("Unable to find version string.") setup( name='django-floppyforms', version=find_version('floppyforms', '__init__.py'), author=u'Bruno Renié', author_email='bruno@renie.fr', packages=fi...
9297c0e672f8500f71c2279deb5fd5662aa60dd9
setup.py
setup.py
Python
<|file_sep|>original/tests/test__copy_this_file_to_create_a_new_test.cpp <|file_sep|>current/tests/test__copy_this_file_to_create_a_new_test.cpp <|file_sep|>updated/tests/test__copy_this_file_to_create_a_new_test.cpp
// Copyright © 2012 Lénaïc Bagnères, hnc@singularity.fr // 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 ...
<|file_sep|>original/tests/test__copy_this_file_to_create_a_new_test.cpp <|file_sep|>current/tests/test__copy_this_file_to_create_a_new_test.cpp <|file_sep|>updated/tests/test__copy_this_file_to_create_a_new_test.cpp // Copyright © 2012 Lénaïc Bagnères, hnc@singularity.fr // Licensed under the Apache License, Versio...
f139fc12ee9d6ce904283e18dee38490368ecd37
tests/test__copy_this_file_to_create_a_new_test.cpp
tests/test__copy_this_file_to_create_a_new_test.cpp
C++
<|file_sep|>gradle.properties.diff original: org.gradle.jvmargs=-Xmx1536m updated: # org.gradle.jvmargs=-Xmx1536m <|file_sep|>original/gradle.properties # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file....
# http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. # org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. # This option should only b...
<|file_sep|>gradle.properties.diff original: org.gradle.jvmargs=-Xmx1536m updated: # org.gradle.jvmargs=-Xmx1536m <|file_sep|>original/gradle.properties # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file....
17e7479f29b2976ddf62f0fd8d6523bdde385c11
gradle.properties
gradle.properties
INI
<|file_sep|>Contents/DefaultPrefs.json.diff original: "type": "text", updated: "type": "enum", <|file_sep|>original/Contents/DefaultPrefs.json [ { "id": "site_url", "type": "text", "label": "Site URL", "default": "http://www.primewire.ag" } ] <|file_sep|>current/Contents/DefaultPrefs.json [ { "id": "si...
[ { "id": "site_url", "type": "enum", "label": "Site URL", "values": [ "https://www.primewire.ag" ], "default": "https://www.primewire.ag" } ]
<|file_sep|>Contents/DefaultPrefs.json.diff original: "type": "text", updated: "type": "enum", <|file_sep|>original/Contents/DefaultPrefs.json [ { "id": "site_url", "type": "text", "label": "Site URL", "default": "http://www.primewire.ag" } ] <|file_sep|>current/Contents/DefaultPrefs.json [ { "id": "si...
89feca2dbe801244a62b224f920aa4d46833c224
Contents/DefaultPrefs.json
Contents/DefaultPrefs.json
JSON
<|file_sep|>original/packages/strapi-generate-new/files/config/environments/production/database.json { "defaultConnection": "default", "connections": { "default": { "connector": "strapi-mongoose", "settings": { "client": "mongo", "uri": "${process.env.DATABASE_URI || ''}", "h...
{ "defaultConnection": "default", "connections": { "default": { "connector": "strapi-mongoose", "settings": { "client": "mongo", "uri": "${process.env.DATABASE_URI || ''}", "host": "${process.env.DATABASE_HOST || '127.0.0.1'}", "port": "${process.env.DATABASE_PORT || ...
<|file_sep|>original/packages/strapi-generate-new/files/config/environments/production/database.json { "defaultConnection": "default", "connections": { "default": { "connector": "strapi-mongoose", "settings": { "client": "mongo", "uri": "${process.env.DATABASE_URI || ''}", "h...
ca864ae7111006e6bfd35ac0f48151169accd159
packages/strapi-generate-new/files/config/environments/production/database.json
packages/strapi-generate-new/files/config/environments/production/database.json
JSON
<|file_sep|>original/doc/find_autodoc_modules.sh #!/bin/bash NOVA_DIR='../nova/' # include trailing slash DOCS_DIR='source' modules='' for x in `find ${NOVA_DIR} -name '*.py'`; do if [ `basename ${x} .py` == "__init__" ] ; then continue fi relative=nova.`echo ${x} | sed -e 's$^'${NOVA_DIR}'$$' -e ...
#!/bin/bash NOVA_DIR='../nova/' # include trailing slash DOCS_DIR='source' modules='' for x in `find ${NOVA_DIR} -name '*.py'`; do if [ `basename ${x} .py` == "__init__" ] ; then continue fi relative=nova`echo ${x} | sed -e 's$^'${NOVA_DIR}'$$' -e 's/.py$//' -e 's$/$.$g'` modules="${modules} $...
<|file_sep|>original/doc/find_autodoc_modules.sh #!/bin/bash NOVA_DIR='../nova/' # include trailing slash DOCS_DIR='source' modules='' for x in `find ${NOVA_DIR} -name '*.py'`; do if [ `basename ${x} .py` == "__init__" ] ; then continue fi relative=nova.`echo ${x} | sed -e 's$^'${NOVA_DIR}'$$' -e ...
dcb867871548be2d06b8957e059b387efde17aa9
doc/find_autodoc_modules.sh
doc/find_autodoc_modules.sh
Shell
<|file_sep|>demo/applique/bezel.rb.diff original: # require bezel updated: # Use a dummy Gem location for this example. dummy_gem_home = File.expand_path('../fixtures', File.dirname(__FILE__)) <|file_sep|>demo/applique/bezel.rb.diff original: updated: ENV['GEM_HOME'] = dummy_gem_home Gem.path.unshift(dummy_gem_home) ...
# Use a dummy Gem location for this example. dummy_gem_home = File.expand_path('../fixtures', File.dirname(__FILE__)) ENV['GEM_HOME'] = dummy_gem_home Gem.path.unshift(dummy_gem_home) Gem::Specification.reset #p Gem::Specification.all_names #puts "Gem path added: #{dummy_gem_home}" # Require Bezel require 'bezel'
<|file_sep|>demo/applique/bezel.rb.diff original: # require bezel updated: # Use a dummy Gem location for this example. dummy_gem_home = File.expand_path('../fixtures', File.dirname(__FILE__)) <|file_sep|>demo/applique/bezel.rb.diff original: updated: ENV['GEM_HOME'] = dummy_gem_home Gem.path.unshift(dummy_gem_home) ...
40610b877d663245d1a6c6d25aff97455762cdae
demo/applique/bezel.rb
demo/applique/bezel.rb
Ruby
<|file_sep|>original/web/app/views/endpoints/_calendar.html.slim = stylesheet_link_tag 'umakadata/bootstrap-datepicker3.min' = stylesheet_link_tag 'umakadata/calendar' = javascript_include_tag 'bootstrap-datepicker.min' javascript: $(function(){ $('#calendar').datepicker({ autoclose: true, startDate:...
= stylesheet_link_tag 'umakadata/bootstrap-datepicker3.min' = stylesheet_link_tag 'umakadata/calendar' = javascript_include_tag 'bootstrap-datepicker.min' javascript: $(function(){ $('#calendar').datepicker({ autoclose: true, startDate: "#{@start_date}", endDate: new Date(), format: 'dd-M...
<|file_sep|>original/web/app/views/endpoints/_calendar.html.slim = stylesheet_link_tag 'umakadata/bootstrap-datepicker3.min' = stylesheet_link_tag 'umakadata/calendar' = javascript_include_tag 'bootstrap-datepicker.min' javascript: $(function(){ $('#calendar').datepicker({ autoclose: true, startDate:...
40206c0d73bc1aec74edda6f5283a8714bd58f7d
web/app/views/endpoints/_calendar.html.slim
web/app/views/endpoints/_calendar.html.slim
Slim
<|file_sep|>original/src/middleware/editor.js url: objectURL, editorId, }, } } export const editor = store => next => action => { const { payload, type } = action if (type === ACTION_TYPES.EDITOR.SAVE_ASSET) { const editorId = get(payload, 'editorId') const file = get(payload, 'file') ...
}, } } export const editor = store => next => action => { const { payload, type } = action if (type === ACTION_TYPES.EDITOR.SAVE_ASSET) { const editorId = get(payload, 'editorId') const file = get(payload, 'file') // The - 2 should always be consistent. The reason is that when a tmp image //...
<|file_sep|>original/src/middleware/editor.js url: objectURL, editorId, }, } } export const editor = store => next => action => { const { payload, type } = action if (type === ACTION_TYPES.EDITOR.SAVE_ASSET) { const editorId = get(payload, 'editorId') const file = get(payload, 'file') ...
70dc8c3432f894e555bda6c09882d060d02d0620
src/middleware/editor.js
src/middleware/editor.js
JavaScript
<|file_sep|>original/config/fish/config.fish fish_vi_key_bindings # aliases source "$config_home/fish/aliases.fish" # fzf if test -d "$data_home/fzf" set -gx PATH "$data_home/fzf/bin" $PATH set -gx FZF_LEGACY_KEYBINDINGS 0 end # z set -gx Z_CMD "j" set -gx Z_DATA "$data_home/z" # base16 colour scheme if tes...
# fzf if test -d "$data_home/fzf" set -gx PATH "$data_home/fzf/bin" $PATH set -gx FZF_LEGACY_KEYBINDINGS 0 end # z set -gx Z_CMD "j" set -gx Z_DATA "$data_home/z" # base16 colour scheme if test ! -d "$data_home/base16-shell" git clone https://github.com/chriskempson/base16-shell.git "$data_home/base16-she...
<|file_sep|>original/config/fish/config.fish fish_vi_key_bindings # aliases source "$config_home/fish/aliases.fish" # fzf if test -d "$data_home/fzf" set -gx PATH "$data_home/fzf/bin" $PATH set -gx FZF_LEGACY_KEYBINDINGS 0 end # z set -gx Z_CMD "j" set -gx Z_DATA "$data_home/z" # base16 colour scheme if tes...
1a4867dc9685e94c15d0ad6cb018369467bf0cc1
config/fish/config.fish
config/fish/config.fish
fish
<|file_sep|>original/meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb <|file_sep|>current/meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb <|file_sep|>updated/meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb
DESCRIPTION="Rezlooks GTK+ Engine" HOMEPAGE="http://www.gnome-look.org/content/show.php?content=39179" SECTION = "x11/themes" PR = "r0" DEPENDS = "gtk+" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI="http://www.gnome-look.org/CONTENT/content-files/39179-rezlooks-...
<|file_sep|>original/meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb <|file_sep|>current/meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb <|file_sep|>updated/meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb DESCRIPTION="Rezlooks GTK+ Engine" ...
d3613a71b9e23a44ce1cc286c8db20e1e167009e
meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb
meta-jlime/recipes-gnome/gtk-engines-rezlooks/gtk-engines-rezlooks_0.6.bb
BitBake
<|file_sep|>original/searchlib/src/vespa/searchlib/tensor/tensor_buffer_type_mapper.h // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <cstdint> #include <vector> namespace search::tensor { class LargeSubspacesBufferType; class SmallSubsp...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <cstddef> #include <cstdint> #include <vector> namespace search::tensor { class LargeSubspacesBufferType; class SmallSubspacesBufferType; class TensorBufferOperations; /* * This class pro...
<|file_sep|>original/searchlib/src/vespa/searchlib/tensor/tensor_buffer_type_mapper.h // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <cstdint> #include <vector> namespace search::tensor { class LargeSubspacesBufferType; class SmallSubsp...
f8abb3519c9849ee37d4141869a8b38b2a54e295
searchlib/src/vespa/searchlib/tensor/tensor_buffer_type_mapper.h
searchlib/src/vespa/searchlib/tensor/tensor_buffer_type_mapper.h
C
<|file_sep|>original/circle.yml machine: environment: USE_SYSTEM_NUNIT_CONSOLE: 1 dependencies: pre: - source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list - wget -qO- http://download.rethinkdb.com/apt/pubkey.gp...
machine: environment: USE_SYSTEM_NUNIT_CONSOLE: 1 dependencies: pre: - source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list - wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add - - sud...
<|file_sep|>original/circle.yml machine: environment: USE_SYSTEM_NUNIT_CONSOLE: 1 dependencies: pre: - source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list - wget -qO- http://download.rethinkdb.com/apt/pubkey.gp...
11572ec203244c368f102681c0ec0106d9dede13
circle.yml
circle.yml
YAML
<|file_sep|>original/app/models/User.php class User extends Eloquent implements UserInterface, RemindableInterface { /** * The database table used by the model. * * @var string */ protected $table = 'users'; /** * The attributes excluded from the model's JSON form. * * @var array */ protected $hid...
class User extends Eloquent implements UserInterface, RemindableInterface { /** * The database table used by the model. * * @var string */ protected $table = 'users'; /** * Should deleted_at be used * * @var bool */ protected $softDeletes = true; /** * The attributes excluded from the model's ...
<|file_sep|>original/app/models/User.php class User extends Eloquent implements UserInterface, RemindableInterface { /** * The database table used by the model. * * @var string */ protected $table = 'users'; /** * The attributes excluded from the model's JSON form. * * @var array */ protected $hid...
452583e7b1d063bc9f212eca5a836b37e7c627b8
app/models/User.php
app/models/User.php
PHP
<|file_sep|>original/darkoob/social/admin.py from django.contrib import admin from models import UserProfile class UserProfileAdmin(admin.ModelAdmin): list_display = ('user',) # list_display = ('user','sex') # search_fields = ('user',) # list_filter = ('sex',ist_display = ('user','sex') # search_fields = ('use...
from django.contrib import admin from models import UserProfile class UserProfileAdmin(admin.ModelAdmin): list_display = ('user', 'sex') search_fields = ('user',) admin.site.register(UserProfile,UserProfileAdmin)
<|file_sep|>original/darkoob/social/admin.py from django.contrib import admin from models import UserProfile class UserProfileAdmin(admin.ModelAdmin): list_display = ('user',) # list_display = ('user','sex') # search_fields = ('user',) # list_filter = ('sex',ist_display = ('user','sex') # search_fields = ('use...
dc229325a7a527c2d2143b105b47899140018e32
darkoob/social/admin.py
darkoob/social/admin.py
Python
<|file_sep|>original/appveyor.yml configuration: - Debug - Release matrix: fast_finish: false before_build: nuget restore Rational.sln build: parallel: true project: Rational.sln verbosity: minimal after_build: - ps: RationalNumberExample\bin\$env:configuration\RationalNumberExample.exe test: as...
configuration: - Debug - Release matrix: fast_finish: false before_build: nuget restore Rational.sln build: parallel: true project: Rational.sln verbosity: minimal after_build: - ps: RationalNumberExample\bin\$env:configuration\RationalNumberExample.exe test: assemblies: - RationalNumberTest...
<|file_sep|>original/appveyor.yml configuration: - Debug - Release matrix: fast_finish: false before_build: nuget restore Rational.sln build: parallel: true project: Rational.sln verbosity: minimal after_build: - ps: RationalNumberExample\bin\$env:configuration\RationalNumberExample.exe test: as...
ac8a3a1091786f473e2c42b8bb57790e2e43bcc1
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/metadata/com.holokenmod.txt Adding some bug fixes and features to [[com.tortuca.holoken]] which was: Based on KenKen and forked from [[net.cactii.mathdoku]] v1.9, now featuring a Holo-inspired design and more user-friendly functionalities. Also known as Mathdoku or Kendoku, this KenKen game will t...
Adding some bug fixes and features to [[com.tortuca.holoken]] which was: Based on KenKen and forked from [[net.cactii.mathdoku]] v1.9, now featuring a Holo-inspired design and more user-friendly functionalities. Also known as Mathdoku or Kendoku, this KenKen game will test your mental arithmetic and challenge your min...
<|file_sep|>original/metadata/com.holokenmod.txt Adding some bug fixes and features to [[com.tortuca.holoken]] which was: Based on KenKen and forked from [[net.cactii.mathdoku]] v1.9, now featuring a Holo-inspired design and more user-friendly functionalities. Also known as Mathdoku or Kendoku, this KenKen game will t...
935ee5f509ae4b545092e3816f66e8ae6aa1181f
metadata/com.holokenmod.txt
metadata/com.holokenmod.txt
Text
<|file_sep|>app/views/projects/edit.html.erb.diff original: <div class="col-md-2 col-xs-3"> updated: <div class="col-md-2 col-sm-3"> <|file_sep|>original/app/views/projects/edit.html.erb <% if logged_in? %> <div class="row"> <div class="col-md-2 col-xs-3"> <div class="main-badge-ques"></div> </d...
<% if logged_in? %> <div class="row"> <div class="col-md-2 col-sm-3"> <div class="main-badge-ques"></div> </div> <div class="col-md-7 col-sm-6"> <h2 class="text-uppercase m-t-0">Edit Project Badge Status</h2> <%= render 'form', project: @project, is_disabled: false %> <% else %> <% flash.n...
<|file_sep|>app/views/projects/edit.html.erb.diff original: <div class="col-md-2 col-xs-3"> updated: <div class="col-md-2 col-sm-3"> <|file_sep|>original/app/views/projects/edit.html.erb <% if logged_in? %> <div class="row"> <div class="col-md-2 col-xs-3"> <div class="main-badge-ques"></div> </d...
6f53920c8741fe4f77f9ef31040b2554e70e7990
app/views/projects/edit.html.erb
app/views/projects/edit.html.erb
HTML+ERB
<|file_sep|>src/ProjectEuler/Puzzles/Puzzle012.cs.diff original: for (int i = 1; ; i++) updated: long triangleNumber = 0; for (int n = 1; ; n++) <|file_sep|>original/src/ProjectEuler/Puzzles/Puzzle012.cs { Console.Error.WriteLine("The specified number of ...
{ Console.Error.WriteLine("The specified number of divisors is invalid."); return -1; } long triangleNumber = 0; for (int n = 1; ; n++) { triangleNumber += n; int numberOfFactors = Maths.GetFac...
<|file_sep|>src/ProjectEuler/Puzzles/Puzzle012.cs.diff original: for (int i = 1; ; i++) updated: long triangleNumber = 0; for (int n = 1; ; n++) <|file_sep|>original/src/ProjectEuler/Puzzles/Puzzle012.cs { Console.Error.WriteLine("The specified number of ...
5b549758020cbf4de2402ba3a3deb5bc0519e324
src/ProjectEuler/Puzzles/Puzzle012.cs
src/ProjectEuler/Puzzles/Puzzle012.cs
C#
<|file_sep|>original/docs/source/content_architecture.rst <|file_sep|>current/docs/source/content_architecture.rst <|file_sep|>updated/docs/source/content_architecture.rst
Content Architecture ==================== The ``Container`` Model ----------------------- The conventions of a Opps site is the modelo ``opps.containers.models.Container``. Each ``container`` instance is stored in a hierarchical tree to form the content navigation, and an interface for managing the structure of the n...
<|file_sep|>original/docs/source/content_architecture.rst <|file_sep|>current/docs/source/content_architecture.rst <|file_sep|>updated/docs/source/content_architecture.rst Content Architecture ==================== The ``Container`` Model ----------------------- The conventions of a Opps site is the modelo ``opps.co...
11c031a1033588790b157719ac9f47e4c14dca6f
docs/source/content_architecture.rst
docs/source/content_architecture.rst
reStructuredText
<|file_sep|>original/slacksoc.yaml statefile: /var/slacksoc/state.gob plugins: - name: Respond responses: - trigger: "(yo|hey|hi|hello|sup),? slacksoc" replies: ["hello", "wassup", "yo"] - trigger: "((good)?bye|adios),? slacksoc" replies: ["goodbye"] - trigger: "how much better i...
plugins: - name: Respond responses: - trigger: "(yo|hey|hi|hello|sup),? slacksoc" replies: ["hello", "wassup", "yo"] - trigger: "((good)?bye|adios),? slacksoc" replies: ["goodbye"] - trigger: "how much better is slack than groupme?" replies: ["infinity"] - trigger: ...
<|file_sep|>original/slacksoc.yaml statefile: /var/slacksoc/state.gob plugins: - name: Respond responses: - trigger: "(yo|hey|hi|hello|sup),? slacksoc" replies: ["hello", "wassup", "yo"] - trigger: "((good)?bye|adios),? slacksoc" replies: ["goodbye"] - trigger: "how much better i...
3b1b4a033f9efb21badba4be04ef1373733589f2
slacksoc.yaml
slacksoc.yaml
YAML
<|file_sep|>.travis.yml.diff original: - if [[ $TRAVIS_PHP_VERSION =~ ^[0-9]+[.][0-9]+$ ]]; then phpenv config-rm xdebug.ini; fi updated: <|file_sep|>.travis.yml.diff original: updated: - composer require codeclimate/php-test-reporter:dev-master --dev <|file_sep|>original/.travis.yml language: php php: - 7.0 ...
- 5.6 - 5.5 - 5.4 - 5.3 - hhvm - nightly matrix: allow_failures: - php: nightly before_script: - composer selfupdate - composer update --no-interaction --prefer-dist - composer require codeclimate/php-test-reporter:dev-master --dev script: - ./vendor/phpunit/phpunit/phpunit -v --coverage-cl...
<|file_sep|>.travis.yml.diff original: - if [[ $TRAVIS_PHP_VERSION =~ ^[0-9]+[.][0-9]+$ ]]; then phpenv config-rm xdebug.ini; fi updated: <|file_sep|>.travis.yml.diff original: updated: - composer require codeclimate/php-test-reporter:dev-master --dev <|file_sep|>original/.travis.yml language: php php: - 7.0 ...
6e23df3cc721116b7d8ec55363daeb5e5e9f8574
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/test/run-pass/associated-types-ref-from-struct.rs <|file_sep|>current/src/test/run-pass/associated-types-ref-from-struct.rs <|file_sep|>updated/src/test/run-pass/associated-types-ref-from-struct.rs
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
<|file_sep|>original/src/test/run-pass/associated-types-ref-from-struct.rs <|file_sep|>current/src/test/run-pass/associated-types-ref-from-struct.rs <|file_sep|>updated/src/test/run-pass/associated-types-ref-from-struct.rs // Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level direc...
55c6a68f1184eefb9e475b5f58272931688d2bc9
src/test/run-pass/associated-types-ref-from-struct.rs
src/test/run-pass/associated-types-ref-from-struct.rs
Rust
<|file_sep|>original/OWLib/Properties/AssemblyInfo.cs // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(true)] // The following GUID is...
// Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(true)] // The following GUID is for the ID of the typelib if this project is exposed t...
<|file_sep|>original/OWLib/Properties/AssemblyInfo.cs // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(true)] // The following GUID is...
f85e5c24282928646b0ce3d40bda2694e18c70c2
OWLib/Properties/AssemblyInfo.cs
OWLib/Properties/AssemblyInfo.cs
C#
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
Quick instructions: virtualenv VENV source VENV/bin/activate python setup.py install voms-proxy-init -voms fedcloud.egi.eu -rfc pyocci --debug --insecure --endpoint_url https://example.org:8787 --occi_group foobar capabilities
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md Quick instructions: virtualenv VENV source VENV/bin/activate python setup.py install voms-proxy-init -voms fedcloud.egi.eu -rfc pyocci --debug --insecure --endpoint_url https://example.org:8787 --occi_group foobar capabiliti...
34c7fdfd5eb44985bd4b3ea47675ea996565023a
README.md
README.md
Markdown
<|file_sep|>original/README.md # MuD Notes An Electron-powered, CommonMarkl-based note-taking app. ## Using MuD Notes Currently, MuD Notes requires that you have [Electron](http://electron.atom.io) pre-installed on your system to run (if you don't already have it). To run MuD Notes: 1. Download the zip folder contai...
# MuD Notes An Electron-powered, CommonMark-based note-taking app. ## Using MuD Notes Currently, MuD Notes requires that you have [Electron](http://electron.atom.io) pre-installed on your system to run (if you don't already have it). To run MuD Notes: 1. Download the zip folder containing the Master branch and unpac...
<|file_sep|>original/README.md # MuD Notes An Electron-powered, CommonMarkl-based note-taking app. ## Using MuD Notes Currently, MuD Notes requires that you have [Electron](http://electron.atom.io) pre-installed on your system to run (if you don't already have it). To run MuD Notes: 1. Download the zip folder contai...
9cc49f431d073dbbc14da7470381361f5920acbc
README.md
README.md
Markdown