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/train-number-calc.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta content="5-Oc6FC6uhyZawiHpuki_x09iG5cJ1cvtb19ScgNRp4" name="google-site-verification">
</head>
<body>
<div class="container">
<div id="app">
</div>
</div>
<script src="/assets/js/freight-number-calc.js"></script>
</body>
</html>
<|file_sep|>current/train-number-calc.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta content="5-Oc6FC6uhyZawiHpuki_x09iG5cJ1cvtb19ScgNRp4" name="google-site-verification">
</head>
<body>
<div class="container">
<div id="app">
</div>
</div>
<script src="/assets/js/freight-number-calc.js"></script>
</body>
</html>
<|file_sep|>updated/train-number-calc.html | <!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta content="5-Oc6FC6uhyZawiHpuki_x09iG5cJ1cvtb19ScgNRp4" name="google-site-verification">
</head>
<body>
<div class="container">
<div id="app">
</div>
</div>
<script src="/assets/js/train-number-calc.js"></script>
</body>
</html> | <|file_sep|>original/train-number-calc.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta content="5-Oc6FC6uhyZawiHpuki_x09iG5cJ1cvtb19ScgNRp4" name="google-site-verification">
</head>
<body>
<div class="container">
<div id="app">
</div>
</div>
<script src="/assets/js/freight-number-calc.js"></script>
</body>
</html>
<|file_sep|>current/train-number-calc.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta content="5-Oc6FC6uhyZawiHpuki_x09iG5cJ1cvtb19ScgNRp4" name="google-site-verification">
</head>
<body>
<div class="container">
<div id="app">
</div>
</div>
<script src="/assets/js/freight-number-calc.js"></script>
</body>
</html>
<|file_sep|>updated/train-number-calc.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>貨物列車 種別計算 - Hiroto-K.github.io</title>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/lib.js"></script>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<meta content="5-Oc6FC6uhyZawiHpuki_x09iG5cJ1cvtb19ScgNRp4" name="google-site-verification">
</head>
<body>
<div class="container">
<div id="app">
</div>
</div>
<script src="/assets/js/train-number-calc.js"></script>
</body>
</html> | 34732e518bf23cb639a75c86fd2b6868d69d6972 | train-number-calc.html | train-number-calc.html | HTML |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
env:
global:
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
env:
global:
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.2
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
env:
global: | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
env:
global:
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
env:
global:
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.2
cache: bundler
install: gem install jekyll html-proofer
script: bundle exec jekyll build && htmlproof ./_site
deploy:
provider: cloudfoundry
edge: true
api: $CF_API
username: $CF_USER
password: $CF_PASS
organization: $CF_ORG
space: $CF_ENV
env:
global: | 7f0b825a16da1eb3080640cc6500da6b22f75945 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/biobox_cli/util.py
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docopt(doc,
argv = argv,
version = __version__,
options_first = is_main_module)
def err_message(msg_key, locals_):
path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'assets', 'error_messages.yml')
with open(path, 'r') as f:
errors = yaml.load(f.read())
return errors[msg_key].format(**locals_)
def err_exit(msg_key, locals_):
sys.stderr.write(err_message(msg_key, locals_))
exit(1)
<|file_sep|>current/biobox_cli/util.py
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docopt(doc,
argv = argv,
version = __version__,
options_first = is_main_module)
def err_message(msg_key, locals_):
path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'assets', 'error_messages.yml')
with open(path, 'r') as f:
errors = yaml.load(f.read())
return errors[msg_key].format(**locals_)
def err_exit(msg_key, locals_):
sys.stderr.write(err_message(msg_key, locals_))
exit(1)
<|file_sep|>updated/biobox_cli/util.py | except ImportError:
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docopt(doc,
argv = argv,
version = __version__,
options_first = is_main_module)
def err_message(msg_key, locals_):
from pkg_resources import resource_string
errors = yaml.load(resource_string(__name__, os.path.join('..', 'assets', 'error_messages.yml')))
return errors[msg_key].format(**locals_)
def err_exit(msg_key, locals_):
sys.stderr.write(err_message(msg_key, locals_))
exit(1) | <|file_sep|>original/biobox_cli/util.py
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docopt(doc,
argv = argv,
version = __version__,
options_first = is_main_module)
def err_message(msg_key, locals_):
path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'assets', 'error_messages.yml')
with open(path, 'r') as f:
errors = yaml.load(f.read())
return errors[msg_key].format(**locals_)
def err_exit(msg_key, locals_):
sys.stderr.write(err_message(msg_key, locals_))
exit(1)
<|file_sep|>current/biobox_cli/util.py
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docopt(doc,
argv = argv,
version = __version__,
options_first = is_main_module)
def err_message(msg_key, locals_):
path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'assets', 'error_messages.yml')
with open(path, 'r') as f:
errors = yaml.load(f.read())
return errors[msg_key].format(**locals_)
def err_exit(msg_key, locals_):
sys.stderr.write(err_message(msg_key, locals_))
exit(1)
<|file_sep|>updated/biobox_cli/util.py
except ImportError:
err_exit('unknown_command',
{'command_type': str.replace(module, '_', ' '), 'command': name})
return sys.modules[mod_name]
def parse_docopt(doc, argv, is_main_module):
from docopt import docopt
from version import __version__
return docopt(doc,
argv = argv,
version = __version__,
options_first = is_main_module)
def err_message(msg_key, locals_):
from pkg_resources import resource_string
errors = yaml.load(resource_string(__name__, os.path.join('..', 'assets', 'error_messages.yml')))
return errors[msg_key].format(**locals_)
def err_exit(msg_key, locals_):
sys.stderr.write(err_message(msg_key, locals_))
exit(1) | 8aff9605a91f1041a1040c2cfc000dbc588c0503 | biobox_cli/util.py | biobox_cli/util.py | Python |
<|file_sep|>original/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>current/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>updated/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java | /*******************************************************************************
* Copyright (C) 2017 Push Technology Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package com.pushtechnology.adapters.rest.metrics.events;
/**
* A counter for events.
* <p>
* Counts three different types of events, action | <|file_sep|>original/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>current/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
<|file_sep|>updated/metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java
/*******************************************************************************
* Copyright (C) 2017 Push Technology Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package com.pushtechnology.adapters.rest.metrics.events;
/**
* A counter for events.
* <p>
* Counts three different types of events, action | 496946e25590ff45b2e76b0b9cba8f6377698b7e | metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java | metrics/metrics-event-listeners/src/main/java/com/pushtechnology/adapters/rest/metrics/events/EventCounter.java | Java |
<|file_sep|>api/postits.go.diff
original:
updated:
"io/ioutil"
<|file_sep|>api/postits.go.diff
original:
updated:
"time"
"fmt"
"encoding/json"
"strconv"
<|file_sep|>api/postits.go.diff
original:
updated:
var Postits []Postit
<|file_sep|>api/postits.go.diff
original:
io.WriteString(w, "Listing postits: "+board_id+"\n")
// FIXME : without parameters, return nothing
// with a valid board_d, return the list
updated:
if board_id != "" {
//FIXME: return JSON array
io.WriteString(w, "Listing postits: "+board_id+"\n")
}
fmt.Printf("Available postits=%v\n", Postits)
<|file_sep|>original/api/postits.go
}
func ListPostits(w http.ResponseWriter, req *http.Request) {
board_id := req.URL.Query().Get("Board_id")
io.WriteString(w, "Listing postits: "+board_id+"\n")
// FIXME : without parameters, return nothing
// with a valid board_d, return the list
}
func ShowPostit(w http.ResponseWriter, req *http.Request) {
io.WriteString(w, "Showing postit # "+req.URL.Query().Get(":Id")+"!\n")
// FIXME : return postit attributes
}
func CreatePostit(w http.ResponseWriter, req *http.Request) {
//FIXME : refuse without a valid board id
io.WriteString(w, "Creating postit for board #"+req.URL.Query().Get("board_id")+"!\n")
}
<|file_sep|>current/api/postits.go
var Postits []Postit
func ListPostits(w http.ResponseWriter, req *http.Request) {
board_id := req.URL.Query().Get("Board_id")
if board_id != "" {
//FIXME: return JSON array
io.WriteString(w, "Listing postits: "+board_id+"\n")
}
fmt.Printf("Available postits=%v\n", Postits)
}
func ShowPostit(w http.ResponseWriter, req *http.Request) {
io.WriteString(w, "Showing postit # "+req.URL.Query().Get(":Id")+"!\n")
// FIXME : return postit attributes
}
func CreatePostit(w http.ResponseWriter, req *http.Request) {
//FIXME : refuse without a valid board id
io.WriteString(w, "Creating postit for board #"+req.URL.Query().Get("board_id")+"!\n")
}
<|file_sep|>updated/api/postits.go | }
fmt.Printf("Available postits=%v\n", Postits)
}
func ShowPostit(w http.ResponseWriter, req *http.Request) {
io.WriteString(w, "Showing postit # "+req.URL.Query().Get(":Id")+"!\n")
// FIXME : return postit attributes
}
func CreatePostit(w http.ResponseWriter, req *http.Request) {
postit := &Postit{}
defer req.Body.Close()
body, err := ioutil.ReadAll(req.Body)
if err != nil {
fmt.Printf("%s", err)
}
erru := json.Unmarshal(body, &postit)
if erru != nil {
fmt.Println("Cannot unmarshal to postit: %s", err)
} | <|file_sep|>api/postits.go.diff
original:
updated:
"io/ioutil"
<|file_sep|>api/postits.go.diff
original:
updated:
"time"
"fmt"
"encoding/json"
"strconv"
<|file_sep|>api/postits.go.diff
original:
updated:
var Postits []Postit
<|file_sep|>api/postits.go.diff
original:
io.WriteString(w, "Listing postits: "+board_id+"\n")
// FIXME : without parameters, return nothing
// with a valid board_d, return the list
updated:
if board_id != "" {
//FIXME: return JSON array
io.WriteString(w, "Listing postits: "+board_id+"\n")
}
fmt.Printf("Available postits=%v\n", Postits)
<|file_sep|>original/api/postits.go
}
func ListPostits(w http.ResponseWriter, req *http.Request) {
board_id := req.URL.Query().Get("Board_id")
io.WriteString(w, "Listing postits: "+board_id+"\n")
// FIXME : without parameters, return nothing
// with a valid board_d, return the list
}
func ShowPostit(w http.ResponseWriter, req *http.Request) {
io.WriteString(w, "Showing postit # "+req.URL.Query().Get(":Id")+"!\n")
// FIXME : return postit attributes
}
func CreatePostit(w http.ResponseWriter, req *http.Request) {
//FIXME : refuse without a valid board id
io.WriteString(w, "Creating postit for board #"+req.URL.Query().Get("board_id")+"!\n")
}
<|file_sep|>current/api/postits.go
var Postits []Postit
func ListPostits(w http.ResponseWriter, req *http.Request) {
board_id := req.URL.Query().Get("Board_id")
if board_id != "" {
//FIXME: return JSON array
io.WriteString(w, "Listing postits: "+board_id+"\n")
}
fmt.Printf("Available postits=%v\n", Postits)
}
func ShowPostit(w http.ResponseWriter, req *http.Request) {
io.WriteString(w, "Showing postit # "+req.URL.Query().Get(":Id")+"!\n")
// FIXME : return postit attributes
}
func CreatePostit(w http.ResponseWriter, req *http.Request) {
//FIXME : refuse without a valid board id
io.WriteString(w, "Creating postit for board #"+req.URL.Query().Get("board_id")+"!\n")
}
<|file_sep|>updated/api/postits.go
}
fmt.Printf("Available postits=%v\n", Postits)
}
func ShowPostit(w http.ResponseWriter, req *http.Request) {
io.WriteString(w, "Showing postit # "+req.URL.Query().Get(":Id")+"!\n")
// FIXME : return postit attributes
}
func CreatePostit(w http.ResponseWriter, req *http.Request) {
postit := &Postit{}
defer req.Body.Close()
body, err := ioutil.ReadAll(req.Body)
if err != nil {
fmt.Printf("%s", err)
}
erru := json.Unmarshal(body, &postit)
if erru != nil {
fmt.Println("Cannot unmarshal to postit: %s", err)
} | 99cfacecefa730f7f8b6317abff267bdaf190b5f | api/postits.go | api/postits.go | Go |
<|file_sep|>original/copromise.js
// Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return run(coroutine).catch(copromise.raise);
}
copromise.exec = function exec(coroutine) {
return run(coroutine).catch(copromise.raise);
};
module.exports = copromise;
<|file_sep|>current/copromise.js
// Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return run(coroutine).catch(copromise.raise);
}
copromise.exec = function exec(coroutine) {
return run(coroutine).catch(copromise.raise);
};
module.exports = copromise;
<|file_sep|>updated/copromise.js | // Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return run(coroutine);
}
copromise.exec = function exec(coroutine) {
return run(coroutine).catch(copromise.raise);
};
module.exports = copromise; | <|file_sep|>original/copromise.js
// Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return run(coroutine).catch(copromise.raise);
}
copromise.exec = function exec(coroutine) {
return run(coroutine).catch(copromise.raise);
};
module.exports = copromise;
<|file_sep|>current/copromise.js
// Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return run(coroutine).catch(copromise.raise);
}
copromise.exec = function exec(coroutine) {
return run(coroutine).catch(copromise.raise);
};
module.exports = copromise;
<|file_sep|>updated/copromise.js
// Throw error in next event turn
function raise(error) {
if (!error) return;
setImmediate(function() {
throw error;
});
}
// Run coroutine and raise exception on failure
function copromise(coroutine) {
if (isGeneratorFunction(coroutine)) {
coroutine = coroutine();
}
return run(coroutine);
}
copromise.exec = function exec(coroutine) {
return run(coroutine).catch(copromise.raise);
};
module.exports = copromise; | 90bc1cc38c2b613b56f1a5d2e6db8e0d67a8c1d6 | copromise.js | copromise.js | JavaScript |
<|file_sep|>original/composer.json
{
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"cedricziel/flysystem-gcs": "^1.0"
},
"keywords": ["laravel", "laravel5", "flysystem"],
"homepage": "https://github.com/websightgmbh/l5-google-cloud-storage",
"license": "MIT",
"authors": [
{
"name": "Cedric Ziel",
"email": "ziel@websight.de"
}
],
"autoload": {
"psr-4": {
"Websight\\GcsProvider\\": "src/Websight/GcsProvider/"
}
<|file_sep|>current/composer.json
{
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"cedricziel/flysystem-gcs": "^1.0"
},
"keywords": ["laravel", "laravel5", "flysystem"],
"homepage": "https://github.com/websightgmbh/l5-google-cloud-storage",
"license": "MIT",
"authors": [
{
"name": "Cedric Ziel",
"email": "ziel@websight.de"
}
],
"autoload": {
"psr-4": {
"Websight\\GcsProvider\\": "src/Websight/GcsProvider/"
}
<|file_sep|>updated/composer.json | {
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"cedricziel/flysystem-gcs": "^1.0"
},
"keywords": ["laravel", "laravel5", "flysystem"],
"homepage": "https://github.com/websightgmbh/l5-google-cloud-storage",
"license": "MIT",
"authors": [
{
"name": "Cedric Ziel",
"email": "ziel@websight.de"
}
],
"autoload": {
"psr-4": {
"Websight\\GcsProvider\\": "src/Websight/GcsProvider/"
} | <|file_sep|>original/composer.json
{
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"cedricziel/flysystem-gcs": "^1.0"
},
"keywords": ["laravel", "laravel5", "flysystem"],
"homepage": "https://github.com/websightgmbh/l5-google-cloud-storage",
"license": "MIT",
"authors": [
{
"name": "Cedric Ziel",
"email": "ziel@websight.de"
}
],
"autoload": {
"psr-4": {
"Websight\\GcsProvider\\": "src/Websight/GcsProvider/"
}
<|file_sep|>current/composer.json
{
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*",
"cedricziel/flysystem-gcs": "^1.0"
},
"keywords": ["laravel", "laravel5", "flysystem"],
"homepage": "https://github.com/websightgmbh/l5-google-cloud-storage",
"license": "MIT",
"authors": [
{
"name": "Cedric Ziel",
"email": "ziel@websight.de"
}
],
"autoload": {
"psr-4": {
"Websight\\GcsProvider\\": "src/Websight/GcsProvider/"
}
<|file_sep|>updated/composer.json
{
"name": "websight/l5-google-cloud-storage",
"description": "Laravel 5 Flysystem Google Cloud Storage Service Provider",
"require": {
"illuminate/filesystem": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"illuminate/support": "~5.0.17|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"cedricziel/flysystem-gcs": "^1.0"
},
"keywords": ["laravel", "laravel5", "flysystem"],
"homepage": "https://github.com/websightgmbh/l5-google-cloud-storage",
"license": "MIT",
"authors": [
{
"name": "Cedric Ziel",
"email": "ziel@websight.de"
}
],
"autoload": {
"psr-4": {
"Websight\\GcsProvider\\": "src/Websight/GcsProvider/"
} | 86ce73a782c6498daeb8b4abc1434848b1de932d | composer.json | composer.json | JSON |
<|file_sep|>original/db/seeds/challenge/challenge.rb
challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
remote_banner_url: '',
hashtag: 'ChallengePlatform',
description: "<p class='section-title'>What's your idea to make classroom videos great?</p>",
background: 'School systems across the country are investing time and money to create and share professional development videos, but are these videos giving educators what they need, when they need it? What if teachers came together to share their experiences and come up with ideas for how videos can better meet their professional learning needs?',
outcome: 'The First Challenge is a test challenge.',
help: "There are four ways you can get involved over the course of the Challenge: share your experiences, contribute your ideas for how to improve classroom video, develop approaches, and try out popular solutions in your classroom. You'll eventually be able to participate in any stage. Scroll down to learn more, or click \"Get Involved\" to start now. Welcome!",
cta_tackle: 'Want to help?',
starts_at: Time.now,
ends_at: 1.month.from_now,
featured: true
)
## CREATING DEMO PANEL
panel = challenge.create_panel!(about: "Our Challenge Guides are educators and researchers who are passionate about making professional learning the best it can be. They’re here to support and synthesize #{challenge.title} conversation and make sure your voice is heard, your questions are answered and great ideas are shared!", user_ids: [7,8,12])
<|file_sep|>current/db/seeds/challenge/challenge.rb
challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
remote_banner_url: '',
hashtag: 'ChallengePlatform',
description: "<p class='section-title'>What's your idea to make classroom videos great?</p>",
background: 'School systems across the country are investing time and money to create and share professional development videos, but are these videos giving educators what they need, when they need it? What if teachers came together to share their experiences and come up with ideas for how videos can better meet their professional learning needs?',
outcome: 'The First Challenge is a test challenge.',
help: "There are four ways you can get involved over the course of the Challenge: share your experiences, contribute your ideas for how to improve classroom video, develop approaches, and try out popular solutions in your classroom. You'll eventually be able to participate in any stage. Scroll down to learn more, or click \"Get Involved\" to start now. Welcome!",
cta_tackle: 'Want to help?',
starts_at: Time.now,
ends_at: 1.month.from_now,
featured: true
)
## CREATING DEMO PANEL
panel = challenge.create_panel!(about: "Our Challenge Guides are educators and researchers who are passionate about making professional learning the best it can be. They’re here to support and synthesize #{challenge.title} conversation and make sure your voice is heard, your questions are answered and great ideas are shared!", user_ids: [7,8,12])
<|file_sep|>updated/db/seeds/challenge/challenge.rb | challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
remote_banner_url: '',
hashtag: 'ChallengePlatform',
description: "<p class='section-title'>What's your idea to make classroom videos great?</p>",
background: 'School systems across the country are investing time and money to create and share professional development videos, but are these videos giving educators what they need, when they need it? What if teachers came together to share their experiences and come up with ideas for how videos can better meet their professional learning needs?',
outcome: 'The First Challenge is a test challenge.',
help: "There are four ways you can get involved over the course of the Challenge: share your experiences, contribute your ideas for how to improve classroom video, develop approaches, and try out popular solutions in your classroom. You'll eventually be able to participate in any stage. Scroll down to learn more, or click \"Get Involved\" to start now. Welcome!",
cta: 'Want to help?',
starts_at: Time.now,
ends_at: 1.month.from_now,
featured: true
)
## CREATING DEMO PANEL
panel = challenge.create_panel!(about: "Our Challenge Guides are educators and researchers who are passionate about making professional learning the best it can be. They’re here to support and synthesize #{challenge.title} conversation and make sure your voice is heard, your questions are answered and great ideas are shared!", user_ids: [7,8,12]) | <|file_sep|>original/db/seeds/challenge/challenge.rb
challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
remote_banner_url: '',
hashtag: 'ChallengePlatform',
description: "<p class='section-title'>What's your idea to make classroom videos great?</p>",
background: 'School systems across the country are investing time and money to create and share professional development videos, but are these videos giving educators what they need, when they need it? What if teachers came together to share their experiences and come up with ideas for how videos can better meet their professional learning needs?',
outcome: 'The First Challenge is a test challenge.',
help: "There are four ways you can get involved over the course of the Challenge: share your experiences, contribute your ideas for how to improve classroom video, develop approaches, and try out popular solutions in your classroom. You'll eventually be able to participate in any stage. Scroll down to learn more, or click \"Get Involved\" to start now. Welcome!",
cta_tackle: 'Want to help?',
starts_at: Time.now,
ends_at: 1.month.from_now,
featured: true
)
## CREATING DEMO PANEL
panel = challenge.create_panel!(about: "Our Challenge Guides are educators and researchers who are passionate about making professional learning the best it can be. They’re here to support and synthesize #{challenge.title} conversation and make sure your voice is heard, your questions are answered and great ideas are shared!", user_ids: [7,8,12])
<|file_sep|>current/db/seeds/challenge/challenge.rb
challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
remote_banner_url: '',
hashtag: 'ChallengePlatform',
description: "<p class='section-title'>What's your idea to make classroom videos great?</p>",
background: 'School systems across the country are investing time and money to create and share professional development videos, but are these videos giving educators what they need, when they need it? What if teachers came together to share their experiences and come up with ideas for how videos can better meet their professional learning needs?',
outcome: 'The First Challenge is a test challenge.',
help: "There are four ways you can get involved over the course of the Challenge: share your experiences, contribute your ideas for how to improve classroom video, develop approaches, and try out popular solutions in your classroom. You'll eventually be able to participate in any stage. Scroll down to learn more, or click \"Get Involved\" to start now. Welcome!",
cta_tackle: 'Want to help?',
starts_at: Time.now,
ends_at: 1.month.from_now,
featured: true
)
## CREATING DEMO PANEL
panel = challenge.create_panel!(about: "Our Challenge Guides are educators and researchers who are passionate about making professional learning the best it can be. They’re here to support and synthesize #{challenge.title} conversation and make sure your voice is heard, your questions are answered and great ideas are shared!", user_ids: [7,8,12])
<|file_sep|>updated/db/seeds/challenge/challenge.rb
challenge = Challenge.create!(title: 'The First Challenge',
headline: 'This is the first challenge - what\'s not working for you and your setup?',
video_url: 'https://youtu.be/3kAo2Z3C3gY',
remote_banner_url: '',
hashtag: 'ChallengePlatform',
description: "<p class='section-title'>What's your idea to make classroom videos great?</p>",
background: 'School systems across the country are investing time and money to create and share professional development videos, but are these videos giving educators what they need, when they need it? What if teachers came together to share their experiences and come up with ideas for how videos can better meet their professional learning needs?',
outcome: 'The First Challenge is a test challenge.',
help: "There are four ways you can get involved over the course of the Challenge: share your experiences, contribute your ideas for how to improve classroom video, develop approaches, and try out popular solutions in your classroom. You'll eventually be able to participate in any stage. Scroll down to learn more, or click \"Get Involved\" to start now. Welcome!",
cta: 'Want to help?',
starts_at: Time.now,
ends_at: 1.month.from_now,
featured: true
)
## CREATING DEMO PANEL
panel = challenge.create_panel!(about: "Our Challenge Guides are educators and researchers who are passionate about making professional learning the best it can be. They’re here to support and synthesize #{challenge.title} conversation and make sure your voice is heard, your questions are answered and great ideas are shared!", user_ids: [7,8,12]) | ddc1a1dacc65d127df52dcb0c82b66427b0ab340 | db/seeds/challenge/challenge.rb | db/seeds/challenge/challenge.rb | Ruby |
<|file_sep|>original/meetings/15-10-30_retrospectives.md
<|file_sep|>current/meetings/15-10-30_retrospectives.md
<|file_sep|>updated/meetings/15-10-30_retrospectives.md | # 10.30.15 Planning Session
_Attendees:_
- Dave Fontenot
- Jonathan Leung
- Max Wofford
- Zach Latta
## Actionable tasks
1. Move weekly retrospectives to Wednesday
2. Aim for moving team meetings to Wednesday
3. Setup monthly one on ones with club leaders, 30 mins each
4. Focus on getting club member attendance next week
## Discussion topics
- You can bookmark the ZenHub board with all repos shown and the repos will be
saved in the URL
- Semester planning meeting should have gone for longer | <|file_sep|>original/meetings/15-10-30_retrospectives.md
<|file_sep|>current/meetings/15-10-30_retrospectives.md
<|file_sep|>updated/meetings/15-10-30_retrospectives.md
# 10.30.15 Planning Session
_Attendees:_
- Dave Fontenot
- Jonathan Leung
- Max Wofford
- Zach Latta
## Actionable tasks
1. Move weekly retrospectives to Wednesday
2. Aim for moving team meetings to Wednesday
3. Setup monthly one on ones with club leaders, 30 mins each
4. Focus on getting club member attendance next week
## Discussion topics
- You can bookmark the ZenHub board with all repos shown and the repos will be
saved in the URL
- Semester planning meeting should have gone for longer | 516f38434310a43e43e92c8513a0d47e7ce1b432 | meetings/15-10-30_retrospectives.md | meetings/15-10-30_retrospectives.md | Markdown |
<|file_sep|>original/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>current/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>updated/requirements/build.txt | # ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.1 | <|file_sep|>original/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>current/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.0
<|file_sep|>updated/requirements/build.txt
# ydf/requirements/build.txt
#
# Requirements necessary to build the ydf package.
setuptools==36.7.1 | f4fa81a87f96d208370b355ff7ac42c73b3c38d6 | requirements/build.txt | requirements/build.txt | Text |
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
easing: "easeOutInCubic"
updated:
easing.type: "OutInCubic"
<|file_sep|>original/tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml
}
data: [
Transition {
id: rowTransition
objectName: "rowTransition"
NumberAnimation {
properties: "x,y";
easing: "easeOutInCubic"
}
},
Transition {
id: columnTransition
objectName: "columnTransition"
NumberAnimation {
properties: "x,y";
easing: "easeOutInCubic"
}
}
]
}
<|file_sep|>current/tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml
}
data: [
Transition {
id: rowTransition
objectName: "rowTransition"
NumberAnimation {
properties: "x,y";
easing.type: "OutInCubic"
}
},
Transition {
id: columnTransition
objectName: "columnTransition"
NumberAnimation {
properties: "x,y";
easing: "easeOutInCubic"
}
}
]
}
<|file_sep|>updated/tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml | }
data: [
Transition {
id: rowTransition
objectName: "rowTransition"
NumberAnimation {
properties: "x,y";
easing.type: "OutInCubic"
}
},
Transition {
id: columnTransition
objectName: "columnTransition"
NumberAnimation {
properties: "x,y";
easing.type: "OutInCubic"
}
}
]
} | <|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
updated:
<|file_sep|>tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml.diff
original:
easing: "easeOutInCubic"
updated:
easing.type: "OutInCubic"
<|file_sep|>original/tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml
}
data: [
Transition {
id: rowTransition
objectName: "rowTransition"
NumberAnimation {
properties: "x,y";
easing: "easeOutInCubic"
}
},
Transition {
id: columnTransition
objectName: "columnTransition"
NumberAnimation {
properties: "x,y";
easing: "easeOutInCubic"
}
}
]
}
<|file_sep|>current/tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml
}
data: [
Transition {
id: rowTransition
objectName: "rowTransition"
NumberAnimation {
properties: "x,y";
easing.type: "OutInCubic"
}
},
Transition {
id: columnTransition
objectName: "columnTransition"
NumberAnimation {
properties: "x,y";
easing: "easeOutInCubic"
}
}
]
}
<|file_sep|>updated/tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml
}
data: [
Transition {
id: rowTransition
objectName: "rowTransition"
NumberAnimation {
properties: "x,y";
easing.type: "OutInCubic"
}
},
Transition {
id: columnTransition
objectName: "columnTransition"
NumberAnimation {
properties: "x,y";
easing.type: "OutInCubic"
}
}
]
} | 4066e60e859853cfe3240245ba05271e79839506 | tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml | tests/auto/declarative/qmlgraphicspositioners/data/propertychanges.qml | QML |
<|file_sep|>original/steer_bot_hardware_gazebo/config/joints.yaml
steer_bot_hardware_gazebo:
rear_wheel : 'base_to_wheel'
front_steer : 'base_to_steer'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front_wheel']
virtual_front_steers : ['base_to_right_front_steer', 'base_to_left_front_steer']
# ackermann link mechanism
enable_ackermann_link: 1
wheel_separation_w : 0.5
wheel_separation_h : 0.79
<|file_sep|>current/steer_bot_hardware_gazebo/config/joints.yaml
steer_bot_hardware_gazebo:
rear_wheel : 'base_to_wheel'
front_steer : 'base_to_steer'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front_wheel']
virtual_front_steers : ['base_to_right_front_steer', 'base_to_left_front_steer']
# ackermann link mechanism
enable_ackermann_link: 1
wheel_separation_w : 0.5
wheel_separation_h : 0.79
<|file_sep|>updated/steer_bot_hardware_gazebo/config/joints.yaml | steer_bot_hardware_gazebo:
rear_wheel : 'rear_wheel_joint'
front_steer : 'front_steer_joint'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front_wheel']
virtual_front_steers : ['base_to_right_front_steer', 'base_to_left_front_steer']
# ackermann link mechanism
enable_ackermann_link: 1
wheel_separation_w : 0.5
wheel_separation_h : 0.79 | <|file_sep|>original/steer_bot_hardware_gazebo/config/joints.yaml
steer_bot_hardware_gazebo:
rear_wheel : 'base_to_wheel'
front_steer : 'base_to_steer'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front_wheel']
virtual_front_steers : ['base_to_right_front_steer', 'base_to_left_front_steer']
# ackermann link mechanism
enable_ackermann_link: 1
wheel_separation_w : 0.5
wheel_separation_h : 0.79
<|file_sep|>current/steer_bot_hardware_gazebo/config/joints.yaml
steer_bot_hardware_gazebo:
rear_wheel : 'base_to_wheel'
front_steer : 'base_to_steer'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front_wheel']
virtual_front_steers : ['base_to_right_front_steer', 'base_to_left_front_steer']
# ackermann link mechanism
enable_ackermann_link: 1
wheel_separation_w : 0.5
wheel_separation_h : 0.79
<|file_sep|>updated/steer_bot_hardware_gazebo/config/joints.yaml
steer_bot_hardware_gazebo:
rear_wheel : 'rear_wheel_joint'
front_steer : 'front_steer_joint'
virtual_rear_wheels : ['base_to_right_rear_wheel', 'base_to_left_rear_wheel']
virtual_front_wheels : ['base_to_right_front_wheel', 'base_to_left_front_wheel']
virtual_front_steers : ['base_to_right_front_steer', 'base_to_left_front_steer']
# ackermann link mechanism
enable_ackermann_link: 1
wheel_separation_w : 0.5
wheel_separation_h : 0.79 | 5d80a93196f1822f3688e0612fa6c73a7679235b | steer_bot_hardware_gazebo/config/joints.yaml | steer_bot_hardware_gazebo/config/joints.yaml | YAML |
<|file_sep|>original/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>current/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>updated/css/main.css | .mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
.player {
background: blue;
} | <|file_sep|>original/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>current/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
<|file_sep|>updated/css/main.css
.mini-map {
position: absolute;
border: 1px solid black;
}
.tile {
position: absolute;
}
.player {
background: blue;
} | ad415c02ce12049f84c716733f84a79a2b2f6492 | css/main.css | css/main.css | CSS |
<|file_sep|>original/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>current/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE/40-tflite-op-request.md | ---
name: TensorFlow Lite Op Request
about: Use this template for reporting ops you are using or missing.
---
**System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- TensorFlow installed from (source or binary):
- TensorFlow version (or github SHA if from source):
**Provide the text output from tflite_convert**
```
# Copy and paste here
```
Also, please include a link to a GraphDef or the model if possible.
| <|file_sep|>original/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>current/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
<|file_sep|>updated/.github/ISSUE_TEMPLATE/40-tflite-op-request.md
---
name: TensorFlow Lite Op Request
about: Use this template for reporting ops you are using or missing.
---
**System information**
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
- TensorFlow installed from (source or binary):
- TensorFlow version (or github SHA if from source):
**Provide the text output from tflite_convert**
```
# Copy and paste here
```
Also, please include a link to a GraphDef or the model if possible.
| 11f77c8e22dc1040867356fd3475bc9264ae9e88 | .github/ISSUE_TEMPLATE/40-tflite-op-request.md | .github/ISSUE_TEMPLATE/40-tflite-op-request.md | Markdown |
<|file_sep|>original/composer.json
"description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/options-resolver": "^4.2 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.52",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
"PhpBench\\DependencyInjection\\": "lib/"
}
<|file_sep|>current/composer.json
"description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/options-resolver": "^4.2 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.52",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
"PhpBench\\DependencyInjection\\": "lib/"
}
<|file_sep|>updated/composer.json | "description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/options-resolver": "^4.2 || ^5.0 || ^6.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.52",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
"PhpBench\\DependencyInjection\\": "lib/"
} | <|file_sep|>original/composer.json
"description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/options-resolver": "^4.2 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.52",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
"PhpBench\\DependencyInjection\\": "lib/"
}
<|file_sep|>current/composer.json
"description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/options-resolver": "^4.2 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.52",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
"PhpBench\\DependencyInjection\\": "lib/"
}
<|file_sep|>updated/composer.json
"description": "Simple, configurable, service container.",
"license": "MIT",
"authors": [
{
"name": "Daniel Leech",
"email": "daniel@dantleech.com"
}
],
"require": {
"psr/container": "^1.0|^2.0",
"symfony/options-resolver": "^4.2 || ^5.0 || ^6.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
"phpstan/phpstan": "^0.12.52",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
"PhpBench\\DependencyInjection\\": "lib/"
} | 0f4e05768f8c26d5a48e1be54ec8a091c9271a17 | composer.json | composer.json | JSON |
<|file_sep|>original/emacs.d/conf/51_configuration.el
;; --------------------------------------------------
;; Docker
;; --------------------------------------------------
(require 'dockerfile-mode nil)
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; --------------------------------------------------
;; Capistrano
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
;; --------------------------------------------------
;; Guard
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
;; --------------------------------------------------
;; Chef
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Berksfile$" . ruby-mode))
<|file_sep|>current/emacs.d/conf/51_configuration.el
;; --------------------------------------------------
;; Docker
;; --------------------------------------------------
(require 'dockerfile-mode nil)
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; --------------------------------------------------
;; Capistrano
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
;; --------------------------------------------------
;; Guard
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
;; --------------------------------------------------
;; Chef
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Berksfile$" . ruby-mode))
<|file_sep|>updated/emacs.d/conf/51_configuration.el | (add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; --------------------------------------------------
;; Capistrano
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
;; --------------------------------------------------
;; Guard
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
;; --------------------------------------------------
;; Chef
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Berksfile$" . ruby-mode))
;; --------------------------------------------------
;; Systemd
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("\\.service$" . conf-mode)) | <|file_sep|>original/emacs.d/conf/51_configuration.el
;; --------------------------------------------------
;; Docker
;; --------------------------------------------------
(require 'dockerfile-mode nil)
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; --------------------------------------------------
;; Capistrano
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
;; --------------------------------------------------
;; Guard
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
;; --------------------------------------------------
;; Chef
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Berksfile$" . ruby-mode))
<|file_sep|>current/emacs.d/conf/51_configuration.el
;; --------------------------------------------------
;; Docker
;; --------------------------------------------------
(require 'dockerfile-mode nil)
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; --------------------------------------------------
;; Capistrano
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
;; --------------------------------------------------
;; Guard
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
;; --------------------------------------------------
;; Chef
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Berksfile$" . ruby-mode))
<|file_sep|>updated/emacs.d/conf/51_configuration.el
(add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))
;; --------------------------------------------------
;; Capistrano
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
;; --------------------------------------------------
;; Guard
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Guardfile$" . ruby-mode))
;; --------------------------------------------------
;; Chef
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("Berksfile$" . ruby-mode))
;; --------------------------------------------------
;; Systemd
;; --------------------------------------------------
(add-to-list 'auto-mode-alist '("\\.service$" . conf-mode)) | 39fd43dc7620000b49610207150894000287f324 | emacs.d/conf/51_configuration.el | emacs.d/conf/51_configuration.el | Emacs Lisp |
<|file_sep|>original/GitVersion.yml
next-version: 3.14.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr
<|file_sep|>current/GitVersion.yml
next-version: 3.14.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr
<|file_sep|>updated/GitVersion.yml | next-version: 4.0.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr | <|file_sep|>original/GitVersion.yml
next-version: 3.14.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr
<|file_sep|>current/GitVersion.yml
next-version: 3.14.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr
<|file_sep|>updated/GitVersion.yml
next-version: 4.0.0
mode: ContinuousDelivery
legacy-semver-padding: 5
build-metadata-padding: 5
commits-since-version-source-padding: 5
branches:
master:
tag: dev
release:
tag: pre
pull-request:
tag: pr | 94a05df15d6cf6bdea5ff210bba536784ca43f68 | GitVersion.yml | GitVersion.yml | YAML |
<|file_sep|>original/requirements-dev.txt
# This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-naming==0.4.1
pep8==1.7.0 # via flake8
py==1.4.34 # via pytest, pytest-capturelog
pyflakes==1.6.0 # via flake8
pytest-capturelog==0.7
pytest-django==3.1.2
pytest==3.2.0
six==1.10.0 # via measurement
sympy==1.1.1 # via measurement
<|file_sep|>current/requirements-dev.txt
# This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-naming==0.4.1
pep8==1.7.0 # via flake8
py==1.4.34 # via pytest, pytest-capturelog
pyflakes==1.6.0 # via flake8
pytest-capturelog==0.7
pytest-django==3.1.2
pytest==3.2.0
six==1.10.0 # via measurement
sympy==1.1.1 # via measurement
<|file_sep|>updated/requirements-dev.txt | # This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-naming==0.4.1
pep8==1.7.0 # via flake8
py==1.4.34 # via pytest, pytest-capturelog
pyflakes==1.6.0 # via flake8
pytest-capturelog==0.7
pytest-django==3.1.2
pytest==3.2.1
six==1.10.0 # via measurement
sympy==1.1.1 # via measurement | <|file_sep|>original/requirements-dev.txt
# This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-naming==0.4.1
pep8==1.7.0 # via flake8
py==1.4.34 # via pytest, pytest-capturelog
pyflakes==1.6.0 # via flake8
pytest-capturelog==0.7
pytest-django==3.1.2
pytest==3.2.0
six==1.10.0 # via measurement
sympy==1.1.1 # via measurement
<|file_sep|>current/requirements-dev.txt
# This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-naming==0.4.1
pep8==1.7.0 # via flake8
py==1.4.34 # via pytest, pytest-capturelog
pyflakes==1.6.0 # via flake8
pytest-capturelog==0.7
pytest-django==3.1.2
pytest==3.2.0
six==1.10.0 # via measurement
sympy==1.1.1 # via measurement
<|file_sep|>updated/requirements-dev.txt
# This file is autogenerated by pip-compile
# Make changes in requirements-dev.in, then run this to update:
#
# pip-compile requirements-dev.in
#
-e .
django-appconf>=1.0.2
flake8==3.4.1
isort==4.2.15
mccabe==0.6.1 # via flake8
measurement==1.8.0
pydocstyle==2.0.0
pep8-naming==0.4.1
pep8==1.7.0 # via flake8
py==1.4.34 # via pytest, pytest-capturelog
pyflakes==1.6.0 # via flake8
pytest-capturelog==0.7
pytest-django==3.1.2
pytest==3.2.1
six==1.10.0 # via measurement
sympy==1.1.1 # via measurement | 93d42e329e5b0f60bb079f561476abc7ad02fc13 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>config.toml.diff
original:
title = "Chris Turner"
updated:
title = "Owen Derby"
<|file_sep|>config.toml.diff
original:
googleAnalytics = ""
updated:
googleAnalytics = "UA-38535701-2"
<|file_sep|>original/config.toml
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Chris Turner"
description = "Describe your website"
# Custom assets can be linked with their paths relative to static/
custom_css = []
custom_js = []
[social]
Github = "username"
Email = "email@example.com"
Twitter = "username"
<|file_sep|>current/config.toml
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = "UA-38535701-2"
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Chris Turner"
description = "Describe your website"
# Custom assets can be linked with their paths relative to static/
custom_css = []
custom_js = []
[social]
Github = "username"
Email = "email@example.com"
Twitter = "username"
<|file_sep|>updated/config.toml | disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = "UA-38535701-2"
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Owen Derby"
description = "Describe your website"
# Custom assets can be linked with their paths relative to static/
custom_css = []
custom_js = []
[social]
Github = "username"
Email = "email@example.com"
Twitter = "username" | <|file_sep|>config.toml.diff
original:
title = "Chris Turner"
updated:
title = "Owen Derby"
<|file_sep|>config.toml.diff
original:
googleAnalytics = ""
updated:
googleAnalytics = "UA-38535701-2"
<|file_sep|>original/config.toml
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Chris Turner"
description = "Describe your website"
# Custom assets can be linked with their paths relative to static/
custom_css = []
custom_js = []
[social]
Github = "username"
Email = "email@example.com"
Twitter = "username"
<|file_sep|>current/config.toml
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = "UA-38535701-2"
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Chris Turner"
description = "Describe your website"
# Custom assets can be linked with their paths relative to static/
custom_css = []
custom_js = []
[social]
Github = "username"
Email = "email@example.com"
Twitter = "username"
<|file_sep|>updated/config.toml
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = "UA-38535701-2"
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Owen Derby"
description = "Describe your website"
# Custom assets can be linked with their paths relative to static/
custom_css = []
custom_js = []
[social]
Github = "username"
Email = "email@example.com"
Twitter = "username" | 72b8e1a5dac37e76603885864be45a30df42ea71 | config.toml | config.toml | TOML |
<|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
CDN_TMP_DIR = Pathname.new("_tmp").join("cdn")
CDN_CONTROL = Pathname.new("_cdn").join("cdn.yml")
updated:
TMP_DIR = Pathname.new("_tmp").join("cdn")
DIR = Pathname.new("_cdn")
CONTROL = DIR.join("cdn.yml")
EXPIRES_FILE = DIR.join("cdn_expires.htaccess")
<|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
@tmp_dir = CDN_TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CDN_CONTROL))
updated:
@tmp_dir = TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CONTROL))
<|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
updated:
if File.exists? EXPIRES_FILE
FileUtils.cp(EXPIRES_FILE, @tmp_dir.join(".htaccess"))
end
<|file_sep|>original/lib/aweplug/helpers/cdn.rb
FileUtils.mkdir_p(@tmp_dir)
end
def version(name, ext, content)
id = name + ext
yml = YAML::Store.new CDN_CONTROL
yml.transaction do
yml[id] ||= { "build_no" => 0 }
md5sum = Digest::MD5.hexdigest(content)
if yml[id]["md5sum"] != md5sum
yml[id]["md5sum"] = md5sum
yml[id]["build_no"] += 1
File.open(@tmp_dir.join(name + "-" + yml[id]["build_no"].to_s + ext), 'w') { |file| file.write(content) }
end
name + "-" + yml[id]["build_no"].to_s + ext
end
end
end
end
end
<|file_sep|>current/lib/aweplug/helpers/cdn.rb
@tmp_dir = TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CONTROL))
FileUtils.mkdir_p(@tmp_dir)
if File.exists? EXPIRES_FILE
FileUtils.cp(EXPIRES_FILE, @tmp_dir.join(".htaccess"))
end
end
def version(name, ext, content)
id = name + ext
yml = YAML::Store.new CDN_CONTROL
yml.transaction do
yml[id] ||= { "build_no" => 0 }
md5sum = Digest::MD5.hexdigest(content)
if yml[id]["md5sum"] != md5sum
yml[id]["md5sum"] = md5sum
yml[id]["build_no"] += 1
File.open(@tmp_dir.join(name + "-" + yml[id]["build_no"].to_s + ext), 'w') { |file| file.write(content) }
end
name + "-" + yml[id]["build_no"].to_s + ext
end
<|file_sep|>updated/lib/aweplug/helpers/cdn.rb | @tmp_dir = TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CONTROL))
FileUtils.mkdir_p(@tmp_dir)
if File.exists? EXPIRES_FILE
FileUtils.cp(EXPIRES_FILE, @tmp_dir.join(".htaccess"))
end
end
def version(name, ext, content)
id = name + ext
yml = YAML::Store.new CONTROL
yml.transaction do
yml[id] ||= { "build_no" => 0 }
md5sum = Digest::MD5.hexdigest(content)
if yml[id]["md5sum"] != md5sum
yml[id]["md5sum"] = md5sum
yml[id]["build_no"] += 1
File.open(@tmp_dir.join(name + "-" + yml[id]["build_no"].to_s + ext), 'w') { |file| file.write(content) }
end
name + "-" + yml[id]["build_no"].to_s + ext
end | <|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
CDN_TMP_DIR = Pathname.new("_tmp").join("cdn")
CDN_CONTROL = Pathname.new("_cdn").join("cdn.yml")
updated:
TMP_DIR = Pathname.new("_tmp").join("cdn")
DIR = Pathname.new("_cdn")
CONTROL = DIR.join("cdn.yml")
EXPIRES_FILE = DIR.join("cdn_expires.htaccess")
<|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
@tmp_dir = CDN_TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CDN_CONTROL))
updated:
@tmp_dir = TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CONTROL))
<|file_sep|>lib/aweplug/helpers/cdn.rb.diff
original:
updated:
if File.exists? EXPIRES_FILE
FileUtils.cp(EXPIRES_FILE, @tmp_dir.join(".htaccess"))
end
<|file_sep|>original/lib/aweplug/helpers/cdn.rb
FileUtils.mkdir_p(@tmp_dir)
end
def version(name, ext, content)
id = name + ext
yml = YAML::Store.new CDN_CONTROL
yml.transaction do
yml[id] ||= { "build_no" => 0 }
md5sum = Digest::MD5.hexdigest(content)
if yml[id]["md5sum"] != md5sum
yml[id]["md5sum"] = md5sum
yml[id]["build_no"] += 1
File.open(@tmp_dir.join(name + "-" + yml[id]["build_no"].to_s + ext), 'w') { |file| file.write(content) }
end
name + "-" + yml[id]["build_no"].to_s + ext
end
end
end
end
end
<|file_sep|>current/lib/aweplug/helpers/cdn.rb
@tmp_dir = TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CONTROL))
FileUtils.mkdir_p(@tmp_dir)
if File.exists? EXPIRES_FILE
FileUtils.cp(EXPIRES_FILE, @tmp_dir.join(".htaccess"))
end
end
def version(name, ext, content)
id = name + ext
yml = YAML::Store.new CDN_CONTROL
yml.transaction do
yml[id] ||= { "build_no" => 0 }
md5sum = Digest::MD5.hexdigest(content)
if yml[id]["md5sum"] != md5sum
yml[id]["md5sum"] = md5sum
yml[id]["build_no"] += 1
File.open(@tmp_dir.join(name + "-" + yml[id]["build_no"].to_s + ext), 'w') { |file| file.write(content) }
end
name + "-" + yml[id]["build_no"].to_s + ext
end
<|file_sep|>updated/lib/aweplug/helpers/cdn.rb
@tmp_dir = TMP_DIR.join ctx_path
FileUtils.mkdir_p(File.dirname(CONTROL))
FileUtils.mkdir_p(@tmp_dir)
if File.exists? EXPIRES_FILE
FileUtils.cp(EXPIRES_FILE, @tmp_dir.join(".htaccess"))
end
end
def version(name, ext, content)
id = name + ext
yml = YAML::Store.new CONTROL
yml.transaction do
yml[id] ||= { "build_no" => 0 }
md5sum = Digest::MD5.hexdigest(content)
if yml[id]["md5sum"] != md5sum
yml[id]["md5sum"] = md5sum
yml[id]["build_no"] += 1
File.open(@tmp_dir.join(name + "-" + yml[id]["build_no"].to_s + ext), 'w') { |file| file.write(content) }
end
name + "-" + yml[id]["build_no"].to_s + ext
end | 239dbdf88b8f4c5a3b798058baa26fbb803f6c75 | lib/aweplug/helpers/cdn.rb | lib/aweplug/helpers/cdn.rb | Ruby |
<|file_sep|>original/w3clove.gemspec
Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summary = %q{ command-line tool to validate the markup of a whole site against the W3C validator }
s.description = %q{ this tool allows you to check the markup validation of a whole site passing an XML sitemap,
and outputs a detailed report with all errors and warnings }
s.rubyforge_project = "w3clove"
s.add_dependency 'w3c_validators'
s.add_dependency 'nokogiri'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end
<|file_sep|>current/w3clove.gemspec
Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summary = %q{ command-line tool to validate the markup of a whole site against the W3C validator }
s.description = %q{ this tool allows you to check the markup validation of a whole site passing an XML sitemap,
and outputs a detailed report with all errors and warnings }
s.rubyforge_project = "w3clove"
s.add_dependency 'w3c_validators'
s.add_dependency 'nokogiri'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end
<|file_sep|>updated/w3clove.gemspec | Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summary = %q{ command-line tool to validate the markup of a whole site against the W3C validator }
s.description = %q{ this tool allows you to check the markup validation of a whole site passing an XML sitemap,
and outputs a detailed report with all errors and warnings }
s.rubyforge_project = "w3clove"
s.add_dependency 'w3c_validators', '1.0.2'
s.add_dependency 'nokogiri'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end | <|file_sep|>original/w3clove.gemspec
Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summary = %q{ command-line tool to validate the markup of a whole site against the W3C validator }
s.description = %q{ this tool allows you to check the markup validation of a whole site passing an XML sitemap,
and outputs a detailed report with all errors and warnings }
s.rubyforge_project = "w3clove"
s.add_dependency 'w3c_validators'
s.add_dependency 'nokogiri'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end
<|file_sep|>current/w3clove.gemspec
Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summary = %q{ command-line tool to validate the markup of a whole site against the W3C validator }
s.description = %q{ this tool allows you to check the markup validation of a whole site passing an XML sitemap,
and outputs a detailed report with all errors and warnings }
s.rubyforge_project = "w3clove"
s.add_dependency 'w3c_validators'
s.add_dependency 'nokogiri'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end
<|file_sep|>updated/w3clove.gemspec
Gem::Specification.new do |s|
s.name = "w3clove"
s.version = W3clove::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jaime Iniesta"]
s.email = ["jaimeiniesta@gmail.com"]
s.homepage = "https://github.com/jaimeiniesta/w3clove/"
s.summary = %q{ command-line tool to validate the markup of a whole site against the W3C validator }
s.description = %q{ this tool allows you to check the markup validation of a whole site passing an XML sitemap,
and outputs a detailed report with all errors and warnings }
s.rubyforge_project = "w3clove"
s.add_dependency 'w3c_validators', '1.0.2'
s.add_dependency 'nokogiri'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end | 1be5fe0c788424117658c1d720f53a8aa385f735 | w3clove.gemspec | w3clove.gemspec | Ruby |
<|file_sep|>original/t/template-output.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
$Template::Test::DEBUG = 1;
my $tt = Template->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %]
<|file_sep|>current/t/template-output.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
$Template::Test::DEBUG = 1;
my $tt = Template->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %]
<|file_sep|>updated/t/template-output.t | #!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
my $tt = Template::Test->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %]
--expect--
<!-- START: process input text --> | <|file_sep|>original/t/template-output.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
$Template::Test::DEBUG = 1;
my $tt = Template->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %]
<|file_sep|>current/t/template-output.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
$Template::Test::DEBUG = 1;
my $tt = Template->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %]
<|file_sep|>updated/t/template-output.t
#!perl
use strict;
use warnings;
use Template::ShowStartStop;
use Template::Test;
my $tt = Template::Test->new({
CONTEXT => Template::ShowStartStop->new
});
my $vars = {
var => 'world',
};
test_expect(\*DATA, $tt, $vars);
__DATA__
--test--
hello [% var %]
--expect--
<!-- START: process input text --> | 36fad6a59ab19610d476f75895b60c32ef8365bc | t/template-output.t | t/template-output.t | Perl |
<|file_sep|>original/.github/ISSUE_TEMPLATE/Third_party_addon.md
---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: Type-Task, add-on, third-party
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Email, twitter, whatever works for you.
**Are you one of the authors**
Yes / No
**Licence**
If not clearly stated in the repo.
**Build instructions**
If not in the repo.
<|file_sep|>current/.github/ISSUE_TEMPLATE/Third_party_addon.md
---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: Type-Task, add-on, third-party
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Email, twitter, whatever works for you.
**Are you one of the authors**
Yes / No
**Licence**
If not clearly stated in the repo.
**Build instructions**
If not in the repo.
<|file_sep|>updated/.github/ISSUE_TEMPLATE/Third_party_addon.md | ---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: marketplace
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Email, twitter, whatever works for you.
**Are you one of the authors**
Yes / No
**Licence**
If not clearly stated in the repo.
**Build instructions**
If not in the repo. | <|file_sep|>original/.github/ISSUE_TEMPLATE/Third_party_addon.md
---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: Type-Task, add-on, third-party
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Email, twitter, whatever works for you.
**Are you one of the authors**
Yes / No
**Licence**
If not clearly stated in the repo.
**Build instructions**
If not in the repo.
<|file_sep|>current/.github/ISSUE_TEMPLATE/Third_party_addon.md
---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: Type-Task, add-on, third-party
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Email, twitter, whatever works for you.
**Are you one of the authors**
Yes / No
**Licence**
If not clearly stated in the repo.
**Build instructions**
If not in the repo.
<|file_sep|>updated/.github/ISSUE_TEMPLATE/Third_party_addon.md
---
name: '3rd party add-on '
about: Tell us about a 3rd party add-on that we should add or update in the ZAP Marketplace
labels: marketplace
---
**Add-on repo**
The URL of the repository for the add-on.
**Your contact details**
Email, twitter, whatever works for you.
**Are you one of the authors**
Yes / No
**Licence**
If not clearly stated in the repo.
**Build instructions**
If not in the repo. | 69d283732cadf1024c98c35add4bda81f7b2a36c | .github/ISSUE_TEMPLATE/Third_party_addon.md | .github/ISSUE_TEMPLATE/Third_party_addon.md | Markdown |
<|file_sep|>original/client/app/views/admin/advanced/tab2.html
<div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_receiver" type="checkbox">
<label data-translate>Allow recipient access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_whistleblower" type="checkbox">
<label data-translate>Allow whistleblowers to perform submissions via HTTPS</label>
<div data-ng-show="admin.node.tor2web_whistleblower">
<span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>
</div>
</div>
<div class="form-group">
<input data-ng-init="admin.node.tor2web_unauth" data-ng-model="admin.node.tor2web_unauth" type="checkbox">
<label data-translate>Allow access of public resources via HTTPS</label>
</div>
</div>
</div>
<|file_sep|>current/client/app/views/admin/advanced/tab2.html
<div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_receiver" type="checkbox">
<label data-translate>Allow recipient access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_whistleblower" type="checkbox">
<label data-translate>Allow whistleblowers to perform submissions via HTTPS</label>
<div data-ng-show="admin.node.tor2web_whistleblower">
<span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>
</div>
</div>
<div class="form-group">
<input data-ng-init="admin.node.tor2web_unauth" data-ng-model="admin.node.tor2web_unauth" type="checkbox">
<label data-translate>Allow access of public resources via HTTPS</label>
</div>
</div>
</div>
<|file_sep|>updated/client/app/views/admin/advanced/tab2.html | <div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_receiver" type="checkbox">
<label data-translate>Allow recipient access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_whistleblower" type="checkbox">
<label data-translate>Allow whistleblower submissions via HTTPS</label>
<div data-ng-show="admin.node.tor2web_whistleblower">
<span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>
</div>
</div>
<div class="form-group">
<input data-ng-init="admin.node.tor2web_unauth" data-ng-model="admin.node.tor2web_unauth" type="checkbox">
<label data-translate>Allow access of public resources via HTTPS</label>
</div>
</div>
</div> | <|file_sep|>original/client/app/views/admin/advanced/tab2.html
<div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_receiver" type="checkbox">
<label data-translate>Allow recipient access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_whistleblower" type="checkbox">
<label data-translate>Allow whistleblowers to perform submissions via HTTPS</label>
<div data-ng-show="admin.node.tor2web_whistleblower">
<span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>
</div>
</div>
<div class="form-group">
<input data-ng-init="admin.node.tor2web_unauth" data-ng-model="admin.node.tor2web_unauth" type="checkbox">
<label data-translate>Allow access of public resources via HTTPS</label>
</div>
</div>
</div>
<|file_sep|>current/client/app/views/admin/advanced/tab2.html
<div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_receiver" type="checkbox">
<label data-translate>Allow recipient access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_whistleblower" type="checkbox">
<label data-translate>Allow whistleblowers to perform submissions via HTTPS</label>
<div data-ng-show="admin.node.tor2web_whistleblower">
<span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>
</div>
</div>
<div class="form-group">
<input data-ng-init="admin.node.tor2web_unauth" data-ng-model="admin.node.tor2web_unauth" type="checkbox">
<label data-translate>Allow access of public resources via HTTPS</label>
</div>
</div>
</div>
<|file_sep|>updated/client/app/views/admin/advanced/tab2.html
<div class="form-group">
<input data-ng-model="admin.node.tor2web_custodian" type="checkbox">
<label data-translate>Allow custodian access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_receiver" type="checkbox">
<label data-translate>Allow recipient access via HTTPS</label>
</div>
<div class="form-group">
<input data-ng-model="admin.node.tor2web_whistleblower" type="checkbox">
<label data-translate>Allow whistleblower submissions via HTTPS</label>
<div data-ng-show="admin.node.tor2web_whistleblower">
<span data-translate>This won't preserve whistleblower's anonymity while preserving submission confidentiality.</span>
</div>
</div>
<div class="form-group">
<input data-ng-init="admin.node.tor2web_unauth" data-ng-model="admin.node.tor2web_unauth" type="checkbox">
<label data-translate>Allow access of public resources via HTTPS</label>
</div>
</div>
</div> | 56944c903f41d4880b25f4687ee76730ea8ebe34 | client/app/views/admin/advanced/tab2.html | client/app/views/admin/advanced/tab2.html | HTML |
<|file_sep|>original/ec2stack/templates/images.xml
{% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
<imageState>{{ image.state }}</imageState>
<hypervisor>{{ image.hypervisor }}</hypervisor>
<description>{{ image.displaytext }}</description>
</item>
{% endfor %}
</imagesSet>
{% endblock %}
<|file_sep|>current/ec2stack/templates/images.xml
{% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
<imageState>{{ image.state }}</imageState>
<hypervisor>{{ image.hypervisor }}</hypervisor>
<description>{{ image.displaytext }}</description>
</item>
{% endfor %}
</imagesSet>
{% endblock %}
<|file_sep|>updated/ec2stack/templates/images.xml | {% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
{% if image.isready == 'true' %}
<imageState>available</imageState>
{% elif image.isready == 'false' %}
<imageState>unavailable</imageState>
{% endif %}
<hypervisor>{{ image.hypervisor }}</hypervisor>
<description>{{ image.displaytext }}</description>
</item>
{% endfor %}
</imagesSet>
{% endblock %} | <|file_sep|>original/ec2stack/templates/images.xml
{% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
<imageState>{{ image.state }}</imageState>
<hypervisor>{{ image.hypervisor }}</hypervisor>
<description>{{ image.displaytext }}</description>
</item>
{% endfor %}
</imagesSet>
{% endblock %}
<|file_sep|>current/ec2stack/templates/images.xml
{% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
<imageState>{{ image.state }}</imageState>
<hypervisor>{{ image.hypervisor }}</hypervisor>
<description>{{ image.displaytext }}</description>
</item>
{% endfor %}
</imagesSet>
{% endblock %}
<|file_sep|>updated/ec2stack/templates/images.xml
{% extends "response.xml" %}
{% block response_content %}
<imagesSet>
{% for image in response.template %}
<item>
<imageId>
{{ image.id }}
</imageId>
<name>{{ image.name }}</name>
{% if image.isready == 'true' %}
<imageState>available</imageState>
{% elif image.isready == 'false' %}
<imageState>unavailable</imageState>
{% endif %}
<hypervisor>{{ image.hypervisor }}</hypervisor>
<description>{{ image.displaytext }}</description>
</item>
{% endfor %}
</imagesSet>
{% endblock %} | d2d354bc38c50e50bbc00b320ba7e85c7b7dd9ca | ec2stack/templates/images.xml | ec2stack/templates/images.xml | XML |
<|file_sep|>original/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
<|file_sep|>current/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
<|file_sep|>updated/app/views/users/_user.html.erb | <h1><%= user.name %></h1>
<p><%= user.email %></h1>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p> | <|file_sep|>original/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
<|file_sep|>current/app/views/users/_user.html.erb
<p><%= user.name %></p>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p>
<|file_sep|>updated/app/views/users/_user.html.erb
<h1><%= user.name %></h1>
<p><%= user.email %></h1>
<p><%= link_to 'Delete', user_path(user), method: :delete, data: { confirm: 'Are you sure?' } %></p> | 0a39ea87556523e8df4cff7e7341b5d31a683bde | app/views/users/_user.html.erb | app/views/users/_user.html.erb | HTML+ERB |
<|file_sep|>app/app/views.py.diff
original:
updated:
from sqs import *
import os
<|file_sep|>original/app/app/views.py
from pyramid.response import Response
from pyramid.view import view_config
from sqlalchemy.exc import DBAPIError
from .models import DBSession, PathAndRow_Model, SceneList_Model
@view_config(route_name='index', renderer='templates/index.jinja2')
def index(request):
'''Index page.'''
lat = float(request.params.get('lat', 47.614848))
lng = float(request.params.get('lng', -122.3359059))
scenes = SceneList_Model.scenelist(PathAndRow_Model.pathandrow(lat, lng))
return {'scenes': scenes}
@view_config(route_name='submit', renderer='json')
def submit(request):
'''Accept a post request.'''
return {}
<|file_sep|>current/app/app/views.py
from pyramid.response import Response
from pyramid.view import view_config
from sqlalchemy.exc import DBAPIError
from .models import DBSession, PathAndRow_Model, SceneList_Model
from sqs import *
import os
@view_config(route_name='index', renderer='templates/index.jinja2')
def index(request):
'''Index page.'''
lat = float(request.params.get('lat', 47.614848))
lng = float(request.params.get('lng', -122.3359059))
scenes = SceneList_Model.scenelist(PathAndRow_Model.pathandrow(lat, lng))
return {'scenes': scenes}
@view_config(route_name='submit', renderer='json')
def submit(request):
'''Accept a post request.'''
return {}
<|file_sep|>updated/app/app/views.py | @view_config(route_name='index', renderer='templates/index.jinja2')
def index(request):
'''Index page.'''
lat = float(request.params.get('lat', 47.614848))
lng = float(request.params.get('lng', -122.3359059))
scenes = SceneList_Model.scenelist(PathAndRow_Model.pathandrow(lat, lng))
return {'scenes': scenes}
@view_config(route_name='submit', renderer='json')
def submit(request):
'''Accept a post request.'''
conn = make_connection(aws_access_key_id=os.environ['AWS_ACCESS_KEY_ID'],
aws_secret_access_key=os.environ['AWS_SECRET_ACCESS_KEY'])
jobs_queue = get_queue('landsat_jobs_queue', conn)
message = build_job_message(job_id=1, email='test@test.com',
scene_id=request.params.get(scene_id)
band_1=4, band_2=3, band_3=2)
enqueue_message(message, jobs_queue)
return None | <|file_sep|>app/app/views.py.diff
original:
updated:
from sqs import *
import os
<|file_sep|>original/app/app/views.py
from pyramid.response import Response
from pyramid.view import view_config
from sqlalchemy.exc import DBAPIError
from .models import DBSession, PathAndRow_Model, SceneList_Model
@view_config(route_name='index', renderer='templates/index.jinja2')
def index(request):
'''Index page.'''
lat = float(request.params.get('lat', 47.614848))
lng = float(request.params.get('lng', -122.3359059))
scenes = SceneList_Model.scenelist(PathAndRow_Model.pathandrow(lat, lng))
return {'scenes': scenes}
@view_config(route_name='submit', renderer='json')
def submit(request):
'''Accept a post request.'''
return {}
<|file_sep|>current/app/app/views.py
from pyramid.response import Response
from pyramid.view import view_config
from sqlalchemy.exc import DBAPIError
from .models import DBSession, PathAndRow_Model, SceneList_Model
from sqs import *
import os
@view_config(route_name='index', renderer='templates/index.jinja2')
def index(request):
'''Index page.'''
lat = float(request.params.get('lat', 47.614848))
lng = float(request.params.get('lng', -122.3359059))
scenes = SceneList_Model.scenelist(PathAndRow_Model.pathandrow(lat, lng))
return {'scenes': scenes}
@view_config(route_name='submit', renderer='json')
def submit(request):
'''Accept a post request.'''
return {}
<|file_sep|>updated/app/app/views.py
@view_config(route_name='index', renderer='templates/index.jinja2')
def index(request):
'''Index page.'''
lat = float(request.params.get('lat', 47.614848))
lng = float(request.params.get('lng', -122.3359059))
scenes = SceneList_Model.scenelist(PathAndRow_Model.pathandrow(lat, lng))
return {'scenes': scenes}
@view_config(route_name='submit', renderer='json')
def submit(request):
'''Accept a post request.'''
conn = make_connection(aws_access_key_id=os.environ['AWS_ACCESS_KEY_ID'],
aws_secret_access_key=os.environ['AWS_SECRET_ACCESS_KEY'])
jobs_queue = get_queue('landsat_jobs_queue', conn)
message = build_job_message(job_id=1, email='test@test.com',
scene_id=request.params.get(scene_id)
band_1=4, band_2=3, band_3=2)
enqueue_message(message, jobs_queue)
return None | 96ddcc42b7da307433a3dce99aad1b2cdeff58cd | app/app/views.py | app/app/views.py | Python |
<|file_sep|>original/index.md
---
layout: index
title: Welcome
---
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selectable colours, styles, menus, widgets and side columns. You can develop a new template from scratch, or edit a pre-made design making it compatible with our system.
In this documentation, you will be equipped with all the information you need to know to get started with our WDK. Navigate using the above menu, pick a tutorial to get started or view the glossary for a complete list of tags.
### What is Create?
Create is a platform allowing you to create and manage your own website and online shop from only £3 per month. Its easy to use design screen allows anyone to create and publish a site, regardless of prior knowledge. Find out more and sign up for a 30 day free trial [here](http://www.create.net/)
<|file_sep|>current/index.md
---
layout: index
title: Welcome
---
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selectable colours, styles, menus, widgets and side columns. You can develop a new template from scratch, or edit a pre-made design making it compatible with our system.
In this documentation, you will be equipped with all the information you need to know to get started with our WDK. Navigate using the above menu, pick a tutorial to get started or view the glossary for a complete list of tags.
### What is Create?
Create is a platform allowing you to create and manage your own website and online shop from only £3 per month. Its easy to use design screen allows anyone to create and publish a site, regardless of prior knowledge. Find out more and sign up for a 30 day free trial [here](http://www.create.net/)
<|file_sep|>updated/index.md | ---
layout: index
title: Welcome
---
> If you've any suggestions to improve this documentation please raise an issue on our [Github repository](https://github.com/createdotnet/createdotnet.github.io/issues).
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selectable colours, styles, menus, widgets and side columns. You can develop a new template from scratch, or edit a pre-made design making it compatible with our system.
In this documentation, you will be equipped with all the information you need to know to get started with our WDK. Navigate using the above menu, pick a tutorial to get started or view the glossary for a complete list of tags.
### What is Create?
Create is a platform allowing you to create and manage your own website and online shop from only £3 per month. Its easy to use design screen allows anyone to create and publish a site, regardless of prior knowledge. Find out more and sign up for a 30 day free trial [here](http://www.create.net/) | <|file_sep|>original/index.md
---
layout: index
title: Welcome
---
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selectable colours, styles, menus, widgets and side columns. You can develop a new template from scratch, or edit a pre-made design making it compatible with our system.
In this documentation, you will be equipped with all the information you need to know to get started with our WDK. Navigate using the above menu, pick a tutorial to get started or view the glossary for a complete list of tags.
### What is Create?
Create is a platform allowing you to create and manage your own website and online shop from only £3 per month. Its easy to use design screen allows anyone to create and publish a site, regardless of prior knowledge. Find out more and sign up for a 30 day free trial [here](http://www.create.net/)
<|file_sep|>current/index.md
---
layout: index
title: Welcome
---
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selectable colours, styles, menus, widgets and side columns. You can develop a new template from scratch, or edit a pre-made design making it compatible with our system.
In this documentation, you will be equipped with all the information you need to know to get started with our WDK. Navigate using the above menu, pick a tutorial to get started or view the glossary for a complete list of tags.
### What is Create?
Create is a platform allowing you to create and manage your own website and online shop from only £3 per month. Its easy to use design screen allows anyone to create and publish a site, regardless of prior knowledge. Find out more and sign up for a 30 day free trial [here](http://www.create.net/)
<|file_sep|>updated/index.md
---
layout: index
title: Welcome
---
> If you've any suggestions to improve this documentation please raise an issue on our [Github repository](https://github.com/createdotnet/createdotnet.github.io/issues).
The Web Designer’s Kit (or WDK), is a framework that allows designers to build custom templates to use with Create.
It enables access to a range of features on the Create system to make your template not only have dynamic content, but also user selectable colours, styles, menus, widgets and side columns. You can develop a new template from scratch, or edit a pre-made design making it compatible with our system.
In this documentation, you will be equipped with all the information you need to know to get started with our WDK. Navigate using the above menu, pick a tutorial to get started or view the glossary for a complete list of tags.
### What is Create?
Create is a platform allowing you to create and manage your own website and online shop from only £3 per month. Its easy to use design screen allows anyone to create and publish a site, regardless of prior knowledge. Find out more and sign up for a 30 day free trial [here](http://www.create.net/) | f5e1218506e70ce053c326167f2ac7f9410f4948 | index.md | index.md | Markdown |
<|file_sep|>original/composer.json
"require-dev": {
"phpspec/phpspec": "~2.1.0@dev",
"behat/mink": "~1.5.0",
"behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
"psr-0": {
"": [
"vendor/magetest/magento/src/app",
"vendor/magetest/magento/src/lib",
"vendor/magetest/magento/src/app/code/local",
"vendor/magetest/magento/src/app/code/community",
"vendor/magetest/magento/src/app/code/core"
],
"MageTest\\Manager": ["src", "tests"]
}
}
}
<|file_sep|>current/composer.json
"require-dev": {
"phpspec/phpspec": "~2.1.0@dev",
"behat/mink": "~1.5.0",
"behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
"psr-0": {
"": [
"vendor/magetest/magento/src/app",
"vendor/magetest/magento/src/lib",
"vendor/magetest/magento/src/app/code/local",
"vendor/magetest/magento/src/app/code/community",
"vendor/magetest/magento/src/app/code/core"
],
"MageTest\\Manager": ["src", "tests"]
}
}
}
<|file_sep|>updated/composer.json | "behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
"psr-0": {
"": [
"vendor/magetest/magento/src/app",
"vendor/magetest/magento/src/lib",
"vendor/magetest/magento/src/app/code/local",
"vendor/magetest/magento/src/app/code/community",
"vendor/magetest/magento/src/app/code/core"
],
"MageTest\\Manager": ["src", "tests"]
}
},
"config": {
"bin-dir": "bin"
}
} | <|file_sep|>original/composer.json
"require-dev": {
"phpspec/phpspec": "~2.1.0@dev",
"behat/mink": "~1.5.0",
"behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
"psr-0": {
"": [
"vendor/magetest/magento/src/app",
"vendor/magetest/magento/src/lib",
"vendor/magetest/magento/src/app/code/local",
"vendor/magetest/magento/src/app/code/community",
"vendor/magetest/magento/src/app/code/core"
],
"MageTest\\Manager": ["src", "tests"]
}
}
}
<|file_sep|>current/composer.json
"require-dev": {
"phpspec/phpspec": "~2.1.0@dev",
"behat/mink": "~1.5.0",
"behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
"psr-0": {
"": [
"vendor/magetest/magento/src/app",
"vendor/magetest/magento/src/lib",
"vendor/magetest/magento/src/app/code/local",
"vendor/magetest/magento/src/app/code/community",
"vendor/magetest/magento/src/app/code/core"
],
"MageTest\\Manager": ["src", "tests"]
}
}
}
<|file_sep|>updated/composer.json
"behat/mink-goutte-driver": "~1.0.9",
"phpunit/phpunit": "~4.0.20",
"magetest/magento": "~1.8.1.0",
"mockery/mockery": "~0.9.1"
},
"autoload": {
"psr-0": {
"": [
"vendor/magetest/magento/src/app",
"vendor/magetest/magento/src/lib",
"vendor/magetest/magento/src/app/code/local",
"vendor/magetest/magento/src/app/code/community",
"vendor/magetest/magento/src/app/code/core"
],
"MageTest\\Manager": ["src", "tests"]
}
},
"config": {
"bin-dir": "bin"
}
} | 2126d3776de4aa960e5e95f950d8c2b2657d316f | composer.json | composer.json | JSON |
<|file_sep|>original/lib/generators/invitational/install/install_generator.rb
module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of identity model (e.g. User)"
def add_to_gemfile
gem "cancan"
end
def invitation_model
@identity_class = identity_class.gsub(/\,/,"").camelize
if @identity_class != "User"
@custom_user_class = ", :class_name => '#{@identity_class}'"
else
@custom_user_class = ""
end
template "invitation.rb", "app/models/invitation.rb"
<|file_sep|>current/lib/generators/invitational/install/install_generator.rb
module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of identity model (e.g. User)"
def add_to_gemfile
gem "cancan"
end
def invitation_model
@identity_class = identity_class.gsub(/\,/,"").camelize
if @identity_class != "User"
@custom_user_class = ", :class_name => '#{@identity_class}'"
else
@custom_user_class = ""
end
template "invitation.rb", "app/models/invitation.rb"
<|file_sep|>updated/lib/generators/invitational/install/install_generator.rb | module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of identity model (e.g. User)"
def invitation_model
@identity_class = identity_class.gsub(/\,/,"").camelize
if @identity_class != "User"
@custom_user_class = ", :class_name => '#{@identity_class}'"
else
@custom_user_class = ""
end
template "invitation.rb", "app/models/invitation.rb"
end
def ability_model
@identity_model = @identity_class.underscore | <|file_sep|>original/lib/generators/invitational/install/install_generator.rb
module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of identity model (e.g. User)"
def add_to_gemfile
gem "cancan"
end
def invitation_model
@identity_class = identity_class.gsub(/\,/,"").camelize
if @identity_class != "User"
@custom_user_class = ", :class_name => '#{@identity_class}'"
else
@custom_user_class = ""
end
template "invitation.rb", "app/models/invitation.rb"
<|file_sep|>current/lib/generators/invitational/install/install_generator.rb
module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of identity model (e.g. User)"
def add_to_gemfile
gem "cancan"
end
def invitation_model
@identity_class = identity_class.gsub(/\,/,"").camelize
if @identity_class != "User"
@custom_user_class = ", :class_name => '#{@identity_class}'"
else
@custom_user_class = ""
end
template "invitation.rb", "app/models/invitation.rb"
<|file_sep|>updated/lib/generators/invitational/install/install_generator.rb
module Invitational
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path('../templates', __FILE__)
argument :identity_class, type: :string, default: "User", banner: "Class name of identity model (e.g. User)"
def invitation_model
@identity_class = identity_class.gsub(/\,/,"").camelize
if @identity_class != "User"
@custom_user_class = ", :class_name => '#{@identity_class}'"
else
@custom_user_class = ""
end
template "invitation.rb", "app/models/invitation.rb"
end
def ability_model
@identity_model = @identity_class.underscore | 493f31e2dcc83921359dfacbd0e765463aab0b7f | lib/generators/invitational/install/install_generator.rb | lib/generators/invitational/install/install_generator.rb | Ruby |
<|file_sep|>original/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>current/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>updated/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradle.kotlin.dsl
import org.gradle.api.initialization.Settings
/**
* Adds the given projects to the build. | <|file_sep|>original/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>current/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
<|file_sep|>updated/provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt
/*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.gradle.kotlin.dsl
import org.gradle.api.initialization.Settings
/**
* Adds the given projects to the build. | 55fd604b15b64c2fc4c44ab5819f367fa582574b | provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt | provider/src/main/kotlin/org/gradle/kotlin/dsl/SettingsExtensions.kt | Kotlin |
<|file_sep|>original/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome - First Steps
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":year:/:month:/:day:/:filename:"
<|file_sep|>current/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome - First Steps
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":year:/:month:/:day:/:filename:"
<|file_sep|>updated/.forestry/settings.yml | ---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":year:/:month:/:day:/:filename:" | <|file_sep|>original/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome - First Steps
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":year:/:month:/:day:/:filename:"
<|file_sep|>current/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome - First Steps
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":year:/:month:/:day:/:filename:"
<|file_sep|>updated/.forestry/settings.yml
---
new_page_extension: md
auto_deploy: true
admin_path:
webhook_url:
sections:
- type: document
path: FORESTRY-README.md
label: Welcome
read_only: true
- type: jekyll-posts
label: Posts
create: all
- type: jekyll-pages
label: Pages
create: all
upload_dir: uploads
public_path: "/uploads"
front_matter_path: ''
use_front_matter_path: false
file_template: ":year:/:month:/:day:/:filename:" | 49be602b925eb086b11483dd707bc571161b28ca | .forestry/settings.yml | .forestry/settings.yml | YAML |
<|file_sep|>dbaas/api/environment.py.diff
original:
from physical import models
updated:
from physical.models import Environment
<|file_sep|>dbaas/api/environment.py.diff
original:
model = models.Environment
fields = ('url', 'id', 'name',)
updated:
model = Environment
fields = ('url', 'id', 'name', 'stage', 'provisioner')
<|file_sep|>dbaas/api/environment.py.diff
original:
updated:
model = Environment
<|file_sep|>original/dbaas/api/environment.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from rest_framework import viewsets, serializers
from physical import models
class EnvironmentSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = models.Environment
fields = ('url', 'id', 'name',)
class EnvironmentAPI(viewsets.ReadOnlyModelViewSet):
"""
Environment API
"""
serializer_class = EnvironmentSerializer
queryset = models.Environment.objects.all()
<|file_sep|>current/dbaas/api/environment.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from rest_framework import viewsets, serializers
from physical.models import Environment
class EnvironmentSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Environment
fields = ('url', 'id', 'name', 'stage', 'provisioner')
class EnvironmentAPI(viewsets.ReadOnlyModelViewSet):
"""
Environment API
"""
model = Environment
serializer_class = EnvironmentSerializer
queryset = models.Environment.objects.all()
<|file_sep|>updated/dbaas/api/environment.py | fields = ('url', 'id', 'name', 'stage', 'provisioner')
class EnvironmentAPI(viewsets.ReadOnlyModelViewSet):
"""
Environment API
"""
model = Environment
serializer_class = EnvironmentSerializer
queryset = Environment.objects.all()
filter_fields = (
'id',
'name',
'stage',
'provisioner'
)
def get_queryset(self):
params = self.request.GET.dict()
filter_params = {} | <|file_sep|>dbaas/api/environment.py.diff
original:
from physical import models
updated:
from physical.models import Environment
<|file_sep|>dbaas/api/environment.py.diff
original:
model = models.Environment
fields = ('url', 'id', 'name',)
updated:
model = Environment
fields = ('url', 'id', 'name', 'stage', 'provisioner')
<|file_sep|>dbaas/api/environment.py.diff
original:
updated:
model = Environment
<|file_sep|>original/dbaas/api/environment.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from rest_framework import viewsets, serializers
from physical import models
class EnvironmentSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = models.Environment
fields = ('url', 'id', 'name',)
class EnvironmentAPI(viewsets.ReadOnlyModelViewSet):
"""
Environment API
"""
serializer_class = EnvironmentSerializer
queryset = models.Environment.objects.all()
<|file_sep|>current/dbaas/api/environment.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from rest_framework import viewsets, serializers
from physical.models import Environment
class EnvironmentSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Environment
fields = ('url', 'id', 'name', 'stage', 'provisioner')
class EnvironmentAPI(viewsets.ReadOnlyModelViewSet):
"""
Environment API
"""
model = Environment
serializer_class = EnvironmentSerializer
queryset = models.Environment.objects.all()
<|file_sep|>updated/dbaas/api/environment.py
fields = ('url', 'id', 'name', 'stage', 'provisioner')
class EnvironmentAPI(viewsets.ReadOnlyModelViewSet):
"""
Environment API
"""
model = Environment
serializer_class = EnvironmentSerializer
queryset = Environment.objects.all()
filter_fields = (
'id',
'name',
'stage',
'provisioner'
)
def get_queryset(self):
params = self.request.GET.dict()
filter_params = {} | 3f65b43bce12739af8bb3dfc451a7f58a6af12b1 | dbaas/api/environment.py | dbaas/api/environment.py | Python |
<|file_sep|>original/_includes/header.html
<div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{{site.email}}"><i class="icon fa fa-envelope"></i></a>
<a aria-label="My Linked In" target="_blank" href="https://www.linkedin.com/in/uditgulati0/"><i class="icon fa fa-linkedin" aria-hidden="true"></i></a>
<a aria-label="My Facebook" target="_blank" href="https://facebook.com/udit.gulati.79"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="My Github" target="_blank" href="https://github.com/{{site.github_username}}"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
<a class="link" href="#about" data-scroll>About Me</a>
<a class="link" href="#projects" data-scroll>Projects</a>
<a class="link" href="/blog" data-scroll>Blog</a>
<a class="link" href="/uditgualti.github.io/tutorials" data-scroll>Tutorials</a>
</div>
<a class="down" href="#about" data-scroll><i class="icon fa fa-chevron-down" aria-hidden="true"></i></a>
</div>
<|file_sep|>current/_includes/header.html
<div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{{site.email}}"><i class="icon fa fa-envelope"></i></a>
<a aria-label="My Linked In" target="_blank" href="https://www.linkedin.com/in/uditgulati0/"><i class="icon fa fa-linkedin" aria-hidden="true"></i></a>
<a aria-label="My Facebook" target="_blank" href="https://facebook.com/udit.gulati.79"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="My Github" target="_blank" href="https://github.com/{{site.github_username}}"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
<a class="link" href="#about" data-scroll>About Me</a>
<a class="link" href="#projects" data-scroll>Projects</a>
<a class="link" href="/blog" data-scroll>Blog</a>
<a class="link" href="/uditgualti.github.io/tutorials" data-scroll>Tutorials</a>
</div>
<a class="down" href="#about" data-scroll><i class="icon fa fa-chevron-down" aria-hidden="true"></i></a>
</div>
<|file_sep|>updated/_includes/header.html | <div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{{site.email}}"><i class="icon fa fa-envelope"></i></a>
<a aria-label="My Linked In" target="_blank" href="https://www.linkedin.com/in/uditgulati0/"><i class="icon fa fa-linkedin" aria-hidden="true"></i></a>
<a aria-label="My Facebook" target="_blank" href="https://facebook.com/udit.gulati.79"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="My Github" target="_blank" href="https://github.com/{{site.github_username}}"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
<a class="link" href="#about" data-scroll>About Me</a>
<a class="link" href="#projects" data-scroll>Projects</a>
<a class="link" href="/blog">Blog</a>
<a class="link" href="/tutorials">Tutorials</a>
</div>
<a class="down" href="#about" data-scroll><i class="icon fa fa-chevron-down" aria-hidden="true"></i></a>
</div> | <|file_sep|>original/_includes/header.html
<div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{{site.email}}"><i class="icon fa fa-envelope"></i></a>
<a aria-label="My Linked In" target="_blank" href="https://www.linkedin.com/in/uditgulati0/"><i class="icon fa fa-linkedin" aria-hidden="true"></i></a>
<a aria-label="My Facebook" target="_blank" href="https://facebook.com/udit.gulati.79"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="My Github" target="_blank" href="https://github.com/{{site.github_username}}"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
<a class="link" href="#about" data-scroll>About Me</a>
<a class="link" href="#projects" data-scroll>Projects</a>
<a class="link" href="/blog" data-scroll>Blog</a>
<a class="link" href="/uditgualti.github.io/tutorials" data-scroll>Tutorials</a>
</div>
<a class="down" href="#about" data-scroll><i class="icon fa fa-chevron-down" aria-hidden="true"></i></a>
</div>
<|file_sep|>current/_includes/header.html
<div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{{site.email}}"><i class="icon fa fa-envelope"></i></a>
<a aria-label="My Linked In" target="_blank" href="https://www.linkedin.com/in/uditgulati0/"><i class="icon fa fa-linkedin" aria-hidden="true"></i></a>
<a aria-label="My Facebook" target="_blank" href="https://facebook.com/udit.gulati.79"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="My Github" target="_blank" href="https://github.com/{{site.github_username}}"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
<a class="link" href="#about" data-scroll>About Me</a>
<a class="link" href="#projects" data-scroll>Projects</a>
<a class="link" href="/blog" data-scroll>Blog</a>
<a class="link" href="/uditgualti.github.io/tutorials" data-scroll>Tutorials</a>
</div>
<a class="down" href="#about" data-scroll><i class="icon fa fa-chevron-down" aria-hidden="true"></i></a>
</div>
<|file_sep|>updated/_includes/header.html
<div id="particles-js">
<div class="content">
<h1>
<span class="site-title">{{site.username}}</span>
<span class="site-description">{{site.user_title}}</span>
</h1>
<div class="icons-header">
<a aria-label="Send email" href="mailto:{{site.email}}"><i class="icon fa fa-envelope"></i></a>
<a aria-label="My Linked In" target="_blank" href="https://www.linkedin.com/in/uditgulati0/"><i class="icon fa fa-linkedin" aria-hidden="true"></i></a>
<a aria-label="My Facebook" target="_blank" href="https://facebook.com/udit.gulati.79"><i class="icon fa fa-facebook" aria-hidden="true"></i></a>
<a aria-label="My Github" target="_blank" href="https://github.com/{{site.github_username}}"><i class="icon fa fa-github-alt" aria-hidden="true"></i></a>
</div>
<a class="link" href="#about" data-scroll>About Me</a>
<a class="link" href="#projects" data-scroll>Projects</a>
<a class="link" href="/blog">Blog</a>
<a class="link" href="/tutorials">Tutorials</a>
</div>
<a class="down" href="#about" data-scroll><i class="icon fa fa-chevron-down" aria-hidden="true"></i></a>
</div> | 63c11bbd1be95f13cea6dcc40f17ad3fb2498eea | _includes/header.html | _includes/header.html | HTML |
<|file_sep|>original/.github/workflows/build.yml
<|file_sep|>current/.github/workflows/build.yml
<|file_sep|>updated/.github/workflows/build.yml | name: NodeJS with Webpack
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
# Consider setting up a dependency cache:
# https://github.com/actions/setup-node#caching-packages-dependencies | <|file_sep|>original/.github/workflows/build.yml
<|file_sep|>current/.github/workflows/build.yml
<|file_sep|>updated/.github/workflows/build.yml
name: NodeJS with Webpack
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
# Consider setting up a dependency cache:
# https://github.com/actions/setup-node#caching-packages-dependencies | 92af06b4c1f3f00d022b8df2c71203de020caa21 | .github/workflows/build.yml | .github/workflows/build.yml | YAML |
<|file_sep|>app/views/koi/settings/_field_tags.html.erb.diff
original:
updated:
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<|file_sep|>original/app/views/koi/settings/_field_tags.html.erb
<%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<script type='text/javascript'>
$("#<%= id %>").select2({
tags: <%= raw Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name } %>,
tokenSeparators: [","]
});
</script>
<% else %>
<%= f.input attr, as: :string, label: label %>
<% end %>
<|file_sep|>current/app/views/koi/settings/_field_tags.html.erb
<%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<script type='text/javascript'>
$("#<%= id %>").select2({
tags: <%= raw Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name } %>,
tokenSeparators: [","]
});
</script>
<% else %>
<%= f.input attr, as: :string, label: label %>
<% end %>
<|file_sep|>updated/app/views/koi/settings/_field_tags.html.erb | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<script type='text/javascript'>
$("#<%= id %>").select2({
tags: <%= raw tag_list %>,
tokenSeparators: [","]
});
</script>
<% else %>
<%= f.input attr, as: :string, label: label %>
<% end %> | <|file_sep|>app/views/koi/settings/_field_tags.html.erb.diff
original:
updated:
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<|file_sep|>original/app/views/koi/settings/_field_tags.html.erb
<%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<script type='text/javascript'>
$("#<%= id %>").select2({
tags: <%= raw Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name } %>,
tokenSeparators: [","]
});
</script>
<% else %>
<%= f.input attr, as: :string, label: label %>
<% end %>
<|file_sep|>current/app/views/koi/settings/_field_tags.html.erb
<%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<script type='text/javascript'>
$("#<%= id %>").select2({
tags: <%= raw Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name } %>,
tokenSeparators: [","]
});
</script>
<% else %>
<%= f.input attr, as: :string, label: label %>
<% end %>
<|file_sep|>updated/app/views/koi/settings/_field_tags.html.erb
<%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
tag_list = Setting.tag_counts_on(object.key.to_s.chomp('_list')).collect { |t| t.name }
tag_list = tag_list | object.data_source.call if object.data_source
%>
<script type='text/javascript'>
$("#<%= id %>").select2({
tags: <%= raw tag_list %>,
tokenSeparators: [","]
});
</script>
<% else %>
<%= f.input attr, as: :string, label: label %>
<% end %> | d43499a51169569c58947ae854a8885667716116 | app/views/koi/settings/_field_tags.html.erb | app/views/koi/settings/_field_tags.html.erb | HTML+ERB |
<|file_sep|>original/.vscode/settings.json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"_drafts/**": true,
"_etc/**": true,
"_posts/**": true,
"_projects/**": true,
"_site/**": true,
".sass-cache/**": true
}
}
<|file_sep|>current/.vscode/settings.json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"_drafts/**": true,
"_etc/**": true,
"_posts/**": true,
"_projects/**": true,
"_site/**": true,
".sass-cache/**": true
}
}
<|file_sep|>updated/.vscode/settings.json | {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"dist/**": true,
"node_modules/**": true
}
} | <|file_sep|>original/.vscode/settings.json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"_drafts/**": true,
"_etc/**": true,
"_posts/**": true,
"_projects/**": true,
"_site/**": true,
".sass-cache/**": true
}
}
<|file_sep|>current/.vscode/settings.json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"_drafts/**": true,
"_etc/**": true,
"_posts/**": true,
"_projects/**": true,
"_site/**": true,
".sass-cache/**": true
}
}
<|file_sep|>updated/.vscode/settings.json
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.renderWhitespace": true,
"files.encoding": "utf8",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"search.exclude": {
"dist/**": true,
"node_modules/**": true
}
} | 98957f12c114b80a3d187a03c5c601cab5984834 | .vscode/settings.json | .vscode/settings.json | JSON |
<|file_sep|>original/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final float PRESSURE_SCALAR = 0.264909785f;
/**
* Offset value for calculating pressure from voltage.
*/
private static final float PRESSURE_OFFSET = 54.20054200f;
/**
* The Pololu Maestro channel this device uses.
*/
private final PololuMaestroInputChannel channel;
/**
<|file_sep|>current/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final float PRESSURE_SCALAR = 0.264909785f;
/**
* Offset value for calculating pressure from voltage.
*/
private static final float PRESSURE_OFFSET = 54.20054200f;
/**
* The Pololu Maestro channel this device uses.
*/
private final PololuMaestroInputChannel channel;
/**
<|file_sep|>updated/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java | package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
/**
* A MPX4250 is an absolute pressure (AP) sensor. See also: <a href="http://goo.gl/n7c8tY">MPX4250</a>.
*/
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final float PRESSURE_SCALAR = 0.264909785f;
/**
* Offset value for calculating pressure from voltage.
*/
private static final float PRESSURE_OFFSET = 54.20054200f;
/**
* The Pololu Maestro channel this device uses.
*/ | <|file_sep|>original/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final float PRESSURE_SCALAR = 0.264909785f;
/**
* Offset value for calculating pressure from voltage.
*/
private static final float PRESSURE_OFFSET = 54.20054200f;
/**
* The Pololu Maestro channel this device uses.
*/
private final PololuMaestroInputChannel channel;
/**
<|file_sep|>current/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final float PRESSURE_SCALAR = 0.264909785f;
/**
* Offset value for calculating pressure from voltage.
*/
private static final float PRESSURE_OFFSET = 54.20054200f;
/**
* The Pololu Maestro channel this device uses.
*/
private final PololuMaestroInputChannel channel;
/**
<|file_sep|>updated/src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io;
import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel;
/**
* A MPX4250 is an absolute pressure (AP) sensor. See also: <a href="http://goo.gl/n7c8tY">MPX4250</a>.
*/
public class MPX4250AP {
/**
* Scalar value for calculating pressure from voltage.
*/
private static final float PRESSURE_SCALAR = 0.264909785f;
/**
* Offset value for calculating pressure from voltage.
*/
private static final float PRESSURE_OFFSET = 54.20054200f;
/**
* The Pololu Maestro channel this device uses.
*/ | 527e54b992d757166fb295e37d43674b81a7ac99 | src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java | src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java | Java |
<|file_sep|>playbooks/common.yml.diff
original:
- name: update package index
updated:
- name: update dpkg index
<|file_sep|>playbooks/common.yml.diff
original:
- apt: pkg={{ item }}
updated:
- name: python dependencies
apt: pkg={{ item }}
<|file_sep|>playbooks/common.yml.diff
original:
- git
updated:
<|file_sep|>original/playbooks/common.yml
---
- name: update package index
apt: update_cache=yes
- apt: pkg={{ item }}
with_items:
- python-pip
- git
- python-pip
- python-libxml2
- python-lxml
- python-greenlet
- name: /opt/stack
file: dest=/opt/stack state=directory
<|file_sep|>current/playbooks/common.yml
---
- name: update dpkg index
apt: update_cache=yes
- name: python dependencies
apt: pkg={{ item }}
with_items:
- python-pip
- python-pip
- python-libxml2
- python-lxml
- python-greenlet
- name: /opt/stack
file: dest=/opt/stack state=directory
<|file_sep|>updated/playbooks/common.yml | ---
- name: update dpkg index
apt: update_cache=yes
- name: python dependencies
apt: pkg={{ item }}
with_items:
- python-pip
- python-pip
- python-libxml2
- python-lxml
- python-greenlet
- apt: pkg=git
- name: /opt/stack
file: dest=/opt/stack state=directory | <|file_sep|>playbooks/common.yml.diff
original:
- name: update package index
updated:
- name: update dpkg index
<|file_sep|>playbooks/common.yml.diff
original:
- apt: pkg={{ item }}
updated:
- name: python dependencies
apt: pkg={{ item }}
<|file_sep|>playbooks/common.yml.diff
original:
- git
updated:
<|file_sep|>original/playbooks/common.yml
---
- name: update package index
apt: update_cache=yes
- apt: pkg={{ item }}
with_items:
- python-pip
- git
- python-pip
- python-libxml2
- python-lxml
- python-greenlet
- name: /opt/stack
file: dest=/opt/stack state=directory
<|file_sep|>current/playbooks/common.yml
---
- name: update dpkg index
apt: update_cache=yes
- name: python dependencies
apt: pkg={{ item }}
with_items:
- python-pip
- python-pip
- python-libxml2
- python-lxml
- python-greenlet
- name: /opt/stack
file: dest=/opt/stack state=directory
<|file_sep|>updated/playbooks/common.yml
---
- name: update dpkg index
apt: update_cache=yes
- name: python dependencies
apt: pkg={{ item }}
with_items:
- python-pip
- python-pip
- python-libxml2
- python-lxml
- python-greenlet
- apt: pkg=git
- name: /opt/stack
file: dest=/opt/stack state=directory | eed83e8a224942d6d35f3f34f3d79d2589596ff7 | playbooks/common.yml | playbooks/common.yml | YAML |
<|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
keys = [tags, parent_host_id, parent_ems_cluster_id, parent_storage_id, parent_ems_id]
updated:
keys = [tags] + resource_parents.map(&:id)
<|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
tenant_resource = resource.try(:tenant)
keys.push(tenant_resource.id) unless tenant_resource.nil?
updated:
<|file_sep|>original/app/models/metric/chargeback_helper.rb
module Metric::ChargebackHelper
def hash_features_affecting_rate
tags = tag_names.split('|').reject { |n| n.starts_with?('folder_path_') }.sort.join('|')
keys = [tags, parent_host_id, parent_ems_cluster_id, parent_storage_id, parent_ems_id]
keys += [resource.container_image, timestamp] if resource_type == Container.name
tenant_resource = resource.try(:tenant)
keys.push(tenant_resource.id) unless tenant_resource.nil?
keys.join('_')
end
def tag_list_reconstruct
tag_list = tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" }
if resource_type == Container.name
state = resource.vim_performance_state_for_ts(timestamp.to_s)
tag_list += state.image_tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" } if state.present?
end
tag_list
end
end
<|file_sep|>current/app/models/metric/chargeback_helper.rb
module Metric::ChargebackHelper
def hash_features_affecting_rate
tags = tag_names.split('|').reject { |n| n.starts_with?('folder_path_') }.sort.join('|')
keys = [tags] + resource_parents.map(&:id)
keys += [resource.container_image, timestamp] if resource_type == Container.name
keys.join('_')
end
def tag_list_reconstruct
tag_list = tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" }
if resource_type == Container.name
state = resource.vim_performance_state_for_ts(timestamp.to_s)
tag_list += state.image_tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" } if state.present?
end
tag_list
end
end
<|file_sep|>updated/app/models/metric/chargeback_helper.rb | def hash_features_affecting_rate
tags = tag_names.split('|').reject { |n| n.starts_with?('folder_path_') }.sort.join('|')
keys = [tags] + resource_parents.map(&:id)
keys += [resource.container_image, timestamp] if resource_type == Container.name
keys.join('_')
end
def tag_list_reconstruct
tag_list = tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" }
if resource_type == Container.name
state = resource.vim_performance_state_for_ts(timestamp.to_s)
tag_list += state.image_tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" } if state.present?
end
tag_list
end
def resource_parents
[parent_host, parent_ems_cluster, parent_storage, parent_ems, resource.try(:tenant)].compact
end
end | <|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
keys = [tags, parent_host_id, parent_ems_cluster_id, parent_storage_id, parent_ems_id]
updated:
keys = [tags] + resource_parents.map(&:id)
<|file_sep|>app/models/metric/chargeback_helper.rb.diff
original:
tenant_resource = resource.try(:tenant)
keys.push(tenant_resource.id) unless tenant_resource.nil?
updated:
<|file_sep|>original/app/models/metric/chargeback_helper.rb
module Metric::ChargebackHelper
def hash_features_affecting_rate
tags = tag_names.split('|').reject { |n| n.starts_with?('folder_path_') }.sort.join('|')
keys = [tags, parent_host_id, parent_ems_cluster_id, parent_storage_id, parent_ems_id]
keys += [resource.container_image, timestamp] if resource_type == Container.name
tenant_resource = resource.try(:tenant)
keys.push(tenant_resource.id) unless tenant_resource.nil?
keys.join('_')
end
def tag_list_reconstruct
tag_list = tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" }
if resource_type == Container.name
state = resource.vim_performance_state_for_ts(timestamp.to_s)
tag_list += state.image_tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" } if state.present?
end
tag_list
end
end
<|file_sep|>current/app/models/metric/chargeback_helper.rb
module Metric::ChargebackHelper
def hash_features_affecting_rate
tags = tag_names.split('|').reject { |n| n.starts_with?('folder_path_') }.sort.join('|')
keys = [tags] + resource_parents.map(&:id)
keys += [resource.container_image, timestamp] if resource_type == Container.name
keys.join('_')
end
def tag_list_reconstruct
tag_list = tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" }
if resource_type == Container.name
state = resource.vim_performance_state_for_ts(timestamp.to_s)
tag_list += state.image_tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" } if state.present?
end
tag_list
end
end
<|file_sep|>updated/app/models/metric/chargeback_helper.rb
def hash_features_affecting_rate
tags = tag_names.split('|').reject { |n| n.starts_with?('folder_path_') }.sort.join('|')
keys = [tags] + resource_parents.map(&:id)
keys += [resource.container_image, timestamp] if resource_type == Container.name
keys.join('_')
end
def tag_list_reconstruct
tag_list = tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" }
if resource_type == Container.name
state = resource.vim_performance_state_for_ts(timestamp.to_s)
tag_list += state.image_tag_names.split("|").inject([]) { |arr, t| arr << "/tag/managed/#{t}" } if state.present?
end
tag_list
end
def resource_parents
[parent_host, parent_ems_cluster, parent_storage, parent_ems, resource.try(:tenant)].compact
end
end | 3f484925000b3cff085f32d0668f906ce67b23c2 | app/models/metric/chargeback_helper.rb | app/models/metric/chargeback_helper.rb | Ruby |
<|file_sep|>original/.github/workflows/ci.yml
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3 # compilation fails
runs-on: ${{ matrix.os }}-latest
env:
MAKE: "make" # to not try to use gmake on Windows
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: brew install automake
if: matrix.os == 'macos'
<|file_sep|>current/.github/workflows/ci.yml
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3 # compilation fails
runs-on: ${{ matrix.os }}-latest
env:
MAKE: "make" # to not try to use gmake on Windows
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: brew install automake
if: matrix.os == 'macos'
<|file_sep|>updated/.github/workflows/ci.yml | strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3 # compilation fails
- os: macos
ruby: 2.3 # https://github.com/rubygems/rubygems/issues/3463
runs-on: ${{ matrix.os }}-latest
env:
MAKE: "make" # to not try to use gmake on Windows
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
| <|file_sep|>original/.github/workflows/ci.yml
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3 # compilation fails
runs-on: ${{ matrix.os }}-latest
env:
MAKE: "make" # to not try to use gmake on Windows
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: brew install automake
if: matrix.os == 'macos'
<|file_sep|>current/.github/workflows/ci.yml
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3 # compilation fails
runs-on: ${{ matrix.os }}-latest
env:
MAKE: "make" # to not try to use gmake on Windows
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: brew install automake
if: matrix.os == 'macos'
<|file_sep|>updated/.github/workflows/ci.yml
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos, windows ]
ruby: [ 2.3, 2.4, 2.5, 2.6, 2.7, ruby-head, truffleruby-head ]
exclude:
- os: windows
ruby: truffleruby-head
- os: windows
ruby: 2.3 # compilation fails
- os: macos
ruby: 2.3 # https://github.com/rubygems/rubygems/issues/3463
runs-on: ${{ matrix.os }}-latest
env:
MAKE: "make" # to not try to use gmake on Windows
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
| 3b2593f0e4af2f3e5b8658ca8c56d2870d49dc98 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>.storybook/config.js.diff
original:
updated:
url: 'https://github.com/selvagsz/react-power-select',
<|file_sep|>original/.storybook/config.js
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
addonPanelInRight: true,
});
// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.js$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
configure(loadStories, module);
<|file_sep|>current/.storybook/config.js
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
url: 'https://github.com/selvagsz/react-power-select',
addonPanelInRight: true,
});
// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.js$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
configure(loadStories, module);
<|file_sep|>updated/.storybook/config.js | import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
url: 'https://github.com/selvagsz/react-power-select',
addonPanelInRight: true,
enableShortcuts: true,
});
// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.js$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
configure(loadStories, module); | <|file_sep|>.storybook/config.js.diff
original:
updated:
url: 'https://github.com/selvagsz/react-power-select',
<|file_sep|>original/.storybook/config.js
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
addonPanelInRight: true,
});
// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.js$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
configure(loadStories, module);
<|file_sep|>current/.storybook/config.js
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
url: 'https://github.com/selvagsz/react-power-select',
addonPanelInRight: true,
});
// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.js$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
configure(loadStories, module);
<|file_sep|>updated/.storybook/config.js
import { configure } from '@storybook/react';
import { setOptions } from '@storybook/addon-options';
setOptions({
name: 'React Power Select',
url: 'https://github.com/selvagsz/react-power-select',
addonPanelInRight: true,
enableShortcuts: true,
});
// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /.stories.js$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
configure(loadStories, module); | 1bbe4f3ffc23c941de095947a7c3a7ee219da083 | .storybook/config.js | .storybook/config.js | JavaScript |
<|file_sep|>original/.travis.yml
---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone" -arch i386 ONLY_ACTIVE_ARCH=NO
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone Retina (3.5-inch)" -arch i386 ONLY_ACTIVE_ARCH=NO
after_success:
- ./coveralls.rb --extension m --exclude-folder MCUIViewLayoutExample
<|file_sep|>current/.travis.yml
---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone" -arch i386 ONLY_ACTIVE_ARCH=NO
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone Retina (3.5-inch)" -arch i386 ONLY_ACTIVE_ARCH=NO
after_success:
- ./coveralls.rb --extension m --exclude-folder MCUIViewLayoutExample
<|file_sep|>updated/.travis.yml | ---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -arch i386 ONLY_ACTIVE_ARCH=NO
after_success:
- ./coveralls.rb --extension m --exclude-folder MCUIViewLayoutExample | <|file_sep|>original/.travis.yml
---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone" -arch i386 ONLY_ACTIVE_ARCH=NO
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone Retina (3.5-inch)" -arch i386 ONLY_ACTIVE_ARCH=NO
after_success:
- ./coveralls.rb --extension m --exclude-folder MCUIViewLayoutExample
<|file_sep|>current/.travis.yml
---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone" -arch i386 ONLY_ACTIVE_ARCH=NO
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -destination="iPhone Retina (3.5-inch)" -arch i386 ONLY_ACTIVE_ARCH=NO
after_success:
- ./coveralls.rb --extension m --exclude-folder MCUIViewLayoutExample
<|file_sep|>updated/.travis.yml
---
language: objective-c
before_script:
- sudo easy_install cpp-coveralls
script:
- xctool project MCUIViewLayoutExample/UIViewLayoutExample.xcodeproj -scheme UIViewLayoutExampleTests build test -sdk iphonesimulator -arch i386 ONLY_ACTIVE_ARCH=NO
after_success:
- ./coveralls.rb --extension m --exclude-folder MCUIViewLayoutExample | e41127c3f7223956076737cdd1fd8fc776ebc468 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.11
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.11
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>updated/requirements_dev.txt | bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.12
pytest==2.9.2
pytest-runner==2.11.1 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.11
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.11
pytest==2.9.2
pytest-runner==2.11.1
<|file_sep|>updated/requirements_dev.txt
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.3
cryptography>=1.7
PyYAML==3.12
pytest==2.9.2
pytest-runner==2.11.1 | 4c0eadc91624a7b1977eb22b608124ac7394a884 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/test/long_test.py
<|file_sep|>current/test/long_test.py
<|file_sep|>updated/test/long_test.py | #!/usr/bin/python
import sys
from os import execv
from optparse import OptionParser
from cloud_retester import do_test, do_test_cloud, report_cloud, setup_testing_nodes, terminate_testing_nodes
long_test_branch = "long-test"
no_checkout_arg = "--no-checkout"
def exec_self(args):
execv("/usr/bin/env", ["python", sys.argv[0]] + args)
def build_args_parser():
parser = OptionParser()
parser.add_option(no_checkout_arg, dest="no_checkout", action="store_true")
return parser
def git_checkout(branch):
do_test("git fetch -f origin {b}:refs/remotes/origin/{b} && git checkout -f origin/{b}".format(b=branch))
def git_local_changes(): | <|file_sep|>original/test/long_test.py
<|file_sep|>current/test/long_test.py
<|file_sep|>updated/test/long_test.py
#!/usr/bin/python
import sys
from os import execv
from optparse import OptionParser
from cloud_retester import do_test, do_test_cloud, report_cloud, setup_testing_nodes, terminate_testing_nodes
long_test_branch = "long-test"
no_checkout_arg = "--no-checkout"
def exec_self(args):
execv("/usr/bin/env", ["python", sys.argv[0]] + args)
def build_args_parser():
parser = OptionParser()
parser.add_option(no_checkout_arg, dest="no_checkout", action="store_true")
return parser
def git_checkout(branch):
do_test("git fetch -f origin {b}:refs/remotes/origin/{b} && git checkout -f origin/{b}".format(b=branch))
def git_local_changes(): | 4a5e5d07f3510394ac1112727c66ddd122762aa9 | test/long_test.py | test/long_test.py | Python |
<|file_sep|>original/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.3
<|file_sep|>current/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.3
<|file_sep|>updated/requirements/dev.txt | -r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.4 | <|file_sep|>original/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.3
<|file_sep|>current/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.3
<|file_sep|>updated/requirements/dev.txt
-r common.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
coverage==4.4.2
Sphinx==1.6.5
cryptography==2.1.4 | ee8fa389929192724c7f406db6a49f0c275a75bd | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/packages/mr/mrm.yaml
<|file_sep|>current/packages/mr/mrm.yaml
<|file_sep|>updated/packages/mr/mrm.yaml | homepage: https://github.com/scmu/mrm
changelog-type: ''
hash: 2827591ee1f78d60cd1a3b9fa1a50db813b3c5d163fb2c28799faa01e34bff1f
test-bench-deps: {}
maintainer: suhorng@gmail.com
synopsis: Modular Refiable Matching, first-class matches
changelog: ''
basic-deps:
base: ! '>=4.7 && <4.8'
all-versions:
- '0.1.0.0'
author: brunosoliveira, scmu, suhorng
latest: '0.1.0.0'
description-type: markdown
description: ! '# mrm
Modular Refiable Matching, A List-of-Functos Approach to Two-Level Types
'
license-name: BSD3 | <|file_sep|>original/packages/mr/mrm.yaml
<|file_sep|>current/packages/mr/mrm.yaml
<|file_sep|>updated/packages/mr/mrm.yaml
homepage: https://github.com/scmu/mrm
changelog-type: ''
hash: 2827591ee1f78d60cd1a3b9fa1a50db813b3c5d163fb2c28799faa01e34bff1f
test-bench-deps: {}
maintainer: suhorng@gmail.com
synopsis: Modular Refiable Matching, first-class matches
changelog: ''
basic-deps:
base: ! '>=4.7 && <4.8'
all-versions:
- '0.1.0.0'
author: brunosoliveira, scmu, suhorng
latest: '0.1.0.0'
description-type: markdown
description: ! '# mrm
Modular Refiable Matching, A List-of-Functos Approach to Two-Level Types
'
license-name: BSD3 | f028df157583df589ba91d7e8d8411b91c022cf1 | packages/mr/mrm.yaml | packages/mr/mrm.yaml | YAML |
<|file_sep|>original/Resources/views/breadcrumbs.html.twig
{% if wo_breadcrumbs()|length %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% endif %}{% if not(loop.first) %} itemprop="child"{% endif %}>
{% if b.url and not loop.last %}<a href="{{ b.url }}" itemprop="url">{% endif %}
<span itemprop="title">{{- b.text | trans(b.translationParameters, translation_domain, locale) -}}</span>
{% if b.url and not loop.last %}</a>{% endif %}
{% if separator is not null and not loop.last %}
<span class='{{ separatorClass }}'>{{ separator }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
<|file_sep|>current/Resources/views/breadcrumbs.html.twig
{% if wo_breadcrumbs()|length %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% endif %}{% if not(loop.first) %} itemprop="child"{% endif %}>
{% if b.url and not loop.last %}<a href="{{ b.url }}" itemprop="url">{% endif %}
<span itemprop="title">{{- b.text | trans(b.translationParameters, translation_domain, locale) -}}</span>
{% if b.url and not loop.last %}</a>{% endif %}
{% if separator is not null and not loop.last %}
<span class='{{ separatorClass }}'>{{ separator }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
<|file_sep|>updated/Resources/views/breadcrumbs.html.twig | {% if wo_breadcrumbs()|length %}
{% spaceless %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% endif %}{% if not(loop.first) %} itemprop="child"{% endif %}>
{% if b.url and not loop.last %}<a href="{{ b.url }}" itemprop="url">{% endif %}
<span itemprop="title">{{- b.text | trans(b.translationParameters, translation_domain, locale) -}}</span>
{% if b.url and not loop.last %}</a>{% endif %}
{% if separator is not null and not loop.last %}
<span class='{{ separatorClass }}'>{{ separator }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endspaceless %}
{% endif %} | <|file_sep|>original/Resources/views/breadcrumbs.html.twig
{% if wo_breadcrumbs()|length %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% endif %}{% if not(loop.first) %} itemprop="child"{% endif %}>
{% if b.url and not loop.last %}<a href="{{ b.url }}" itemprop="url">{% endif %}
<span itemprop="title">{{- b.text | trans(b.translationParameters, translation_domain, locale) -}}</span>
{% if b.url and not loop.last %}</a>{% endif %}
{% if separator is not null and not loop.last %}
<span class='{{ separatorClass }}'>{{ separator }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
<|file_sep|>current/Resources/views/breadcrumbs.html.twig
{% if wo_breadcrumbs()|length %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% endif %}{% if not(loop.first) %} itemprop="child"{% endif %}>
{% if b.url and not loop.last %}<a href="{{ b.url }}" itemprop="url">{% endif %}
<span itemprop="title">{{- b.text | trans(b.translationParameters, translation_domain, locale) -}}</span>
{% if b.url and not loop.last %}</a>{% endif %}
{% if separator is not null and not loop.last %}
<span class='{{ separatorClass }}'>{{ separator }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
<|file_sep|>updated/Resources/views/breadcrumbs.html.twig
{% if wo_breadcrumbs()|length %}
{% spaceless %}
<ul id="{{ listId }}" class="{{ listClass }}" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
{% for b in breadcrumbs %}
<li{% if itemClass is defined and itemClass|length %} class="{{ itemClass }}"{% endif %}{% if not(loop.first) %} itemprop="child"{% endif %}>
{% if b.url and not loop.last %}<a href="{{ b.url }}" itemprop="url">{% endif %}
<span itemprop="title">{{- b.text | trans(b.translationParameters, translation_domain, locale) -}}</span>
{% if b.url and not loop.last %}</a>{% endif %}
{% if separator is not null and not loop.last %}
<span class='{{ separatorClass }}'>{{ separator }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endspaceless %}
{% endif %} | cd8d36429807ce4efa40662b51da9df3bdf86dd6 | Resources/views/breadcrumbs.html.twig | Resources/views/breadcrumbs.html.twig | Twig |
<|file_sep|>src/tstquery.cpp.diff
original:
* Copyright (c) 1998-2005, Index Data.
updated:
* Copyright (c) 1998-2006, Index Data.
<|file_sep|>src/tstquery.cpp.diff
original:
* $Id: tstquery.cpp,v 1.2 2006-03-29 13:14:15 adam Exp $
updated:
* $Id: tstquery.cpp,v 1.3 2006-07-07 12:57:15 adam Exp $
<|file_sep|>original/src/tstquery.cpp
{
fprintf(stderr, "tstquery: query mismatch out=%s expected=%s\n",
query_str_out, query_expected);
exit(1);
}
}
int main(int argc, char **argv)
{
tst1("", "");
tst1("x", "RPN: @attrset Bib-1 x");
tst1("@and a b", "RPN: @attrset Bib-1 @and a b");
}
/*
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
<|file_sep|>current/src/tstquery.cpp
{
fprintf(stderr, "tstquery: query mismatch out=%s expected=%s\n",
query_str_out, query_expected);
exit(1);
}
}
int main(int argc, char **argv)
{
tst1("", "");
tst1("x", "RPN: @attrset Bib-1 x");
tst1("@and a b", "RPN: @attrset Bib-1 @and a b");
}
/*
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
<|file_sep|>updated/src/tstquery.cpp | {
fprintf(stderr, "tstquery: query mismatch out=%s expected=%s\n",
query_str_out, query_expected);
exit(1);
}
}
int main(int argc, char **argv)
{
tst1("", "");
tst1("x", "RPN @attrset Bib-1 x");
tst1("@and a b", "RPN @attrset Bib-1 @and a b");
}
/*
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/ | <|file_sep|>src/tstquery.cpp.diff
original:
* Copyright (c) 1998-2005, Index Data.
updated:
* Copyright (c) 1998-2006, Index Data.
<|file_sep|>src/tstquery.cpp.diff
original:
* $Id: tstquery.cpp,v 1.2 2006-03-29 13:14:15 adam Exp $
updated:
* $Id: tstquery.cpp,v 1.3 2006-07-07 12:57:15 adam Exp $
<|file_sep|>original/src/tstquery.cpp
{
fprintf(stderr, "tstquery: query mismatch out=%s expected=%s\n",
query_str_out, query_expected);
exit(1);
}
}
int main(int argc, char **argv)
{
tst1("", "");
tst1("x", "RPN: @attrset Bib-1 x");
tst1("@and a b", "RPN: @attrset Bib-1 @and a b");
}
/*
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
<|file_sep|>current/src/tstquery.cpp
{
fprintf(stderr, "tstquery: query mismatch out=%s expected=%s\n",
query_str_out, query_expected);
exit(1);
}
}
int main(int argc, char **argv)
{
tst1("", "");
tst1("x", "RPN: @attrset Bib-1 x");
tst1("@and a b", "RPN: @attrset Bib-1 @and a b");
}
/*
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
<|file_sep|>updated/src/tstquery.cpp
{
fprintf(stderr, "tstquery: query mismatch out=%s expected=%s\n",
query_str_out, query_expected);
exit(1);
}
}
int main(int argc, char **argv)
{
tst1("", "");
tst1("x", "RPN @attrset Bib-1 x");
tst1("@and a b", "RPN @attrset Bib-1 @and a b");
}
/*
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/ | 93b7b5befe40c4a3f847c59071c4f2f6cd5325e7 | src/tstquery.cpp | src/tstquery.cpp | C++ |
<|file_sep|>original/composer.json
"license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.0.*",
"symfony/framework-bundle": "^3.0|^4.1",
"symfony/twig-bundle": "^3.0|^4.1"
},
"require-dev": {
"phpspec/phpspec": "^2.4"
},
"autoload": {
"exclude-from-classmap": [
"spec/"
],
<|file_sep|>current/composer.json
"license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.0.*",
"symfony/framework-bundle": "^3.0|^4.1",
"symfony/twig-bundle": "^3.0|^4.1"
},
"require-dev": {
"phpspec/phpspec": "^2.4"
},
"autoload": {
"exclude-from-classmap": [
"spec/"
],
<|file_sep|>updated/composer.json | "license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.1.*",
"symfony/framework-bundle": "^3.0|^4.1",
"symfony/twig-bundle": "^3.0|^4.1"
},
"require-dev": {
"phpspec/phpspec": "^2.4"
},
"autoload": {
"exclude-from-classmap": [
"spec/"
], | <|file_sep|>original/composer.json
"license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.0.*",
"symfony/framework-bundle": "^3.0|^4.1",
"symfony/twig-bundle": "^3.0|^4.1"
},
"require-dev": {
"phpspec/phpspec": "^2.4"
},
"autoload": {
"exclude-from-classmap": [
"spec/"
],
<|file_sep|>current/composer.json
"license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.0.*",
"symfony/framework-bundle": "^3.0|^4.1",
"symfony/twig-bundle": "^3.0|^4.1"
},
"require-dev": {
"phpspec/phpspec": "^2.4"
},
"autoload": {
"exclude-from-classmap": [
"spec/"
],
<|file_sep|>updated/composer.json
"license":"MIT",
"minimum-stability": "dev",
"authors": [
{
"name": "Rafał Muszyński",
"email": "rmuszynski1@gmail.com"
}
],
"require": {
"php": ">=5.5.9|^7.0",
"lullabot/amp": "1.1.*",
"symfony/framework-bundle": "^3.0|^4.1",
"symfony/twig-bundle": "^3.0|^4.1"
},
"require-dev": {
"phpspec/phpspec": "^2.4"
},
"autoload": {
"exclude-from-classmap": [
"spec/"
], | b06ea3a7abd1977b467156194e42bfb22d83426c | composer.json | composer.json | JSON |
<|file_sep|>original/test_3_amsaves.py
<|file_sep|>current/test_3_amsaves.py
<|file_sep|>updated/test_3_amsaves.py | #!/usr/bin/env python
__author__ = "Eric Allen Youngson"
__email__ = "eric@scneco.com"
__copyright__ = "Copyright 2015, Succession Ecological Services"
__license__ = "GNU Affero (GPLv3)"
""" This module provides functions for requesting results from the DeltaMeter
Services API * deltameterservices.com * """
import deltamtrsvs as dms_api
import amsaves as ams
import private as pvt
import types as tp
import pandas as pd
import re
from collections import defaultdict
headers = pvt.headers
properties_url = pvt.properties_url | <|file_sep|>original/test_3_amsaves.py
<|file_sep|>current/test_3_amsaves.py
<|file_sep|>updated/test_3_amsaves.py
#!/usr/bin/env python
__author__ = "Eric Allen Youngson"
__email__ = "eric@scneco.com"
__copyright__ = "Copyright 2015, Succession Ecological Services"
__license__ = "GNU Affero (GPLv3)"
""" This module provides functions for requesting results from the DeltaMeter
Services API * deltameterservices.com * """
import deltamtrsvs as dms_api
import amsaves as ams
import private as pvt
import types as tp
import pandas as pd
import re
from collections import defaultdict
headers = pvt.headers
properties_url = pvt.properties_url | 0528ee6f8170eac9bc928ea9d52c59f2cf4f8f26 | test_3_amsaves.py | test_3_amsaves.py | Python |
<|file_sep|>.travis.yml.diff
original:
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# command to install dependencies
updated:
env:
- TOLA_ERROR_LOG="error.log"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# command to install dependencies
install:
- pip install -r requirements.txt
# command to run tests
script: python manage.py test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
env:
- TOLA_ERROR_LOG="error.log"
install:
- pip install -r requirements.txt
# command to run tests
script: python manage.py test
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.7"
env:
- TOLA_ERROR_LOG="error.log"
install:
- pip install -r requirements.txt
script: python manage.py test | <|file_sep|>.travis.yml.diff
original:
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# command to install dependencies
updated:
env:
- TOLA_ERROR_LOG="error.log"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
# command to install dependencies
install:
- pip install -r requirements.txt
# command to run tests
script: python manage.py test
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
env:
- TOLA_ERROR_LOG="error.log"
install:
- pip install -r requirements.txt
# command to run tests
script: python manage.py test
<|file_sep|>updated/.travis.yml
language: python
python:
- "2.7"
env:
- TOLA_ERROR_LOG="error.log"
install:
- pip install -r requirements.txt
script: python manage.py test | 28eeb3c4cdd41f69e8587ca7e2560fd4434e9740 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds commands to query who's on call.
- **`hubot-heroku-keepalive`**. Prevents the bot from falling asleep.
- **`hubot-standup-alarm`**. Configure a alarm for your standup every day.
## Deployment
gds-hubot is hosted on Heroku. [Auto-deploy](https://devcenter.heroku.com/articles/github-integration#automatic-deploys)
has been set up, so the app is deployed immediately after pushing to master /
merging a pull request.
### Sleeping on Heroku
As this app is hosted on a free dyno, it will sleep for six hours a day. We've
<|file_sep|>current/README.md
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds commands to query who's on call.
- **`hubot-heroku-keepalive`**. Prevents the bot from falling asleep.
- **`hubot-standup-alarm`**. Configure a alarm for your standup every day.
## Deployment
gds-hubot is hosted on Heroku. [Auto-deploy](https://devcenter.heroku.com/articles/github-integration#automatic-deploys)
has been set up, so the app is deployed immediately after pushing to master /
merging a pull request.
### Sleeping on Heroku
As this app is hosted on a free dyno, it will sleep for six hours a day. We've
<|file_sep|>updated/README.md |
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds commands to query who's on call.
- **`hubot-heroku-keepalive`**. Prevents the bot from falling asleep.
- **`hubot-standup-alarm`**. Configure an alarm for your standup every day.
## Deployment
gds-hubot is hosted on Heroku. [Auto-deploy](https://devcenter.heroku.com/articles/github-integration#automatic-deploys)
has been set up, so the app is deployed immediately after pushing to master /
merging a pull request.
### Sleeping on Heroku
As this app is hosted on a free dyno, it will sleep for six hours a day. We've | <|file_sep|>original/README.md
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds commands to query who's on call.
- **`hubot-heroku-keepalive`**. Prevents the bot from falling asleep.
- **`hubot-standup-alarm`**. Configure a alarm for your standup every day.
## Deployment
gds-hubot is hosted on Heroku. [Auto-deploy](https://devcenter.heroku.com/articles/github-integration#automatic-deploys)
has been set up, so the app is deployed immediately after pushing to master /
merging a pull request.
### Sleeping on Heroku
As this app is hosted on a free dyno, it will sleep for six hours a day. We've
<|file_sep|>current/README.md
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds commands to query who's on call.
- **`hubot-heroku-keepalive`**. Prevents the bot from falling asleep.
- **`hubot-standup-alarm`**. Configure a alarm for your standup every day.
## Deployment
gds-hubot is hosted on Heroku. [Auto-deploy](https://devcenter.heroku.com/articles/github-integration#automatic-deploys)
has been set up, so the app is deployed immediately after pushing to master /
merging a pull request.
### Sleeping on Heroku
As this app is hosted on a free dyno, it will sleep for six hours a day. We've
<|file_sep|>updated/README.md
gds-hubot is the [Hubot](https://hubot.github.com/) running on the GDS Slack.
## Enabled plugins
See the full list in [external-scripts.json](external-scripts.json).
- **`hubot-pager-me`**. Connects to PagerDuty. Makes the bot tell `#2ndline` when
there's an alert. Also adds commands to query who's on call.
- **`hubot-heroku-keepalive`**. Prevents the bot from falling asleep.
- **`hubot-standup-alarm`**. Configure an alarm for your standup every day.
## Deployment
gds-hubot is hosted on Heroku. [Auto-deploy](https://devcenter.heroku.com/articles/github-integration#automatic-deploys)
has been set up, so the app is deployed immediately after pushing to master /
merging a pull request.
### Sleeping on Heroku
As this app is hosted on a free dyno, it will sleep for six hours a day. We've | df2de23380a8130b6cb3d45b189ad6736086ee72 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install the library.
cabal build
cabal install
<|file_sep|>current/README.md
Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install the library.
cabal build
cabal install
<|file_sep|>updated/README.md | Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure -fgenerator
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install the library.
cabal build
cabal install | <|file_sep|>original/README.md
Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install the library.
cabal build
cabal install
<|file_sep|>current/README.md
Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install the library.
cabal build
cabal install
<|file_sep|>updated/README.md
Building
========
Get the latest OpenGL Registry.
wget https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
Build and run the generator.
cabal configure -fgenerator
cabal build opengl-wrangler-gen
./dist/build/opengl-wrangler-gen/opengl-wrangler-gen
Build and install the library.
cabal build
cabal install | 2ec792e8b6a5c5e05766b336fae56ad6fa564305 | README.md | README.md | Markdown |
<|file_sep|>models/score_board.rb.diff
original:
updated:
require 'json'
<|file_sep|>models/score_board.rb.diff
original:
SB_URI = "http://scores.espn.go.com/nba/scoreboard?date=%s"
GIDS_RE = %r|/nba/boxscore\?gameId=(\d+)|
updated:
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en®ion=us&calendartype=blacklist&limit=100&dates=%s"
<|file_sep|>original/models/score_board.rb
class ScoreBoard
SB_URI = "http://scores.espn.go.com/nba/scoreboard?date=%s"
GIDS_RE = %r|/nba/boxscore\?gameId=(\d+)|
def initialize (d=nil)
date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today
gids = []
while gids.empty?
url = SB_URI % date.strftime("%Y%m%d")
gids = open(url).read.scan(GIDS_RE).map { |gid| gid[0].strip.to_i }.uniq
date -= 1
end
@bss = []
gids.each { |gid| @bss << BoxScore.new(gid) }
end
def bses
x = []
<|file_sep|>current/models/score_board.rb
require_relative 'box_score'
class ScoreBoard
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en®ion=us&calendartype=blacklist&limit=100&dates=%s"
def initialize (d=nil)
date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today
gids = []
while gids.empty?
url = SB_URI % date.strftime("%Y%m%d")
gids = open(url).read.scan(GIDS_RE).map { |gid| gid[0].strip.to_i }.uniq
date -= 1
end
@bss = []
gids.each { |gid| @bss << BoxScore.new(gid) }
end
def bses
x = []
<|file_sep|>updated/models/score_board.rb | require_relative 'box_score'
class ScoreBoard
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en®ion=us&calendartype=blacklist&limit=100&dates=%s"
def initialize (d=nil)
date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today
gids = []
while gids.empty?
json = JSON.parse(open(SB_URI % date.strftime("%Y%m%d")).read.scan(/[[:print:]]/).join)
gids = json['events'].select { |e| e['status']['type']['state'] != 'pre' }.map { |e| e['id'].to_i }.uniq
date -= 1
end
@bss = []
gids.each { |gid| @bss << BoxScore.new(gid) }
end
def bses
x = [] | <|file_sep|>models/score_board.rb.diff
original:
updated:
require 'json'
<|file_sep|>models/score_board.rb.diff
original:
SB_URI = "http://scores.espn.go.com/nba/scoreboard?date=%s"
GIDS_RE = %r|/nba/boxscore\?gameId=(\d+)|
updated:
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en®ion=us&calendartype=blacklist&limit=100&dates=%s"
<|file_sep|>original/models/score_board.rb
class ScoreBoard
SB_URI = "http://scores.espn.go.com/nba/scoreboard?date=%s"
GIDS_RE = %r|/nba/boxscore\?gameId=(\d+)|
def initialize (d=nil)
date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today
gids = []
while gids.empty?
url = SB_URI % date.strftime("%Y%m%d")
gids = open(url).read.scan(GIDS_RE).map { |gid| gid[0].strip.to_i }.uniq
date -= 1
end
@bss = []
gids.each { |gid| @bss << BoxScore.new(gid) }
end
def bses
x = []
<|file_sep|>current/models/score_board.rb
require_relative 'box_score'
class ScoreBoard
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en®ion=us&calendartype=blacklist&limit=100&dates=%s"
def initialize (d=nil)
date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today
gids = []
while gids.empty?
url = SB_URI % date.strftime("%Y%m%d")
gids = open(url).read.scan(GIDS_RE).map { |gid| gid[0].strip.to_i }.uniq
date -= 1
end
@bss = []
gids.each { |gid| @bss << BoxScore.new(gid) }
end
def bses
x = []
<|file_sep|>updated/models/score_board.rb
require_relative 'box_score'
class ScoreBoard
SB_URI = "http://site.api.espn.com/apis/site/v2/sports/basketball/nba/scoreboard?lang=en®ion=us&calendartype=blacklist&limit=100&dates=%s"
def initialize (d=nil)
date = d ? Date.new(2000 + d[0,2].to_i, d[2,2].to_i, d[4,2].to_i) : Date.today
gids = []
while gids.empty?
json = JSON.parse(open(SB_URI % date.strftime("%Y%m%d")).read.scan(/[[:print:]]/).join)
gids = json['events'].select { |e| e['status']['type']['state'] != 'pre' }.map { |e| e['id'].to_i }.uniq
date -= 1
end
@bss = []
gids.each { |gid| @bss << BoxScore.new(gid) }
end
def bses
x = [] | b8ea857bd74c3665cdb3a21fc614cefdb9137b98 | models/score_board.rb | models/score_board.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.0
updated:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 1.9
updated:
- rvm: 1.9.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.0
updated:
- rvm: 2.0.0
<|file_sep|>original/.travis.yml
- 2.0
- 2.1
- 2.2
- 2.3.0
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
before_script:
- bundle exec rake db:migrate
<|file_sep|>current/.travis.yml
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
before_script:
- bundle exec rake db:migrate
<|file_sep|>updated/.travis.yml | - 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/5.0.gemfile
before_script:
- bundle exec rake db:migrate | <|file_sep|>.travis.yml.diff
original:
- 1.9
- 2.0
- 2.1
- 2.2
- 2.3.0
updated:
- 1.9.3
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 1.9
updated:
- rvm: 1.9.3
<|file_sep|>.travis.yml.diff
original:
- rvm: 2.0
updated:
- rvm: 2.0.0
<|file_sep|>original/.travis.yml
- 2.0
- 2.1
- 2.2
- 2.3.0
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
before_script:
- bundle exec rake db:migrate
<|file_sep|>current/.travis.yml
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
before_script:
- bundle exec rake db:migrate
<|file_sep|>updated/.travis.yml
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
gemfile:
- gemfiles/3.2.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9.3
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/5.0.gemfile
before_script:
- bundle exec rake db:migrate | 49f637895c3847891c784ab3bbaedbd3b749a9c5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# cli base64 encoder/decoder #
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help display this help and exit
--version output version information and exit
```
### Development
* `cargo build --release` to build
* `cargo test` to run tests
<|file_sep|>current/README.md
# cli base64 encoder/decoder #
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help display this help and exit
--version output version information and exit
```
### Development
* `cargo build --release` to build
* `cargo test` to run tests
<|file_sep|>updated/README.md | # cli base64 encoder/decoder #
[](https://travis-ci.org/zubchick/rust-base64)
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help display this help and exit
--version output version information and exit
```
### Development
* `cargo build --release` to build | <|file_sep|>original/README.md
# cli base64 encoder/decoder #
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help display this help and exit
--version output version information and exit
```
### Development
* `cargo build --release` to build
* `cargo test` to run tests
<|file_sep|>current/README.md
# cli base64 encoder/decoder #
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help display this help and exit
--version output version information and exit
```
### Development
* `cargo build --release` to build
* `cargo test` to run tests
<|file_sep|>updated/README.md
# cli base64 encoder/decoder #
[](https://travis-ci.org/zubchick/rust-base64)
This is just a "Hello world". My first rust exercise.
### Usage
```
Base64 encode or decode FILE, or standard input, to standard output.
Usage: base64 [options] [<file>]
base64 (--help | --version)
Options:
-d --decode decode data
-h --help display this help and exit
--version output version information and exit
```
### Development
* `cargo build --release` to build | 8e575d65db0a18fba1fbc807bbc5a728acf5d301 | README.md | README.md | Markdown |
<|file_sep|>original/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
('state', 'not in', ('done', 'cancel'))]
if from_date:
cond.append(('date', '=>', from_date))
if product:
cond.append(('product_id', '=', product.id))
if location_id:
cond.append(('location_id', '=', location_id.id))
if location_dest_id:
cond.append(('location_dest_id', '=', location_dest_id.id))
moves = self.search(cond)
if category:
moves = moves.filtered(
lambda x: x.product_id.product_tmpl_id.categ_id.id ==
<|file_sep|>current/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
('state', 'not in', ('done', 'cancel'))]
if from_date:
cond.append(('date', '=>', from_date))
if product:
cond.append(('product_id', '=', product.id))
if location_id:
cond.append(('location_id', '=', location_id.id))
if location_dest_id:
cond.append(('location_dest_id', '=', location_dest_id.id))
moves = self.search(cond)
if category:
moves = moves.filtered(
lambda x: x.product_id.product_tmpl_id.categ_id.id ==
<|file_sep|>updated/stock_planning/models/stock_move.py |
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
('state', 'not in', ('done', 'cancel'))]
if from_date:
cond.append(('date', '>=', from_date))
if product:
cond.append(('product_id', '=', product.id))
if location_id:
cond.append(('location_id', '=', location_id.id))
if location_dest_id:
cond.append(('location_dest_id', '=', location_dest_id.id))
moves = self.search(cond)
if category:
moves = moves.filtered(
lambda x: x.product_id.product_tmpl_id.categ_id.id == | <|file_sep|>original/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
('state', 'not in', ('done', 'cancel'))]
if from_date:
cond.append(('date', '=>', from_date))
if product:
cond.append(('product_id', '=', product.id))
if location_id:
cond.append(('location_id', '=', location_id.id))
if location_dest_id:
cond.append(('location_dest_id', '=', location_dest_id.id))
moves = self.search(cond)
if category:
moves = moves.filtered(
lambda x: x.product_id.product_tmpl_id.categ_id.id ==
<|file_sep|>current/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
('state', 'not in', ('done', 'cancel'))]
if from_date:
cond.append(('date', '=>', from_date))
if product:
cond.append(('product_id', '=', product.id))
if location_id:
cond.append(('location_id', '=', location_id.id))
if location_dest_id:
cond.append(('location_dest_id', '=', location_dest_id.id))
moves = self.search(cond)
if category:
moves = moves.filtered(
lambda x: x.product_id.product_tmpl_id.categ_id.id ==
<|file_sep|>updated/stock_planning/models/stock_move.py
_inherit = 'stock.move'
def _find_moves_from_stock_planning(
self, company, to_date, from_date=None, category=None, template=None,
product=None, location_id=None, location_dest_id=None):
cond = [('company_id', '=', company.id),
('date', '<=', to_date),
('state', 'not in', ('done', 'cancel'))]
if from_date:
cond.append(('date', '>=', from_date))
if product:
cond.append(('product_id', '=', product.id))
if location_id:
cond.append(('location_id', '=', location_id.id))
if location_dest_id:
cond.append(('location_dest_id', '=', location_dest_id.id))
moves = self.search(cond)
if category:
moves = moves.filtered(
lambda x: x.product_id.product_tmpl_id.categ_id.id == | 3b6abde6b7deb662ef2c5b09f99b4a71baa62e4b | stock_planning/models/stock_move.py | stock_planning/models/stock_move.py | Python |
<|file_sep|>original/Lumina-DE/src/lumina-desktop/Globals.h
//===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKTOP_GLOBALS_H
#define _LUMINA_DESKTOP_GLOBALS_H
class SYSTEM{
public:
//Current Username
static QString user(){ return QString(getlogin()); }
//Current Hostname
static QString hostname(){
char name[50];
gethostname(name,sizeof(name));
return QString(name);
}
//Shutdown the system
static void shutdown(){ system("(shutdown -p now) &"); }
<|file_sep|>current/Lumina-DE/src/lumina-desktop/Globals.h
//===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKTOP_GLOBALS_H
#define _LUMINA_DESKTOP_GLOBALS_H
class SYSTEM{
public:
//Current Username
static QString user(){ return QString(getlogin()); }
//Current Hostname
static QString hostname(){
char name[50];
gethostname(name,sizeof(name));
return QString(name);
}
//Shutdown the system
static void shutdown(){ system("(shutdown -p now) &"); }
<|file_sep|>updated/Lumina-DE/src/lumina-desktop/Globals.h | //===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKTOP_GLOBALS_H
#define _LUMINA_DESKTOP_GLOBALS_H
#include <unistd.h>
class SYSTEM{
public:
//Current Username
static QString user(){ return QString(getlogin()); }
//Current Hostname
static QString hostname(){
char name[50];
gethostname(name,sizeof(name));
return QString(name);
} | <|file_sep|>original/Lumina-DE/src/lumina-desktop/Globals.h
//===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKTOP_GLOBALS_H
#define _LUMINA_DESKTOP_GLOBALS_H
class SYSTEM{
public:
//Current Username
static QString user(){ return QString(getlogin()); }
//Current Hostname
static QString hostname(){
char name[50];
gethostname(name,sizeof(name));
return QString(name);
}
//Shutdown the system
static void shutdown(){ system("(shutdown -p now) &"); }
<|file_sep|>current/Lumina-DE/src/lumina-desktop/Globals.h
//===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKTOP_GLOBALS_H
#define _LUMINA_DESKTOP_GLOBALS_H
class SYSTEM{
public:
//Current Username
static QString user(){ return QString(getlogin()); }
//Current Hostname
static QString hostname(){
char name[50];
gethostname(name,sizeof(name));
return QString(name);
}
//Shutdown the system
static void shutdown(){ system("(shutdown -p now) &"); }
<|file_sep|>updated/Lumina-DE/src/lumina-desktop/Globals.h
//===========================================
// Lumina-DE source code
// Copyright (c) 2012, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#ifndef _LUMINA_DESKTOP_GLOBALS_H
#define _LUMINA_DESKTOP_GLOBALS_H
#include <unistd.h>
class SYSTEM{
public:
//Current Username
static QString user(){ return QString(getlogin()); }
//Current Hostname
static QString hostname(){
char name[50];
gethostname(name,sizeof(name));
return QString(name);
} | 4ede882f2c2b3a2409bddbbd6cee9bbbfdead905 | Lumina-DE/src/lumina-desktop/Globals.h | Lumina-DE/src/lumina-desktop/Globals.h | C |
<|file_sep|>original/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources by using Strawberry Perl dmake utility.
.. toctree::
<|file_sep|>current/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources by using Strawberry Perl dmake utility.
.. toctree::
<|file_sep|>updated/doc/source/compilation/index.rst | Build from sources
==================
Armadito agent can be built from sources by using `Strawberry Perl <http://strawberryperl.com/>`_.
.. toctree:: | <|file_sep|>original/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources by using Strawberry Perl dmake utility.
.. toctree::
<|file_sep|>current/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources by using Strawberry Perl dmake utility.
.. toctree::
<|file_sep|>updated/doc/source/compilation/index.rst
Build from sources
==================
Armadito agent can be built from sources by using `Strawberry Perl <http://strawberryperl.com/>`_.
.. toctree:: | 39c12c1e3aa5d9eae162938b34a0d514549ace72 | doc/source/compilation/index.rst | doc/source/compilation/index.rst | reStructuredText |
<|file_sep|>original/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>current/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>updated/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala | package com.dataember.stash.plugin.config
/**
* Created on 29/11/15.
*/
object NatsProps {
val NATS_SERVERS_KEY = "servers"
} | <|file_sep|>original/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>current/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
<|file_sep|>updated/src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala
package com.dataember.stash.plugin.config
/**
* Created on 29/11/15.
*/
object NatsProps {
val NATS_SERVERS_KEY = "servers"
} | fcd17f7f8286822f2b255b066f8c8d813cfece35 | src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala | src/main/scala/com/dataember/stash/plugin/config/NatsProps.scala | Scala |
<|file_sep|>original/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk
LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_SMALL_BUILD = 1
# Make more room.
SUPEROPT_GC = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_DotStar
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote
<|file_sep|>current/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk
LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_SMALL_BUILD = 1
# Make more room.
SUPEROPT_GC = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_DotStar
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote
<|file_sep|>updated/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk | LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_SMALL_BUILD = 1
# Make more room.
SUPEROPT_GC = 0
# Include these Python libraries in firmware.
# FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_DotStar
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote | <|file_sep|>original/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk
LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_SMALL_BUILD = 1
# Make more room.
SUPEROPT_GC = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_DotStar
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote
<|file_sep|>current/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk
LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_SMALL_BUILD = 1
# Make more room.
SUPEROPT_GC = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_DotStar
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote
<|file_sep|>updated/ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk
LONGINT_IMPL = NONE
# A number of modules are removed for pIRKey to make room for frozen libraries.
# Many I/O functions are not available.
# math is very large and is also removed.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_MATH = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SAMD = 0
CIRCUITPY_USB_MIDI = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_SMALL_BUILD = 1
# Make more room.
SUPEROPT_GC = 0
# Include these Python libraries in firmware.
# FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_DotStar
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote | 58ad38a88ed3e7dc33ca911f889f5a6b3aebae22 | ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk | ports/atmel-samd/boards/pirkey_m0/mpconfigboard.mk | Makefile |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.6"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below
<|file_sep|>updated/.travis.yml | language: python
python:
- "2.7"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.6"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below
<|file_sep|>current/.travis.yml
language: python
python:
- "2.7"
- "3.6"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below
<|file_sep|>updated/.travis.yml
language: python
python:
- "2.7"
# command to install dependencies
install:
- pip install werkzeug
- pip install -r requirements.txt
# command to run tests
script:
- pytest # or py.test for Python versions 3.5 and below | 459e667d0567ce88cf9179b94141337c1af8464f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/components/semantic-ui/ui-autocomplete.js
this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
attached() {
setTimeout(() => {
this.dropdown = $('.search.selection.dropdown', this.element).dropdown({
apiSettings: {
responseAsync: this.doQuery,
},
fields: {
remoteValues: 'results',
name: this.displayValue,
value: this.storeValue,
},
<|file_sep|>current/src/components/semantic-ui/ui-autocomplete.js
this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
attached() {
setTimeout(() => {
this.dropdown = $('.search.selection.dropdown', this.element).dropdown({
apiSettings: {
responseAsync: this.doQuery,
},
fields: {
remoteValues: 'results',
name: this.displayValue,
value: this.storeValue,
},
<|file_sep|>updated/src/components/semantic-ui/ui-autocomplete.js | this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
defaultTextChanged(value) {
if (this.dropdown) {
this.dropdown.dropdown('set text', this.defaultText);
}
}
attached() {
setTimeout(() => {
this.dropdown = $('.search.selection.dropdown', this.element).dropdown({
apiSettings: {
responseAsync: this.doQuery, | <|file_sep|>original/src/components/semantic-ui/ui-autocomplete.js
this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
attached() {
setTimeout(() => {
this.dropdown = $('.search.selection.dropdown', this.element).dropdown({
apiSettings: {
responseAsync: this.doQuery,
},
fields: {
remoteValues: 'results',
name: this.displayValue,
value: this.storeValue,
},
<|file_sep|>current/src/components/semantic-ui/ui-autocomplete.js
this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
attached() {
setTimeout(() => {
this.dropdown = $('.search.selection.dropdown', this.element).dropdown({
apiSettings: {
responseAsync: this.doQuery,
},
fields: {
remoteValues: 'results',
name: this.displayValue,
value: this.storeValue,
},
<|file_sep|>updated/src/components/semantic-ui/ui-autocomplete.js
this.endpoint.find(path, params).then(data => {
callback(data);
});
}
this.updateFromDropdown = (value, text, choice) => {
this.value = value;
}
}
defaultTextChanged(value) {
if (this.dropdown) {
this.dropdown.dropdown('set text', this.defaultText);
}
}
attached() {
setTimeout(() => {
this.dropdown = $('.search.selection.dropdown', this.element).dropdown({
apiSettings: {
responseAsync: this.doQuery, | 4cf41109e84dbb265fd6778b7e62dafc9d11f206 | src/components/semantic-ui/ui-autocomplete.js | src/components/semantic-ui/ui-autocomplete.js | JavaScript |
<|file_sep|>app/drivers/mslookup/base.py.diff
original:
updated:
import os
<|file_sep|>original/app/drivers/mslookup/base.py
from app.drivers.base import BaseDriver
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)
self.initialize_lookup()
def initialize_lookup(self):
if self.lookupfn is not None:
self.lookup = lookups.get_lookup(self.lookupfn, self.lookuptype)
else:
# FIXME MUST be a set or mzml lookup? here is place to assert
# correct lookuptype!
self.lookupfn = 'msstitcher_lookup.sqlite'
self.lookup = lookups.create_new_lookup(self.lookupfn)
self.lookup.add_tables()
def run(self):
self.create_lookup()
<|file_sep|>current/app/drivers/mslookup/base.py
from app.drivers.base import BaseDriver
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)
self.initialize_lookup()
def initialize_lookup(self):
if self.lookupfn is not None:
self.lookup = lookups.get_lookup(self.lookupfn, self.lookuptype)
else:
# FIXME MUST be a set or mzml lookup? here is place to assert
# correct lookuptype!
self.lookupfn = 'msstitcher_lookup.sqlite'
self.lookup = lookups.create_new_lookup(self.lookupfn)
self.lookup.add_tables()
def run(self):
self.create_lookup()
<|file_sep|>updated/app/drivers/mslookup/base.py |
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)
self.initialize_lookup()
def initialize_lookup(self):
if self.lookupfn is not None:
self.lookup = lookups.get_lookup(self.lookupfn, self.lookuptype)
else:
# FIXME MUST be a set or mzml lookup? here is place to assert
# correct lookuptype!
self.lookupfn = os.path.join(self.outdir,
'msstitcher_lookup.sqlite')
self.lookup = lookups.create_new_lookup(self.lookupfn)
self.lookup.add_tables()
def run(self):
self.create_lookup() | <|file_sep|>app/drivers/mslookup/base.py.diff
original:
updated:
import os
<|file_sep|>original/app/drivers/mslookup/base.py
from app.drivers.base import BaseDriver
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)
self.initialize_lookup()
def initialize_lookup(self):
if self.lookupfn is not None:
self.lookup = lookups.get_lookup(self.lookupfn, self.lookuptype)
else:
# FIXME MUST be a set or mzml lookup? here is place to assert
# correct lookuptype!
self.lookupfn = 'msstitcher_lookup.sqlite'
self.lookup = lookups.create_new_lookup(self.lookupfn)
self.lookup.add_tables()
def run(self):
self.create_lookup()
<|file_sep|>current/app/drivers/mslookup/base.py
from app.drivers.base import BaseDriver
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)
self.initialize_lookup()
def initialize_lookup(self):
if self.lookupfn is not None:
self.lookup = lookups.get_lookup(self.lookupfn, self.lookuptype)
else:
# FIXME MUST be a set or mzml lookup? here is place to assert
# correct lookuptype!
self.lookupfn = 'msstitcher_lookup.sqlite'
self.lookup = lookups.create_new_lookup(self.lookupfn)
self.lookup.add_tables()
def run(self):
self.create_lookup()
<|file_sep|>updated/app/drivers/mslookup/base.py
class LookupDriver(BaseDriver):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.lookupfn = kwargs.get('lookup', None)
self.initialize_lookup()
def initialize_lookup(self):
if self.lookupfn is not None:
self.lookup = lookups.get_lookup(self.lookupfn, self.lookuptype)
else:
# FIXME MUST be a set or mzml lookup? here is place to assert
# correct lookuptype!
self.lookupfn = os.path.join(self.outdir,
'msstitcher_lookup.sqlite')
self.lookup = lookups.create_new_lookup(self.lookupfn)
self.lookup.add_tables()
def run(self):
self.create_lookup() | 1c22ac91789c2e7230f1c97e9d4def0dfcf13638 | app/drivers/mslookup/base.py | app/drivers/mslookup/base.py | Python |
<|file_sep|>original/.eslintrc.json
"commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
<|file_sep|>current/.eslintrc.json
"commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
<|file_sep|>updated/.eslintrc.json | "commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error", | <|file_sep|>original/.eslintrc.json
"commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
<|file_sep|>current/.eslintrc.json
"commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
<|file_sep|>updated/.eslintrc.json
"commonjs": true,
"es6": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error", | 0ec8aa0ec90615e5eafcd765e8e340dedd2895f0 | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>original/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
}
<|file_sep|>current/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
}
<|file_sep|>updated/bower.json | {
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "uservoice-trigger-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
} | <|file_sep|>original/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
}
<|file_sep|>current/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "randomclass-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
}
<|file_sep|>updated/bower.json
{
"name": "uservoice-trigger-directive",
"version": "0.0.3",
"main": "uservoice-trigger-directive.js",
"ignore": [
],
"dependencies": {
"angular": ">=1.2.0"
}
} | 52709a4b43fc2cff041bb7a5d858d6cd0c9166fb | bower.json | bower.json | JSON |
<|file_sep|>original/pygotham/frontend/templates/talks/detail.html
{% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{% endif %}
<h4>
<a href="{{ url_for('speakers.profile', pk=talk.user.id) }}">
{{ talk.user }}
</a>
</h4>
<dl>
<dt>Audience level:
<dd>{{ talk.level }}
<|file_sep|>current/pygotham/frontend/templates/talks/detail.html
{% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{% endif %}
<h4>
<a href="{{ url_for('speakers.profile', pk=talk.user.id) }}">
{{ talk.user }}
</a>
</h4>
<dl>
<dt>Audience level:
<dd>{{ talk.level }}
<|file_sep|>updated/pygotham/frontend/templates/talks/detail.html | {% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if current_event.schedule_is_published and talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{% endif %}
<h4>
<a href="{{ url_for('speakers.profile', pk=talk.user.id) }}">
{{ talk.user }}
</a>
</h4>
<dl>
<dt>Audience level:
<dd>{{ talk.level }} | <|file_sep|>original/pygotham/frontend/templates/talks/detail.html
{% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{% endif %}
<h4>
<a href="{{ url_for('speakers.profile', pk=talk.user.id) }}">
{{ talk.user }}
</a>
</h4>
<dl>
<dt>Audience level:
<dd>{{ talk.level }}
<|file_sep|>current/pygotham/frontend/templates/talks/detail.html
{% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{% endif %}
<h4>
<a href="{{ url_for('speakers.profile', pk=talk.user.id) }}">
{{ talk.user }}
</a>
</h4>
<dl>
<dt>Audience level:
<dd>{{ talk.level }}
<|file_sep|>updated/pygotham/frontend/templates/talks/detail.html
{% extends 'layouts/base.html' %}
{% block title %}Talk - {{ talk }} - {{ super() }}{% endblock %}
{% block content %}
<div class="row">
<h1>{{ talk }}</h1>
{% if current_event.schedule_is_published and talk.presentation %}
<small>{{ talk.presentation.slot }}</small>
{% endif %}
<h4>
<a href="{{ url_for('speakers.profile', pk=talk.user.id) }}">
{{ talk.user }}
</a>
</h4>
<dl>
<dt>Audience level:
<dd>{{ talk.level }} | c1c53e74e4d7dd01e829e84e28ba3266f2c9bcae | pygotham/frontend/templates/talks/detail.html | pygotham/frontend/templates/talks/detail.html | HTML |
<|file_sep|>original/vim/settings/command-t.vim
" ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can close the match listing in Command-T
let g:CommandTCancelMap = ['<ESC>', '<C-c>']
" Ensure <C-j> and <C-k> can move up and down a list of file matches
let g:CommandTSelectNextMap = ['<C-j>', '<ESC>OB']
let g:CommandTSelectPrevMap = ['<C-k>', '<ESC>OA']
endif
" It seems that using Command T with mvim isn't quite working with regards
" to ignoring all files under a specific folder that I would expect,
" so provide some extra specific config to do that ignoring.
let g:CommandTWildIgnore=&wildignore . ",*/deps,*/_build"
<|file_sep|>current/vim/settings/command-t.vim
" ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can close the match listing in Command-T
let g:CommandTCancelMap = ['<ESC>', '<C-c>']
" Ensure <C-j> and <C-k> can move up and down a list of file matches
let g:CommandTSelectNextMap = ['<C-j>', '<ESC>OB']
let g:CommandTSelectPrevMap = ['<C-k>', '<ESC>OA']
endif
" It seems that using Command T with mvim isn't quite working with regards
" to ignoring all files under a specific folder that I would expect,
" so provide some extra specific config to do that ignoring.
let g:CommandTWildIgnore=&wildignore . ",*/deps,*/_build"
<|file_sep|>updated/vim/settings/command-t.vim | " ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can close the match listing in Command-T
let g:CommandTCancelMap = ['<ESC>', '<C-c>']
" Ensure <C-j> and <C-k> can move up and down a list of file matches
let g:CommandTSelectNextMap = ['<C-j>', '<ESC>OB']
let g:CommandTSelectPrevMap = ['<C-k>', '<ESC>OA']
endif
" It seems that using Command T with mvim isn't quite working with regards
" to ignoring all files under a specific folder that I would expect,
" so provide some extra specific config to do that ignoring.
let g:CommandTWildIgnore=&wildignore . "
\*/deps,
\*/_build,
\*/assets/node_modules
\" | <|file_sep|>original/vim/settings/command-t.vim
" ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can close the match listing in Command-T
let g:CommandTCancelMap = ['<ESC>', '<C-c>']
" Ensure <C-j> and <C-k> can move up and down a list of file matches
let g:CommandTSelectNextMap = ['<C-j>', '<ESC>OB']
let g:CommandTSelectPrevMap = ['<C-k>', '<ESC>OA']
endif
" It seems that using Command T with mvim isn't quite working with regards
" to ignoring all files under a specific folder that I would expect,
" so provide some extra specific config to do that ignoring.
let g:CommandTWildIgnore=&wildignore . ",*/deps,*/_build"
<|file_sep|>current/vim/settings/command-t.vim
" ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can close the match listing in Command-T
let g:CommandTCancelMap = ['<ESC>', '<C-c>']
" Ensure <C-j> and <C-k> can move up and down a list of file matches
let g:CommandTSelectNextMap = ['<C-j>', '<ESC>OB']
let g:CommandTSelectPrevMap = ['<C-k>', '<ESC>OA']
endif
" It seems that using Command T with mvim isn't quite working with regards
" to ignoring all files under a specific folder that I would expect,
" so provide some extra specific config to do that ignoring.
let g:CommandTWildIgnore=&wildignore . ",*/deps,*/_build"
<|file_sep|>updated/vim/settings/command-t.vim
" ------------------------------------------------------------------------------
" Command-T and related configuration
" ------------------------------------------------------------------------------
if &term =~ "xterm" || &term =~ "screen"
" Ensure Escape key can close the match listing in Command-T
let g:CommandTCancelMap = ['<ESC>', '<C-c>']
" Ensure <C-j> and <C-k> can move up and down a list of file matches
let g:CommandTSelectNextMap = ['<C-j>', '<ESC>OB']
let g:CommandTSelectPrevMap = ['<C-k>', '<ESC>OA']
endif
" It seems that using Command T with mvim isn't quite working with regards
" to ignoring all files under a specific folder that I would expect,
" so provide some extra specific config to do that ignoring.
let g:CommandTWildIgnore=&wildignore . "
\*/deps,
\*/_build,
\*/assets/node_modules
\" | 8152617ce6a35cd315ebba302c387a8592ab4893 | vim/settings/command-t.vim | vim/settings/command-t.vim | VimL |
<|file_sep|>original/setup.py
version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)"
],
packages=["atsy"],
install_requires=[
"selenium",
"marionette-client",
"psutil==3.5.0",
],
dependency_links=[
# We need to use a fork of psutil until USS calculations get integrated.
"git+ssh://git@github.com/ericrahm/psutil@release-3.4.2-uss#egg=psutil-3.5.0"
],
)
<|file_sep|>current/setup.py
version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)"
],
packages=["atsy"],
install_requires=[
"selenium",
"marionette-client",
"psutil==3.5.0",
],
dependency_links=[
# We need to use a fork of psutil until USS calculations get integrated.
"git+ssh://git@github.com/ericrahm/psutil@release-3.4.2-uss#egg=psutil-3.5.0"
],
)
<|file_sep|>updated/setup.py | version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)"
],
packages=["atsy"],
install_requires=[
"selenium",
"marionette-client",
"psutil==3.5.0",
],
dependency_links=[
# We need to use a fork of psutil until USS calculations get integrated.
"git+ssh://git@github.com/ericrahm/psutil@release-3.5.0#egg=psutil-3.5.0"
],
) | <|file_sep|>original/setup.py
version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)"
],
packages=["atsy"],
install_requires=[
"selenium",
"marionette-client",
"psutil==3.5.0",
],
dependency_links=[
# We need to use a fork of psutil until USS calculations get integrated.
"git+ssh://git@github.com/ericrahm/psutil@release-3.4.2-uss#egg=psutil-3.5.0"
],
)
<|file_sep|>current/setup.py
version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)"
],
packages=["atsy"],
install_requires=[
"selenium",
"marionette-client",
"psutil==3.5.0",
],
dependency_links=[
# We need to use a fork of psutil until USS calculations get integrated.
"git+ssh://git@github.com/ericrahm/psutil@release-3.4.2-uss#egg=psutil-3.5.0"
],
)
<|file_sep|>updated/setup.py
version="0.0.1",
description="AreTheySlimYet",
long_description="A set of tools for measuring cross-browser, cross-platform memory usage.",
url="https://github.com/EricRahm/atsy",
author="Eric Rahm",
author_email="erahm@mozilla.com",
license="MPL 2.0",
classifiers=[
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)"
],
packages=["atsy"],
install_requires=[
"selenium",
"marionette-client",
"psutil==3.5.0",
],
dependency_links=[
# We need to use a fork of psutil until USS calculations get integrated.
"git+ssh://git@github.com/ericrahm/psutil@release-3.5.0#egg=psutil-3.5.0"
],
) | 24b2e522f88338ed660744058274d0c233acb745 | setup.py | setup.py | Python |
<|file_sep|>original/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
"""Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '18af22fa9e4'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('mod', sa.Column('ckan', sa.Boolean(), nullable=True))
### end Alembic commands ###
<|file_sep|>current/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
"""Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '18af22fa9e4'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('mod', sa.Column('ckan', sa.Boolean(), nullable=True))
### end Alembic commands ###
<|file_sep|>updated/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py | """Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '50b5a95300c'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('mod', sa.Column('ckan', sa.Boolean(), nullable=True))
### end Alembic commands ###
| <|file_sep|>original/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
"""Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '18af22fa9e4'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('mod', sa.Column('ckan', sa.Boolean(), nullable=True))
### end Alembic commands ###
<|file_sep|>current/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
"""Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '18af22fa9e4'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('mod', sa.Column('ckan', sa.Boolean(), nullable=True))
### end Alembic commands ###
<|file_sep|>updated/alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
"""Add ckan boolean to mod table
Revision ID: 35597d56e8d
Revises: 18af22fa9e4
Create Date: 2014-12-12 20:11:22.250080
"""
# revision identifiers, used by Alembic.
revision = '35597d56e8d'
down_revision = '50b5a95300c'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('mod', sa.Column('ckan', sa.Boolean(), nullable=True))
### end Alembic commands ###
| ddfdddad65a96198d6949c138ad9980188250b92 | alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py | alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py | Python |
<|file_sep|>twitchbot.pike.diff
original:
updated:
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
<|file_sep|>original/twitchbot.pike
object irc;
void message(object person,string msg,string to)
{
string pfx=sprintf("[%s] ",to);
int wid = Stdio.stdin->tcgetattr()->columns - sizeof(pfx);
write("%*s%-=*s\n",sizeof(pfx),pfx,wid,person->nick+": "+msg);
}
int main()
{
irc = Protocols.IRC.Client("irc.twitch.tv", ([
"user": "rosuav",
"pass": "oauth:<put twitch oauth password here>",
"realname": "Chris Angelico",
"privmsg_notify": message,
]));
write("%O %O\n",irc,indices(irc));
irc->cmd->join("#cookingfornoobs");
return -1;
//irc->send_message("#cookingfornoobs","");
<|file_sep|>current/twitchbot.pike
object irc;
void message(object person,string msg,string to)
{
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
string pfx=sprintf("[%s] ",to);
int wid = Stdio.stdin->tcgetattr()->columns - sizeof(pfx);
write("%*s%-=*s\n",sizeof(pfx),pfx,wid,person->nick+": "+msg);
}
int main()
{
irc = Protocols.IRC.Client("irc.twitch.tv", ([
"user": "rosuav",
"pass": "oauth:<put twitch oauth password here>",
"realname": "Chris Angelico",
"privmsg_notify": message,
]));
write("%O %O\n",irc,indices(irc));
irc->cmd->join("#cookingfornoobs");
<|file_sep|>updated/twitchbot.pike | object irc;
void message(object person,string msg,string to)
{
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
string pfx=sprintf("[%s] ",to);
int wid = Stdio.stdin->tcgetattr()->columns - sizeof(pfx);
write("%*s%-=*s\n",sizeof(pfx),pfx,wid,msg);
}
int main()
{
irc = Protocols.IRC.Client("irc.twitch.tv", ([
"user": "rosuav",
"pass": "oauth:<put twitch oauth password here>",
"realname": "Chris Angelico",
"privmsg_notify": message,
]));
write("%O %O\n",irc,indices(irc));
irc->cmd->join("#cookingfornoobs"); | <|file_sep|>twitchbot.pike.diff
original:
updated:
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
<|file_sep|>original/twitchbot.pike
object irc;
void message(object person,string msg,string to)
{
string pfx=sprintf("[%s] ",to);
int wid = Stdio.stdin->tcgetattr()->columns - sizeof(pfx);
write("%*s%-=*s\n",sizeof(pfx),pfx,wid,person->nick+": "+msg);
}
int main()
{
irc = Protocols.IRC.Client("irc.twitch.tv", ([
"user": "rosuav",
"pass": "oauth:<put twitch oauth password here>",
"realname": "Chris Angelico",
"privmsg_notify": message,
]));
write("%O %O\n",irc,indices(irc));
irc->cmd->join("#cookingfornoobs");
return -1;
//irc->send_message("#cookingfornoobs","");
<|file_sep|>current/twitchbot.pike
object irc;
void message(object person,string msg,string to)
{
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
string pfx=sprintf("[%s] ",to);
int wid = Stdio.stdin->tcgetattr()->columns - sizeof(pfx);
write("%*s%-=*s\n",sizeof(pfx),pfx,wid,person->nick+": "+msg);
}
int main()
{
irc = Protocols.IRC.Client("irc.twitch.tv", ([
"user": "rosuav",
"pass": "oauth:<put twitch oauth password here>",
"realname": "Chris Angelico",
"privmsg_notify": message,
]));
write("%O %O\n",irc,indices(irc));
irc->cmd->join("#cookingfornoobs");
<|file_sep|>updated/twitchbot.pike
object irc;
void message(object person,string msg,string to)
{
if (sscanf(msg, "\1ACTION %s\1", string slashme)) msg = person->nick+" "+slashme;
else msg = person->nick+": "+msg;
string pfx=sprintf("[%s] ",to);
int wid = Stdio.stdin->tcgetattr()->columns - sizeof(pfx);
write("%*s%-=*s\n",sizeof(pfx),pfx,wid,msg);
}
int main()
{
irc = Protocols.IRC.Client("irc.twitch.tv", ([
"user": "rosuav",
"pass": "oauth:<put twitch oauth password here>",
"realname": "Chris Angelico",
"privmsg_notify": message,
]));
write("%O %O\n",irc,indices(irc));
irc->cmd->join("#cookingfornoobs"); | 9b6b58c7ba2f1292aca975cf660ec4cf1d604677 | twitchbot.pike | twitchbot.pike | Pike |
<|file_sep|>original/src/BryanCrowe/Growl.php
<?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
public function growl($message = null, $options = []) {}
public function createCommand()
{
switch (PHP_OS) {
case 'Darwin':
if (exec('which growlnotify')) {
return [
'pkg' => 'growlnotify',
'msg' => '-m',
'sticky' => '--sticky'
];
} else {
return [
<|file_sep|>current/src/BryanCrowe/Growl.php
<?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
public function growl($message = null, $options = []) {}
public function createCommand()
{
switch (PHP_OS) {
case 'Darwin':
if (exec('which growlnotify')) {
return [
'pkg' => 'growlnotify',
'msg' => '-m',
'sticky' => '--sticky'
];
} else {
return [
<|file_sep|>updated/src/BryanCrowe/Growl.php | <?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
/**
* Options:
* - title The title
* - subtitle The subtitle
* - sticky Make it sticky. Defaults to false
*
*/
public function growl($message = null, $options = []) {
$args = $this->createCommand();
if (PHP_OS === 'Darwin') {
}
if (PHP_OS === 'Linux') {
}
if (PHP_OS === 'WINNT') { | <|file_sep|>original/src/BryanCrowe/Growl.php
<?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
public function growl($message = null, $options = []) {}
public function createCommand()
{
switch (PHP_OS) {
case 'Darwin':
if (exec('which growlnotify')) {
return [
'pkg' => 'growlnotify',
'msg' => '-m',
'sticky' => '--sticky'
];
} else {
return [
<|file_sep|>current/src/BryanCrowe/Growl.php
<?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
public function growl($message = null, $options = []) {}
public function createCommand()
{
switch (PHP_OS) {
case 'Darwin':
if (exec('which growlnotify')) {
return [
'pkg' => 'growlnotify',
'msg' => '-m',
'sticky' => '--sticky'
];
} else {
return [
<|file_sep|>updated/src/BryanCrowe/Growl.php
<?php
namespace BryanCrowe;
class Growl
{
public function __construct() {}
/**
* Options:
* - title The title
* - subtitle The subtitle
* - sticky Make it sticky. Defaults to false
*
*/
public function growl($message = null, $options = []) {
$args = $this->createCommand();
if (PHP_OS === 'Darwin') {
}
if (PHP_OS === 'Linux') {
}
if (PHP_OS === 'WINNT') { | db7f3125a4b6548532211ef8314b244e1413d949 | src/BryanCrowe/Growl.php | src/BryanCrowe/Growl.php | PHP |
<|file_sep|>original/src/app/components/game/game.tpl.html
<span>Game Started at {{model.game.createdAt}}</span>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button>
<|file_sep|>current/src/app/components/game/game.tpl.html
<span>Game Started at {{model.game.createdAt}}</span>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button>
<|file_sep|>updated/src/app/components/game/game.tpl.html | <span>Game Started at {{model.game.createdAt}}</span>
<div class="play-area clearfix" ng-if="model.game">
<deck type="main" deck-id="model.game.decks[0]" pModel="gameCtrl.playerModel"></deck>
<deck type="hoard" deck-id="model.game.decks[1]"></deck>
</div>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button> | <|file_sep|>original/src/app/components/game/game.tpl.html
<span>Game Started at {{model.game.createdAt}}</span>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button>
<|file_sep|>current/src/app/components/game/game.tpl.html
<span>Game Started at {{model.game.createdAt}}</span>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button>
<|file_sep|>updated/src/app/components/game/game.tpl.html
<span>Game Started at {{model.game.createdAt}}</span>
<div class="play-area clearfix" ng-if="model.game">
<deck type="main" deck-id="model.game.decks[0]" pModel="gameCtrl.playerModel"></deck>
<deck type="hoard" deck-id="model.game.decks[1]"></deck>
</div>
<players></players>
<button
class="btn btn-primary new-game"
type="submit"
ng-click="gameCtrl.newGame()"
ng-disabled="!canStartGame"
ng-hide="model.game"
>New Game</button> | d0dc8e07bfeb33025e042379271ff5976b141881 | src/app/components/game/game.tpl.html | src/app/components/game/game.tpl.html | HTML |
<|file_sep|>original/requirements_dev.txt
pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==5.3.5
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0
<|file_sep|>current/requirements_dev.txt
pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==5.3.5
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0
<|file_sep|>updated/requirements_dev.txt | pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==6.2.1
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0 | <|file_sep|>original/requirements_dev.txt
pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==5.3.5
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0
<|file_sep|>current/requirements_dev.txt
pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==5.3.5
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0
<|file_sep|>updated/requirements_dev.txt
pip==20.2.4
bumpversion==0.6.0
wheel==0.36.1
watchdog==0.10.3
flake8==3.8.4
tox==3.20.1
coverage==5.3
Sphinx==3.2.1
cryptography==3.3.1
PyYAML==5.3.1
pytest==6.2.1
pytest-runner==5.2
vcrpy==2.1.1
twine==3.2.0 | dff615a04d80b064e6512d9efcb450cecc362526 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>bower.json.diff
original:
updated:
"require-css": "~0.1.1",
<|file_sep|>original/bower.json
"ignore": [
"**/.*",
"dist",
"node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap": "~3.1.0",
"requirejs": "~2.1.10",
"requirejs-text": "~2.0.10",
"require-cs": "~0.4.4",
"require-less": "~0.1.1",
"require-handlebars-plugin": "~0.7.0"
},
"devDependencies": {
"jquery-mockjax": "~v1.5.2"
}
}
<|file_sep|>current/bower.json
"**/.*",
"dist",
"node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap": "~3.1.0",
"requirejs": "~2.1.10",
"requirejs-text": "~2.0.10",
"require-cs": "~0.4.4",
"require-css": "~0.1.1",
"require-less": "~0.1.1",
"require-handlebars-plugin": "~0.7.0"
},
"devDependencies": {
"jquery-mockjax": "~v1.5.2"
}
}
<|file_sep|>updated/bower.json | "node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap": "~3.1.0",
"requirejs": "~2.1.10",
"requirejs-text": "~2.0.10",
"require-cs": "~0.4.4",
"require-css": "~0.1.1",
"require-less": "~0.1.1",
"require-handlebars-plugin": "~0.7.0",
"aloha-editor": "alohaeditor/Aloha-Editor#master",
"select2": "~3.4.5"
},
"devDependencies": {
"jquery-mockjax": "~v1.5.2"
}
} | <|file_sep|>bower.json.diff
original:
updated:
"require-css": "~0.1.1",
<|file_sep|>original/bower.json
"ignore": [
"**/.*",
"dist",
"node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap": "~3.1.0",
"requirejs": "~2.1.10",
"requirejs-text": "~2.0.10",
"require-cs": "~0.4.4",
"require-less": "~0.1.1",
"require-handlebars-plugin": "~0.7.0"
},
"devDependencies": {
"jquery-mockjax": "~v1.5.2"
}
}
<|file_sep|>current/bower.json
"**/.*",
"dist",
"node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap": "~3.1.0",
"requirejs": "~2.1.10",
"requirejs-text": "~2.0.10",
"require-cs": "~0.4.4",
"require-css": "~0.1.1",
"require-less": "~0.1.1",
"require-handlebars-plugin": "~0.7.0"
},
"devDependencies": {
"jquery-mockjax": "~v1.5.2"
}
}
<|file_sep|>updated/bower.json
"node_modules"
],
"dependencies": {
"jquery": "~2.1.0",
"lodash": "~2.4.1",
"backbone": "~1.1.0",
"backbone-associations": "~0.5.5",
"bootstrap": "~3.1.0",
"requirejs": "~2.1.10",
"requirejs-text": "~2.0.10",
"require-cs": "~0.4.4",
"require-css": "~0.1.1",
"require-less": "~0.1.1",
"require-handlebars-plugin": "~0.7.0",
"aloha-editor": "alohaeditor/Aloha-Editor#master",
"select2": "~3.4.5"
},
"devDependencies": {
"jquery-mockjax": "~v1.5.2"
}
} | d2d52c744a95c06dd227615f0c5f06c46883b8bb | bower.json | bower.json | JSON |
<|file_sep|>original/openmm-dev/meta.yaml
package:
name: openmm-dev
version: !!str dev
source:
url: https://github.com/pandegroup/openmm/archive/master.zip
fn: master.zip
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
build:
number: 1
preserve_egg_dir: yes
requirements:
build:
# on windows, need to install cmake manually
- cmake # [not win]
<|file_sep|>current/openmm-dev/meta.yaml
package:
name: openmm-dev
version: !!str dev
source:
url: https://github.com/pandegroup/openmm/archive/master.zip
fn: master.zip
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
build:
number: 1
preserve_egg_dir: yes
requirements:
build:
# on windows, need to install cmake manually
- cmake # [not win]
<|file_sep|>updated/openmm-dev/meta.yaml | package:
name: openmm-dev
version: !!str dev
source:
git: https://github.com/pandegroup/openmm.git
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
build:
number: 1
preserve_egg_dir: yes
requirements:
build:
# on windows, need to install cmake manually
- cmake # [not win]
- python | <|file_sep|>original/openmm-dev/meta.yaml
package:
name: openmm-dev
version: !!str dev
source:
url: https://github.com/pandegroup/openmm/archive/master.zip
fn: master.zip
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
build:
number: 1
preserve_egg_dir: yes
requirements:
build:
# on windows, need to install cmake manually
- cmake # [not win]
<|file_sep|>current/openmm-dev/meta.yaml
package:
name: openmm-dev
version: !!str dev
source:
url: https://github.com/pandegroup/openmm/archive/master.zip
fn: master.zip
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
build:
number: 1
preserve_egg_dir: yes
requirements:
build:
# on windows, need to install cmake manually
- cmake # [not win]
<|file_sep|>updated/openmm-dev/meta.yaml
package:
name: openmm-dev
version: !!str dev
source:
git: https://github.com/pandegroup/openmm.git
patches:
# remove this after the first release (6.2.1 or 6.3.0) in which
# PR #780 is part of release
#- openmm-pr-780.patch
build:
number: 1
preserve_egg_dir: yes
requirements:
build:
# on windows, need to install cmake manually
- cmake # [not win]
- python | bb27c835592b78f1679e6b29e1291ecf67e37a10 | openmm-dev/meta.yaml | openmm-dev/meta.yaml | YAML |
<|file_sep|>original/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
}
<|file_sep|>current/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
}
<|file_sep|>updated/ressrc/images/dialog/style.css | svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
#foreground {
fill: hsl( 0, 0%, 100%);
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
} | <|file_sep|>original/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
}
<|file_sep|>current/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
}
<|file_sep|>updated/ressrc/images/dialog/style.css
svg {
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
}
#foreground {
fill: hsl( 0, 0%, 100%);
}
.gray {
fill: hsl( 0, 0%, 55%);
stroke: hsl( 0, 0%, 35%);
} | 6119199378390aa7dfa901377b061a60132fd221 | ressrc/images/dialog/style.css | ressrc/images/dialog/style.css | CSS |
<|file_sep|>original/bower.json
{
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0"
}
}
<|file_sep|>current/bower.json
{
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0"
}
}
<|file_sep|>updated/bower.json | {
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0"
},
"resolutions": {
"ember": "2.1.0"
}
} | <|file_sep|>original/bower.json
{
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0"
}
}
<|file_sep|>current/bower.json
{
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0"
}
}
<|file_sep|>updated/bower.json
{
"name": "ember-cli-emflux",
"dependencies": {
"ember": "2.1.0",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
"ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
"ember-qunit": "0.4.9",
"ember-qunit-notifications": "0.0.7",
"ember-resolver": "~0.1.18",
"jquery": "^1.11.3",
"loader.js": "ember-cli/loader.js#3.2.1",
"qunit": "~1.18.0"
},
"resolutions": {
"ember": "2.1.0"
}
} | 8709656973defce6072c0e02e56467202b79514c | bower.json | bower.json | JSON |
<|file_sep|>lib/modules/wdpa/carto_db_importer.rb.diff
original:
updated:
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
<|file_sep|>original/lib/modules/wdpa/carto_db_importer.rb
@shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
end
end
def upload
@shapefiles.each do |table_name, shapefiles|
shapefiles.each do |shapefile|
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
upload_successful = cartodb_uploader.upload shapefile.compress
return false unless upload_successful
end
end
end
def merge
@shapefiles.each do |table_name, shapefiles|
table_names = shapefiles.map(&:filename)
cartodb_merger = CartoDb::Merger.new @cartodb_username, @cartodb_api_key
cartodb_merger.merge table_names, CARTODB_COLUMNS
<|file_sep|>current/lib/modules/wdpa/carto_db_importer.rb
@shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
end
end
def upload
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
@shapefiles.each do |table_name, shapefiles|
shapefiles.each do |shapefile|
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
upload_successful = cartodb_uploader.upload shapefile.compress
return false unless upload_successful
end
end
end
def merge
@shapefiles.each do |table_name, shapefiles|
table_names = shapefiles.map(&:filename)
<|file_sep|>updated/lib/modules/wdpa/carto_db_importer.rb | @shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
end
end
def upload
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
@shapefiles.each do |table_name, shapefiles|
shapefiles.each do |shapefile|
upload_successful = cartodb_uploader.upload shapefile.compress
return false unless upload_successful
end
end
end
def merge
@shapefiles.each do |table_name, shapefiles|
table_names = shapefiles.map(&:filename)
cartodb_merger = CartoDb::Merger.new @cartodb_username, @cartodb_api_key
cartodb_merger.merge table_names, CARTODB_COLUMNS | <|file_sep|>lib/modules/wdpa/carto_db_importer.rb.diff
original:
updated:
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
<|file_sep|>original/lib/modules/wdpa/carto_db_importer.rb
@shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
end
end
def upload
@shapefiles.each do |table_name, shapefiles|
shapefiles.each do |shapefile|
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
upload_successful = cartodb_uploader.upload shapefile.compress
return false unless upload_successful
end
end
end
def merge
@shapefiles.each do |table_name, shapefiles|
table_names = shapefiles.map(&:filename)
cartodb_merger = CartoDb::Merger.new @cartodb_username, @cartodb_api_key
cartodb_merger.merge table_names, CARTODB_COLUMNS
<|file_sep|>current/lib/modules/wdpa/carto_db_importer.rb
@shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
end
end
def upload
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
@shapefiles.each do |table_name, shapefiles|
shapefiles.each do |shapefile|
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
upload_successful = cartodb_uploader.upload shapefile.compress
return false unless upload_successful
end
end
end
def merge
@shapefiles.each do |table_name, shapefiles|
table_names = shapefiles.map(&:filename)
<|file_sep|>updated/lib/modules/wdpa/carto_db_importer.rb
@shapefiles[table] =
Ogr::Split.split(@wdpa_release.gdb_path, table, 5, STANDARD_COLUMNS)
end
end
def upload
cartodb_uploader = CartoDb::Uploader.new @cartodb_username, @cartodb_api_key
@shapefiles.each do |table_name, shapefiles|
shapefiles.each do |shapefile|
upload_successful = cartodb_uploader.upload shapefile.compress
return false unless upload_successful
end
end
end
def merge
@shapefiles.each do |table_name, shapefiles|
table_names = shapefiles.map(&:filename)
cartodb_merger = CartoDb::Merger.new @cartodb_username, @cartodb_api_key
cartodb_merger.merge table_names, CARTODB_COLUMNS | 4f7fece8b3c4e93ce0fa390bb32f33d5e141dc94 | lib/modules/wdpa/carto_db_importer.rb | lib/modules/wdpa/carto_db_importer.rb | Ruby |
<|file_sep|>original/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # integer
OK_RESPONSE = 200
<|file_sep|>current/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # integer
OK_RESPONSE = 200
<|file_sep|>updated/web/web_config.py | #!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 2424 # integer
OK_RESPONSE = 200
| <|file_sep|>original/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # integer
OK_RESPONSE = 200
<|file_sep|>current/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 8080 # integer
OK_RESPONSE = 200
<|file_sep|>updated/web/web_config.py
#!/usr/bin/python3
"""
Configuration settings for server.py.
"""
HOSTNAME = "localhost"
PORT = 2424 # integer
OK_RESPONSE = 200
| 580425162c9c84dee5cb78aa90b0992af4316bd7 | web/web_config.py | web/web_config.py | Python |
<|file_sep|>lib/tanuki/extensions/module.rb.diff
original:
def const_missing_with_tanuki(const)
paths = Dir.glob(Tanuki::Loader.combined_class_path(sym))
unless paths.empty?
updated:
def const_missing_with_tanuki(sym)
klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader.combined_class_path(klass))
if paths.empty?
puts "Creating: #{klass}"
const_set(sym, Class.new)
else
puts "Loading: #{klass}"
<|file_sep|>lib/tanuki/extensions/module.rb.diff
original:
return const_defined?(const) ? const_get(const) : super
updated:
const_defined?(sym) ? const_get(sym) : super
<|file_sep|>original/lib/tanuki/extensions/module.rb
paths = Dir.glob(Tanuki::Loader.combined_class_path(sym))
unless paths.empty?
paths.reverse_each {|path| require path }
return const_defined?(const) ? const_get(const) : super
end
super
end
alias_method_chain :const_missing, :tanuki
# Creates a reader +sym+ and a writer +sym=+ for the instance variable @_sym.
def internal_attr_accessor(*syms)
internal_attr_reader(*syms)
internal_attr_writer(*syms)
end
# Creates a reader +sym+ for the instance variable @_sym.
def internal_attr_reader(*syms)
syms.each do |sym|
ivar = "@_#{sym}".to_sym
instance_variable_set(ivar, nil) unless instance_variable_defined? ivar
<|file_sep|>current/lib/tanuki/extensions/module.rb
klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader.combined_class_path(klass))
if paths.empty?
puts "Creating: #{klass}"
const_set(sym, Class.new)
else
puts "Loading: #{klass}"
paths.reverse_each {|path| require path }
const_defined?(sym) ? const_get(sym) : super
end
super
end
alias_method_chain :const_missing, :tanuki
# Creates a reader +sym+ and a writer +sym=+ for the instance variable @_sym.
def internal_attr_accessor(*syms)
internal_attr_reader(*syms)
internal_attr_writer(*syms)
end
<|file_sep|>updated/lib/tanuki/extensions/module.rb | klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader.combined_class_path(klass))
if paths.empty?
puts "Creating: #{klass}"
const_set(sym, Class.new)
else
puts "Loading: #{klass}"
paths.reverse_each {|path| require path }
const_defined?(sym) ? const_get(sym) : super
end
end
alias_method_chain :const_missing, :tanuki
# Creates a reader +sym+ and a writer +sym=+ for the instance variable @_sym.
def internal_attr_accessor(*syms)
internal_attr_reader(*syms)
internal_attr_writer(*syms)
end
# Creates a reader +sym+ for the instance variable @_sym. | <|file_sep|>lib/tanuki/extensions/module.rb.diff
original:
def const_missing_with_tanuki(const)
paths = Dir.glob(Tanuki::Loader.combined_class_path(sym))
unless paths.empty?
updated:
def const_missing_with_tanuki(sym)
klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader.combined_class_path(klass))
if paths.empty?
puts "Creating: #{klass}"
const_set(sym, Class.new)
else
puts "Loading: #{klass}"
<|file_sep|>lib/tanuki/extensions/module.rb.diff
original:
return const_defined?(const) ? const_get(const) : super
updated:
const_defined?(sym) ? const_get(sym) : super
<|file_sep|>original/lib/tanuki/extensions/module.rb
paths = Dir.glob(Tanuki::Loader.combined_class_path(sym))
unless paths.empty?
paths.reverse_each {|path| require path }
return const_defined?(const) ? const_get(const) : super
end
super
end
alias_method_chain :const_missing, :tanuki
# Creates a reader +sym+ and a writer +sym=+ for the instance variable @_sym.
def internal_attr_accessor(*syms)
internal_attr_reader(*syms)
internal_attr_writer(*syms)
end
# Creates a reader +sym+ for the instance variable @_sym.
def internal_attr_reader(*syms)
syms.each do |sym|
ivar = "@_#{sym}".to_sym
instance_variable_set(ivar, nil) unless instance_variable_defined? ivar
<|file_sep|>current/lib/tanuki/extensions/module.rb
klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader.combined_class_path(klass))
if paths.empty?
puts "Creating: #{klass}"
const_set(sym, Class.new)
else
puts "Loading: #{klass}"
paths.reverse_each {|path| require path }
const_defined?(sym) ? const_get(sym) : super
end
super
end
alias_method_chain :const_missing, :tanuki
# Creates a reader +sym+ and a writer +sym=+ for the instance variable @_sym.
def internal_attr_accessor(*syms)
internal_attr_reader(*syms)
internal_attr_writer(*syms)
end
<|file_sep|>updated/lib/tanuki/extensions/module.rb
klass = "#{name + '::' if name != 'Object'}#{sym}"
paths = Dir.glob(Tanuki::Loader.combined_class_path(klass))
if paths.empty?
puts "Creating: #{klass}"
const_set(sym, Class.new)
else
puts "Loading: #{klass}"
paths.reverse_each {|path| require path }
const_defined?(sym) ? const_get(sym) : super
end
end
alias_method_chain :const_missing, :tanuki
# Creates a reader +sym+ and a writer +sym=+ for the instance variable @_sym.
def internal_attr_accessor(*syms)
internal_attr_reader(*syms)
internal_attr_writer(*syms)
end
# Creates a reader +sym+ for the instance variable @_sym. | 21bf8b02db3c142d74f126de8d81225fb2441fad | lib/tanuki/extensions/module.rb | lib/tanuki/extensions/module.rb | Ruby |
<|file_sep|>original/src/JoBeetBundle/Tests/Utils/JoBeetTest.php
<?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::slugify('Sensio'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('paris-france', Jobeet::slugify('paris,france'));
$this->assertEquals('sensio', Jobeet::slugify(' sensio'));
$this->assertEquals('sensio', Jobeet::slugify('sensio '));
$this->assertEquals('n-a', Jobeet::slugify(''));
}
}
<|file_sep|>current/src/JoBeetBundle/Tests/Utils/JoBeetTest.php
<?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::slugify('Sensio'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('paris-france', Jobeet::slugify('paris,france'));
$this->assertEquals('sensio', Jobeet::slugify(' sensio'));
$this->assertEquals('sensio', Jobeet::slugify('sensio '));
$this->assertEquals('n-a', Jobeet::slugify(''));
}
}
<|file_sep|>updated/src/JoBeetBundle/Tests/Utils/JoBeetTest.php | <?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::slugify('Sensio'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('paris-france', Jobeet::slugify('paris,france'));
$this->assertEquals('sensio', Jobeet::slugify(' sensio'));
$this->assertEquals('sensio', Jobeet::slugify('sensio '));
$this->assertEquals('n-a', Jobeet::slugify(''));
$this->assertEquals('developpeur-web', Jobeet::slugify('Dveloppeur Web'));
}
} | <|file_sep|>original/src/JoBeetBundle/Tests/Utils/JoBeetTest.php
<?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::slugify('Sensio'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('paris-france', Jobeet::slugify('paris,france'));
$this->assertEquals('sensio', Jobeet::slugify(' sensio'));
$this->assertEquals('sensio', Jobeet::slugify('sensio '));
$this->assertEquals('n-a', Jobeet::slugify(''));
}
}
<|file_sep|>current/src/JoBeetBundle/Tests/Utils/JoBeetTest.php
<?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::slugify('Sensio'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('paris-france', Jobeet::slugify('paris,france'));
$this->assertEquals('sensio', Jobeet::slugify(' sensio'));
$this->assertEquals('sensio', Jobeet::slugify('sensio '));
$this->assertEquals('n-a', Jobeet::slugify(''));
}
}
<|file_sep|>updated/src/JoBeetBundle/Tests/Utils/JoBeetTest.php
<?php
// src/JoBeetBundle/Tests/Utils/JoBeetTest.php
namespace JoBeetBundle\Tests\Utils;
use JoBeetBundle\Utils\JoBeet;
class JoBeetTest extends \PHPUnit_Framework_TestCase
{
public function testSlugify()
{
$this->assertEquals('sensio', Jobeet::slugify('Sensio'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('sensio-labs', Jobeet::slugify('sensio labs'));
$this->assertEquals('paris-france', Jobeet::slugify('paris,france'));
$this->assertEquals('sensio', Jobeet::slugify(' sensio'));
$this->assertEquals('sensio', Jobeet::slugify('sensio '));
$this->assertEquals('n-a', Jobeet::slugify(''));
$this->assertEquals('developpeur-web', Jobeet::slugify('Dveloppeur Web'));
}
} | 18fee30f12e8607d38001e05a63e19bc7a4fa254 | src/JoBeetBundle/Tests/Utils/JoBeetTest.php | src/JoBeetBundle/Tests/Utils/JoBeetTest.php | PHP |
<|file_sep|>README.md.diff
original:
Link to the Website: https://step2020-team36-capstone.appspot.com/
updated:
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
<|file_sep|>original/README.md
# STEP 2020 Capstone project
Link to the Website: https://step2020-team36-capstone.appspot.com/
Our objective is to provide users with relevant news and action-initiatives based on their interests We want users to be able to deeply understand topics related to their interests (as indicated by their social media activity) and have the resources to take action.
# How To Run
For security purposes, the API keys used in this applicaiton must be passed as command line arguments.
To run, use the following command: `[mvn command] -DgoogleKey=[Key for Google APIs] -DprojectsKey=[Global Giving API Key]`
<|file_sep|>current/README.md
# STEP 2020 Capstone project
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
Our objective is to provide users with relevant news and action-initiatives based on their interests We want users to be able to deeply understand topics related to their interests (as indicated by their social media activity) and have the resources to take action.
# How To Run
For security purposes, the API keys used in this applicaiton must be passed as command line arguments.
To run, use the following command: `[mvn command] -DgoogleKey=[Key for Google APIs] -DprojectsKey=[Global Giving API Key]`
<|file_sep|>updated/README.md | # STEP 2020 Capstone project
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
Our objective is to provide users with relevant news and action-initiatives based on their interests We want users to be able to deeply understand topics related to their interests (as indicated by their social media activity) and have the resources to take action.
# How To Run
For security purposes, the API keys used in this application must be passed as command line arguments.
To run, use the following command: `[mvn command] -DgoogleKey=[Key for Google APIs] -DprojectsKey=[Global Giving API Key]` | <|file_sep|>README.md.diff
original:
Link to the Website: https://step2020-team36-capstone.appspot.com/
updated:
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
<|file_sep|>original/README.md
# STEP 2020 Capstone project
Link to the Website: https://step2020-team36-capstone.appspot.com/
Our objective is to provide users with relevant news and action-initiatives based on their interests We want users to be able to deeply understand topics related to their interests (as indicated by their social media activity) and have the resources to take action.
# How To Run
For security purposes, the API keys used in this applicaiton must be passed as command line arguments.
To run, use the following command: `[mvn command] -DgoogleKey=[Key for Google APIs] -DprojectsKey=[Global Giving API Key]`
<|file_sep|>current/README.md
# STEP 2020 Capstone project
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
Our objective is to provide users with relevant news and action-initiatives based on their interests We want users to be able to deeply understand topics related to their interests (as indicated by their social media activity) and have the resources to take action.
# How To Run
For security purposes, the API keys used in this applicaiton must be passed as command line arguments.
To run, use the following command: `[mvn command] -DgoogleKey=[Key for Google APIs] -DprojectsKey=[Global Giving API Key]`
<|file_sep|>updated/README.md
# STEP 2020 Capstone project
Link to the Website (personal deployment): http://engage-step.appspot.com/
Link to the Website (Google deployment): https://step2020-team36-capstone.appspot.com/
Our objective is to provide users with relevant news and action-initiatives based on their interests We want users to be able to deeply understand topics related to their interests (as indicated by their social media activity) and have the resources to take action.
# How To Run
For security purposes, the API keys used in this application must be passed as command line arguments.
To run, use the following command: `[mvn command] -DgoogleKey=[Key for Google APIs] -DprojectsKey=[Global Giving API Key]` | b4afecc18dbec156a86c42354ebba6130bb2c93e | README.md | README.md | Markdown |
<|file_sep|>original/tools/manylinux-build/build-wheels.sh
# Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# Install packages and test
for PYVER in $SUPPORTED_PYTHONS; do
PYBIN="/opt/python/${PYVER}/bin"
${PYBIN}/pip install cffi
${PYBIN}/pip install pymunk --no-index -f /io/tools/manylinux-build/wheelhouse
# TODO: pymunk doesn't bundle tests in the package.
# (cd $HOME; ${PYBIN}/python -m pygame.tests --exclude opengl,music)
done
echo "Here are the binary wheels for linux:"
ls /io/tools/manylinux-build/wheelhouse
<|file_sep|>current/tools/manylinux-build/build-wheels.sh
# Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# Install packages and test
for PYVER in $SUPPORTED_PYTHONS; do
PYBIN="/opt/python/${PYVER}/bin"
${PYBIN}/pip install cffi
${PYBIN}/pip install pymunk --no-index -f /io/tools/manylinux-build/wheelhouse
# TODO: pymunk doesn't bundle tests in the package.
# (cd $HOME; ${PYBIN}/python -m pygame.tests --exclude opengl,music)
done
echo "Here are the binary wheels for linux:"
ls /io/tools/manylinux-build/wheelhouse
<|file_sep|>updated/tools/manylinux-build/build-wheels.sh | # Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# Install packages and test
# for PYVER in $SUPPORTED_PYTHONS; do
# PYBIN="/opt/python/${PYVER}/bin"
# ${PYBIN}/pip install cffi
# ${PYBIN}/pip install pymunk --no-index -f /io/tools/manylinux-build/wheelhouse
# # TODO: pymunk doesn't bundle tests in the package.
# # Maybe we can still test using the test folder?
# # (cd $HOME; ${PYBIN}/python -m pygame.tests --exclude opengl,music)
# done
echo "Here are the binary wheels for linux:"
ls /io/tools/manylinux-build/wheelhouse | <|file_sep|>original/tools/manylinux-build/build-wheels.sh
# Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# Install packages and test
for PYVER in $SUPPORTED_PYTHONS; do
PYBIN="/opt/python/${PYVER}/bin"
${PYBIN}/pip install cffi
${PYBIN}/pip install pymunk --no-index -f /io/tools/manylinux-build/wheelhouse
# TODO: pymunk doesn't bundle tests in the package.
# (cd $HOME; ${PYBIN}/python -m pygame.tests --exclude opengl,music)
done
echo "Here are the binary wheels for linux:"
ls /io/tools/manylinux-build/wheelhouse
<|file_sep|>current/tools/manylinux-build/build-wheels.sh
# Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# Install packages and test
for PYVER in $SUPPORTED_PYTHONS; do
PYBIN="/opt/python/${PYVER}/bin"
${PYBIN}/pip install cffi
${PYBIN}/pip install pymunk --no-index -f /io/tools/manylinux-build/wheelhouse
# TODO: pymunk doesn't bundle tests in the package.
# (cd $HOME; ${PYBIN}/python -m pygame.tests --exclude opengl,music)
done
echo "Here are the binary wheels for linux:"
ls /io/tools/manylinux-build/wheelhouse
<|file_sep|>updated/tools/manylinux-build/build-wheels.sh
# Bundle external shared libraries into the wheels
for whl in wheelhouse/pymunk*.whl; do
auditwheel repair $whl -w /io/tools/manylinux-build/wheelhouse/
done
# Dummy options for headless testing
export SDL_AUDIODRIVER=disk
export SDL_VIDEODRIVER=dummy
# Install packages and test
# for PYVER in $SUPPORTED_PYTHONS; do
# PYBIN="/opt/python/${PYVER}/bin"
# ${PYBIN}/pip install cffi
# ${PYBIN}/pip install pymunk --no-index -f /io/tools/manylinux-build/wheelhouse
# # TODO: pymunk doesn't bundle tests in the package.
# # Maybe we can still test using the test folder?
# # (cd $HOME; ${PYBIN}/python -m pygame.tests --exclude opengl,music)
# done
echo "Here are the binary wheels for linux:"
ls /io/tools/manylinux-build/wheelhouse | 61810e2ea6aa22f042b43c00e58238425ddd1d56 | tools/manylinux-build/build-wheels.sh | tools/manylinux-build/build-wheels.sh | Shell |
<|file_sep|>original/tools/access_code_finder.sh
<|file_sep|>current/tools/access_code_finder.sh
<|file_sep|>updated/tools/access_code_finder.sh | #!/usr/bin/env bash
no_clipboard=FALSE
quiet=FALSE
function ShowHelp() {
local -r script_name=`basename $0`
echo "Using:"
echo -e "\t$script_name -h | --help"
echo -e "\t$script_name [-c | --no-clipboard]"
echo -e "\t$script_name [-q | --quiet]"
echo ""
echo "Options:"
echo -e "\t-h, --help - show help;"
echo -e "\t-c, --no-clipboard - disable a copying to clipboard;"
echo -e "\t-q, --quiet - disable a printing to stdout."
}
function FindAccessCode() {
local -r script_path=`dirname $0` | <|file_sep|>original/tools/access_code_finder.sh
<|file_sep|>current/tools/access_code_finder.sh
<|file_sep|>updated/tools/access_code_finder.sh
#!/usr/bin/env bash
no_clipboard=FALSE
quiet=FALSE
function ShowHelp() {
local -r script_name=`basename $0`
echo "Using:"
echo -e "\t$script_name -h | --help"
echo -e "\t$script_name [-c | --no-clipboard]"
echo -e "\t$script_name [-q | --quiet]"
echo ""
echo "Options:"
echo -e "\t-h, --help - show help;"
echo -e "\t-c, --no-clipboard - disable a copying to clipboard;"
echo -e "\t-q, --quiet - disable a printing to stdout."
}
function FindAccessCode() {
local -r script_path=`dirname $0` | 3ea147567d4ae2ad2e67d5bd7b66f8ddf48adcdd | tools/access_code_finder.sh | tools/access_code_finder.sh | Shell |
<|file_sep|>original/ptrhost.go
}
func main() {
parser := flags.NewParser(&opts, flags.Default)
parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(hostname)
for _, v := range addr {
ptrAddr, _ := net.LookupAddr(v)
fmt.Println(v, "->", ptrAddr[0])
}
}
<|file_sep|>current/ptrhost.go
}
func main() {
parser := flags.NewParser(&opts, flags.Default)
parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(hostname)
for _, v := range addr {
ptrAddr, _ := net.LookupAddr(v)
fmt.Println(v, "->", ptrAddr[0])
}
}
<|file_sep|>updated/ptrhost.go | parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(hostname)
for _, v := range addr {
resolvedHost, err := net.LookupAddr(v)
if err == nil {
fmt.Println(v, "->", resolvedHost[0])
} else {
fmt.Println(v, "->", err.(*net.DNSError).Err)
}
}
} | <|file_sep|>original/ptrhost.go
}
func main() {
parser := flags.NewParser(&opts, flags.Default)
parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(hostname)
for _, v := range addr {
ptrAddr, _ := net.LookupAddr(v)
fmt.Println(v, "->", ptrAddr[0])
}
}
<|file_sep|>current/ptrhost.go
}
func main() {
parser := flags.NewParser(&opts, flags.Default)
parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(hostname)
for _, v := range addr {
ptrAddr, _ := net.LookupAddr(v)
fmt.Println(v, "->", ptrAddr[0])
}
}
<|file_sep|>updated/ptrhost.go
parser.Usage = "HOSTNAME [OPTIONS]"
args, _ := parser.Parse()
if len(args) == 0 {
if opts.Version {
fmt.Println("ptrhost version", version)
}
os.Exit(1)
}
hostname := args[0]
addr, _ := net.LookupHost(hostname)
for _, v := range addr {
resolvedHost, err := net.LookupAddr(v)
if err == nil {
fmt.Println(v, "->", resolvedHost[0])
} else {
fmt.Println(v, "->", err.(*net.DNSError).Err)
}
}
} | 6449899e67646ca113f8dcb20bdf5060ceef86e3 | ptrhost.go | ptrhost.go | Go |
<|file_sep|>original/index.js
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include original coffee file in the map.
map = JSON.parse(data.v3SourceMap);
map.sourcesContent = [src];
map = JSON.stringify(map);
code = data.js;
if (code[code.length - 1] !== '\n') code += '\n';
code += '//@ sourceMappingURL=data:application/json;base64,' +
new Buffer(map).toString('base64') + '\n';
return { code: code };
};
<|file_sep|>current/index.js
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include original coffee file in the map.
map = JSON.parse(data.v3SourceMap);
map.sourcesContent = [src];
map = JSON.stringify(map);
code = data.js;
if (code[code.length - 1] !== '\n') code += '\n';
code += '//@ sourceMappingURL=data:application/json;base64,' +
new Buffer(map).toString('base64') + '\n';
return { code: code };
};
<|file_sep|>updated/index.js |
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include original coffee file in the map.
map = JSON.parse(data.v3SourceMap);
map.sourcesContent = [src];
map = JSON.stringify(map);
code = data.js;
if (code[code.length - 1] !== '\n') code += '\n';
code += '//# sourceMappingURL=data:application/json;base64,' +
new Buffer(map).toString('base64') + '\n';
return { code: code };
}; | <|file_sep|>original/index.js
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include original coffee file in the map.
map = JSON.parse(data.v3SourceMap);
map.sourcesContent = [src];
map = JSON.stringify(map);
code = data.js;
if (code[code.length - 1] !== '\n') code += '\n';
code += '//@ sourceMappingURL=data:application/json;base64,' +
new Buffer(map).toString('base64') + '\n';
return { code: code };
};
<|file_sep|>current/index.js
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include original coffee file in the map.
map = JSON.parse(data.v3SourceMap);
map.sourcesContent = [src];
map = JSON.stringify(map);
code = data.js;
if (code[code.length - 1] !== '\n') code += '\n';
code += '//@ sourceMappingURL=data:application/json;base64,' +
new Buffer(map).toString('base64') + '\n';
return { code: code };
};
<|file_sep|>updated/index.js
var parse = require('coffee-script').compile;
exports.extension = 'coffee';
exports.compile = function (src, options) {
var opts = { bare: true }, code, data, map;
if (!options.sourceMap) return { code: parse(src, opts) };
opts.sourceMap = true;
data = parse(src, opts);
// Include original coffee file in the map.
map = JSON.parse(data.v3SourceMap);
map.sourcesContent = [src];
map = JSON.stringify(map);
code = data.js;
if (code[code.length - 1] !== '\n') code += '\n';
code += '//# sourceMappingURL=data:application/json;base64,' +
new Buffer(map).toString('base64') + '\n';
return { code: code };
}; | d97b5e5392e118bca6a30d1eaa3601af5fa9ec32 | index.js | index.js | JavaScript |
<|file_sep|>original/examples/test_get_pdf_text.py
<|file_sep|>current/examples/test_get_pdf_text.py
<|file_sep|>updated/examples/test_get_pdf_text.py | from seleniumbase import BaseCase
class PdfTestClass(BaseCase):
def test_get_pdf_text(self):
pdf = ("https://nostarch.com/download/"
"Automate_the_Boring_Stuff_sample_ch17.pdf")
pdf_text = self.get_pdf_text(pdf, page=1)
print(pdf_text) | <|file_sep|>original/examples/test_get_pdf_text.py
<|file_sep|>current/examples/test_get_pdf_text.py
<|file_sep|>updated/examples/test_get_pdf_text.py
from seleniumbase import BaseCase
class PdfTestClass(BaseCase):
def test_get_pdf_text(self):
pdf = ("https://nostarch.com/download/"
"Automate_the_Boring_Stuff_sample_ch17.pdf")
pdf_text = self.get_pdf_text(pdf, page=1)
print(pdf_text) | bf771afb7b6cdef86d6c310882299e31102425c9 | examples/test_get_pdf_text.py | examples/test_get_pdf_text.py | Python |
<|file_sep|>website/static/website/js/app.js.diff
original:
this.state = { user: chance.name(), messages: [] }
updated:
this.state = { user: chance.name(), messages: [], connected: false }
<|file_sep|>website/static/website/js/app.js.diff
original:
updated:
this.chatsock.onopen = event => {
this.setState({
connected: true
})
console.log(this.chatsock);
};
this.chatsock.onclose = event => {
this.setState({
connected: false
})
};
<|file_sep|>original/website/static/website/js/app.js
const payload = {
handle: this.state.user,
message: msg
};
this.chatsock.send(JSON.stringify(payload));
}
render() {
return (
<div>
<h1>M O O N Y</h1>
<Messages
messages={this.state.messages}
/>
<WriteMessage
sendMessage={this.sendMessage.bind(this)}
/>
</div>
)
}
}
<|file_sep|>current/website/static/website/js/app.js
const payload = {
handle: this.state.user,
message: msg
};
this.chatsock.send(JSON.stringify(payload));
}
render() {
return (
<div>
<h1>M O O N Y</h1>
<Messages
messages={this.state.messages}
/>
<WriteMessage
sendMessage={this.sendMessage.bind(this)}
/>
</div>
)
}
}
<|file_sep|>updated/website/static/website/js/app.js | const payload = {
handle: this.state.user,
message: msg
};
this.chatsock.send(JSON.stringify(payload));
}
render() {
return (
<div>
<h1>M O O N Y (<span>{this.state.connected ? 'connected' : 'disconnected'}</span>)</h1>
<Messages
messages={this.state.messages}
/>
<WriteMessage
sendMessage={this.sendMessage.bind(this)}
/>
</div>
)
}
} | <|file_sep|>website/static/website/js/app.js.diff
original:
this.state = { user: chance.name(), messages: [] }
updated:
this.state = { user: chance.name(), messages: [], connected: false }
<|file_sep|>website/static/website/js/app.js.diff
original:
updated:
this.chatsock.onopen = event => {
this.setState({
connected: true
})
console.log(this.chatsock);
};
this.chatsock.onclose = event => {
this.setState({
connected: false
})
};
<|file_sep|>original/website/static/website/js/app.js
const payload = {
handle: this.state.user,
message: msg
};
this.chatsock.send(JSON.stringify(payload));
}
render() {
return (
<div>
<h1>M O O N Y</h1>
<Messages
messages={this.state.messages}
/>
<WriteMessage
sendMessage={this.sendMessage.bind(this)}
/>
</div>
)
}
}
<|file_sep|>current/website/static/website/js/app.js
const payload = {
handle: this.state.user,
message: msg
};
this.chatsock.send(JSON.stringify(payload));
}
render() {
return (
<div>
<h1>M O O N Y</h1>
<Messages
messages={this.state.messages}
/>
<WriteMessage
sendMessage={this.sendMessage.bind(this)}
/>
</div>
)
}
}
<|file_sep|>updated/website/static/website/js/app.js
const payload = {
handle: this.state.user,
message: msg
};
this.chatsock.send(JSON.stringify(payload));
}
render() {
return (
<div>
<h1>M O O N Y (<span>{this.state.connected ? 'connected' : 'disconnected'}</span>)</h1>
<Messages
messages={this.state.messages}
/>
<WriteMessage
sendMessage={this.sendMessage.bind(this)}
/>
</div>
)
}
} | b4cacf5ed3e4bd98a693cddb2ba48674add19cb6 | website/static/website/js/app.js | website/static/website/js/app.js | JavaScript |
<|file_sep|>original/cat/admin.py
<|file_sep|>current/cat/admin.py
<|file_sep|>updated/cat/admin.py | from django.contrib import admin
from models import MuseumObject,FunctionalCategory
class MOAdmin(admin.ModelAdmin):
fields = ('registration_number','country','description','comment')
list_display = ('registration_number','country','description','comment')
list_filter = ('country','functional_category')
search_fields = ['description','comment']
admin.site.register(MuseumObject, MOAdmin)
admin.site.register(FunctionalCategory) | <|file_sep|>original/cat/admin.py
<|file_sep|>current/cat/admin.py
<|file_sep|>updated/cat/admin.py
from django.contrib import admin
from models import MuseumObject,FunctionalCategory
class MOAdmin(admin.ModelAdmin):
fields = ('registration_number','country','description','comment')
list_display = ('registration_number','country','description','comment')
list_filter = ('country','functional_category')
search_fields = ['description','comment']
admin.site.register(MuseumObject, MOAdmin)
admin.site.register(FunctionalCategory) | 91396ed246166f610e9cfc4519862f061af4e6b2 | cat/admin.py | cat/admin.py | Python |
<|file_sep|>original/app/views/layouts/_navigation.html.haml
= link_to "Registration", "#"
- else
%li
= link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.active
= link_to "My Proposals", "#"
- else
%li
= link_to "My Proposals", conference_proposal_index_path(@conference.short_title)
%ul.nav.pull-right
- if user_signed_in?
%li
= link_to('Sign Out', destroy_user_session_path, :method=>'delete')
- else
%li
= link_to('Sign In', new_user_session_path)
- if user_signed_in?
%li
= link_to('Edit account', edit_user_registration_path)
<|file_sep|>current/app/views/layouts/_navigation.html.haml
= link_to "Registration", "#"
- else
%li
= link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.active
= link_to "My Proposals", "#"
- else
%li
= link_to "My Proposals", conference_proposal_index_path(@conference.short_title)
%ul.nav.pull-right
- if user_signed_in?
%li
= link_to('Sign Out', destroy_user_session_path, :method=>'delete')
- else
%li
= link_to('Sign In', new_user_session_path)
- if user_signed_in?
%li
= link_to('Edit account', edit_user_registration_path)
<|file_sep|>updated/app/views/layouts/_navigation.html.haml | = link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.active
= link_to "My Proposals", "#"
- else
%li
= link_to "My Proposals", conference_proposal_index_path(@conference.short_title)
%ul.nav.pull-right
- if user_signed_in?
- if has_role?(current_user, "admin") || has_role?(current_user, "organizer")
%li
= link_to "Admin Area", admin_conference_index_path
%li
= link_to('Sign Out', destroy_user_session_path, :method=>'delete')
- else
%li
= link_to('Sign In', new_user_session_path)
- if user_signed_in?
%li
= link_to('Edit account', edit_user_registration_path) | <|file_sep|>original/app/views/layouts/_navigation.html.haml
= link_to "Registration", "#"
- else
%li
= link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.active
= link_to "My Proposals", "#"
- else
%li
= link_to "My Proposals", conference_proposal_index_path(@conference.short_title)
%ul.nav.pull-right
- if user_signed_in?
%li
= link_to('Sign Out', destroy_user_session_path, :method=>'delete')
- else
%li
= link_to('Sign In', new_user_session_path)
- if user_signed_in?
%li
= link_to('Edit account', edit_user_registration_path)
<|file_sep|>current/app/views/layouts/_navigation.html.haml
= link_to "Registration", "#"
- else
%li
= link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.active
= link_to "My Proposals", "#"
- else
%li
= link_to "My Proposals", conference_proposal_index_path(@conference.short_title)
%ul.nav.pull-right
- if user_signed_in?
%li
= link_to('Sign Out', destroy_user_session_path, :method=>'delete')
- else
%li
= link_to('Sign In', new_user_session_path)
- if user_signed_in?
%li
= link_to('Edit account', edit_user_registration_path)
<|file_sep|>updated/app/views/layouts/_navigation.html.haml
= link_to "Registration", register_conference_path(@conference.short_title)
- if !@conference.nil?
- if current_page?(conference_proposal_index_path(@conference.short_title))
%li.active
= link_to "My Proposals", "#"
- else
%li
= link_to "My Proposals", conference_proposal_index_path(@conference.short_title)
%ul.nav.pull-right
- if user_signed_in?
- if has_role?(current_user, "admin") || has_role?(current_user, "organizer")
%li
= link_to "Admin Area", admin_conference_index_path
%li
= link_to('Sign Out', destroy_user_session_path, :method=>'delete')
- else
%li
= link_to('Sign In', new_user_session_path)
- if user_signed_in?
%li
= link_to('Edit account', edit_user_registration_path) | 8a7efa65d7148fb3e19c81a6baf1a8704d8b65bf | app/views/layouts/_navigation.html.haml | app/views/layouts/_navigation.html.haml | Haml |
<|file_sep|>original/shared/resources/styles/mixins/input.less
.openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%, @tutor-primary 4%);
background-repeat: no-repeat;
background-position: 50% 0;
background-size: 0px 100%;
&:focus,
&.focus {
outline:none;
outline:none;
background-position: 0 0;
background-size: 100% 100%;
}
}
<|file_sep|>current/shared/resources/styles/mixins/input.less
.openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%, @tutor-primary 4%);
background-repeat: no-repeat;
background-position: 50% 0;
background-size: 0px 100%;
&:focus,
&.focus {
outline:none;
outline:none;
background-position: 0 0;
background-size: 100% 100%;
}
}
<|file_sep|>updated/shared/resources/styles/mixins/input.less | .openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%, @openstax-primary 4%);
background-repeat: no-repeat;
background-position: 50% 0;
background-size: 0px 100%;
&:focus,
&.focus {
outline:none;
outline:none;
background-position: 0 0;
background-size: 100% 100%;
}
} | <|file_sep|>original/shared/resources/styles/mixins/input.less
.openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%, @tutor-primary 4%);
background-repeat: no-repeat;
background-position: 50% 0;
background-size: 0px 100%;
&:focus,
&.focus {
outline:none;
outline:none;
background-position: 0 0;
background-size: 100% 100%;
}
}
<|file_sep|>current/shared/resources/styles/mixins/input.less
.openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%, @tutor-primary 4%);
background-repeat: no-repeat;
background-position: 50% 0;
background-size: 0px 100%;
&:focus,
&.focus {
outline:none;
outline:none;
background-position: 0 0;
background-size: 100% 100%;
}
}
<|file_sep|>updated/shared/resources/styles/mixins/input.less
.openstax-animated-focus-input(){
box-shadow: none;
border: 0;
border-radius: 0;
border-bottom: 1px solid @openstax-neutral-light;
padding-left: 0;
padding-right: 0;
transition: all 0.3s ease;
background: linear-gradient(to bottom, white 96%, @openstax-primary 4%);
background-repeat: no-repeat;
background-position: 50% 0;
background-size: 0px 100%;
&:focus,
&.focus {
outline:none;
outline:none;
background-position: 0 0;
background-size: 100% 100%;
}
} | 6f929bdea8a13080b355c6434bbe9401307e937c | shared/resources/styles/mixins/input.less | shared/resources/styles/mixins/input.less | Less |
<|file_sep|>Swat/SwatDisplayableContainer.php.diff
original:
* The custom CSS class of this frame
updated:
* The custom CSS class of this container
<|file_sep|>original/Swat/SwatDisplayableContainer.php
* @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class SwatDisplayableContainer extends SwatContainer
{
// {{{ public properties
/**
* The custom CSS class of this frame
*
* This optional class is added on top of the default 'swat-frame'
* class.
*
* @var string
*/
public $class = null;
// }}}
// {{{ protected function getCssClasses()
/**
<|file_sep|>current/Swat/SwatDisplayableContainer.php
* @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class SwatDisplayableContainer extends SwatContainer
{
// {{{ public properties
/**
* The custom CSS class of this container
*
* This optional class is added on top of the default 'swat-frame'
* class.
*
* @var string
*/
public $class = null;
// }}}
// {{{ protected function getCssClasses()
/**
<|file_sep|>updated/Swat/SwatDisplayableContainer.php | * @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class SwatDisplayableContainer extends SwatContainer
{
// {{{ public properties
/**
* The custom CSS class of this container
*
* This optional class is added on top of the default 'swat-displayable-container'
* class.
*
* @var string
*/
public $class = null;
// }}}
// {{{ protected function getCssClasses()
/** | <|file_sep|>Swat/SwatDisplayableContainer.php.diff
original:
* The custom CSS class of this frame
updated:
* The custom CSS class of this container
<|file_sep|>original/Swat/SwatDisplayableContainer.php
* @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class SwatDisplayableContainer extends SwatContainer
{
// {{{ public properties
/**
* The custom CSS class of this frame
*
* This optional class is added on top of the default 'swat-frame'
* class.
*
* @var string
*/
public $class = null;
// }}}
// {{{ protected function getCssClasses()
/**
<|file_sep|>current/Swat/SwatDisplayableContainer.php
* @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class SwatDisplayableContainer extends SwatContainer
{
// {{{ public properties
/**
* The custom CSS class of this container
*
* This optional class is added on top of the default 'swat-frame'
* class.
*
* @var string
*/
public $class = null;
// }}}
// {{{ protected function getCssClasses()
/**
<|file_sep|>updated/Swat/SwatDisplayableContainer.php
* @copyright 2006 silverorange
* @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
*/
class SwatDisplayableContainer extends SwatContainer
{
// {{{ public properties
/**
* The custom CSS class of this container
*
* This optional class is added on top of the default 'swat-displayable-container'
* class.
*
* @var string
*/
public $class = null;
// }}}
// {{{ protected function getCssClasses()
/** | 9be42f96a96e9a2285d30c825b4b2130c020960e | Swat/SwatDisplayableContainer.php | Swat/SwatDisplayableContainer.php | PHP |
<|file_sep|>original/oneflow/settings/snippets/common_production.py
#
# Put production machines hostnames here.
#
# MANAGERS += (('Matthieu Chaignot', 'mc@1flow.io'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
<|file_sep|>current/oneflow/settings/snippets/common_production.py
#
# Put production machines hostnames here.
#
# MANAGERS += (('Matthieu Chaignot', 'mc@1flow.io'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
<|file_sep|>updated/oneflow/settings/snippets/common_production.py | #
# Put production machines hostnames here.
#
MANAGERS += (('Matthieu Chaignot', 'mchaignot@gmail.com'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
| <|file_sep|>original/oneflow/settings/snippets/common_production.py
#
# Put production machines hostnames here.
#
# MANAGERS += (('Matthieu Chaignot', 'mc@1flow.io'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
<|file_sep|>current/oneflow/settings/snippets/common_production.py
#
# Put production machines hostnames here.
#
# MANAGERS += (('Matthieu Chaignot', 'mc@1flow.io'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
<|file_sep|>updated/oneflow/settings/snippets/common_production.py
#
# Put production machines hostnames here.
#
MANAGERS += (('Matthieu Chaignot', 'mchaignot@gmail.com'), )
ALLOWED_HOSTS += [
'1flow.io',
'app.1flow.io',
'api.1flow.io',
]
| 49c73b00b5528706fbb340e53b37e59c8303d70d | oneflow/settings/snippets/common_production.py | oneflow/settings/snippets/common_production.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
env:
- TERM=dumb
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
script:
- './gradlew check'
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
env:
- TERM=dumb
script:
- './gradlew check'
<|file_sep|>updated/.travis.yml | language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
env:
- TERM=dumb
script:
- './gradlew check'
after_success:
- ./gradlew jacocoTestReport coveralls
| <|file_sep|>.travis.yml.diff
original:
updated:
env:
- TERM=dumb
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
script:
- './gradlew check'
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
env:
- TERM=dumb
script:
- './gradlew check'
<|file_sep|>updated/.travis.yml
language: java
jdk:
- oraclejdk8
node_js:
- '0.10'
env:
- TERM=dumb
script:
- './gradlew check'
after_success:
- ./gradlew jacocoTestReport coveralls
| 0585d36d255ffc6bc5d6393fe8fef029cf81e70b | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
hash: 25bbcfd02fecac3567e8b51f8e9b321fdbc9f2a664922edc82f6be7309e5ca91
updated:
hash: acbd2b6a01beae165fe33bde5f91130b0a5c76f03b8760ae78d5d5162c7c13c3
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
QuickCheck: ! '>=2.8 && <2.9'
updated:
QuickCheck: ! '>=2.8 && <2.10'
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
updated:
- '0.2.0.4'
<|file_sep|>original/packages/ge/genvalidity.yaml
basic-deps:
base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.9'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
author: Tom Sydney Kerckhove
latest: '0.2.0.3'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT
<|file_sep|>current/packages/ge/genvalidity.yaml
base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.10'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
author: Tom Sydney Kerckhove
latest: '0.2.0.3'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT
<|file_sep|>updated/packages/ge/genvalidity.yaml | base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.10'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
author: Tom Sydney Kerckhove
latest: '0.2.0.4'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT | <|file_sep|>packages/ge/genvalidity.yaml.diff
original:
hash: 25bbcfd02fecac3567e8b51f8e9b321fdbc9f2a664922edc82f6be7309e5ca91
updated:
hash: acbd2b6a01beae165fe33bde5f91130b0a5c76f03b8760ae78d5d5162c7c13c3
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
QuickCheck: ! '>=2.8 && <2.9'
updated:
QuickCheck: ! '>=2.8 && <2.10'
<|file_sep|>packages/ge/genvalidity.yaml.diff
original:
updated:
- '0.2.0.4'
<|file_sep|>original/packages/ge/genvalidity.yaml
basic-deps:
base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.9'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
author: Tom Sydney Kerckhove
latest: '0.2.0.3'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT
<|file_sep|>current/packages/ge/genvalidity.yaml
base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.10'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
author: Tom Sydney Kerckhove
latest: '0.2.0.3'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT
<|file_sep|>updated/packages/ge/genvalidity.yaml
base: <5
validity: ! '>=0.3 && <0.4'
QuickCheck: ! '>=2.8 && <2.10'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.0.1'
- '0.2.0.2'
- '0.2.0.3'
- '0.2.0.4'
author: Tom Sydney Kerckhove
latest: '0.2.0.4'
description-type: haddock
description: ! 'Note: There are companion instance packages for this library:
* <https://hackage.haskell.org/package/genvalidity-text genvalidity-text>
* <https://hackage.haskell.org/package/genvalidity-containers genvalidity-containers>'
license-name: MIT | aebce39d75ef4fc5fec3d6f879b8f4c7da819001 | packages/ge/genvalidity.yaml | packages/ge/genvalidity.yaml | YAML |
<|file_sep|>original/_config.yml
markdown: redcarpet
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
stylesheets: ["project"]
-
scope:
path: ""
values:
layout: "post"
<|file_sep|>current/_config.yml
markdown: redcarpet
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
stylesheets: ["project"]
-
scope:
path: ""
values:
layout: "post"
<|file_sep|>updated/_config.yml | markdown: kramdown
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
stylesheets: ["project"]
-
scope:
path: ""
values:
layout: "post" | <|file_sep|>original/_config.yml
markdown: redcarpet
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
stylesheets: ["project"]
-
scope:
path: ""
values:
layout: "post"
<|file_sep|>current/_config.yml
markdown: redcarpet
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
stylesheets: ["project"]
-
scope:
path: ""
values:
layout: "post"
<|file_sep|>updated/_config.yml
markdown: kramdown
highlighter: rouge
permalink: /blog/:title
exclude: ["vendor", "serve"]
collections:
projects:
output: true
permalink: /projects/:title/
defaults:
-
scope:
path: "projects"
values:
layout: "project"
stylesheets: ["project"]
-
scope:
path: ""
values:
layout: "post" | 50dc030642a52529a51384d41ba396d1fb8ad4c5 | _config.yml | _config.yml | YAML |
<|file_sep|>original/problem_35.py
<|file_sep|>current/problem_35.py
<|file_sep|>updated/problem_35.py | from math import sqrt
from time import time
PRIME_STATUS = {}
def is_prime(n):
if n == 2:
return True
if n % 2 == 0 or n <= 1:
return False
for i in range(3, int(sqrt(n))+1, 2):
if n % i == 0:
return False
return True
def check_prime_circles(num):
circles = []
s = str(num)
for i in range(len(s)): | <|file_sep|>original/problem_35.py
<|file_sep|>current/problem_35.py
<|file_sep|>updated/problem_35.py
from math import sqrt
from time import time
PRIME_STATUS = {}
def is_prime(n):
if n == 2:
return True
if n % 2 == 0 or n <= 1:
return False
for i in range(3, int(sqrt(n))+1, 2):
if n % i == 0:
return False
return True
def check_prime_circles(num):
circles = []
s = str(num)
for i in range(len(s)): | 278920272efd7ab959d7cad5b5f7d6c17935c7e6 | problem_35.py | problem_35.py | Python |
<|file_sep|>client/views/homes/new/newHome.html.diff
original:
<div class="page-header">
<h1><i class="fa fa-home"></i> New Home</h1>
updated:
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
{{# if Template.subscriptionsReady }}
<div class="modal-header">
<h4 class="modal-title">Create new home</h4>
</div>
{{#autoForm id="newHomeForm" type="insert" collection="Homes" }}
<div class="modal-body">
{{> afQuickField name="name"}}
{{> afQuickField name="groupId"}}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-success">Save</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
{{/ autoForm }}
{{ else }}
{{> spinner }}
{{/ if }}
</div>
</div>
<|file_sep|>original/client/views/homes/new/newHome.html
<template name="newHome">
<div class="page-header">
<h1><i class="fa fa-home"></i> New Home</h1>
</div>
{{# if Template.subscriptionsReady }}
{{> quickForm collection="Homes" id="newHomeForm" type="insert"}}
{{/ if }}
</template>
<|file_sep|>current/client/views/homes/new/newHome.html
<div class="modal-body">
{{> afQuickField name="name"}}
{{> afQuickField name="groupId"}}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-success">Save</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
{{/ autoForm }}
{{ else }}
{{> spinner }}
{{/ if }}
</div>
</div>
</div>
{{# if Template.subscriptionsReady }}
{{> quickForm collection="Homes" id="newHomeForm" type="insert"}}
{{/ if }}
</template>
<|file_sep|>updated/client/views/homes/new/newHome.html | <h4 class="modal-title">Create new home</h4>
</div>
{{#autoForm id="newHomeForm" type="insert" collection="Homes" }}
<div class="modal-body">
{{> afQuickField name="name"}}
{{> afQuickField name="groupId"}}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-success">Save</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
{{/ autoForm }}
{{ else }}
{{> spinner }}
{{/ if }}
</div>
</div>
</div>
</template> | <|file_sep|>client/views/homes/new/newHome.html.diff
original:
<div class="page-header">
<h1><i class="fa fa-home"></i> New Home</h1>
updated:
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
{{# if Template.subscriptionsReady }}
<div class="modal-header">
<h4 class="modal-title">Create new home</h4>
</div>
{{#autoForm id="newHomeForm" type="insert" collection="Homes" }}
<div class="modal-body">
{{> afQuickField name="name"}}
{{> afQuickField name="groupId"}}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-success">Save</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
{{/ autoForm }}
{{ else }}
{{> spinner }}
{{/ if }}
</div>
</div>
<|file_sep|>original/client/views/homes/new/newHome.html
<template name="newHome">
<div class="page-header">
<h1><i class="fa fa-home"></i> New Home</h1>
</div>
{{# if Template.subscriptionsReady }}
{{> quickForm collection="Homes" id="newHomeForm" type="insert"}}
{{/ if }}
</template>
<|file_sep|>current/client/views/homes/new/newHome.html
<div class="modal-body">
{{> afQuickField name="name"}}
{{> afQuickField name="groupId"}}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-success">Save</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
{{/ autoForm }}
{{ else }}
{{> spinner }}
{{/ if }}
</div>
</div>
</div>
{{# if Template.subscriptionsReady }}
{{> quickForm collection="Homes" id="newHomeForm" type="insert"}}
{{/ if }}
</template>
<|file_sep|>updated/client/views/homes/new/newHome.html
<h4 class="modal-title">Create new home</h4>
</div>
{{#autoForm id="newHomeForm" type="insert" collection="Homes" }}
<div class="modal-body">
{{> afQuickField name="name"}}
{{> afQuickField name="groupId"}}
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-success">Save</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
{{/ autoForm }}
{{ else }}
{{> spinner }}
{{/ if }}
</div>
</div>
</div>
</template> | 169b872de52157e266ca2ac80931f6d89df712f4 | client/views/homes/new/newHome.html | client/views/homes/new/newHome.html | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.