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|>scss/_platform.scss.diff original: updated: .bar-subheader { top: 64px; } .has-subheader { top: 108px; } <|file_sep|>original/scss/_platform.scss /** * Platform * -------------------------------------------------- */ .platform-ios7 { .bar-header { height: 64px; > * { ...
.platform-ios7 { .bar-header { height: 64px; > * { margin-top: 20px; } } .has-header { top: 64px; } .bar-subheader { top: 64px; } .has-subheader { top: 108px; } }
<|file_sep|>scss/_platform.scss.diff original: updated: .bar-subheader { top: 64px; } .has-subheader { top: 108px; } <|file_sep|>original/scss/_platform.scss /** * Platform * -------------------------------------------------- */ .platform-ios7 { .bar-header { height: 64px; > * { ...
109a2d0ef28d0071164b0e36d025324e5217b585
scss/_platform.scss
scss/_platform.scss
SCSS
<|file_sep|>original/README.md # yatzee Continuation of &lt;https://gist.github.com/HipercubesHunter11/b1f97f8c6ef16dc9127d355ad24a4ca3> for 'bsd-new-games' :'v I'm using git! <|file_sep|>current/README.md # yatzee Continuation of &lt;https://gist.github.com/HipercubesHunter11/b1f97f8c6ef16dc9127d355ad24a4ca3> for 'bsd...
# yatzee Continuation of &lt;https://gist.github.com/HipercubesHunter11/b1f97f8c6ef16dc9127d355ad24a4ca3> for 'bsd-new-games' :'v
<|file_sep|>original/README.md # yatzee Continuation of &lt;https://gist.github.com/HipercubesHunter11/b1f97f8c6ef16dc9127d355ad24a4ca3> for 'bsd-new-games' :'v I'm using git! <|file_sep|>current/README.md # yatzee Continuation of &lt;https://gist.github.com/HipercubesHunter11/b1f97f8c6ef16dc9127d355ad24a4ca3> for 'bsd...
917840f140be3a16686b639fc57eb07c7dbf5358
README.md
README.md
Markdown
<|file_sep|>original/app/views/medications/_edit.html.haml %dl.accordion{data: {accordion: true} } %dd.accordion-navigation.med-form %a.fi-plus.fi-minus{href: "#edit-meds-#{pm.object.id}", class: "drug-#{drug_types_colour_tag(pm.object.medicatable.drug_types)}"} = "#{pm.object.medicatable.name}, #{pm.obj...
%dl.accordion{data: {accordion: true} } %dd.accordion-navigation.med-form %a.fi-plus.fi-minus{href: "#edit-meds-#{pm.object.id}", class: "drug-#{drug_types_colour_tag(pm.object.medicatable.drug_types)}"} = "#{pm.object.medicatable.name}, #{pm.object.dose}, #{pm.object.medication_route.name}, #{pm.object....
<|file_sep|>original/app/views/medications/_edit.html.haml %dl.accordion{data: {accordion: true} } %dd.accordion-navigation.med-form %a.fi-plus.fi-minus{href: "#edit-meds-#{pm.object.id}", class: "drug-#{drug_types_colour_tag(pm.object.medicatable.drug_types)}"} = "#{pm.object.medicatable.name}, #{pm.obj...
fe6da64f0f7ddd5011be6a79b5c181509d2fbc3d
app/views/medications/_edit.html.haml
app/views/medications/_edit.html.haml
Haml
<|file_sep|>original/.github/workflows/build-test.yml <|file_sep|>current/.github/workflows/build-test.yml <|file_sep|>updated/.github/workflows/build-test.yml
name: build-test on: push: pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/setup-go@v1 with: go-version: 1.13.x - uses: actions/checkout@v2 - name: Build run: go build . - name: Test run: go test -v .
<|file_sep|>original/.github/workflows/build-test.yml <|file_sep|>current/.github/workflows/build-test.yml <|file_sep|>updated/.github/workflows/build-test.yml name: build-test on: push: pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/setup-go@v1 with: go...
c7b0313ed934516ffa928a08892f9f99c2ce8967
.github/workflows/build-test.yml
.github/workflows/build-test.yml
YAML
<|file_sep|>original/src/user/UserList.js import React from 'react'; import { Link } from 'react-router'; import Icon from '../widgets/Icon'; import Avatar from '../widgets/Avatar'; import './UserList.scss'; export default class UserList extends React.Component { render() { return ( <div className="UserL...
import React from 'react'; import { Link } from 'react-router'; import Icon from '../widgets/Icon'; import Avatar from '../widgets/Avatar'; import './UserList.scss'; export default class UserList extends React.Component { render() { return ( <div className="UserList pvm"> <Avatar md username={thi...
<|file_sep|>original/src/user/UserList.js import React from 'react'; import { Link } from 'react-router'; import Icon from '../widgets/Icon'; import Avatar from '../widgets/Avatar'; import './UserList.scss'; export default class UserList extends React.Component { render() { return ( <div className="UserL...
f9bbfaba64e58e3ef1b4819aecb0647ad91e4ed0
src/user/UserList.js
src/user/UserList.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install...
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '5.1' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis...
3bf7f3929a375544ce4f6fb734e7e7b8149ab279
.travis.yml
.travis.yml
YAML
<|file_sep|>original/composer.json "email": "aik.bold@gmail.com" } ], "require": { "php": ">=5.3.2", "behat/mink": "~1.5@dev", "behat/mink-selenium2-driver": "~1.1@dev", "symfony/event-dispatcher": "~2.4", "pimple/pimple": "~2.0@dev", "phpunit/phpunit": "~3.7|~4.0" }, "require-dev": { "mockery/...
"email": "aik.bold@gmail.com" } ], "require": { "php": ">=5.3.2", "behat/mink": "~1.5@dev", "behat/mink-selenium2-driver": "~1.1@dev", "symfony/event-dispatcher": "~2.4", "pimple/pimple": "~2.0@dev", "phpunit/phpunit": ">=3.7.8" }, "require-dev": { "mockery/mockery": "0.9.0" }, "autoload": {...
<|file_sep|>original/composer.json "email": "aik.bold@gmail.com" } ], "require": { "php": ">=5.3.2", "behat/mink": "~1.5@dev", "behat/mink-selenium2-driver": "~1.1@dev", "symfony/event-dispatcher": "~2.4", "pimple/pimple": "~2.0@dev", "phpunit/phpunit": "~3.7|~4.0" }, "require-dev": { "mockery/...
194e5cbb1d10e00327c8a114a27d8386e194a63f
composer.json
composer.json
JSON
<|file_sep|>salt/roots/cron/init.sls.diff original: updated: cron-pkg: pkg.installed: - pkgs: - cron cron-service: service.running: - name: cron - enable: True - require: - pkg: cron-pkg <|file_sep|>salt/roots/cron/init.sls.diff original: updated: - pkg: cron-pkg - servic...
- month: {{ cronjobs['jobs'][index]['month']|default("'*'") }} - dayweek: {{ cronjobs['jobs'][index]['dayweek']|default("'*'") }} - require: - sls: users - pkg: cron-pkg - service: cron-service {% else %} cronjob-absent-{{index}}: cron.absent: - identifier: cronjob-{{cronjobs['jo...
<|file_sep|>salt/roots/cron/init.sls.diff original: updated: cron-pkg: pkg.installed: - pkgs: - cron cron-service: service.running: - name: cron - enable: True - require: - pkg: cron-pkg <|file_sep|>salt/roots/cron/init.sls.diff original: updated: - pkg: cron-pkg - servic...
c78f930178f01aa3f506dad4be25a979a7b9fcec
salt/roots/cron/init.sls
salt/roots/cron/init.sls
SaltStack
<|file_sep|>original/ADOPTERS.md <|file_sep|>current/ADOPTERS.md <|file_sep|>updated/ADOPTERS.md
This is an alphabetical list of known adopters of [StackStorm](https://stackstorm.com/) event-driven automation aka IFTTT for Ops platform. * Bitovi - [[ Blog ](https://www.bitovi.com/blog/stackstorm-solves-devops-automation-for-enterprise-client)], [[ Case study ](https://stackstorm.com/case-study-bitovi/)] * [DMM.c...
<|file_sep|>original/ADOPTERS.md <|file_sep|>current/ADOPTERS.md <|file_sep|>updated/ADOPTERS.md This is an alphabetical list of known adopters of [StackStorm](https://stackstorm.com/) event-driven automation aka IFTTT for Ops platform. * Bitovi - [[ Blog ](https://www.bitovi.com/blog/stackstorm-solves-devops-autom...
3732d5a77107808d05e99c04232c6560ce38f81b
ADOPTERS.md
ADOPTERS.md
Markdown
<|file_sep|>original/requirements_doc.txt nbsphinx==0.6.1 sphinx==2.2.1 sphinxcontrib-programoutput==0.15 sphinx_rtd_theme==0.4.3 ipython==7.9.0 <|file_sep|>current/requirements_doc.txt nbsphinx==0.6.1 sphinx==2.2.1 sphinxcontrib-programoutput==0.15 sphinx_rtd_theme==0.4.3 ipython==7.9.0 <|file_sep|>updated/requirement...
nbsphinx==0.6.1 sphinx==3.0.2 sphinxcontrib-programoutput==0.15 sphinx_rtd_theme==0.4.3 ipython==7.9.0
<|file_sep|>original/requirements_doc.txt nbsphinx==0.6.1 sphinx==2.2.1 sphinxcontrib-programoutput==0.15 sphinx_rtd_theme==0.4.3 ipython==7.9.0 <|file_sep|>current/requirements_doc.txt nbsphinx==0.6.1 sphinx==2.2.1 sphinxcontrib-programoutput==0.15 sphinx_rtd_theme==0.4.3 ipython==7.9.0 <|file_sep|>updated/requirement...
ac8ba4103bc18134a19103b37b38d5262aed8214
requirements_doc.txt
requirements_doc.txt
Text
<|file_sep|>templates/default/htpasswd.erb.diff original: updated: <% if @username.kind_of?(Array) -%> <% for i in [@username, @password].transpose -%> <%= i[0] -%>:<%= i[1].crypt("Zz") %> <% end -%> <% else -%> <|file_sep|>original/templates/default/htpasswd.erb <%= @username -%>:<%= @password.crypt("Zz") %> <|file_s...
<% if @username.kind_of?(Array) -%> <% for i in [@username, @password].transpose -%> <%= i[0] -%>:<%= i[1].crypt("Zz") %> <% end -%> <% else -%> <%= @username -%>:<%= @password.crypt("Zz") %> <% end -%>
<|file_sep|>templates/default/htpasswd.erb.diff original: updated: <% if @username.kind_of?(Array) -%> <% for i in [@username, @password].transpose -%> <%= i[0] -%>:<%= i[1].crypt("Zz") %> <% end -%> <% else -%> <|file_sep|>original/templates/default/htpasswd.erb <%= @username -%>:<%= @password.crypt("Zz") %> <|file_s...
0ee30b31645d50d484a2b0ba9536cd4637b45507
templates/default/htpasswd.erb
templates/default/htpasswd.erb
HTML+ERB
<|file_sep|>original/raw/newspring:core/lib/apollos.coffee console.log Apollos.user()._id ### Apollos.user = -> user = Meteor.user() return user or {} ### Apollos.user @example get the currently logged in user's person document console.log "Hello, #{Apollos.person().firstName}" ### Apollos.person...
console.log Apollos.user()._id ### Apollos.user = -> user = Meteor.user() return user or {} ### Apollos.person @example get the currently logged in user's person document console.log "Hello, #{Apollos.person().firstName}" ### Apollos.person = -> userDoc = Apollos.user()
<|file_sep|>original/raw/newspring:core/lib/apollos.coffee console.log Apollos.user()._id ### Apollos.user = -> user = Meteor.user() return user or {} ### Apollos.user @example get the currently logged in user's person document console.log "Hello, #{Apollos.person().firstName}" ### Apollos.person...
3dc62999bf1d2b41c0d7aa1bdf53254d199468ea
raw/newspring:core/lib/apollos.coffee
raw/newspring:core/lib/apollos.coffee
CoffeeScript
<|file_sep|>original/app/src/main/res/values-night/styles.xml <resources xmlns:tools="http://schemas.android.com/tools"> <style name="CatchUp" parent="Base"> <item name="android:windowLightStatusBar" tools:ignore="NewApi">false</item> </style> </resources> <|file_sep|>current/app/src/main/res/values-night/sty...
<resources xmlns:tools="http://schemas.android.com/tools"> <style name="CatchUp" parent="Base"> <item name="android:windowLightStatusBar" tools:ignore="NewApi">false</item> </style> <style name="CatchUp.GitHub" parent="CatchUp"> <item name="colorAccent">?android:textColorPrimary</item> </style> </res...
<|file_sep|>original/app/src/main/res/values-night/styles.xml <resources xmlns:tools="http://schemas.android.com/tools"> <style name="CatchUp" parent="Base"> <item name="android:windowLightStatusBar" tools:ignore="NewApi">false</item> </style> </resources> <|file_sep|>current/app/src/main/res/values-night/sty...
a404de7de0f023a8247af2501a30b0ca6d7670f0
app/src/main/res/values-night/styles.xml
app/src/main/res/values-night/styles.xml
XML
<|file_sep|>original/bundles/edu.tamu.tcat.account.apacheds/src/edu/tamu/tcat/account/apacheds/LdapException.java package edu.tamu.tcat.account.apacheds; public class LdapException extends Exception { public LdapException(String message) { super(message); } public LdapException(Throwable cause) {...
package edu.tamu.tcat.account.apacheds; public class LdapException extends RuntimeException { public LdapException(String message) { super(message); } public LdapException(Throwable cause) { super(cause); } public LdapException(String message, Throwable cause) { super(messag...
<|file_sep|>original/bundles/edu.tamu.tcat.account.apacheds/src/edu/tamu/tcat/account/apacheds/LdapException.java package edu.tamu.tcat.account.apacheds; public class LdapException extends Exception { public LdapException(String message) { super(message); } public LdapException(Throwable cause) {...
4b38cdb88a2b2dc8bdce0099c61a484089dd017f
bundles/edu.tamu.tcat.account.apacheds/src/edu/tamu/tcat/account/apacheds/LdapException.java
bundles/edu.tamu.tcat.account.apacheds/src/edu/tamu/tcat/account/apacheds/LdapException.java
Java
<|file_sep|>original/.travis.yml language: node_js node_js: - '12' - '14' - '15' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test <|file_sep|>current/.travis.yml language: node_js node_js: - '12' - '1...
language: node_js node_js: - '12' - '14' - '16' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test
<|file_sep|>original/.travis.yml language: node_js node_js: - '12' - '14' - '15' branches: only: - master - travis-ci install: - npm install --no-package-lock --no-save - npm install -g nyc prove script: - nyc npm test <|file_sep|>current/.travis.yml language: node_js node_js: - '12' - '1...
ca7cb8fc6aa53dfab4388b128a928b21648c4e2f
.travis.yml
.travis.yml
YAML
<|file_sep|>unit_tests/test_ccs.py.diff original: 'ZMWs input (A) : 93' updated: 'ZMWs input (A) : 93', 'Coefficient of correlation : 28.78%' <|file_sep|>original/unit_tests/test_ccs.py 'name':'ZMWs input', 'annotation':'A' }, { 'name':'ZMWs...
'annotation':'A' }, { 'name':'ZMWs input', 'count': 93 }, { 'name':'ZMWs input', 'annotation':'A', 'count': 93 }, { 'name': 'Coefficient of correlation', 'percentage': 28.78 ...
<|file_sep|>unit_tests/test_ccs.py.diff original: 'ZMWs input (A) : 93' updated: 'ZMWs input (A) : 93', 'Coefficient of correlation : 28.78%' <|file_sep|>original/unit_tests/test_ccs.py 'name':'ZMWs input', 'annotation':'A' }, { 'name':'ZMWs...
b9d5c21a1c18fafd205e6fdc931b82cad6875bc8
unit_tests/test_ccs.py
unit_tests/test_ccs.py
Python
<|file_sep|>simple_print_server/static/style.css.diff original: border: 1px solid black; updated: <|file_sep|>original/simple_print_server/static/style.css font-size: 2em; } form.fileupload { border: 1px solid black; } .flash-error { padding: 1em; font-size: 1.5em; background-color: #ff7287; ...
color: red; font-size: 2em; } form.fileupload { border: 1px solid black; } .flash-error { padding: 1em; font-size: 1.5em; background-color: #ff7287; border-radius: .5em; } .flash-success { padding: 1em; font-size: 1.5em; background-color: #72ff93; border-radius: .5em; }
<|file_sep|>simple_print_server/static/style.css.diff original: border: 1px solid black; updated: <|file_sep|>original/simple_print_server/static/style.css font-size: 2em; } form.fileupload { border: 1px solid black; } .flash-error { padding: 1em; font-size: 1.5em; background-color: #ff7287; ...
3e9fb484923b953fdcb4e808c1760fa8cee5a829
simple_print_server/static/style.css
simple_print_server/static/style.css
CSS
<|file_sep|>original/src/Message/AbstractProfileRequest.php $this->getEndpoint(), [ 'Content-Type' => 'application/json', 'Authorization' => 'Passcode ' . $header, ], json_encode($data) ); } else ...
$this->getEndpoint(), [ 'Content-Type' => 'application/json', 'Authorization' => 'Passcode ' . $header, ], json_encode($data) ); } else { $httpResponse = $this->httpClient->request( ...
<|file_sep|>original/src/Message/AbstractProfileRequest.php $this->getEndpoint(), [ 'Content-Type' => 'application/json', 'Authorization' => 'Passcode ' . $header, ], json_encode($data) ); } else ...
f3a6278a8ba851f3453cea8bde41555ba549f489
src/Message/AbstractProfileRequest.php
src/Message/AbstractProfileRequest.php
PHP
<|file_sep|>test/panopticon_test.rb.diff original: params = {:name => 'james', :owning_app => 'guides'} updated: params = {:name => 'james', :owning_app => 'guides', :kind => 'guide'} <|file_sep|>test/panopticon_test.rb.diff original: params = {:name => 'james', :owning_app => 'guides'} updated: params ...
post '/slugs', :slug => params assert_equal 201, last_response.status end def test_it_returns_an_http_406_for_duplicate_slug params = {:name => 'james', :owning_app => 'guides', :kind => 'blah'} post '/slugs', :slug => params post '/slugs', :slug => params assert_equal 406, last_response....
<|file_sep|>test/panopticon_test.rb.diff original: params = {:name => 'james', :owning_app => 'guides'} updated: params = {:name => 'james', :owning_app => 'guides', :kind => 'guide'} <|file_sep|>test/panopticon_test.rb.diff original: params = {:name => 'james', :owning_app => 'guides'} updated: params ...
7d972fd81314b173d0a29f7b136bc960868b67a8
test/panopticon_test.rb
test/panopticon_test.rb
Ruby
<|file_sep|>original/README.md ![](https://img.shields.io/travis/kcjpop/codewars-kata/master.svg?style=flat-square) My wordspace for playing Clojure katas on CodeWars. ## License Copyright © 2015 MIT <|file_sep|>current/README.md ![](https://img.shields.io/travis/kcjpop/codewars-kata/master.svg?style=flat-square) My ...
![](https://img.shields.io/travis/kcjpop/codewars-kata/master.svg?style=flat-square) [![Coverage Status](https://coveralls.io/repos/kcjpop/codewars-kata/badge.svg?branch=master&service=github)](https://coveralls.io/github/kcjpop/codewars-kata?branch=master) My wordspace for playing Clojure katas on CodeWars. ## Licen...
<|file_sep|>original/README.md ![](https://img.shields.io/travis/kcjpop/codewars-kata/master.svg?style=flat-square) My wordspace for playing Clojure katas on CodeWars. ## License Copyright © 2015 MIT <|file_sep|>current/README.md ![](https://img.shields.io/travis/kcjpop/codewars-kata/master.svg?style=flat-square) My ...
bebef8cd5b7d97d928f61ca8f74a38e812ea2115
README.md
README.md
Markdown
<|file_sep|>original/packages/components/containers/login/LoginTotpInput.tsx } const LoginTotpInput = ({ totp, setTotp, id }: Props) => { return ( <Input type="text" name="twoFa" autoFocus autoCapitalize="off" autoCorrect="off" id={id} ...
} const LoginTotpInput = ({ totp, setTotp, id }: Props) => { return ( <Input type="text" name="twoFa" autoFocus autoCapitalize="off" autoCorrect="off" id={id} required value={totp} className="w100" ...
<|file_sep|>original/packages/components/containers/login/LoginTotpInput.tsx } const LoginTotpInput = ({ totp, setTotp, id }: Props) => { return ( <Input type="text" name="twoFa" autoFocus autoCapitalize="off" autoCorrect="off" id={id} ...
652c31e1c65a4cd6924adcf86ecebfcadc70a79b
packages/components/containers/login/LoginTotpInput.tsx
packages/components/containers/login/LoginTotpInput.tsx
TypeScript
<|file_sep|>original/test/idle-timer_test.js notEqual(actual, expected, [message]) deepEqual(actual, expected, [message]) notDeepEqual(actual, expected, [message]) strictEqual(actual, expected, [message]) notStrictEqual(actual, expected, [message]) raises(block, [expected], [message]) */ module("jQu...
deepEqual(actual, expected, [message]) notDeepEqual(actual, expected, [message]) strictEqual(actual, expected, [message]) notStrictEqual(actual, expected, [message]) raises(block, [expected], [message]) */ module("jQuery#idle-timer"); asyncTest( "default behavior", function() { expect( 1 ); $( d...
<|file_sep|>original/test/idle-timer_test.js notEqual(actual, expected, [message]) deepEqual(actual, expected, [message]) notDeepEqual(actual, expected, [message]) strictEqual(actual, expected, [message]) notStrictEqual(actual, expected, [message]) raises(block, [expected], [message]) */ module("jQu...
86e08d1d638656ff5c655bb9af4d658330907edf
test/idle-timer_test.js
test/idle-timer_test.js
JavaScript
<|file_sep|>original/0.17.0-release-notes.md This is the draft release notes for 0.17.0, scheduled to be released on 2022-01-01. <|file_sep|>current/0.17.0-release-notes.md This is the draft release notes for 0.17.0, scheduled to be released on 2022-01-01. <|file_sep|>updated/0.17.0-release-notes.md
This is the draft release notes for 0.17.0, scheduled to be released on 2022-01-01. # Notable new features New features in the interactive editor: - Editor modes now form a stack, instead of being mutually exclusive. For example, it is now possible to start a minibuf mode within a completion mode, and vice...
<|file_sep|>original/0.17.0-release-notes.md This is the draft release notes for 0.17.0, scheduled to be released on 2022-01-01. <|file_sep|>current/0.17.0-release-notes.md This is the draft release notes for 0.17.0, scheduled to be released on 2022-01-01. <|file_sep|>updated/0.17.0-release-notes.md This is the draft r...
9c09f5c8143d57deafe898cc4004215ca86f9b2a
0.17.0-release-notes.md
0.17.0-release-notes.md
Markdown
<|file_sep|>cmd/rkvd/ltfhook.go.diff original: updated: "time" <|file_sep|>original/cmd/rkvd/ltfhook.go package main import ( "os" "github.com/Sirupsen/logrus" ) var defaultFormater = &logrus.TextFormatter{DisableColors: true} // LogToFileHook saves log entries to a file after applying the Formatter. type LogTo...
package main import ( "os" "time" "github.com/Sirupsen/logrus" ) var defaultFormater = &logrus.TextFormatter{ DisableColors: true, TimestampFormat: time.RFC3339Nano, } // LogToFileHook saves log entries to a file after applying the Formatter. type LogToFileHook struct { Formatter logrus.Formatter LogFile ...
<|file_sep|>cmd/rkvd/ltfhook.go.diff original: updated: "time" <|file_sep|>original/cmd/rkvd/ltfhook.go package main import ( "os" "github.com/Sirupsen/logrus" ) var defaultFormater = &logrus.TextFormatter{DisableColors: true} // LogToFileHook saves log entries to a file after applying the Formatter. type LogTo...
ea246948308d86f7578445f8902db301a4c2b6ad
cmd/rkvd/ltfhook.go
cmd/rkvd/ltfhook.go
Go
<|file_sep|>original/download_third_party.sh mkdir third_party_sources ||: cd third_party_sources git clone --branch v1.2.8 https://github.com/madler/zlib.git git clone --branch 1.8.0 https://github.com/open-source-parsers/jsoncpp.git git clone --branch release-2.1.8-stable https://github.com/libevent/libevent.git wge...
mkdir third_party_sources ||: cd third_party_sources git clone --branch v1.2.8 https://github.com/madler/zlib.git git clone --branch 1.8.0 https://github.com/open-source-parsers/jsoncpp.git git clone --branch release-2.1.8-stable https://github.com/libevent/libevent.git wget https://sourceforge.net/projects/boost/file...
<|file_sep|>original/download_third_party.sh mkdir third_party_sources ||: cd third_party_sources git clone --branch v1.2.8 https://github.com/madler/zlib.git git clone --branch 1.8.0 https://github.com/open-source-parsers/jsoncpp.git git clone --branch release-2.1.8-stable https://github.com/libevent/libevent.git wge...
7c320497d14309a18d999816e39a4f74e5dd97dd
download_third_party.sh
download_third_party.sh
Shell
<|file_sep|>.idea/saveactions_settings.xml.diff original: updated: <option value="missingOverrideAnnotation" /> <option value="useBlocks" /> <option value="unnecessaryThis" /> <option value="finalPrivateMethod" /> <option value="unnecessaryFinalOnLocalVariableOrParameter" /> ...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="SaveActionSettings"> <option name="actions"> <set> <option value="activate" /> <option value="organizeImports" /> <option value="reformat" /> <option value="missingOverrideAnnotation" /> <op...
<|file_sep|>.idea/saveactions_settings.xml.diff original: updated: <option value="missingOverrideAnnotation" /> <option value="useBlocks" /> <option value="unnecessaryThis" /> <option value="finalPrivateMethod" /> <option value="unnecessaryFinalOnLocalVariableOrParameter" /> ...
ffe857115b9e6f90a85a9b966c47f1d3f73a2010
.idea/saveactions_settings.xml
.idea/saveactions_settings.xml
XML
<|file_sep|>original/pgcli/packages/expanded.py padded_headers = [pad(x, header_len) + u" |" for x in headers] header_len += 2 for row in rows: row_len = max([len(_text_type(x)) for x in row]) row_result = [] if row_len > max_row_len: max_row_len = row_len for h...
padded_headers = [pad(x, header_len) + u" |" for x in headers] header_len += 2 for row in rows: row_len = max([len(_text_type(x)) for x in row]) row_result = [] if row_len > max_row_len: max_row_len = row_len for header, value in zip(padded_headers, row): ...
<|file_sep|>original/pgcli/packages/expanded.py padded_headers = [pad(x, header_len) + u" |" for x in headers] header_len += 2 for row in rows: row_len = max([len(_text_type(x)) for x in row]) row_result = [] if row_len > max_row_len: max_row_len = row_len for h...
8b7fa42c7cd080f7faebbfaf782fa639104cb96a
pgcli/packages/expanded.py
pgcli/packages/expanded.py
Python
<|file_sep|>original/src/main/java/com/spotify/sshagentproxy/AgentProxy.java import java.io.Closeable; import java.io.IOException; import java.util.List; public interface AgentProxy extends Closeable { /** * Get a list of public keys from the ssh-agent. * @return A list of {@link Identity} */ List<Ident...
public interface AgentProxy extends Closeable { /** * Get a list of public keys from the ssh-agent. * @return A list of {@link Identity} */ List<Identity> list() throws IOException; /** * Ask the ssh-agent to hash and sign some data in the form of an array of bytes. * * According to the ssh-a...
<|file_sep|>original/src/main/java/com/spotify/sshagentproxy/AgentProxy.java import java.io.Closeable; import java.io.IOException; import java.util.List; public interface AgentProxy extends Closeable { /** * Get a list of public keys from the ssh-agent. * @return A list of {@link Identity} */ List<Ident...
db2f61cc6526460aa8cf0f2cc63afa8f225bd505
src/main/java/com/spotify/sshagentproxy/AgentProxy.java
src/main/java/com/spotify/sshagentproxy/AgentProxy.java
Java
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/js-cookie/js-cookie.git" }, "author": "Klaus Hartl", "license": "MIT", "devDependencies": { "grunt": "0.4.5", "grunt-compare-size": "0.4.0", "grunt-contrib-connect": "0.11.2", "grunt-contrib-jshint": "1.0.0", "...
"type": "git", "url": "git://github.com/js-cookie/js-cookie.git" }, "author": "Klaus Hartl", "license": "MIT", "devDependencies": { "grunt": "0.4.5", "grunt-compare-size": "0.4.0", "grunt-contrib-connect": "0.11.2", "grunt-contrib-jshint": "1.0.0", "grunt-contrib-nodeunit": "0.4.1", ...
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/js-cookie/js-cookie.git" }, "author": "Klaus Hartl", "license": "MIT", "devDependencies": { "grunt": "0.4.5", "grunt-compare-size": "0.4.0", "grunt-contrib-connect": "0.11.2", "grunt-contrib-jshint": "1.0.0", "...
a49f53a53a38f102c8f7be1dffb600ae0b4b7783
package.json
package.json
JSON
<|file_sep|>original/package.json { "name": "narjillosjs", "version": "1.0.0", "description": "", "main": "js/index.js", "scripts": { "start": "$(npm bin)/grunt" }, "author": "", "license": "ISC", "dependencies": { "babel-core": "^6.7.4", "babel-loader": "^6.2.4", "babel-preset-es2015"...
{ "name": "narjillosjs", "version": "0.1.0", "description": "", "main": "js/index.js", "scripts": { "start": "$(npm bin)/grunt" }, "author": "", "license": "ISC", "dependencies": { "babel-core": "^6.7.4", "babel-loader": "^6.2.4", "babel-preset-es2015": "^6.6.0", "babel-runtime": "...
<|file_sep|>original/package.json { "name": "narjillosjs", "version": "1.0.0", "description": "", "main": "js/index.js", "scripts": { "start": "$(npm bin)/grunt" }, "author": "", "license": "ISC", "dependencies": { "babel-core": "^6.7.4", "babel-loader": "^6.2.4", "babel-preset-es2015"...
7771084841ea17a86a951f03cabce60dc7163a4c
package.json
package.json
JSON
<|file_sep|>original/src/Bloc/BlWeakRef.class.st #superclass : #WeakArray, #type : #weak, #traits : 'TBlDebug', #classTraits : 'TBlDebug classTrait', #category : #'Bloc-Basic-Support' } { #category : #'as yet unclassified' } BlWeakRef class >> new [ ^ self new: 1 ] { #category : #'as yet unclassified' } BlWeakR...
Class { #name : #BlWeakRef, #superclass : #WeakArray, #type : #weak, #traits : 'TBlDebug', #classTraits : 'TBlDebug classTrait', #category : #'Bloc-Basic-Support' }
<|file_sep|>original/src/Bloc/BlWeakRef.class.st #superclass : #WeakArray, #type : #weak, #traits : 'TBlDebug', #classTraits : 'TBlDebug classTrait', #category : #'Bloc-Basic-Support' } { #category : #'as yet unclassified' } BlWeakRef class >> new [ ^ self new: 1 ] { #category : #'as yet unclassified' } BlWeakR...
ab4d2fe997fd14d56cf5d9f89bfd5989496c3e74
src/Bloc/BlWeakRef.class.st
src/Bloc/BlWeakRef.class.st
Smalltalk
<|file_sep|>original/.github/workflows/linux_mkspecs.yml name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: use...
name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: uses: steinwurf/linux-mkspecs-action/.github/workflows/actio...
<|file_sep|>original/.github/workflows/linux_mkspecs.yml name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: use...
3b56ec3c18bb56b61d23c747871920116c2abcc2
.github/workflows/linux_mkspecs.yml
.github/workflows/linux_mkspecs.yml
YAML
<|file_sep|>packages/cm/cmark-highlight.yaml.diff original: hash: 0144f6396c80a4ba66c9cc463a38de1bfb0c51361988e847f7b9a5a25860c98d updated: hash: 6704c69b0bb147145d6c5a6725243e9b9d99e77dcef86c3566ccbc32c03010cf <|file_sep|>packages/cm/cmark-highlight.yaml.diff original: changelog: ! '# 0.1.0.0 updated: changelog: ! '# ...
# 0.1.0.0 First release. ' basic-deps: base: ! '>=4.7 && <4.10' text: -any cmark: ==0.5.* highlighting-kate: ==0.6.* blaze-html: -any all-versions: - '0.1.0.0' - '0.2.0.0' author: Artyom latest: '0.2.0.0' description-type: haddock description: Code highlighting for cmark license-name: BSD3
<|file_sep|>packages/cm/cmark-highlight.yaml.diff original: hash: 0144f6396c80a4ba66c9cc463a38de1bfb0c51361988e847f7b9a5a25860c98d updated: hash: 6704c69b0bb147145d6c5a6725243e9b9d99e77dcef86c3566ccbc32c03010cf <|file_sep|>packages/cm/cmark-highlight.yaml.diff original: changelog: ! '# 0.1.0.0 updated: changelog: ! '# ...
47c05be8de52ec3f7d7163d72ad99e055adfa300
packages/cm/cmark-highlight.yaml
packages/cm/cmark-highlight.yaml
YAML
<|file_sep|>.travis.yml.diff original: - 2.2.5 - 2.3.1 updated: - 2.3 - 2.4 - 2.5 <|file_sep|>.travis.yml.diff original: - rbx updated: <|file_sep|>.travis.yml.diff original: updated: - rbx-3 <|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.2.5 - 2.3.1 - ruby-head - rbx ...
language: ruby cache: bundler rvm: - 2.3 - 2.4 - 2.5 - ruby-head - jruby - rbx-3 script: bundle exec rspec before_install: - gem install bundler
<|file_sep|>.travis.yml.diff original: - 2.2.5 - 2.3.1 updated: - 2.3 - 2.4 - 2.5 <|file_sep|>.travis.yml.diff original: - rbx updated: <|file_sep|>.travis.yml.diff original: updated: - rbx-3 <|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.2.5 - 2.3.1 - ruby-head - rbx ...
ccc49010d0923fe5c2534b3cf1eee407cc605e53
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/import-markers-ricci.yml <|file_sep|>current/.github/workflows/import-markers-ricci.yml <|file_sep|>updated/.github/workflows/import-markers-ricci.yml
name: 'Import markers from Ricci' on: workflow_dispatch jobs: import-markers: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: ref: ${{ github.head_ref }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - name: Set up Node.js ...
<|file_sep|>original/.github/workflows/import-markers-ricci.yml <|file_sep|>current/.github/workflows/import-markers-ricci.yml <|file_sep|>updated/.github/workflows/import-markers-ricci.yml name: 'Import markers from Ricci' on: workflow_dispatch jobs: import-markers: runs-on: ubuntu-latest steps: ...
19e7617aa380506e88c7d7b80408b74214853613
.github/workflows/import-markers-ricci.yml
.github/workflows/import-markers-ricci.yml
YAML
<|file_sep|>original/.github/workflows/go.yml <|file_sep|>current/.github/workflows/go.yml <|file_sep|>updated/.github/workflows/go.yml
name: Go on: [push] jobs: build: name: Build runs-on: macOS-latest steps: - name: Set up Go 1.12 uses: actions/setup-go@v1 with: go-version: 1.12 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 - name: Get dependencies ...
<|file_sep|>original/.github/workflows/go.yml <|file_sep|>current/.github/workflows/go.yml <|file_sep|>updated/.github/workflows/go.yml name: Go on: [push] jobs: build: name: Build runs-on: macOS-latest steps: - name: Set up Go 1.12 uses: actions/setup-go@v1 with: go-version: 1...
30e30a8829a215262b6d5d1dc1fb3b9c80311a20
.github/workflows/go.yml
.github/workflows/go.yml
YAML
<|file_sep|>original/README.markdown $ gem install rubygems-yardoc Usage ----- $ gem yardoc GEMNAME [GEMNAME ...] Makes `yardoc` directory into specified gem's doc directory and YARD Documentation for the gem will be generated into the directory. And this gem add `--yardoc` option to `gem install` command w...
$ gem install rubygems-yardoc Usage ----- $ gem yardoc GEMNAME [GEMNAME ...] Makes `yardoc` directory into specified gem's doc directory and YARD Documentation for the gem will be generated into the directory. And this gem add `--document=[ri,rdoc,]yardoc` option to `gem install` command which install YARD ...
<|file_sep|>original/README.markdown $ gem install rubygems-yardoc Usage ----- $ gem yardoc GEMNAME [GEMNAME ...] Makes `yardoc` directory into specified gem's doc directory and YARD Documentation for the gem will be generated into the directory. And this gem add `--yardoc` option to `gem install` command w...
9738473611175c855aac41170938abbb6976a30c
README.markdown
README.markdown
Markdown
<|file_sep|>original/elm_dependencies.json { "version": "0.1" , "summary": "Unit Testing Support with Element/String outputs." , "description": "Unit Testing Framework in the style of HUnit.\n\nRun Elm Tests, with harnesses for printing reports in the browser or the command-line." , "license": "MIT" , "repository": "ht...
{ "version": "0.2" , "summary": "Unit Testing Support with Element/String outputs." , "description": "Unit Testing Framework in the style of HUnit.\n\nRun Elm Tests, with harnesses for printing reports in the browser or the command-line." , "license": "MIT" , "repository": "https://github.com/deadfoxygrandpa/Elm-Test.g...
<|file_sep|>original/elm_dependencies.json { "version": "0.1" , "summary": "Unit Testing Support with Element/String outputs." , "description": "Unit Testing Framework in the style of HUnit.\n\nRun Elm Tests, with harnesses for printing reports in the browser or the command-line." , "license": "MIT" , "repository": "ht...
64428c2e0057439ec1f989c10718313edb10a468
elm_dependencies.json
elm_dependencies.json
JSON
<|file_sep|>src/main/java/com/alexrnl/commons/error/ExceptionUtils.java.diff original: import java.util.Objects; updated: <|file_sep|>src/main/java/com/alexrnl/commons/error/ExceptionUtils.java.diff original: * TODO updated: * Utility methods for exception handling.<br /> <|file_sep|>src/main/java/com/alexrnl/common...
* Default private constructor. */ private ExceptionUtils () { super(); } /** * Print a nice message with the {@link Class} and the {@link Throwable#getMessage() message} * of the exception.<br /> * @param e * the throwable object to display. * @return a {@link String} containing the class an...
<|file_sep|>src/main/java/com/alexrnl/commons/error/ExceptionUtils.java.diff original: import java.util.Objects; updated: <|file_sep|>src/main/java/com/alexrnl/commons/error/ExceptionUtils.java.diff original: * TODO updated: * Utility methods for exception handling.<br /> <|file_sep|>src/main/java/com/alexrnl/common...
eeb40831ffd86d4fb17d333e7d0bc67d6a92f8ee
src/main/java/com/alexrnl/commons/error/ExceptionUtils.java
src/main/java/com/alexrnl/commons/error/ExceptionUtils.java
Java
<|file_sep|>original/version.sh #!/bin/sh [ -z "${VERSION}" ] && VERSION=`git describe --tags --always 2>/dev/null | \ fgrep .` \ && VERSION=${VERSION#v} [ -z "${VERSION}" ] && VERSION=`cat VERSION 2>/dev/null` [ -z "${VERSION}" ] && VERSION=0.0.0 [ "$1" = "major"...
#!/bin/sh [ -z "${VERSION}" ] && VERSION=`git describe --tags --match='v[0-9].*' 2>/dev/null` \ && VERSION=${VERSION#v} [ -z "${VERSION}" ] && VERSION=`cat VERSION 2>/dev/null` [ -z "${VERSION}" ] && VERSION=0.0.0 [ "$1" = "major" ] && printf ${VERSION%%.*} \ && exit 0 prin...
<|file_sep|>original/version.sh #!/bin/sh [ -z "${VERSION}" ] && VERSION=`git describe --tags --always 2>/dev/null | \ fgrep .` \ && VERSION=${VERSION#v} [ -z "${VERSION}" ] && VERSION=`cat VERSION 2>/dev/null` [ -z "${VERSION}" ] && VERSION=0.0.0 [ "$1" = "major"...
e2b3dc1b466da3c1b2756ed13a5f7fd0ddb1a26e
version.sh
version.sh
Shell
<|file_sep|>src/lib/apis/fetch.js.diff original: import { assign, get, defaults, compact } from "lodash" updated: import { assign, clone, get, defaults, compact } from "lodash" <|file_sep|>original/src/lib/apis/fetch.js // @ts-check import { assign, get, defaults, compact } from "lodash" import request from "request" ...
// @ts-check import { assign, clone, get, defaults, compact } from "lodash" import request from "request" import config from "config" import HTTPError from "lib/http_error" export default (url, options = {}) => { return new Promise((resolve, reject) => { const opts = clone( defaults(options, { met...
<|file_sep|>src/lib/apis/fetch.js.diff original: import { assign, get, defaults, compact } from "lodash" updated: import { assign, clone, get, defaults, compact } from "lodash" <|file_sep|>original/src/lib/apis/fetch.js // @ts-check import { assign, get, defaults, compact } from "lodash" import request from "request" ...
a9419a6f91baffd639da85644cac8a3c1ebeda30
src/lib/apis/fetch.js
src/lib/apis/fetch.js
JavaScript
<|file_sep|>app/views/users/show.html.erb.diff original: updated: <% if current_user %> <%= button_to "Submit a New Company", new_submission_path, method: "get",:class => "btn btn-primary" %> <% end %> <|file_sep|>app/views/users/show.html.erb.diff original: <% if current_user %> <%= button_to "Submit a...
</div> <table> <thead> <tr> <th>Company</th> <th>Review</th> </tr> </thead> <tbody> <tr> <% @reviews.each do |review| %> <td>Eclair</td> <td><%= link_to "#{review.body}", review_show_path(review) %></td> <% end %> </tr> </tbody> </table>
<|file_sep|>app/views/users/show.html.erb.diff original: updated: <% if current_user %> <%= button_to "Submit a New Company", new_submission_path, method: "get",:class => "btn btn-primary" %> <% end %> <|file_sep|>app/views/users/show.html.erb.diff original: <% if current_user %> <%= button_to "Submit a...
b743a8aade4f81c9182cecbbe817d5d36ea87e1d
app/views/users/show.html.erb
app/views/users/show.html.erb
HTML+ERB
<|file_sep|>original/tests/Cargo.toml [profile.release] debug = true [dependencies.pagecache] features = ["failpoints", "lock_free_delays"] path = "../crates/pagecache" [dependencies.sled] features = ["failpoints", "lock_free_delays", "check_snapshot_integrity"] path = "../crates/sled" [dependencies] quickcheck = "...
[profile.release] debug = true [dependencies.pagecache] features = ["failpoints", "lock_free_delays"] path = "../crates/pagecache" [dependencies.sled] features = ["failpoints", "lock_free_delays", "check_snapshot_integrity"] path = "../crates/sled" [dependencies] quickcheck = "0.8" rand = "0.6" log = "0.4" env_logg...
<|file_sep|>original/tests/Cargo.toml [profile.release] debug = true [dependencies.pagecache] features = ["failpoints", "lock_free_delays"] path = "../crates/pagecache" [dependencies.sled] features = ["failpoints", "lock_free_delays", "check_snapshot_integrity"] path = "../crates/sled" [dependencies] quickcheck = "...
5ed80ca0f5c62528204adeec251ac22dd7b95eb0
tests/Cargo.toml
tests/Cargo.toml
TOML
<|file_sep|>original/language/tests/regent/run_pass/optimize_index_launch_empty.rg <|file_sep|>current/language/tests/regent/run_pass/optimize_index_launch_empty.rg <|file_sep|>updated/language/tests/regent/run_pass/optimize_index_launch_empty.rg
-- Copyright 2021 Stanford University -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agree...
<|file_sep|>original/language/tests/regent/run_pass/optimize_index_launch_empty.rg <|file_sep|>current/language/tests/regent/run_pass/optimize_index_launch_empty.rg <|file_sep|>updated/language/tests/regent/run_pass/optimize_index_launch_empty.rg -- Copyright 2021 Stanford University -- -- Licensed under the Apache L...
169c17bbfa418f765ea275cb6badc7b46d479827
language/tests/regent/run_pass/optimize_index_launch_empty.rg
language/tests/regent/run_pass/optimize_index_launch_empty.rg
Rouge
<|file_sep|>original/dev-requirements.txt autoflake==1.2 check-manifest==0.37 codecov==2.0.15 # Upload coverage data doc8==0.8.0 dodgy==0.1.9 # Look for uploaded secrets dulwich==0.19.11 flake8-commas==2.0.0 # Require silicon valley commas flake8-quotes==1.0.0 # Require single quotes flake8==3.7.7 # Lint isort==4.3...
autoflake==1.2 check-manifest==0.37 codecov==2.0.15 # Upload coverage data doc8==0.8.0 dodgy==0.1.9 # Look for uploaded secrets dulwich==0.19.11 flake8-commas==2.0.0 # Require silicon valley commas flake8-quotes==1.0.0 # Require single quotes flake8==3.7.7 # Lint isort==4.3.17 # Lint imports mypy==0.700 # Type ch...
<|file_sep|>original/dev-requirements.txt autoflake==1.2 check-manifest==0.37 codecov==2.0.15 # Upload coverage data doc8==0.8.0 dodgy==0.1.9 # Look for uploaded secrets dulwich==0.19.11 flake8-commas==2.0.0 # Require silicon valley commas flake8-quotes==1.0.0 # Require single quotes flake8==3.7.7 # Lint isort==4.3...
8ecd1092d54d77944a15261ea9d1ac2f7517ffa3
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/_config.php <?php if (file_exists(__DIR__ . '../vendor/autoload.php')) { require_once __DIR__ . '../vendor/autoload.php'; } Object::add_extension('ContentController', 'HashPathExtension'); <|file_sep|>current/_config.php <?php if (file_exists(__DIR__ . '../vendor/autoload.php')) { requir...
<?php if (file_exists(__DIR__ . '../vendor/autoload.php')) { require_once __DIR__ . '../vendor/autoload.php'; } if (class_exists('ContentController')) { Object::add_extension('ContentController', 'HashPathExtension'); }
<|file_sep|>original/_config.php <?php if (file_exists(__DIR__ . '../vendor/autoload.php')) { require_once __DIR__ . '../vendor/autoload.php'; } Object::add_extension('ContentController', 'HashPathExtension'); <|file_sep|>current/_config.php <?php if (file_exists(__DIR__ . '../vendor/autoload.php')) { requir...
95caa8d8bf23ec4ab2714126b684634461857234
_config.php
_config.php
PHP
<|file_sep|>original/box.json { "alias": "wsdl2phpgenerator.phar", "chmod": "0755", "compression": "GZ", "directories": ["vendor", "lib", "src"], "git-version": "git_tag", "output": "wsdl2phpgenerator-@git-version@.phar", "main": "wsdl2php.php", "stub": true } <|file_sep|>current/box.jso...
{ "alias": "wsdl2phpgenerator.phar", "chmod": "0755", "compactors": [ "Herrera\\Box\\Compactor\\Php" ], "directories": ["vendor", "lib", "src"], "git-version": "git_tag", "output": "wsdl2phpgenerator-@git-version@.phar", "main": "wsdl2php.php", "stub": true }
<|file_sep|>original/box.json { "alias": "wsdl2phpgenerator.phar", "chmod": "0755", "compression": "GZ", "directories": ["vendor", "lib", "src"], "git-version": "git_tag", "output": "wsdl2phpgenerator-@git-version@.phar", "main": "wsdl2php.php", "stub": true } <|file_sep|>current/box.jso...
81b1ab541e82ac45be5c0e33af76a96d48ef3fc6
box.json
box.json
JSON
<|file_sep|>original/src/test/resources/CSVFileParser/test_default_comment.txt <|file_sep|>current/src/test/resources/CSVFileParser/test_default_comment.txt <|file_sep|>updated/src/test/resources/CSVFileParser/test_default_comment.txt
test.csv IgnoreEmpty=true CommentStart=# Delimiter=<,> Encapsulator=<"> CommentStart=<#> EmptyLines:ignored 4:[A, B, C, D] 4:[a, b, c, d] 4:[ e , f , g, h ] 4:[ i , " j " , " k ", l ] 4:[, , , ] 4:[, , , ]
<|file_sep|>original/src/test/resources/CSVFileParser/test_default_comment.txt <|file_sep|>current/src/test/resources/CSVFileParser/test_default_comment.txt <|file_sep|>updated/src/test/resources/CSVFileParser/test_default_comment.txt test.csv IgnoreEmpty=true CommentStart=# Delimiter=<,> Encapsulator=<"> CommentStar...
fe102749181b7ba21600b12e3ec094e9bcf6250e
src/test/resources/CSVFileParser/test_default_comment.txt
src/test/resources/CSVFileParser/test_default_comment.txt
Text
<|file_sep|>insane_patchers/xu_netherstar.js.diff original: updated: // This defines the "burning time", with unit of tick. Must be float point number, i.e. has decimals. var gen_time = 200.0; <|file_sep|>original/insane_patchers/xu_netherstar.js // This defines the output rate, with unit of RF/t. Must be float-point ...
return m.name.equals("genLevel"); }).findFirst().orElseThrow(function (){ return new java.lang.Error(); }); methodGenLevelGetter.instructions.clear(); methodGenLevelGetter.visitLdcInsn(gen_level); methodGenLevelGetter.visitInsn(Opcodes.DRETURN); methodGenLevelGetter.visitEnd(); var methodGenTimeGetter = node....
<|file_sep|>insane_patchers/xu_netherstar.js.diff original: updated: // This defines the "burning time", with unit of tick. Must be float point number, i.e. has decimals. var gen_time = 200.0; <|file_sep|>original/insane_patchers/xu_netherstar.js // This defines the output rate, with unit of RF/t. Must be float-point ...
9a1e955ae28b794573c23f7ad6f3fa623aeb3c13
insane_patchers/xu_netherstar.js
insane_patchers/xu_netherstar.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.6 before_script: - ln -s ../ node_modules/cli-color notifications: email: - medikoo+cli-color@medikoo.com <|file_sep|>current/.travis.yml language: node_js node_js: - 0.6 before_script: - ln -s ../ node_modules/cli-color notifications: ...
language: node_js node_js: - 0.6 - 0.8 - 0.9 before_script: - ln -s ../ node_modules/cli-color notifications: email: - medikoo+cli-color@medikoo.com
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.6 before_script: - ln -s ../ node_modules/cli-color notifications: email: - medikoo+cli-color@medikoo.com <|file_sep|>current/.travis.yml language: node_js node_js: - 0.6 before_script: - ln -s ../ node_modules/cli-color notifications: ...
622b45890ce2dc51dc19420f2237283bfe4d2fda
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml env: global: - secure: PTJyR+tnEZ+jbHQ0xjgWoK8Tw6hikm1SYun8K5eeJp3yC42em8rcS0yhIbUtea7aGk4tPH+nD7lzeExvEHdae6qwLKc/bW2mx8zrlj9CZAE2JK9/OCDdNP700Jn3j+AFxWMnNatV+MefTF21PDuRfxVmip9Xo2aoMhD3+lFSUfY= language: rust script: - cargo build --verbose - cargo test --verbose - cargo d...
env: global: - secure: PTJyR+tnEZ+jbHQ0xjgWoK8Tw6hikm1SYun8K5eeJp3yC42em8rcS0yhIbUtea7aGk4tPH+nD7lzeExvEHdae6qwLKc/bW2mx8zrlj9CZAE2JK9/OCDdNP700Jn3j+AFxWMnNatV+MefTF21PDuRfxVmip9Xo2aoMhD3+lFSUfY= language: rust before_install: - sudo add-apt-repository --yes ppa:hansjorg/rust - sudo add-apt-repository --yes p...
<|file_sep|>original/.travis.yml env: global: - secure: PTJyR+tnEZ+jbHQ0xjgWoK8Tw6hikm1SYun8K5eeJp3yC42em8rcS0yhIbUtea7aGk4tPH+nD7lzeExvEHdae6qwLKc/bW2mx8zrlj9CZAE2JK9/OCDdNP700Jn3j+AFxWMnNatV+MefTF21PDuRfxVmip9Xo2aoMhD3+lFSUfY= language: rust script: - cargo build --verbose - cargo test --verbose - cargo d...
b0fc504f92f2b7fd84a7cd5cd1666b305bc0e88f
.travis.yml
.travis.yml
YAML
<|file_sep|>styles/AttributionUI.css.diff original: margin: 0 2px; updated: margin: 0 2px 4px; <|file_sep|>original/styles/AttributionUI.css .Attribution { background-color: rgba(0, 0, 0, 0.5); color: white; font-family: Arial, Helvetica, sans-serif; font-size: 11px; position: absolute; ...
background-color: rgba(0, 0, 0, 0.5); color: white; font-family: Arial, Helvetica, sans-serif; font-size: 11px; position: absolute; bottom: 0; right: 0; z-index: 1000; padding: 4px 2px; } .Attribution a, .Attribution span { color: white; text-decoration: none; margin: 0 ...
<|file_sep|>styles/AttributionUI.css.diff original: margin: 0 2px; updated: margin: 0 2px 4px; <|file_sep|>original/styles/AttributionUI.css .Attribution { background-color: rgba(0, 0, 0, 0.5); color: white; font-family: Arial, Helvetica, sans-serif; font-size: 11px; position: absolute; ...
423f4d1ad196ad59a7ea69ad83e1f5f49778cac7
styles/AttributionUI.css
styles/AttributionUI.css
CSS
<|file_sep|>original/circle.yml version: 2 jobs: build: working_directory: ~/code docker: - image: circleci/android:api-26-alpha environment: JVM_OPTS: -Xmx3200m steps: - checkout - restore_cache: key: jars-{{ checksum "build.gradle" }}-{{ checksum "library/build.gra...
version: 2 jobs: build: working_directory: ~/code docker: - image: circleci/android:api-26-alpha environment: _JAVA_OPTIONS: "-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap" steps: - checkout - restore_cache: key: jars-{{ checksum "build.gradle" }}-...
<|file_sep|>original/circle.yml version: 2 jobs: build: working_directory: ~/code docker: - image: circleci/android:api-26-alpha environment: JVM_OPTS: -Xmx3200m steps: - checkout - restore_cache: key: jars-{{ checksum "build.gradle" }}-{{ checksum "library/build.gra...
e43cff0e8aa63257414f99a9df3ab8a05b9a6244
circle.yml
circle.yml
YAML
<|file_sep|>packages/ae/aeson-flowtyped.yaml.diff original: hash: 2bce893ca02fc6ed84790fe99ed7dc0a421ee9a408ef69547333fffe21eb9b41 updated: hash: 7f408c75580e37fc39cbe1deb7a760d85f1a4bf69c4bdf0e74a706a6fb5a932c <|file_sep|>packages/ae/aeson-flowtyped.yaml.diff original: updated: - '0.7.4' <|file_sep|>original/packages...
wl-pprint: -any reflection: -any base: ! '>=4.9 && <4.11' time: -any unordered-containers: -any text: -any containers: -any recursion-schemes: -any scientific: -any aeson: ! '>=0.8' vector: -any all-versions: - '0.7.0' - '0.7.1' - '0.7.2' - '0.7.4' author: Mike Ledger <mike@quasimal.com> latest: '...
<|file_sep|>packages/ae/aeson-flowtyped.yaml.diff original: hash: 2bce893ca02fc6ed84790fe99ed7dc0a421ee9a408ef69547333fffe21eb9b41 updated: hash: 7f408c75580e37fc39cbe1deb7a760d85f1a4bf69c4bdf0e74a706a6fb5a932c <|file_sep|>packages/ae/aeson-flowtyped.yaml.diff original: updated: - '0.7.4' <|file_sep|>original/packages...
870a8163566b30b8e213ac5d56bce28dd5b0de60
packages/ae/aeson-flowtyped.yaml
packages/ae/aeson-flowtyped.yaml
YAML
<|file_sep|>metadata/com.falconware.prestissimo.txt.diff original: updated: Build:1.0,11 commit=18b6e90ede1a986cc10f775ffc16421735483a35 srclibs=Sonic@637de3f6ece13c360b40e22eb38507de0fcbb29a target=android-17 rm=libs/armeabi-v7a/libsonic.so,libs/armeabi/libsonic.so build=$$NDK$$/ndk-build -C $$Son...
Build:0.5,10 commit=v0.5 srclibs=Sonic@637de target=android-17 build=$$NDK$$/ndk-build -C $$Sonic$$ && \ mv $$Sonic$$/libs/armeabi* libs/ Build:1.0,11 commit=18b6e90ede1a986cc10f775ffc16421735483a35 srclibs=Sonic@637de3f6ece13c360b40e22eb38507de0fcbb29a target=android-17 rm=lib...
<|file_sep|>metadata/com.falconware.prestissimo.txt.diff original: updated: Build:1.0,11 commit=18b6e90ede1a986cc10f775ffc16421735483a35 srclibs=Sonic@637de3f6ece13c360b40e22eb38507de0fcbb29a target=android-17 rm=libs/armeabi-v7a/libsonic.so,libs/armeabi/libsonic.so build=$$NDK$$/ndk-build -C $$Son...
f1f89282e44b2c08fcbdb44541439b84759e2b0e
metadata/com.falconware.prestissimo.txt
metadata/com.falconware.prestissimo.txt
Text
<|file_sep|>original/libcrowds_data/view.py # -*- coding: utf8 -*- """Views modules for libcrowds-data.""" from flask import render_template from pybossa.core import project_repo @blueprint.route('/') def index(): """Return the Data page.""" projects = project_repo.get_all() title = "Data" descriptio...
# -*- coding: utf8 -*- """Views modules for libcrowds-data.""" from flask import render_template from pybossa.core import project_repo @blueprint.route('/') def index(): """Return the Data page.""" projects = project_repo.get_all() title = "Data" description = """Download open datasets of all crowdso...
<|file_sep|>original/libcrowds_data/view.py # -*- coding: utf8 -*- """Views modules for libcrowds-data.""" from flask import render_template from pybossa.core import project_repo @blueprint.route('/') def index(): """Return the Data page.""" projects = project_repo.get_all() title = "Data" descriptio...
cd16b97f9e004d4b04fa06789a90fd560a1888be
libcrowds_data/view.py
libcrowds_data/view.py
Python
<|file_sep|>samples/MvcSample.Web/Startup.cs.diff original:  #if NET45 using Microsoft.AspNet.Abstractions; updated: using Microsoft.AspNet.Abstractions; <|file_sep|>original/samples/MvcSample.Web/Startup.cs var serviceProvider = services.BuildServiceProvider(builder.ServiceProvider); var rou...
var routes = new RouteCollection() { DefaultHandler = new MvcApplication(serviceProvider), }; // TODO: Add support for route constraints, so we can potentially constrain by existing routes routes.MapRoute("{area}/{controller}/{action}"); ...
<|file_sep|>samples/MvcSample.Web/Startup.cs.diff original:  #if NET45 using Microsoft.AspNet.Abstractions; updated: using Microsoft.AspNet.Abstractions; <|file_sep|>original/samples/MvcSample.Web/Startup.cs var serviceProvider = services.BuildServiceProvider(builder.ServiceProvider); var rou...
ed36084c25845bfbf69307b1f26499175c3fd933
samples/MvcSample.Web/Startup.cs
samples/MvcSample.Web/Startup.cs
C#
<|file_sep|>original/highlighters/main/test-data/alias-to-dir1b.zsh <|file_sep|>current/highlighters/main/test-data/alias-to-dir1b.zsh <|file_sep|>updated/highlighters/main/test-data/alias-to-dir1b.zsh
#!/usr/bin/env zsh # ------------------------------------------------------------------------------------------------- # Copyright (c) 2020 zsh-syntax-highlighting contributors # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted # provided that the f...
<|file_sep|>original/highlighters/main/test-data/alias-to-dir1b.zsh <|file_sep|>current/highlighters/main/test-data/alias-to-dir1b.zsh <|file_sep|>updated/highlighters/main/test-data/alias-to-dir1b.zsh #!/usr/bin/env zsh # -----------------------------------------------------------------------------------------------...
81842663388e6dfb18e8e85c24c0ff532706513b
highlighters/main/test-data/alias-to-dir1b.zsh
highlighters/main/test-data/alias-to-dir1b.zsh
Shell
<|file_sep|>original/emmet/preferences.json "fieldset", "figure", "footer", "form", "head", "header", "hgroup", "html", "main", "nav", "noscript", "ol", "section", "style", "table", "tfoot", "thead", "tr", "ul" ], "format.noIndentTags": [] ...
"fieldset", "figure", "footer", "form", "head", "header", "hgroup", "html", "main", "nav", "ol", "section", "style", "table", "tfoot", "thead", "tr", "ul" ], "format.noIndentTags": [] }
<|file_sep|>original/emmet/preferences.json "fieldset", "figure", "footer", "form", "head", "header", "hgroup", "html", "main", "nav", "noscript", "ol", "section", "style", "table", "tfoot", "thead", "tr", "ul" ], "format.noIndentTags": [] ...
9ff1b88682e27e6d436bbb93791c63c48cb4d7bd
emmet/preferences.json
emmet/preferences.json
JSON
<|file_sep|>src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java.diff original: updated: import info.u_team.u_team_test.TestMod; <|file_sep|>src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java.diff original: updated: import net.minecraft.util.ResourceLocation...
public class TestLivingEntityRenderer extends ZombieRenderer { private static final ResourceLocation TEXTURE = new ResourceLocation(TestMod.MODID, "textures/entity/test_living/test_living.png"); public TestLivingEntityRenderer(EntityRendererManager renderManager) { super(renderManager); } @Override protec...
<|file_sep|>src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java.diff original: updated: import info.u_team.u_team_test.TestMod; <|file_sep|>src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java.diff original: updated: import net.minecraft.util.ResourceLocation...
84472288152437af63d61079966794bc622bd737
src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java
src/test/java/info/u_team/u_team_test/entity/render/TestLivingEntityRenderer.java
Java
<|file_sep|>modules/binary.js.diff original: updated: var asJavaObject = require('helma/system').asJavaObject; <|file_sep|>original/modules/binary.js var jstr = encoding ? new java.lang.String(this.bytes, encoding) : new java.lang.String(this.bytes); return String(jstr); }; Stri...
Binary.prototype.toString = function(encoding) { var jstr = encoding ? new java.lang.String(this.bytes, encoding) : new java.lang.String(this.bytes); return String(jstr); }; String.prototype.toBinary = function(encoding) { var bytes = encoding ? asJavaObject(t...
<|file_sep|>modules/binary.js.diff original: updated: var asJavaObject = require('helma/system').asJavaObject; <|file_sep|>original/modules/binary.js var jstr = encoding ? new java.lang.String(this.bytes, encoding) : new java.lang.String(this.bytes); return String(jstr); }; Stri...
84ccaf5daa0fca3cc1988aa3818025639d91e9cf
modules/binary.js
modules/binary.js
JavaScript
<|file_sep|>original/Cargo.toml [package] name = "galvanize" version = "0.1.0" authors = ["Esteban Küber <esteban@kuber.com.ar>"] [lib] name = "galvanize" path = "src/lib.rs" [[bin]] name = "galvanize_cli" path = "src/main.rs" [dependencies] docopt = "0.6" rustc-serialize = "0.3" <|file_sep|>current/Cargo.toml [pack...
[package] name = "galvanize" version = "0.0.1" authors = ["Esteban Küber <esteban@kuber.com.ar>"] [lib] name = "galvanize" path = "src/lib.rs" [[bin]] name = "galvanize_cli" path = "src/main.rs" [dependencies] docopt = "0.6" rustc-serialize = "0.3"
<|file_sep|>original/Cargo.toml [package] name = "galvanize" version = "0.1.0" authors = ["Esteban Küber <esteban@kuber.com.ar>"] [lib] name = "galvanize" path = "src/lib.rs" [[bin]] name = "galvanize_cli" path = "src/main.rs" [dependencies] docopt = "0.6" rustc-serialize = "0.3" <|file_sep|>current/Cargo.toml [pack...
79a8fa6ca6e77c9655e7f4fe3dea04277803ea6e
Cargo.toml
Cargo.toml
TOML
<|file_sep|>Tests/Functionnal/src/Acme/AppBundle/Entity/Jedi.php.diff original: /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") * @VIC\BusinessProperty({"textable", "businessParameter"}) */ private $id; updated: <...
* * @ORM\Column(name="side", type="string", length=55) * @VIC\BusinessProperty("textable") */ private $side; /** * Get side * * @return string */ public function getSide() { return $this->side; } /** * Set side * @param string $side ...
<|file_sep|>Tests/Functionnal/src/Acme/AppBundle/Entity/Jedi.php.diff original: /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") * @VIC\BusinessProperty({"textable", "businessParameter"}) */ private $id; updated: <...
27da6a6a0adfa9a5276c4430c0eec36810a12dce
Tests/Functionnal/src/Acme/AppBundle/Entity/Jedi.php
Tests/Functionnal/src/Acme/AppBundle/Entity/Jedi.php
PHP
<|file_sep|>original/database/migrations/2017_01_01_000000_create_users_table.php { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table->increments('id'); $table->string('email')...
{ /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table->increments('id'); $table->string('email'); $table->timestamps(); }); } /** * Reverse the...
<|file_sep|>original/database/migrations/2017_01_01_000000_create_users_table.php { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table->increments('id'); $table->string('email')...
dd30e5505a2721c0d74e576bf97a575e69c79495
database/migrations/2017_01_01_000000_create_users_table.php
database/migrations/2017_01_01_000000_create_users_table.php
PHP
<|file_sep|>original/src/StudentFollowingSystem/Views/Students/Import.cshtml @{ ViewBag.Title = "Studenten importeren"; } <h2>Studenten importeren</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal">> <p>Kopieer het CSV bestand in het veld hieronder.</p> ...
@{ ViewBag.Title = "Studenten importeren"; } <h2>Studenten importeren</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <p>Kopieer het CSV bestand in het veld hieronder.</p> <textarea name="csv" id="csv" class="form-control"></textarea> </div> ...
<|file_sep|>original/src/StudentFollowingSystem/Views/Students/Import.cshtml @{ ViewBag.Title = "Studenten importeren"; } <h2>Studenten importeren</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal">> <p>Kopieer het CSV bestand in het veld hieronder.</p> ...
1a9b142e826384c41d9c04e658537fac07e763b6
src/StudentFollowingSystem/Views/Students/Import.cshtml
src/StudentFollowingSystem/Views/Students/Import.cshtml
C#
<|file_sep|>original/requirements.txt configobj ffmpy google-api-python-client mutagen oauth2client pillow pydub python-telegram-bot -e git+https://github.com/tokland/youtube-upload.git#egg=youtube_upload <|file_sep|>current/requirements.txt configobj ffmpy google-api-python-client mutagen oauth2client pillow pydub pyt...
configobj ffmpy google-api-python-client mutagen oauth2client pillow pydub python-telegram-bot https://github.com/tokland/youtube-upload/archive/master.zip
<|file_sep|>original/requirements.txt configobj ffmpy google-api-python-client mutagen oauth2client pillow pydub python-telegram-bot -e git+https://github.com/tokland/youtube-upload.git#egg=youtube_upload <|file_sep|>current/requirements.txt configobj ffmpy google-api-python-client mutagen oauth2client pillow pydub pyt...
0d52a7cb5bb3b13aeb53c87b6dfdd5a50a33f08b
requirements.txt
requirements.txt
Text
<|file_sep|>lib/vagrant-ohai/vagrant-ohai.rb.diff original: module Ohai updated: module Ohai <|file_sep|>lib/vagrant-ohai/vagrant-ohai.rb.diff original: hook_block = proc do |hook| updated: action_hook(:install_ohai_plugin, Plugin::ALL_ACTIONS) do |hook| <|file_sep|>original/lib/vagrant-ohai/vagrant-oh...
class Plugin < Vagrant.plugin("2") name "vagrant-ohai" description <<-DESC This plugin ensures ipaddress and cloud attributes in Chef correspond to Vagrant's private network DESC action_hook(:install_ohai_plugin, Plugin::ALL_ACTIONS) do |hook| require_relative 'action_in...
<|file_sep|>lib/vagrant-ohai/vagrant-ohai.rb.diff original: module Ohai updated: module Ohai <|file_sep|>lib/vagrant-ohai/vagrant-ohai.rb.diff original: hook_block = proc do |hook| updated: action_hook(:install_ohai_plugin, Plugin::ALL_ACTIONS) do |hook| <|file_sep|>original/lib/vagrant-ohai/vagrant-oh...
b9879a5de8d00cb436e10039c173339ddecc89ff
lib/vagrant-ohai/vagrant-ohai.rb
lib/vagrant-ohai/vagrant-ohai.rb
Ruby
<|file_sep|>app/renderer/components/libraries/channel-request.js.diff original: reject(err); updated: reject(new Error(err)); <|file_sep|>original/app/renderer/components/libraries/channel-request.js } var self = this; refreshProviderObject = startRefreshProvider(this.channelName, this.c...
} var self = this; refreshProviderObject = startRefreshProvider(this.channelName, this.callback); return refreshProviderObject.then(function() { timeoutID = setTimeout(function() { return self.startLongPolling(miliseconds); }, miliseconds); if (!!self.stopLongPolling) { ...
<|file_sep|>app/renderer/components/libraries/channel-request.js.diff original: reject(err); updated: reject(new Error(err)); <|file_sep|>original/app/renderer/components/libraries/channel-request.js } var self = this; refreshProviderObject = startRefreshProvider(this.channelName, this.c...
f49a0fb3b6271061be2808495cbbb180770fff60
app/renderer/components/libraries/channel-request.js
app/renderer/components/libraries/channel-request.js
JavaScript
<|file_sep|>original/byceps/blueprints/common/core/templates/macros/datetime.html {%- macro render_date(d, smart=True) -%} {{ render_time_element(d|format_date_iso, d|format_date_short(smart=smart)) }} {%- endmacro %} {%- macro render_date_long(d, smart=True) -%} {{ render_time_element(d|format_date_iso, d|forma...
{%- macro render_time_element(value, label) -%} <time datetime="{{ value }}">{{ label }}</time> {%- endmacro %}
<|file_sep|>original/byceps/blueprints/common/core/templates/macros/datetime.html {%- macro render_date(d, smart=True) -%} {{ render_time_element(d|format_date_iso, d|format_date_short(smart=smart)) }} {%- endmacro %} {%- macro render_date_long(d, smart=True) -%} {{ render_time_element(d|format_date_iso, d|forma...
3b852dd81b41edad0490bb17609cd45783703879
byceps/blueprints/common/core/templates/macros/datetime.html
byceps/blueprints/common/core/templates/macros/datetime.html
HTML
<|file_sep|>lib/booking_requests/api.rb.diff original: ENV.fetch('BOOKING_REQUESTS_API_OPEN_TIMEOUT', 10) updated: ENV.fetch('BOOKING_REQUESTS_API_OPEN_TIMEOUT', 2) <|file_sep|>original/lib/booking_requests/api.rb open_timeout: open_timeout, retries: retries } end def open_tim...
open_timeout: open_timeout, retries: retries } end def open_timeout ENV.fetch('BOOKING_REQUESTS_API_OPEN_TIMEOUT', 2) end def read_timeout ENV.fetch('BOOKING_REQUESTS_API_READ_TIMEOUT', 2) end def retries ENV.fetch('BOOKING_REQUESTS_API_RETRIES', 0) ...
<|file_sep|>lib/booking_requests/api.rb.diff original: ENV.fetch('BOOKING_REQUESTS_API_OPEN_TIMEOUT', 10) updated: ENV.fetch('BOOKING_REQUESTS_API_OPEN_TIMEOUT', 2) <|file_sep|>original/lib/booking_requests/api.rb open_timeout: open_timeout, retries: retries } end def open_tim...
41de6628a5d8f93444bed6eb677ff8b9c9b61d4b
lib/booking_requests/api.rb
lib/booking_requests/api.rb
Ruby
<|file_sep|>imag-diary/src/view.rs.diff original: let diaryname = get_diary_name(rt); if diaryname.is_none() { updated: let diaryname = get_diary_name(rt).unwrap_or_else(|| { <|file_sep|>original/imag-diary/src/view.rs use libimagentryview::builtin::plain::PlainViewer; use libimagrt::runtime::Runtime; use l...
use libimagentryview::builtin::plain::PlainViewer; use libimagrt::runtime::Runtime; use libimagerror::trace::trace_error; use util::get_diary_name; pub fn view(rt: &Runtime) { let diaryname = get_diary_name(rt).unwrap_or_else(|| { warn!("No diary name"); exit(1); }); let diary = Diary::op...
<|file_sep|>imag-diary/src/view.rs.diff original: let diaryname = get_diary_name(rt); if diaryname.is_none() { updated: let diaryname = get_diary_name(rt).unwrap_or_else(|| { <|file_sep|>original/imag-diary/src/view.rs use libimagentryview::builtin::plain::PlainViewer; use libimagrt::runtime::Runtime; use l...
6b5d91e4472dd74526da1b630ae71fdeb50d845d
imag-diary/src/view.rs
imag-diary/src/view.rs
Rust
<|file_sep|>original/composer.json "require": { "php": "^7.2", "kunstmaan/admin-bundle": "~5.2", "kunstmaan/google-api-custom": "~1.0" }, "require-dev": { "matthiasnoback/symfony-config-test": "^4.0", "matthiasnoback/symfony-dependency-injection-test": "^4.1", ...
"require": { "php": "^7.2", "kunstmaan/admin-bundle": "~5.2", "kunstmaan/google-api-custom": "~1.0" }, "require-dev": { "matthiasnoback/symfony-config-test": "^4.0", "matthiasnoback/symfony-dependency-injection-test": "^4.1", "symfony/phpunit-bridge": "^5.1", ...
<|file_sep|>original/composer.json "require": { "php": "^7.2", "kunstmaan/admin-bundle": "~5.2", "kunstmaan/google-api-custom": "~1.0" }, "require-dev": { "matthiasnoback/symfony-config-test": "^4.0", "matthiasnoback/symfony-dependency-injection-test": "^4.1", ...
34b4e89c03084dd5066bb9e52718f1fda66987be
composer.json
composer.json
JSON
<|file_sep|>original/tests/regression/01-cpa/55-dead-branch-multiple.c <|file_sep|>current/tests/regression/01-cpa/55-dead-branch-multiple.c <|file_sep|>updated/tests/regression/01-cpa/55-dead-branch-multiple.c
#include <assert.h> int main() { int a = 1; int b = 0; if (a && b) { // TODO WARN assert(0); // NOWARN (unreachable) } return 0; }
<|file_sep|>original/tests/regression/01-cpa/55-dead-branch-multiple.c <|file_sep|>current/tests/regression/01-cpa/55-dead-branch-multiple.c <|file_sep|>updated/tests/regression/01-cpa/55-dead-branch-multiple.c #include <assert.h> int main() { int a = 1; int b = 0; if (a && b) { // TODO WARN assert(0); //...
c5948e847f1da44bb6d076253ac1e73df0cd162c
tests/regression/01-cpa/55-dead-branch-multiple.c
tests/regression/01-cpa/55-dead-branch-multiple.c
C
<|file_sep|>original/manager/templates/set/edit.html {% block title %}{% trans "Set details" %}{% endblock %} <!-- Main Content --> {% block content %} <h2>{% trans "Edit" %} {{ day.description }}</h2> <form action="{% url manager.views.edit_set workout.id day.id set.it %}" method="post" class="...
{% block title %}{% trans "Set details" %}{% endblock %} <!-- Main Content --> {% block content %} <h2>{% trans "Edit" %} {{ day.description }}</h2> <form action="{% url manager.views.edit_set workout.id day.id set.id %}" method="post" class="ym-form"> {% csrf_token %} <table> {% include "fo...
<|file_sep|>original/manager/templates/set/edit.html {% block title %}{% trans "Set details" %}{% endblock %} <!-- Main Content --> {% block content %} <h2>{% trans "Edit" %} {{ day.description }}</h2> <form action="{% url manager.views.edit_set workout.id day.id set.it %}" method="post" class="...
c183e5b1c34dd1b356beb386da05b5c630a465b6
manager/templates/set/edit.html
manager/templates/set/edit.html
HTML
<|file_sep|>original/src/git/user.mli { sign : [ `Plus | `Minus ] ; hours : int ; minutes : int } type t = { name : string ; email : string ; date : int64 * tz_offset option } include S.BASE with type t := t module A: S.ANGSTROM with type t = t module F: S.FARADAY with type t = t module M: S.MIN...
{ sign : [ `Plus | `Minus ] ; hours : int ; minutes : int } type t = { name : string ; email : string ; date : int64 * tz_offset option } include S.BASE with type t := t module A: S.ANGSTROM with type t = t module F: S.FARADAY with type t = t module M: S.MINIENC with type t = t module D: S.DECO...
<|file_sep|>original/src/git/user.mli { sign : [ `Plus | `Minus ] ; hours : int ; minutes : int } type t = { name : string ; email : string ; date : int64 * tz_offset option } include S.BASE with type t := t module A: S.ANGSTROM with type t = t module F: S.FARADAY with type t = t module M: S.MIN...
a2de519651de5168abf4ef01574ed0410874a29f
src/git/user.mli
src/git/user.mli
OCaml
<|file_sep|>src/contentlength.rs.diff original: use Byte; updated: use Bytes; <|file_sep|>src/contentlength.rs.diff original: /// The returned type is `Byte`. fn get_content_length(&self) -> Option<Byte>; updated: /// The returned type is `Option<Bytes>`. fn get_content_length(&self) -> Option<Bytes>; <...
use std::ops::Deref; use Bytes; /// Trait to extend functionalities of the Headers type, from `hyper` pub trait GetContentLength { /// Function to get the content length of a remote document. /// The returned type is `Option<Bytes>`. fn get_content_length(&self) -> Option<Bytes>; } impl GetContentLength ...
<|file_sep|>src/contentlength.rs.diff original: use Byte; updated: use Bytes; <|file_sep|>src/contentlength.rs.diff original: /// The returned type is `Byte`. fn get_content_length(&self) -> Option<Byte>; updated: /// The returned type is `Option<Bytes>`. fn get_content_length(&self) -> Option<Bytes>; <...
124813eb95aec39844e1c7c723254a0da7962b14
src/contentlength.rs
src/contentlength.rs
Rust
<|file_sep|>README.md.diff original: This provides an implemention of the Linked Data Registry originally developed under ukl-registry-poc. updated: This provides an implementation of the Linked Data Registry originally developed under ukl-registry-poc. <|file_sep|>README.md.diff original: The implemention runs as a ja...
# Registry core This provides an implementation of the Linked Data Registry originally developed under ukl-registry-poc. The implementation runs as a java web application. The war is self-contained and includes an example starting configuration and set of UI templates and style sheets. However, it will detect and use...
<|file_sep|>README.md.diff original: This provides an implemention of the Linked Data Registry originally developed under ukl-registry-poc. updated: This provides an implementation of the Linked Data Registry originally developed under ukl-registry-poc. <|file_sep|>README.md.diff original: The implemention runs as a ja...
94705929651088e12ef0c78c0bd009b8b21ac84b
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/mkdocs-requirements.txt click==8.1.3 future==0.18.2 Jinja2==3.1.2 livereload==2.6.3 lunr==0.6.2 Markdown==3.3.7 # See https://github.com/mkdocs/mkdocs/issues/2892. MarkupSafe==2.1.1 mkdocs==1.4.2 mkdocs-macros-plugin==0.7.0 mkdocs-material==8.5.9 mkdocs-material-extensions==1.1 Py...
click==8.1.3 future==0.18.2 Jinja2==3.1.2 livereload==2.6.3 lunr==0.6.2 Markdown==3.3.7 # See https://github.com/mkdocs/mkdocs/issues/2892. MarkupSafe==2.1.1 mkdocs==1.4.2 mkdocs-macros-plugin==0.7.0 mkdocs-material==8.5.10 mkdocs-material-extensions==1.1 Pygments==2.13.0 pymdown-extensions==9.8 python-dateutil==2.8.2 ...
<|file_sep|>original/.github/workflows/mkdocs-requirements.txt click==8.1.3 future==0.18.2 Jinja2==3.1.2 livereload==2.6.3 lunr==0.6.2 Markdown==3.3.7 # See https://github.com/mkdocs/mkdocs/issues/2892. MarkupSafe==2.1.1 mkdocs==1.4.2 mkdocs-macros-plugin==0.7.0 mkdocs-material==8.5.9 mkdocs-material-extensions==1.1 Py...
915f954e25f8b9ed92884c06df13cdd0720c7a81
.github/workflows/mkdocs-requirements.txt
.github/workflows/mkdocs-requirements.txt
Text
<|file_sep|>cronjobs/archive_cleanup.php.diff original: if (!$share->purgeArchive()) { updated: if (!$affected_rows = $share->purgeArchive()) { <|file_sep|>original/cronjobs/archive_cleanup.php WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing p...
limitations under the License. */ // Change to working directory chdir(dirname(__FILE__)); // Include all settings and classes require_once('shared.inc.php'); // If we don't keep archives, delete some now to release disk space if (!$affected_rows = $share->purgeArchive()) { $log->logError("Failed to delete archi...
<|file_sep|>cronjobs/archive_cleanup.php.diff original: if (!$share->purgeArchive()) { updated: if (!$affected_rows = $share->purgeArchive()) { <|file_sep|>original/cronjobs/archive_cleanup.php WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing p...
0ecb92103580b80505479dfa8694050de71b660f
cronjobs/archive_cleanup.php
cronjobs/archive_cleanup.php
PHP
<|file_sep|>original/github3/search/code.py <|file_sep|>current/github3/search/code.py <|file_sep|>updated/github3/search/code.py
from github3.models import GitHubCore from github3.repos import Repository class CodeSearchResult(GitHubCore): def __init__(self, data, session=None): super(CodeSearchResult, self).__init__(data, session) self._api = data.get('url') #: Filename the match occurs in self.name = data....
<|file_sep|>original/github3/search/code.py <|file_sep|>current/github3/search/code.py <|file_sep|>updated/github3/search/code.py from github3.models import GitHubCore from github3.repos import Repository class CodeSearchResult(GitHubCore): def __init__(self, data, session=None): super(CodeSearchResult,...
94e7c97b8fc22599ea92c5301bfeabf714de1635
github3/search/code.py
github3/search/code.py
Python
<|file_sep|>original/provisioning/modules/pixelated/files/activate_custom_node_modules.sh CUSTOM_NODE_MODULES_LOCATION="$HOME/boxed_node_modules" VAGRANT_NODE_MODULES="/vagrant/web-ui/node_modules" export PATH="$PATH:$CUSTOM_NODE_MODULES_LOCATION/node_modules/.bin" export NODE_PATH="$CUSTOM_NODE_MODULES_LOCATION/node...
export PATH="$PATH:$CUSTOM_NODE_MODULES_LOCATION/node_modules/.bin" export NODE_PATH="$CUSTOM_NODE_MODULES_LOCATION/node_modules" if [ ! -e $VAGRANT_NODE_MODULES ] ; then ln -s $CUSTOM_NODE_MODULES_LOCATION $VAGRANT_NODE_MODULES fi source /home/vagrant/user-agent-venv/bin/activate pip install --upgrade pip pip ...
<|file_sep|>original/provisioning/modules/pixelated/files/activate_custom_node_modules.sh CUSTOM_NODE_MODULES_LOCATION="$HOME/boxed_node_modules" VAGRANT_NODE_MODULES="/vagrant/web-ui/node_modules" export PATH="$PATH:$CUSTOM_NODE_MODULES_LOCATION/node_modules/.bin" export NODE_PATH="$CUSTOM_NODE_MODULES_LOCATION/node...
a43535c547224fa256fef809f5dbd4b0ffedb384
provisioning/modules/pixelated/files/activate_custom_node_modules.sh
provisioning/modules/pixelated/files/activate_custom_node_modules.sh
Shell
<|file_sep|>index.html.diff original: <div class="index-title-internal"> <img class="circle-logo" src="/images/circle-logo.png" alt="circle-logo"/> <div>galaxy-sixth-sensey</div> </div> updated: <div class="index-title-internal"> <img class="circle-logo" src="/images/circle-logo.png" alt="...
<div class="index-content"> <div class="index-left"> <div> <script async src="https://cse.google.com/cse.js?cx=005952339784006396697:rdanbqy7tbq"></script> <div class="gcse-search"></div> </div> $partial("templates/post-list.html")$ <a class="index-navigator" href="/archive.html">これ以前の記事<...
<|file_sep|>index.html.diff original: <div class="index-title-internal"> <img class="circle-logo" src="/images/circle-logo.png" alt="circle-logo"/> <div>galaxy-sixth-sensey</div> </div> updated: <div class="index-title-internal"> <img class="circle-logo" src="/images/circle-logo.png" alt="...
6409c94ea474a36033c868c0a502aee774c39d4a
index.html
index.html
HTML
<|file_sep|>original/app.json { "name": "723 Server", "description": "Manage your expenses.", "keywords": [ "723e", "Django", "Python" ], "website": "https://723e.com/", "repository": "https://github.com/sebastienbarbier/723e_server" } <|file_sep|>current/app.json { "name": "723 Server", "de...
{ "name": "723 Server", "description": "Manage your expenses.", "keywords": [ "723e", "Django", "Python" ], "website": "https://723e.com/", "repository": "https://github.com/sebastienbarbier/723e_server", "addons": [ "heroku-postgresql" ] }
<|file_sep|>original/app.json { "name": "723 Server", "description": "Manage your expenses.", "keywords": [ "723e", "Django", "Python" ], "website": "https://723e.com/", "repository": "https://github.com/sebastienbarbier/723e_server" } <|file_sep|>current/app.json { "name": "723 Server", "de...
f0c00fc772f1389a4b3751ffa3f101ebd52b1ee2
app.json
app.json
JSON
<|file_sep|>ui/console/src/main/webapp/bower.json.diff original: "angular": "1.3.1", updated: "angular": "1.2.4", <|file_sep|>original/ui/console/src/main/webapp/bower.json "jquery": "2.1.1", "bootstrap": "3.1.1", "d3": "3.4.13", "moment": "2.7.0", "d3-tip": "0.6.5", "angular-bootstrap-d...
"jquery": "2.1.1", "bootstrap": "3.1.1", "d3": "3.4.13", "moment": "2.7.0", "d3-tip": "0.6.5", "angular-bootstrap-datetimepicker": "0.2.4", "angular-bootstrap": "0.11.2", "toastr": "2.0.3", "lodash": "2.4.1", "ngstorage": "0.3.0", "angular-ui-router": "0.2.11", "numeral":...
<|file_sep|>ui/console/src/main/webapp/bower.json.diff original: "angular": "1.3.1", updated: "angular": "1.2.4", <|file_sep|>original/ui/console/src/main/webapp/bower.json "jquery": "2.1.1", "bootstrap": "3.1.1", "d3": "3.4.13", "moment": "2.7.0", "d3-tip": "0.6.5", "angular-bootstrap-d...
15a08420149d0bdea9a275a31e6ac49729dcd7f2
ui/console/src/main/webapp/bower.json
ui/console/src/main/webapp/bower.json
JSON
<|file_sep|>original/gulp/tasks/uploading.js const rsync = require('gulp-rsync'); // 'gulp deploy' -- reads rsync credentials file and incrementally uploads site to server gulp.task('upload', () => { var credentials = JSON.parse(fs.readFileSync('rsync-credentials.json', 'utf8')); return gulp.src('dist') .pipe...
const gulp = require('gulp'); const rsync = require('gulp-rsync'); // 'gulp deploy' -- reads rsync credentials file and incrementally uploads site to server gulp.task('upload', () => { var credentials = JSON.parse(fs.readFileSync('rsync-credentials.json', 'utf8')); return gulp.src('dist') .pipe(rsync({ ...
<|file_sep|>original/gulp/tasks/uploading.js const rsync = require('gulp-rsync'); // 'gulp deploy' -- reads rsync credentials file and incrementally uploads site to server gulp.task('upload', () => { var credentials = JSON.parse(fs.readFileSync('rsync-credentials.json', 'utf8')); return gulp.src('dist') .pipe...
ceb264e849abfddfb250de15c78b78007287d83e
gulp/tasks/uploading.js
gulp/tasks/uploading.js
JavaScript
<|file_sep|>test/raf-shim.js.diff original: var raf = function (func) { return setTimeout(func, 1); }; updated: var raf = (function () { var startTime = Date.now(); return function (callback) { return setTimeout(function () { callback(Date.now() - startTime); }, 1000/60); }; ...
var raf = (function () { var startTime = Date.now(); return function (callback) { return setTimeout(function () { callback(Date.now() - startTime); }, 1000/60); }; })(); var caf = clearTimeout;
<|file_sep|>test/raf-shim.js.diff original: var raf = function (func) { return setTimeout(func, 1); }; updated: var raf = (function () { var startTime = Date.now(); return function (callback) { return setTimeout(function () { callback(Date.now() - startTime); }, 1000/60); }; ...
c17ef76fd7c8c6ad266088a25ee64efd079f292c
test/raf-shim.js
test/raf-shim.js
JavaScript
<|file_sep|>original/composer.json { "name": "muckeIT/silverstripe-fa", "license": "BSD-3-Clause", "description": "SilverStripe-Addon for font-awesome integration.", "type": "silverstripe-module", "keywords": ["silverstripe", "fortawesome", "fontawesome", "fa", "icons"], "authors": [{ "name": "Sebastian Mu...
{ "name": "muckeit/silverstripe-fa", "license": "BSD-3-Clause", "description": "SilverStripe-Addon for font-awesome integration.", "type": "silverstripe-module", "keywords": ["silverstripe", "fortawesome", "fontawesome", "fa", "icons"], "authors": [{ "name": "Sebastian Mucke", "email": "sebastian.mucke@...
<|file_sep|>original/composer.json { "name": "muckeIT/silverstripe-fa", "license": "BSD-3-Clause", "description": "SilverStripe-Addon for font-awesome integration.", "type": "silverstripe-module", "keywords": ["silverstripe", "fortawesome", "fontawesome", "fa", "icons"], "authors": [{ "name": "Sebastian Mu...
6253f6cbd1b3467046ff8637c65bfcc39ff69349
composer.json
composer.json
JSON
<|file_sep|>original/app/components/Header/index.jsx url = url + `0/${projectId}`; } headerButton = <a className="header__cta cta" href={url} target="_blank">Open asana</a>; } return ( <header className="header"> <div className="pure-u-8-24"> <div className="header__breadcrumbs"> ...
url = url + `0/${projectId}`; } headerButton = <a className="header__cta cta" href={url} target="_blank">Open asana</a>; } return ( <header className="header"> <div className="pure-u-8-24"> <div className="header__breadcrumbs"> { auth.isAsanaAuthed && <BoardSelector /> } ...
<|file_sep|>original/app/components/Header/index.jsx url = url + `0/${projectId}`; } headerButton = <a className="header__cta cta" href={url} target="_blank">Open asana</a>; } return ( <header className="header"> <div className="pure-u-8-24"> <div className="header__breadcrumbs"> ...
b70198cb248e881e966f871e2eed0fd4b19bc7f9
app/components/Header/index.jsx
app/components/Header/index.jsx
JSX
<|file_sep|>original/.codeship-deploy.sh # create and cd into temporary deployment work directory mkdir deployment-work cd deployment-work # setup git and clone from gh-pages branch git config --global user.email "codeship-deployer@codeaffine.com" git config --global user.name "Codeship Deployer" git clone --quiet --b...
# create and cd into temporary deployment work directory mkdir deployment-work cd deployment-work # setup git and clone from gh-pages branch git config --global user.email "codeship-deployer@codeaffine.com" git config --global user.name "Codeship Deployer" git clone --quiet --branch=gh-pages https:/...
<|file_sep|>original/.codeship-deploy.sh # create and cd into temporary deployment work directory mkdir deployment-work cd deployment-work # setup git and clone from gh-pages branch git config --global user.email "codeship-deployer@codeaffine.com" git config --global user.name "Codeship Deployer" git clone --quiet --b...
945a4d7daa3b04a50a5c2a2a32577d3a417ec8dd
.codeship-deploy.sh
.codeship-deploy.sh
Shell
<|file_sep|>cslacs/Csla/Security/ObjectAuthorizationRules.cs.diff original: bool createdManager = false; updated: <|file_sep|>original/cslacs/Csla/Security/ObjectAuthorizationRules.cs bool createdManager = false; lock (_managers) { if (!_managers.TryGetValue(objectType, out re...
lock (_managers) { if (!_managers.TryGetValue(objectType, out result)) { result = new RolesForType(); _managers.Add(objectType, result); // invoke method to add auth roles var flags = BindingFlags.Static | BindingFlags.Public | BindingF...
<|file_sep|>cslacs/Csla/Security/ObjectAuthorizationRules.cs.diff original: bool createdManager = false; updated: <|file_sep|>original/cslacs/Csla/Security/ObjectAuthorizationRules.cs bool createdManager = false; lock (_managers) { if (!_managers.TryGetValue(objectType, out re...
aba256d121e66993bd3129118a463d4165a60081
cslacs/Csla/Security/ObjectAuthorizationRules.cs
cslacs/Csla/Security/ObjectAuthorizationRules.cs
C#
<|file_sep|>original/_posts/2020-10-15-global2021.markdown <|file_sep|>current/_posts/2020-10-15-global2021.markdown <|file_sep|>updated/_posts/2020-10-15-global2021.markdown
--- layout: post title: "Brainhack Global 2021" date: 2021-11-28 13:53 project_categories: Events 2021 image: brainhack_2021_image.png big: 1 description: Hybird (Virtual and/or In-person) Brainhack events occuring at all around the world run through 28th November - 12th December. --- ## Summary You are invited to ...
<|file_sep|>original/_posts/2020-10-15-global2021.markdown <|file_sep|>current/_posts/2020-10-15-global2021.markdown <|file_sep|>updated/_posts/2020-10-15-global2021.markdown --- layout: post title: "Brainhack Global 2021" date: 2021-11-28 13:53 project_categories: Events 2021 image: brainhack_2021_image.png big:...
b31ffa3ba7f9445957b0d201c10473e9eba23749
_posts/2020-10-15-global2021.markdown
_posts/2020-10-15-global2021.markdown
Markdown
<|file_sep|>common/responses.py.diff original: from django.utils import simplejson updated: import json <|file_sep|>original/common/responses.py # -*- coding: utf-8 -*- from django.http import HttpResponse from django.utils import simplejson def JSONResponse(data): return HttpResponse(simplejson.dumps(data), mime...
# -*- coding: utf-8 -*- from django.http import HttpResponse import json def JSONResponse(data): return HttpResponse(json.dumps(data), content_type='application/json')
<|file_sep|>common/responses.py.diff original: from django.utils import simplejson updated: import json <|file_sep|>original/common/responses.py # -*- coding: utf-8 -*- from django.http import HttpResponse from django.utils import simplejson def JSONResponse(data): return HttpResponse(simplejson.dumps(data), mime...
2c572024bf4e5070c999a3653fbc3f5de679e126
common/responses.py
common/responses.py
Python
<|file_sep|>.travis.yml.diff original: updated: - "node" - "6" - "5" - "4" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.12" - "0.10" - "iojs" sudo: false cache: directories: - node_modules notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: ...
language: node_js node_js: - "node" - "6" - "5" - "4" - "0.12" - "iojs" sudo: false cache: directories: - node_modules notifications: email: false
<|file_sep|>.travis.yml.diff original: updated: - "node" - "6" - "5" - "4" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.12" - "0.10" - "iojs" sudo: false cache: directories: - node_modules notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: ...
ddeb1c4b59a90d7815e62519a0ba68f92b1991a0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spark-wrapper/src/main/scala/org/me/PrivateSpark/api/PrivateSparkContext.scala def budget = _budget def getLapRDD(path: String) : Lap_RDD[String] = { RDDCreator.create(ctx.textFile(path), new QueryInfo(budget), Single_Enforcement.default()) } def getSarRDD(path: String) : SAR_RDD[Stri...
def getLapRDD(path: String) : Lap_RDD[String] = { RDDCreator.create(ctx.textFile(path), new QueryInfo(budget), Single_Enforcement.default()) } def getSarRDD(path: String) : SAR_RDD[String] = { def base = ctx.textFile(path) def numLines = base.count() def numPartitions = math.round(math.pow(numL...
<|file_sep|>original/spark-wrapper/src/main/scala/org/me/PrivateSpark/api/PrivateSparkContext.scala def budget = _budget def getLapRDD(path: String) : Lap_RDD[String] = { RDDCreator.create(ctx.textFile(path), new QueryInfo(budget), Single_Enforcement.default()) } def getSarRDD(path: String) : SAR_RDD[Stri...
65a580d12703b26c1c277bd0cd4f1ff416de80ff
spark-wrapper/src/main/scala/org/me/PrivateSpark/api/PrivateSparkContext.scala
spark-wrapper/src/main/scala/org/me/PrivateSpark/api/PrivateSparkContext.scala
Scala
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/OpenBookPrices/openbookprices-api.git" }, "dependencies": { "express": "~3.3.3", "ean": "~0.0.2", "geoip-lite": "~1.0.10", "underscore": "~1.4.4", "redis": "~0.8.4", "hiredis": "~0.1.15", "openbookprices-fe...
"type": "git", "url": "git://github.com/OpenBookPrices/openbookprices-api.git" }, "dependencies": { "express": "~3.3.3", "ean": "~0.0.2", "geoip-lite": "~1.0.10", "underscore": "~1.4.4", "redis": "~0.8.4", "hiredis": "~0.1.15", "openbookprices-fetchers": "git://github.com/OpenBoo...
<|file_sep|>original/package.json "type": "git", "url": "git://github.com/OpenBookPrices/openbookprices-api.git" }, "dependencies": { "express": "~3.3.3", "ean": "~0.0.2", "geoip-lite": "~1.0.10", "underscore": "~1.4.4", "redis": "~0.8.4", "hiredis": "~0.1.15", "openbookprices-fe...
84eeea133058248ab8bd2f6dcd7864f9ba60eb8e
package.json
package.json
JSON
<|file_sep|>original/dev-requirements.txt coverage==4.5.1 jedi==0.12.1 pylint==1.9.2 pytest==3.6.3 pytest-cov==2.5.1 sphinx==1.7.5 sphinx-rtd-theme==0.4.0 tox==3.1.2 rope==0.10.7 mypy==0.610; python_version >= '3.5' pytest-asyncio==0.8.0; python_version >= '3.5' <|file_sep|>current/dev-requirements.txt coverage==4.5.1 ...
coverage==4.5.1 jedi==0.12.1 pylint==1.9.2 pytest==3.6.3 pytest-cov==2.5.1 sphinx==1.7.5 sphinx-rtd-theme==0.4.0 tox==3.1.2 rope==0.10.7 mypy==0.620; python_version >= '3.5' pytest-asyncio==0.8.0; python_version >= '3.5'
<|file_sep|>original/dev-requirements.txt coverage==4.5.1 jedi==0.12.1 pylint==1.9.2 pytest==3.6.3 pytest-cov==2.5.1 sphinx==1.7.5 sphinx-rtd-theme==0.4.0 tox==3.1.2 rope==0.10.7 mypy==0.610; python_version >= '3.5' pytest-asyncio==0.8.0; python_version >= '3.5' <|file_sep|>current/dev-requirements.txt coverage==4.5.1 ...
5a53bd315018fd9487588e0e265951b97f69b6b6
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/.github/workflows/npm-publish.yml <|file_sep|>current/.github/workflows/npm-publish.yml <|file_sep|>updated/.github/workflows/npm-publish.yml
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages name: Node.js Package on: release: types: [created] jobs: build: runs-on: ...
<|file_sep|>original/.github/workflows/npm-publish.yml <|file_sep|>current/.github/workflows/npm-publish.yml <|file_sep|>updated/.github/workflows/npm-publish.yml # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://help....
8506b95e33c1f3018d4d239cdd8b9c1cf3282514
.github/workflows/npm-publish.yml
.github/workflows/npm-publish.yml
YAML
<|file_sep|>app/controllers/data/merit_controller.rb.diff original: moi = Qernel::Plugins::MeritOrder::MeritOrderInjector.new(@gql.future_graph, true) moi.setup_items moi.send(:calculate_merit_order) updated: order = Qernel::Plugins::MeritOrder.new(@gql.future_graph).order.calculate <|file_sep|>original...
class Data::MeritController < Data::BaseController layout 'application' def index end def download order = Qernel::Plugins::MeritOrder.new(@gql.future_graph).order.calculate contents = CSV.generate do |csv| order.load_curves.each { |row| csv << row } end send_data(contents, type: 'tes...
<|file_sep|>app/controllers/data/merit_controller.rb.diff original: moi = Qernel::Plugins::MeritOrder::MeritOrderInjector.new(@gql.future_graph, true) moi.setup_items moi.send(:calculate_merit_order) updated: order = Qernel::Plugins::MeritOrder.new(@gql.future_graph).order.calculate <|file_sep|>original...
85d37216fae4dc71d52a4c1b38f4a6ced4660b65
app/controllers/data/merit_controller.rb
app/controllers/data/merit_controller.rb
Ruby
<|file_sep|>original/app/views/admin/venues/edit.html.slim .row .col-md-6 h2 Editar lugar = render partial: 'form', locals: { venue: @venue } - if render_map_available?(@venue) .col-md-6 h2 Mapa = render_map @venue, height: 295 if render_map_available?(@venue) <|file_sep|>current/app/views/...
.row .col-md-6 h2 Editar lugar = render partial: 'form', locals: { venue: @venue } - if render_map_available?(@venue) .col-md-6 h2 Mapa = render_map @venue, height: 295
<|file_sep|>original/app/views/admin/venues/edit.html.slim .row .col-md-6 h2 Editar lugar = render partial: 'form', locals: { venue: @venue } - if render_map_available?(@venue) .col-md-6 h2 Mapa = render_map @venue, height: 295 if render_map_available?(@venue) <|file_sep|>current/app/views/...
943b9a0180091603067514d45669f6401d00f3ff
app/views/admin/venues/edit.html.slim
app/views/admin/venues/edit.html.slim
Slim
<|file_sep|>original/nodemcu/socketmodule.lua id = node.chipid() }) if ok then ws:send(json) else print('[WebSocket] Failed to encode JSON!') end end) ws:on('close', function(_, status) print('[WebSocket] Connection closed.', status) ws = nil end) print('[WebSocket] C...
id = node.chipid() }) if ok then ws:send(json) else print('[WebSocket] Failed to encode JSON!') end end) ws:on('close', function(_, status) print('[WebSocket] Connection closed.', status) ws = nil end) print('[WebSocket] Connecting to ws at ws://' .. config.address .....
<|file_sep|>original/nodemcu/socketmodule.lua id = node.chipid() }) if ok then ws:send(json) else print('[WebSocket] Failed to encode JSON!') end end) ws:on('close', function(_, status) print('[WebSocket] Connection closed.', status) ws = nil end) print('[WebSocket] C...
e21d251d61be09fa0038f941d99d7dd704887df1
nodemcu/socketmodule.lua
nodemcu/socketmodule.lua
Lua