prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/posts/2017-02-26-Lesson01-Neurons.md
<|file_sep|>current/posts/2017-02-26-Lesson01-Neurons.md
<|file_sep|>updated/posts/2017-02-26-Lesson01-Neurons.md | # Lesson 01 - Neurons
## AKA - "What the frickity frackity hickity heckity is a neuron?"
[A machine learning researcher in the wild]("http://i.imgur.com/HjwsRbM.png")
## It's easier than you think
People in the machine learning industry love to throw around the word neuron.
And why shouldn't they? It's a great word.... | <|file_sep|>original/posts/2017-02-26-Lesson01-Neurons.md
<|file_sep|>current/posts/2017-02-26-Lesson01-Neurons.md
<|file_sep|>updated/posts/2017-02-26-Lesson01-Neurons.md
# Lesson 01 - Neurons
## AKA - "What the frickity frackity hickity heckity is a neuron?"
[A machine learning researcher in the wild]("http://i.im... | dfc0b752b2b64a6819ff1fe9cde349442d92180a | posts/2017-02-26-Lesson01-Neurons.md | posts/2017-02-26-Lesson01-Neurons.md | Markdown |
<|file_sep|>original/deploy/recipes/default.rb
node[:deploy].each do |application, deploy|
log "message" do
message "The app will be deployed to: #{application} :: #{deploy.inspect}"
level :info
end
opsworks_deploy do
deploy_data deploy
app application
end
script "composer-install" do
... |
node[:deploy].each do |application, deploy|
log "message" do
message "The app will be deployed to: #{application} :: #{deploy.inspect}"
level :info
end
opsworks_deploy do
deploy_data deploy
app application
end
script "composer-install" do
interpreter "bash"
cwd "#{deploy[:deploy_t... | <|file_sep|>original/deploy/recipes/default.rb
node[:deploy].each do |application, deploy|
log "message" do
message "The app will be deployed to: #{application} :: #{deploy.inspect}"
level :info
end
opsworks_deploy do
deploy_data deploy
app application
end
script "composer-install" do
... | 6f69e4cefffabe274aad29217489ad7b17b754e5 | deploy/recipes/default.rb | deploy/recipes/default.rb | Ruby |
<|file_sep|>original/README.md
WalkerCMS
=========
A file-based CMS targeted primarily for simple websites.
<|file_sep|>current/README.md
WalkerCMS
=========
A file-based CMS targeted primarily for simple websites.
<|file_sep|>updated/README.md | WalkerCMS
=========
A file-based CMS targeted primarily for simple websites.
[](https://travis-ci.org/tpwalke2/WalkerCMS) | <|file_sep|>original/README.md
WalkerCMS
=========
A file-based CMS targeted primarily for simple websites.
<|file_sep|>current/README.md
WalkerCMS
=========
A file-based CMS targeted primarily for simple websites.
<|file_sep|>updated/README.md
WalkerCMS
=========
A file-based CMS targeted primarily for simple websi... | cc351fc5090083733003a9edac31b892ed564815 | README.md | README.md | Markdown |
<|file_sep|>original/source/_mailing_list.html.erb
<form action="http://flynn.us7.list-manage.com/subscribe/post?u=9600741fc187618e1baa39a58&id=a2b322e5ab" method="post" target="_blank" novalidate>
<h1>Mailing List</h1>
<label>Email Address
<input type="text" name="EMAIL" placeholder="you@example.com">
... | <form action="https://flynn.us7.list-manage.com/subscribe/post?u=9600741fc187618e1baa39a58&id=a2b322e5ab" method="post" target="_blank" novalidate>
<h1>Mailing List</h1>
<label>Email Address
<input type="text" name="EMAIL" placeholder="you@example.com">
</label>
<button type="submit" class="btn btn-pr... | <|file_sep|>original/source/_mailing_list.html.erb
<form action="http://flynn.us7.list-manage.com/subscribe/post?u=9600741fc187618e1baa39a58&id=a2b322e5ab" method="post" target="_blank" novalidate>
<h1>Mailing List</h1>
<label>Email Address
<input type="text" name="EMAIL" placeholder="you@example.com">
... | b1a28217ff538d83e815aae661669745c10588e4 | source/_mailing_list.html.erb | source/_mailing_list.html.erb | HTML+ERB |
<|file_sep|>original/project.clj
(defproject puppetlabs/kitchensink "0.1.1"
:description "Clojure utility functions"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
;; Logging
... | (defproject puppetlabs/kitchensink "0.1.2-SNAPSHOT"
:description "Clojure utility functions"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
;; Logging
[org.clojure/tool... | <|file_sep|>original/project.clj
(defproject puppetlabs/kitchensink "0.1.1"
:description "Clojure utility functions"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
;; Logging
... | 0680f4c02242e754aa04f632840868e0219680e6 | project.clj | project.clj | Clojure |
<|file_sep|>original/js/views/ControlPanel.js
<View style={Styles.controlPanel.container}>
<ControlPanelItem
onPress={()=>{
this.props.closeDrawer();
this.props.logout();
}}
text="Logout"
/>
<ControlPanelItem
onPress={()=>{
... | <View style={Styles.controlPanel.container}>
<ControlPanelItem
onPress={()=>{
this.props.closeDrawer();
this.props.logout();
}}
text="Logout"
/>
<ControlPanelItem
onPress={()=>{
this.props.navigator.push({name: 'su... | <|file_sep|>original/js/views/ControlPanel.js
<View style={Styles.controlPanel.container}>
<ControlPanelItem
onPress={()=>{
this.props.closeDrawer();
this.props.logout();
}}
text="Logout"
/>
<ControlPanelItem
onPress={()=>{
... | 8ae2e5c4d2db2dc016e1deca3319e2de07cc4519 | js/views/ControlPanel.js | js/views/ControlPanel.js | JavaScript |
<|file_sep|>internal/integration/integration_suite_test.go.diff
original:
headlessOnly bool
updated:
headlessOnly = os.Getenv("HEADLESS_ONLY") == "true"
<|file_sep|>original/internal/integration/integration_suite_test.go
)
var (
phantomDriver WebDriver
chromeDriver WebDriver
seleniumDriver WebDriver
headl... | )
var (
phantomDriver WebDriver
chromeDriver WebDriver
seleniumDriver WebDriver
headlessOnly = os.Getenv("HEADLESS_ONLY") == "true"
)
func TestIntegration(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Integration Suite")
}
var _ = BeforeSuite(func() {
phantomDriver, _ = PhantomJS()
Expect(phant... | <|file_sep|>internal/integration/integration_suite_test.go.diff
original:
headlessOnly bool
updated:
headlessOnly = os.Getenv("HEADLESS_ONLY") == "true"
<|file_sep|>original/internal/integration/integration_suite_test.go
)
var (
phantomDriver WebDriver
chromeDriver WebDriver
seleniumDriver WebDriver
headl... | b0c716ac1de7d8d75bb8b5c58efb9c3bf0d93bbd | internal/integration/integration_suite_test.go | internal/integration/integration_suite_test.go | Go |
<|file_sep|>original/source/projects/inkpaper.md
---
title: InkPaper
repo: InkProject/ink
homepage: http://www.inkpaper.io/
language: Golang
license: MIT
templates: GO Template
description: 'InkPaper is an elegant, extremely fast static blog generator.'
---
An elegant static blog generator, powered by Golang.
### Eas... | ---
title: InkPaper
repo: InkProject/ink
homepage: http://www.inkpaper.io/
language: Go
license: MIT
templates: GO Template
description: 'InkPaper is an elegant, extremely fast static blog generator.'
---
An elegant static blog generator, powered by Golang.
### Easy Use
Simple & Cross Platform
### Fast Build
1000+... | <|file_sep|>original/source/projects/inkpaper.md
---
title: InkPaper
repo: InkProject/ink
homepage: http://www.inkpaper.io/
language: Golang
license: MIT
templates: GO Template
description: 'InkPaper is an elegant, extremely fast static blog generator.'
---
An elegant static blog generator, powered by Golang.
### Eas... | 1df85618cdcf0a116ff1020d0dde9d08029db171 | source/projects/inkpaper.md | source/projects/inkpaper.md | Markdown |
<|file_sep|>original/README.md
#ChamberLib [](https://travis-ci.org/izrik/ChamberLib) [](http://www.nuget.org/packages/ChamberLib) [](http://www... | #ChamberLib [](https://travis-ci.org/izrik/ChamberLib) [](http://www.nuget.org/packages/ChamberLib)
A cross-platform library to make 3D graphics a little easier. | <|file_sep|>original/README.md
#ChamberLib [](https://travis-ci.org/izrik/ChamberLib) [](http://www.nuget.org/packages/ChamberLib) [](http://www... | 03a6d5752762c7a1fe2649ac811a79c955d090c2 | README.md | README.md | Markdown |
<|file_sep|>original/test/Interpreter/enum_runtime_alignment.swift
<|file_sep|>current/test/Interpreter/enum_runtime_alignment.swift
<|file_sep|>updated/test/Interpreter/enum_runtime_alignment.swift | // Also run this test in optimize test modes.
// REQUIRES: executable_test
// RUN: %target-run-simple-swift | FileCheck %s
struct Structure {
var a: UInt8
var b: UInt8
var c: UInt8
}
enum Enum: Int {
case One, Two, Three, Four
}
var x: [Enum: (Structure?, Structure?)] = [
.One: (Structure(a: 1, b: 2, c:... | <|file_sep|>original/test/Interpreter/enum_runtime_alignment.swift
<|file_sep|>current/test/Interpreter/enum_runtime_alignment.swift
<|file_sep|>updated/test/Interpreter/enum_runtime_alignment.swift
// Also run this test in optimize test modes.
// REQUIRES: executable_test
// RUN: %target-run-simple-swift | FileChec... | d75c6b43766b1753a724ee6462bc2f0b4a0cb215 | test/Interpreter/enum_runtime_alignment.swift | test/Interpreter/enum_runtime_alignment.swift | Swift |
<|file_sep|>original/src/ts/worker/senders.ts
const block = getBlock(codePoint)
const bytes = getBytes(input)
const character = input
const name = (State.names) ? State.names[codePoint] || 'Unknown' : 'Loading…'
const message: DisplayMessage = {
action: 'display',
block,
bytes,
character,
... |
const block = getBlock(codePoint)
const bytes = getBytes(input)
const character = input
const name = (State.names) ? State.names[codePoint] || 'Unknown' : 'Loading…'
const message: DisplayMessage = {
action: 'display',
block: block,
bytes: bytes,
character: character,
codePoint: codePoin... | <|file_sep|>original/src/ts/worker/senders.ts
const block = getBlock(codePoint)
const bytes = getBytes(input)
const character = input
const name = (State.names) ? State.names[codePoint] || 'Unknown' : 'Loading…'
const message: DisplayMessage = {
action: 'display',
block,
bytes,
character,
... | 4e6d6720eebfab561dd17843a95a6c95692add90 | src/ts/worker/senders.ts | src/ts/worker/senders.ts | TypeScript |
<|file_sep|>lib/lifesaver/indexing/model_additions.rb.diff
original:
updated:
operation = options[:operation]
<|file_sep|>original/lib/lifesaver/indexing/model_additions.rb
def suppress_indexing
@indexing_suppressed = true
end
def unsuppress_indexing
@indexing_suppressed = fa... | @indexing_suppressed = true
end
def unsuppress_indexing
@indexing_suppressed = false
end
private
def enqueue_indexing(options)
operation = options[:operation]
Lifesaver::Indexing::Enqueuer.new(model: self,
operati... | <|file_sep|>lib/lifesaver/indexing/model_additions.rb.diff
original:
updated:
operation = options[:operation]
<|file_sep|>original/lib/lifesaver/indexing/model_additions.rb
def suppress_indexing
@indexing_suppressed = true
end
def unsuppress_indexing
@indexing_suppressed = fa... | 21384ebb9342b03cf3cd6c71d958139bec67c647 | lib/lifesaver/indexing/model_additions.rb | lib/lifesaver/indexing/model_additions.rb | Ruby |
<|file_sep|>spec/utils_spec.rb.diff
original:
expect(h.key?('key_name')).to be_truthy
updated:
expect(h.key?('key_name')).to eq(true)
<|file_sep|>spec/utils_spec.rb.diff
original:
expect(h.normalize.key?('key_name')).to be_truthy
updated:
expect(h.normalize.key?('key_name')).to eq(true)
<|file_sep|>spec... | expect(h.key?('key_name')).to eq(true)
end
it 'should normalize symbol keys' do
h = { KeyName: 'Value' }
expect(h[:KeyName]).to eq('Value')
expect(h.normalize.key?(:KeyName)).to be_falsy
expect(h.normalize.key?('key_name')).to eq(true)
end
it 'should normalize nested data' do
h = {
... | <|file_sep|>spec/utils_spec.rb.diff
original:
expect(h.key?('key_name')).to be_truthy
updated:
expect(h.key?('key_name')).to eq(true)
<|file_sep|>spec/utils_spec.rb.diff
original:
expect(h.normalize.key?('key_name')).to be_truthy
updated:
expect(h.normalize.key?('key_name')).to eq(true)
<|file_sep|>spec... | 94abfed7b8a0f9865de41e6ca5f91f873b68658d | spec/utils_spec.rb | spec/utils_spec.rb | Ruby |
<|file_sep|>lib/ws_light/set/color_set.rb.diff
original:
updated:
@type = type
<|file_sep|>original/lib/ws_light/set/color_set.rb
class ColorSet
DEFAULT_LENGTH = 160
DEFAULT_TYPE = :double
attr_accessor :type, :length, :color
def initialize(length = DEFAULT_LENGTH, type = DEFAULT_... | class ColorSet
DEFAULT_LENGTH = 160
DEFAULT_TYPE = :double
attr_accessor :type, :length, :color
def initialize(length = DEFAULT_LENGTH, type = DEFAULT_TYPE)
@length = length
@type = type
@full_length = (@type == :double ? @length * 2 : @length)
@color = Colo... | <|file_sep|>lib/ws_light/set/color_set.rb.diff
original:
updated:
@type = type
<|file_sep|>original/lib/ws_light/set/color_set.rb
class ColorSet
DEFAULT_LENGTH = 160
DEFAULT_TYPE = :double
attr_accessor :type, :length, :color
def initialize(length = DEFAULT_LENGTH, type = DEFAULT_... | bf20c103cd36774d475b9a9d5bf57b1e89e49574 | lib/ws_light/set/color_set.rb | lib/ws_light/set/color_set.rb | Ruby |
<|file_sep|>original/starters/index.html
<|file_sep|>current/starters/index.html
<|file_sep|>updated/starters/index.html | <!doctype html>
<title>Servo, the parallel browser engine</title>
<meta http-equiv=refresh content="0;url=http://servo.github.io/servo-starters/">
Take a look at our issues that are <a href="http://servo.github.io/servo-starters/">appropriate for newcomers!</a> | <|file_sep|>original/starters/index.html
<|file_sep|>current/starters/index.html
<|file_sep|>updated/starters/index.html
<!doctype html>
<title>Servo, the parallel browser engine</title>
<meta http-equiv=refresh content="0;url=http://servo.github.io/servo-starters/">
Take a look at our issues that are <a href="http:... | fd5daf9522c99c7e623ef754d695147f4c722242 | starters/index.html | starters/index.html | HTML |
<|file_sep|>original/doc/images/source.images/testerGif/Readme.md
<|file_sep|>current/doc/images/source.images/testerGif/Readme.md
<|file_sep|>updated/doc/images/source.images/testerGif/Readme.md | # How to make GIF
GIF-image makes by online tool <https://ezgif.com>
- Visit site <https://ezgif.com>.
- Choose page [GIF maker](https://ezgif.com/maker).
- Upload files.
- Change timings, order, a number of frames if it needs.
- Add effects if it needs.
- Press button [Make a GIF!]() below the frames.
- Download GIF... | <|file_sep|>original/doc/images/source.images/testerGif/Readme.md
<|file_sep|>current/doc/images/source.images/testerGif/Readme.md
<|file_sep|>updated/doc/images/source.images/testerGif/Readme.md
# How to make GIF
GIF-image makes by online tool <https://ezgif.com>
- Visit site <https://ezgif.com>.
- Choose page [GI... | 0f96edf12334d8551ab34baf7bb921f44f3f9d12 | doc/images/source.images/testerGif/Readme.md | doc/images/source.images/testerGif/Readme.md | Markdown |
<|file_sep|>test/tickets/LDEV1467.cfc.diff
original:
it(title="Checking REMatch() is not support with line breaks ", body = function( currentSpec ) {
updated:
it(title="Checking REMatch() with line breaks ", body = function( currentSpec ) {
<|file_sep|>original/test/tickets/LDEV1467.cfc
component extends="org.luc... | component extends="org.lucee.cfml.test.LuceeTestCase"{
function run( testResults , testBox ) {
describe( title="Test suite for LDEV-1467", body=function() {
it(title="Checking REMatch() with line breaks ", body = function( currentSpec ) {
REMatchTest = ArrayLen( REMatch( '.', Chr( 10 ) ) );
expect(REMatch... | <|file_sep|>test/tickets/LDEV1467.cfc.diff
original:
it(title="Checking REMatch() is not support with line breaks ", body = function( currentSpec ) {
updated:
it(title="Checking REMatch() with line breaks ", body = function( currentSpec ) {
<|file_sep|>original/test/tickets/LDEV1467.cfc
component extends="org.luc... | 4f31a9df678bf1f9b34347c52a4fd890727e1289 | test/tickets/LDEV1467.cfc | test/tickets/LDEV1467.cfc | ColdFusion CFC |
<|file_sep|>original/app/hooks/views.py
from __future__ import absolute_import
from __future__ import unicode_literals
from app import app, webhooks
@webhooks.hook(app.config.get('GITLAB_HOOK'), handler='gitlab')
class Gitlab:
def issue(self, data):
pass
def push(self, data):
pass
def ta... | from __future__ import absolute_import
from __future__ import unicode_literals
from app import app, webhooks
@webhooks.hook(
app.config.get('GITLAB_HOOK','/hooks/gitlab'),
handler='gitlab')
class Gitlab:
def issue(self, data):
pass
def push(self, data):
pass
def tag_push(self, da... | <|file_sep|>original/app/hooks/views.py
from __future__ import absolute_import
from __future__ import unicode_literals
from app import app, webhooks
@webhooks.hook(app.config.get('GITLAB_HOOK'), handler='gitlab')
class Gitlab:
def issue(self, data):
pass
def push(self, data):
pass
def ta... | 030a786db1c0602125bfe4093c6a5709b0202858 | app/hooks/views.py | app/hooks/views.py | Python |
<|file_sep|>presto-main/src/test/java/com/facebook/presto/operator/aggregation/TestApproximateCountDoubleAggregation.java.diff
original:
import static com.facebook.presto.spi.type.BigintType.BIGINT;
updated:
import static com.facebook.presto.spi.type.DoubleType.DOUBLE;
<|file_sep|>original/presto-main/src/test/java/com... |
import static com.facebook.presto.operator.aggregation.ApproximateCountColumnAggregations.DOUBLE_APPROXIMATE_COUNT_AGGREGATION;
import static com.facebook.presto.spi.type.DoubleType.DOUBLE;
public class TestApproximateCountDoubleAggregation
extends AbstractTestApproximateAggregationFunction
{
@Override
... | <|file_sep|>presto-main/src/test/java/com/facebook/presto/operator/aggregation/TestApproximateCountDoubleAggregation.java.diff
original:
import static com.facebook.presto.spi.type.BigintType.BIGINT;
updated:
import static com.facebook.presto.spi.type.DoubleType.DOUBLE;
<|file_sep|>original/presto-main/src/test/java/com... | 19585101ef0647a59be5db9feb1feefce0125a66 | presto-main/src/test/java/com/facebook/presto/operator/aggregation/TestApproximateCountDoubleAggregation.java | presto-main/src/test/java/com/facebook/presto/operator/aggregation/TestApproximateCountDoubleAggregation.java | Java |
<|file_sep|>original/codecheck-requirements.txt
-r docs/requirements.txt
pylint==2.6.0
pytype==2021.1.8
<|file_sep|>current/codecheck-requirements.txt
-r docs/requirements.txt
pylint==2.6.0
pytype==2021.1.8
<|file_sep|>updated/codecheck-requirements.txt | -r docs/requirements.txt
pylint==2.6.0
pytype==2021.1.14 | <|file_sep|>original/codecheck-requirements.txt
-r docs/requirements.txt
pylint==2.6.0
pytype==2021.1.8
<|file_sep|>current/codecheck-requirements.txt
-r docs/requirements.txt
pylint==2.6.0
pytype==2021.1.8
<|file_sep|>updated/codecheck-requirements.txt
-r docs/requirements.txt
pylint==2.6.0
pytype==2021.1.14 | 93a1f1013aaf9a7b49add32ced094ed36aca345c | codecheck-requirements.txt | codecheck-requirements.txt | Text |
<|file_sep|>original/HISTORY.rst
.. :changelog:
History
=======
0.4.2 (2016-03-13)
------------------
* Complete data elements added to default config.
* Added versioneer support for easier package versions
0.4.1 (2015-12-16)
------------------
* Additional data elements added to default config file.
0.4.0 (2015-10-... | .. :changelog:
History
=======
0.4.5 (2016-08-05)
------------------
* check that all of message consumed by fields otherwise raise execption
* get rid of a heap of debugging prints that were clogging the output
0.4.4-0.4.3 (2016-08-03)
------------------------
* Fix issue with mideu when no parameters passed (stack ... | <|file_sep|>original/HISTORY.rst
.. :changelog:
History
=======
0.4.2 (2016-03-13)
------------------
* Complete data elements added to default config.
* Added versioneer support for easier package versions
0.4.1 (2015-12-16)
------------------
* Additional data elements added to default config file.
0.4.0 (2015-10-... | cbb51c3ff611f4c473d57fc5c04b0c027f431315 | HISTORY.rst | HISTORY.rst | reStructuredText |
<|file_sep|>original/guild/tests/uat/run-hello-package-examples.md
# Run `gpkg.hello` package examples
Default (using model ref):
>>> run("guild run -y hello:default --label test-1")
Hello Guild!
<exit 0>
Flag (using full package ref):
>>> run("guild run -y gpkg.hello/hello:from-flag --label test-2"... | # Run `gpkg.hello` package examples
Delete runs for test:
>>> quiet("guild runs rm -y")
Default (using model ref):
>>> run("guild run -y hello:default --label test-1")
Hello Guild!
<exit 0>
Flag (using full package ref):
>>> run("guild run -y gpkg.hello/hello:from-flag --label test-2")
Hel... | <|file_sep|>original/guild/tests/uat/run-hello-package-examples.md
# Run `gpkg.hello` package examples
Default (using model ref):
>>> run("guild run -y hello:default --label test-1")
Hello Guild!
<exit 0>
Flag (using full package ref):
>>> run("guild run -y gpkg.hello/hello:from-flag --label test-2"... | 45f0acbed91463d9cca194134ebaf170a7a128f5 | guild/tests/uat/run-hello-package-examples.md | guild/tests/uat/run-hello-package-examples.md | Markdown |
<|file_sep|>src/forc.js.diff
original:
}
function isFunction (value) {
return typeof value === 'function'
}
function isUndefined (value) {
return typeof value === 'undefined'
updated:
<|file_sep|>original/src/forc.js
yield body({[key]: item})
}
}
}
function isFunction (value) {
return typeof value... | for (const item of iter) {
if (!isUndefined(prev)) {
yield [prev, item]
prev = undefined
} else {
prev = item
}
}
if (!isUndefined(prev)) {
throw new Error(`Iterable pairs require an even number of forms (last key was "${prev}")`)
}
}
function isFunction (value) {
return ty... | <|file_sep|>src/forc.js.diff
original:
}
function isFunction (value) {
return typeof value === 'function'
}
function isUndefined (value) {
return typeof value === 'undefined'
updated:
<|file_sep|>original/src/forc.js
yield body({[key]: item})
}
}
}
function isFunction (value) {
return typeof value... | 06a6fc66096fbc88e64e187323bf5f75adaff063 | src/forc.js | src/forc.js | JavaScript |
<|file_sep|>lib/akamai_api/cp_code.rb.diff
original:
response, result = [], []
updated:
<|file_sep|>lib/akamai_api/cp_code.rb.diff
original:
# We want an array to loop
response = [response] if response.is_a? Hash
response.map do |hash|
result << new({
updated:
Array.wrap(respons... |
def initialize attributes
attributes.each do |key, value|
send "#{key}=", value
end
end
def self.all
basic_auth *AkamaiApi.config[:auth]
response = client.request('getCPCodes').body[:multi_ref]
Array.wrap(response).map do |hash|
new({
:code =... | <|file_sep|>lib/akamai_api/cp_code.rb.diff
original:
response, result = [], []
updated:
<|file_sep|>lib/akamai_api/cp_code.rb.diff
original:
# We want an array to loop
response = [response] if response.is_a? Hash
response.map do |hash|
result << new({
updated:
Array.wrap(respons... | 815a0e9cb813128e4afcbb577dff1ff4eb5cedb4 | lib/akamai_api/cp_code.rb | lib/akamai_api/cp_code.rb | Ruby |
<|file_sep|>original/.github/workflows/nodejs.yml
name: ci
on: [pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [10.x, 12.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: setup git
if: matr... | name: ci
on: [pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [10.x, 12.x, 14.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: setup git
if: matrix.os == 'windows-latest'
run: |
... | <|file_sep|>original/.github/workflows/nodejs.yml
name: ci
on: [pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [10.x, 12.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: setup git
if: matr... | 6c6b979556fbd29b7005824e7f09e962b71e0624 | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>package.json.diff
original:
"node": "~0.10.0"
updated:
"node": ">= 0.10.0"
<|file_sep|>original/package.json
"license": "BSD-2",
"engines": {
"node": "~0.10.0"
},
"dependencies": {
"noder.i... | "license": "BSD-2",
"engines": {
"node": ">= 0.10.0"
},
"dependencies": {
"noder.io": "~0.2.0",
"express": "~3.4.8",
"express-load": "~1.1.9"
},
"devDependencies": {
"unit.js": ">= 0.1.6 < 1.0.0"
},
"repository": {
"type": "git",
"url": "git@github.com:noder-io/n... | <|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.1",
<|file_sep|>package.json.diff
original:
"node": "~0.10.0"
updated:
"node": ">= 0.10.0"
<|file_sep|>original/package.json
"license": "BSD-2",
"engines": {
"node": "~0.10.0"
},
"dependencies": {
"noder.i... | 53e6e8f4f1d53444b7e80c035868d639a975cc1d | package.json | package.json | JSON |
<|file_sep|>original/app/assets/javascripts/angular/controllers/result_controller.js.coffee
angular
.module("Poll")
.controller "ResultController", ["$scope", "$interval", "Pusher", ($scope, $interval, Pusher) ->
$scope.ctx = $('canvas')[0].getContext("2d")
$scope.chartData = []
$scope.chartOpti... | angular
.module("Poll")
.controller "ResultController", ["$scope", "$interval", "Pusher", ($scope, $interval, Pusher) ->
$scope.ctx = $('canvas')[0].getContext("2d")
$scope.chartData = []
$scope.chartOptions = {
responsive: true
showTooltips: false
animationSteps: 45
... | <|file_sep|>original/app/assets/javascripts/angular/controllers/result_controller.js.coffee
angular
.module("Poll")
.controller "ResultController", ["$scope", "$interval", "Pusher", ($scope, $interval, Pusher) ->
$scope.ctx = $('canvas')[0].getContext("2d")
$scope.chartData = []
$scope.chartOpti... | af03f3c2d056956e78eaf318efe30907c7b531f1 | app/assets/javascripts/angular/controllers/result_controller.js.coffee | app/assets/javascripts/angular/controllers/result_controller.js.coffee | CoffeeScript |
<|file_sep|>original/resources/recursor_install.rb
# 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 ag... | # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
property :instance_name, String, name_property: true
property :version,... | <|file_sep|>original/resources/recursor_install.rb
# 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 ag... | b4ddf2b80e098c33d494d8db48e4f8db88f7c519 | resources/recursor_install.rb | resources/recursor_install.rb | Ruby |
<|file_sep|>packages/ty/typography-geometry.yaml.diff
original:
hash: c1b6bf14538b0e81dfed245dcdd1b4e3e0200c3e7f894fe32c90b2bc6c7a4889
updated:
hash: 121f2e7f373aa3b61d6cfa440c78c0c0c14db02e9900b0fe85d8464430a03b77
<|file_sep|>packages/ty/typography-geometry.yaml.diff
original:
maintainer: Pierre-Etienne Meunier <pierr... | changelog-type: ''
hash: 121f2e7f373aa3b61d6cfa440c78c0c0c14db02e9900b0fe85d8464430a03b77
test-bench-deps: {}
maintainer: Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>
synopsis: Drawings for printed text documents
changelog: ''
basic-deps:
polynomials-bernstein: -any
base: <5
containers: -any
paralle... | <|file_sep|>packages/ty/typography-geometry.yaml.diff
original:
hash: c1b6bf14538b0e81dfed245dcdd1b4e3e0200c3e7f894fe32c90b2bc6c7a4889
updated:
hash: 121f2e7f373aa3b61d6cfa440c78c0c0c14db02e9900b0fe85d8464430a03b77
<|file_sep|>packages/ty/typography-geometry.yaml.diff
original:
maintainer: Pierre-Etienne Meunier <pierr... | ff6088bfee7c2d19b378b88c52802adfe2e083fc | packages/ty/typography-geometry.yaml | packages/ty/typography-geometry.yaml | YAML |
<|file_sep|>original/SeriesGuide/res/layout/sliding_menu_row_item.xml
android:layout_height="wrap_content" >
<ImageView
android:id="@+id/menu_icon"
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="@dimen/default_padding"
android:src="@drawable/ic... | android:layout_height="wrap_content" >
<ImageView
android:id="@+id/menu_icon"
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="@dimen/default_padding"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/menu_title"
... | <|file_sep|>original/SeriesGuide/res/layout/sliding_menu_row_item.xml
android:layout_height="wrap_content" >
<ImageView
android:id="@+id/menu_icon"
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="@dimen/default_padding"
android:src="@drawable/ic... | 15bec35edb4827ea786157b77eccdec104fafb58 | SeriesGuide/res/layout/sliding_menu_row_item.xml | SeriesGuide/res/layout/sliding_menu_row_item.xml | XML |
<|file_sep|>original/src/app/utils/EmployeeList.js
const list = `
ned
sneak
vandeberg
andrarchy
roelandp
goldibex
steem
steemit
steemitblog
steemitdev
admin
steemit1
steemit2
steemit3
`
.trim()
.split('\n');
export default list;
<|file_sep|>current/src/app/utils/EmployeeList.js
const list = `
ned
sneak
vandebe... | const list = `
ned
sneak
vandeberg
andrarchy
roelandp
goldibex
roadscape
steem
steemit
steemitblog
steemitdev
admin
steemit1
steemit2
steemit3
`
.trim()
.split('\n');
export default list; | <|file_sep|>original/src/app/utils/EmployeeList.js
const list = `
ned
sneak
vandeberg
andrarchy
roelandp
goldibex
steem
steemit
steemitblog
steemitdev
admin
steemit1
steemit2
steemit3
`
.trim()
.split('\n');
export default list;
<|file_sep|>current/src/app/utils/EmployeeList.js
const list = `
ned
sneak
vandebe... | 05e1814870a8aaa828f754faaf1e4c20b85f066f | src/app/utils/EmployeeList.js | src/app/utils/EmployeeList.js | JavaScript |
<|file_sep|>src/main/web/templates/handlebars/list/partials/paginator.handlebars.diff
original:
<li class="flush">
updated:
<li class="margin-top-sm--0 margin-top-md--0">
<|file_sep|>src/main/web/templates/handlebars/list/partials/paginator.handlebars.diff
original:
<li class="flush">
updated:
<li class="margin... | <li class="margin-top-sm--0 margin-top-md--0">
<a href="{{location.pathname}}{{query_string exclude="page"}}page={{decrement paginator.currentPage}}" class="page-link btn btn--plain">Prev</a>
</li>
{{/if_ne}}
{{#each paginator.pages}}
<li class="margin-top-sm--0 margin-top-md--0">
{{#if_eq this paginato... | <|file_sep|>src/main/web/templates/handlebars/list/partials/paginator.handlebars.diff
original:
<li class="flush">
updated:
<li class="margin-top-sm--0 margin-top-md--0">
<|file_sep|>src/main/web/templates/handlebars/list/partials/paginator.handlebars.diff
original:
<li class="flush">
updated:
<li class="margin... | 51b2894ef759f91d0675fd81a36f024f0503e04f | src/main/web/templates/handlebars/list/partials/paginator.handlebars | src/main/web/templates/handlebars/list/partials/paginator.handlebars | Handlebars |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "2.0.0"
- "1.9.3"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "2.0.0"
- "1.9.3"
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.1.2
- 2.0.0
- 1.9.3
deploy:
provider: rubygems
api_key:
secure: E1RIsTEaqHLqOxgcYac+0hAo6gWeJgWkbRnlqMkoL1uL7r+69JRwJ13NPa/BEzn87ukJ4/arRRC6TI9NFtof3TbN7uceVjab2kVQmqjNxva5OZBGE4V+a/4i6PN1nzmDESijQtdMxvSE4tt4xcCzSKjR1abKETwItCp2sehCzDoVG7SmUt0NsiLv57NCmq3APJYvn9bcnA3R1zfTYoRkCePdoeZBs3m+... | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "2.0.0"
- "1.9.3"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- "2.1.2"
- "2.0.0"
- "1.9.3"
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.1.2
- 2.0.0
- 1.9.3
deploy:
provider: rubygems
api_key:
secure: E1RIsTEaqHLqOxg... | 38e6fd74fd2b81bafc1ebafcbb45fca6de15bf2e | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- "nightly"
<|file_sep|>original/.travis.yml
language: php
php:
- "5.4"
- "5.5"
- "5.6"
- "hhvm"
before_script:
- composer install --no-interaction
- cp config/app_travis.php config/app.php
- cp config/oauth_example.php config/oauth.php
- mysql -e 'crea... | - "5.4"
- "5.5"
- "5.6"
- "nightly"
- "hhvm"
before_script:
- composer install --no-interaction
- cp config/app_travis.php config/app.php
- cp config/oauth_example.php config/oauth.php
- mysql -e 'create database pmaerr;'
- wget https://scrutinizer-ci.com/ocular.phar
script:
- bin/cake migrations ... | <|file_sep|>.travis.yml.diff
original:
updated:
- "nightly"
<|file_sep|>original/.travis.yml
language: php
php:
- "5.4"
- "5.5"
- "5.6"
- "hhvm"
before_script:
- composer install --no-interaction
- cp config/app_travis.php config/app.php
- cp config/oauth_example.php config/oauth.php
- mysql -e 'crea... | 13157d4c2fce931cdacf0f8248541691ca5b72fa | .travis.yml | .travis.yml | YAML |
<|file_sep|>modules/api/src/java/no/kantega/publishing/api/ui/UIContributionAdapter.java.diff
original:
updated:
import org.springframework.beans.factory.annotation.Autowired;
import java.util.ArrayList;
<|file_sep|>modules/api/src/java/no/kantega/publishing/api/ui/UIContributionAdapter.java.diff
original:
updated:
... | * {@inheritDoc}
*/
public List<MenuItem> getRootMenuItems() {
return Collections.emptyList();
}
/**
* {@inheritDoc}
*/
public List<MenuItem> getAdminMenuItems() {
return adminMenuItems;
}
public void setAdminMenuLinkMap(Map<String, Object> adminMenuLinks) {
... | <|file_sep|>modules/api/src/java/no/kantega/publishing/api/ui/UIContributionAdapter.java.diff
original:
updated:
import org.springframework.beans.factory.annotation.Autowired;
import java.util.ArrayList;
<|file_sep|>modules/api/src/java/no/kantega/publishing/api/ui/UIContributionAdapter.java.diff
original:
updated:
... | 58226ed5eeda9e7bfe04573e1741de8ae72788cb | modules/api/src/java/no/kantega/publishing/api/ui/UIContributionAdapter.java | modules/api/src/java/no/kantega/publishing/api/ui/UIContributionAdapter.java | Java |
<|file_sep|>original/templateListener.xml
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/templatelistener.xsd">
<import>
<templatelistener name="accountManagementTw... | <import>
<templatelistener name="accountManagementTwoFA">
<environment>user</environment>
<templatename>accountManagement</templatename>
<eventname>fieldsets</eventname>
<templatecode><![CDATA[{include file='__twofaAccountManagement'}]]></templatecode>
</templatelistener>
<templatelistener name="user... | <|file_sep|>original/templateListener.xml
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/templatelistener.xsd">
<import>
<templatelistener name="accountManagementTw... | 9e1589019fe5170d01a4a8b3e7f32ec53fdf7a93 | templateListener.xml | templateListener.xml | XML |
<|file_sep|>.travis.yml.diff
original:
updated:
- 1.8.7
- jruby-18mode
<|file_sep|>.travis.yml.diff
original:
updated:
- gemfiles/Gemfile.rails-4.0.x
- gemfiles/Gemfile.rails-4.1.x
<|file_sep|>original/.travis.yml
script: "bundle exec rake test"
rvm:
- 1.9.3
- jruby-19mode
- 2.0.0
- 2.1.1
- rbx-2
ge... | - gemfiles/Gemfile.rails-3.1.x
- gemfiles/Gemfile.rails-3.2.x
- gemfiles/Gemfile.rails-4.0.x
- gemfiles/Gemfile.rails-4.1.x
- Gemfile
matrix:
exclude:
- rvm: 1.8.7
gemfile: Gemfile
- rvm: jruby-18mode
gemfile: Gemfile
- rvm: 1.8.7
gemfile: gemfiles/Gemfile.rails-4.1.x
- rvm... | <|file_sep|>.travis.yml.diff
original:
updated:
- 1.8.7
- jruby-18mode
<|file_sep|>.travis.yml.diff
original:
updated:
- gemfiles/Gemfile.rails-4.0.x
- gemfiles/Gemfile.rails-4.1.x
<|file_sep|>original/.travis.yml
script: "bundle exec rake test"
rvm:
- 1.9.3
- jruby-19mode
- 2.0.0
- 2.1.1
- rbx-2
ge... | e8d983ce2683cd84d8104601c78ebd7efbbd7a5c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt
<|file_sep|>current/src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt
<|file_sep|>updated/src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt | package com.redust.redust.middleware.logger
import com.redust.redust.Action
import com.redust.redust.middleware.Middleware
class LoggerMiddleware<State>(private val thirdPartLogger: (String) -> Any? = { java.util.logging.Logger.getGlobal().info(it) }) : Middleware<State> {
override fun compose(reducer: (State, Ac... | <|file_sep|>original/src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt
<|file_sep|>current/src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt
<|file_sep|>updated/src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt
package com.redust.redust.middleware.logg... | e450cbda962af7a85e402867b645c4267e2aa968 | src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt | src/main/kotlin/com/redust/redust/middleware/logger/LoggerMiddleware.kt | Kotlin |
<|file_sep|>original/frontend-maven-plugin/src/it/settings.xml
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<!-- Just to test proxy configurat... | </releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>local.central</id>
... | <|file_sep|>original/frontend-maven-plugin/src/it/settings.xml
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<!-- Just to test proxy configurat... | 57a4cead0b4d7c09dcf9cd4954ab17d40067016f | frontend-maven-plugin/src/it/settings.xml | frontend-maven-plugin/src/it/settings.xml | XML |
<|file_sep|>bower.json.diff
original:
"dependencies": {},
updated:
"dependencies": {
"jquery": "~1.11.1"
},
<|file_sep|>original/bower.json
{
"name": "respondr",
"version": "0.0.0",
"dependencies": {},
"devDependencies": {
"qunit": "~1.12.0",
"jquery": "~1.11.1"
}
}
<|file_sep|>current/bower... | {
"name": "respondr",
"version": "0.0.0",
"dependencies": {
"jquery": "~1.11.1"
},
"devDependencies": {
"qunit": "~1.12.0"
}
} | <|file_sep|>bower.json.diff
original:
"dependencies": {},
updated:
"dependencies": {
"jquery": "~1.11.1"
},
<|file_sep|>original/bower.json
{
"name": "respondr",
"version": "0.0.0",
"dependencies": {},
"devDependencies": {
"qunit": "~1.12.0",
"jquery": "~1.11.1"
}
}
<|file_sep|>current/bower... | 7961061a2e78aaf9deca4ea71b784278035a3ab2 | bower.json | bower.json | JSON |
<|file_sep|>package.json.diff
original:
"version": "0.5.0",
updated:
"version": "0.5.1",
<|file_sep|>original/package.json
{
"name": "analyze-es6-modules",
"version": "0.5.0",
"description": "Performs static analysis of ES6 modules in your codebase.",
"keywords": ["es6", "modules", "es6 modules"],
"license": "MI... | {
"name": "analyze-es6-modules",
"version": "0.5.1",
"description": "Performs static analysis of ES6 modules in your codebase.",
"keywords": ["es6", "modules", "es6 modules"],
"license": "MIT",
"author": {
"name": "Gordon Kristan"
},
"main": "index.js",
"files": ["dist", "index.js", "package.json", "LICENSE"... | <|file_sep|>package.json.diff
original:
"version": "0.5.0",
updated:
"version": "0.5.1",
<|file_sep|>original/package.json
{
"name": "analyze-es6-modules",
"version": "0.5.0",
"description": "Performs static analysis of ES6 modules in your codebase.",
"keywords": ["es6", "modules", "es6 modules"],
"license": "MI... | 997547cd0ae5805d6cd70283836f6198ddf557ba | package.json | package.json | JSON |
<|file_sep|>original/db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb
class DestroyNonExistingGitHubUsers < ActiveRecord::Migration[5.1]
def up
unless ENV['RAILS_ENV'] == 'development'
User.find_each do |user|
if user.github_id == nil
puts "removing user #{user.id} from data... | class DestroyNonExistingGitHubUsers < ActiveRecord::Migration[5.1]
def up
unless ENV['RAILS_ENV'] == 'development'
User.where(github_id: nil).destroy_all.each do |user|
puts "removed user #{user.id} from database"
end
end
end
end | <|file_sep|>original/db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb
class DestroyNonExistingGitHubUsers < ActiveRecord::Migration[5.1]
def up
unless ENV['RAILS_ENV'] == 'development'
User.find_each do |user|
if user.github_id == nil
puts "removing user #{user.id} from data... | 9c5052a8c4f64aa1d48bf534cb1206418b5c02b2 | db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb | db/migrate/20180524190818_destroy_non_existing_git_hub_users.rb | Ruby |
<|file_sep|>original/db/migrate/20150425004430_add_service_level_to_spree_shipping_rates.rb
class AddServiceLevelToSpreeShippingRates < ActiveRecord::Migration
def change
add_column :spree_shipping_rates, :service_level_id, default: nil
end
end
<|file_sep|>current/db/migrate/20150425004430_add_service_level_to_... | class AddServiceLevelToSpreeShippingRates < ActiveRecord::Migration
def change
add_column :spree_shipping_rates, :service_level_id, :integer, default: nil
end
end | <|file_sep|>original/db/migrate/20150425004430_add_service_level_to_spree_shipping_rates.rb
class AddServiceLevelToSpreeShippingRates < ActiveRecord::Migration
def change
add_column :spree_shipping_rates, :service_level_id, default: nil
end
end
<|file_sep|>current/db/migrate/20150425004430_add_service_level_to_... | 3a53512eb431e5d21e752eff8c699c38799c4522 | db/migrate/20150425004430_add_service_level_to_spree_shipping_rates.rb | db/migrate/20150425004430_add_service_level_to_spree_shipping_rates.rb | Ruby |
<|file_sep|>original/common/net/teamio/taam/content/MaterialMachinesTransparent.java
public boolean isSolid()
{
return false;
}
@Override
public boolean blocksLight() {
return false;
}
@Override
public boolean blocksMovement()
{
return false;
}
@Override
... | public boolean isSolid()
{
return false;
}
@Override
public boolean blocksLight() {
return false;
}
@Override
public boolean blocksMovement()
{
return true;
}
@Override
public boolean isOpaque() {
return false;
}
} | <|file_sep|>original/common/net/teamio/taam/content/MaterialMachinesTransparent.java
public boolean isSolid()
{
return false;
}
@Override
public boolean blocksLight() {
return false;
}
@Override
public boolean blocksMovement()
{
return false;
}
@Override
... | c09f674654c160557ec315ce4a934b9814157c76 | common/net/teamio/taam/content/MaterialMachinesTransparent.java | common/net/teamio/taam/content/MaterialMachinesTransparent.java | Java |
<|file_sep|>original/requirements.txt
coverage==4.4
Django==1.11.1
django-debug-toolbar==1.8
docutils==0.13.1
sqlparse==0.2.3
freezegun==0.3.8
django-formtools==2.0
<|file_sep|>current/requirements.txt
coverage==4.4
Django==1.11.1
django-debug-toolbar==1.8
docutils==0.13.1
sqlparse==0.2.3
freezegun==0.3.8
django-formto... | coverage==4.4
Django==1.11.1
django-debug-toolbar==1.8
docutils==0.13.1
sqlparse==0.2.3
freezegun==0.3.9
django-formtools==2.0 | <|file_sep|>original/requirements.txt
coverage==4.4
Django==1.11.1
django-debug-toolbar==1.8
docutils==0.13.1
sqlparse==0.2.3
freezegun==0.3.8
django-formtools==2.0
<|file_sep|>current/requirements.txt
coverage==4.4
Django==1.11.1
django-debug-toolbar==1.8
docutils==0.13.1
sqlparse==0.2.3
freezegun==0.3.8
django-formto... | 9e707d8176a8b5d8649ae45cdf2c10810cfe87f1 | requirements.txt | requirements.txt | Text |
<|file_sep|>README.md.diff
original:
Use libsnappy
updated:
<|file_sep|>README.md.diff
original:
$ brew install snappy
updated:
### macOS
<|file_sep|>README.md.diff
original:
Or
updated:
```bash
$ brew install snappy
$ brew install autoconf automake libtool
```
<|file_sep|>original/README.md
## Preparation
Use li... | ## Preparation
### macOS
```bash
$ brew install snappy
$ brew install autoconf automake libtool
```
### Ubuntu
```bash
$ apt-get install libsnappy-dev -y
$ apt-get install libtool automake autoconf -y
```
### Alpine
```bash
$ apk install snappy | <|file_sep|>README.md.diff
original:
Use libsnappy
updated:
<|file_sep|>README.md.diff
original:
$ brew install snappy
updated:
### macOS
<|file_sep|>README.md.diff
original:
Or
updated:
```bash
$ brew install snappy
$ brew install autoconf automake libtool
```
<|file_sep|>original/README.md
## Preparation
Use li... | f017ac687143c8a142059db8bf81490341955785 | README.md | README.md | Markdown |
<|file_sep|>sgfs/schemas/v1/Shot.yml.diff
original:
# This is for tools in the era before plate publishing.
updated:
# This is for tools in the era before plate publishing. After "Pup-Star"
# this can very likely be removed.
<|file_sep|>original/sgfs/schemas/v1/Shot.yml
name_expr: self['code']
children:
... | name_expr: self['code']
children:
Task: Task.yml
templates:
# This is for tools in the era before plate publishing. After "Pup-Star"
# this can very likely be removed.
plate_directory: Plates/{type}/{name}
# For now, all of our plates are DPX, so for human consumption it seems
# to make sens... | <|file_sep|>sgfs/schemas/v1/Shot.yml.diff
original:
# This is for tools in the era before plate publishing.
updated:
# This is for tools in the era before plate publishing. After "Pup-Star"
# this can very likely be removed.
<|file_sep|>original/sgfs/schemas/v1/Shot.yml
name_expr: self['code']
children:
... | 09c186fa0d572a7cc9fe78017d87dbe1ec2174c4 | sgfs/schemas/v1/Shot.yml | sgfs/schemas/v1/Shot.yml | YAML |
<|file_sep|>original/app/src/cors.ts
/**
* @file CORS middleware
* @author Dave Ross <dave@davidmichaelross.com>
*/
import { Application, Request, Response } from "polka"
export default function corsAllowAll(server: Application) {
server.use("/*", function (req: Request, res: Response, next: Function) {
res.se... | /**
* @file CORS middleware
* @author Dave Ross <dave@davidmichaelross.com>
*/
import { Application, Request, Response } from "polka"
export default function corsAllowAll(server: Application) {
server.use("*", function (req: Request, res: Response, next: Function) {
res.setHeader('Access-Control-Allow-Origin',... | <|file_sep|>original/app/src/cors.ts
/**
* @file CORS middleware
* @author Dave Ross <dave@davidmichaelross.com>
*/
import { Application, Request, Response } from "polka"
export default function corsAllowAll(server: Application) {
server.use("/*", function (req: Request, res: Response, next: Function) {
res.se... | 72635008fd6e6fcd9599d516ff73812893ac4120 | app/src/cors.ts | app/src/cors.ts | TypeScript |
<|file_sep|>app/services/projects/participants_service.rb.diff
original:
project_members = sorted(project.team.members)
updated:
<|file_sep|>app/services/projects/participants_service.rb.diff
original:
updated:
def project_members
@project_members ||= sorted(project.team.members)
end
<|file_sep|>... | module Projects
class ParticipantsService < BaseService
include Users::ParticipableService
def execute(noteable)
@noteable = noteable
participants = noteable_owner + participants_in_noteable + all_members + groups + project_members
participants.uniq
end
def project_members
@... | <|file_sep|>app/services/projects/participants_service.rb.diff
original:
project_members = sorted(project.team.members)
updated:
<|file_sep|>app/services/projects/participants_service.rb.diff
original:
updated:
def project_members
@project_members ||= sorted(project.team.members)
end
<|file_sep|>... | 8a5ad3ca00830f847504eddb4ade7d3d7ebf9916 | app/services/projects/participants_service.rb | app/services/projects/participants_service.rb | Ruby |
<|file_sep|>original/gtk3/sample/misc/flowbox.rb
<|file_sep|>current/gtk3/sample/misc/flowbox.rb
<|file_sep|>updated/gtk3/sample/misc/flowbox.rb | #!/usr/bin/env ruby
=begin
flowbox.rb Ruby/GTK script
Adapted (or stolen) from http://python-gtk-3-tutorial.readthedocs.org/en/latest/layout.html#flowbox
Copyright (c) 2004-2015 Ruby-GNOME2 Project Team
This program is licenced under the same licence as Ruby-GNOME2.
=end
require "gtk3"
COLORS = %w(AliceBl... | <|file_sep|>original/gtk3/sample/misc/flowbox.rb
<|file_sep|>current/gtk3/sample/misc/flowbox.rb
<|file_sep|>updated/gtk3/sample/misc/flowbox.rb
#!/usr/bin/env ruby
=begin
flowbox.rb Ruby/GTK script
Adapted (or stolen) from http://python-gtk-3-tutorial.readthedocs.org/en/latest/layout.html#flowbox
Copyrigh... | 28e3b2a93cd485f4c0dc0c47150e1e6d8dc3e707 | gtk3/sample/misc/flowbox.rb | gtk3/sample/misc/flowbox.rb | Ruby |
<|file_sep|>original/nodeca.js
nodeca.runtime.version = require('./package.json').version;
//
// Catch unexpected exceptions
//
process.on('uncaughtException', function (err) {
nodeca.logger.warn('Uncaught exception');
nodeca.logger.error(err.stack || err.message || err.toString());
});
//
// Handle SIGnals
... |
nodeca.runtime.version = require('./package.json').version;
//
// Catch unexpected exceptions
//
process.on('uncaughtException', function (err) {
try {
nodeca.logger.warn('Uncaught exception');
nodeca.logger.error(err.stack || err.message || err.toString());
} catch (err) {
// THIS SHOULD NEVER-EVE... | <|file_sep|>original/nodeca.js
nodeca.runtime.version = require('./package.json').version;
//
// Catch unexpected exceptions
//
process.on('uncaughtException', function (err) {
nodeca.logger.warn('Uncaught exception');
nodeca.logger.error(err.stack || err.message || err.toString());
});
//
// Handle SIGnals
... | b518e8c60728e57b5f2e1515aa4f9adbc7cc7530 | nodeca.js | nodeca.js | JavaScript |
<|file_sep|>original/setup.cfg
[bdist_wheel]
# we're pure-python
universal = 1
<|file_sep|>current/setup.cfg
[bdist_wheel]
# we're pure-python
universal = 1
<|file_sep|>updated/setup.cfg | [bdist_wheel]
# we're pure-python
universal = 1
[metadata]
license_file = LICENSE | <|file_sep|>original/setup.cfg
[bdist_wheel]
# we're pure-python
universal = 1
<|file_sep|>current/setup.cfg
[bdist_wheel]
# we're pure-python
universal = 1
<|file_sep|>updated/setup.cfg
[bdist_wheel]
# we're pure-python
universal = 1
[metadata]
license_file = LICENSE | 797ef787880dec49e4ad2f69802d3d42a3333270 | setup.cfg | setup.cfg | INI |
<|file_sep|>original/notebooks/Metropolitan_areas.ipynb
<|file_sep|>current/notebooks/Metropolitan_areas.ipynb
<|file_sep|>updated/notebooks/Metropolitan_areas.ipynb | {
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"# -*- coding: UTF-8 -*-\n",
"\n",
"# Render our plots inline\n",
"%matplotlib inline \n",
"\n",
"import pandas as pd\n",
"import matplotlib\n",
... | <|file_sep|>original/notebooks/Metropolitan_areas.ipynb
<|file_sep|>current/notebooks/Metropolitan_areas.ipynb
<|file_sep|>updated/notebooks/Metropolitan_areas.ipynb
{
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"#... | 6fb5243e791cd8da7158abfea06f6ac39490de1a | notebooks/Metropolitan_areas.ipynb | notebooks/Metropolitan_areas.ipynb | Jupyter Notebook |
<|file_sep|>js/index.js.diff
original:
updated:
app.use(methodOverride('_method'));
<|file_sep|>js/index.js.diff
original:
res.send('Hellooooo');
updated:
res.redirect('/collection');
<|file_sep|>js/index.js.diff
original:
updated:
app.get('/collection', function(req, res, next) {
res.render('show', {collection... | res.redirect('/collection');
});
// '/collection'
app.get('/collection', function(req, res, next) {
res.render('show', {collection});
});
// '/add'
app.post('/add', function(req, res, next) {
collection.push();
});
// '/delete'
app.delete('/collection/:id', function(req, res, next) {
});
app.listen(3000, f... | <|file_sep|>js/index.js.diff
original:
updated:
app.use(methodOverride('_method'));
<|file_sep|>js/index.js.diff
original:
res.send('Hellooooo');
updated:
res.redirect('/collection');
<|file_sep|>js/index.js.diff
original:
updated:
app.get('/collection', function(req, res, next) {
res.render('show', {collection... | a1bab5bbb5ae51995e6d7ac3727ad2040222b20c | js/index.js | js/index.js | JavaScript |
<|file_sep|>example/notify/listen.js.diff
original:
updated:
yield events.start();
const logger = events.logger;
<|file_sep|>example/notify/listen.js.diff
original:
const notificationEvents = yield events.topic('io.restorecommerce.notify');
updated:
const topicName = 'io.restorecommerce.notify';
const notifi... | // Create a new microservice Server
const events = new Events('kafka', config);
yield events.start();
const logger = events.logger;
// Subscribe to events which the business logic requires
const topicName = 'io.restorecommerce.notify';
const notificationEvents = yield events.topic(topicName);
const of... | <|file_sep|>example/notify/listen.js.diff
original:
updated:
yield events.start();
const logger = events.logger;
<|file_sep|>example/notify/listen.js.diff
original:
const notificationEvents = yield events.topic('io.restorecommerce.notify');
updated:
const topicName = 'io.restorecommerce.notify';
const notifi... | 3d6d27b2d2698b639dff2c915ae21023273af170 | example/notify/listen.js | example/notify/listen.js | JavaScript |
<|file_sep|>src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs.diff
original:
updated:
const string url = "https://github.com/github/CreatesNewInstanceOfSimpleApiClient";
<|file_sep|>src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs.diff
original:
var client = factory.Create("https:/... | public class TheClearFromCacheMethod
{
[Fact]
public void RemovesClientFromCache()
{
const string url = "https://github.com/github/RemovesClientFromCache";
var program = new Program();
var enterpriseProbe = Substitute.For<IEnterpriseProbeTask>();
... | <|file_sep|>src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs.diff
original:
updated:
const string url = "https://github.com/github/CreatesNewInstanceOfSimpleApiClient";
<|file_sep|>src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs.diff
original:
var client = factory.Create("https:/... | af825511fa6eab81f8a1128e1ae94b4d349b935f | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | C# |
<|file_sep|>original/package.json
{
"name": "garble",
"description": "A fun text-garbler using Unicode combining characters (diacritics).",
"keywords": ["fun", "unicode", "combining", "characters", "UTF-8"],
"author": "Spencer Rinehart <anubis@overthemonkey.com>",
"repository": {
"type": "git",
"url":... | {
"name": "garble",
"description": "A fun text-garbler using Unicode combining characters (diacritics).",
"keywords": [
"fun",
"unicode",
"combining",
"characters",
"UTF-8",
"zalgo",
"obfuscation"
],
"author": "Spencer Rinehart <anubis@overthemonkey.com>",
"repository": {
"ty... | <|file_sep|>original/package.json
{
"name": "garble",
"description": "A fun text-garbler using Unicode combining characters (diacritics).",
"keywords": ["fun", "unicode", "combining", "characters", "UTF-8"],
"author": "Spencer Rinehart <anubis@overthemonkey.com>",
"repository": {
"type": "git",
"url":... | f90dd9715c4bad6828de49d9be3b44827194ee3f | package.json | package.json | JSON |
<|file_sep|>original/hybra/analysis/topicmodel/create_topics.r
source('topics.r')
##source('stm.r')
args <- commandArgs(trailingOnly = TRUE)
dtm_path <- args[1]
if( ! grepl( '.rdata', dtm_path ) ) {
dtm_path <- paste( dtm, 'dtm.rdata', sep='' )
}
load( dtm_path )
k <- as.integer( args[2] )
model <- create_mode... | source('topics.r')
##source('stm.r')
args <- commandArgs(trailingOnly = TRUE)
dtm_path <- args[1]
if( ! grepl( '.rdata', dtm_path ) ) {
dtm_path <- paste( dtm_path, '/dtm.rdata', sep='' )
}
load( dtm_path )
k <- as.integer( args[2] )
model <- create_model( dtm , k )
path <- paste( dtm_path , 'topic-', args[2]... | <|file_sep|>original/hybra/analysis/topicmodel/create_topics.r
source('topics.r')
##source('stm.r')
args <- commandArgs(trailingOnly = TRUE)
dtm_path <- args[1]
if( ! grepl( '.rdata', dtm_path ) ) {
dtm_path <- paste( dtm, 'dtm.rdata', sep='' )
}
load( dtm_path )
k <- as.integer( args[2] )
model <- create_mode... | e738fa74c19afb9a7f2aef374b91a3092fa5892a | hybra/analysis/topicmodel/create_topics.r | hybra/analysis/topicmodel/create_topics.r | R |
<|file_sep|>original/requirements/production.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# ------------------------------------------------
boto==2.48.0
django-storages-redux==1.3.3
Collectfast==0.5.2
# Mailgun Support
# -------------... | # WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# ------------------------------------------------
boto==2.48.0
django-storages-redux==1.3.3
Collectfast==0.5.2
# Mailgun Support
# ---------------
django-mailgun==0.9.1
# Redis
django-redis-ca... | <|file_sep|>original/requirements/production.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.2.2
gunicorn==19.7.1
# Static and Media Storage
# ------------------------------------------------
boto==2.48.0
django-storages-redux==1.3.3
Collectfast==0.5.2
# Mailgun Support
# -------------... | 93716aa16d49253b8e87c537fd33de40404b76fe | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>original/_posts/2014-08-24-think.md
<|file_sep|>current/_posts/2014-08-24-think.md
<|file_sep|>updated/_posts/2014-08-24-think.md | ---
layout: post
title: "想"
modified:
categories: 被我糟践的岁月
excerpt: 够了……
tags: []
comments: true
---
刚写了一条秘密想麻醉下自己,久违的一场梦紧接扇了一大耳光子。
也是想不通,过去的日子明明死都不想再回了,可我为何还是非得跟自己过不去。 | <|file_sep|>original/_posts/2014-08-24-think.md
<|file_sep|>current/_posts/2014-08-24-think.md
<|file_sep|>updated/_posts/2014-08-24-think.md
---
layout: post
title: "想"
modified:
categories: 被我糟践的岁月
excerpt: 够了……
tags: []
comments: true
---
刚写了一条秘密想麻醉下自己,久违的一场梦紧接扇了一大耳光子。
也是想不通,过去的日子明明死都不想再回了,可我为何还是非得跟自己过不去。 | 2edf4775b67bbc70815997497dd35d0ec23b34b6 | _posts/2014-08-24-think.md | _posts/2014-08-24-think.md | Markdown |
<|file_sep|>src/test/java/com/crawljax/util/PrettyHTMLTest.java.diff
original:
updated:
import org.junit.Test;
<|file_sep|>original/src/test/java/com/crawljax/util/PrettyHTMLTest.java
import org.junit.Ignore;
public class PrettyHTMLTest {
private static final String TESTFILE = "src/test/java/com/crawljax/util/tuduD... | import org.junit.Ignore;
import org.junit.Test;
public class PrettyHTMLTest {
private static final String TESTFILE = "src/test/java/com/crawljax/util/tuduDombefore.html";
private static final String CONTROLFILE =
"src/test/java/com/crawljax/util/tuduDombefore.html.tidy";
@Ignore
@Test
public void prett... | <|file_sep|>src/test/java/com/crawljax/util/PrettyHTMLTest.java.diff
original:
updated:
import org.junit.Test;
<|file_sep|>original/src/test/java/com/crawljax/util/PrettyHTMLTest.java
import org.junit.Ignore;
public class PrettyHTMLTest {
private static final String TESTFILE = "src/test/java/com/crawljax/util/tuduD... | 3a6a87962b060855a3ffe818b8c40077cb3c2737 | src/test/java/com/crawljax/util/PrettyHTMLTest.java | src/test/java/com/crawljax/util/PrettyHTMLTest.java | Java |
<|file_sep|>original/app/views/sections/show.html.erb
<article class="tariff chapters">
<div class="inner">
<h1><%= @section %></h1>
<ol id="chapters">
<%= render @chapters %>
</ol>
</div>
</article>
<|file_sep|>current/app/views/sections/show.html.erb
<article class="tariff chapters">
<div clas... | <% content_for :title, "#{@section} | Trade Tariff | GOV.UK" %>
<article class="tariff chapters">
<div class="inner">
<h1><%= @section %></h1>
<ol id="chapters">
<%= render @chapters %>
</ol>
</div>
</article> | <|file_sep|>original/app/views/sections/show.html.erb
<article class="tariff chapters">
<div class="inner">
<h1><%= @section %></h1>
<ol id="chapters">
<%= render @chapters %>
</ol>
</div>
</article>
<|file_sep|>current/app/views/sections/show.html.erb
<article class="tariff chapters">
<div clas... | 3f04c611cf9519940292f9f6cd3726213611df04 | app/views/sections/show.html.erb | app/views/sections/show.html.erb | HTML+ERB |
<|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx==1.6.2
django-extensions==1.8.0
Werkzeug==0.12.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.7
# improved REPL
ipdb==0.10.1
factory-boy==2.8.1
<|file_sep|>current/requirements/local.t... | # Local development dependencies go here
-r base.txt
Sphinx==1.6.2
django-extensions==1.8.0
Werkzeug==0.12.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.8
# improved REPL
ipdb==0.10.1
factory-boy==2.8.1 | <|file_sep|>original/requirements/local.txt
# Local development dependencies go here
-r base.txt
Sphinx==1.6.2
django-extensions==1.8.0
Werkzeug==0.12.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==1.7
# improved REPL
ipdb==0.10.1
factory-boy==2.8.1
<|file_sep|>current/requirements/local.t... | 37a653331ca41d74eaf3de26b12e0893e2634b41 | requirements/local.txt | requirements/local.txt | Text |
<|file_sep|>original/requirements/doc.txt
sphinx==1.7.5
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.7.5
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt | sphinx==1.7.6
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1 | <|file_sep|>original/requirements/doc.txt
sphinx==1.7.5
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>current/requirements/doc.txt
sphinx==1.7.5
alagitpull==0.0.21
releases==1.6.1
sphinxcontrib-napoleon==0.6.1
<|file_sep|>updated/requirements/doc.txt
sphinx==1.7.6
alagitpull==0.0.21
relea... | 4b38db2257fa43c23ca42c630ead7720ce7240f2 | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/build.sbt
name := "apibuilder-validation"
organization := "io.flow"
scalaVersion in ThisBuild := "2.12.7"
crossScalaVersions := Seq("2.12.7")
version := "0.3.5"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.... | name := "apibuilder-validation"
organization := "io.flow"
scalaVersion in ThisBuild := "2.12.7"
crossScalaVersions := Seq("2.12.7")
version := "0.3.6"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.6.10",
"org.scalatest" %%... | <|file_sep|>original/build.sbt
name := "apibuilder-validation"
organization := "io.flow"
scalaVersion in ThisBuild := "2.12.7"
crossScalaVersions := Seq("2.12.7")
version := "0.3.5"
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.... | 1ef604e96647b66f81d281bdd680320a4e87cd47 | build.sbt | build.sbt | Scala |
<|file_sep|>original/lib/pry-rails/railtie.rb
require "rails/console/app"
require "rails/console/helpers"
TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods
end
end
end
Commands = Pry::CommandSet.new do
create_command "show-routes", "Print out all defined routes in... | require "rails/console/app"
require "rails/console/helpers"
TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods
end
end
end
Commands = Pry::CommandSet.new do
create_command "show-routes", "Print out all defined routes in match order, with names." do
def option... | <|file_sep|>original/lib/pry-rails/railtie.rb
require "rails/console/app"
require "rails/console/helpers"
TOPLEVEL_BINDING.eval('self').extend ::Rails::ConsoleMethods
end
end
end
Commands = Pry::CommandSet.new do
create_command "show-routes", "Print out all defined routes in... | 3918dff8bd1eec34974b0a112e544e17f1e03c62 | lib/pry-rails/railtie.rb | lib/pry-rails/railtie.rb | Ruby |
<|file_sep|>original/.github/workflows/nodejs.yml
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x,14.x,15.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
... |
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x,14.x,16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- ... | <|file_sep|>original/.github/workflows/nodejs.yml
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x,14.x,15.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
... | dbb5ab32a8b34aae545dadfca67afbc1d3a16ef4 | .github/workflows/nodejs.yml | .github/workflows/nodejs.yml | YAML |
<|file_sep|>original/projects/openstackansible.json
<|file_sep|>current/projects/openstackansible.json
<|file_sep|>updated/projects/openstackansible.json | {
"name": "OpenStack Ansible",
"subprojects": [
"openstack/openstack-ansible",
"openstack/openstack-ansible-apt_package_pinning",
"openstack/openstack-ansible-lxc_container_create",
"openstack/openstack-ansible-lxc_hosts",
"openstack/openstack-ansible-openstack_hosts",
... | <|file_sep|>original/projects/openstackansible.json
<|file_sep|>current/projects/openstackansible.json
<|file_sep|>updated/projects/openstackansible.json
{
"name": "OpenStack Ansible",
"subprojects": [
"openstack/openstack-ansible",
"openstack/openstack-ansible-apt_package_pinning",
"o... | 381fb8a5a36dd401792aef37055ea91bddd97ce4 | projects/openstackansible.json | projects/openstackansible.json | JSON |
<|file_sep|>original/README.md
Algorithmic-Programming
=======================
Algorithmic Programming Exercises
Details about exercises can be found in Readme files within packages and are linked from this master Readme too.
* Facebook Hacker Cup
* [Qualification Round 2013](src/com/anuragkapur/fb/hackercup2013/qr... | Algorithmic-Programming
=======================
Algorithmic Programming Exercises
Details about exercises can be found in Readme files within packages and are linked from this master Readme too.
* Facebook Hacker Cup
* [Qualification Round 2013](src/com/anuragkapur/fb/hackercup2013/qr)
* [Qualification Round 2012]... | <|file_sep|>original/README.md
Algorithmic-Programming
=======================
Algorithmic Programming Exercises
Details about exercises can be found in Readme files within packages and are linked from this master Readme too.
* Facebook Hacker Cup
* [Qualification Round 2013](src/com/anuragkapur/fb/hackercup2013/qr... | ca11bdffd2e5be1d903d7d4c50072a0e4d7506a9 | README.md | README.md | Markdown |
<|file_sep|>original/bower.json
{
"name": "imported-template",
"version": "1.4.1",
"devDependencies": {
"dom-bind-notifier": "~1.0.0",
"iron-icon": "PolymerElements/iron-icon#~1.0.4",
"iron-iconset-svg": "PolymerElements/iron-iconset-svg#~1.0.4",
"web-component-tester": "Polymer/web-component-test... | {
"name": "imported-template",
"version": "1.4.1",
"devDependencies": {
"dom-bind-notifier": "~1.0.0",
"iron-icon": "PolymerElements/iron-icon#~1.0.4",
"iron-iconset-svg": "PolymerElements/iron-iconset-svg#~1.0.4",
"web-component-tester": "Polymer/web-component-tester#~4.0.3",
"object.observe"... | <|file_sep|>original/bower.json
{
"name": "imported-template",
"version": "1.4.1",
"devDependencies": {
"dom-bind-notifier": "~1.0.0",
"iron-icon": "PolymerElements/iron-icon#~1.0.4",
"iron-iconset-svg": "PolymerElements/iron-iconset-svg#~1.0.4",
"web-component-tester": "Polymer/web-component-test... | 49c491bc52d2173ba348a71ac1f83291e407ac65 | bower.json | bower.json | JSON |
<|file_sep|>git/install.sh.diff
original:
git config --global user.helper osxkeychain
updated:
git config --global credential.helper osxkeychain
<|file_sep|>original/git/install.sh
#!/bin/sh
# Don't ask ssh password all the time
if [ "$(uname -s)" = "Darwin" ]; then
git config --global user.helper osxkeychain
el... | #!/bin/sh
# Don't ask ssh password all the time
if [ "$(uname -s)" = "Darwin" ]; then
git config --global credential.helper osxkeychain
else
git config --global credential.helper cache
fi
# better diffs
if which diff-so-fancy > /dev/null 2>&1; then
git config --global core.pager "diff-so-fancy | less --tabs=4 -... | <|file_sep|>git/install.sh.diff
original:
git config --global user.helper osxkeychain
updated:
git config --global credential.helper osxkeychain
<|file_sep|>original/git/install.sh
#!/bin/sh
# Don't ask ssh password all the time
if [ "$(uname -s)" = "Darwin" ]; then
git config --global user.helper osxkeychain
el... | f791a71163791a03158bead4e6cce34f903271e8 | git/install.sh | git/install.sh | Shell |
<|file_sep|>original/app.json
{
"name": "Rocket.Chat",
"description": "Have your own open-source Slack-like online chat platform.",
"repository": "https://github.com/RocketChat/Rocket.Chat",
"logo": "https://raw.githubusercontent.com/RocketChat/Rocket.Chat/master/public/images/logo/512x512.png?v=3",
"keywords... | {
"name": "Rocket.Chat",
"description": "Have your own open-source Slack-like online chat platform.",
"repository": "https://github.com/RocketChat/Rocket.Chat",
"logo": "https://raw.githubusercontent.com/RocketChat/Rocket.Chat/master/public/images/logo/512x512.png?v=3",
"keywords": ["meteor", "social", "commu... | <|file_sep|>original/app.json
{
"name": "Rocket.Chat",
"description": "Have your own open-source Slack-like online chat platform.",
"repository": "https://github.com/RocketChat/Rocket.Chat",
"logo": "https://raw.githubusercontent.com/RocketChat/Rocket.Chat/master/public/images/logo/512x512.png?v=3",
"keywords... | 9afe9d166b0bc992ba8bb4465ac20fbb59856d95 | app.json | app.json | JSON |
<|file_sep|>original/array_functions/asort.php
<|file_sep|>current/array_functions/asort.php
<|file_sep|>updated/array_functions/asort.php |
<?php
$fruits = array("d" => "lemon", "a" => "orange", "b" => "banana", "c" => "apple");
asort($fruits);
foreach ($fruits as $key => $val) {
echo "$key = $val\n";
}
?> | <|file_sep|>original/array_functions/asort.php
<|file_sep|>current/array_functions/asort.php
<|file_sep|>updated/array_functions/asort.php
<?php
$fruits = array("d" => "lemon", "a" => "orange", "b" => "banana", "c" => "apple");
asort($fruits);
foreach ($fruits as $key => $val) {
echo "$key = $val\n";
}
?> | 0f20669c64ccf8da482e77d564728de800184e29 | array_functions/asort.php | array_functions/asort.php | PHP |
<|file_sep|>original/doc/development/object_state_models.md
# Object state models
## Contents
* [Diagrams](#diagrams)
* [Legend](#legend)
* [Issue](#issue)
* [Merge request](#merge-request)
## Diagrams
[GitLab object state models](https://drive.google.com/drive/u/3/folders/0B5tDlHAM4iZINmpvYlJXcDVqMGc)
---
## Leg... | # Object state models
## Diagrams
[GitLab object state models](https://drive.google.com/drive/u/3/folders/0B5tDlHAM4iZINmpvYlJXcDVqMGc)
---
## Legend

---
## Issue
[`app/models/issue.rb`](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/models/issue.rb)

* [Legend](#legend)
* [Issue](#issue)
* [Merge request](#merge-request)
## Diagrams
[GitLab object state models](https://drive.google.com/drive/u/3/folders/0B5tDlHAM4iZINmpvYlJXcDVqMGc)
---
## Leg... | e887e96893f43a3a00429a1688c321ed131e5076 | doc/development/object_state_models.md | doc/development/object_state_models.md | Markdown |
<|file_sep|>original/Core/guide/README.md
<|file_sep|>current/Core/guide/README.md
<|file_sep|>updated/Core/guide/README.md | #Welcome!
Welcome to visit my project, the simple Basic language Interpreter.
As we know, there are something hard in the School Math Book in China, the Algorithm with Basic.
The TBeko Project devotes to make it easy. It is a made to measure interpreter for it.
The codes what is in the `tdiant.tbeko.math` package i... | <|file_sep|>original/Core/guide/README.md
<|file_sep|>current/Core/guide/README.md
<|file_sep|>updated/Core/guide/README.md
#Welcome!
Welcome to visit my project, the simple Basic language Interpreter.
As we know, there are something hard in the School Math Book in China, the Algorithm with Basic.
The TBeko Projec... | 63b59de811d1bdb7a7d9d04b3816e0d099ffaf09 | Core/guide/README.md | Core/guide/README.md | Markdown |
<|file_sep|>original/.travis.yml
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
os:
- linux
rust:
- stable
- nightly
env:
- LLVM_VERSION=3.8 BINDGEN_FEATURES=llvm_stable
- LLVM_VERSION=3.9 BINDGEN_FEATURES=
cache:
directories:
- $HOME/.cargo
before_install: . ./ci/before_i... | sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
os:
- linux
rust:
- stable
env:
- LLVM_VERSION=3.8 BINDGEN_FEATURES=llvm_stable
- LLVM_VERSION=3.9 BINDGEN_FEATURES=
cache:
directories:
- $HOME/.cargo
before_install: . ./ci/before_install.sh
| <|file_sep|>original/.travis.yml
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
os:
- linux
rust:
- stable
- nightly
env:
- LLVM_VERSION=3.8 BINDGEN_FEATURES=llvm_stable
- LLVM_VERSION=3.9 BINDGEN_FEATURES=
cache:
directories:
- $HOME/.cargo
before_install: . ./ci/before_i... | 1256345ab0939622a19200834587ac8b64dc355d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/CMakeLists.txt
add_library(MMTFcpp INTERFACE)
target_compile_features(MMTFcpp INTERFACE cxx_auto_type)
target_include_directories(MMTFcpp INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/include
)
if (mmtf_build_local)
add_subdirectory(msgpack-c)
if (BUILD_TESTS)
add_subdirectory(Catch2)
endif()
endi... |
add_library(MMTFcpp INTERFACE)
target_compile_features(MMTFcpp INTERFACE cxx_auto_type)
target_include_directories(MMTFcpp INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/include
)
if (mmtf_build_local)
# use header only
set(MSGPACKC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/msgpack-c/include)
add_library(msgpackc ... | <|file_sep|>original/CMakeLists.txt
add_library(MMTFcpp INTERFACE)
target_compile_features(MMTFcpp INTERFACE cxx_auto_type)
target_include_directories(MMTFcpp INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/include
)
if (mmtf_build_local)
add_subdirectory(msgpack-c)
if (BUILD_TESTS)
add_subdirectory(Catch2)
endif()
endi... | c8c4614405293cdc3921399a105d0eaf89680160 | CMakeLists.txt | CMakeLists.txt | Text |
<|file_sep|>original/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.1
cryptography==2.3
flake8==3.5.0
mock==2.0.0
pip==10.0.1
tox==3.1.2
watchdog==0.8.3
wheel==0.31.1
<|file_sep|>current/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.1
cryptography==2.3
... | -r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.1
cryptography==2.3
flake8==3.5.0
mock==2.0.0
pip==18.0
tox==3.1.2
watchdog==0.8.3
wheel==0.31.1 | <|file_sep|>original/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.1
cryptography==2.3
flake8==3.5.0
mock==2.0.0
pip==10.0.1
tox==3.1.2
watchdog==0.8.3
wheel==0.31.1
<|file_sep|>current/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.1
cryptography==2.3
... | 5bb93105c4049644a38d62993ae66f8d10c0d0ec | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/spec/spec_helper.rb
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require 'rspec/rails'
require 'rspec/autorun'
require 'factory_girl_rails'
Rails.backtrace_cleaner.remove_silencers!
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f... |
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
RSpec.configure do |config|
config.mock_with :rspec
config.use_transactional_fixtures = true
config.infer_base_class_for_anonymous_controllers = false
config.order = "random"
config.include RSpec::Rails::RequestExam... | <|file_sep|>original/spec/spec_helper.rb
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require 'rspec/rails'
require 'rspec/autorun'
require 'factory_girl_rails'
Rails.backtrace_cleaner.remove_silencers!
# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f... | 150734e578dffe04142d646eaf45a051625e20a0 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/.travis.yml
language: c
script: bash -e ./tools/travis_ci_test.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.03.0 OPAM_VERSION=1.2.1
<|file_sep|>current/.travis.yml
language: c
script: bash -e ./tools/travis_ci_test.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.03.0 OPAM_VERSION=1.2.1
<|file_sep|>u... | language: c
script: bash -e ./tools/travis_ci_test.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.03.0
- OCAML_VERSION=4.04.0 | <|file_sep|>original/.travis.yml
language: c
script: bash -e ./tools/travis_ci_test.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.03.0 OPAM_VERSION=1.2.1
<|file_sep|>current/.travis.yml
language: c
script: bash -e ./tools/travis_ci_test.sh
os:
- linux
- osx
env:
- OCAML_VERSION=4.03.0 OPAM_VERSION=1.2.1
<|file_sep|>u... | d8e7f64693a4f4484dc74848f285f5acf4120e81 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/go.bat
SET "memParams=-Xms4g -Xmx10g"
SET debugParams=
SET "rf2Archive=G:\incoming\SnomedCT_RF2Release_INT_20160131.zip"
SET "secondDrive=D:\"
SET newMemory=
set /p newMemory="How much memory do you have available? [10g]: "
IF NOT [%newMemory%]==[] SET "memParams=-Xms4g -Xmx%newMemory%"
SET drive... | SET "memParams=-Xms4g -Xmx10g"
SET debugParams=
SET "rf2Archive=G:\incoming\SnomedCT_RF2Release_INT_20160131.zip"
SET "secondDrive=D:\"
SET newMemory=
set /p newMemory="How much memory do you have available? [10g]: "
IF NOT [%newMemory%]==[] SET "memParams=-Xms4g -Xmx%newMemory%"
SET driveParam=
set /p driveAvailable... | <|file_sep|>original/go.bat
SET "memParams=-Xms4g -Xmx10g"
SET debugParams=
SET "rf2Archive=G:\incoming\SnomedCT_RF2Release_INT_20160131.zip"
SET "secondDrive=D:\"
SET newMemory=
set /p newMemory="How much memory do you have available? [10g]: "
IF NOT [%newMemory%]==[] SET "memParams=-Xms4g -Xmx%newMemory%"
SET drive... | a50e39083199867eb8d6ae1d61d84b0b2d04a157 | go.bat | go.bat | Batchfile |
<|file_sep|>original/.circleci/config.yml
working_directory: ~/ofreport.com
steps:
- run:
name: Install Gulp
command: sudo npm install -g gulp
- run:
name: Deploy to S3
command: gulp deploy
workflows:
version: 2
build-deploy:
jobs:
- build
... | working_directory: ~/ofreport.com
steps:
- run:
name: Install Gulp
command: sudo npm install -g gulp
- run:
name: Deploy to S3
command: gulp deploy
workflows:
version: 2
build-deploy:
jobs:
- build
- deploy:
requires:
... | <|file_sep|>original/.circleci/config.yml
working_directory: ~/ofreport.com
steps:
- run:
name: Install Gulp
command: sudo npm install -g gulp
- run:
name: Deploy to S3
command: gulp deploy
workflows:
version: 2
build-deploy:
jobs:
- build
... | 82b1e7b4e2244ccc9d7199e66c0c7441eb74c102 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/composer.json
{
"name": "Nelmio",
"homepage": "http://nelm.io"
},
{
"name": "Symfony Community",
"homepage": "https://github.com/nelmio/NelmioApiDocBundle/contributors"
}
],
"require": {
"symfony/framewo... | "name": "Nelmio",
"homepage": "http://nelm.io"
},
{
"name": "Symfony Community",
"homepage": "https://github.com/nelmio/NelmioApiDocBundle/contributors"
}
],
"require": {
"symfony/framework-bundle": "2.1.*",
"symfony/twig-bu... | <|file_sep|>original/composer.json
{
"name": "Nelmio",
"homepage": "http://nelm.io"
},
{
"name": "Symfony Community",
"homepage": "https://github.com/nelmio/NelmioApiDocBundle/contributors"
}
],
"require": {
"symfony/framewo... | ff2e1b23dd27689d9299e17ca4b74f914584d71f | composer.json | composer.json | JSON |
<|file_sep|>original/app/main/presenters/search_results.py
self._replace_lot(service)
self._add_highlighting(service)
def _replace_lot(self, service):
# replace lot slug with reference to dict containing all the relevant lot data
service['lot'] = self._lots.get(service['lot'... | self._replace_lot(service)
self._add_highlighting(service)
def _replace_lot(self, service):
# replace lot slug with reference to dict containing all the relevant lot data
service['lot'] = self._lots.get(service['lot'])
def _add_highlighting(self, service):
if 'h... | <|file_sep|>original/app/main/presenters/search_results.py
self._replace_lot(service)
self._add_highlighting(service)
def _replace_lot(self, service):
# replace lot slug with reference to dict containing all the relevant lot data
service['lot'] = self._lots.get(service['lot'... | e0becdd677c06c29834ecea73c28635553e18337 | app/main/presenters/search_results.py | app/main/presenters/search_results.py | Python |
<|file_sep|>src/main/groovy/toGit/Executor.groovy.diff
original:
File commandFile = null
updated:
<|file_sep|>src/main/groovy/toGit/Executor.groovy.diff
original:
log.error("Missing command file parameter")
updated:
log.error("Missing migration script parameter")
<|file_sep|>src/main/gr... | scriptBaseClass: 'toGit.ScriptBase',
classpath: migrationScript.absoluteFile.parent
)
def binding = new Binding(args as String[])
if (args.length > 1) {
parseParameters(binding, args[1..-1] as String[])
}
MigrationManager.instance.res... | <|file_sep|>src/main/groovy/toGit/Executor.groovy.diff
original:
File commandFile = null
updated:
<|file_sep|>src/main/groovy/toGit/Executor.groovy.diff
original:
log.error("Missing command file parameter")
updated:
log.error("Missing migration script parameter")
<|file_sep|>src/main/gr... | 9bcc2cbe3bf802f4e7b62d74d9d3e335be1628c0 | src/main/groovy/toGit/Executor.groovy | src/main/groovy/toGit/Executor.groovy | Groovy |
<|file_sep|>original/duralex/AddGitHubIssueVisitor.py
else:
node['commitMessage'] = node['commitMessage'] + ' (#' + str(self.current_issue) + ')'
def visit_node(self, node):
if 'type' in node and node['type'] == 'article':
title = 'Article ' + str(node['order'])
... | else:
node['commitMessage'] = node['commitMessage'] + ' (#' + str(self.current_issue) + ')'
def visit_node(self, node):
if 'type' in node and node['type'] == 'article':
title = 'Article ' + str(node['order'])
body = node['content']
found = False
... | <|file_sep|>original/duralex/AddGitHubIssueVisitor.py
else:
node['commitMessage'] = node['commitMessage'] + ' (#' + str(self.current_issue) + ')'
def visit_node(self, node):
if 'type' in node and node['type'] == 'article':
title = 'Article ' + str(node['order'])
... | befa44a98797542fe2e50b82c0cfbed815cfc6d1 | duralex/AddGitHubIssueVisitor.py | duralex/AddGitHubIssueVisitor.py | Python |
<|file_sep|>examples/counter/README.md.diff
original:
## Getting Started
updated:
## Running example
<|file_sep|>original/examples/counter/README.md
# Redux DevTools Counter example
## Getting Started
1. Install dependencies: `npm i`
2. Start the development server: `npm start`
<|file_sep|>current/examples/counter/RE... | # Redux DevTools Counter example
## Running example
```
git clone https://github.com/gaearon/redux-devtools.git
cd redux-devtools
npm install
cd examples/counter
npm install
npm start
open http://localhost:3000
``` | <|file_sep|>examples/counter/README.md.diff
original:
## Getting Started
updated:
## Running example
<|file_sep|>original/examples/counter/README.md
# Redux DevTools Counter example
## Getting Started
1. Install dependencies: `npm i`
2. Start the development server: `npm start`
<|file_sep|>current/examples/counter/RE... | 0a1a49c4d8deaf9c0516168d87d4fe7be68e52a4 | examples/counter/README.md | examples/counter/README.md | Markdown |
<|file_sep|>original/docs/installing.md
Reactotron comes in two versions. A desktop version and a CLI.
# Installing the OS X Application
### Via Direct Download
[Download OS X App](https://github.com/reactotron/reactotron/releases/download/v1.4.4/Reactotron.app.zip) from GitHub release and drop the Reactotron.app t... | Reactotron comes in two versions. A desktop version and a CLI.
# Installing the OS X Application
### Via Direct Download
[Download OS X App](https://github.com/reactotron/reactotron/releases/download/v1.4.0/Reactotron.app.zip) from GitHub release and drop the Reactotron.app to the Applications folder.
### Via Home... | <|file_sep|>original/docs/installing.md
Reactotron comes in two versions. A desktop version and a CLI.
# Installing the OS X Application
### Via Direct Download
[Download OS X App](https://github.com/reactotron/reactotron/releases/download/v1.4.4/Reactotron.app.zip) from GitHub release and drop the Reactotron.app t... | ff6d6cafcb2a32279205a398176a6d9af86ca01e | docs/installing.md | docs/installing.md | Markdown |
<|file_sep|>original/lib/tasks/asset_manager.rake
namespace :asset_manager do
desc "Migrates Organisation logos to Asset Manager."
task migrate_organisation_logos: :environment do
MigrateAssetsToAssetManager.new.perform
end
end
<|file_sep|>current/lib/tasks/asset_manager.rake
namespace :asset_manager do
des... | namespace :asset_manager do
desc "Migrates Assets to Asset Manager."
task migrate_assets: :environment do
MigrateAssetsToAssetManager.new.perform
end
end | <|file_sep|>original/lib/tasks/asset_manager.rake
namespace :asset_manager do
desc "Migrates Organisation logos to Asset Manager."
task migrate_organisation_logos: :environment do
MigrateAssetsToAssetManager.new.perform
end
end
<|file_sep|>current/lib/tasks/asset_manager.rake
namespace :asset_manager do
des... | dc12f1048bdb76a3080dc515358e32f3ebb4d3a7 | lib/tasks/asset_manager.rake | lib/tasks/asset_manager.rake | Ruby |
<|file_sep|>original/.travis.yml
- python: 3.3
- python: 3.4
- python: 3.5
install:
# Install dependencies
- pip install -U setuptools pip
- pip install -r dev_requirements.txt
- python setup.py develop
# Install coveralls
- pip install coveralls
script:
- py.test -x -vvv --doctest-modules ... | - python: 3.3
- python: 3.4
- python: 3.5
install:
# Install dependencies
- pip install -U setuptools pip
- pip install -r dev_requirements.txt
- python setup.py develop
# Install coveralls
- pip install coveralls
script:
- coverage run py.test -x -vvv --doctest-modules --pyargs azure.datal... | <|file_sep|>original/.travis.yml
- python: 3.3
- python: 3.4
- python: 3.5
install:
# Install dependencies
- pip install -U setuptools pip
- pip install -r dev_requirements.txt
- python setup.py develop
# Install coveralls
- pip install coveralls
script:
- py.test -x -vvv --doctest-modules ... | b34fc02dbd9d2d3826aad54985faf5704151177a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.forestry/front_matter/templates/post.yml
type: simple
options:
- Chris S
label: Author
name: author
- type: select
name: layout
config:
source:
type: simple
options:
- post
label: Layout
- type: boolean
name: shortpost
label: Shortpost
- type: tag_list... | type: simple
options:
- Chris S
label: Author
name: author
- type: select
name: layout
config:
source:
type: simple
options:
- post
label: Layout
- type: boolean
name: shortpost
label: Shortpost
- type: tag_list
name: tags
label: Tags
pages:
- _posts/wacky-diets.md | <|file_sep|>original/.forestry/front_matter/templates/post.yml
type: simple
options:
- Chris S
label: Author
name: author
- type: select
name: layout
config:
source:
type: simple
options:
- post
label: Layout
- type: boolean
name: shortpost
label: Shortpost
- type: tag_list... | f18f0f61ab3114901ae098574602319b17d43b97 | .forestry/front_matter/templates/post.yml | .forestry/front_matter/templates/post.yml | YAML |
<|file_sep|>original/app/mailers/error_log_mailer.rb
class ErrorLogMailer < ApplicationMailer
def log_email bad_class, bad_slug
@bad_object = {
type: bad_class,
slug: bad_slug
}
subject = "[Error] Bad "
if bad_slug.present?
subject += "#{ @bad_object[:type] }: "
subject += "#... | class ErrorLogMailer < ApplicationMailer
def log_email bad_class, bad_slug
@bad_object = {
type: bad_class,
slug: bad_slug
}
subject = "[Error] Bad "
if bad_slug.present?
subject += "#{ @bad_object[:type] }: "
subject += "#{ @bad_object[:slug] }"
else
subject += @ba... | <|file_sep|>original/app/mailers/error_log_mailer.rb
class ErrorLogMailer < ApplicationMailer
def log_email bad_class, bad_slug
@bad_object = {
type: bad_class,
slug: bad_slug
}
subject = "[Error] Bad "
if bad_slug.present?
subject += "#{ @bad_object[:type] }: "
subject += "#... | 49ff79cfff61b943ea9eccf95b5d7105e03de04a | app/mailers/error_log_mailer.rb | app/mailers/error_log_mailer.rb | Ruby |
<|file_sep|>original/wluopensource/requirements.txt
Django==1.2
Markdown
oauth2==1.2
psycopg2>=2.0.0
python-openid==2.2
wsgiref>=0.1.2
django-tagging==0.3.1
django-announcements==0.1.0
django-mailer==0.1.0
django-notification==0.1.5
-e git+http://github.com/facebook/python-sdk.git#egg=facebook
-e git+http://github.com... | Django==1.2
Markdown
oauth2==1.2
psycopg2>=2.0.0
python-openid==2.2.5
wsgiref>=0.1.2
django-tagging==0.3.1
django-announcements==0.1.0
django-mailer==0.1.0
django-notification==0.1.5
-e git+http://github.com/facebook/python-sdk.git#egg=facebook
-e git+http://github.com/flashingpumpkin/django-socialregistration.git#egg... | <|file_sep|>original/wluopensource/requirements.txt
Django==1.2
Markdown
oauth2==1.2
psycopg2>=2.0.0
python-openid==2.2
wsgiref>=0.1.2
django-tagging==0.3.1
django-announcements==0.1.0
django-mailer==0.1.0
django-notification==0.1.5
-e git+http://github.com/facebook/python-sdk.git#egg=facebook
-e git+http://github.com... | 7ba4e0b8cf6bea19161e203d07e6edd8c36b06c1 | wluopensource/requirements.txt | wluopensource/requirements.txt | Text |
<|file_sep|>chainer/ya/utils/range_logger.py.diff
original:
startlog = "--> Start: {name}"
endlog = "<-- End:" # noqa
updated:
startmsg = "--> Start: {name}"
endmsg = "<-- End:" # noqa
<|file_sep|>chainer/ya/utils/range_logger.py.diff
original:
updated:
@classmethod
def set_start_msg(cl... | cls.logger = logger
@classmethod
def set_start_msg(cls, msg):
cls.startmsg = msg
@classmethod
def set_end_msg(cls, msg):
cls.endmsg = msg
def __init__(self, name):
if rangelog.logger is None:
rangelog.set_logger()
self.name = name
def _... | <|file_sep|>chainer/ya/utils/range_logger.py.diff
original:
startlog = "--> Start: {name}"
endlog = "<-- End:" # noqa
updated:
startmsg = "--> Start: {name}"
endmsg = "<-- End:" # noqa
<|file_sep|>chainer/ya/utils/range_logger.py.diff
original:
updated:
@classmethod
def set_start_msg(cl... | 1f11ca9f4e4d2560624fd159913d5b35d6bf12e7 | chainer/ya/utils/range_logger.py | chainer/ya/utils/range_logger.py | Python |
<|file_sep|>original/apl_exception.py
<|file_sep|>current/apl_exception.py
<|file_sep|>updated/apl_exception.py | """
A simple APL exception class
"""
class APL_Exception (BaseException):
"""
APL Exception Class
"""
def __init__ (self,message,line=None):
self.message = message
self.line = line
# EOF | <|file_sep|>original/apl_exception.py
<|file_sep|>current/apl_exception.py
<|file_sep|>updated/apl_exception.py
"""
A simple APL exception class
"""
class APL_Exception (BaseException):
"""
APL Exception Class
"""
def __init__ (self,message,line=None):
self.message = message
sel... | c68c5bf488cb7224d675bec333c6b7a4992574ed | apl_exception.py | apl_exception.py | Python |
<|file_sep|>original/math/util/MathUtil.sh
<|file_sep|>current/math/util/MathUtil.sh
<|file_sep|>updated/math/util/MathUtil.sh | include logger.Logger
include math.exception.MathException
include string.validator.StringValidator
MahtUtil(){
if [[ ! $(StringValidator isNum ${2}) ]]; then
MathException notANumberException ${2}
fi
decrement(){
echo $((${1}+1))
}
increment(){
echo $((${1}-1))
}
$@
} | <|file_sep|>original/math/util/MathUtil.sh
<|file_sep|>current/math/util/MathUtil.sh
<|file_sep|>updated/math/util/MathUtil.sh
include logger.Logger
include math.exception.MathException
include string.validator.StringValidator
MahtUtil(){
if [[ ! $(StringValidator isNum ${2}) ]]; then
MathException notANumberExce... | 5477b2c508b474572ec4e4f23ccf003e68921287 | math/util/MathUtil.sh | math/util/MathUtil.sh | Shell |
<|file_sep|>original/README.md
HTML, CSS, JS. Mostly React / WebPack
# How?
0. `git clone https://github.com/FarmBot/farmbot-web-frontend.git`
0. `cd farmbot-web-frontend`
0. `npm install`
0. Move a copy of `src/js/config.example.js` over to `src/js/config.js`
0. `npm start`
0. `Visit http://localhost:8080/web... |
HTML, CSS, JS. Mostly React / WebPack
# How?
0. `git clone https://github.com/FarmBot/farmbot-web-frontend.git`
0. `cd farmbot-web-frontend`
0. `npm install`
0. Move a copy of `src/js/config.example.js` over to `src/js/config.js`
0. `npm start`
0. `Visit http://localhost:3001`
0. Explore the codebase! `js/app... | <|file_sep|>original/README.md
HTML, CSS, JS. Mostly React / WebPack
# How?
0. `git clone https://github.com/FarmBot/farmbot-web-frontend.git`
0. `cd farmbot-web-frontend`
0. `npm install`
0. Move a copy of `src/js/config.example.js` over to `src/js/config.js`
0. `npm start`
0. `Visit http://localhost:8080/web... | 78c09710df2024ef3832ca673cd961b9948c8b2d | README.md | README.md | Markdown |
<|file_sep|>original/runbuildscript.bat
# This is for windows users only.
# If you're on a mac or linux, just run `ant build` from this folder in Terminal
set MYDIR=%~dp0
set ANT_OPTS=-D"file.encoding=UTF-8"
ant build
<|file_sep|>current/runbuildscript.bat
# This is for windows users only.
# If you're on a mac or linu... | REM # This is for windows users only.
REM # If you're on a mac or linux, just run `ant build` from this folder in Terminal
set MYDIR=%~dp0
set ANT_OPTS=-D"file.encoding=UTF-8"
ant build | <|file_sep|>original/runbuildscript.bat
# This is for windows users only.
# If you're on a mac or linux, just run `ant build` from this folder in Terminal
set MYDIR=%~dp0
set ANT_OPTS=-D"file.encoding=UTF-8"
ant build
<|file_sep|>current/runbuildscript.bat
# This is for windows users only.
# If you're on a mac or linu... | c63b86d0f755b5417c7ed35cb3e893f7d4fbda51 | runbuildscript.bat | runbuildscript.bat | Batchfile |
<|file_sep|>original/pkgs/tools/text/replace/default.nix
src = fetchurl {
url = ftp://hpux.connect.org.uk/hpux/Users/replace-2.24/replace-2.24-src-11.11.tar.gz;
sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm";
};
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
crossAttrs = {
... | url = ftp://hpux.connect.org.uk/hpux/Users/replace-2.24/replace-2.24-src-11.11.tar.gz;
sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm";
};
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
crossAttrs = {
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man CC=${stdenv.cross.conf... | <|file_sep|>original/pkgs/tools/text/replace/default.nix
src = fetchurl {
url = ftp://hpux.connect.org.uk/hpux/Users/replace-2.24/replace-2.24-src-11.11.tar.gz;
sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm";
};
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
crossAttrs = {
... | d22a3b8d0ea0911a07ec5f8cbb2b064ecb06f4a5 | pkgs/tools/text/replace/default.nix | pkgs/tools/text/replace/default.nix | Nix |
<|file_sep|>original/lib/kosmos/packages/enhanced_navball.rb
<|file_sep|>current/lib/kosmos/packages/enhanced_navball.rb
<|file_sep|>updated/lib/kosmos/packages/enhanced_navball.rb | class EnhancedNavball < Kosmos::Package
title 'Enhanced Navball'
url 'http://kerbalspaceport.com/wp/wp-content/themes/kerbal/inc/download.php?f=uploads/2013/09/EnhancedNavBall_1_2.zip'
def install
merge_directory 'EnhancedNavBall/Plugins'
end
end | <|file_sep|>original/lib/kosmos/packages/enhanced_navball.rb
<|file_sep|>current/lib/kosmos/packages/enhanced_navball.rb
<|file_sep|>updated/lib/kosmos/packages/enhanced_navball.rb
class EnhancedNavball < Kosmos::Package
title 'Enhanced Navball'
url 'http://kerbalspaceport.com/wp/wp-content/themes/kerbal/inc/down... | 550d365d15fb1756c618c4612f03af37d8c16d9a | lib/kosmos/packages/enhanced_navball.rb | lib/kosmos/packages/enhanced_navball.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.