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/.github/workflows/lighthouse.yml <|file_sep|>current/.github/workflows/lighthouse.yml <|file_sep|>updated/.github/workflows/lighthouse.yml
name: Build project and Run Lighthouse CI on: [push] jobs: lhci: name: Lighthouse CI runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Read .node-version id: node-version run: echo ::set-output name=version::$(cat .node-version) - name: Setup Node.js ${...
<|file_sep|>original/.github/workflows/lighthouse.yml <|file_sep|>current/.github/workflows/lighthouse.yml <|file_sep|>updated/.github/workflows/lighthouse.yml name: Build project and Run Lighthouse CI on: [push] jobs: lhci: name: Lighthouse CI runs-on: ubuntu-latest steps: - uses: actions/check...
517c4b512be302cd6cd155c6b57d19f4376de22d
.github/workflows/lighthouse.yml
.github/workflows/lighthouse.yml
YAML
<|file_sep|>original/tests/dummy/app/templates/application.hbs </div> <div class="row"> <div class="col-sm-9"> {{outlet}} </div> <div class="col-sm-3"> <div class="list-group"> {{link-to "Basic Example" "index" class="list-group-item"}} {{link-to "Query Parameters Example" "...
<div class="row"> <div class="col-sm-9"> {{outlet}} </div> <div class="col-sm-3"> <div class="list-group"> {{link-to "Basic Example" "index" class="list-group-item"}} {{link-to "Query Parameters Example" "query-params" class="list-group-item"}} {{link-to "Dynamic Tabs ...
<|file_sep|>original/tests/dummy/app/templates/application.hbs </div> <div class="row"> <div class="col-sm-9"> {{outlet}} </div> <div class="col-sm-3"> <div class="list-group"> {{link-to "Basic Example" "index" class="list-group-item"}} {{link-to "Query Parameters Example" "...
6551b063d6a683e959c6b67a54aeea8f5ebcddb5
tests/dummy/app/templates/application.hbs
tests/dummy/app/templates/application.hbs
Handlebars
<|file_sep|>original/app/serializers/effort_serializer.rb class EffortSerializer < BaseSerializer attributes :id, :event_id, :person_id, :bib_number, :first_name, :last_name, :full_name, :gender, :age, :city, :state_code, :country_code, :beacon_url, :photo_url, :report_url, :start_offset link(:self) { ...
class EffortSerializer < BaseSerializer attributes :id, :event_id, :person_id, :participant_id, :bib_number, :first_name, :last_name, :full_name, :gender, :age, :city, :state_code, :country_code, :beacon_url, :photo_url, :report_url, :start_offset link(:self) { api_v1_effort_path(object) } has_many ...
<|file_sep|>original/app/serializers/effort_serializer.rb class EffortSerializer < BaseSerializer attributes :id, :event_id, :person_id, :bib_number, :first_name, :last_name, :full_name, :gender, :age, :city, :state_code, :country_code, :beacon_url, :photo_url, :report_url, :start_offset link(:self) { ...
7214d765437ffc7b980ec2d6682aaa0e705a5b60
app/serializers/effort_serializer.rb
app/serializers/effort_serializer.rb
Ruby
<|file_sep|>.travis.yml.diff original: - 3.6.0 updated: - master <|file_sep|>original/.travis.yml - stage: site name: "Build web site" jdk: oraclejdk8 script: mvn site -Dhost="vertx-ci.github.io/web-site-snapshot" && rm target/site/CNAME deploy: condition: env(GITHUB_TOKEN) IS present pro...
- stage: site name: "Build web site" jdk: oraclejdk8 script: mvn site -Dhost="vertx-ci.github.io/web-site-snapshot" && rm target/site/CNAME deploy: condition: env(GITHUB_TOKEN) IS present provider: pages skip-cleanup: true github-token: $GITHUB_TOKEN keep-history: false repo: vertx-ci...
<|file_sep|>.travis.yml.diff original: - 3.6.0 updated: - master <|file_sep|>original/.travis.yml - stage: site name: "Build web site" jdk: oraclejdk8 script: mvn site -Dhost="vertx-ci.github.io/web-site-snapshot" && rm target/site/CNAME deploy: condition: env(GITHUB_TOKEN) IS present pro...
df6d151c22b478c5a1c9f4f476a659c6f0ac3132
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata/eu.lepiller.nani.yml.diff original: updated: - versionName: 0.2.3 versionCode: 6 commit: 0.2.3 subdir: app gradle: - yes <|file_sep|>original/metadata/eu.lepiller.nani.yml gradle: - yes - versionName: 0.2.1 versionCode: 3 commit: 0.2.1 subdir: app ...
gradle: - yes - versionName: 0.2.2.1 versionCode: 5 commit: 0.2.2.1 subdir: app gradle: - yes - versionName: 0.2.3 versionCode: 6 commit: 0.2.3 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 0.2.3 CurrentVersionCode...
<|file_sep|>metadata/eu.lepiller.nani.yml.diff original: updated: - versionName: 0.2.3 versionCode: 6 commit: 0.2.3 subdir: app gradle: - yes <|file_sep|>original/metadata/eu.lepiller.nani.yml gradle: - yes - versionName: 0.2.1 versionCode: 3 commit: 0.2.1 subdir: app ...
445d2b29e760d71e071bce960b6dd0adb2f73cc5
metadata/eu.lepiller.nani.yml
metadata/eu.lepiller.nani.yml
YAML
<|file_sep|>original/web/router.ex plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery end pipeline :api do plug :accepts, ["json"] end scope "/", MyApp_726605 do pipe_through :browser # Use the default browser stack get "/", PageController, :i...
plug :fetch_session plug :fetch_flash plug :protect_from_forgery end pipeline :api do plug :accepts, ["json"] end scope "/", MyApp_726605 do pipe_through :browser # Use the default browser stack get "/", PageController, :index resources "/users", UserController end # Other sc...
<|file_sep|>original/web/router.ex plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery end pipeline :api do plug :accepts, ["json"] end scope "/", MyApp_726605 do pipe_through :browser # Use the default browser stack get "/", PageController, :i...
ef5b82a1032ead15e81cb23fb3f580f980ed0e4a
web/router.ex
web/router.ex
Elixir
<|file_sep|>.github/workflows/linter.yaml.diff original: VALIDATE_ALL_CODEBASE: false updated: <|file_sep|>original/.github/workflows/linter.yaml ########################## # Checkout the code base # ########################## - name: Checkout Code uses: actions/checkout@v3 ...
########################## - name: Checkout Code uses: actions/checkout@v3 with: # Full git history is needed to get a proper list of changed files within `super-linter` fetch-depth: 0 ################################ # Run Linter against code base # ##...
<|file_sep|>.github/workflows/linter.yaml.diff original: VALIDATE_ALL_CODEBASE: false updated: <|file_sep|>original/.github/workflows/linter.yaml ########################## # Checkout the code base # ########################## - name: Checkout Code uses: actions/checkout@v3 ...
f7f11839d3ee62fa8343085037b8ab6287da33ed
.github/workflows/linter.yaml
.github/workflows/linter.yaml
YAML
<|file_sep|>original/test-rc.json { "kind":"ReplicationController", "apiVersion":"v1beta3", "metadata":{ "name":"hello-rc", "labels":{ "name":"hello-rc" } }, "spec":{ "replicas":1, "selector":{ "name":"hello-rc" }, "template":{ "metadat...
{ "kind":"ReplicationController", "apiVersion":"v1", "metadata":{ "name":"hello-rc", "labels":{ "name":"hello-rc" } }, "spec":{ "replicas":1, "selector":{ "name":"hello-rc" }, "template":{ "metadata":{ "labels":{ ...
<|file_sep|>original/test-rc.json { "kind":"ReplicationController", "apiVersion":"v1beta3", "metadata":{ "name":"hello-rc", "labels":{ "name":"hello-rc" } }, "spec":{ "replicas":1, "selector":{ "name":"hello-rc" }, "template":{ "metadat...
ca412e006fe85d5050eafe0c8eb830a2ff38942f
test-rc.json
test-rc.json
JSON
<|file_sep|>fibonacci/fib_cfe.rb.diff original: $- = $_ - @_ # -1 updated: $-_ = $_ - @_ # -1 <|file_sep|>fibonacci/fib_cfe.rb.diff original: @__= $__ ** (@_ ** $-) # sqrt(5) updated: @__= $__ ** (@_ ** $-_) # sqrt(5) <|file_sep|>original/fibonacci/fib_cfe.rb # as it can using the closed-form expression of the series. ...
# as it can using the closed-form expression of the series. $_ = $$ / $$ # 1 @_ = $_ + $_ # 2 $-_ = $_ - @_ # -1 $__= @_ * @_ + $_ # 5 @__= $__ ** (@_ ** $-_) # sqrt(5) $___ = ($_ + @__) / @_ # golden ratio @___ = ($_ / -$___) # negative reciprocal $. = $_ # Initialize counter. @____ = -> { $-_ = ($___ ** $....
<|file_sep|>fibonacci/fib_cfe.rb.diff original: $- = $_ - @_ # -1 updated: $-_ = $_ - @_ # -1 <|file_sep|>fibonacci/fib_cfe.rb.diff original: @__= $__ ** (@_ ** $-) # sqrt(5) updated: @__= $__ ** (@_ ** $-_) # sqrt(5) <|file_sep|>original/fibonacci/fib_cfe.rb # as it can using the closed-form expression of the series. ...
dc362b4634fbebbaa830760bc9e45d208a04d4aa
fibonacci/fib_cfe.rb
fibonacci/fib_cfe.rb
Ruby
<|file_sep|>original/Cargo.toml [package] name = "termion" version = "1.0.0" authors = ["Ticki <Ticki@users.noreply.github.com>"] description = "A bindless library for manipulating terminals." repository = "ticki/termion" license = "MIT" keywords = ["tty", "color", "terminal", "console", "tui", "size", "cursor", "clear...
[package] name = "termion" version = "1.0.0" authors = ["Ticki <Ticki@users.noreply.github.com>"] description = "A bindless library for manipulating terminals." repository = "ticki/termion" license = "MIT" keywords = ["tty", "color", "terminal", "console", "tui", "size", "cursor", "clear", "ansi", "escape", "codes", "t...
<|file_sep|>original/Cargo.toml [package] name = "termion" version = "1.0.0" authors = ["Ticki <Ticki@users.noreply.github.com>"] description = "A bindless library for manipulating terminals." repository = "ticki/termion" license = "MIT" keywords = ["tty", "color", "terminal", "console", "tui", "size", "cursor", "clear...
c202c0405d263b61366e603efcdf749639e99251
Cargo.toml
Cargo.toml
TOML
<|file_sep|>square.gemspec.diff original: gem.authors = ['nov'] gem.email = ['nov@matake.jp'] updated: gem.authors = ['nov', 'namedpipe'] gem.email = ['nov@matake.jp', 'mike@namedpipe.net'] <|file_sep|>original/square.gemspec Gem::Specification.new do |gem| gem.name = 'squ...
Gem::Specification.new do |gem| gem.name = 'square' gem.version = File.read('VERSION').delete("\n\r") gem.authors = ['nov', 'namedpipe'] gem.email = ['nov@matake.jp', 'mike@namedpipe.net'] gem.description = %q{Square API client} gem.summary = %q{Square API Client} gem....
<|file_sep|>square.gemspec.diff original: gem.authors = ['nov'] gem.email = ['nov@matake.jp'] updated: gem.authors = ['nov', 'namedpipe'] gem.email = ['nov@matake.jp', 'mike@namedpipe.net'] <|file_sep|>original/square.gemspec Gem::Specification.new do |gem| gem.name = 'squ...
f6ca27d0b8fa8c470fd9c5a85e1c263dd76b1825
square.gemspec
square.gemspec
Ruby
<|file_sep|>original/app/views/users/show/_user_profile.html.erb <div class="row-fluid user-profile not-dash"> <div class="span2"> <%= link_to(avatar(user, :size => 128), user, :class => "avatar") %> </div> <div class="span3"> <div class="profile-data"> <h1> ~<%= link_to h(user.login), user ...
<div class="row-fluid user-profile not-dash"> <div class="span2"> <%= link_to(avatar(user, :size => 128), user, :class => "avatar") %> </div> <div class="span8"> <div class="profile-data"> <h1> ~<%= link_to h(user.login), user %> </h1> <ul class="details unstyled"> <% if ...
<|file_sep|>original/app/views/users/show/_user_profile.html.erb <div class="row-fluid user-profile not-dash"> <div class="span2"> <%= link_to(avatar(user, :size => 128), user, :class => "avatar") %> </div> <div class="span3"> <div class="profile-data"> <h1> ~<%= link_to h(user.login), user ...
8429885ca7324c62801da18349e0a45288763d20
app/views/users/show/_user_profile.html.erb
app/views/users/show/_user_profile.html.erb
HTML+ERB
<|file_sep|>original/lib/rb/spec/spec_helper.rb require 'rubygems' # require at least 1.1.4 to fix a bug with describing Modules gem 'rspec', '>= 1.1.4' require 'spec' # pretend we already loaded fastthread, otherwise the nonblockingserver_spec # will get screwed up # $" << 'fastthread.bundle' # turn on deprecation s...
require 'rubygems' # require at least 1.1.4 to fix a bug with describing Modules gem 'rspec', '>= 1.1.4' require 'spec' $:.unshift File.join(File.dirname(__FILE__), *%w[.. ext]) # pretend we already loaded fastthread, otherwise the nonblockingserver_spec # will get screwed up # $" << 'fastthread.bundle' # turn on de...
<|file_sep|>original/lib/rb/spec/spec_helper.rb require 'rubygems' # require at least 1.1.4 to fix a bug with describing Modules gem 'rspec', '>= 1.1.4' require 'spec' # pretend we already loaded fastthread, otherwise the nonblockingserver_spec # will get screwed up # $" << 'fastthread.bundle' # turn on deprecation s...
c8190174dc638f5b60dc19785c8beca04d0ac7af
lib/rb/spec/spec_helper.rb
lib/rb/spec/spec_helper.rb
Ruby
<|file_sep|>original/packages/clip-dracut-module/clip-dracut-module/clip.sh #!/bin/sh # Copyright (C) 2013 Cubic Corporation # # Authors: Spencer Shimko <spencer@quarksecurity.com> # rm "$NEWROOT"/.autorelabel # If SELinux is disabled exit now getarg "selinux=0" > /dev/null && return 0 SELINUX="enforcing" [ -e "$NEWR...
#!/bin/sh # Copyright (C) 2013 Cubic Corporation # # Authors: Spencer Shimko <spencer@quarksecurity.com> # rm "$NEWROOT"/.autorelabel # If SELinux is disabled exit now getarg "selinux=0" > /dev/null && return 0 SELINUX="enforcing" [ -e "$NEWROOT/etc/selinux/config" ] && . "$NEWROOT/etc/selinux/config" getarg "enforc...
<|file_sep|>original/packages/clip-dracut-module/clip-dracut-module/clip.sh #!/bin/sh # Copyright (C) 2013 Cubic Corporation # # Authors: Spencer Shimko <spencer@quarksecurity.com> # rm "$NEWROOT"/.autorelabel # If SELinux is disabled exit now getarg "selinux=0" > /dev/null && return 0 SELINUX="enforcing" [ -e "$NEWR...
a98bb2dd046191259b4c9f2aa955bfa01413cf94
packages/clip-dracut-module/clip-dracut-module/clip.sh
packages/clip-dracut-module/clip-dracut-module/clip.sh
Shell
<|file_sep|>original/packages/po/polysemy-managed.yaml <|file_sep|>current/packages/po/polysemy-managed.yaml <|file_sep|>updated/packages/po/polysemy-managed.yaml
homepage: http://github.com/haskell-works/polysemy-managed#readme changelog-type: '' hash: 2b2d2503a66ca8a3104fd1cf900526748c8c749714a554468a619953b8fa874c test-bench-deps: exceptions: '>=0.8 && <0.11' base: '>=4.11 && <5' hspec: '>=2.4 && <2.10' polysemy-managed: -any hedgehog: '>=1.0 && <1.2' mtl: '>=2.2....
<|file_sep|>original/packages/po/polysemy-managed.yaml <|file_sep|>current/packages/po/polysemy-managed.yaml <|file_sep|>updated/packages/po/polysemy-managed.yaml homepage: http://github.com/haskell-works/polysemy-managed#readme changelog-type: '' hash: 2b2d2503a66ca8a3104fd1cf900526748c8c749714a554468a619953b8fa874c...
269abb18ec27dd5d2fb8791b9e5d74b4dae1b601
packages/po/polysemy-managed.yaml
packages/po/polysemy-managed.yaml
YAML
<|file_sep|>original/app/views/users/edit.html.haml - semantic_form_for @user do |f| - f.inputs do = f.input :name = f.input :email = f.input :password = f.input :password_confirmation = f.input :social_worker = f.buttons = link_to 'back', users_path <|file_sep|>current/app/views/users/edit.htm...
- semantic_form_for @user do |f| - f.inputs do = f.input :name = f.input :email = f.input :social_worker = f.buttons = link_to 'back', users_path
<|file_sep|>original/app/views/users/edit.html.haml - semantic_form_for @user do |f| - f.inputs do = f.input :name = f.input :email = f.input :password = f.input :password_confirmation = f.input :social_worker = f.buttons = link_to 'back', users_path <|file_sep|>current/app/views/users/edit.htm...
52ed5815c565b69736b3879dab97bb4e7bb35fb3
app/views/users/edit.html.haml
app/views/users/edit.html.haml
Haml
<|file_sep|>packages/hs/hsyslog.yaml.diff original: hash: adda66d7c9af31f5eac447f73bfb3ad65789cb78dcab8bd2e081de61a16d8fbe updated: hash: 3b7b05e6af072852fde8c31f78e6f020dd6985cb3c28245be6e489aef5dca0dc <|file_sep|>packages/hs/hsyslog.yaml.diff original: updated: bytestring: -any <|file_sep|>packages/hs/hsyslog.yaml...
changelog: '' basic-deps: bytestring: ==0.10.* base: ! '>=3 && <5' all-versions: - '1.2' - '1.3' - '1.4' - '1.5' - '1.6' - '2.0' - '3' author: Peter Simons, John Lato, Jonathan Childress latest: '3' description-type: haddock description: ! 'This library provides FFI bindings to syslog(3) from POSIX.1-2001. See <...
<|file_sep|>packages/hs/hsyslog.yaml.diff original: hash: adda66d7c9af31f5eac447f73bfb3ad65789cb78dcab8bd2e081de61a16d8fbe updated: hash: 3b7b05e6af072852fde8c31f78e6f020dd6985cb3c28245be6e489aef5dca0dc <|file_sep|>packages/hs/hsyslog.yaml.diff original: updated: bytestring: -any <|file_sep|>packages/hs/hsyslog.yaml...
b5f712d33a9265050b19d8305e86c873b26901b5
packages/hs/hsyslog.yaml
packages/hs/hsyslog.yaml
YAML
<|file_sep|>original/README.md # node-workhorse-aws Extensions for workhorse to interact with Amazon Web Services <|file_sep|>current/README.md # node-workhorse-aws Extensions for workhorse to interact with Amazon Web Services <|file_sep|>updated/README.md
# node-workhorse-aws Extensions for workhorse to interact with Amazon Web Services ## Development Follow instructions here to enable globstar so that you can use `tslint` with paths like `**/*.ts`. https://gist.github.com/samnang/1759336
<|file_sep|>original/README.md # node-workhorse-aws Extensions for workhorse to interact with Amazon Web Services <|file_sep|>current/README.md # node-workhorse-aws Extensions for workhorse to interact with Amazon Web Services <|file_sep|>updated/README.md # node-workhorse-aws Extensions for workhorse to interact with ...
5f69c5384ccfcaffd63fe8026932cb2844314d3a
README.md
README.md
Markdown
<|file_sep|>src/scripts/directives/snap-content.js.diff original: var snapOptions = { element: element[0] }; updated: var snapOptions = angular.extend({}, snapRemote.globalOptions); <|file_sep|>original/src/scripts/directives/snap-content.js angular.module('snap') .directive('snapCon...
angular.module('snap') .directive('snapContent', ['SnapConstructor', 'snapRemote', function (SnapConstructor, snapRemote) { 'use strict'; return { restrict: 'AE', link: function postLink(scope, element, attrs) { element.addClass('snap-content'); var snapOptions = angular.extend({}...
<|file_sep|>src/scripts/directives/snap-content.js.diff original: var snapOptions = { element: element[0] }; updated: var snapOptions = angular.extend({}, snapRemote.globalOptions); <|file_sep|>original/src/scripts/directives/snap-content.js angular.module('snap') .directive('snapCon...
ddf8c66a3cda8b29f4a99d377a2d1a80d1d36b21
src/scripts/directives/snap-content.js
src/scripts/directives/snap-content.js
JavaScript
<|file_sep|>package.json.diff original: "actions-on-google": "^2.12.0", updated: <|file_sep|>original/package.json "version": "1.0.1", "main": "dist/src/index.js", "author": "Google Inc", "license": "Apache-2.0", "private": false, "engines": { "node": "10" }, "scripts": { "build": "tsc", ...
"license": "Apache-2.0", "private": false, "engines": { "node": "10" }, "scripts": { "build": "tsc", "clean": "rm -rf dist/", "test": "npm run clean && npm run build && ava --verbose dist/test/*.js" }, "dependencies": { "speechmarkdown-js": "^1.0.0" }, "peerDependencies": { "ac...
<|file_sep|>package.json.diff original: "actions-on-google": "^2.12.0", updated: <|file_sep|>original/package.json "version": "1.0.1", "main": "dist/src/index.js", "author": "Google Inc", "license": "Apache-2.0", "private": false, "engines": { "node": "10" }, "scripts": { "build": "tsc", ...
b43da6a4ce73424d218590510a381b255598ee82
package.json
package.json
JSON
<|file_sep|>original/plugin/contacts.cpp */ #include <QtDeclarative/QDeclarativeEngine> #include <QDeclarativeContext> #include "contacts.h" #include "peoplemodel.h" #include "proxymodel.h" void contacts::registerTypes(const char *uri) { qmlRegisterType<PeopleModel>(uri, 0, 0, "PeopleModel"); qmlRegisterType...
*/ #include <QtDeclarative/QDeclarativeEngine> #include <QDeclarativeContext> #include "contacts.h" #include "peoplemodel.h" #include "proxymodel.h" void contacts::registerTypes(const char *uri) { qmlRegisterType<PeopleModel>(uri, 0, 1, "PeopleModel"); qmlRegisterType<ProxyModel>(uri, 0, 1, "ProxyModel"); } ...
<|file_sep|>original/plugin/contacts.cpp */ #include <QtDeclarative/QDeclarativeEngine> #include <QDeclarativeContext> #include "contacts.h" #include "peoplemodel.h" #include "proxymodel.h" void contacts::registerTypes(const char *uri) { qmlRegisterType<PeopleModel>(uri, 0, 0, "PeopleModel"); qmlRegisterType...
90a1e9340cd75b5c06acbc4a30f05cb1665b0a34
plugin/contacts.cpp
plugin/contacts.cpp
C++
<|file_sep|>original/CHANGELOG.md ## Version 0.4.0 (Unreleased) - covered `flickr.photos.getContactsPhotos` - covered `flickr.photos.getContactsPublicPhotos` - covered `flickr.photos.getContext` ## Version 0.3.1 - fixed an error when accessing tags from photos fetched through certain API calls ## Version 0.3.0 ...
## Version 0.4.0 (Unreleased) - covered `flickr.photos.getContactsPhotos` - covered `flickr.photos.getContactsPublicPhotos` - covered `flickr.photos.getContext` ## Version 0.3.1 - fixed an error when accessing tags from photos fetched through certain API calls ## Version 0.3.0 - the proper error is now raised o...
<|file_sep|>original/CHANGELOG.md ## Version 0.4.0 (Unreleased) - covered `flickr.photos.getContactsPhotos` - covered `flickr.photos.getContactsPublicPhotos` - covered `flickr.photos.getContext` ## Version 0.3.1 - fixed an error when accessing tags from photos fetched through certain API calls ## Version 0.3.0 ...
56d930f4015475e99066ad20bbfcb8b58f1e3057
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install -g npm - npm install --no-package-lock --no-save - npm install -g istanbul coveralls uglify-js <|file_sep|>current/.travis.yml sudo: false lang...
sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g istanbul coveralls uglify-js
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '4' - '6' - '8' branches: only: - master - travis-ci install: - npm install -g npm - npm install --no-package-lock --no-save - npm install -g istanbul coveralls uglify-js <|file_sep|>current/.travis.yml sudo: false lang...
52bae5eb94d4d4e1eab668dde5dab1a141c43679
.travis.yml
.travis.yml
YAML
<|file_sep|>src/tests/full-icu.spec.ts.diff original: const content = await browser.executeAsync(async () => { updated: const content = await browser.executeAsync(async (done) => { <|file_sep|>original/src/tests/full-icu.spec.ts ); strictEqual(getResolvedLocale(), 'en-US'); const content = await br...
); strictEqual(getResolvedLocale(), 'en-US'); const content = await browser.executeAsync(async (done) => { const a = document.createElement('app-datepicker'); document.body.appendChild(a); await a.updateComplete; done( Array.from( a.shadowRoot?.querySelectorAll(...
<|file_sep|>src/tests/full-icu.spec.ts.diff original: const content = await browser.executeAsync(async () => { updated: const content = await browser.executeAsync(async (done) => { <|file_sep|>original/src/tests/full-icu.spec.ts ); strictEqual(getResolvedLocale(), 'en-US'); const content = await br...
c3347661047dc7cc25e7e3300c9097e702a0cbc5
src/tests/full-icu.spec.ts
src/tests/full-icu.spec.ts
TypeScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.0 addons: postgresql: "9.4" service: - postgresql before_install: - gem install bundler install: - bundle install before_script: - RAILS_ENV=test bundle exec rails db:create - RAILS_ENV=test bundle exec rails db:migrate <|file_sep|>current/...
branches: only: - master language: ruby rvm: - 2.4.0 addons: postgresql: "9.4" service: - postgresql before_install: - gem install bundler install: - bundle install
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.0 addons: postgresql: "9.4" service: - postgresql before_install: - gem install bundler install: - bundle install before_script: - RAILS_ENV=test bundle exec rails db:create - RAILS_ENV=test bundle exec rails db:migrate <|file_sep|>current/...
001fe9dec0519b52d24b576a4b2ae1eaee1d6346
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # ts-express-angular2-node-boilerplate Basically, you don't want to learn too much when you pick a boilerplate. Clone and start the prototyping. ### Installation To install the latest release ```bash $ npm install ts-express-angular2-node-boilerplate ``` Install the dependencies ```bash...
# ts-express-angular2-node-boilerplate Basically, you don't want to learn too much when you pick a boilerplate. Clone and start the prototyping. This boilerplate is built on top of [5 Min Quickstart](https://angular.io/docs/ts/latest/quickstart.html). ### Installation To install the latest release ```bash $ npm inst...
<|file_sep|>original/README.md # ts-express-angular2-node-boilerplate Basically, you don't want to learn too much when you pick a boilerplate. Clone and start the prototyping. ### Installation To install the latest release ```bash $ npm install ts-express-angular2-node-boilerplate ``` Install the dependencies ```bash...
4523cbe19ac7c0c017eebbebaa32193bbd5cc86c
README.md
README.md
Markdown
<|file_sep|>original/app/views/shared/_footer.html.erb <%= link_to t("layouts.application.faq"), faq_path %> <% if signed_in? -%> <%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %> <% else -%> <%= link_to t("layouts.application.sign-in"), sign_in_path %> <% e...
<%= link_to t("layouts.application.faq"), faq_path %> <% if signed_in? -%> <%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %> <% else -%> <%= link_to t("layouts.application.sign-in"), sign_in_path %> <% end -%> <span>·</span> <%= link_to "English", ...
<|file_sep|>original/app/views/shared/_footer.html.erb <%= link_to t("layouts.application.faq"), faq_path %> <% if signed_in? -%> <%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %> <% else -%> <%= link_to t("layouts.application.sign-in"), sign_in_path %> <% e...
8686f18c93865be2580ccd5dedb362f8a0a458a2
app/views/shared/_footer.html.erb
app/views/shared/_footer.html.erb
HTML+ERB
<|file_sep|>original/korebuild-lock.txt version:2.0.7-rtm-10025 commithash:bba59d713569bcf1b0095db91e41c9b11a075e79 <|file_sep|>current/korebuild-lock.txt version:2.0.7-rtm-10025 commithash:bba59d713569bcf1b0095db91e41c9b11a075e79 <|file_sep|>updated/korebuild-lock.txt
version:2.0.7-rtm-10027 commithash:13a02f8875b73d7f9f922fce7b82fe6a44956247
<|file_sep|>original/korebuild-lock.txt version:2.0.7-rtm-10025 commithash:bba59d713569bcf1b0095db91e41c9b11a075e79 <|file_sep|>current/korebuild-lock.txt version:2.0.7-rtm-10025 commithash:bba59d713569bcf1b0095db91e41c9b11a075e79 <|file_sep|>updated/korebuild-lock.txt version:2.0.7-rtm-10027 commithash:13a02f8875b73d7...
fbf8e886ba4696f38d05ec8362ae4db020d80eff
korebuild-lock.txt
korebuild-lock.txt
Text
<|file_sep|>src/composite-disposable.coffee.diff original: updated: # Public: Construct an instance, optionally with one or more <|file_sep|>original/src/composite-disposable.coffee # Public: An object that aggregates multiple {Disposable} instances together # into a single disposable, so they can all be disposed as...
# Public: An object that aggregates multiple {Disposable} instances together # into a single disposable, so they can all be disposed as a group. module.exports = class CompositeDisposable disposed: false # Public: Construct an instance, optionally with one or more constructor: -> @disposables = [] @add(d...
<|file_sep|>src/composite-disposable.coffee.diff original: updated: # Public: Construct an instance, optionally with one or more <|file_sep|>original/src/composite-disposable.coffee # Public: An object that aggregates multiple {Disposable} instances together # into a single disposable, so they can all be disposed as...
b042f6540e0d6b77c422bdbfa9458c8fefc86acd
src/composite-disposable.coffee
src/composite-disposable.coffee
CoffeeScript
<|file_sep|>echo_server.py.diff original: updated: request = [] <|file_sep|>echo_server.py.diff original: words = self.connection.recv(32) if words: self.connection.sendall(unicode(words)) updated: while True: buffer_ = self.connection.re...
self.socket.bind((self.ip, self.port)) self.socket.listen(self.backlog) def start_listening(self): while True: request = [] self.connection, self.addr = self.socket.accept() while True: buffer_ = self.connection.recv(32) i...
<|file_sep|>echo_server.py.diff original: updated: request = [] <|file_sep|>echo_server.py.diff original: words = self.connection.recv(32) if words: self.connection.sendall(unicode(words)) updated: while True: buffer_ = self.connection.re...
a222d268ec1c12466db48bbfcd58d8ecf2907805
echo_server.py
echo_server.py
Python
<|file_sep|>original/test/neo4cl-test.asd (asdf:defsystem #:neo4cl-test :serial t :license "MIT license" :author "James Fleming <james@electronic-quill.net>" :description "Test suite for neo4cl" :depends-on (#:neo4cl #:fiveam) :components ((:file "neo4cl-test"))) (defpackage #:neo4cl-test ...
(asdf:defsystem #:neo4cl-test :serial t :license "MIT license" :author "James Fleming <james@electronic-quill.net>" :description "Test suite for neo4cl" :depends-on (#:neo4cl #:fiveam) :components ((:file "neo4cl-test"))) (defpackage #:neo4cl-test (:use #:cl) (:export neo4cl))
<|file_sep|>original/test/neo4cl-test.asd (asdf:defsystem #:neo4cl-test :serial t :license "MIT license" :author "James Fleming <james@electronic-quill.net>" :description "Test suite for neo4cl" :depends-on (#:neo4cl #:fiveam) :components ((:file "neo4cl-test"))) (defpackage #:neo4cl-test ...
7c7b16c6ef4b0050a9b15e4d5b766fba21d08344
test/neo4cl-test.asd
test/neo4cl-test.asd
Common Lisp
<|file_sep|>original/src/ProjectEuler/Puzzles/Puzzle010.cs int max; if (!TryParseInt32(args[0], out max) || max < 2) { Console.Error.WriteLine("The specified number is invalid."); return -1; } long sum = 0; for (i...
int max; if (!TryParseInt32(args[0], out max) || max < 2) { Console.Error.WriteLine("The specified number is invalid."); return -1; } long sum = 0; for (int n = 2; n < max; n++) { if (M...
<|file_sep|>original/src/ProjectEuler/Puzzles/Puzzle010.cs int max; if (!TryParseInt32(args[0], out max) || max < 2) { Console.Error.WriteLine("The specified number is invalid."); return -1; } long sum = 0; for (i...
e42b20ae4fafc1487ba950203c5a89bb13f47697
src/ProjectEuler/Puzzles/Puzzle010.cs
src/ProjectEuler/Puzzles/Puzzle010.cs
C#
<|file_sep|>.github/workflows/ci.yml.diff original: updated: - uses: docker-library/bashbrew@HEAD <|file_sep|>original/.github/workflows/ci.yml name: Generate Jobs runs-on: ubuntu-latest outputs: strategy: ${{ steps.generate-jobs.outputs.strategy }} steps: - uses: actions/checkout@v3 ...
name: Generate Jobs runs-on: ubuntu-latest outputs: strategy: ${{ steps.generate-jobs.outputs.strategy }} steps: - uses: actions/checkout@v3 - uses: docker-library/bashbrew@HEAD - id: generate-jobs name: Generate Jobs run: | strategy="$("$BASHBREW_SCRIPT...
<|file_sep|>.github/workflows/ci.yml.diff original: updated: - uses: docker-library/bashbrew@HEAD <|file_sep|>original/.github/workflows/ci.yml name: Generate Jobs runs-on: ubuntu-latest outputs: strategy: ${{ steps.generate-jobs.outputs.strategy }} steps: - uses: actions/checkout@v3 ...
9e5ad3050bd0b42901975cbb947c21b6b8f56e4b
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/src/test/java/info/u_team/u_team_test2/TestMod2.java <|file_sep|>current/src/test/java/info/u_team/u_team_test2/TestMod2.java <|file_sep|>updated/src/test/java/info/u_team/u_team_test2/TestMod2.java
package info.u_team.u_team_test2; import org.apache.logging.log4j.*; import info.u_team.u_team_core.util.verify.JarSignVerifier; import net.minecraftforge.fml.common.Mod; @Mod(TestMod2.MODID) public class TestMod2 { public static final String MODID = "uteamtest2"; public static final Logger LOGGER = LogManager.g...
<|file_sep|>original/src/test/java/info/u_team/u_team_test2/TestMod2.java <|file_sep|>current/src/test/java/info/u_team/u_team_test2/TestMod2.java <|file_sep|>updated/src/test/java/info/u_team/u_team_test2/TestMod2.java package info.u_team.u_team_test2; import org.apache.logging.log4j.*; import info.u_team.u_team_c...
8bd7ad83ed219599c61597741047d8a47f71f3ee
src/test/java/info/u_team/u_team_test2/TestMod2.java
src/test/java/info/u_team/u_team_test2/TestMod2.java
Java
<|file_sep|>original/spec/config/instance.rb <|file_sep|>current/spec/config/instance.rb <|file_sep|>updated/spec/config/instance.rb
# frozen_string_literal: true def create_janus_instances instance = RubyRabbitmqJanus::Models::JanusInstance (1..2).each do |number| instance.create!(instance: number, enable: true) end end
<|file_sep|>original/spec/config/instance.rb <|file_sep|>current/spec/config/instance.rb <|file_sep|>updated/spec/config/instance.rb # frozen_string_literal: true def create_janus_instances instance = RubyRabbitmqJanus::Models::JanusInstance (1..2).each do |number| instance.create!(instance: number, enable:...
d8430cded11cad127c03fe56b9966b2c67e08245
spec/config/instance.rb
spec/config/instance.rb
Ruby
<|file_sep|>original/README.md pic and sell - all completely free. ## Getting Started The Mercadera project is built using Meteor 1.2 with MongoDB as the backend. We're using Astronomy to keep records following a proper schema and validate types. We're using React to keep our front-end UI component based, and easy to...
Pull requests very welcome! ## Tech Stack Visit our StackShare profile to see our Tech Stack. [http://stackshare.io/sergiotapia/mercadera](http://stackshare.io/sergiotapia/mercadera) ![StackShare Tech Stack](http://i.imgur.com/b02cbpO.png) ## Project Setup Want to the run the project locally? Great! 1. Clone th...
<|file_sep|>original/README.md pic and sell - all completely free. ## Getting Started The Mercadera project is built using Meteor 1.2 with MongoDB as the backend. We're using Astronomy to keep records following a proper schema and validate types. We're using React to keep our front-end UI component based, and easy to...
b5943bbd3fdc4056b36cf7ec07518f4167cb528c
README.md
README.md
Markdown
<|file_sep|>original/_config.yml baseurl: title: Tufte-Jekyll subtitle: Content-centric blogging author: Andrei Kashin simple_search: http://google.com/search description: A Jekyll theme for content-rich sites name: tufte markdown: kramdown markdown_ext: "markdown,mkdown,mkdn,mkd,md" permalink: /articles/:short_year/:t...
baseurl: title: Tufte-Jekyll subtitle: Content-centric blogging author: Andrei Kashin simple_search: http://google.com/search description: A Jekyll theme for content-rich sites name: tufte markdown: kramdown markdown_ext: "markdown,mkdown,mkdn,mkd,md" permalink: /articles/:short_year/:title/index.html timezone: Europe/...
<|file_sep|>original/_config.yml baseurl: title: Tufte-Jekyll subtitle: Content-centric blogging author: Andrei Kashin simple_search: http://google.com/search description: A Jekyll theme for content-rich sites name: tufte markdown: kramdown markdown_ext: "markdown,mkdown,mkdn,mkd,md" permalink: /articles/:short_year/:t...
5d182631cfcfa8374ff56e23c9c3c573a2aee045
_config.yml
_config.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: before_install: - sudo apt-get install -qq python-numpy python-scipy <|file_sep|>original/.travis.yml language: - python python: - "2.6" - "2.7" # - "3.2" # - "3.3" install: - pip install nose numpy scipy --use-mirrors - python setup.py install script: ...
language: - python python: - "2.6" - "2.7" # - "3.2" # - "3.3" before_install: - sudo apt-get install -qq python-numpy python-scipy install: - pip install nose --use-mirrors - python setup.py install script: - nosetests tests
<|file_sep|>.travis.yml.diff original: updated: before_install: - sudo apt-get install -qq python-numpy python-scipy <|file_sep|>original/.travis.yml language: - python python: - "2.6" - "2.7" # - "3.2" # - "3.3" install: - pip install nose numpy scipy --use-mirrors - python setup.py install script: ...
78d7ed0721cc96276b434f16e8ba480ca7fcc3b4
.travis.yml
.travis.yml
YAML
<|file_sep|>docs/_config.yml.diff original: baseurl: "/docs" updated: baseurl: "/" <|file_sep|>original/docs/_config.yml type: "pages" values: layout: "alt-default" author: "Robert Weber, Director" collections: collection_CFFP: output: "true" defaults: - scope: path: "" type: "...
type: "pages" values: layout: "alt-default" author: "Robert Weber, Director" collections: collection_CFFP: output: "true" defaults: - scope: path: "" type: "collection_CFFP" values: layout: "page" defaults: - scope: path: "/docs/pages" type: "pages" ...
<|file_sep|>docs/_config.yml.diff original: baseurl: "/docs" updated: baseurl: "/" <|file_sep|>original/docs/_config.yml type: "pages" values: layout: "alt-default" author: "Robert Weber, Director" collections: collection_CFFP: output: "true" defaults: - scope: path: "" type: "...
1c6bb142300d822d0861e65381db0fffe4e9a939
docs/_config.yml
docs/_config.yml
YAML
<|file_sep|>packages/re/reform-lucid.yaml.diff original: hash: ebbd049dacf43854de3d34dfa7368d2d300985c6d1d89b8183be10e6b87c84e6 updated: hash: b909ce231ec1a808d09c1d57890ae5045f0066573955c0dc9435695211b72c6a <|file_sep|>packages/re/reform-lucid.yaml.diff original: updated: - 0.1.0.0 <|file_sep|>original/packages/re/re...
changelog-type: '' hash: b909ce231ec1a808d09c1d57890ae5045f0066573955c0dc9435695211b72c6a test-bench-deps: {} maintainer: zacharyachurchill@gmail.com synopsis: Add support for using lucid with Reform changelog: '' basic-deps: lucid: <3.0.0 base: ! '>4.5 && <5' text: ! '>=0.11 && <1.3' path-pieces: -any reform...
<|file_sep|>packages/re/reform-lucid.yaml.diff original: hash: ebbd049dacf43854de3d34dfa7368d2d300985c6d1d89b8183be10e6b87c84e6 updated: hash: b909ce231ec1a808d09c1d57890ae5045f0066573955c0dc9435695211b72c6a <|file_sep|>packages/re/reform-lucid.yaml.diff original: updated: - 0.1.0.0 <|file_sep|>original/packages/re/re...
7dabd1fd1fdeac632696bceaa45df706250dcf38
packages/re/reform-lucid.yaml
packages/re/reform-lucid.yaml
YAML
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.1.2 gunicorn==19.6.0 # Static and Media Storage # -----------------...
# Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.1.2 gunicorn==19.6.0 # Static and Media Storage # ------------------------------------------------ boto==2.42.0 djan...
<|file_sep|>original/requirements/production.txt # Pro-tip: Try not to put anything here. There should be no dependency in # production that isn't in development. -r base.txt # WSGI Handler # ------------------------------------------------ gevent==1.1.2 gunicorn==19.6.0 # Static and Media Storage # -----------------...
1850b8d4599e2879929bacce0b77b32024b24ba9
requirements/production.txt
requirements/production.txt
Text
<|file_sep|>original/project/Dependencies.scala "joda-time" % "joda-time" % "2.11.2", "org.joda" % "joda-convert" % "2.2.2" ) lazy val jackson = Seq( "com.fasterxml.jackson.core" % "jackson-databind" % "2.13.4" ) lazy val scalaz_core = Def.setting( "org.scalaz" %%% "scalaz-core" % "7.3.6" ) ...
"joda-time" % "joda-time" % "2.11.2", "org.joda" % "joda-convert" % "2.2.2" ) lazy val jackson = Seq( "com.fasterxml.jackson.core" % "jackson-databind" % "2.13.4" ) lazy val scalaz_core = Def.setting( "org.scalaz" %%% "scalaz-core" % "7.3.6" ) lazy val paranamer = "com.thoughtworks.paranamer...
<|file_sep|>original/project/Dependencies.scala "joda-time" % "joda-time" % "2.11.2", "org.joda" % "joda-convert" % "2.2.2" ) lazy val jackson = Seq( "com.fasterxml.jackson.core" % "jackson-databind" % "2.13.4" ) lazy val scalaz_core = Def.setting( "org.scalaz" %%% "scalaz-core" % "7.3.6" ) ...
e60f4f017af0ba563c973819e5aea2a519259239
project/Dependencies.scala
project/Dependencies.scala
Scala
<|file_sep|>celery_janitor/utils.py.diff original: import urlparse updated: try: from urlparse import urlparse except ImportError: # Python 3.x from urllib.parse import urlparse <|file_sep|>original/celery_janitor/utils.py return getattr(module_itself, class_name) class Config(object): def __init__...
if not hasattr(module_itself, class_name): raise ImportError("Module '%s' has no '%s' class." % (module_path, class_name)) return getattr(module_itself, class_name) class Config(object): def __init__(self): self.broker = urlparse(conf.BROKER_URL) def get_backend_class(self): ...
<|file_sep|>celery_janitor/utils.py.diff original: import urlparse updated: try: from urlparse import urlparse except ImportError: # Python 3.x from urllib.parse import urlparse <|file_sep|>original/celery_janitor/utils.py return getattr(module_itself, class_name) class Config(object): def __init__...
9de844864b3e6c732241a68d1871f701232d2733
celery_janitor/utils.py
celery_janitor/utils.py
Python
<|file_sep|>lib/generators/storytime/views_generator.rb.diff original: updated: class_option :views, aliases: "-v", type: :array, desc: "Select specific view directories to generate (application, blog_posts, comments, dashboard, pages, posts, sites, subscription_mailer, subscriptions)" <|file_sep|>lib/generat...
directory name.to_s, _target_path || "#{target_path}/#{name}" do |content| content end end def target_path @target_path ||= "app/views/#{scope || :storytime}" end end class ViewsGenerator < Rails::Generators::Base include ViewPathTemplates source...
<|file_sep|>lib/generators/storytime/views_generator.rb.diff original: updated: class_option :views, aliases: "-v", type: :array, desc: "Select specific view directories to generate (application, blog_posts, comments, dashboard, pages, posts, sites, subscription_mailer, subscriptions)" <|file_sep|>lib/generat...
f091be18d8dc96ae41aeb8b5ba40c0ccedf4bffb
lib/generators/storytime/views_generator.rb
lib/generators/storytime/views_generator.rb
Ruby
<|file_sep|>birdseye/templates/birdseye.html.diff original: updated: <script src="{{ lib_path }}/underscore/underscore.js"></script> <link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,300' rel='stylesheet' type='text/css'> <link rel="shortcut icon" href="../static/birdseye_logo_m_black.ic...
<body> <div class="panel" id="top_panel"> <img id="logo_img" src="../static/birdseye_logo_m_white.png" height="40" width="22"> <div id="logo">Birdseye</div> <input id="search_field" type="text" placeholder="Enter IP or domain"> <input class="button" id="submit_button" type="button" value...
<|file_sep|>birdseye/templates/birdseye.html.diff original: updated: <script src="{{ lib_path }}/underscore/underscore.js"></script> <link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,300' rel='stylesheet' type='text/css'> <link rel="shortcut icon" href="../static/birdseye_logo_m_black.ic...
d1c8d988506da91fb320d76b2e4c4eedca93cb8b
birdseye/templates/birdseye.html
birdseye/templates/birdseye.html
HTML
<|file_sep|>original/app/views/sync/scrapers/_scraper.html.haml - cache ["v3", scraper] do = link_to scraper, class: "list-group-item" do %div.scraper-block - unless scraper.language.blank? %small.scraper-lang.pull-right= scraper.language.human .icon-box.pull-right= render partial: "scrapers/a...
- cache ["v3", scraper] do = link_to scraper, class: "list-group-item" do %div.scraper-block - unless scraper.language.blank? %small.scraper-lang.pull-right= scraper.language.human .icon-box.pull-right= render partial: "scrapers/auto_clock", locals: {scraper: scraper} .icon-box.pull-righ...
<|file_sep|>original/app/views/sync/scrapers/_scraper.html.haml - cache ["v3", scraper] do = link_to scraper, class: "list-group-item" do %div.scraper-block - unless scraper.language.blank? %small.scraper-lang.pull-right= scraper.language.human .icon-box.pull-right= render partial: "scrapers/a...
d683a9e021efd001b466e318e3a39335590ca038
app/views/sync/scrapers/_scraper.html.haml
app/views/sync/scrapers/_scraper.html.haml
Haml
<|file_sep|>fluent_contents/plugins/text/content_plugins.py.diff original: from django.utils.html import format_html updated: from django.utils.safestring import mark_safe <|file_sep|>original/fluent_contents/plugins/text/content_plugins.py Perform the cleanup in the form, allowing to raise a ValidationError ...
Perform the cleanup in the form, allowing to raise a ValidationError """ return self.instance.apply_pre_filters(html) @plugin_pool.register class TextPlugin(ContentPlugin): """ CMS plugin for WYSIWYG text items. """ model = TextItem form = TextItemForm admin_init_templa...
<|file_sep|>fluent_contents/plugins/text/content_plugins.py.diff original: from django.utils.html import format_html updated: from django.utils.safestring import mark_safe <|file_sep|>original/fluent_contents/plugins/text/content_plugins.py Perform the cleanup in the form, allowing to raise a ValidationError ...
224700aada7e7d80b4389b123ee00b5f14e88c99
fluent_contents/plugins/text/content_plugins.py
fluent_contents/plugins/text/content_plugins.py
Python
<|file_sep|>original/planner/scrapers/virginia.py <|file_sep|>current/planner/scrapers/virginia.py <|file_sep|>updated/planner/scrapers/virginia.py
from lxml import etree from planner.scrapers.base import Scraper class UVAScraper(Scraper): """Scraper for the University of Virginia""" def scrape(self): with open('/home/matt/lcp/uva.html', 'r') as f: text = f.read() html = etree.HTML(text) # Filter to a closer div to...
<|file_sep|>original/planner/scrapers/virginia.py <|file_sep|>current/planner/scrapers/virginia.py <|file_sep|>updated/planner/scrapers/virginia.py from lxml import etree from planner.scrapers.base import Scraper class UVAScraper(Scraper): """Scraper for the University of Virginia""" def scrape(self): ...
654d2070dc25a288f680b5d93e5eb4662da403eb
planner/scrapers/virginia.py
planner/scrapers/virginia.py
Python
<|file_sep|>original/backend/app/assets/stylesheets/spree/backend/global/_variables.scss /*------------------------------------------ Components -----------------------------------------*/ $border-radius-base: 2px; $padding-base-vertical: 8px; $padding-base-horizontal: 16px; /*-------------------------------...
/*------------------------------------------ Components -----------------------------------------*/ $border-radius-base: 2px; $padding-base-vertical: 8px; $padding-base-horizontal: 16px; /*------------------------------------------ Fonts -----------------------------------------*/ $headings-font-family...
<|file_sep|>original/backend/app/assets/stylesheets/spree/backend/global/_variables.scss /*------------------------------------------ Components -----------------------------------------*/ $border-radius-base: 2px; $padding-base-vertical: 8px; $padding-base-horizontal: 16px; /*-------------------------------...
c4b983263866e86eafdf954759239e2dcef126b9
backend/app/assets/stylesheets/spree/backend/global/_variables.scss
backend/app/assets/stylesheets/spree/backend/global/_variables.scss
SCSS
<|file_sep|>original/docs/user/artifacts/README.md <|file_sep|>current/docs/user/artifacts/README.md <|file_sep|>updated/docs/user/artifacts/README.md
# Usermanual Artifacts Miscellanous artifacts used throughout the usermanual. * `EPSG_v65.mdb-sql.zip` - EPSG database * `epsg.properties` - Custom EPSG definitions * `function_list` - Generated list of all functions in GeoTools. Generated by `FilterExamples.java` in [/docs/src/main/java/org/geotools/main](../../src/...
<|file_sep|>original/docs/user/artifacts/README.md <|file_sep|>current/docs/user/artifacts/README.md <|file_sep|>updated/docs/user/artifacts/README.md # Usermanual Artifacts Miscellanous artifacts used throughout the usermanual. * `EPSG_v65.mdb-sql.zip` - EPSG database * `epsg.properties` - Custom EPSG definitions ...
5c5421d98d59b2ba295b26a0703252af6aa46f8c
docs/user/artifacts/README.md
docs/user/artifacts/README.md
Markdown
<|file_sep|>original/docs/_pages/00-home.md --- layout: default section: User Documentation title: Fluidity meta_title: {{ site.name }} – {{ site.description }} permalink: /index.html --- ### Introduction Fluidity is a rapid Umbraco user interface builder for custom data structures configured via a fluent API. If y...
--- layout: default section: User Documentation title: Fluidity meta_title: Fluidity – A fluent CRUD user interface generator for Umbraco permalink: /index.html --- ### Introduction Fluidity is a rapid Umbraco user interface builder for custom data structures configured via a fluent API. If you have a custom data s...
<|file_sep|>original/docs/_pages/00-home.md --- layout: default section: User Documentation title: Fluidity meta_title: {{ site.name }} – {{ site.description }} permalink: /index.html --- ### Introduction Fluidity is a rapid Umbraco user interface builder for custom data structures configured via a fluent API. If y...
a19f5ba0f61a038c546cf3048a88959591f755cd
docs/_pages/00-home.md
docs/_pages/00-home.md
Markdown
<|file_sep|>original/setup.py # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # lim...
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. #...
<|file_sep|>original/setup.py # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # lim...
b887ce4b8ffdd25f4a8d3dc4f81bc7fa340272ae
setup.py
setup.py
Python
<|file_sep|>original/package.json { "name": "KCSBD", "version": "0.0.3", "private": true, "repository": { "type": "git", "url": "https://github.com/jdarling/kcsbd.git" }, "dependencies": { "keystone": "~0.1.55", "async": "~0.2.9", "underscore": "~1.5.2", "csv": "0.3.6", "dotenv":...
{ "name": "KCSBD", "version": "0.0.3", "private": true, "repository": { "type": "git", "url": "https://github.com/jdarling/kcsbd-keystone.git" }, "dependencies": { "keystone": "~0.1.55", "async": "~0.2.9", "underscore": "~1.5.2", "csv": "0.3.6", "dotenv": "0.0.3", "passport":...
<|file_sep|>original/package.json { "name": "KCSBD", "version": "0.0.3", "private": true, "repository": { "type": "git", "url": "https://github.com/jdarling/kcsbd.git" }, "dependencies": { "keystone": "~0.1.55", "async": "~0.2.9", "underscore": "~1.5.2", "csv": "0.3.6", "dotenv":...
2d9c3132810bf1b47027437676b558db4ee0da2d
package.json
package.json
JSON
<|file_sep|>original/CHANGELOG.md <|file_sep|>current/CHANGELOG.md <|file_sep|>updated/CHANGELOG.md
# CHANGELOG All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning 2](http://semver.org/). ## [Unreleased] ## 1.0.0 - 2016-09-18 Initial release. [Unreleased]: https://github.com/nijens/range/compare/v1.0.0...HEAD
<|file_sep|>original/CHANGELOG.md <|file_sep|>current/CHANGELOG.md <|file_sep|>updated/CHANGELOG.md # CHANGELOG All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning 2](http://semver.org/). ## [Unreleased] ## 1.0.0 - 2016-09-18 Initial release. [Unrele...
2b70e634e91ec2c8e50e0590e8b35b1b9ae94330
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java <|file_sep|>current/Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java <|file_sep|>updated/Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java
/* * Project to resolve 2D cutting stock problem for Discreet Optimizations course at Polytech Lyon * Copyright (C) 2015. CARON Antoine and CHAUSSENDE Adrien * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by th...
<|file_sep|>original/Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java <|file_sep|>current/Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java <|file_sep|>updated/Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java /* * Project to resolve 2D cutt...
de66125ff9a59f065a4bcefaf9bbda94dee97f51
Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java
Core/src/test/java/com/polytech4A/cuttingstock/core/model/PatternTest.java
Java
<|file_sep|>original/Pt1/README.md <|file_sep|>current/Pt1/README.md <|file_sep|>updated/Pt1/README.md
# Simple Group Structures via Templates in C++ – Part I You can find the corresponding blog post here: [https://dun.gs/2015/05/08/groups-templates-pt1.html](https://dun.gs/2015/05/08/groups-templates-pt1.html)
<|file_sep|>original/Pt1/README.md <|file_sep|>current/Pt1/README.md <|file_sep|>updated/Pt1/README.md # Simple Group Structures via Templates in C++ – Part I You can find the corresponding blog post here: [https://dun.gs/2015/05/08/groups-templates-pt1.html](https://dun.gs/2015/05/08/groups-templates-pt1.html)
b70c7cfd52b41ce566af9af72941a80a4a910143
Pt1/README.md
Pt1/README.md
Markdown
<|file_sep|>original/README.md Sends log events by Amazon SES. **Package** - [Serilog.Sinks.AmazonSimpleEmailService](https://www.nuget.org/packages/Serilog.Sinks.AmazonSimpleEmailService) | **Platforms** - .NET 4.5 ```powershell Install-Package Serilog.Sinks.AmazonSimpleEmailService ``` ```csharp var logger = new L...
Sends log events by Amazon SES. **Package** - [Serilog.Sinks.AmazonSimpleEmailService](https://www.nuget.org/packages/Serilog.Sinks.AmazonSimpleEmailService) | **Platforms** - .NET 4.5 ```powershell Install-Package Serilog.Sinks.AmazonSimpleEmailService ``` ```csharp var logger = new LoggerConfiguration() .Writ...
<|file_sep|>original/README.md Sends log events by Amazon SES. **Package** - [Serilog.Sinks.AmazonSimpleEmailService](https://www.nuget.org/packages/Serilog.Sinks.AmazonSimpleEmailService) | **Platforms** - .NET 4.5 ```powershell Install-Package Serilog.Sinks.AmazonSimpleEmailService ``` ```csharp var logger = new L...
f16660a0c5ec8654ada71f703ddf30dc83eebd2b
README.md
README.md
Markdown
<|file_sep|>original/app/services/payment_income.rb # encoding: utf-8 class PaymentIncome < Payment # Creates the payment object def pay res = true ActiveRecord::Base.transaction do update_income res = income.save res = create_ledger && res res = create_interest && res res = le...
# encoding: utf-8 class PaymentIncome < Payment # Creates the payment object def pay res = true ActiveRecord::Base.transaction do update_income res = income.save res = create_ledger && res res = create_interest && res unless res # TODO set_errors raise ActiveRe...
<|file_sep|>original/app/services/payment_income.rb # encoding: utf-8 class PaymentIncome < Payment # Creates the payment object def pay res = true ActiveRecord::Base.transaction do update_income res = income.save res = create_ledger && res res = create_interest && res res = le...
1727d8f12ea035d27b9c6a3a9cb5c207c96b8861
app/services/payment_income.rb
app/services/payment_income.rb
Ruby
<|file_sep|>original/tasks/generate_secret_key.yml --- - name: Generate a SECRET_KEY for NetBox if unspecified shell: "{{ netbox_current_path }}/netbox/generate_secret_key.py > {{ netbox_shared_path }}/generated_secret_key" args: creates: "{{ netbox_shared_path }}/generated_secret_key" - name: Load saved SECRE...
--- - name: Generate a SECRET_KEY for NetBox if unspecified shell: "{{ netbox_current_path }}/netbox/generate_secret_key.py | tr -d $'\n' > {{ netbox_shared_path }}/generated_secret_key" args: creates: "{{ netbox_shared_path }}/generated_secret_key" - name: Load saved SECRET_KEY slurp: src: "{{ netbox_sh...
<|file_sep|>original/tasks/generate_secret_key.yml --- - name: Generate a SECRET_KEY for NetBox if unspecified shell: "{{ netbox_current_path }}/netbox/generate_secret_key.py > {{ netbox_shared_path }}/generated_secret_key" args: creates: "{{ netbox_shared_path }}/generated_secret_key" - name: Load saved SECRE...
7eb7a772568659ebd1725947c8b62b5424c88fd9
tasks/generate_secret_key.yml
tasks/generate_secret_key.yml
YAML
<|file_sep|>CHANGELOG.md.diff original: updated: # PDColorPicker v0.2.0.9000 <|file_sep|>CHANGELOG.md.diff original: # 0.2.0 updated: * # [PDColorPicker v0.2.0](https://github.com/pdil/PDColorPicker/releases/tag/0.2.0) Released on Friday, August 18, 2017. <|file_sep|>original/CHANGELOG.md ### New Features * Implemen...
* Implemented drag-and-drop support for iOS 11 * Created drag-and-drop example ### Other Improvements * Renamed `PDColor` initializer parameters - `PDColor(fromString:)` becomes `PDColor(string:)` - `PDColor(fromColor:)` becomes `PDColor(color:)` * Switched to MIT license * Added code of conduct * Improved documen...
<|file_sep|>CHANGELOG.md.diff original: updated: # PDColorPicker v0.2.0.9000 <|file_sep|>CHANGELOG.md.diff original: # 0.2.0 updated: * # [PDColorPicker v0.2.0](https://github.com/pdil/PDColorPicker/releases/tag/0.2.0) Released on Friday, August 18, 2017. <|file_sep|>original/CHANGELOG.md ### New Features * Implemen...
bc5328388cdca50b22fa3ebefa164a9acdbb1483
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/pubspec.yaml ng_bootstrap: any dev_dependencies: angular_test: ^1.0.0-beta+2 browser: ^0.10.0 dart_to_js_script_rewriter: ^1.0.1 test: ^0.12.0 analyzer: strong-mode: true transformers: - dart_sass_transformer: executable: sassc - angular2: entry_points: web/main.dart - angula...
ng_bootstrap: any dev_dependencies: angular_test: ^1.0.0-beta+2 browser: ^0.10.0 dart_to_js_script_rewriter: ^1.0.1 test: ^0.12.0 analyzer: strong-mode: true transformers: - dart_sass_transformer: executable: sass - angular2: entry_points: web/main.dart - angular2/transform/reflection_remover: ...
<|file_sep|>original/pubspec.yaml ng_bootstrap: any dev_dependencies: angular_test: ^1.0.0-beta+2 browser: ^0.10.0 dart_to_js_script_rewriter: ^1.0.1 test: ^0.12.0 analyzer: strong-mode: true transformers: - dart_sass_transformer: executable: sassc - angular2: entry_points: web/main.dart - angula...
ffc6b0cfdfb83842f54e153729687ba531be1b85
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy <|file_sep|>current/whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy
import whelk.Whelk PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") PrintWriter linkChanges = getReportWriter("link-changes") String where = "collection <> 'definitions'" selectBySqlWhere(where) { data -> boolean changed = trav...
<|file_sep|>original/whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy <|file_sep|>current/whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy import whelk.Whelk PrintWriter scheduledForUpd...
1d098cc928c8ce53986d0eb63765d517a0140f7a
whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy
whelktool/scripts/cleanups/2020/09/lxl-3152-linkOnlyMainEntity.groovy
Groovy
<|file_sep|>original/ironic/tests/__init__.py # TODO(deva): move eventlet imports to ironic.__init__ once we move to PBR import eventlet eventlet.monkey_patch(os=False) # See http://code.google.com/p/python-nose/issues/detail?id=373 # The code below enables nosetests to work with i18n _() blocks import six.moves.bui...
# License for the specific language governing permissions and limitations # under the License. """ :mod:`Ironic.tests` -- ironic Unittests ===================================================== .. automodule:: ironic.tests :platform: Unix """ # TODO(deva): move eventlet imports to ironic.__init__ once we mov...
<|file_sep|>original/ironic/tests/__init__.py # TODO(deva): move eventlet imports to ironic.__init__ once we move to PBR import eventlet eventlet.monkey_patch(os=False) # See http://code.google.com/p/python-nose/issues/detail?id=373 # The code below enables nosetests to work with i18n _() blocks import six.moves.bui...
d7f80b24f37ffb5e5cd1f7b2ccfa83c144a79c4d
ironic/tests/__init__.py
ironic/tests/__init__.py
Python
<|file_sep|>original/app/models/supporter.rb class Supporter < ActiveRecord::Base end <|file_sep|>current/app/models/supporter.rb class Supporter < ActiveRecord::Base end <|file_sep|>updated/app/models/supporter.rb
class Supporter < ActiveRecord::Base validates :email, uniqueness: true, presence: true validates :first_name, :last_name, :supporter_kind, :sphere, presence: true validates :email_confirmed, :approved, inclusion: [true, false] end
<|file_sep|>original/app/models/supporter.rb class Supporter < ActiveRecord::Base end <|file_sep|>current/app/models/supporter.rb class Supporter < ActiveRecord::Base end <|file_sep|>updated/app/models/supporter.rb class Supporter < ActiveRecord::Base validates :email, uniqueness: true, presence: true validates :fi...
6089f823f62992ff67edb2435f93c74dd96bc905
app/models/supporter.rb
app/models/supporter.rb
Ruby
<|file_sep|>original/.zuul.d/project.yaml --- - project: templates: - openstack-python3-wallaby-jobs - check-requirements - publish-openstack-docs-pti - release-notes-jobs-python3 - periodic-stable-jobs <|file_sep|>current/.zuul.d/project.yaml --- - project: templates: - open...
--- - project: templates: - openstack-python3-xena-jobs - check-requirements - publish-openstack-docs-pti - release-notes-jobs-python3 - periodic-stable-jobs
<|file_sep|>original/.zuul.d/project.yaml --- - project: templates: - openstack-python3-wallaby-jobs - check-requirements - publish-openstack-docs-pti - release-notes-jobs-python3 - periodic-stable-jobs <|file_sep|>current/.zuul.d/project.yaml --- - project: templates: - open...
5f2eb06b89bd11f7b8ae001f6ede17a452a502ba
.zuul.d/project.yaml
.zuul.d/project.yaml
YAML
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
algorithms-swift =================== Library for graph algorithms which allow a fast algorithm computation for graph problems. ---------- Breadth-first search ------------- In graph theory a breadth first search algorithm is used for searching for a specific node of a given graph or visiting all nodes of a graph....
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md algorithms-swift =================== Library for graph algorithms which allow a fast algorithm computation for graph problems. ---------- Breadth-first search ------------- In graph theory a breadth first search algorithm...
ee94a6a4d851b00a3b6a305f9674694963901b46
README.md
README.md
Markdown
<|file_sep|>original/README.md # Google Student Training in Engineering Program This repo contains the capstone project we'll work on for the second half of STEP! This work is based on the [Google Software Product Sprint](https://g.co/softwareproductsprint) program. To get started: - Login to [Google Cloud Shell](ht...
# Google Student Training in Engineering Program This repo contains the capstone project we'll work on for the second half of STEP! This work is based on the [Google Software Product Sprint](https://g.co/softwareproductsprint) program. To get started: - Login to [Google Cloud Shell](https://ssh.cloud.google.com/clou...
<|file_sep|>original/README.md # Google Student Training in Engineering Program This repo contains the capstone project we'll work on for the second half of STEP! This work is based on the [Google Software Product Sprint](https://g.co/softwareproductsprint) program. To get started: - Login to [Google Cloud Shell](ht...
e5d0504c384bb93fe42d66347ebccddf95cc2046
README.md
README.md
Markdown
<|file_sep|>original/static_gallery.py <|file_sep|>current/static_gallery.py <|file_sep|>updated/static_gallery.py
from . import flag #from go import html from go import os from go import path/filepath def ReadAlbumDirs(input_dir): f = os.Open(input_dir) with defer f.Close(): names = f.Readdirnames(-1) for name in names: stat = os.Stat(filepath.Join(input_dir, name)) if stat.IsDir(): yield name def...
<|file_sep|>original/static_gallery.py <|file_sep|>current/static_gallery.py <|file_sep|>updated/static_gallery.py from . import flag #from go import html from go import os from go import path/filepath def ReadAlbumDirs(input_dir): f = os.Open(input_dir) with defer f.Close(): names = f.Readdirnames(-1) f...
c39c086f51963678769c1066637ca573c721e827
static_gallery.py
static_gallery.py
Python
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverag...
pip==10.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverage==4.1 Sphinx==1.4.8 cryptography==1.7 PyYAML==3.11 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.6.0 tox==2.3.1 coverag...
675a4698af82e8d8b894d2a78032d9bb767fd240
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>project.clj.diff original: :description "FIXME: write description" updated: :description "A URL shortener" <|file_sep|>project.clj.diff original: :license {:name "FIXME: choose" :url "http://example.com/FIXME"} updated: <|file_sep|>project.clj.diff original: [ring-basic-a...
(defproject shurly "1.0.0-SNAPSHOT" :description "A URL shortener" :url "http://shurly.herokuapp.com" :dependencies [[org.clojure/clojure "1.6.0"] [compojure "1.1.8"] [ring/ring-jetty-adapter "1.2.2"] [ring/ring-devel "1.2.2"] [environ "0.5.0"]] ...
<|file_sep|>project.clj.diff original: :description "FIXME: write description" updated: :description "A URL shortener" <|file_sep|>project.clj.diff original: :license {:name "FIXME: choose" :url "http://example.com/FIXME"} updated: <|file_sep|>project.clj.diff original: [ring-basic-a...
8b9835fd4f927bdc7149a0b00ee94eb8fc2cc228
project.clj
project.clj
Clojure
<|file_sep|>src/main/kotlin/org/rust/ide/hints/RsExpressionTypeProvider.kt.diff original: import org.rust.lang.core.psi.RsPatBinding updated: <|file_sep|>src/main/kotlin/org/rust/ide/hints/RsExpressionTypeProvider.kt.diff original: .filter { it is RsExpr || it is RsPatBinding || it is RsPat || it is RsPatF...
class RsExpressionTypeProvider : ExpressionTypeProvider<PsiElement>() { override fun getErrorHint(): String = "Select an expression!" override fun getExpressionsAt(pivot: PsiElement): List<PsiElement> = pivot.ancestors .takeWhile { it !is RsItemElement } .filter { it is RsExpr...
<|file_sep|>src/main/kotlin/org/rust/ide/hints/RsExpressionTypeProvider.kt.diff original: import org.rust.lang.core.psi.RsPatBinding updated: <|file_sep|>src/main/kotlin/org/rust/ide/hints/RsExpressionTypeProvider.kt.diff original: .filter { it is RsExpr || it is RsPatBinding || it is RsPat || it is RsPatF...
b673984f06c3405f05abfbe26373151b9050874f
src/main/kotlin/org/rust/ide/hints/RsExpressionTypeProvider.kt
src/main/kotlin/org/rust/ide/hints/RsExpressionTypeProvider.kt
Kotlin
<|file_sep|>app/helpers/application_helper.rb.diff original: updated: class MarkdownHTML < Redcarpet::Render::HTML def header(text, level) slug = text.parameterize "<h#{level} id=\"#{slug}\">#{text}</h#{level}>" end end <|file_sep|>original/app/helpers/application_helper.rb def gravatar_imag...
end end def gravatar_image_url(email, size = 16) hash = Digest::MD5.hexdigest(email.strip.downcase) "https://secure.gravatar.com/avatar/#{hash}?s=#{size}&d=identicon" end def gravatar_image_tag(email, size = 16, opts = {}) image_tag gravatar_image_url(email, size), opts.merge!(:size => "#{size...
<|file_sep|>app/helpers/application_helper.rb.diff original: updated: class MarkdownHTML < Redcarpet::Render::HTML def header(text, level) slug = text.parameterize "<h#{level} id=\"#{slug}\">#{text}</h#{level}>" end end <|file_sep|>original/app/helpers/application_helper.rb def gravatar_imag...
3b2755a41a965eb6289e2fb68937ce2fda11d723
app/helpers/application_helper.rb
app/helpers/application_helper.rb
Ruby
<|file_sep|>original/_cmake/compilers/clang.cmake add_definitions( --std=c++11 -Wall -Wextra -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-unused-variable ) if(${CMAKE_BUILD_TYPE} MATCHES "Debug") add_definitions( -g -O0 ) en...
add_definitions( --std=c++11 --stdlib=libc++ -Wall -Wextra -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-unused-variable ) if(${CMAKE_BUILD_TYPE} MATCHES "Debug") add_definitions( -g -O0 ) endif() if(${CMAKE_BUILD_TYPE...
<|file_sep|>original/_cmake/compilers/clang.cmake add_definitions( --std=c++11 -Wall -Wextra -Wno-unknown-pragmas -Wno-unused-local-typedefs -Wno-unused-variable ) if(${CMAKE_BUILD_TYPE} MATCHES "Debug") add_definitions( -g -O0 ) en...
84d1f894147d03a41188d4e174f923f45490be25
_cmake/compilers/clang.cmake
_cmake/compilers/clang.cmake
CMake
<|file_sep|>original/lib/MC/MCAsmInfoCOFF.cpp //===----------------------------------------------------------------------===// #include "llvm/MC/MCAsmInfoCOFF.h" #include "llvm/ADT/SmallVector.h" using namespace llvm; MCAsmInfoCOFF::MCAsmInfoCOFF() { GlobalPrefix = "_"; COMMDirectiveAlignmentIsInBytes = false; ...
//===----------------------------------------------------------------------===// #include "llvm/MC/MCAsmInfoCOFF.h" #include "llvm/ADT/SmallVector.h" using namespace llvm; MCAsmInfoCOFF::MCAsmInfoCOFF() { GlobalPrefix = "_"; COMMDirectiveAlignmentIsInBytes = false; HasLCOMMDirective = true; HasDotTypeDotSizeD...
<|file_sep|>original/lib/MC/MCAsmInfoCOFF.cpp //===----------------------------------------------------------------------===// #include "llvm/MC/MCAsmInfoCOFF.h" #include "llvm/ADT/SmallVector.h" using namespace llvm; MCAsmInfoCOFF::MCAsmInfoCOFF() { GlobalPrefix = "_"; COMMDirectiveAlignmentIsInBytes = false; ...
69c59218dc97156a42cefd7a56e62b55b5f28544
lib/MC/MCAsmInfoCOFF.cpp
lib/MC/MCAsmInfoCOFF.cpp
C++
<|file_sep|>original/whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy <|file_sep|>current/whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy
/** * Fetch date for frequency from unhandled and add to frequency on instance * * See LXL-2841 for more info. */ PrintWriter scheduledForUpdating = getReportWriter("scheduled-updates") PrintWriter failedUpdating = getReportWriter("failed-updates") String where = "collection = 'bib' and data#>>'{@graph,0,_marcUnc...
<|file_sep|>original/whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy <|file_sep|>current/whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy <|file_sep|>updated/whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy /** * Fetch date...
046e976b3819fb883d9a514f3a8a7136560b570a
whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy
whelktool/scripts/cleanups/2020/10/lxl-2841-date-for-frequency-unhandled.groovy
Groovy
<|file_sep|>.scrutinizer.yml.diff original: command: 'tools/phpunit --coverage-clover=coverage-file' updated: command: 'phpunit --coverage-clover=coverage-file' <|file_sep|>.scrutinizer.yml.diff original: dependencies: before: - 'wget https://phar.io/releases/phiv...
php: true coding_style: php: spaces: around_operators: concatenation: true build: tests: override: - command: 'phpunit --coverage-clover=coverage-file' coverage: file: 'coverage-file' ...
<|file_sep|>.scrutinizer.yml.diff original: command: 'tools/phpunit --coverage-clover=coverage-file' updated: command: 'phpunit --coverage-clover=coverage-file' <|file_sep|>.scrutinizer.yml.diff original: dependencies: before: - 'wget https://phar.io/releases/phiv...
bb0950828a774d5ce8ff8fc90a43e6f7c9f39214
.scrutinizer.yml
.scrutinizer.yml
YAML
<|file_sep|>original/priv/repo/migrations/20170617131444_add_publisher_group_id.exs <|file_sep|>current/priv/repo/migrations/20170617131444_add_publisher_group_id.exs <|file_sep|>updated/priv/repo/migrations/20170617131444_add_publisher_group_id.exs
defmodule JwMinistryApi.Repo.Migrations.AddPublisherGroupId do use Ecto.Migration def change do alter table(:publishers) do add :group_id, references(:groups, on_delete: :nothing) end create index(:publishers, [:group_id]) end end
<|file_sep|>original/priv/repo/migrations/20170617131444_add_publisher_group_id.exs <|file_sep|>current/priv/repo/migrations/20170617131444_add_publisher_group_id.exs <|file_sep|>updated/priv/repo/migrations/20170617131444_add_publisher_group_id.exs defmodule JwMinistryApi.Repo.Migrations.AddPublisherGroupId do use...
8f8d0fc06b51c654270c634403f13369d7113cc5
priv/repo/migrations/20170617131444_add_publisher_group_id.exs
priv/repo/migrations/20170617131444_add_publisher_group_id.exs
Elixir
<|file_sep|>original/utils/deploy.sh #!/bin/bash mvn -s ./settings.xml release:clean -DautoVersionSubmodules=true -Darguments="-DskipTests=true -Dgpg.skip=false" mvn -s ./settings.xml release:prepare -DautoVersionSubmodules=true -Darguments="-DskipTests=true -Dgpg.skip=false" mvn -s ./settings.xml release:perform -Da...
#!/bin/bash mvn release:clean -DautoVersionSubmodules=true -Darguments="-DskipTests=true -Dgpg.skip=false" mvn release:prepare -DautoVersionSubmodules=true -Darguments="-DskipTests=true -Dgpg.skip=false" mvn release:perform -DautoVersionSubmodules=true -Darguments="-DskipTests=true -Dgpg.skip=false"
<|file_sep|>original/utils/deploy.sh #!/bin/bash mvn -s ./settings.xml release:clean -DautoVersionSubmodules=true -Darguments="-DskipTests=true -Dgpg.skip=false" mvn -s ./settings.xml release:prepare -DautoVersionSubmodules=true -Darguments="-DskipTests=true -Dgpg.skip=false" mvn -s ./settings.xml release:perform -Da...
f600db2984587c072f60e51b92a413df78188f52
utils/deploy.sh
utils/deploy.sh
Shell
<|file_sep|>original/README.md # zend-ldap [![Build Status](https://secure.travis-ci.org/zendframework/zend-ldap.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-ldap) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-ldap/badge.svg?branch=master)](https://coveralls.io/r/zendframewor...
# zend-ldap [![Build Status](https://secure.travis-ci.org/zendframework/zend-ldap.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-ldap) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-ldap/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-ldap?branch=master) `Ze...
<|file_sep|>original/README.md # zend-ldap [![Build Status](https://secure.travis-ci.org/zendframework/zend-ldap.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-ldap) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-ldap/badge.svg?branch=master)](https://coveralls.io/r/zendframewor...
c2661a973816548d44f0387708bd660f12d6a619
README.md
README.md
Markdown
<|file_sep|>original/.idea/inspectionProfiles/Project_Default.xml <component name="InspectionProjectProfileManager"> <profile version="1.0"> <option name="myName" value="Project Default" /> <inspection_tool class="UnnecessaryLabelOnBreakStatement" enabled="false" level="WARNING" enabled_by_default="false" /> ...
<component name="InspectionProjectProfileManager"> <profile version="1.0"> <option name="myName" value="Project Default" /> <inspection_tool class="UnnecessaryLabelOnBreakStatement" enabled="false" level="WARNING" enabled_by_default="false" /> <inspection_tool class="UnnecessaryLabelOnContinueStatement" e...
<|file_sep|>original/.idea/inspectionProfiles/Project_Default.xml <component name="InspectionProjectProfileManager"> <profile version="1.0"> <option name="myName" value="Project Default" /> <inspection_tool class="UnnecessaryLabelOnBreakStatement" enabled="false" level="WARNING" enabled_by_default="false" /> ...
498b940ab1a118a6931611b165db5b7e6c94ef1d
.idea/inspectionProfiles/Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
XML
<|file_sep|>Formula/oxygen-icons.rb.diff original: url 'ftp://ftp.kde.org/pub/kde/stable/4.4.2/src/oxygen-icons-4.4.2.tar.bz2' updated: url 'ftp://ftp.kde.org/pub/kde/stable/4.5.2/src/oxygen-icons-4.5.2.tar.bz2' <|file_sep|>original/Formula/oxygen-icons.rb require 'formula' class OxygenIcons <Formula url 'ftp://...
require 'formula' class OxygenIcons <Formula url 'ftp://ftp.kde.org/pub/kde/stable/4.5.2/src/oxygen-icons-4.5.2.tar.bz2' homepage 'http://www.oxygen-icons.org/' md5 '64cd34251378251d56b9e56a9d4d7bf6' depends_on 'cmake' => :build def install system "cmake . #{std_cmake_parameters}" system "make inst...
<|file_sep|>Formula/oxygen-icons.rb.diff original: url 'ftp://ftp.kde.org/pub/kde/stable/4.4.2/src/oxygen-icons-4.4.2.tar.bz2' updated: url 'ftp://ftp.kde.org/pub/kde/stable/4.5.2/src/oxygen-icons-4.5.2.tar.bz2' <|file_sep|>original/Formula/oxygen-icons.rb require 'formula' class OxygenIcons <Formula url 'ftp://...
f23c021ea074f36ccc62b89cfac49d9360740573
Formula/oxygen-icons.rb
Formula/oxygen-icons.rb
Ruby
<|file_sep|>metadata/dev.patrickgold.florisboard.yml.diff original: updated: - versionName: 0.3.5 versionCode: 24 commit: v0.3.5 subdir: app gradle: - yes <|file_sep|>original/metadata/dev.patrickgold.florisboard.yml gradle: - yes - versionName: 0.3.3 versionCode: 22 commi...
gradle: - yes - versionName: 0.3.4 versionCode: 23 commit: v0.3.4 subdir: app gradle: - yes - versionName: 0.3.5 versionCode: 24 commit: v0.3.5 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 0.3.5 CurrentVersionCod...
<|file_sep|>metadata/dev.patrickgold.florisboard.yml.diff original: updated: - versionName: 0.3.5 versionCode: 24 commit: v0.3.5 subdir: app gradle: - yes <|file_sep|>original/metadata/dev.patrickgold.florisboard.yml gradle: - yes - versionName: 0.3.3 versionCode: 22 commi...
112641fc328e3b72bc676bd5cb06f9c8a81e1428
metadata/dev.patrickgold.florisboard.yml
metadata/dev.patrickgold.florisboard.yml
YAML
<|file_sep|>src/rusql.rs.diff original: use std::collections::TreeMap; updated: use std::collections::BTreeMap; <|file_sep|>src/rusql.rs.diff original: pub map: TreeMap<String, Table<'a>>, updated: pub map: BTreeMap<String, Table<'a>>, <|file_sep|>original/src/rusql.rs use table::Table; use std::collections::T...
use table::Table; use std::collections::BTreeMap; pub struct Rusql<'a> { pub map: BTreeMap<String, Table<'a>>, } impl<'a> Rusql<'a> { pub fn new() -> Rusql<'a> { return Rusql { map: BTreeMap::new(), }; } }
<|file_sep|>src/rusql.rs.diff original: use std::collections::TreeMap; updated: use std::collections::BTreeMap; <|file_sep|>src/rusql.rs.diff original: pub map: TreeMap<String, Table<'a>>, updated: pub map: BTreeMap<String, Table<'a>>, <|file_sep|>original/src/rusql.rs use table::Table; use std::collections::T...
e13f1966e1680838f51397c4e2afb7570c977d70
src/rusql.rs
src/rusql.rs
Rust
<|file_sep|>original/_posts/2015-03-16-new-layout.md --- layout: post title: "New layout of the website" date: 2015-03-16 12:00:00 author: "Stefan Lankes" header-img: "img/vienna.jpg" --- ### New layout We create a new layout for ROME's website, which is derived from [Clean Blog](http://ironsummit...
--- layout: post title: "New layout of the website" date: 2015-03-16 12:00:00 author: "Stefan Lankes" header-img: "img/vienna.jpg" --- ### New layout We create a new layout for ROME's website, which is derived from *Start Bootstrap's* theme [Clean Blog](http://ironsummitmedia.github.io/startbootst...
<|file_sep|>original/_posts/2015-03-16-new-layout.md --- layout: post title: "New layout of the website" date: 2015-03-16 12:00:00 author: "Stefan Lankes" header-img: "img/vienna.jpg" --- ### New layout We create a new layout for ROME's website, which is derived from [Clean Blog](http://ironsummit...
7bebb5dc79d7539d3701feac89d7091d31631ff1
_posts/2015-03-16-new-layout.md
_posts/2015-03-16-new-layout.md
Markdown
<|file_sep|>appveyor.yml.diff original: - path: artifacts/Serilog.*.nupkg updated: - path: artifacts/serilog-*.nupkg <|file_sep|>original/appveyor.yml install: - ps: mkdir -Force ".\build\" | Out-Null build_script: - ps: ./Build.ps1 test: off artifacts: - path: artifacts/Serilog.*.nupkg deploy: - provider: NuGet ap...
install: - ps: mkdir -Force ".\build\" | Out-Null build_script: - ps: ./Build.ps1 test: off artifacts: - path: artifacts/serilog-*.nupkg deploy: - provider: NuGet api_key: secure: nvZ/z+pMS91b3kG4DgfES5AcmwwGoBYQxr9kp4XiJHj25SAlgdIxFx++1N0lFH2x skip_symbols: true on: branch: /^(master|dev)$/ - provider:...
<|file_sep|>appveyor.yml.diff original: - path: artifacts/Serilog.*.nupkg updated: - path: artifacts/serilog-*.nupkg <|file_sep|>original/appveyor.yml install: - ps: mkdir -Force ".\build\" | Out-Null build_script: - ps: ./Build.ps1 test: off artifacts: - path: artifacts/Serilog.*.nupkg deploy: - provider: NuGet ap...
df910ad197d2a5c214f21bb4b21385f97e969a0e
appveyor.yml
appveyor.yml
YAML
<|file_sep|>server/db/orm-model.js.diff original: updated: }, active: { type: Sequelize.BOOLEAN <|file_sep|>original/server/db/orm-model.js keywords: { type: Sequelize.STRING } //sequelize automatically makes createdAt and updatedAt columns }); // We don't need create a join table ...
type: Sequelize.BOOLEAN } //sequelize automatically makes createdAt and updatedAt columns }); // We don't need create a join table when we're using an ORM // Use a method to set relationships Activity.belongsToMany(User, {through: 'UserActivity'}); User.belongsToMany(Activity, {through: 'UserA...
<|file_sep|>server/db/orm-model.js.diff original: updated: }, active: { type: Sequelize.BOOLEAN <|file_sep|>original/server/db/orm-model.js keywords: { type: Sequelize.STRING } //sequelize automatically makes createdAt and updatedAt columns }); // We don't need create a join table ...
4f2d48de75f70393891f4b78d11570b5c8cedae7
server/db/orm-model.js
server/db/orm-model.js
JavaScript
<|file_sep|>original/src/Phansible/Resources/views/partials/javascripts.html.twig <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parent...
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com...
<|file_sep|>original/src/Phansible/Resources/views/partials/javascripts.html.twig <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parent...
22f080e1913717bb3e08d1664cbe7c32be5d002d
src/Phansible/Resources/views/partials/javascripts.html.twig
src/Phansible/Resources/views/partials/javascripts.html.twig
Twig
<|file_sep|>original/packages/components/containers/filePreview/helpers.ts [ 'image/apng', 'image/bmp', 'image/gif', 'image/x-icon', 'image/vnd.microsoft.icon', 'image/jpeg', 'image/png', 'image/svg+xml', !isSafari() && 'image/webp', ] ...
'image/apng', 'image/bmp', 'image/gif', 'image/x-icon', 'image/vnd.microsoft.icon', 'image/jpeg', 'image/png', 'image/svg+xml', !isSafari() && 'image/webp', ] .filter(Boolean) .includes(mimeType); export const isSupportedText =...
<|file_sep|>original/packages/components/containers/filePreview/helpers.ts [ 'image/apng', 'image/bmp', 'image/gif', 'image/x-icon', 'image/vnd.microsoft.icon', 'image/jpeg', 'image/png', 'image/svg+xml', !isSafari() && 'image/webp', ] ...
3639cbc331b651111be3db36d3ed4f1a41c4b247
packages/components/containers/filePreview/helpers.ts
packages/components/containers/filePreview/helpers.ts
TypeScript
<|file_sep|>scripts/create-cf-release.sh.diff original: # assemble version as follows: <latest_final_release_version>.0.0+dev.<current_time_in_seconds>: updated: # assemble version as follows: <latest_final_release_version>.0.0+dev.<date>.<time>.<commit_sha>: <|file_sep|>original/scripts/create-cf-release.sh #!/bin/bas...
#!/bin/bash -ex # assemble version as follows: <latest_final_release_version>.0.0+dev.<date>.<time>.<commit_sha>: pushd $CF_RELEASE_DIR/releases version=$(ls cf-* | sort | tail -1 | sed "s/cf\-\(.*\)\.yml/\1/").0.0+dev.$(date +"%Y-%m-%d.%H-%M-%S").$(git rev-parse HEAD | cut -c1-7) popd echo $version > $VERSION_FILE ...
<|file_sep|>scripts/create-cf-release.sh.diff original: # assemble version as follows: <latest_final_release_version>.0.0+dev.<current_time_in_seconds>: updated: # assemble version as follows: <latest_final_release_version>.0.0+dev.<date>.<time>.<commit_sha>: <|file_sep|>original/scripts/create-cf-release.sh #!/bin/bas...
607f483f4e32006cc821c99dc26996064ece469e
scripts/create-cf-release.sh
scripts/create-cf-release.sh
Shell
<|file_sep|>original/test/CodeGen/X86/GlobalISel/select-blsi.mir <|file_sep|>current/test/CodeGen/X86/GlobalISel/select-blsi.mir <|file_sep|>updated/test/CodeGen/X86/GlobalISel/select-blsi.mir
# RUN: llc -mtriple=x86_64-linux-gnu -mattr=+bmi -global-isel -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s # # Test that rules where multiple operands must be the same operand successfully # match. Also test that the rules do not match when they're not the same # operand. # # This test cove...
<|file_sep|>original/test/CodeGen/X86/GlobalISel/select-blsi.mir <|file_sep|>current/test/CodeGen/X86/GlobalISel/select-blsi.mir <|file_sep|>updated/test/CodeGen/X86/GlobalISel/select-blsi.mir # RUN: llc -mtriple=x86_64-linux-gnu -mattr=+bmi -global-isel -run-pass=instruction-select -verify-machineinstrs %s -o - | Fi...
b22da5a4dcb75cb3c070b31c2dd42f0ddf16019c
test/CodeGen/X86/GlobalISel/select-blsi.mir
test/CodeGen/X86/GlobalISel/select-blsi.mir
Mirah
<|file_sep|>original/README.md ffi-mapnik ========== ... mapnik from Ruby NOTE: Mapnik must be installed to /usr/local/lib/libmapnik.* NOTE: Uses https://github.com/springmeyer/mapnik-c-api NOTE: All development has been on Mac, and no testing has been done on other OSes to this point ```ruby require './lib/ffi-mapn...
ffi-mapnik ========== ... mapnik from Ruby NOTE: Mapnik must be installed to /usr/local/lib/libmapnik.* NOTE: Uses https://github.com/springmeyer/mapnik-c-api (libmapnik_c.dylib compiled on OSX 10.9.3 included in repository) NOTE: All development has been on Mac, and no testing has been done on other OSes to this po...
<|file_sep|>original/README.md ffi-mapnik ========== ... mapnik from Ruby NOTE: Mapnik must be installed to /usr/local/lib/libmapnik.* NOTE: Uses https://github.com/springmeyer/mapnik-c-api NOTE: All development has been on Mac, and no testing has been done on other OSes to this point ```ruby require './lib/ffi-mapn...
3b3cc94bac9366bcec9982e5f51b4d715396183d
README.md
README.md
Markdown
<|file_sep|>Zk/App_Start/IocConfig.cs.diff original: builder.RegisterType<Repository>(); builder.RegisterType<AuthenticationService>(); updated: builder.RegisterType<Repository>() .InstancePerRequest(); builder.RegisterType<AuthenticationService>() ...
builder.RegisterType<Repository>() .InstancePerRequest(); builder.RegisterType<AuthenticationService>() .InstancePerRequest(); builder.RegisterType<UserService>() .Keyed<IUserService>(AuthenticatedStatus.Anonymous); builder...
<|file_sep|>Zk/App_Start/IocConfig.cs.diff original: builder.RegisterType<Repository>(); builder.RegisterType<AuthenticationService>(); updated: builder.RegisterType<Repository>() .InstancePerRequest(); builder.RegisterType<AuthenticationService>() ...
a49d6139f709aad72119ddd290a7c7425b369254
Zk/App_Start/IocConfig.cs
Zk/App_Start/IocConfig.cs
C#
<|file_sep|>original/aggregate_root/spec/no_warnings_spec.rb require 'spec_helper' module RubyEventStore RSpec.describe 'no warnings' do specify do expect(aggregate_root_warnings).to eq([]) end def aggregate_root_warnings warnings.select { |w| w =~ %r{lib/aggregate_root} } end def w...
require 'spec_helper' module AggregateRoot RSpec.describe 'no warnings' do specify do expect(aggregate_root_warnings).to eq([]) end def aggregate_root_warnings warnings.select { |w| w =~ %r{lib/aggregate_root} } end def warnings `ruby -Ilib -w lib/aggregate_root.rb 2>&1`.split...
<|file_sep|>original/aggregate_root/spec/no_warnings_spec.rb require 'spec_helper' module RubyEventStore RSpec.describe 'no warnings' do specify do expect(aggregate_root_warnings).to eq([]) end def aggregate_root_warnings warnings.select { |w| w =~ %r{lib/aggregate_root} } end def w...
16e38baf90bd9c46f5407e42fd3f381b4d693ab9
aggregate_root/spec/no_warnings_spec.rb
aggregate_root/spec/no_warnings_spec.rb
Ruby
<|file_sep|>original/COPYRIGHT.txt /* The Internet Filter IF2K Version 3 Source Code Written By Jeff Koftinoff <jeffk@jdkoftinoff.com> Copyright (c) 1995-2005 By Turner and Sons Productions Ltd. http://www.internetfilter.com/ ALL RIGHTS RESERVED. */ <|file_sep|>current/COPYRIGHT.txt /* The Internet Filter IF2K Ver...
Source Code Written By Jeff Koftinoff <jeffk@jdkoftinoff.com> Copyright (c) 1995-2005 By Turner and Sons Productions Ltd. http://www.internetfilter.com/ ALL RIGHTS RESERVED. */ OpenSourced and re-released under the BSD license, April 25 2015 Copyright (c) 2015, Jeff Koftinoff All rights reserved. Redistribution a...
<|file_sep|>original/COPYRIGHT.txt /* The Internet Filter IF2K Version 3 Source Code Written By Jeff Koftinoff <jeffk@jdkoftinoff.com> Copyright (c) 1995-2005 By Turner and Sons Productions Ltd. http://www.internetfilter.com/ ALL RIGHTS RESERVED. */ <|file_sep|>current/COPYRIGHT.txt /* The Internet Filter IF2K Ver...
9a6d5b7666d3e7dcda292a2bf1254b29e38bd300
COPYRIGHT.txt
COPYRIGHT.txt
Text
<|file_sep|>original/config/kafka-rest.properties <|file_sep|>current/config/kafka-rest.properties <|file_sep|>updated/config/kafka-rest.properties
## # Copyright 2015 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
<|file_sep|>original/config/kafka-rest.properties <|file_sep|>current/config/kafka-rest.properties <|file_sep|>updated/config/kafka-rest.properties ## # Copyright 2015 Confluent Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. ...
cf284eab92f12785af3642c8e3d00010c2980632
config/kafka-rest.properties
config/kafka-rest.properties
INI
<|file_sep|>original/app/mithril/package.json "bin": { "build-storybook": "./bin/build.js", "start-storybook": "./bin/index.js", "storybook-server": "./bin/index.js" }, "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { "@storybook/core": "4.0.0-alpha.8", "com...
"bin": { "build-storybook": "./bin/build.js", "start-storybook": "./bin/index.js", "storybook-server": "./bin/index.js" }, "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { "@storybook/core": "4.0.0-alpha.8", "common-tags": "^1.8.0", "global": "^4.3.2", ...
<|file_sep|>original/app/mithril/package.json "bin": { "build-storybook": "./bin/build.js", "start-storybook": "./bin/index.js", "storybook-server": "./bin/index.js" }, "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { "@storybook/core": "4.0.0-alpha.8", "com...
00de269af3f1c4f05a80dea65d55bf373fac85aa
app/mithril/package.json
app/mithril/package.json
JSON
<|file_sep|>original/requirements.txt requests==2.18.4 urllib3==1.22 requests-toolbelt==0.8.0 # For proper timezone support. pytz==2017.3 # Charset detection chardet==3.0.4 # Docs requirements sphinx==1.6.5 sphinx_rtd_theme==0.2.4 # Postgresql psycopg2==2.7.3.2 # Redis redis==2.10.6 django-environ==0.4.4 <|file_s...
requests==2.18.4 urllib3==1.22 requests-toolbelt==0.8.0 # For proper timezone support. pytz==2017.3 # Charset detection chardet==3.0.4 # Docs requirements sphinx==1.6.5 sphinx_rtd_theme==0.2.4 # Postgresql psycopg2==2.7.4 # Redis redis==2.10.6 django-environ==0.4.4
<|file_sep|>original/requirements.txt requests==2.18.4 urllib3==1.22 requests-toolbelt==0.8.0 # For proper timezone support. pytz==2017.3 # Charset detection chardet==3.0.4 # Docs requirements sphinx==1.6.5 sphinx_rtd_theme==0.2.4 # Postgresql psycopg2==2.7.3.2 # Redis redis==2.10.6 django-environ==0.4.4 <|file_s...
53154761bf84da60df61de65ef3c40ef8252160e
requirements.txt
requirements.txt
Text
<|file_sep|>README.md.diff original: SimplifyRb is a Ruby port of [simplify.js](https://github.com/mourner/simplify-js) by Vladimir Agafonkin. updated: SimplifyRb is a Ruby port of [simplify.js](https://github.com/mourner/simplify-js) by Vladimir Agafonkin. <|file_sep|>README.md.diff original: updated: points = [{x: ...
Or install it yourself as: $ gem install simplify_rb ## Usage ```ruby require 'simplify_rb' points = [{x: 51.5256, y: -0.0875}, {x: 51.7823, y: -0.0912}] tolerance = 1 high_quality = true SimplifyRb.simplify(points, tolerance, high_quality) ``` ```points```: An array of hashes, containing x,y coordinates. ``...
<|file_sep|>README.md.diff original: SimplifyRb is a Ruby port of [simplify.js](https://github.com/mourner/simplify-js) by Vladimir Agafonkin. updated: SimplifyRb is a Ruby port of [simplify.js](https://github.com/mourner/simplify-js) by Vladimir Agafonkin. <|file_sep|>README.md.diff original: updated: points = [{x: ...
b363b887f340351b9fbd03b20494b9d01d21b055
README.md
README.md
Markdown
<|file_sep|>original/test/Constraints/warn_long_compile.swift // RUN: %target-typecheck-verify-swift -warn-long-expression-type-checking=1 -warn-long-function-bodies=1 %s @_silgen_name("generic_foo") func foo<T>(_ x: T) -> T @_silgen_name("foo_of_int") func foo(_ x: Int) -> Int func test(m: Double) -> Int { // exp...
// RUN: %target-typecheck-verify-swift -warn-long-expression-type-checking=1 -warn-long-function-bodies=1 @_silgen_name("generic_foo") func foo<T>(_ x: T) -> T @_silgen_name("foo_of_int") func foo(_ x: Int) -> Int func test(m: Double) -> Int { // expected-warning@-1 {{global function 'test(m:)' took}} return Int...
<|file_sep|>original/test/Constraints/warn_long_compile.swift // RUN: %target-typecheck-verify-swift -warn-long-expression-type-checking=1 -warn-long-function-bodies=1 %s @_silgen_name("generic_foo") func foo<T>(_ x: T) -> T @_silgen_name("foo_of_int") func foo(_ x: Int) -> Int func test(m: Double) -> Int { // exp...
7721c3eb89d86d7cac0d0b26a90b0241ea826706
test/Constraints/warn_long_compile.swift
test/Constraints/warn_long_compile.swift
Swift
<|file_sep|>original/src/apps/contacts/router.js const contactArchiveController = require('./controllers/archive') const contactInteractionController = require('./controllers/interactions') router .route('/create') .get(contactEditController.editDetails) .post(contactEditController.postDetails) router.get('/:co...
const contactArchiveController = require('./controllers/archive') const contactInteractionController = require('./controllers/interactions') router .route('/create') .get(contactEditController.editDetails) .post(contactEditController.postDetails) router.get('/:contactId', contactController.getCommon, contactCon...
<|file_sep|>original/src/apps/contacts/router.js const contactArchiveController = require('./controllers/archive') const contactInteractionController = require('./controllers/interactions') router .route('/create') .get(contactEditController.editDetails) .post(contactEditController.postDetails) router.get('/:co...
89d6350abba559bc91bde71513aca9349c50be6f
src/apps/contacts/router.js
src/apps/contacts/router.js
JavaScript