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/lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake <|file_sep|>current/lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake <|file_sep|>updated/lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake
namespace :after_party do desc 'Deployment task: remove_old_amr_reading_warnings' task remove_old_amr_reading_warnings: :environment do puts "Running deploy task 'remove_old_amr_reading_warnings'" # Put your task implementation HERE. AmrReadingWarning.where.not(warning: nil).delete_all # Update ta...
<|file_sep|>original/lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake <|file_sep|>current/lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake <|file_sep|>updated/lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake namespace :after_party do desc 'Depl...
7d826fb9a3d4b48e68247a3aba159447617f728f
lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake
lib/tasks/deployment/20200129161822_remove_old_amr_reading_warnings.rake
Ruby
<|file_sep|>packages/strapi-provider-upload-local/README.md.diff original: Your configuration is passed down to the cloudinary configuration. (e.g: `cloudinary.config(config)`). You can see the complete list of options [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters) updated: This p...
```json { "provider": "local", "providerOptions": { "sizeLimit": 100000 } } ``` The `sizeLimit` parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000. When setting this value high, you should make sure to also configure the body parser middleware `maxFileSize` so the fil...
<|file_sep|>packages/strapi-provider-upload-local/README.md.diff original: Your configuration is passed down to the cloudinary configuration. (e.g: `cloudinary.config(config)`). You can see the complete list of options [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters) updated: This p...
dbaf04286acd2d7b65cd322f601abc12a6fb2960
packages/strapi-provider-upload-local/README.md
packages/strapi-provider-upload-local/README.md
Markdown
<|file_sep|>ladder/templates/ladder/result/entry.html.diff original: <p>Ladder complete - for late results please contact <a href="mailto:results@highgate-ladder.co.uk">results@highgate-ladder.co.uk</a></p> <!-- <form id="add_result_form" updated: <form id="add_result_form" <|file_sep|>original/ladder/temp...
<label for="{{ form.winner.id_for_label }}"> {{ form.winner.label_tag }} </label> {{ form.winner }} <label for="{{ form.result.id_for_label }}"> {{ form.result.label_tag }} </label> {{ form.result }} {{ form.player }} <p> ...
<|file_sep|>ladder/templates/ladder/result/entry.html.diff original: <p>Ladder complete - for late results please contact <a href="mailto:results@highgate-ladder.co.uk">results@highgate-ladder.co.uk</a></p> <!-- <form id="add_result_form" updated: <form id="add_result_form" <|file_sep|>original/ladder/temp...
c428c2973f53a669ffec77a0fda40eefb028d163
ladder/templates/ladder/result/entry.html
ladder/templates/ladder/result/entry.html
HTML
<|file_sep|>original/provisioning/roles/cuttlefish-app/tasks/main.yml - name: Ensure that .env exists template: src=env dest=/srv/www/shared/.env owner=deploy group=deploy - name: Generate the overall nginx config template: src=nginx.conf dest=/etc/nginx/nginx.conf notify: nginx reload - name: Generate the ngi...
- name: Generate the overall nginx config template: src=nginx.conf dest=/etc/nginx/nginx.conf notify: nginx reload - name: Generate the nginx config for the app template: src=default dest=/etc/nginx/sites-available/ owner=root group=root mode=644 notify: nginx reload - name: Create cuttlefish postgresql data...
<|file_sep|>original/provisioning/roles/cuttlefish-app/tasks/main.yml - name: Ensure that .env exists template: src=env dest=/srv/www/shared/.env owner=deploy group=deploy - name: Generate the overall nginx config template: src=nginx.conf dest=/etc/nginx/nginx.conf notify: nginx reload - name: Generate the ngi...
d11925eb67a22ba7fd480d12211804ecb880cfe7
provisioning/roles/cuttlefish-app/tasks/main.yml
provisioning/roles/cuttlefish-app/tasks/main.yml
YAML
<|file_sep|>src/classifier.rs.diff original: let (name, matched_model) = find_min_by_key( self.models.iter(), |&(name, other_model)| model.compare(other_model) ).unwrap(); updated: let (name, matched_model) = self.models .iter() .min_by_key(|&(name...
impl Classifier { pub fn new() -> Classifier { Classifier { models: HashMap::new() } } pub fn train(&mut self, text: &str, name: &str) { let model = Model::build_from_text(text); self.models.insert(name.to_string(), model); } pub fn classify(&self, text: &str) -> &String ...
<|file_sep|>src/classifier.rs.diff original: let (name, matched_model) = find_min_by_key( self.models.iter(), |&(name, other_model)| model.compare(other_model) ).unwrap(); updated: let (name, matched_model) = self.models .iter() .min_by_key(|&(name...
354f4961704c23eb5ac711254e20fa3a7a4fd38a
src/classifier.rs
src/classifier.rs
Rust
<|file_sep|>original/ghost/mw-error-handler/package.json "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "c8": "7.11.2", "mocha": "9.1.3", "should": "13.2.3", "sinon": "12.0.1" }, "dependencies": { "@tryghost/debug": "^0.1.9", ...
"files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "c8": "7.11.2", "mocha": "9.1.3", "should": "13.2.3", "sinon": "12.0.1" }, "dependencies": { "@tryghost/debug": "^0.1.9", "@tryghost/errors": "1.2.12", "@tryghost/tpl": "^0...
<|file_sep|>original/ghost/mw-error-handler/package.json "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "c8": "7.11.2", "mocha": "9.1.3", "should": "13.2.3", "sinon": "12.0.1" }, "dependencies": { "@tryghost/debug": "^0.1.9", ...
764d570da704d7c29013d76bc78e5599d0f0342e
ghost/mw-error-handler/package.json
ghost/mw-error-handler/package.json
JSON
<|file_sep|>original/app/views/reviews/create.js.erb var reviews = $('#reviews'); reviews.append('<%= escape_javascript(render partial: @review) %>'); <|file_sep|>current/app/views/reviews/create.js.erb var reviews = $('#reviews'); reviews.append('<%= escape_javascript(render partial: @review) %>'); <|file_sep|>updated...
var reviews = $('#reviews'); reviews.append('<%= escape_javascript(render partial: @review) %>'); $('#review_comment').val('')
<|file_sep|>original/app/views/reviews/create.js.erb var reviews = $('#reviews'); reviews.append('<%= escape_javascript(render partial: @review) %>'); <|file_sep|>current/app/views/reviews/create.js.erb var reviews = $('#reviews'); reviews.append('<%= escape_javascript(render partial: @review) %>'); <|file_sep|>updated...
b356ceef8dc11cf2965cf72f1ba9a887faf348de
app/views/reviews/create.js.erb
app/views/reviews/create.js.erb
HTML+ERB
<|file_sep|>original/templates/dashboard/product/product_class/modal_cannot_delete_class.html <|file_sep|>current/templates/dashboard/product/product_class/modal_cannot_delete_class.html <|file_sep|>updated/templates/dashboard/product/product_class/modal_cannot_delete_class.html
{% extends "dashboard/modal_confirm_delete.html" %} {% load i18n %} {% load prices_i18n %} {% block title %} {% trans "Error" context "Dashboard error" %} {% endblock %} {% block content %} <div class="col s12 center-align"> <p> {% blocktrans trimmed context "Modal delete product class with products text" %} ...
<|file_sep|>original/templates/dashboard/product/product_class/modal_cannot_delete_class.html <|file_sep|>current/templates/dashboard/product/product_class/modal_cannot_delete_class.html <|file_sep|>updated/templates/dashboard/product/product_class/modal_cannot_delete_class.html {% extends "dashboard/modal_confirm_de...
327674192cdeeb8a1b74e304d20ecff07e9eb0d4
templates/dashboard/product/product_class/modal_cannot_delete_class.html
templates/dashboard/product/product_class/modal_cannot_delete_class.html
HTML
<|file_sep|>original/content/posts/2014-02-28-emacs-org-mode.org <|file_sep|>current/content/posts/2014-02-28-emacs-org-mode.org <|file_sep|>updated/content/posts/2014-02-28-emacs-org-mode.org
--- title: Blogging with Hakyll and Emacs Org-mode date: 2014-02-28 tags: hakyll, pandoc, emacs, haskell --- I finally did it! I polished up my Haskell-fu and wrote a [[http://johnmacfarlane.net/pandoc][Pandoc]] reader for [[http://orgmode.org][Emacs Org-mode]]. As a result, I can now write blog posts in =Org-mode= ...
<|file_sep|>original/content/posts/2014-02-28-emacs-org-mode.org <|file_sep|>current/content/posts/2014-02-28-emacs-org-mode.org <|file_sep|>updated/content/posts/2014-02-28-emacs-org-mode.org --- title: Blogging with Hakyll and Emacs Org-mode date: 2014-02-28 tags: hakyll, pandoc, emacs, haskell --- I finally did i...
443e7f2419cee39013375cf0fd2292cfad7396fb
content/posts/2014-02-28-emacs-org-mode.org
content/posts/2014-02-28-emacs-org-mode.org
Org
<|file_sep|>original/.github/workflows/nodejs.yml <|file_sep|>current/.github/workflows/nodejs.yml <|file_sep|>updated/.github/workflows/nodejs.yml
name: Node CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} ...
<|file_sep|>original/.github/workflows/nodejs.yml <|file_sep|>current/.github/workflows/nodejs.yml <|file_sep|>updated/.github/workflows/nodejs.yml name: Node CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v...
46bced2e4668011aee16218f5f282db855989254
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>original/_posts/2013-08-21-psa-gem-versions.md <|file_sep|>current/_posts/2013-08-21-psa-gem-versions.md <|file_sep|>updated/_posts/2013-08-21-psa-gem-versions.md
--- layout: post title: "PSA: Specifying Your Gem Version Requirements" description: "Know your tiddly-wakka"" category: community tags: - ruby - rubygems --- {% include JB/setup %} I too-frequently see rubyists misunderstand the meaning of the '~>' tiddly-wakka. So, I'm providing this public service announcment by ...
<|file_sep|>original/_posts/2013-08-21-psa-gem-versions.md <|file_sep|>current/_posts/2013-08-21-psa-gem-versions.md <|file_sep|>updated/_posts/2013-08-21-psa-gem-versions.md --- layout: post title: "PSA: Specifying Your Gem Version Requirements" description: "Know your tiddly-wakka"" category: community tags: - rub...
3e1bf3bc6828b500d90dd9439fa67b80d9485408
_posts/2013-08-21-psa-gem-versions.md
_posts/2013-08-21-psa-gem-versions.md
Markdown
<|file_sep|>original/_posts/2017-01-18-Combining-Drafts-and-Working-Copy.md --- layout: post title: Combining Drafts and Working Copy --- Both [Drafts](http://agiletortoise.com/drafts/) and [Working Copy](https://workingcopyapp.com) form the core of my workflow in publishing posts to my Github hosted website. One of th...
--- layout: post title: Combining Drafts and Working Copy --- Both [Drafts](http://agiletortoise.com/drafts/) and [Working Copy](https://workingcopyapp.com) form the core of my workflow in publishing posts to my Github hosted website. One of the requirements of a Jekyll hosted Github blog is that posts must be named in...
<|file_sep|>original/_posts/2017-01-18-Combining-Drafts-and-Working-Copy.md --- layout: post title: Combining Drafts and Working Copy --- Both [Drafts](http://agiletortoise.com/drafts/) and [Working Copy](https://workingcopyapp.com) form the core of my workflow in publishing posts to my Github hosted website. One of th...
9c616956586b61b301f93c7392938b1c2fb06dbb
_posts/2017-01-18-Combining-Drafts-and-Working-Copy.md
_posts/2017-01-18-Combining-Drafts-and-Working-Copy.md
Markdown
<|file_sep|>app/views/specialist_documents/_attachments_form.html.erb.diff original: <h2>Attachments</h2> updated: <% if action_name != 'update' %> <h2>Attachments</h2> <|file_sep|>app/views/specialist_documents/_attachments_form.html.erb.diff original: <% if document.persisted? %> <%= link_to "Add attach...
<% if action_name != 'update' %> <h2>Attachments</h2> <% if document.persisted? %> <%= link_to "Add attachment", new_specialist_document_attachment_path(document) %> <% else %> <p>To add an attachment, please save the draft first.</p> <% end %> <ul class="attachments"> <% docu...
<|file_sep|>app/views/specialist_documents/_attachments_form.html.erb.diff original: <h2>Attachments</h2> updated: <% if action_name != 'update' %> <h2>Attachments</h2> <|file_sep|>app/views/specialist_documents/_attachments_form.html.erb.diff original: <% if document.persisted? %> <%= link_to "Add attach...
d898f187ec936bc1e9e3923ceea65f4fc9056eab
app/views/specialist_documents/_attachments_form.html.erb
app/views/specialist_documents/_attachments_form.html.erb
HTML+ERB
<|file_sep|>src/media/processing/yuyvtoyuv420.cpp.diff original: uint32_t finalDataSize = input->width*input->height*2; updated: uint32_t finalDataSize = input->width*input->height + input->width*input->height/2; <|file_sep|>original/src/media/processing/yuyvtoyuv420.cpp { uint32_t finalDataSize = input->...
input->type = YUYVVIDEO; input->data = std::move(yuyv_frame); input->data_size = finalDataSize; sendOutput(std::move(input)); input = getInput(); } } void YUYVtoYUV420::yuyv2yuv420_cpu(uint8_t* input, uint8_t* output, uint16_t width, uint16_t height) { // L...
<|file_sep|>src/media/processing/yuyvtoyuv420.cpp.diff original: uint32_t finalDataSize = input->width*input->height*2; updated: uint32_t finalDataSize = input->width*input->height + input->width*input->height/2; <|file_sep|>original/src/media/processing/yuyvtoyuv420.cpp { uint32_t finalDataSize = input->...
01af8e8d2a56243de944c3227e306729e2a44086
src/media/processing/yuyvtoyuv420.cpp
src/media/processing/yuyvtoyuv420.cpp
C++
<|file_sep|>original/dotnet-tools.json { "version": 1, "isRoot": true, "tools": { "cake.tool": { "version": "2.0.0", "commands": [ "dotnet-cake" ] } } } <|file_sep|>current/dotnet-tools.json { "version": 1, "isRoot": true, "tools": { "cake.tool": { "version": "2...
{ "version": 1, "isRoot": true, "tools": { "cake.tool": { "version": "2.1.0", "commands": [ "dotnet-cake" ] } } }
<|file_sep|>original/dotnet-tools.json { "version": 1, "isRoot": true, "tools": { "cake.tool": { "version": "2.0.0", "commands": [ "dotnet-cake" ] } } } <|file_sep|>current/dotnet-tools.json { "version": 1, "isRoot": true, "tools": { "cake.tool": { "version": "2...
2c3af5e612d039a9e15fa8e03e5370364fcafc93
dotnet-tools.json
dotnet-tools.json
JSON
<|file_sep|>app/styles/nordrassil.css.diff original: updated: } #main { width: 360px; margin: 20px auto; position: relative; <|file_sep|>original/app/styles/nordrassil.css cursor: pointer; } #search-results { padding: 0; margin: 0; list-style: none; border: 1px solid #333333; border-bottom: none; }...
border-left: 1px solid #333333; color: #333333; background-image: none; background-color: inherit; text-align: center; vertical-align: middle; cursor: pointer; } #search-results { padding: 0; margin: 0; list-style: none; border: 1px solid #333333; border-bottom: none; } #search-results > li { ...
<|file_sep|>app/styles/nordrassil.css.diff original: updated: } #main { width: 360px; margin: 20px auto; position: relative; <|file_sep|>original/app/styles/nordrassil.css cursor: pointer; } #search-results { padding: 0; margin: 0; list-style: none; border: 1px solid #333333; border-bottom: none; }...
13557af7c37104dd21f3b2096ea3f9c000ea0785
app/styles/nordrassil.css
app/styles/nordrassil.css
CSS
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.12" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= ...
import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.13" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= Seq( ws, "com.jason...
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.12" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= ...
d1221040179275e90986d17e8974d8a3de23178a
build.sbt
build.sbt
Scala
<|file_sep|>original/package.json { "name": "gulp-css-globbing", "version": "0.1.4", "description": "A Gulp plugin for globbing CSS @import statements", "author": "Johan SahlΓ©n <johan@monospace.se>", "repository": "git://github.com/jsahlen/gulp-css-globbing.git", "bugs": "https://github.com/jsahlen/gulp-css...
{ "name": "gulp-css-globbing", "version": "0.1.4", "description": "A Gulp plugin for globbing CSS @import statements", "author": "Johan SahlΓ©n <johan@monospace.se>", "contributors": [ { "name": "Scott Nath", "url": "https://github.com/scottnath" } ], "repository": "git://github.com/jsa...
<|file_sep|>original/package.json { "name": "gulp-css-globbing", "version": "0.1.4", "description": "A Gulp plugin for globbing CSS @import statements", "author": "Johan SahlΓ©n <johan@monospace.se>", "repository": "git://github.com/jsahlen/gulp-css-globbing.git", "bugs": "https://github.com/jsahlen/gulp-css...
7c0604aa4444be3317b5072d88f2257d946f4a4e
package.json
package.json
JSON
<|file_sep|>original/zx81/README.md <|file_sep|>current/zx81/README.md <|file_sep|>updated/zx81/README.md
# ZX81 Sample Programs These programs are written in the assembler dialect used by [the z88dk toolkit](https://z88dk.org). This toolkit is runnable on a wide variety of platforms. (If you are running a Debianoid or a Fedora-based Linux distribution, they should be in your default repositories already.) Assemble the p...
<|file_sep|>original/zx81/README.md <|file_sep|>current/zx81/README.md <|file_sep|>updated/zx81/README.md # ZX81 Sample Programs These programs are written in the assembler dialect used by [the z88dk toolkit](https://z88dk.org). This toolkit is runnable on a wide variety of platforms. (If you are running a Debianoid...
933c743417181d29655420ac950924c3c8c1f19d
zx81/README.md
zx81/README.md
Markdown
<|file_sep|>original/requirements.txt # scipy==1.3.1; python_version > '2.7' scipy==1.2.1; python_version <= '2.7' # pyup: ignore numpy==1.17.2; python_version > '2.7' numpy==1.16.4; python_version <= '2.7' # pyup: ignore docrep==0.2.7 mpmath==1.1.0 ### numdifftools git+https://github.com/rparini/numdifftools.git...
# scipy==1.3.1; python_version > '2.7' scipy==1.2.1; python_version <= '2.7' # pyup: ignore numpy==1.17.2; python_version > '2.7' numpy==1.16.4; python_version <= '2.7' # pyup: ignore docrep==0.2.7 mpmath==1.1.0 ### numdifftools git+https://github.com/rparini/numdifftools.git@fix_vstack_futurewarning#egg=numdifft...
<|file_sep|>original/requirements.txt # scipy==1.3.1; python_version > '2.7' scipy==1.2.1; python_version <= '2.7' # pyup: ignore numpy==1.17.2; python_version > '2.7' numpy==1.16.4; python_version <= '2.7' # pyup: ignore docrep==0.2.7 mpmath==1.1.0 ### numdifftools git+https://github.com/rparini/numdifftools.git...
485b80c087e6cc507965909809c4fc9961f569be
requirements.txt
requirements.txt
Text
<|file_sep|>README.md.diff original: ``` updated: ```javascript <|file_sep|>README.md.diff original: ``` updated: ```javascript <|file_sep|>README.md.diff original: ``` updated: ```javascript <|file_sep|>original/README.md import {merge} from 'tsmerge'; ... const options = merge(defaults, customizations); ``` Install...
import {merge} from 'tsmerge'; ... const options = merge(defaults, customizations); ``` Install: ``` npm install tsmerge --save ``` Usage ```javascript import {merge} from 'tsmerge'; const defaults = { timeout: 30000, retries: 3 }; const customizations = { retries: 10 }; const options = merge(defaults, customizatio...
<|file_sep|>README.md.diff original: ``` updated: ```javascript <|file_sep|>README.md.diff original: ``` updated: ```javascript <|file_sep|>README.md.diff original: ``` updated: ```javascript <|file_sep|>original/README.md import {merge} from 'tsmerge'; ... const options = merge(defaults, customizations); ``` Install...
049dd78c00ff896677d1f294f37800c0c595dca2
README.md
README.md
Markdown
<|file_sep|>assets/index.js.diff original: import Vue from "vue"; import App from "./js/app/filters.vue"; updated: // import Vue from "vue"; // import App from "./js/app/filters.vue"; <|file_sep|>assets/index.js.diff original: // FILTERS APP if (document.getElementById("app")) { updated: // // FILTERS APP // if (docum...
import "./js/polyfills.js"; //MUST GO AT TOP import "./js/lazysizes.js"; import "./js/quicklink.js"; import "./js/nojs.js"; // import Vue from "vue"; // import App from "./js/app/filters.vue"; // // FILTERS APP // if (document.getElementById("app")) { // new Vue({ // el: "#app", // components: { App } // })...
<|file_sep|>assets/index.js.diff original: import Vue from "vue"; import App from "./js/app/filters.vue"; updated: // import Vue from "vue"; // import App from "./js/app/filters.vue"; <|file_sep|>assets/index.js.diff original: // FILTERS APP if (document.getElementById("app")) { updated: // // FILTERS APP // if (docum...
00a3cfa32ebd0e7c2a2940fa7b881c7c30b03990
assets/index.js
assets/index.js
JavaScript
<|file_sep|>src/package/alert/Alert.vue.diff original: <slot></slot> updated: <slot>{{content}}</slot> <|file_sep|>src/package/alert/Alert.vue.diff original: } updated: }, programmatic: { type: Boolean, default: false }, content: String <|f...
methods: { checkType () { let keys = Object.keys(this.acceptedClass) keys.forEach(key => { if (key === this.type) this.currentClass = this.acceptedClass[key] }) }, close () { setTimeout(() => { this.$destroy() ...
<|file_sep|>src/package/alert/Alert.vue.diff original: <slot></slot> updated: <slot>{{content}}</slot> <|file_sep|>src/package/alert/Alert.vue.diff original: } updated: }, programmatic: { type: Boolean, default: false }, content: String <|f...
97a091c9d14a861a822886f77ac601bcf4312b2a
src/package/alert/Alert.vue
src/package/alert/Alert.vue
Vue
<|file_sep|>web_client/views/layout/HeaderView.js.diff original: import events from '../../events'; updated: <|file_sep|>web_client/views/layout/HeaderView.js.diff original: this.listenTo(events, 'h:imageOpened', this._setImageText); updated: <|file_sep|>original/web_client/views/layout/HeaderView.js ...
new HeaderUserView({ el: this.$('.h-current-user-wrapper'), parentView: this }).render(); new HeaderImageView({ el: this.$('.h-image-menu-wrapper'), parentView: this }).render(); new HeaderAnalysesView({ el: this.$('....
<|file_sep|>web_client/views/layout/HeaderView.js.diff original: import events from '../../events'; updated: <|file_sep|>web_client/views/layout/HeaderView.js.diff original: this.listenTo(events, 'h:imageOpened', this._setImageText); updated: <|file_sep|>original/web_client/views/layout/HeaderView.js ...
57c67f110ddbfcc17ae6ab83170018bd778c0062
web_client/views/layout/HeaderView.js
web_client/views/layout/HeaderView.js
JavaScript
<|file_sep|>original/appveyor.yml os: Visual Studio 2015 environment: matrix: - nodejs_version: 0.10.40 msvs_toolset: 14 - nodejs_version: 0.12.7 msvs_toolset: 14 platform: - x64 - x86 install: - scripts\build-appveyor.bat build: OFF test: OFF deploy: OFF <|file_sep|>current/appveyor.yml...
os: Visual Studio 2015 environment: matrix: - nodejs_version: 0.10.40 platform: - x64 - x86 install: - scripts\build-appveyor.bat build: OFF test: OFF deploy: OFF
<|file_sep|>original/appveyor.yml os: Visual Studio 2015 environment: matrix: - nodejs_version: 0.10.40 msvs_toolset: 14 - nodejs_version: 0.12.7 msvs_toolset: 14 platform: - x64 - x86 install: - scripts\build-appveyor.bat build: OFF test: OFF deploy: OFF <|file_sep|>current/appveyor.yml...
d67f319c819043b18ac966bcb792441a85e16cb3
appveyor.yml
appveyor.yml
YAML
<|file_sep|>src/mt_index.erl.diff original: #panel{body = #template{file = "./site/templates/metalkia/facebook_service.html"}} updated: #panel{body = #template{file = "./site/templates/metalkia/facebook_service.html"}}, #panel{body = #link{id="twitter-login-button", text="Login with Twitter", postback="twit...
body() -> ?DBG("Cookies:~n~p", [wf_context:cookies()]), #container_12 { body=[ #grid_8 { alpha=true, prefix=2, suffix=2, omega=true, body=inner_body() } ]}. inner_body() -> #panel{body=[ #panel{body = #template{file = "./site/templates/metalkia/facebook_service.html"}}, #panel{body = #link{id="tw...
<|file_sep|>src/mt_index.erl.diff original: #panel{body = #template{file = "./site/templates/metalkia/facebook_service.html"}} updated: #panel{body = #template{file = "./site/templates/metalkia/facebook_service.html"}}, #panel{body = #link{id="twitter-login-button", text="Login with Twitter", postback="twit...
861694465fb131a0ab589f42243b8348259f838e
src/mt_index.erl
src/mt_index.erl
Erlang
<|file_sep|>CHANGELOG.md.diff original: updated: ## 1.0.2 * Remove undocumented dependency on voxpupuli/puppet-archive (replace with 'unzip' package). Make changes to install.pp to support installation of zip file. * Github download filename no longer gets prefixed with a 'v', so remove associated block from install....
# Changelog ## 1.0.2 * Remove undocumented dependency on voxpupuli/puppet-archive (replace with 'unzip' package). Make changes to install.pp to support installation of zip file. * Github download filename no longer gets prefixed with a 'v', so remove associated block from install.pp * Fix issue with /etc/init.d/onetim...
<|file_sep|>CHANGELOG.md.diff original: updated: ## 1.0.2 * Remove undocumented dependency on voxpupuli/puppet-archive (replace with 'unzip' package). Make changes to install.pp to support installation of zip file. * Github download filename no longer gets prefixed with a 'v', so remove associated block from install....
2fda23974ae8d6f959d10dd30c998513dc15c8c4
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>README.md.diff original: updated: [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) <|file_sep|>README.md.diff original: Check out the demo: [click](http://htmlpreview.github.io/?https://github.com/Johennes/Crosswords/blob/master/index.html) updat...
### About Crosswords is a browser-based application that lets you generate sparse crossword puzzles out of a given set of words. Sparse means that the puzzle will not be arranged to completely fill a rectangular region (this would correspond to a dense crossword puzzle). Some of the most important features include: ...
<|file_sep|>README.md.diff original: updated: [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) <|file_sep|>README.md.diff original: Check out the demo: [click](http://htmlpreview.github.io/?https://github.com/Johennes/Crosswords/blob/master/index.html) updat...
85492ae3c15b5a19494fe9a952b4b07904634de6
README.md
README.md
Markdown
<|file_sep|>app/views/admin/members/index.html.haml.diff original: %th{scope: "col"} Email updated: <|file_sep|>original/app/views/admin/members/index.html.haml %table.table.table-striped %thead %tr %th{scope: "col"} # %th{scope: "col"} Login Name %th{scope: "col"} Email - @members.eac...
%table.table.table-striped %thead %tr %th{scope: "col"} # %th{scope: "col"} Login Name - @members.each do |member| %tr %td= render 'members/tiny', member: member %td= member.login_name %td %ul - member.roles.pluck(:name).each do |r| %li= r %...
<|file_sep|>app/views/admin/members/index.html.haml.diff original: %th{scope: "col"} Email updated: <|file_sep|>original/app/views/admin/members/index.html.haml %table.table.table-striped %thead %tr %th{scope: "col"} # %th{scope: "col"} Login Name %th{scope: "col"} Email - @members.eac...
35c9b70bc94a81f294949c802edb0eea1c08532d
app/views/admin/members/index.html.haml
app/views/admin/members/index.html.haml
Haml
<|file_sep|>Xmas-Hell/Xmas-Hell-Android/Properties/AndroidManifest.xml.diff original: <?xml version="1.0" encoding="utf-8"?> updated: ο»Ώ<?xml version="1.0" encoding="utf-8"?> <|file_sep|>original/Xmas-Hell/Xmas-Hell-Android/Properties/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="ht...
ο»Ώ<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.noxalus.XmasHell" android:versionCode="1" android:versionName="1.0" android:installLocation="auto"> <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="19" /> <application android:label=...
<|file_sep|>Xmas-Hell/Xmas-Hell-Android/Properties/AndroidManifest.xml.diff original: <?xml version="1.0" encoding="utf-8"?> updated: ο»Ώ<?xml version="1.0" encoding="utf-8"?> <|file_sep|>original/Xmas-Hell/Xmas-Hell-Android/Properties/AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="ht...
92f8be59e3ea6aef8e760df4a3f8fc280af7a4c1
Xmas-Hell/Xmas-Hell-Android/Properties/AndroidManifest.xml
Xmas-Hell/Xmas-Hell-Android/Properties/AndroidManifest.xml
XML
<|file_sep|>original/src/main/java/mjc/types/UnsupportedType.java * method. * * Unsupported types are incompatible with all other types, including itself, * effectively preventing the programmer from calling the main method or * referencing its parameter without getting a type error. */ public class UnsupportedTy...
* method. * * Unsupported types are incompatible with all other types, including itself, * effectively preventing the programmer from calling the main method or * referencing its parameter without getting a type error. */ public class UnsupportedType extends Type { public final static Type Void = new Unsuppor...
<|file_sep|>original/src/main/java/mjc/types/UnsupportedType.java * method. * * Unsupported types are incompatible with all other types, including itself, * effectively preventing the programmer from calling the main method or * referencing its parameter without getting a type error. */ public class UnsupportedTy...
ab7602eff8cffc7b50b46a9cfa05b99d20c549e0
src/main/java/mjc/types/UnsupportedType.java
src/main/java/mjc/types/UnsupportedType.java
Java
<|file_sep|>original/Tests/Configuration/ConfigurationAnnotationTest.php <|file_sep|>current/Tests/Configuration/ConfigurationAnnotationTest.php <|file_sep|>updated/Tests/Configuration/ConfigurationAnnotationTest.php
<?php namespace Sensio\Bundle\FrameworkExtraBunde\Tests\Configuration; class ConfigurationAnnotationTest extends \PHPUnit_Framework_TestCase { /** * @expectedException RuntimeException */ public function testUndefinedSetterThrowsException() { $this->getMockForAbstractClass('Sensio\Bundle...
<|file_sep|>original/Tests/Configuration/ConfigurationAnnotationTest.php <|file_sep|>current/Tests/Configuration/ConfigurationAnnotationTest.php <|file_sep|>updated/Tests/Configuration/ConfigurationAnnotationTest.php <?php namespace Sensio\Bundle\FrameworkExtraBunde\Tests\Configuration; class ConfigurationAnnotatio...
ce1787d4f03f4ebe77bb8c11a1207fb2657b8ec3
Tests/Configuration/ConfigurationAnnotationTest.php
Tests/Configuration/ConfigurationAnnotationTest.php
PHP
<|file_sep|>src/main/scala/eu/shiftforward/icfpc2015/SolverDebugger.scala.diff original: updated: val startTime = System.currentTimeMillis() <|file_sep|>original/src/main/scala/eu/shiftforward/icfpc2015/SolverDebugger.scala import spray.json._ import scala.io.Source object SolverDebugger extends App { val solve...
val solutionTag: Option[String] = None val input = Source.fromFile(args(0)).mkString.parseJson.convertTo[Input] val startTime = System.currentTimeMillis() input.sourceSeeds.map { seed => val units = input.orderedUnitsBySeed(seed) val grid = Grid(input.width, input.height).filled(input.filled: _*) ...
<|file_sep|>src/main/scala/eu/shiftforward/icfpc2015/SolverDebugger.scala.diff original: updated: val startTime = System.currentTimeMillis() <|file_sep|>original/src/main/scala/eu/shiftforward/icfpc2015/SolverDebugger.scala import spray.json._ import scala.io.Source object SolverDebugger extends App { val solve...
357d22b335cda4a53cf4dc9d8a2c7e0275d81113
src/main/scala/eu/shiftforward/icfpc2015/SolverDebugger.scala
src/main/scala/eu/shiftforward/icfpc2015/SolverDebugger.scala
Scala
<|file_sep|>original/proto/vtworkerservice.proto // RPC interface for vtworker. // The interface is very similar to the vtctld interface (see vtctlservice.proto). syntax = "proto3"; package vtworkerservice; import "vtworkerdata.proto"; // Service Vtworker contains the vtworker RPC calls. service Vtworker { rpc Ex...
// RPC interface for vtworker. // The interface is very similar to the vtctld interface (see vtctlservice.proto). syntax = "proto3"; package vtworkerservice; import "vtworkerdata.proto"; // Service Vtworker contains the vtworker RPC calls. service Vtworker { // ExecuteVtworkerCommand allows to run a vtworker comm...
<|file_sep|>original/proto/vtworkerservice.proto // RPC interface for vtworker. // The interface is very similar to the vtctld interface (see vtctlservice.proto). syntax = "proto3"; package vtworkerservice; import "vtworkerdata.proto"; // Service Vtworker contains the vtworker RPC calls. service Vtworker { rpc Ex...
350280518536b868fdb3b75f70fc6d033ca7a9fc
proto/vtworkerservice.proto
proto/vtworkerservice.proto
Protocol Buffer
<|file_sep|>build-support/ivy/opensource_ivysettings.xml.diff original: <!-- By default ivy does not require metadata (or successful metadata downloads). This can lead to jars downloading without their transitive deps which leads to confusing failures later when classpaths are constructed an...
<property name="m2.repo.relpath" value="[organisation]/[module]/[revision]"/> <property name="m2.repo.pom" value="${m2.repo.relpath}/[module]-[revision].pom"/> <property name="m2.repo.artifact" value="${m2.repo.relpath}/[artifact](-[classifier])-[revision].[ext]"/> <property name="m2.repo.dir" valu...
<|file_sep|>build-support/ivy/opensource_ivysettings.xml.diff original: <!-- By default ivy does not require metadata (or successful metadata downloads). This can lead to jars downloading without their transitive deps which leads to confusing failures later when classpaths are constructed an...
07c7184c58b3f06d3bcdc77f9963de0b9d1bed5a
build-support/ivy/opensource_ivysettings.xml
build-support/ivy/opensource_ivysettings.xml
XML
<|file_sep|>original/common.js }, }, "rules": { "arrow-parens": "warn", "comma-dangle": ["error", "always-multiline"], "max-len": ["error", { "code": 100, "ignoreUrls": true, "ignoreRegExpLiterals": true, "tabWidth": 2, }], "no-prototype-builtins": "off", "no-und...
"rules": { "arrow-parens": "warn", "comma-dangle": ["error", "always-multiline"], "max-len": ["error", { "code": 100, "ignoreUrls": true, "ignoreRegExpLiterals": true, "tabWidth": 2, }], "no-plusplus": ["error", { "allowForLoopAfterthoughts": true, }], "no-pr...
<|file_sep|>original/common.js }, }, "rules": { "arrow-parens": "warn", "comma-dangle": ["error", "always-multiline"], "max-len": ["error", { "code": 100, "ignoreUrls": true, "ignoreRegExpLiterals": true, "tabWidth": 2, }], "no-prototype-builtins": "off", "no-und...
cc3537bd187624ed0e9efd631fe68da96cf8cb6c
common.js
common.js
JavaScript
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md Thank you for taking the time to work on a PR for Awesome-FreeForOpenSource! To ensure your PR is dealt with swiftly please check the following: - [ ] Your submissions are formatted according to the guidelines: ``[Company Name](link) `tag` - description`` - [ ] Yo...
Thank you for taking the time to work on a PR for Awesome-Open-Source-Supporters! To ensure your PR is dealt with swiftly please check the following: - [ ] Your submissions are formatted according to the guidelines: ``[Company Name](link) `tag` - description`` - [ ] Your additions are ordered alphabetically. - [ ] Yo...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md Thank you for taking the time to work on a PR for Awesome-FreeForOpenSource! To ensure your PR is dealt with swiftly please check the following: - [ ] Your submissions are formatted according to the guidelines: ``[Company Name](link) `tag` - description`` - [ ] Yo...
4a0429a4ae4234a1cd390599d5aacb23a0b7e006
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/webpack.config.js module.exports = { entry: { 'extenso': './index.js', 'extenso.min': './index.js' }, output: { filename: '[name].js', path: path.resolve(__dirname, 'dist'), library: 'extenso', libraryTarget: 'umd' }, module: { rules: [{ test: /\.js$/i, ...
module.exports = { entry: { 'extenso': './index.js', 'extenso.min': './index.js' }, output: { filename: '[name].js', path: path.resolve(__dirname, 'dist'), library: 'extenso', libraryTarget: 'umd', // To solve a problem with Webpack 4 (webpack#6522). globalObject: `typeof self !=...
<|file_sep|>original/webpack.config.js module.exports = { entry: { 'extenso': './index.js', 'extenso.min': './index.js' }, output: { filename: '[name].js', path: path.resolve(__dirname, 'dist'), library: 'extenso', libraryTarget: 'umd' }, module: { rules: [{ test: /\.js$/i, ...
7df6084518076e5d7e0ed6d58a740488fc55c5fb
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>Code/Loop/packages.lisp.diff original: ;;; The symbols that are shadowed from the COMMON-LISP package ;;; are also symbols that we want to export. To avoid repeating ;;; that list of symbols, we use the reader macros #= and ##. ;;; It is interesting to note that we would normally write ;;; (:shadow <str...
;;;; ;;;; Copyright (c) 2010, 2011 ;;;; ;;;; Matthieu Villeneuve (matthieu.villeneuve@gmail.com) ;;;; ;;;; all rights reserved. ;;;; ;;;; Permission is hereby granted to use this software for any ;;;; purpose, including using, modifying, and redistributing it. ;;;; ;;;; The software is provided "as-is" with no w...
<|file_sep|>Code/Loop/packages.lisp.diff original: ;;; The symbols that are shadowed from the COMMON-LISP package ;;; are also symbols that we want to export. To avoid repeating ;;; that list of symbols, we use the reader macros #= and ##. ;;; It is interesting to note that we would normally write ;;; (:shadow <str...
e06ec07050b6dc8818b67105a3b084e3bf1572cd
Code/Loop/packages.lisp
Code/Loop/packages.lisp
Common Lisp
<|file_sep|>original/lib/stationed/generators/plugins/i18n_spec.rb module Stationed module Generators module Plugins module I18nSpec def self.prepended(base) base.class_option :i18n_spec, type: :boolean, default: true, desc: 'Set up tests for locale file...
module Plugins module I18nSpec def self.prepended(base) base.class_option :i18n_spec, type: :boolean, default: true, desc: 'Set up tests for locale files' end def finish_template return super unless options[:i18n_spec] ...
<|file_sep|>original/lib/stationed/generators/plugins/i18n_spec.rb module Stationed module Generators module Plugins module I18nSpec def self.prepended(base) base.class_option :i18n_spec, type: :boolean, default: true, desc: 'Set up tests for locale file...
d140dd5700ab5c4129a5e3ab346c7c800fc9cffa
lib/stationed/generators/plugins/i18n_spec.rb
lib/stationed/generators/plugins/i18n_spec.rb
Ruby
<|file_sep|>original/src/main/resources/templates/greeting/index.html.hbs <table class="table table-striped table-hover"> <thead> <tr> <th>Id</th> <th>Template</th> <th>Examples</th> </tr> </thead> <tbody> {{#greetings}} {{> greeting/_detail this.names}} {{/greetings}} </...
<table class="table table-striped table-hover"> <thead> <tr> <th>Id</th> <th>Template</th> <th>Examples</th> </tr> </thead> <tbody> {{#greetings}} {{> greeting/_detail this.names}} {{/greetings}} </tbody> </table> <p> <a class="btn btn-primary" role="button" href="/gre...
<|file_sep|>original/src/main/resources/templates/greeting/index.html.hbs <table class="table table-striped table-hover"> <thead> <tr> <th>Id</th> <th>Template</th> <th>Examples</th> </tr> </thead> <tbody> {{#greetings}} {{> greeting/_detail this.names}} {{/greetings}} </...
984790ff3c8eff868ac4b0ee9f57f37f92e889b4
src/main/resources/templates/greeting/index.html.hbs
src/main/resources/templates/greeting/index.html.hbs
Handlebars
<|file_sep|>original/website/static/js/addProjectPlugin.js <|file_sep|>current/website/static/js/addProjectPlugin.js <|file_sep|>updated/website/static/js/addProjectPlugin.js
/** * UI and function to add project */ 'use strict'; var $ = require('jquery'); var m = require('mithril'); var $osf = require('js/osfHelpers'); var AddProject = { controller : function (options) { var self = this; self.defaults = { parent : null }; self.viewState =...
<|file_sep|>original/website/static/js/addProjectPlugin.js <|file_sep|>current/website/static/js/addProjectPlugin.js <|file_sep|>updated/website/static/js/addProjectPlugin.js /** * UI and function to add project */ 'use strict'; var $ = require('jquery'); var m = require('mithril'); var $osf = require('js/osfHelpe...
aa259950045d40d3c495748fe6b217404dca42bb
website/static/js/addProjectPlugin.js
website/static/js/addProjectPlugin.js
JavaScript
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 before_script: "cp ./config/database.yml.example ./config/database.yml" <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 before_script: "cp ./config/database.yml.example ./config/database.yml" <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 before_script: - "cp ./config/database.yml.example ./config/database.yml" - "mysql -e 'create database myapp_test;'"
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 before_script: "cp ./config/database.yml.example ./config/database.yml" <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 before_script: "cp ./config/database.yml.example ./config/database.yml" <|file_sep|>updated/.travis.yml language: ruby rvm:...
de21164f1badac4f3b8b3949f3cef82bb537f9b9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/language_server.md <|file_sep|>current/docs/language_server.md <|file_sep|>updated/docs/language_server.md
# Using Psalm's Language Server Psalm now has built-in Language Server Compatibility support. It currently only supports diagnostics, with more functionality coming soon. It works well in a variety of editors: ## emacs I got it working with [eglot](https://github.com/joaotavora/eglot) This is the config I used: ...
<|file_sep|>original/docs/language_server.md <|file_sep|>current/docs/language_server.md <|file_sep|>updated/docs/language_server.md # Using Psalm's Language Server Psalm now has built-in Language Server Compatibility support. It currently only supports diagnostics, with more functionality coming soon. It works we...
6af3a226c41f97b88fe20e3e0ae3f03f7a53d911
docs/language_server.md
docs/language_server.md
Markdown
<|file_sep|>original/app/partials/base-list.html <form class="navbar-search pull-right"> <input ng-model="recordFilter" class="search-query" placeholder="Filter"> </form> </div> <div> <br/> ...
<form class="navbar-search pull-right"> <input ng-model="recordFilter" class="search-query" placeholder="Filter"> </form> </div> <div> <br/> <br/> <button class="bt...
<|file_sep|>original/app/partials/base-list.html <form class="navbar-search pull-right"> <input ng-model="recordFilter" class="search-query" placeholder="Filter"> </form> </div> <div> <br/> ...
1d550a1262cadf50b900d73c0e202f50889af0ef
app/partials/base-list.html
app/partials/base-list.html
HTML
<|file_sep|>original/cookbooks/vagrant/recipes/windows.rb # Make the path Windows-style if we're on Windows package_name = node[:vagrant][:gem_path].gsub("/", "\\") gem_package package_name do version "> 0" gem_binary "#{embedded_dir}/bin/gem" end # We need a little batch wrapper so that we execute the # bin in t...
package_name = node[:vagrant][:gem_path].gsub("/", "\\") gem_package package_name do version "> 0" gem_binary "#{embedded_dir}/bin/gem" end # We need a little batch wrapper so that we execute the # bin in the context of our isolated Ruby. template "#{staging_dir}/bin/vagrant.bat" do source "bin_wrapper.bat.erb"...
<|file_sep|>original/cookbooks/vagrant/recipes/windows.rb # Make the path Windows-style if we're on Windows package_name = node[:vagrant][:gem_path].gsub("/", "\\") gem_package package_name do version "> 0" gem_binary "#{embedded_dir}/bin/gem" end # We need a little batch wrapper so that we execute the # bin in t...
bcb446cbdd63c47b47af9b0d4f3902dcc4e0f7ba
cookbooks/vagrant/recipes/windows.rb
cookbooks/vagrant/recipes/windows.rb
Ruby
<|file_sep|>original/README.adoc James Glasbrenner's dotfiles ============================ James Glasbrenner <jglasbr2@gmu.edu> July 27, 2017 My dotfiles repo. License ------- All content is licensed under the terms of link:LICENSE[The Unlicense License]. <|file_sep|>current/README.adoc James Glasbrenner's dotfiles ...
James Glasbrenner's dotfiles ============================ James Glasbrenner <jglasbr2@gmu.edu> July 27, 2017 My dotfiles repo. Bootstrapping ------------- Stow 2.3.0 is included in this repo for bootstrapping purposes. To stow stow after cloning this repository to `$HOME/.dotfiles`, run .bash ----------------------...
<|file_sep|>original/README.adoc James Glasbrenner's dotfiles ============================ James Glasbrenner <jglasbr2@gmu.edu> July 27, 2017 My dotfiles repo. License ------- All content is licensed under the terms of link:LICENSE[The Unlicense License]. <|file_sep|>current/README.adoc James Glasbrenner's dotfiles ...
c1c1ac3a76de6103e176533aaab9077410995d2b
README.adoc
README.adoc
AsciiDoc
<|file_sep|>original/setup.py description=( "Django middlewares to monitor your application with Prometheus.io."), license="Apache", keywords="django monitoring prometheus", url="http://github.com/korfuri/django-prometheus", packages=find_packages(), test_suite="django_prometheus.tests",...
test_suite="django_prometheus.tests", long_description=LONG_DESCRIPTION, install_requires=[ "prometheus_client>=0.0.13", ], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", ...
<|file_sep|>original/setup.py description=( "Django middlewares to monitor your application with Prometheus.io."), license="Apache", keywords="django monitoring prometheus", url="http://github.com/korfuri/django-prometheus", packages=find_packages(), test_suite="django_prometheus.tests",...
15437c33fd25a1f10c3203037be3bfef17716fbb
setup.py
setup.py
Python
<|file_sep|>original/Resources/config/grids/customer_order.yml sylius_grid: grids: sylius_admin_customer_order: extends: sylius_admin_order driver: options: repository: method: createByCustomerIdQueryBuilder ...
sylius_grid: grids: sylius_admin_customer_order: extends: sylius_admin_order driver: options: repository: method: createByCustomerIdQueryBuilder arguments: customerId: $id ...
<|file_sep|>original/Resources/config/grids/customer_order.yml sylius_grid: grids: sylius_admin_customer_order: extends: sylius_admin_order driver: options: repository: method: createByCustomerIdQueryBuilder ...
e67d6f3a173d594b0b5b8a4a67f60c534e08689e
Resources/config/grids/customer_order.yml
Resources/config/grids/customer_order.yml
YAML
<|file_sep|>original/resources/views/pages/import.blade.php @extends('layouts.master') @section('main_content') @include('layouts.header', ['header' => 'Upload a CSV for import']) <div class="container -padded"> <div class="wrapper"> <div class="container__block -narrow"> ...
@extends('layouts.master') @section('main_content') @include('layouts.header', ['header' => 'Upload a CSV for import']) <div class="container -padded"> <div class="wrapper"> <div class="container__block -narrow"> <p>For the time being, This feature should only be used by J...
<|file_sep|>original/resources/views/pages/import.blade.php @extends('layouts.master') @section('main_content') @include('layouts.header', ['header' => 'Upload a CSV for import']) <div class="container -padded"> <div class="wrapper"> <div class="container__block -narrow"> ...
358ed751feb522cd2b0d8a2a3a93386ba57fc4c0
resources/views/pages/import.blade.php
resources/views/pages/import.blade.php
PHP
<|file_sep|>.travis.yml.diff original: - 1.8.7 - 1.9.3 - 2.0.0 updated: <|file_sep|>original/.travis.yml - PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 3.2.0" - PUPPET_GEM_VERSION="~> 3.3.0" - PUPPET_GEM_VERSION="~> 3.4.0" - PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES=yes - PUPPET_GEM_VE...
--- sudo: false language: ruby bundler_args: --without development system_tests before_install: rm Gemfile.lock || true rvm: - 2.1.0 script: bundle exec rake test env: - PUPPET_GEM_VERSION="~> 4.0.0" STRICT_VARIABLES=yes
<|file_sep|>.travis.yml.diff original: - 1.8.7 - 1.9.3 - 2.0.0 updated: <|file_sep|>original/.travis.yml - PUPPET_GEM_VERSION="~> 2.7.0" - PUPPET_GEM_VERSION="~> 3.2.0" - PUPPET_GEM_VERSION="~> 3.3.0" - PUPPET_GEM_VERSION="~> 3.4.0" - PUPPET_GEM_VERSION="~> 3.5.0" STRICT_VARIABLES=yes - PUPPET_GEM_VE...
9b4e3e0aba7c6fabef6aae1618eb41c8c4df7ff1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/Repositories/AbstractRepository.php <|file_sep|>current/app/Repositories/AbstractRepository.php <|file_sep|>updated/app/Repositories/AbstractRepository.php
<?php namespace App\Repositories; use Illuminate\Database\Eloquent\Model; abstract class AbstractRepository { /** * The model to execute queries on. * * @var \Illuminate\Database\Eloquent\Model */ protected $model; /** * Create a new repository instance. * * @param Mo...
<|file_sep|>original/app/Repositories/AbstractRepository.php <|file_sep|>current/app/Repositories/AbstractRepository.php <|file_sep|>updated/app/Repositories/AbstractRepository.php <?php namespace App\Repositories; use Illuminate\Database\Eloquent\Model; abstract class AbstractRepository { /** * The mode...
54beef740eeceffef7b350a86aae51917106d6cc
app/Repositories/AbstractRepository.php
app/Repositories/AbstractRepository.php
PHP
<|file_sep|>original/_config.yml name: iotize, πŸ“± engineer title: iotize, πŸ“± engineer description: iOS Engineer theme: minima markdown: kramdown highlighter: rouge gems: [jekyll-paginate] paginate: 20 baseurl: / domain_name: 'http://iotize.github.com' # Details for the RSS feed generator url: 'http://iotize...
name: iotize, πŸ“± engineer title: iotize, πŸ“± engineer description: iOS Engineer theme: minima markdown: kramdown highlighter: rouge gems: [jekyll-paginate] paginate: 20 baseurl: / domain_name: 'http://iotize.github.com' twitter_username: iotize github_username: iotize rss: rss # Details for the RSS feed generator url:...
<|file_sep|>original/_config.yml name: iotize, πŸ“± engineer title: iotize, πŸ“± engineer description: iOS Engineer theme: minima markdown: kramdown highlighter: rouge gems: [jekyll-paginate] paginate: 20 baseurl: / domain_name: 'http://iotize.github.com' # Details for the RSS feed generator url: 'http://iotize...
75293adbde5f5bd514400d4363d63f00fc621ac8
_config.yml
_config.yml
YAML
<|file_sep|>original/jobs.md --- title: Vacancies in Research Software Engineering layout: default short: Jobs --- There are regular opportunities for programming researchers in universities and labs across the UK. A great place to look is [Jobs.ac.uk](http://www.jobs.ac.uk/) However, where we are made aware of great...
--- title: Vacancies in Research Software Engineering layout: default short: Jobs --- There are regular opportunities for programming researchers in universities and labs across the UK. A great place to look is [Jobs.ac.uk](http://www.jobs.ac.uk/) However, where we are made aware of great opportunities for research s...
<|file_sep|>original/jobs.md --- title: Vacancies in Research Software Engineering layout: default short: Jobs --- There are regular opportunities for programming researchers in universities and labs across the UK. A great place to look is [Jobs.ac.uk](http://www.jobs.ac.uk/) However, where we are made aware of great...
cf15bc8bbc237280246dbe9d93a5f03cdff63d4d
jobs.md
jobs.md
Markdown
<|file_sep|>original/requirements_dev.txt watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0 PyYAML==3.12 pytest==3.1.3 pytest-runner==2.11.1 sphinxcontrib-napoleon==0.6.1 numpy==1.13.1 pandas==0.20.3 matplotlib==2.0.2 jupyter==1.0.0 ipywidgets==7.0.0b2 opencv-contrib-python==3.2...
watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0 PyYAML==3.12 pytest==3.1.3 pytest-runner==2.11.1 sphinxcontrib-napoleon==0.6.1 numpy==1.13.1 pandas==0.20.3 matplotlib==2.0.2 jupyter==1.0.0 ipywidgets==7.0.0b2 opencv-contrib-python==3.3.0.9 opencv-python==3.2.0.7 pymodbus==1.3....
<|file_sep|>original/requirements_dev.txt watchdog==0.8.3 flake8==3.3.0 tox==2.7.0 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0 PyYAML==3.12 pytest==3.1.3 pytest-runner==2.11.1 sphinxcontrib-napoleon==0.6.1 numpy==1.13.1 pandas==0.20.3 matplotlib==2.0.2 jupyter==1.0.0 ipywidgets==7.0.0b2 opencv-contrib-python==3.2...
da578a344eaecfd3aa5bf1ba7ec2f34ef99b604b
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/CITATION.md Citation ======== The following may be used to cite usage of source Dockerfiles or derived Docker images. ### BibTeX @misc{dockerfiles, author = {Kai Arulkumaran}, title = {Kaixhin/dockerfiles}, url = {https://github.com/Kaixhin/dockerfiles}, year = {2015} ...
Citation ======== A research paper is in the works, involving [FGLab](https://github.com/Kaixhin/FGLab). For now, the following may be used to cite usage of source Dockerfiles or derived Docker images. ### BibTeX @misc{dockerfiles, author = {Kai Arulkumaran}, title = {Kaixhin/dockerfiles}, url =...
<|file_sep|>original/CITATION.md Citation ======== The following may be used to cite usage of source Dockerfiles or derived Docker images. ### BibTeX @misc{dockerfiles, author = {Kai Arulkumaran}, title = {Kaixhin/dockerfiles}, url = {https://github.com/Kaixhin/dockerfiles}, year = {2015} ...
1dacf7e865fa6121122308752ccae83e9c0e1b92
CITATION.md
CITATION.md
Markdown
<|file_sep|>metadata/tube.chikichiki.sako.yml.diff original: updated: - versionName: '1.4' versionCode: 14 commit: 52f1b10d40e5bec6f4115994bd5d34ba1e197fb6 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y librsvg2-bin openjdk-11-jdk-headless - update-alterna...
- apt-get update || apt-get update - apt-get install -y librsvg2-bin openjdk-11-jdk-headless - update-alternatives --auto java gradle: - yes - versionName: '1.4' versionCode: 14 commit: 52f1b10d40e5bec6f4115994bd5d34ba1e197fb6 subdir: app sudo: - apt-get update || ap...
<|file_sep|>metadata/tube.chikichiki.sako.yml.diff original: updated: - versionName: '1.4' versionCode: 14 commit: 52f1b10d40e5bec6f4115994bd5d34ba1e197fb6 subdir: app sudo: - apt-get update || apt-get update - apt-get install -y librsvg2-bin openjdk-11-jdk-headless - update-alterna...
6261dcac7d196a02646cf7b9b2aae55020bab74b
metadata/tube.chikichiki.sako.yml
metadata/tube.chikichiki.sako.yml
YAML
<|file_sep|>src/Calendar/CalendarInterface.php.diff original: public function addEvent(EventInterface $event); updated: public function getName(); <|file_sep|>original/src/Calendar/CalendarInterface.php <?php namespace Plummer\Calendarful; interface CalendarInterface { public function addEvent(EventInterface $even...
<?php namespace Plummer\Calendarful; interface CalendarInterface { public function getName(); public function populate(RegistryInterface $eventsRegistry, \DateTime $fromDate, \DateTime $toDate, $limit); }
<|file_sep|>src/Calendar/CalendarInterface.php.diff original: public function addEvent(EventInterface $event); updated: public function getName(); <|file_sep|>original/src/Calendar/CalendarInterface.php <?php namespace Plummer\Calendarful; interface CalendarInterface { public function addEvent(EventInterface $even...
50764ec6badf197b30b2b37fa27994781660d284
src/Calendar/CalendarInterface.php
src/Calendar/CalendarInterface.php
PHP
<|file_sep|>original/requires/testing.txt coverage>=3.7,<4 nose>=1.3.1,<2.0.0 mock>=2.0.0,<3 wheel -r installation.txt <|file_sep|>current/requires/testing.txt coverage>=3.7,<4 nose>=1.3.1,<2.0.0 mock>=2.0.0,<3 wheel -r installation.txt <|file_sep|>updated/requires/testing.txt
coverage>=4,<5 nose>=1.3.1,<2.0.0 mock>=2.0.0,<3 wheel -r installation.txt
<|file_sep|>original/requires/testing.txt coverage>=3.7,<4 nose>=1.3.1,<2.0.0 mock>=2.0.0,<3 wheel -r installation.txt <|file_sep|>current/requires/testing.txt coverage>=3.7,<4 nose>=1.3.1,<2.0.0 mock>=2.0.0,<3 wheel -r installation.txt <|file_sep|>updated/requires/testing.txt coverage>=4,<5 nose>=1.3.1,<2.0.0 mock>=2....
c215d0e8683d08eb8c3c27f26ce68003d8595330
requires/testing.txt
requires/testing.txt
Text
<|file_sep|>original/lib/likes/set.rb module Likes # Job: Understands patterns in people likings class Set # Default engine - simplest one # # @see Engines::BestIntersectionSize DEFAULT_ENGINE = Engines::BestIntersectionSize # Creates new instance of Set # # @param [Array<Like>] likes L...
module Likes # Job: Understands patterns in people likings class Set # Default engine - simplest one # # @see Engines::FastJaccardSimilarity DEFAULT_ENGINE = Engines::FastJaccardSimilarity # Creates new instance of Set # # @param [Array<Like>] likes List of likes # @param [Engines::...
<|file_sep|>original/lib/likes/set.rb module Likes # Job: Understands patterns in people likings class Set # Default engine - simplest one # # @see Engines::BestIntersectionSize DEFAULT_ENGINE = Engines::BestIntersectionSize # Creates new instance of Set # # @param [Array<Like>] likes L...
6871222015a7d7b8cbf89784141e6d829427dd86
lib/likes/set.rb
lib/likes/set.rb
Ruby
<|file_sep|>index.js.diff original: var moduleCache = {}; updated: if(opts.modules){ opts.modules = opts.modules.map(function(mod) { return sweet.loadNodeModule(process.cwd(), mod); }); } if(opts.readtables){ opts.readtables.forEach(function(mod) { sweet.setReadtable(mod); }); } ...
opts = merge({ sourceMap: !!file.sourceMap, filename: file.path, }, opts); try { var res = sweet.compile(file.contents.toString('utf8'), opts); } catch(err) { console.log('error'); return this.emit('error', err); } if(res.sourceMap) { applySourceMap(file...
<|file_sep|>index.js.diff original: var moduleCache = {}; updated: if(opts.modules){ opts.modules = opts.modules.map(function(mod) { return sweet.loadNodeModule(process.cwd(), mod); }); } if(opts.readtables){ opts.readtables.forEach(function(mod) { sweet.setReadtable(mod); }); } ...
2b924c9b780e3266b1eba47b8e657ac82ad59996
index.js
index.js
JavaScript
<|file_sep|>original/tests/webignition/Tests/RobotsTxt/File/AddRecordTest.php <?php namespace webignition\Tests\RobotsTxt\File; use webignition\RobotsTxt\Record\Record; class AddRecordTest extends FileTest { public function testAddRecord() { $record = new Record(); $record->directiveList()->add(...
<?php namespace webignition\Tests\RobotsTxt\File; use webignition\RobotsTxt\Record\Record; class AddRecordTest extends FileTest { public function testAddRecord() { $record = new Record(); $record->directiveList()->add('allow:/allowed-path'); $this->file->addRecord($record); ...
<|file_sep|>original/tests/webignition/Tests/RobotsTxt/File/AddRecordTest.php <?php namespace webignition\Tests\RobotsTxt\File; use webignition\RobotsTxt\Record\Record; class AddRecordTest extends FileTest { public function testAddRecord() { $record = new Record(); $record->directiveList()->add(...
3fa6c0955b85dad83dd10e00d5c5d75ee248580a
tests/webignition/Tests/RobotsTxt/File/AddRecordTest.php
tests/webignition/Tests/RobotsTxt/File/AddRecordTest.php
PHP
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.3b0 flake8==3.7.8 # Testing # ------------------------------------------------------------------------------ tox==3.14.0 py...
cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.3b0 flake8==3.7.8 # Testing # ------------------------------------------------------------------------------ tox==3.14.0 pytest==5.1.2 pytest_cases==1.11.1 pytes...
<|file_sep|>original/requirements.txt cookiecutter==1.6.0 sh==1.12.14 binaryornot==0.4.4 # Code quality # ------------------------------------------------------------------------------ black==19.3b0 flake8==3.7.8 # Testing # ------------------------------------------------------------------------------ tox==3.14.0 py...
1c98ff011b212ad385699fe5d437bac41f130a0b
requirements.txt
requirements.txt
Text
<|file_sep|>original/test/fixtures/xpath.html <html> <body> <p>the first para</p> <ol> <li>lorem ipsum</li> <li>dolor <span>sit</span></li> <li>amet constectuer</li> </ol> <p>dolor sit <strong>amet</strong>. humpty dumpty. etc.</p> </body> </html> <|file_sep|>current/test/fixtures/...
<p>the first para</p> <ol> <li>lorem ipsum</li> <li>dolor <span>sit</span></li> <li>amet constectuer</li> </ol> <p>dolor sit <strong>amet</strong>. humpty dumpty. etc.</p>
<|file_sep|>original/test/fixtures/xpath.html <html> <body> <p>the first para</p> <ol> <li>lorem ipsum</li> <li>dolor <span>sit</span></li> <li>amet constectuer</li> </ol> <p>dolor sit <strong>amet</strong>. humpty dumpty. etc.</p> </body> </html> <|file_sep|>current/test/fixtures/...
f63508be7e2ab2f353aff51141b6a5db9fb79bf5
test/fixtures/xpath.html
test/fixtures/xpath.html
HTML
<|file_sep|>original/numba/cuda/tests/cudapy/test_userexc.py from numba.cuda.testing import unittest, SerialMixin, skip_on_cudasim from numba import cuda from numba.core import config class MyError(Exception): pass regex_pattern = ( r'In function [\'"]test_exc[\'"], file [\.\/\\\-a-zA-Z_0-9]+, line \d+' ) ...
from numba.cuda.testing import unittest, SerialMixin, skip_on_cudasim from numba import cuda from numba.core import config class MyError(Exception): pass regex_pattern = ( r'In function [\'"]test_exc[\'"], file [\:\.\/\\\-a-zA-Z_0-9]+, line \d+' ) class TestUserExc(SerialMixin, unittest.TestCase): de...
<|file_sep|>original/numba/cuda/tests/cudapy/test_userexc.py from numba.cuda.testing import unittest, SerialMixin, skip_on_cudasim from numba import cuda from numba.core import config class MyError(Exception): pass regex_pattern = ( r'In function [\'"]test_exc[\'"], file [\.\/\\\-a-zA-Z_0-9]+, line \d+' ) ...
4490e59bfe54874e17d3afd00ede0ad410dc7957
numba/cuda/tests/cudapy/test_userexc.py
numba/cuda/tests/cudapy/test_userexc.py
Python
<|file_sep|>original/haproxy/rebuild.sh #!/bin/bash # Run from sherpa-prod root pushd "$(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) )" > /dev/null PORT=$1 OLD_CONTAINER=`docker-compose ps -q haproxy` if [ -z ${PORT} ]; then echo "No port specified, looking up current port in haproxy container..." P...
#!/bin/bash # Run from sherpa-prod root pushd "$(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) )" > /dev/null PORT=$1 OLD_CONTAINER=`docker-compose ps -q haproxy` if [ -z ${PORT} ]; then echo "No port specified, looking up current port in haproxy container..." PORT=`docker exec ${OLD_CONTAINER} /bin/b...
<|file_sep|>original/haproxy/rebuild.sh #!/bin/bash # Run from sherpa-prod root pushd "$(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) )" > /dev/null PORT=$1 OLD_CONTAINER=`docker-compose ps -q haproxy` if [ -z ${PORT} ]; then echo "No port specified, looking up current port in haproxy container..." P...
884d22aa7a9f9784537fe4adbaf6cf86689aa60a
haproxy/rebuild.sh
haproxy/rebuild.sh
Shell
<|file_sep|>spec/nark_spec.rb.diff original: updated: it "sets event handler for the middleware" <|file_sep|>original/spec/nark_spec.rb require "spec_helper" describe Nark do describe "#configure" do end end <|file_sep|>current/spec/nark_spec.rb require "spec_helper" describe Nark do it "sets event handler ...
require "spec_helper" describe Nark do it "sets event handler for the middleware" describe "#configure" do it "allows to to add a reporter" it "define the plugin destination path" it "overrides the event handler for the middleware" context "HTTP reporter" do it "define root path" end ...
<|file_sep|>spec/nark_spec.rb.diff original: updated: it "sets event handler for the middleware" <|file_sep|>original/spec/nark_spec.rb require "spec_helper" describe Nark do describe "#configure" do end end <|file_sep|>current/spec/nark_spec.rb require "spec_helper" describe Nark do it "sets event handler ...
661dfe5c7bd063b09fafc92227ece079b24d5a0d
spec/nark_spec.rb
spec/nark_spec.rb
Ruby
<|file_sep|>original/releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml <|file_sep|>current/releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml <|file_sep|>updated/releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml
--- upgrade: - | The local conductor mode is now deprecated and may be removed as early as the 14.0.0 release. If you are using local conductor mode, plan on deploying remote conductor by the time you upgrade to the 14.0.0 release.
<|file_sep|>original/releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml <|file_sep|>current/releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml <|file_sep|>updated/releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml --- upgrade: - | The local conductor mode is now d...
a067a4c9be524c90677f511c96764ab327a4da4c
releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml
releasenotes/notes/deprecate-local-conductor-9cb9f45728281eb0.yaml
YAML
<|file_sep|>original/validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors.swift <|file_sep|>current/validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors.swift <|file_sep|>updated/validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors...
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LICENSE.txt for license information // See http://swift.org/CONTRIBUTORS.txt for the list...
<|file_sep|>original/validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors.swift <|file_sep|>current/validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors.swift <|file_sep|>updated/validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors...
7eafd465529b5e51ab94f1f391dbc200d128169c
validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors.swift
validation-test/compiler_crashers/28309-swift-typechecker-addimplicitconstructors.swift
Swift
<|file_sep|>.travis.yml.diff original: updated: - clang <|file_sep|>.travis.yml.diff original: updated: - if [ "$CXX" = "clang" ]; then export CXX="clang" CC="clang"; fi <|file_sep|>original/.travis.yml language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -qq libboost-test-de...
language: cpp compiler: - gcc - clang before_install: - sudo apt-get update -qq - sudo apt-get install -qq libboost-test-dev install: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi - if [ "$CXX" = "clang" ]; then export CXX="clang" CC="clang"; fi addons: apt: sources: - ubuntu-toolchain-r...
<|file_sep|>.travis.yml.diff original: updated: - clang <|file_sep|>.travis.yml.diff original: updated: - if [ "$CXX" = "clang" ]; then export CXX="clang" CC="clang"; fi <|file_sep|>original/.travis.yml language: cpp compiler: - gcc before_install: - sudo apt-get update -qq - sudo apt-get install -qq libboost-test-de...
c073f81b497e21090cbe0e63f3995b18855ae0d5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt ply==3.11 enum34==1.1.6 twitter==1.18.0 requests==2.19.1 pytimeparse==1.1.8 pymysql==0.9.2 pycryptodome==3.6.5 pyasn1==0.4.4 isodate==0.6.0 google-api-python-client==1.7.4 pyxDamerauLevenshtein==1.5 numpy==1.15.0 Cython==0.28.5 git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=r...
ply==3.11 enum34==1.1.6 twitter==1.18.0 requests==2.19.1 pytimeparse==1.1.8 pymysql==0.9.2 pycryptodome==3.6.5 pyasn1==0.4.4 isodate==0.6.0 google-api-python-client==1.7.4 pyxDamerauLevenshtein==1.5 numpy==1.15.0 Cython==0.28.5 git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2 parsedatetime==2.4 cryptography==2....
<|file_sep|>original/requirements.txt ply==3.11 enum34==1.1.6 twitter==1.18.0 requests==2.19.1 pytimeparse==1.1.8 pymysql==0.9.2 pycryptodome==3.6.5 pyasn1==0.4.4 isodate==0.6.0 google-api-python-client==1.7.4 pyxDamerauLevenshtein==1.5 numpy==1.15.0 Cython==0.28.5 git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=r...
99444e937a5f0c9b23f45e61741d902f5a08ff7c
requirements.txt
requirements.txt
Text
<|file_sep|>src/main/resources/logback.xml.diff original: <configuration debug="true"> updated: <configuration debug="true" scan="true"> <|file_sep|>src/main/resources/logback.xml.diff original: <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> updated: <appender name="STDOUT" class="ch.qos.log...
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender> <appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender"> <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> <level>ERROR</level> </filter> <encoder> ...
<|file_sep|>src/main/resources/logback.xml.diff original: <configuration debug="true"> updated: <configuration debug="true" scan="true"> <|file_sep|>src/main/resources/logback.xml.diff original: <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> updated: <appender name="STDOUT" class="ch.qos.log...
065b7c0f69cb6868f4656927a35b8966cda5da31
src/main/resources/logback.xml
src/main/resources/logback.xml
XML
<|file_sep|>ckanext/romania_theme/plugin.py.diff original: updated: plugins.implements(plugins.IResourceController) <|file_sep|>ckanext/romania_theme/plugin.py.diff original: updated: # IConfigurer <|file_sep|>original/ckanext/romania_theme/plugin.py def get_number_of_files(): return model.Session.execut...
class Romania_ThemePlugin(plugins.SingletonPlugin): plugins.implements(plugins.IConfigurer) plugins.implements(plugins.ITemplateHelpers) plugins.implements(plugins.IResourceController) # IConfigurer def update_config(self, config): toolkit.add_template_directory(config, 'templates') ...
<|file_sep|>ckanext/romania_theme/plugin.py.diff original: updated: plugins.implements(plugins.IResourceController) <|file_sep|>ckanext/romania_theme/plugin.py.diff original: updated: # IConfigurer <|file_sep|>original/ckanext/romania_theme/plugin.py def get_number_of_files(): return model.Session.execut...
5706257685820787b70bfef6798491c34b9b9ad9
ckanext/romania_theme/plugin.py
ckanext/romania_theme/plugin.py
Python
<|file_sep|>original/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java <|file_sep|>current/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java <|file_sep|>updated/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
package org.opendatakit.consts; /** * Created by jbeorse on 7/17/17. */ public class RequestCodeConsts { /** * Request codes, used with startActivityForResult */ public static final class RequestCodes { /** * Used to view a collection or a join table in a SpreadsheetFragment in ...
<|file_sep|>original/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java <|file_sep|>current/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java <|file_sep|>updated/androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java package org.opendata...
6cfdc55d31a6c151c6d495b4dcfd96681e7a6c91
androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
androidlibrary_lib/src/main/java/org/opendatakit/consts/RequestCodeConsts.java
Java
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: env: global: - GH_REF: github.com/chad-autry/stdin-eval-stdout updated: <|file_sep|>original/.travis.yml sudo: required servic...
sudo: required services: - docker language: node_js node_js: - '0.10' script: - npm test - npm prune --production - docker build -t chadautry/stdin-eval-stdout:latest . after_script: - docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - docker push chadautry/stdin-eval-stdout:latest
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: env: global: - GH_REF: github.com/chad-autry/stdin-eval-stdout updated: <|file_sep|>original/.travis.yml sudo: required servic...
0fc659b963d8c05ffd75a59d00e84ab0e6d72df1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/base.txt Django==1.7.11 pinax-theme-bootstrap==5.7.1 django-user-accounts==1.0.1 metron==1.3.5 eventlog==0.8.0 django-jsonfield==0.9.13 django-timezones==0.2 pytz==2015.7 django-model-utils==2.2 django-taggit==0.12.2 django-reversion==1.8.5 django-markitup==2.2.2 markdown==2.5.2 django...
Django==1.8.8 pinax-theme-bootstrap==5.7.1 django-user-accounts==1.0.1 metron==1.3.5 eventlog==0.8.0 django-jsonfield==0.9.13 django-timezones==0.2 pytz==2015.7 django-model-utils==2.2 django-taggit==0.12.2 django-reversion==1.8.5 django-markitup==2.2.2 markdown==2.5.2 django-sitetree==1.2.1 Pillow==2.6.1 easy-thumbnai...
<|file_sep|>original/requirements/base.txt Django==1.7.11 pinax-theme-bootstrap==5.7.1 django-user-accounts==1.0.1 metron==1.3.5 eventlog==0.8.0 django-jsonfield==0.9.13 django-timezones==0.2 pytz==2015.7 django-model-utils==2.2 django-taggit==0.12.2 django-reversion==1.8.5 django-markitup==2.2.2 markdown==2.5.2 django...
71295a1c3e44e78d141b003ba18400a8c165e553
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/digm_alpha.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'digm_alpha/version' Gem::Specification.new do |gem| gem.name = "digm_alpha" gem.version = DigmAlpha::VERSION gem.authors ...
gem.authors = ["Anthony Cook"] gem.email = ["anthonymichaelcook@gmail.com"] gem.description = %q{(para)digm Alpha is the first language experiment of many leading to a hypothetical ideal.} gem.summary = %q{(para)digm Alpha: a language experiment} gem.homepage = "" gem.files ...
<|file_sep|>original/digm_alpha.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'digm_alpha/version' Gem::Specification.new do |gem| gem.name = "digm_alpha" gem.version = DigmAlpha::VERSION gem.authors ...
cf993211f1c90f5bbd0853748bdd37c972bf9c3e
digm_alpha.gemspec
digm_alpha.gemspec
Ruby
<|file_sep|>original/spec/command-spec.coffee <|file_sep|>current/spec/command-spec.coffee <|file_sep|>updated/spec/command-spec.coffee
Command = require '../lib/command' describe "Command", -> describe "::spawn", -> it "only calls the callback once if the spawned program fails", -> exited = false callbackCount = 0 command = new Command child = command.spawn "thisisafakecommand", [], -> callbackCount++ chil...
<|file_sep|>original/spec/command-spec.coffee <|file_sep|>current/spec/command-spec.coffee <|file_sep|>updated/spec/command-spec.coffee Command = require '../lib/command' describe "Command", -> describe "::spawn", -> it "only calls the callback once if the spawned program fails", -> exited = false ...
d4f7f80d18323af3670d3c8ba4708ea92b9d87bc
spec/command-spec.coffee
spec/command-spec.coffee
CoffeeScript
<|file_sep|>original/STATUS.txt Current: 2015-03-06: Changed the name of the project to OpenSDraw. 2015-03-05: Continuing with the disruptive changes.. The chain() and curve() functions now require their arguments to be explicit lists. 2015-03-04: Changed the arguments to many of the geometry and part function...
Current: 2015-03-07: Changed chain so that a chain function will return the same list (x y z rx ry rz) as curve so that they can be used interchangeably. 2015-03-06: Changed the name of the project to OpenSDraw. 2015-03-05: Continuing with the disruptive changes.. The chain() and curve() functions ...
<|file_sep|>original/STATUS.txt Current: 2015-03-06: Changed the name of the project to OpenSDraw. 2015-03-05: Continuing with the disruptive changes.. The chain() and curve() functions now require their arguments to be explicit lists. 2015-03-04: Changed the arguments to many of the geometry and part function...
a2dd9f2b6b36c474c9542254744f6ccb135f4fa4
STATUS.txt
STATUS.txt
Text
<|file_sep|>original/zinnia/urls/shortlink.py """Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), ...
"""Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^e(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), name='entry_shortlink'), )
<|file_sep|>original/zinnia/urls/shortlink.py """Urls for the Zinnia entries short link""" from django.conf.urls import url from django.conf.urls import patterns from zinnia.views.shortlink import EntryShortLink urlpatterns = patterns( '', url(r'^(?P<token>[\da-z]+)/$', EntryShortLink.as_view(), ...
e730c552c0b6095a8962f29a114069fb335d7ec6
zinnia/urls/shortlink.py
zinnia/urls/shortlink.py
Python
<|file_sep|>original/ext/fancy_math.c <|file_sep|>current/ext/fancy_math.c <|file_sep|>updated/ext/fancy_math.c
#include <ruby.h> #include "add.h" static VALUE call_add(VALUE rb_self, VALUE rb_a, VALUE rb_b) { // Convert ruby values to C integers int a = FIX2INT(rb_a); int b = FIX2INT(rb_b); // Call C function int result = add(a, b); // Convert C integer into ruby value and return it VALUE rb_result = INT2FIX(re...
<|file_sep|>original/ext/fancy_math.c <|file_sep|>current/ext/fancy_math.c <|file_sep|>updated/ext/fancy_math.c #include <ruby.h> #include "add.h" static VALUE call_add(VALUE rb_self, VALUE rb_a, VALUE rb_b) { // Convert ruby values to C integers int a = FIX2INT(rb_a); int b = FIX2INT(rb_b); // Call C funct...
f31ae20e998e8a456632cc3e96ba20c9e7ae1b12
ext/fancy_math.c
ext/fancy_math.c
C
<|file_sep|>original/umibukela/models.py <|file_sep|>current/umibukela/models.py <|file_sep|>updated/umibukela/models.py
from django.db import models class Partner(models.Model): short_name = models.CharField(max_length=200) full_name = models.CharField(max_length=200) physical_address = models.CharField(max_length=200) contact_person = models.CharField(max_length=200) telephone = models.CharField(max_length=200) ...
<|file_sep|>original/umibukela/models.py <|file_sep|>current/umibukela/models.py <|file_sep|>updated/umibukela/models.py from django.db import models class Partner(models.Model): short_name = models.CharField(max_length=200) full_name = models.CharField(max_length=200) physical_address = models.CharFiel...
bc7f9eba295cf1a3d9d8036ac1db993b6a37b58c
umibukela/models.py
umibukela/models.py
Python
<|file_sep|>original/core/app/templates/users/_user.mustache {{^is_current_user}} <div class="avatar-container"> <div class="user-avatar"> {{{ avatar }}} </div> <div class="wrapper"> <h3>{{ username }}</h3> <a class="btn btn-micro" href="/{{ username }}">View profile</a> </div> </div> {{/is_current_us...
{{^is_current_user}} <div class="avatar-container"> <div class="user-avatar"> {{{ avatar }}} </div> <div class="wrapper"> <h3>{{ username }}</h3> <a class="btn btn-micro" href="/{{ username }}" rel="backbone">View profile</a> </div> </div> {{/is_current_user}} {{#is_current_user}} <h2>{{ channel_list...
<|file_sep|>original/core/app/templates/users/_user.mustache {{^is_current_user}} <div class="avatar-container"> <div class="user-avatar"> {{{ avatar }}} </div> <div class="wrapper"> <h3>{{ username }}</h3> <a class="btn btn-micro" href="/{{ username }}">View profile</a> </div> </div> {{/is_current_us...
c246d66a13d192c5ffdc51d0401068967b68cf52
core/app/templates/users/_user.mustache
core/app/templates/users/_user.mustache
HTML+Django
<|file_sep|>original/blog/index.html <li><a href="http://tnewcomb0.github.io/">Main</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Resume</a></li> <li><a href="#">About Me</a></li> </ul> <ul> <li><a href="http://tnewcomb0.github.io/blog/git.html">Blog post week 1- Gi...
<li><a href="http://tnewcomb0.github.io/">Main</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Resume</a></li> <li><a href="#">About Me</a></li> </ul> <ul> <li><a href="http://tnewcomb0.github.io/blog/git.html">Blog post week 1- Git</a></li><ul> <li><a href="htt...
<|file_sep|>original/blog/index.html <li><a href="http://tnewcomb0.github.io/">Main</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Resume</a></li> <li><a href="#">About Me</a></li> </ul> <ul> <li><a href="http://tnewcomb0.github.io/blog/git.html">Blog post week 1- Gi...
ab2e6d9b59b6d5c0a60e46c588be1184e0bc6791
blog/index.html
blog/index.html
HTML
<|file_sep|>original/docs/usage-advanced.md <|file_sep|>current/docs/usage-advanced.md <|file_sep|>updated/docs/usage-advanced.md
Advanced Usage ============== Secure Requests with SSL ------------------------ By default, HTTPS requests will use the most secure options available: ```php $response = Requests::get('https://httpbin.org/'); ``` Requests bundles certificates from the [Mozilla certificate authority list][], which is the same list of...
<|file_sep|>original/docs/usage-advanced.md <|file_sep|>current/docs/usage-advanced.md <|file_sep|>updated/docs/usage-advanced.md Advanced Usage ============== Secure Requests with SSL ------------------------ By default, HTTPS requests will use the most secure options available: ```php $response = Requests::get('h...
51fe69ba1be0bcba16ceefbd920e096cbdb5e42f
docs/usage-advanced.md
docs/usage-advanced.md
Markdown
<|file_sep|>original/requirements/dev.txt # ulid/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.670 pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pylint==2.3.1; (python_version > '2.7' and python...
# ulid/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.670 pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pylint==2.3.1; (python_version > '2.7' and python_version < '3.0') or python_version >= '3....
<|file_sep|>original/requirements/dev.txt # ulid/requirements/dev.txt # # Requirements for using developing package. -r base.txt bumpversion==0.5.3 mypy==0.670 pylint==1.7.5; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pylint==2.3.1; (python_version > '2.7' and python...
d3e9a71c813182289902593e90c0e2f9abfb19cf
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>README.md.diff original: * Build p2 repository (needed for plugin build) - under $PERFCLIPSE_DIR/org.perfclipse.repo directory run: updated: 1. Build p2 repository (needed for plugin build) - under $PERFCLIPSE_DIR/org.perfclipse.repo directory run: <|file_sep|>README.md.diff original: * Build PerfClipse plu...
Perfclipse ========== Eclipse plugin which brings support for [PerfCake](https://www.perfcake.org/). Steps to build plugin update site --------------------------------- 1. Build p2 repository (needed for plugin build) - under $PERFCLIPSE_DIR/org.perfclipse.repo directory run: ```sh $ mvn (clean) p2:site ``` 2. (a) B...
<|file_sep|>README.md.diff original: * Build p2 repository (needed for plugin build) - under $PERFCLIPSE_DIR/org.perfclipse.repo directory run: updated: 1. Build p2 repository (needed for plugin build) - under $PERFCLIPSE_DIR/org.perfclipse.repo directory run: <|file_sep|>README.md.diff original: * Build PerfClipse plu...
67c8f74982d9c0e78f5b311ee42579b1fb812b5f
README.md
README.md
Markdown
<|file_sep|>original/libimagtodo/Cargo.toml documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html" repository = "https://github.com/matthiasbeyer/imag" homepage = "http://imag-pim.org" [dependencies] semver = "0.2" task-hookrs = "0.2.2" uuid = "0.3" toml = "0.4.*" toml-query = "0...
documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html" repository = "https://github.com/matthiasbeyer/imag" homepage = "http://imag-pim.org" [dependencies] semver = "0.2" task-hookrs = "0.2.2" uuid = "0.3" toml = "0.4.*" toml-query = "0.3.*" is-match = "0.1.*" log = "0.3" serde_j...
<|file_sep|>original/libimagtodo/Cargo.toml documentation = "https://matthiasbeyer.github.io/imag/imag_documentation/index.html" repository = "https://github.com/matthiasbeyer/imag" homepage = "http://imag-pim.org" [dependencies] semver = "0.2" task-hookrs = "0.2.2" uuid = "0.3" toml = "0.4.*" toml-query = "0...
398332fcb240846169b15ccaab6e4d3c33fac5f8
libimagtodo/Cargo.toml
libimagtodo/Cargo.toml
TOML
<|file_sep|>original/tools/extract_top_starred_nodejs_modules.rb <|file_sep|>current/tools/extract_top_starred_nodejs_modules.rb <|file_sep|>updated/tools/extract_top_starred_nodejs_modules.rb
require 'rubygems' require 'nokogiri' require 'open-uri' # USAGE: # ruby extract_top_starred_nodejs_modules.rb > output.txt # LIMIT = 50 package_links = [] page = Nokogiri::HTML(open("https://www.npmjs.com/browse/star")) while (package_links.size < LIMIT) package_links.concat page.css('.package-details a.name')...
<|file_sep|>original/tools/extract_top_starred_nodejs_modules.rb <|file_sep|>current/tools/extract_top_starred_nodejs_modules.rb <|file_sep|>updated/tools/extract_top_starred_nodejs_modules.rb require 'rubygems' require 'nokogiri' require 'open-uri' # USAGE: # ruby extract_top_starred_nodejs_modules.rb > output.txt...
e6bfb27fb9a3284bceca75463075c6ffaaa65b81
tools/extract_top_starred_nodejs_modules.rb
tools/extract_top_starred_nodejs_modules.rb
Ruby
<|file_sep|>original/classes/Domain/Model/Favorite.php <?php namespace OpenCFP\Domain\Model; class Favorite extends Eloquent { protected $table = 'favorites'; public $timestamps = false; public function talk() { $this->belongsTo(Talk::class, 'talk_id'); } } <|file_sep|>current/classes/Dom...
<?php namespace OpenCFP\Domain\Model; class Favorite extends Eloquent { protected $table = 'favorites'; public $timestamps = false; public function talk() { return $this->belongsTo(Talk::class, 'talk_id'); } }
<|file_sep|>original/classes/Domain/Model/Favorite.php <?php namespace OpenCFP\Domain\Model; class Favorite extends Eloquent { protected $table = 'favorites'; public $timestamps = false; public function talk() { $this->belongsTo(Talk::class, 'talk_id'); } } <|file_sep|>current/classes/Dom...
03677968cd89c7fa32c29e9f30f9187bcc34702c
classes/Domain/Model/Favorite.php
classes/Domain/Model/Favorite.php
PHP
<|file_sep|>original/lib/pah/templates/canonical_host.rb module Pah module Templates class CanonicalHost < Pah::Template def call rack_canonical = <<CANONICAL #Run heroku config:add CANONICAL_HOST=yourdomain.com #For more information, see: https://github.com/tylerhunt/rack-canonical-hos...
module Pah module Templates class CanonicalHost < Pah::Template def call rack_canonical = <<CANONICAL #Run heroku config:add CANONICAL_HOST=yourdomain.com #For more information, see: https://github.com/tylerhunt/rack-canonical-host#usage use Rack::CanonicalHost, ENV['CANONICAL_HOST'] if ENV['CANONI...
<|file_sep|>original/lib/pah/templates/canonical_host.rb module Pah module Templates class CanonicalHost < Pah::Template def call rack_canonical = <<CANONICAL #Run heroku config:add CANONICAL_HOST=yourdomain.com #For more information, see: https://github.com/tylerhunt/rack-canonical-hos...
d4c0e4389367ee66f2b1e86bde2a698306cc7246
lib/pah/templates/canonical_host.rb
lib/pah/templates/canonical_host.rb
Ruby
<|file_sep|>original/.github/workflows/testing.yml jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 12.x - run: npm ci - name: Run smoke tests run: | touch .credential echo ${{ secret...
jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 12.x - run: npm ci - name: Run smoke tests timeout-minutes: 2 run: | touch .credential echo ${{ secrets.DIRECT_TESTING_USER }} >>...
<|file_sep|>original/.github/workflows/testing.yml jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 12.x - run: npm ci - name: Run smoke tests run: | touch .credential echo ${{ secret...
b44e1959d403a3b09d8096bfe1919ec4de0103db
.github/workflows/testing.yml
.github/workflows/testing.yml
YAML
<|file_sep|>app/views/watchers/index.html.erb.diff original: <h3><%= watcher.name %></h3> updated: <h3><%= link_to watcher.name, watcher %></h3> <|file_sep|>app/views/watchers/index.html.erb.diff original: </li> <% end %> updated: </li> <% end %> <|file_sep|>original/app/views/watc...
<ul class="watchers-list"> <% @watchers.each do |watcher| %> <li class="watcher"> <h3><%= link_to watcher.name, watcher %></h3> <p><%= watcher.keywords %></p> <div class="actions"> <%= link_to 'Edit', edit_watcher_path(watcher), class: 'edit' %> <%= link_to 'Destroy...
<|file_sep|>app/views/watchers/index.html.erb.diff original: <h3><%= watcher.name %></h3> updated: <h3><%= link_to watcher.name, watcher %></h3> <|file_sep|>app/views/watchers/index.html.erb.diff original: </li> <% end %> updated: </li> <% end %> <|file_sep|>original/app/views/watc...
bdcafb8a07f2e90bb2ede1d1bc02db5f1b870c56
app/views/watchers/index.html.erb
app/views/watchers/index.html.erb
HTML+ERB
<|file_sep|>original/project.clj (defproject seathree "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org...
(defproject seathree "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org.clojure/tools.nrepl "0.2.3"] ...
<|file_sep|>original/project.clj (defproject seathree "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.5.1"] [org...
2994f1e48d745a02d6b4f3a6760bb38bc04be2e8
project.clj
project.clj
Clojure
<|file_sep|>original/public/index.php <?php require_once __DIR__ . '/../vendor/autoload.php'; $config = [ 'debug' => true ]; $app = new Silex\Application($config); $app->mount('/fixtures', new \Punkstar\RugbyFeedService\Controller\LeagueController()); $app->run(); <|file_sep|>current/public/index.php <?php req...
require_once __DIR__ . '/../vendor/autoload.php'; $config = [ 'debug' => true ]; $app = new Silex\Application($config); $app->mount('/fixtures', new \Punkstar\RugbyFeedService\Controller\LeagueController()); $app->get('/', function () { $links = []; $leagues = [ new \Punkstar\RugbyFeed\League\A...
<|file_sep|>original/public/index.php <?php require_once __DIR__ . '/../vendor/autoload.php'; $config = [ 'debug' => true ]; $app = new Silex\Application($config); $app->mount('/fixtures', new \Punkstar\RugbyFeedService\Controller\LeagueController()); $app->run(); <|file_sep|>current/public/index.php <?php req...
ea986a60cdb7d6dcbb8cb4cff8d0baeb4604cf15
public/index.php
public/index.php
PHP
<|file_sep|>original/travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java <|file_sep|>current/travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java <|file_sep|>updated/travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java
package fr.inria.spirals.librepair.travisfilter; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.HashSet; import java.util.Set; /** * Created by urli on 07/07/2017. */ public class Utils { private static Set<String> getFileContent(Stri...
<|file_sep|>original/travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java <|file_sep|>current/travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java <|file_sep|>updated/travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java package fr.inria.spiral...
578071297c6b2a38a95af932e084800581553bea
travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java
travisFilter/src/main/java/fr/inria/spirals/librepair/travisfilter/Utils.java
Java
<|file_sep|>example/template/atom.xml.diff original: updated: <link rel="self" type="application/atom+xml" href="{{ baseUrl }}/atom.xml"/> <|file_sep|>original/example/template/atom.xml <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>{{ baseUrl }}</id> <title>{{ name }}</tit...
<link rel="self" type="application/atom+xml" href="{{ baseUrl }}/atom.xml"/> <id>{{ baseUrl }}</id> <title>{{ name }}</title> <updated>{{ "now"|date('c') }}</updated> <author> {% if author.name is defined %} <name>{{ author.name }}</name> {% endif %} {% if author.email is defined %} <email>{{ author.e...
<|file_sep|>example/template/atom.xml.diff original: updated: <link rel="self" type="application/atom+xml" href="{{ baseUrl }}/atom.xml"/> <|file_sep|>original/example/template/atom.xml <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>{{ baseUrl }}</id> <title>{{ name }}</tit...
641578af16cadc6d051a77f4e73def31f0d8327f
example/template/atom.xml
example/template/atom.xml
XML
<|file_sep|>Cargo.toml.diff original: [dependencies.rustc-serialize] updated: [dependencies] <|file_sep|>original/Cargo.toml [package] name = "pistoncore-input" version = "0.0.3" authors = ["bvssvni <bvssvni@gmail.com>"] keywords = ["keyboard", "mouse", "input"] description = "A structure for user input" license = "MI...
[package] name = "pistoncore-input" version = "0.0.3" authors = ["bvssvni <bvssvni@gmail.com>"] keywords = ["keyboard", "mouse", "input"] description = "A structure for user input" license = "MIT" readme = "README.md" repository = "https://github.com/pistondevelopers/input.git" homepage = "https://github.com/pistondev...
<|file_sep|>Cargo.toml.diff original: [dependencies.rustc-serialize] updated: [dependencies] <|file_sep|>original/Cargo.toml [package] name = "pistoncore-input" version = "0.0.3" authors = ["bvssvni <bvssvni@gmail.com>"] keywords = ["keyboard", "mouse", "input"] description = "A structure for user input" license = "MI...
f8b501c9a31a2b9ae729e8ab634c5976a829ee4a
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java package co.phoenixlab.discord.api.entities; import com.google.gson.annotations.SerializedName; public class ReadyMessage { @SerializedName("v") private int version; private User user; private String sessionId; ...
package co.phoenixlab.discord.api.entities; import com.google.gson.annotations.SerializedName; public class ReadyMessage { @SerializedName("v") private int version; private User user; @SerializedName("session_id") private String sessionId; @SerializedName("read_state") private ReadState[...
<|file_sep|>original/src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java package co.phoenixlab.discord.api.entities; import com.google.gson.annotations.SerializedName; public class ReadyMessage { @SerializedName("v") private int version; private User user; private String sessionId; ...
a3f650473ee323fece222576e4bd8f6d4bdefc55
src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java
src/main/java/co/phoenixlab/discord/api/entities/ReadyMessage.java
Java
<|file_sep|>original/lib/suspect/file_tree/git/client.rb module Suspect module FileTree module Git class Client def modified_files `git ls-files --modified` end def commit_hash `git log -1 --format="%H"` end end end end end <|file_sep|>current...
module Suspect module FileTree module Git class Client def modified_files `git ls-files --modified --full-name` end def commit_hash `git log -1 --format="%H"` end end end end end
<|file_sep|>original/lib/suspect/file_tree/git/client.rb module Suspect module FileTree module Git class Client def modified_files `git ls-files --modified` end def commit_hash `git log -1 --format="%H"` end end end end end <|file_sep|>current...
d912503f0d20db4796893d2e611c9aff1eec7ad5
lib/suspect/file_tree/git/client.rb
lib/suspect/file_tree/git/client.rb
Ruby