prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/lib/motions.coffee
# FIXME: Don't run off the end
{column, row} = @editor.getCursorScreenPosition()
@editor.moveCursorRight()
class MoveUp extends Motion
execute: ->
@editor.moveCursorUp()
class MoveDown extends Motion
execute: ->
@editor.moveCursorDown()
class MoveToPrev... | # FIXME: Don't run off the end
{column, row} = @editor.getCursorScreenPosition()
@editor.moveCursorRight()
class MoveUp extends Motion
execute: ->
@editor.moveCursorUp()
class MoveDown extends Motion
execute: ->
{column, row} = @editor.getCursorScreenPosition()
@editor.moveCursorDown() if ... | <|file_sep|>original/lib/motions.coffee
# FIXME: Don't run off the end
{column, row} = @editor.getCursorScreenPosition()
@editor.moveCursorRight()
class MoveUp extends Motion
execute: ->
@editor.moveCursorUp()
class MoveDown extends Motion
execute: ->
@editor.moveCursorDown()
class MoveToPrev... | 06e25d1d01afe446b833f7a7a6d12ae766432f7d | lib/motions.coffee | lib/motions.coffee | CoffeeScript |
<|file_sep|>original/lib/rp_capistrano/config_copy.rb
namespace :config_copy do
task :database_yml do
run "cp #{release_path}/config/deploy/#{rails_env}/database.yml #{release_path}/config/database.yml"
end
task :polaris_yml do
run "cp #{release_... | namespace :config_copy do
task :database_yml do
run "cp #{release_path}/config/deploy/#{rails_env}/database.yml #{release_path}/config/database.yml"
end
task :polaris_yml do
run "cp #{release_path}/config/deploy/#{rails_env}/polaris.yml #{release... | <|file_sep|>original/lib/rp_capistrano/config_copy.rb
namespace :config_copy do
task :database_yml do
run "cp #{release_path}/config/deploy/#{rails_env}/database.yml #{release_path}/config/database.yml"
end
task :polaris_yml do
run "cp #{release_... | 6a10a073911c33f0a1e4cd2f582e96fe5ffcaf38 | lib/rp_capistrano/config_copy.rb | lib/rp_capistrano/config_copy.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
mono: none
<|file_sep|>.travis.yml.diff
original:
install:
- nuget restore HtmlBuilders.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
updated:
<|file_sep|>original/.travis.yml
language: csharp
solution: HtmlBuilders.sln
install:
- nu... | language: csharp
mono: none
solution: HtmlBuilders.sln
script:
- dotnet restore "HtmlBuilder.sln"
- dotnet build "HtmlBuilders/HtmlBuilders.csproj" -c Release
- dotnet test "HtmlBuilders.Tests/HtmlBuilders.Tests.csproj" -c Release | <|file_sep|>.travis.yml.diff
original:
updated:
mono: none
<|file_sep|>.travis.yml.diff
original:
install:
- nuget restore HtmlBuilders.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
updated:
<|file_sep|>original/.travis.yml
language: csharp
solution: HtmlBuilders.sln
install:
- nu... | b6a0315edcac0f70634c0b1e41c37716a02efa99 | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
"mocha": "^3.0.1"
updated:
"mocha": "^3.0.1",
"ejs": "^2.5.1"
<|file_sep|>original/package.json
"keywords": [
"c64",
"sid",
"mml",
"compiler"
],
"author": "Damián Silvani (@munshkr)",
"license": "Apache-2.0",
"bugs": {
"url": "https://git... | "keywords": [
"c64",
"sid",
"mml",
"compiler"
],
"author": "Damián Silvani (@munshkr)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/munshkr/gakuon/issues"
},
"homepage": "https://github.com/munshkr/gakuon#readme",
"devDependencies": {
"pegjs": "^0.9.0",
"moc... | <|file_sep|>package.json.diff
original:
"mocha": "^3.0.1"
updated:
"mocha": "^3.0.1",
"ejs": "^2.5.1"
<|file_sep|>original/package.json
"keywords": [
"c64",
"sid",
"mml",
"compiler"
],
"author": "Damián Silvani (@munshkr)",
"license": "Apache-2.0",
"bugs": {
"url": "https://git... | 3f71c8b7f3b78438895f7522f8ca9edddb74f38a | package.json | package.json | JSON |
<|file_sep|>web/templates/layout/auth_layout.html.eex.diff
original:
<nav class="navbar-inverse header clearfix">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" ari... | <html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Pullhub!</title>
<link rel="stylesheet" hre... | <|file_sep|>web/templates/layout/auth_layout.html.eex.diff
original:
<nav class="navbar-inverse header clearfix">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" ari... | 109e7b372a5db3824adb74abf182dcb67d108d14 | web/templates/layout/auth_layout.html.eex | web/templates/layout/auth_layout.html.eex | HTML+EEX |
<|file_sep|>original/window/build.go
package window
/*
#cgo darwin CFLAGS: -F/Library/Frameworks -D_GOSMF_OSX_
#cgo darwin LDFLAGS: -F/Library/Frameworks -framework SDL2
#cgo linux CFLAGS: -D_GOSMF_LINUX_
#cgo linux LDFLAGS: -lSDL2main -lSDL2
#cgo windows CFLAGS: -D_GOSMF_WINDOWS_
#cgo windows LDFLAGS: -lSD... | package window
/*
#cgo darwin CFLAGS: -D_GOSMF_OSX_
#cgo darwin LDFLAGS: -F/Library/Frameworks -framework SDL2
#cgo linux CFLAGS: -D_GOSMF_LINUX_
#cgo linux LDFLAGS: -lSDL2main -lSDL2
#cgo windows CFLAGS: -D_GOSMF_WINDOWS_
#cgo windows LDFLAGS: -lSDL2main -lSDL2
*/
import "C" | <|file_sep|>original/window/build.go
package window
/*
#cgo darwin CFLAGS: -F/Library/Frameworks -D_GOSMF_OSX_
#cgo darwin LDFLAGS: -F/Library/Frameworks -framework SDL2
#cgo linux CFLAGS: -D_GOSMF_LINUX_
#cgo linux LDFLAGS: -lSDL2main -lSDL2
#cgo windows CFLAGS: -D_GOSMF_WINDOWS_
#cgo windows LDFLAGS: -lSD... | 4c24eac9bfe4c21ac6a65c3d06ec442b685471f2 | window/build.go | window/build.go | Go |
<|file_sep|>routes/api.js.diff
original:
var jsonStream = require('express-jsonstream');
updated:
<|file_sep|>original/routes/api.js
var parentDir = path.resolve(process.cwd());
var jsonStream = require('express-jsonstream');
router.get('/', function(req, res, next) {
res.json({'info' : 'This is the ControCura... | var parentDir = path.resolve(process.cwd());
router.get('/', function(req, res, next) {
res.json({'info' : 'This is the ControCurator API v0.1'});
});
router.post('/',function(req,res) {
var input = req.body;
var amountofitems = input.length;
var gooditems = 0;
var baditems = 0;
for (var i=... | <|file_sep|>routes/api.js.diff
original:
var jsonStream = require('express-jsonstream');
updated:
<|file_sep|>original/routes/api.js
var parentDir = path.resolve(process.cwd());
var jsonStream = require('express-jsonstream');
router.get('/', function(req, res, next) {
res.json({'info' : 'This is the ControCura... | aadce336447569e40160034e87fa3e674540239d | routes/api.js | routes/api.js | JavaScript |
<|file_sep|>original/phpunit.xml.dist
bootstrap="./phpunit.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
syntaxCheck="false">
<testsuites>
<testsuite name="flysystem/tests">
<directory suffix=".php">.... | colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
syntaxCheck="false">
<testsuites>
<testsuite name="flysystem/tests">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<bla... | <|file_sep|>original/phpunit.xml.dist
bootstrap="./phpunit.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
syntaxCheck="false">
<testsuites>
<testsuite name="flysystem/tests">
<directory suffix=".php">.... | eadf3c0e810bc5385f890d0ccb6323ecd4155d7b | phpunit.xml.dist | phpunit.xml.dist | unknown |
<|file_sep|>addon/ng2/blueprints/ng2/files/e2e/app.po.ts.diff
original:
updated:
<|file_sep|>original/addon/ng2/blueprints/ng2/files/e2e/app.po.ts
export class <%= jsComponentName %>Page {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('<%= jsComponentName %>-a... | export class <%= jsComponentName %>Page {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('<%= htmlComponentName %>-app p')).getText();
}
} | <|file_sep|>addon/ng2/blueprints/ng2/files/e2e/app.po.ts.diff
original:
updated:
<|file_sep|>original/addon/ng2/blueprints/ng2/files/e2e/app.po.ts
export class <%= jsComponentName %>Page {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('<%= jsComponentName %>-a... | 17cb4da5ea3bebe343b330f3571b95132a24315e | addon/ng2/blueprints/ng2/files/e2e/app.po.ts | addon/ng2/blueprints/ng2/files/e2e/app.po.ts | TypeScript |
<|file_sep|>original/README.md
```bash
npm install --global node-inspect
```
For the old V8 debugger protocol,
node has two options:
1. `node --debug <file>`: Start `file` with remote debugging enabled.
2. `node debug <file>`: Start an interactive CLI debugger for `<file>`.
But for the Chrome inspector protol,
there... | ```bash
npm install --global node-inspect
```
For the old V8 debugger protocol,
node has two options:
1. `node --debug <file>`: Start `file` with remote debugging enabled.
2. `node debug <file>`: Start an interactive CLI debugger for `<file>`.
But for the Chrome inspector protocol,
there's only one: `node --inspect ... | <|file_sep|>original/README.md
```bash
npm install --global node-inspect
```
For the old V8 debugger protocol,
node has two options:
1. `node --debug <file>`: Start `file` with remote debugging enabled.
2. `node debug <file>`: Start an interactive CLI debugger for `<file>`.
But for the Chrome inspector protol,
there... | 93caa0f5267c7ab452b258d3b03329a0bb5ac7f7 | README.md | README.md | Markdown |
<|file_sep|>original/src/Openchain.Server/Webroot/App_Data/config.json
// Special issuer, in the following format:
//
// {
// "path": "",
// "addresses": [
// ""
// ]
// }
"issuers": [
],
"version_byte": 111
}
},
// Uncomment this and ... | // Special issuer, in the following format:
//
// {
// "path": "",
// "addresses": [
// ""
// ]
// }
"issuers": [
],
"version_byte": 76
}
},
// Uncomment this and comment the "validator_mode" section to enable observer mode
// "obser... | <|file_sep|>original/src/Openchain.Server/Webroot/App_Data/config.json
// Special issuer, in the following format:
//
// {
// "path": "",
// "addresses": [
// ""
// ]
// }
"issuers": [
],
"version_byte": 111
}
},
// Uncomment this and ... | a12e4d2f9a5b98c857aa21d90c6ff0ba112aac4c | src/Openchain.Server/Webroot/App_Data/config.json | src/Openchain.Server/Webroot/App_Data/config.json | JSON |
<|file_sep|>BHCDatabase/test/models/question_test.rb.diff
original:
updated:
# QuestionTest is the generic model test for a question.
<|file_sep|>original/BHCDatabase/test/models/question_test.rb
require 'test_helper'
class QuestionTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
<... | require 'test_helper'
# QuestionTest is the generic model test for a question.
class QuestionTest < ActiveSupport::TestCase
def setup
@question = questions(:one)
end
test 'should be valid' do
assert @question.valid?
end
test 'question should be present' do
@question.question = ''
assert_not... | <|file_sep|>BHCDatabase/test/models/question_test.rb.diff
original:
updated:
# QuestionTest is the generic model test for a question.
<|file_sep|>original/BHCDatabase/test/models/question_test.rb
require 'test_helper'
class QuestionTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
<... | f5d456277a6062d7de9f11d33f821aecd4f1dc08 | BHCDatabase/test/models/question_test.rb | BHCDatabase/test/models/question_test.rb | Ruby |
<|file_sep|>original/dev.txt
# install all base requirements
-r requirements.txt
python_http_client==3.3.1
invoke==1.4.1
twine==3.2.0
# Tests
pytest==6.0.1
pytest-cov==2.10.1
codecov==2.1.8
python-coveralls==2.9.3
coveralls==2.1.1
mock==4.0.2
# Version update
PyGithub==1.51
bumpversion==0.6.0
<|file_sep|>current/de... | # install all base requirements
-r requirements.txt
python_http_client==3.3.1
invoke==1.4.1
twine==3.2.0
# Tests
pytest==6.0.1
pytest-cov==2.10.1
codecov==2.1.9
python-coveralls==2.9.3
coveralls==2.1.1
mock==4.0.2
# Version update
PyGithub==1.51
bumpversion==0.6.0 | <|file_sep|>original/dev.txt
# install all base requirements
-r requirements.txt
python_http_client==3.3.1
invoke==1.4.1
twine==3.2.0
# Tests
pytest==6.0.1
pytest-cov==2.10.1
codecov==2.1.8
python-coveralls==2.9.3
coveralls==2.1.1
mock==4.0.2
# Version update
PyGithub==1.51
bumpversion==0.6.0
<|file_sep|>current/de... | c4d7c15f48537a9610b2c4539fe753be165c8ee6 | dev.txt | dev.txt | Text |
<|file_sep|>original/synapse/metrics/resource.py
#
# 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... | #
# 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 ... | <|file_sep|>original/synapse/metrics/resource.py
#
# 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... | 0eb7e6b9a8e4e38793b1e045ab5f0f0a4d4e6777 | synapse/metrics/resource.py | synapse/metrics/resource.py | Python |
<|file_sep|>original/config/initializers/routing.rb
<|file_sep|>current/config/initializers/routing.rb
<|file_sep|>updated/config/initializers/routing.rb | # Adds run route to all satellites
require 'action_dispatch/routing/mapper'
module ActionDispatch::Routing::Mapper::Resources
def resource(*resources, &block)
options = resources.extract_options!.dup
if apply_common_behavior_for(:resource, resources, options, &block)
return self
end
resource_... | <|file_sep|>original/config/initializers/routing.rb
<|file_sep|>current/config/initializers/routing.rb
<|file_sep|>updated/config/initializers/routing.rb
# Adds run route to all satellites
require 'action_dispatch/routing/mapper'
module ActionDispatch::Routing::Mapper::Resources
def resource(*resources, &block)
... | c6ee4e8fd6b34dadb3993fb9db5080b84388da98 | config/initializers/routing.rb | config/initializers/routing.rb | Ruby |
<|file_sep|>original/_sass/_header.scss
font-size: $menu_item_size;
text-transform: uppercase;
@media (max-width: 768px) {
padding-left: 0;
padding-right: 0;
}
&:hover {
color: $menu_color_hover;
}
&:active {
color: $menu... | text-transform: uppercase;
@media (max-width: 768px) {
padding-left: 0;
padding-right: 0;
}
&:hover {
color: $menu_color_hover;
}
&:focus,
&:active {
color: $menu_color_hover;
text-decoration: underline;
... | <|file_sep|>original/_sass/_header.scss
font-size: $menu_item_size;
text-transform: uppercase;
@media (max-width: 768px) {
padding-left: 0;
padding-right: 0;
}
&:hover {
color: $menu_color_hover;
}
&:active {
color: $menu... | 60f8fa723669ea17520b6b9549eb3cea36a91b3a | _sass/_header.scss | _sass/_header.scss | SCSS |
<|file_sep|>original/pytest.ini
# Fail on warnings
error
## upstream
# Suppress deprecation warning in flake8
ignore:SelectableGroups dict interface is deprecated::flake8
# Suppress deprecation warning in pypa/packaging#433
ignore:The distutils package is deprecated::packaging.tags
## end upstream
... | # Fail on warnings
error
## upstream
# Suppress deprecation warning in flake8
ignore:SelectableGroups dict interface is deprecated::flake8
# Suppress deprecation warning in pypa/packaging#433
ignore:The distutils package is deprecated::packaging.tags
## end upstream
# Suppress deprecation warning in... | <|file_sep|>original/pytest.ini
# Fail on warnings
error
## upstream
# Suppress deprecation warning in flake8
ignore:SelectableGroups dict interface is deprecated::flake8
# Suppress deprecation warning in pypa/packaging#433
ignore:The distutils package is deprecated::packaging.tags
## end upstream
... | de3b5b824ef2a681ca90ec0413ea991253228d47 | pytest.ini | pytest.ini | INI |
<|file_sep|>original/doc/api/mod_base.rst
``flask.ext.admin.base``
========================
.. automodule:: flask.ext.admin.base
Base View
---------
.. autofunction:: expose
.. autoclass:: BaseView
:members:
Default view
------------
.. autoclass:: AdminIndexView
:membe... | ``flask.ext.admin.base``
========================
.. automodule:: flask.ext.admin.base
Base View
---------
.. autofunction:: expose
.. autofunction:: expose_plugview
.. autoclass:: BaseView
:members:
Default view
------------
.. autoclass:: AdminIndexView
:members:
... | <|file_sep|>original/doc/api/mod_base.rst
``flask.ext.admin.base``
========================
.. automodule:: flask.ext.admin.base
Base View
---------
.. autofunction:: expose
.. autoclass:: BaseView
:members:
Default view
------------
.. autoclass:: AdminIndexView
:membe... | 4deb8630c518f5aa3a8d544ef5d315ebdd9742f7 | doc/api/mod_base.rst | doc/api/mod_base.rst | reStructuredText |
<|file_sep|>original/_posts/2013-07-02-all-american-boy-steve-grand.markdown
---
layout: post
title: "All-American Boy - Steve Grand"
date: 2013-07-02 01:26:32 +0200
external-url: http://stevegrand.bandcamp.com/track/all-american-boy-radio-edit
---
Steve Grand released on July 2, 2013 a song about desire for a same-se... | ---
layout: post
title: "All-American Boy - Steve Grand"
date: 2013-07-02 01:26:32 +0200
external-url: https://www.youtube.com/watch?v=pjiyjYCwNyY
---
Steve Grand released on July 2, 2013 a song about desire for a same-sex partner.
What is striking about this song and about Steve is that he is the first
openly-gay Cou... | <|file_sep|>original/_posts/2013-07-02-all-american-boy-steve-grand.markdown
---
layout: post
title: "All-American Boy - Steve Grand"
date: 2013-07-02 01:26:32 +0200
external-url: http://stevegrand.bandcamp.com/track/all-american-boy-radio-edit
---
Steve Grand released on July 2, 2013 a song about desire for a same-se... | e86eabe5fbef0ee59dffecf1c44d7d9840d525a1 | _posts/2013-07-02-all-american-boy-steve-grand.markdown | _posts/2013-07-02-all-american-boy-steve-grand.markdown | Markdown |
<|file_sep|>original/.travis.yml
# Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.6.6
install:
- gem install bundler
- bundle install
script: buildr package
git:
depth: false
<|file_sep|>current/.travis.yml
# Lock down dist to... | # Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.7.2
install:
- gem install bundler
- bundle install
script: buildr package
git:
depth: false | <|file_sep|>original/.travis.yml
# Lock down dist to ensure that builds run on a distribution that supports oraclejdk8
dist: trusty
language: ruby
jdk:
- oraclejdk8
rvm:
- 2.6.6
install:
- gem install bundler
- bundle install
script: buildr package
git:
depth: false
<|file_sep|>current/.travis.yml
# Lock down dist to... | d93e57bd241306b4848343e7e42677400a7837b1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/auth/gds_sso.rb.diff
original:
ENV.fetch("OAUTH_ID", "")
updated:
ENV.fetch("GDS_SSO_OAUTH_ID", "")
<|file_sep|>original/lib/auth/gds_sso.rb
@oauth_client ||= OAuth2::Client.new(
oauth_id,
oauth_secret,
site: Plek.new.external_url_for("signon"),
connecti... | @oauth_client ||= OAuth2::Client.new(
oauth_id,
oauth_secret,
site: Plek.new.external_url_for("signon"),
connection_opts: {
headers: {
user_agent: "oauth-client (#{ENV.fetch('GOVUK_APP_NAME', 'search-api')})",
},
},
)
end
def o... | <|file_sep|>lib/auth/gds_sso.rb.diff
original:
ENV.fetch("OAUTH_ID", "")
updated:
ENV.fetch("GDS_SSO_OAUTH_ID", "")
<|file_sep|>original/lib/auth/gds_sso.rb
@oauth_client ||= OAuth2::Client.new(
oauth_id,
oauth_secret,
site: Plek.new.external_url_for("signon"),
connecti... | 4c86dd84de1188227eb08553c66bf87fbea05d36 | lib/auth/gds_sso.rb | lib/auth/gds_sso.rb | Ruby |
<|file_sep|>original/src/gl_generator/Cargo.toml
[package]
name = "gl_generator"
version = "0.0.1"
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>",
"Corey Richardson",
"Arseny Kapoulkine"
]
[lib]
name = "gl_generator"
path = "lib.rs"
plugin = true
[dependencies.rust-xml]
git = "https://github... | [package]
name = "gl_generator"
version = "0.0.1"
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>",
"Corey Richardson",
"Arseny Kapoulkine"
]
[lib]
name = "gl_generator"
path = "lib.rs"
plugin = true
[dependencies.rust-xml]
git = "https://github.com/netvl/rust-xml"
[dependencies.khronos_api]
... | <|file_sep|>original/src/gl_generator/Cargo.toml
[package]
name = "gl_generator"
version = "0.0.1"
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>",
"Corey Richardson",
"Arseny Kapoulkine"
]
[lib]
name = "gl_generator"
path = "lib.rs"
plugin = true
[dependencies.rust-xml]
git = "https://github... | 319435998cd5286382562b97f386911cd6d6d7a8 | src/gl_generator/Cargo.toml | src/gl_generator/Cargo.toml | TOML |
<|file_sep|>create_test_branch.sh.diff
original:
updated:
BRANCH=t-$(echo "$TESTNAME" | sed "s/:/_/g")
<|file_sep|>original/create_test_branch.sh
#!/bin/bash
set -e
COMMIT="$1"
TESTNAME="$2"
CODEC="$3"
cd $CODEC
git fetch --all
git reset --hard
git checkout $COMMIT
git checkout -b t-$TESTNAME
git clean -d -x -f
... | set -e
COMMIT="$1"
TESTNAME="$2"
CODEC="$3"
BRANCH=t-$(echo "$TESTNAME" | sed "s/:/_/g")
cd $CODEC
git fetch --all
git reset --hard
git checkout $COMMIT
git checkout -b $BRANCH
git clean -d -x -f
cd ..
mkdir -p runs/$TESTNAME
./build_codec.sh | <|file_sep|>create_test_branch.sh.diff
original:
updated:
BRANCH=t-$(echo "$TESTNAME" | sed "s/:/_/g")
<|file_sep|>original/create_test_branch.sh
#!/bin/bash
set -e
COMMIT="$1"
TESTNAME="$2"
CODEC="$3"
cd $CODEC
git fetch --all
git reset --hard
git checkout $COMMIT
git checkout -b t-$TESTNAME
git clean -d -x -f
... | 8e11f31151ac59e7da56d99c297445f941472c63 | create_test_branch.sh | create_test_branch.sh | Shell |
<|file_sep|>original/.glerbl/repo_conf.py
checks = {
'pre-commit': [
# BEFORE_COMMIT in the root of the working tree can be used as
# reminder to do something before the next commit.
"no_before_commit",
# We only allow ASCII filenames.
"no_non_ascii_filenames",
# We... | import sys
import os
dirname = os.path.dirname(__file__)
python_path = os.path.join(os.path.dirname(dirname), "selenium_test", "lib")
if "PYTHONPATH" not in os.environ:
os.environ["PYTHONPATH"] = python_path
else:
os.environ["PYTHONPATH"] = python_path + ":" + os.environ["PYTHONPATH"]
checks = {
'pre-com... | <|file_sep|>original/.glerbl/repo_conf.py
checks = {
'pre-commit': [
# BEFORE_COMMIT in the root of the working tree can be used as
# reminder to do something before the next commit.
"no_before_commit",
# We only allow ASCII filenames.
"no_non_ascii_filenames",
# We... | 26efd98c88a627f76ebd0865053353eb7a30e3bb | .glerbl/repo_conf.py | .glerbl/repo_conf.py | Python |
<|file_sep|>original/roles/mapping/tasks/main.yml
---
- name: mapping service
docker:
name: mapping-service
image: deconst/mapping-service
pull: always
state: reloaded
env:
CONTROL_REPO_URL: "{{ control_repository_url }}"
CONTROL_REPO_BRANCH: "{{ control_repository_branch }}"
MA... | ---
- name: mapping service
docker:
name: mapping-service
image: quay.io/deconst/mapping-service
pull: always
state: reloaded
env:
CONTROL_REPO_URL: "{{ control_repository_url }}"
CONTROL_REPO_BRANCH: "{{ control_repository_branch }}"
MAP_LOG_LEVEL: "{{ map_log_level }}"
por... | <|file_sep|>original/roles/mapping/tasks/main.yml
---
- name: mapping service
docker:
name: mapping-service
image: deconst/mapping-service
pull: always
state: reloaded
env:
CONTROL_REPO_URL: "{{ control_repository_url }}"
CONTROL_REPO_BRANCH: "{{ control_repository_branch }}"
MA... | 3ba555a0f9a944b452a5fdfa1d7e0ee8311f00ed | roles/mapping/tasks/main.yml | roles/mapping/tasks/main.yml | YAML |
<|file_sep|>original/_posts/2017-03-21-install-pg-gem-macos.markdown
<|file_sep|>current/_posts/2017-03-21-install-pg-gem-macos.markdown
<|file_sep|>updated/_posts/2017-03-21-install-pg-gem-macos.markdown | ---
title: "Install pg gem on MacOS"
date: 2017-03-21 18:00:00
description:
---
If you're facing an error while installing like this one:
```
Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension.
```
Try downloading [Postgress.app][pgapp] a... | <|file_sep|>original/_posts/2017-03-21-install-pg-gem-macos.markdown
<|file_sep|>current/_posts/2017-03-21-install-pg-gem-macos.markdown
<|file_sep|>updated/_posts/2017-03-21-install-pg-gem-macos.markdown
---
title: "Install pg gem on MacOS"
date: 2017-03-21 18:00:00
description:
---
If you're facing an error whi... | 2530e575bcc5bce5821bc63a967bd0c83a42764c | _posts/2017-03-21-install-pg-gem-macos.markdown | _posts/2017-03-21-install-pg-gem-macos.markdown | Markdown |
<|file_sep|>original/dev-requirements.txt
black==20.8b1
doc8==0.8.1
coveralls==3.0.0
flake8==3.8.4
flake8-commas==2.0.0
flake8-comprehensions==3.3.1
flake8-docstrings==1.5.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==1.1.0
isort==5.7.0
mypy==0.790
pydocstyle==5.1.1
pytest==6.2.1
pytest-cov==2.11.1
rope==0.18.... | black==20.8b1
doc8==0.8.1
coveralls==3.0.0
flake8==3.8.4
flake8-commas==2.0.0
flake8-comprehensions==3.3.1
flake8-docstrings==1.5.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==1.1.0
isort==5.7.0
mypy==0.790
pydocstyle==5.1.1
pytest==6.2.2
pytest-cov==2.11.1
rope==0.18.0
setuptools==52.0.0
sphinx==3.4.3
sphinx-... | <|file_sep|>original/dev-requirements.txt
black==20.8b1
doc8==0.8.1
coveralls==3.0.0
flake8==3.8.4
flake8-commas==2.0.0
flake8-comprehensions==3.3.1
flake8-docstrings==1.5.0
flake8-isort==4.0.0
flake8-mutable==1.2.0
freezegun==1.1.0
isort==5.7.0
mypy==0.790
pydocstyle==5.1.1
pytest==6.2.1
pytest-cov==2.11.1
rope==0.18.... | a713f393898397ab14830c162a9417de2738b4f2 | dev-requirements.txt | dev-requirements.txt | Text |
<|file_sep|>sipa/base.py.diff
original:
updated:
from flask_babel import gettext
<|file_sep|>original/sipa/base.py
disjoint from any blueprint.
"""
from flask import request, session
from flask_login import AnonymousUserMixin, LoginManager
from werkzeug.routing import IntegerConverter as BaseIntegerConverter
from sip... | disjoint from any blueprint.
"""
from flask import request, session
from flask_login import AnonymousUserMixin, LoginManager
from flask_babel import gettext
from werkzeug.routing import IntegerConverter as BaseIntegerConverter
from sipa.model import backends
login_manager = LoginManager()
login_manager.login_view = "... | <|file_sep|>sipa/base.py.diff
original:
updated:
from flask_babel import gettext
<|file_sep|>original/sipa/base.py
disjoint from any blueprint.
"""
from flask import request, session
from flask_login import AnonymousUserMixin, LoginManager
from werkzeug.routing import IntegerConverter as BaseIntegerConverter
from sip... | ecc816295154a3756e87349b4cff397ebd17b95f | sipa/base.py | sipa/base.py | Python |
<|file_sep|>src/main/scala/com/campudus/scycle/TutorialApp.scala.diff
original:
updated:
val container = dom.document.getElementById("app")
<|file_sep|>src/main/scala/com/campudus/scycle/TutorialApp.scala.diff
original:
updated:
val iObserver = Obs(text) {
container.textContent = text()
}
<|file_se... |
@JSExport
def main(): Unit = {
val container = dom.document.getElementById("app")
val i = Var(0)
val text = Rx {
s"Seconds elapsed ${i()}"
}
val iObserver = Obs(text) {
container.textContent = text()
}
dom.setInterval(() => {
i() = i() + 1
}, 1000)
}
}
| <|file_sep|>src/main/scala/com/campudus/scycle/TutorialApp.scala.diff
original:
updated:
val container = dom.document.getElementById("app")
<|file_sep|>src/main/scala/com/campudus/scycle/TutorialApp.scala.diff
original:
updated:
val iObserver = Obs(text) {
container.textContent = text()
}
<|file_se... | e8893fd7a9e55a030ede21a7d58d8603d72089a1 | src/main/scala/com/campudus/scycle/TutorialApp.scala | src/main/scala/com/campudus/scycle/TutorialApp.scala | Scala |
<|file_sep|>original/CONTRIBUTORS.edn
:github "@sjuraschka"
:contributions ["client UX and UI improvements"]
:tags #{:code
:design}}
{:github "@CommonCreative"
:tags #{:code}}
{:name "Dominic M."
:github "@SevereOverfl0w"
:tags #{:documentation}}
{:github "@sveri"
:contributions... |
{:github "@CommonCreative"
:tags #{:code}}
{:name "Dominic M."
:github "@SevereOverfl0w"
:tags #{:documentation}}
{:github "@sveri"
:contributions [""]
:tags #{:documentation}}
{:name "Canna W."
:github "@cannawen"
:tags #{:documentation}}
]
| <|file_sep|>original/CONTRIBUTORS.edn
:github "@sjuraschka"
:contributions ["client UX and UI improvements"]
:tags #{:code
:design}}
{:github "@CommonCreative"
:tags #{:code}}
{:name "Dominic M."
:github "@SevereOverfl0w"
:tags #{:documentation}}
{:github "@sveri"
:contributions... | 7a5c94c91065cc8c024a97fbe3c2a8551f7bbfef | CONTRIBUTORS.edn | CONTRIBUTORS.edn | edn |
<|file_sep|>original/idoru.gemspec
spec.email = ['jurisgalang@gmail.com']
spec.description = %q{A two-factor authentication library}
spec.summary = %q{
A Two-Factor Authentication library. This library provides the primitives
to support a two-factor authentication feature.
}
spec.homep... | spec.email = ['jurisgalang@gmail.com']
spec.description = %q{A two-factor authentication library}
spec.summary = %q{
A Two-Factor Authentication library. This library provides the primitives
to support a two-factor authentication feature.
}
spec.homepage = 'https://github.com/juri... | <|file_sep|>original/idoru.gemspec
spec.email = ['jurisgalang@gmail.com']
spec.description = %q{A two-factor authentication library}
spec.summary = %q{
A Two-Factor Authentication library. This library provides the primitives
to support a two-factor authentication feature.
}
spec.homep... | 780849c6c8bcd79fabb6e2d0865b8aac3e40815c | idoru.gemspec | idoru.gemspec | Ruby |
<|file_sep|>original/docs/reference/indices/get-mapping.asciidoc
[source,js]
--------------------------------------------------
curl -XGET 'http://localhost:9200/twitter/_mapping/tweet'
--------------------------------------------------
[float]
=== Multiple Indices and Types
The get mapping API can be used to get mor... | [source,js]
--------------------------------------------------
curl -XGET 'http://localhost:9200/twitter/_mapping/tweet'
--------------------------------------------------
[float]
=== Multiple Indices and Types
The get mapping API can be used to get more than one index or type
mapping with a single call. General usag... | <|file_sep|>original/docs/reference/indices/get-mapping.asciidoc
[source,js]
--------------------------------------------------
curl -XGET 'http://localhost:9200/twitter/_mapping/tweet'
--------------------------------------------------
[float]
=== Multiple Indices and Types
The get mapping API can be used to get mor... | 887bd0a9c2905e0ecadc058c2339d24d35cb6ce5 | docs/reference/indices/get-mapping.asciidoc | docs/reference/indices/get-mapping.asciidoc | AsciiDoc |
<|file_sep|>original/README.md
GWT-OL3-Playground
==================
A Playground for the new OpenLayers3-Wrapper for GWT using the new JSInterop-Features of the GWT-SDK-Sources.
<|file_sep|>current/README.md
GWT-OL3-Playground
==================
A Playground for the new OpenLayers3-Wrapper for GWT using the new JSIn... | GWT-OL3-Playground
==================
A Playground for the new OpenLayers3-Wrapper for GWT using the new JSInterop-Features of the GWT-SDK-Sources.
For using this you have to build the latest GWT-SDK from the source:
http://www.gwtproject.org/makinggwtbetter.html#checkingout
Building the application with older GWT-... | <|file_sep|>original/README.md
GWT-OL3-Playground
==================
A Playground for the new OpenLayers3-Wrapper for GWT using the new JSInterop-Features of the GWT-SDK-Sources.
<|file_sep|>current/README.md
GWT-OL3-Playground
==================
A Playground for the new OpenLayers3-Wrapper for GWT using the new JSIn... | 0f202f4e0d9219ea6e4418b7165f8f22ad165993 | README.md | README.md | Markdown |
<|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.5.3
alabaster==0.7.9
releases==1.3.0
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.5.3
alabaster==0.7.9
releases==1.3.0
<|file_sep|>updated/requirements/doc.txt | -r ./base.txt
sphinx==1.5.3
alabaster==0.7.10
releases==1.3.0 | <|file_sep|>original/requirements/doc.txt
-r ./base.txt
sphinx==1.5.3
alabaster==0.7.9
releases==1.3.0
<|file_sep|>current/requirements/doc.txt
-r ./base.txt
sphinx==1.5.3
alabaster==0.7.9
releases==1.3.0
<|file_sep|>updated/requirements/doc.txt
-r ./base.txt
sphinx==1.5.3
alabaster==0.7.10
releases==1.3.0 | 0aa5e0be41bcbdd89f5179823affcbfba4e8820d | requirements/doc.txt | requirements/doc.txt | Text |
<|file_sep|>original/.travis.yml
- "3.7"
addons:
postgresql: "9.6"
apt:
packages:
- language-pack-de
services:
- redis-server
install:
- "pip install --upgrade pip"
- "pip install --upgrade pytest"
- "pip install -r requirements.txt -r requirements-test.txt"
before_script:
- psql -U postgres -... | - "3.7"
addons:
postgresql: "9.6"
apt:
packages:
- language-pack-de
services:
- redis-server
install:
- "pip install --upgrade pip"
- "pip install --upgrade pytest"
- "pip install -r requirements.txt -r requirements-development.txt"
before_script:
- psql -U postgres -c "CREATE DATABASE byceps_... | <|file_sep|>original/.travis.yml
- "3.7"
addons:
postgresql: "9.6"
apt:
packages:
- language-pack-de
services:
- redis-server
install:
- "pip install --upgrade pip"
- "pip install --upgrade pytest"
- "pip install -r requirements.txt -r requirements-test.txt"
before_script:
- psql -U postgres -... | 2b3f64bb1cbab96cbff6e4f53376fd3ab6e4ee97 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/source/timer.html.haml
.middled.counter
%div
.counter-text
Start
%small.turn-text
.hidden
%audio.alert{ src: './sounds/door-bell.wav', volume:'1' }
#settingsModal.reveal-modal{ data: {reveal: ''}, role: 'dialog' }
%h2 Timer Settings
.row.collapse
.small-3.columns
%... | .counter-text
Start
%small.turn-text
.hidden
%audio.alert{ src: './sounds/door-bell.wav', volume:'1' }
#settingsModal.reveal-modal{ data: {reveal: ''}, role: 'dialog' }
%h2 Timer Settings
.row.collapse
.small-3.columns
%label.prefix{for:'#period'} Duration
.small-9.columns
%inp... | <|file_sep|>original/source/timer.html.haml
.middled.counter
%div
.counter-text
Start
%small.turn-text
.hidden
%audio.alert{ src: './sounds/door-bell.wav', volume:'1' }
#settingsModal.reveal-modal{ data: {reveal: ''}, role: 'dialog' }
%h2 Timer Settings
.row.collapse
.small-3.columns
%... | 4fa32c2ad2b56000612dcfb651752b6757e6791c | source/timer.html.haml | source/timer.html.haml | Haml |
<|file_sep|>original/UM/Qt/qml/UM/Preferences/PreferencesPage.qml
function reset()
{
UM.Application.log("w", "No reset implemented!")
}
function boolCheck(value) //Hack to ensure a good match between python and qml.
{
if(value == "True")
{
return true
}el... |
function reset()
{
UM.Application.log("w", "No reset implemented!")
}
function boolCheck(value) //Hack to ensure a good match between python and qml.
{
if(value == "True")
{
return true
}else if(value == "False" || value == undefined)
{
... | <|file_sep|>original/UM/Qt/qml/UM/Preferences/PreferencesPage.qml
function reset()
{
UM.Application.log("w", "No reset implemented!")
}
function boolCheck(value) //Hack to ensure a good match between python and qml.
{
if(value == "True")
{
return true
}el... | d6aa126000bfa5a32d67336f1530b4497253c6c3 | UM/Qt/qml/UM/Preferences/PreferencesPage.qml | UM/Qt/qml/UM/Preferences/PreferencesPage.qml | QML |
<|file_sep|>original/messagegroups/templates/messagegroups.html
{% if messages %}
{% for key, values in messages.iteritems %}
<div class="alert alert-{{ key.1 }}">
{{ values|join:"<br>" }}
</div>
{% endfor %}
{% endif %}
<|file_sep|>current/messagegroups/templates/messagegroups.html
... | {% if messages %}
{% for key, values in messages.iteritems %}
<div class="alert {{ key.1 }}">
{{ values|join:"<br>" }}
</div>
{% endfor %}
{% endif %} | <|file_sep|>original/messagegroups/templates/messagegroups.html
{% if messages %}
{% for key, values in messages.iteritems %}
<div class="alert alert-{{ key.1 }}">
{{ values|join:"<br>" }}
</div>
{% endfor %}
{% endif %}
<|file_sep|>current/messagegroups/templates/messagegroups.html
... | e96ce6d11ab15a4677299fa339f03d0128ae4265 | messagegroups/templates/messagegroups.html | messagegroups/templates/messagegroups.html | HTML |
<|file_sep|>original/index.html
---
layout: default
---
<div id="home">
<h1>Blog Posts</h1>
<ul class="posts">
{% for post in site.posts %}
<li><span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link" href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>... | ---
layout: default
---
<div class="home">
<h1>Posts</h1>
<ul class="posts">
{% for post in site.posts %}
<li><span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link" href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
<p class="rss-subscribe">sub... | <|file_sep|>original/index.html
---
layout: default
---
<div id="home">
<h1>Blog Posts</h1>
<ul class="posts">
{% for post in site.posts %}
<li><span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link" href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>... | 0b58a6fe6e3e23b5393b53b158bd5e36b0c8062a | index.html | index.html | HTML |
<|file_sep|>original/resume.css
}
a:hover {
text-decoration: underline;
}
h1 {
margin-top: 0;
}
h2 {
margin-top: 0;
}
li {
margin-top: 0em;
}
ul li ul li {
margin: .5em;
}
<|file_sep|>current/resume.css
}
a:hover {
text-decoration: underline;
}
h1 {
margin-top: 0;
}
h2 {
margin-... | }
h1 {
margin-top: 0;
}
h2 {
margin-top: 0;
}
ul {
list-style-type: none;
}
ul li ul {
list-style-type: disc;
margin-bottom: 2em;
}
li {
margin-top: 0em; | <|file_sep|>original/resume.css
}
a:hover {
text-decoration: underline;
}
h1 {
margin-top: 0;
}
h2 {
margin-top: 0;
}
li {
margin-top: 0em;
}
ul li ul li {
margin: .5em;
}
<|file_sep|>current/resume.css
}
a:hover {
text-decoration: underline;
}
h1 {
margin-top: 0;
}
h2 {
margin-... | 9da2a34cb7e6f353520dc77a45d6b3b6b5183b4c | resume.css | resume.css | CSS |
<|file_sep|>original/cmake/subprojects.cmake
function(adopt_subprojects)
# Add subprojects for CMSIS
set(NAME "CMSIS")
if (";${SUBPROJECTS};" MATCHES ";${NAME};")
list(REMOVE_ITEM SUBPROJECTS ${NAME})
list(APPEND SUBPROJECTS
CMSIS/BasicMathFunctions
CMSIS/Com... | function(adopt_subprojects)
# Add subprojects for CMSIS
set(CMSIS_NAME "CMSIS")
if (";${SUBPROJECTS};" MATCHES ";${CMSIS_NAME};")
list(REMOVE_ITEM SUBPROJECTS ${CMSIS_NAME})
list(APPEND SUBPROJECTS
CMSIS/BasicMathFunctions
CMSIS/CommonTables
C... | <|file_sep|>original/cmake/subprojects.cmake
function(adopt_subprojects)
# Add subprojects for CMSIS
set(NAME "CMSIS")
if (";${SUBPROJECTS};" MATCHES ";${NAME};")
list(REMOVE_ITEM SUBPROJECTS ${NAME})
list(APPEND SUBPROJECTS
CMSIS/BasicMathFunctions
CMSIS/Com... | ea207796c1230407043f8278bcb0e41ab4ec9a84 | cmake/subprojects.cmake | cmake/subprojects.cmake | CMake |
<|file_sep|>lib/utils.js.diff
original:
, spawn = require('child_process').spawn
updated:
, exec = require('child_process').exec
<|file_sep|>lib/utils.js.diff
original:
var args = [
'-t'
, 'rsa'
, '-f'
, '~/.ssh/gcr'
, '-N'
, '""'
]
var child = spawn('ssh-keygen', args, {
updated:
... | var log = require('npmlog')
, gcr = require('./gcr')
, exec = require('child_process').exec
, utils = exports
utils.genSSHKey = function(cb) {
var cmd = 'ssh-keygen -t rsa -f ~/.ssh/gcr -N ""'
exec(cmd, {
env: process.env
, cwd: process.cwd()
}, function(err, stdout, stderr) {
if (err) return... | <|file_sep|>lib/utils.js.diff
original:
, spawn = require('child_process').spawn
updated:
, exec = require('child_process').exec
<|file_sep|>lib/utils.js.diff
original:
var args = [
'-t'
, 'rsa'
, '-f'
, '~/.ssh/gcr'
, '-N'
, '""'
]
var child = spawn('ssh-keygen', args, {
updated:
... | 662c6fa7efce6873437108f7b77e73f0d6c42738 | lib/utils.js | lib/utils.js | JavaScript |
<|file_sep|>original/.github/workflows/python-package.yml
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
... | build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versio... | <|file_sep|>original/.github/workflows/python-package.yml
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
... | 48ddc8f4c24fef4479ef93e75ef95831967bc296 | .github/workflows/python-package.yml | .github/workflows/python-package.yml | YAML |
<|file_sep|>original/packages/by/bytesmith.yaml
<|file_sep|>current/packages/by/bytesmith.yaml
<|file_sep|>updated/packages/by/bytesmith.yaml | homepage: https://github.com/andrewthad/bytesmith
changelog-type: markdown
hash: fdd849629c7e5528c86ea81f5d9578f7831a6f0b599471b3c94364dbcbf2a9a0
test-bench-deps:
base: ! '>=4.12.0.0 && <5'
byteslice: -any
primitive: -any
bytesmith: -any
maintainer: andrew.thaddeus@gmail.com
synopsis: Nonresumable byte parser
c... | <|file_sep|>original/packages/by/bytesmith.yaml
<|file_sep|>current/packages/by/bytesmith.yaml
<|file_sep|>updated/packages/by/bytesmith.yaml
homepage: https://github.com/andrewthad/bytesmith
changelog-type: markdown
hash: fdd849629c7e5528c86ea81f5d9578f7831a6f0b599471b3c94364dbcbf2a9a0
test-bench-deps:
base: ! '>=... | d11262d1919611fe8da3cd49846ebac4628fbec4 | packages/by/bytesmith.yaml | packages/by/bytesmith.yaml | YAML |
<|file_sep|>original/usability/codefolding/codefoldingpreprocessor.py
<|file_sep|>current/usability/codefolding/codefoldingpreprocessor.py
<|file_sep|>updated/usability/codefolding/codefoldingpreprocessor.py | """This preprocessor removes lines in code cells that have been marked as `folded`
by the codefolding extension
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2014, Juergen Hasch
#
# Distributed under the terms of the Modified BSD License.
#
#------------------------... | <|file_sep|>original/usability/codefolding/codefoldingpreprocessor.py
<|file_sep|>current/usability/codefolding/codefoldingpreprocessor.py
<|file_sep|>updated/usability/codefolding/codefoldingpreprocessor.py
"""This preprocessor removes lines in code cells that have been marked as `folded`
by the codefolding extensio... | 13b5e76f80bf3364e1609e97970117c7b980c359 | usability/codefolding/codefoldingpreprocessor.py | usability/codefolding/codefoldingpreprocessor.py | Python |
<|file_sep|>original/plugins/python/org.eclipse.eclipsemonkey.lang.python.examples/samples/scripts/Views__Web_View.py
#
# Menu: Examples > Views > Py > Google Web View
# Kudos: Paul Colton
# License: EPL 1.0
#
from org.eclipse.swt.browser import LocationListener
from org.eclipse.eclipsemonkey.ui.scriptableView import ... | #
# Menu: Examples > Views > Py > Google Web View
# Kudos: Paul Colton
# License: EPL 1.0
#
from org.eclipse.swt.browser import LocationListener
from org.eclipse.eclipsemonkey.ui.views import GenericScriptableView
from org.eclipse.ui import IWorkbenchPage
class MyLocationListener(LocationListener):
def changing(se... | <|file_sep|>original/plugins/python/org.eclipse.eclipsemonkey.lang.python.examples/samples/scripts/Views__Web_View.py
#
# Menu: Examples > Views > Py > Google Web View
# Kudos: Paul Colton
# License: EPL 1.0
#
from org.eclipse.swt.browser import LocationListener
from org.eclipse.eclipsemonkey.ui.scriptableView import ... | 9e013b6123e3eefec64e9e479741a16fe4727ad6 | plugins/python/org.eclipse.eclipsemonkey.lang.python.examples/samples/scripts/Views__Web_View.py | plugins/python/org.eclipse.eclipsemonkey.lang.python.examples/samples/scripts/Views__Web_View.py | Python |
<|file_sep|>original/include/core/SkMilestone.h
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 92
#endif
<|file_sep|>current/include/core/SkMilestone.h
/*
* Copyright 2016 Google I... | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 93
#endif | <|file_sep|>original/include/core/SkMilestone.h
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SK_MILESTONE
#define SK_MILESTONE 92
#endif
<|file_sep|>current/include/core/SkMilestone.h
/*
* Copyright 2016 Google I... | 465819d7c20d1f80d71e9b219dcd02e812bc7540 | include/core/SkMilestone.h | include/core/SkMilestone.h | C |
<|file_sep|>original/lib/chef/knife/bootstrap/README.md
<|file_sep|>current/lib/chef/knife/bootstrap/README.md
<|file_sep|>updated/lib/chef/knife/bootstrap/README.md | This directory contains bootstrap templates which can be used with the -d flag
to 'knife bootstrap' to install Chef in different ways. To simplify installation,
and reduce the matrix of common installation patterns to support, we have
standardized on the [Omnibus](https://github.com/opscode/omnibus-ruby) built installa... | <|file_sep|>original/lib/chef/knife/bootstrap/README.md
<|file_sep|>current/lib/chef/knife/bootstrap/README.md
<|file_sep|>updated/lib/chef/knife/bootstrap/README.md
This directory contains bootstrap templates which can be used with the -d flag
to 'knife bootstrap' to install Chef in different ways. To simplify insta... | e27f5154aed4f4d9e60621169e451ab52da2a03f | lib/chef/knife/bootstrap/README.md | lib/chef/knife/bootstrap/README.md | Markdown |
<|file_sep|>original/README.md
=============
A chef cookbook for installing sshguard
Requirements
------------
This has been tested on amazon linux. It requires the iptables cookbook.
Note: This cookbook disables iptables default rules on rhel and fedora platforms.
#### packages
- `sshguard` - An rpm spec file can ... | =============
A chef cookbook for installing sshguard
Requirements
------------
This has been tested on amazon linux. It requires the iptables cookbook.
Note: This cookbook disables iptables default rules on rhel and fedora platforms.
#### packages
- `sshguard` - An rpm spec file can be found in the github reposito... | <|file_sep|>original/README.md
=============
A chef cookbook for installing sshguard
Requirements
------------
This has been tested on amazon linux. It requires the iptables cookbook.
Note: This cookbook disables iptables default rules on rhel and fedora platforms.
#### packages
- `sshguard` - An rpm spec file can ... | 6b998725ecf475f269b5a861e3af20a1bab1fc01 | README.md | README.md | Markdown |
<|file_sep|>metadata/menion.android.whereyougo.txt.diff
original:
updated:
Build:0.9.1,42
commit=0.9.1
gradle=yes
<|file_sep|>original/metadata/menion.android.whereyougo.txt
WhereYouGo is an unofficial client for Wherigo Geocaching. It displays online
and offline vector maps using Mapsforge library, alternati... |
Repo Type:git
Repo:https://github.com/biylda/WhereYouGo
Build:0.9.1-git,40
commit=5bdd47ff992250f8c65fc49f4f5d31ddc706cd8c
gradle=yes
forceversion=yes
Build:0.9.1,41
commit=0.9.1
gradle=yes
Build:0.9.1,42
commit=0.9.1
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Current... | <|file_sep|>metadata/menion.android.whereyougo.txt.diff
original:
updated:
Build:0.9.1,42
commit=0.9.1
gradle=yes
<|file_sep|>original/metadata/menion.android.whereyougo.txt
WhereYouGo is an unofficial client for Wherigo Geocaching. It displays online
and offline vector maps using Mapsforge library, alternati... | 0c0729cb93d5c67586cf42d7213ea71c51640399 | metadata/menion.android.whereyougo.txt | metadata/menion.android.whereyougo.txt | Text |
<|file_sep|>original/src/Console/AuthControllerMakeCommand.php
protected function getNamespace()
{
return $this->laravel->getNamespace().'\Http\Controllers\Auth';
}
/**
* Get publish files/paths.
*
* @return array
*/
abstract protected function publishes()
{
... | protected function getNamespace()
{
return $this->laravel->getNamespace().'\Http\Controllers\Auth';
}
/**
* Get publish files/paths.
*
* @return array
*/
protected function publishes()
{
$stub = __DIR__.'/../../stubs';
return [
"{$stub}/c... | <|file_sep|>original/src/Console/AuthControllerMakeCommand.php
protected function getNamespace()
{
return $this->laravel->getNamespace().'\Http\Controllers\Auth';
}
/**
* Get publish files/paths.
*
* @return array
*/
abstract protected function publishes()
{
... | 1ed4fb85af1da732d3b9669b3015de89c6bdcd51 | src/Console/AuthControllerMakeCommand.php | src/Console/AuthControllerMakeCommand.php | PHP |
<|file_sep|>original/index.spec.js
'use strict';
//====================================================================
var hashy = require('./');
//--------------------------------------------------------------------
var expect = require('chai').expect;
var Bluebird = require('bluebird');
//======================... | 'use strict';
//====================================================================
var hashy = require('./');
//--------------------------------------------------------------------
var expect = require('chai').expect;
var Bluebird = require('bluebird');
Bluebird.longStackTraces();
//=============================... | <|file_sep|>original/index.spec.js
'use strict';
//====================================================================
var hashy = require('./');
//--------------------------------------------------------------------
var expect = require('chai').expect;
var Bluebird = require('bluebird');
//======================... | 976b2708af47bf03b2c2406b159735af43a01bf1 | index.spec.js | index.spec.js | JavaScript |
<|file_sep|>original/Manifold/AnnotatedTerm.swift
switch self {
case let .Unroll(all):
return all
}
}
// MARK: TermContainerType
public var out: Scoping<AnnotatedTerm> {
return destructure.1
}
public var freeVariables: Set<Name> {
return []
}
}
public func == <Annotation: Equatable> (left: Annot... | }
// MARK: TermContainerType
public var out: Scoping<AnnotatedTerm> {
return destructure.1
}
public var freeVariables: Set<Name> {
switch out {
case let .Identity(expression):
return expression.foldMap { $0.freeVariables }
case let .Variable(name):
return [ name ]
case let .Abstraction(name, sc... | <|file_sep|>original/Manifold/AnnotatedTerm.swift
switch self {
case let .Unroll(all):
return all
}
}
// MARK: TermContainerType
public var out: Scoping<AnnotatedTerm> {
return destructure.1
}
public var freeVariables: Set<Name> {
return []
}
}
public func == <Annotation: Equatable> (left: Annot... | 3b5cfbefa36fbd7ebf979b2dcb323e47a1064f36 | Manifold/AnnotatedTerm.swift | Manifold/AnnotatedTerm.swift | Swift |
<|file_sep|>original/project/requirements/base.txt
# Python-PostgreSQL Database Adapter
psycopg2==2.6.2
# Unicode slugification
git+git://github.com/mozilla/unicode-slugify#egg=unicode-slugify==0.1.3-HEAD
django-autoslug==1.9.3
# Time zones support
pytz==2016.10
# Your custom requirements go here
django-bootstrap3==... | # Python-PostgreSQL Database Adapter
psycopg2==2.6.2
# Unicode slugification
git+git://github.com/mozilla/unicode-slugify#egg=unicode-slugify==0.1.3-HEAD
django-autoslug==1.9.3
# Time zones support
pytz==2016.10
# Your custom requirements go here
django-bootstrap3==6.2.2
django-reversion==1.9.3
djangorestframework==... | <|file_sep|>original/project/requirements/base.txt
# Python-PostgreSQL Database Adapter
psycopg2==2.6.2
# Unicode slugification
git+git://github.com/mozilla/unicode-slugify#egg=unicode-slugify==0.1.3-HEAD
django-autoslug==1.9.3
# Time zones support
pytz==2016.10
# Your custom requirements go here
django-bootstrap3==... | 870d2c00ab6f8bad3caaec1ec2fa767f49f318c3 | project/requirements/base.txt | project/requirements/base.txt | Text |
<|file_sep|>passwordhash.py.diff
original:
#!/usr/bin/env python
updated:
#!/usr/bin/env python3
<|file_sep|>passwordhash.py.diff
original:
import os
import binascii
updated:
#import os
#import binascii
<|file_sep|>passwordhash.py.diff
original:
passwordHash = crypt.crypt(password, '$6$' + binascii.hexlify(os.urand... | from getpass import getpass
import crypt
# If you like Python 2, please to be importing.
#import os
#import binascii
password = getpass('Enter your desired password, Harry: ')
passwordConfirm = getpass('Confirm your password: ')
if (password == passwordConfirm):
# Python 2 alternative, os.urandom()
#password... | <|file_sep|>passwordhash.py.diff
original:
#!/usr/bin/env python
updated:
#!/usr/bin/env python3
<|file_sep|>passwordhash.py.diff
original:
import os
import binascii
updated:
#import os
#import binascii
<|file_sep|>passwordhash.py.diff
original:
passwordHash = crypt.crypt(password, '$6$' + binascii.hexlify(os.urand... | 614a5de89a5746e95dc14f371d001c5a9056f646 | passwordhash.py | passwordhash.py | Python |
<|file_sep|>original/vendor/bootstrap/css/main.css
body {
background: url('https://github.com/allisonPlusPlus/therapy3/blob/master/1918.jpeg?raw=true') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
.... |
body {
background: url('https://github.com/allisonPlusPlus/therapy3/blob/master/1918.jpeg?raw=true') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
.h1 {
font-family: 'Artifika', serif;
}
.quote {
... | <|file_sep|>original/vendor/bootstrap/css/main.css
body {
background: url('https://github.com/allisonPlusPlus/therapy3/blob/master/1918.jpeg?raw=true') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}
.... | fc0f67c9903b8ff2368a5687796bd00af222e611 | vendor/bootstrap/css/main.css | vendor/bootstrap/css/main.css | CSS |
<|file_sep|>original/test/index.html
<!-- build:css style.css -->
<link rel="stylesheet" href="css/clear.css"/>
<link rel="stylesheet" href="css/main.css"/>
<!-- endbuild -->
<!-- build:js js/lib.js -->
<script src="../lib/angular-min.js"></script>
<script src="../lib/angular-animate-min.js"></script>
<!-- endbuild --... | <!-- build:css style.css -->
<link rel="stylesheet" href="css/clear.css"/>
<link rel="stylesheet" href="css/main.css"/>
<!-- endbuild -->
<!-- build:js js/lib.js -->
<script src="../lib/angular-min.js" defer async></script>
<script src="../lib/angular-animate-min.js" defer async></script>
<!-- endbuild -->
<!-- build... | <|file_sep|>original/test/index.html
<!-- build:css style.css -->
<link rel="stylesheet" href="css/clear.css"/>
<link rel="stylesheet" href="css/main.css"/>
<!-- endbuild -->
<!-- build:js js/lib.js -->
<script src="../lib/angular-min.js"></script>
<script src="../lib/angular-animate-min.js"></script>
<!-- endbuild --... | 711ddf70a898d8bf9961da6577986b0b89918bc9 | test/index.html | test/index.html | HTML |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- ... | language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set al... | <|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- ... | 9031feff38a3783613f0786562050b908197c05a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
colorama>=0.3.3
PySerial>=2.7
PrettyTable>=0.7.2
Jinja2>=2.7.3
IntelHex>=1.3
junit-xml
pyYAML
requests
mbed-ls>=0.2.13
mbed-host-tests>=1.1.2
mbed-greentea>=0.2.24
beautifulsoup4>=4
fuzzywuzzy>=0.11
pyelftools>=0.24
jsonschema>=2.6
future>=0.16.0
six>=1.11.0
git+https://github.com/... | PrettyTable>=0.7.2
Jinja2>=2.7.3
IntelHex>=1.3
junit-xml
pyYAML
requests
mbed-ls>=0.2.13
mbed-host-tests>=1.1.2
mbed-greentea>=0.2.24
beautifulsoup4>=4
fuzzywuzzy>=0.11
pyelftools>=0.24
jsonschema>=2.6
future>=0.16.0
six>=1.11.0
git+https://github.com/armmbed/manifest-tool.git@v1.4.5
pyOpenSSL
cryptography
idna
certifi... | <|file_sep|>original/requirements.txt
colorama>=0.3.3
PySerial>=2.7
PrettyTable>=0.7.2
Jinja2>=2.7.3
IntelHex>=1.3
junit-xml
pyYAML
requests
mbed-ls>=0.2.13
mbed-host-tests>=1.1.2
mbed-greentea>=0.2.24
beautifulsoup4>=4
fuzzywuzzy>=0.11
pyelftools>=0.24
jsonschema>=2.6
future>=0.16.0
six>=1.11.0
git+https://github.com/... | f46bcf1abcd66b702cec8cee416f143f88b0a9d8 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/packages/re/recursors.yaml
<|file_sep|>current/packages/re/recursors.yaml
<|file_sep|>updated/packages/re/recursors.yaml | homepage: https://www.github.com/jwiegley/recursors
changelog-type: ''
hash: c6add2c78b7307cbbfa31ee6470a5c967bd497c19efac97aedce66d52934f262
test-bench-deps:
base: ! '>=4.9 && <5.0'
hspec: ! '>=2.2 && <2.3'
QuickCheck: ! '>=2.8 && <2.9'
recursors: -any
template-haskell: ! '>=2.11 && <2.12'
maintainer: johnw@... | <|file_sep|>original/packages/re/recursors.yaml
<|file_sep|>current/packages/re/recursors.yaml
<|file_sep|>updated/packages/re/recursors.yaml
homepage: https://www.github.com/jwiegley/recursors
changelog-type: ''
hash: c6add2c78b7307cbbfa31ee6470a5c967bd497c19efac97aedce66d52934f262
test-bench-deps:
base: ! '>=4.9 ... | d885bdba61604853d6199de1f6ec60d6d60ce699 | packages/re/recursors.yaml | packages/re/recursors.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
- 1.3
- 1.4
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 1.5.3
- 1.6
<|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.3
- 1.4
- 1.5
- tip
before_install:
- go get golang.org/x/tools/cmd/vet
- go get github.com/golang/lint/golint... | language: go
sudo: false
go:
- 1.5
- 1.5.3
- 1.6
- tip
before_install:
- go get github.com/golang/lint/golint
install:
- go get -v -t .
script:
- go test -v .
- go vet ./...
- golint ./... | <|file_sep|>.travis.yml.diff
original:
- 1.3
- 1.4
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- 1.5.3
- 1.6
<|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.3
- 1.4
- 1.5
- tip
before_install:
- go get golang.org/x/tools/cmd/vet
- go get github.com/golang/lint/golint... | 40fb6fa447b75834ab147b45043ba3bad4e0c056 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Listeners/SetUserDefaultSettings.php
$settings = [];
// Notifications
$settings['notifications'] = [];
foreach (collect([
$this->notificationHelper->getGeneralTypes(),
$this->notificationHelper->getHourlyDominionTypes(),
$thi... |
/**
* Handle the event.
*
* @param UserRegisteredEvent $event
* @return void
*/
public function handle(UserRegisteredEvent $event): void
{
$user = $event->getUser();
$settings = [];
// Notifications
$settings['notifications'] = $this->notificationH... | <|file_sep|>original/src/Listeners/SetUserDefaultSettings.php
$settings = [];
// Notifications
$settings['notifications'] = [];
foreach (collect([
$this->notificationHelper->getGeneralTypes(),
$this->notificationHelper->getHourlyDominionTypes(),
$thi... | 1578e24687cfeab2c7969ef3d5dd6c1c8ca1538c | src/Listeners/SetUserDefaultSettings.php | src/Listeners/SetUserDefaultSettings.php | PHP |
<|file_sep|>original/static/fluent/es-AR/main.ftl
<|file_sep|>current/static/fluent/es-AR/main.ftl
<|file_sep|>updated/static/fluent/es-AR/main.ftl | ## The following terms must be treated as brand, and kept in English.
##
## They cannot be:
## - Transliterated.
## - Translated.
##
## Declension should be avoided where possible.
##
## Reference: https://mozilla-l10n.github.io/styleguides/mozilla_general/index.html#brands-copyright-and-trademark
-webthings-gateway-b... | <|file_sep|>original/static/fluent/es-AR/main.ftl
<|file_sep|>current/static/fluent/es-AR/main.ftl
<|file_sep|>updated/static/fluent/es-AR/main.ftl
## The following terms must be treated as brand, and kept in English.
##
## They cannot be:
## - Transliterated.
## - Translated.
##
## Declension should be avoided where... | 7e694bbd2d5876742d172803acf44e8c0d81d8b4 | static/fluent/es-AR/main.ftl | static/fluent/es-AR/main.ftl | FreeMarker |
<|file_sep|>tests/Feature/TagTest.php.diff
original:
updated:
// Edit
<|file_sep|>original/tests/Feature/TagTest.php
$response = $this->get('/tags/' . $tag->id . '/edit');
$response->assertStatus(200);
}
public function testUnauthorizedUserCantEditTag() {
$user = factory(User::cla... | $tag = factory(Tag::class)->create([
'space_id' => $space->id
]);
$this->actingAs($user);
$response = $this->get('/tags/' . $tag->id . '/edit');
$response->assertStatus(403);
}
// Update
public function testUpdateTag() {
$user = factory(User::c... | <|file_sep|>tests/Feature/TagTest.php.diff
original:
updated:
// Edit
<|file_sep|>original/tests/Feature/TagTest.php
$response = $this->get('/tags/' . $tag->id . '/edit');
$response->assertStatus(200);
}
public function testUnauthorizedUserCantEditTag() {
$user = factory(User::cla... | 895d347b48b13a2be03b51db8af8a993db06b067 | tests/Feature/TagTest.php | tests/Feature/TagTest.php | PHP |
<|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff
original:
<group>
updated:
<group android:id="@+id/import_events">
<|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff
original:
updated:
<group android:id="@+id/open_source">
<item
android:id="@+id/nav_github_link"... | <item
android:id="@+id/nav_github_link"
android:icon="@drawable/ic_github"
android:title="@string/Memento_on_Github" />
</group>
<group android:id="@+id/memento">
<item
android:id="@+id/nav_donate"
android:icon="@drawable/ic_donate"
android:title="@string/Donate_Remove_a... | <|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff
original:
<group>
updated:
<group android:id="@+id/import_events">
<|file_sep|>android_mobile/src/main/res/menu/menu_nav_drawer.xml.diff
original:
updated:
<group android:id="@+id/open_source">
<item
android:id="@+id/nav_github_link"... | 18319deac53a7b76c86e3bd24c7001e37a21acac | android_mobile/src/main/res/menu/menu_nav_drawer.xml | android_mobile/src/main/res/menu/menu_nav_drawer.xml | XML |
<|file_sep|>original/requirements/base.txt
Django==1.9.2
django-model-utils==2.4
dj-database-url==0.4.0
gunicorn==19.4.5
pbr==1.8.1
psycopg2==2.6.1
six==1.10.0
stevedore==1.11.0
Unipath==1.1
virtualenv==14.0.6
virtualenv-clone==0.2.6
virtualenvwrapper==4.7.1
wheel==0.24.0
requests==2.9.1
requests-oauthlib==0.6.1
<|fil... | Django==1.9.2
django-model-utils==2.4
dj-database-url==0.4.0
gunicorn==19.4.5
pbr==1.8.1
psycopg2==2.6.1
pytz==2015.7
six==1.10.0
stevedore==1.11.0
Unipath==1.1
virtualenv==14.0.6
virtualenv-clone==0.2.6
virtualenvwrapper==4.7.1
wheel==0.24.0
requests==2.9.1
requests-oauthlib==0.6.1
| <|file_sep|>original/requirements/base.txt
Django==1.9.2
django-model-utils==2.4
dj-database-url==0.4.0
gunicorn==19.4.5
pbr==1.8.1
psycopg2==2.6.1
six==1.10.0
stevedore==1.11.0
Unipath==1.1
virtualenv==14.0.6
virtualenv-clone==0.2.6
virtualenvwrapper==4.7.1
wheel==0.24.0
requests==2.9.1
requests-oauthlib==0.6.1
<|fil... | fd170a430bd8588783e829920f161be9fcbcbc3b | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/app/index.js
'use strict';
var express = require('express'),
index = require('./routes/index.js');
var app = express();
app.get('/', index.get);
var server = app.listen(3000, function () {
var host = server.address().address;
var port = server.address().port;
console.log('Listening at h... | 'use strict';
var express = require('express'),
index = require('./routes/index.js');
var app = express();
app.get('/', index.get);
var server = app.listen(process.env.PORT || 3000, function () {
var host = server.address().address;
var port = server.address().port;
console.log('Listening at http://%s:%s', ... | <|file_sep|>original/app/index.js
'use strict';
var express = require('express'),
index = require('./routes/index.js');
var app = express();
app.get('/', index.get);
var server = app.listen(3000, function () {
var host = server.address().address;
var port = server.address().port;
console.log('Listening at h... | 0080f81ee471972876be9fe847f60da2c6f37fc0 | app/index.js | app/index.js | JavaScript |
<|file_sep|>src/external-example.js.diff
original:
updated:
var baseDir = env.opts.query.externalExBase;
<|file_sep|>original/src/external-example.js
var names;
if (!examples) {
examples = doclet.externalExamples = [];
}
names = tag.value.type && tag.value.type.names;
if (names) {
example.isRu... | var names;
if (!examples) {
examples = doclet.externalExamples = [];
}
names = tag.value.type && tag.value.type.names;
if (names) {
example.isRunnable = names.indexOf("runnable") > -1;
} else {
example.isRunnable = false;
}
example.src = readFileSync(
baseDir + "/" + tag.value... | <|file_sep|>src/external-example.js.diff
original:
updated:
var baseDir = env.opts.query.externalExBase;
<|file_sep|>original/src/external-example.js
var names;
if (!examples) {
examples = doclet.externalExamples = [];
}
names = tag.value.type && tag.value.type.names;
if (names) {
example.isRu... | 6917f99574655e76d33f8ada125a9aef28193c7a | src/external-example.js | src/external-example.js | JavaScript |
<|file_sep|>original/src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts
<|file_sep|>current/src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts
<|file_sep|>updated/src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts | /// <reference path="../../../lib/DefinitelyTyped/jasmine/jasmine.d.ts"/>
import AdhMetaApi = require("./MetaApi");
var sampleMetaApi : AdhMetaApi.IMetaApi = {
"resources" : {
"adhocracy.resources.root.IRootPool" : {
"sheets" : [
"adhocracy.sheets.name.IName",
"... | <|file_sep|>original/src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts
<|file_sep|>current/src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts
<|file_sep|>updated/src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts
/// <reference path="../../../li... | 0181eb9423f25208792dbe26523159bbdcb18955 | src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts | src/adhocracy/adhocracy/frontend/static/js/Packages/MetaApi/MetaApiSpec.ts | TypeScript |
<|file_sep|>original/Harekaze/Models/Channel.swift
// MARK: - Primary key definition
override static func primaryKey() -> String? {
return "id"
}
// MARK: - Class initialization
required convenience init?(_ map: Map) {
self.init()
mapping(map)
}
// MARK: - JSON value mapping
func mapping(map: Map) {
c... | // MARK: - Primary key definition
override static func primaryKey() -> String? {
return "id"
}
// MARK: - Class initialization
required convenience init?(_ map: Map) {
self.init()
mapping(map)
}
// MARK: - JSON value mapping
func mapping(map: Map) {
channel <- (map["channel"], TransformOf<Int, String>... | <|file_sep|>original/Harekaze/Models/Channel.swift
// MARK: - Primary key definition
override static func primaryKey() -> String? {
return "id"
}
// MARK: - Class initialization
required convenience init?(_ map: Map) {
self.init()
mapping(map)
}
// MARK: - JSON value mapping
func mapping(map: Map) {
c... | 3a593fb364f6d068f23c13e62d93accd8533386f | Harekaze/Models/Channel.swift | Harekaze/Models/Channel.swift | Swift |
<|file_sep|>bower.json.diff
original:
"ember": "1.8.1",
"ember-data": "1.0.0-beta.14.1",
updated:
"ember": "2.0.1",
"ember-data": "2.0.0",
<|file_sep|>original/bower.json
{
"name": "ember-autosave",
"dependencies": {
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "1.8.1",
"emb... | {
"name": "ember-autosave",
"dependencies": {
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "2.0.1",
"ember-data": "2.0.0",
"ember-resolver": "~0.1.11",
"loader.js": "ember-cli/loader.js#1.0.1",
"ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "e... | <|file_sep|>bower.json.diff
original:
"ember": "1.8.1",
"ember-data": "1.0.0-beta.14.1",
updated:
"ember": "2.0.1",
"ember-data": "2.0.0",
<|file_sep|>original/bower.json
{
"name": "ember-autosave",
"dependencies": {
"handlebars": "~1.3.0",
"jquery": "^1.11.1",
"ember": "1.8.1",
"emb... | b23768fa388e4e96b220ae0412118816c6f58c53 | bower.json | bower.json | JSON |
<|file_sep|>original/setup.py
'Values are gettable and settable using both attribute and item syntax. '
'For more info check out the README at \'github.com/mewwts/addict\'.')
setup(
name='addict',
version=addict.__version__,
packages=['addict'],
url='https://github.com/mewwts/addict',
aut... |
setup(
name='addict',
version=addict.__version__,
packages=['addict'],
url='https://github.com/mewwts/addict',
author=addict.__author__,
author_email='mats@plysjbyen.net',
classifiers=(
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Progr... | <|file_sep|>original/setup.py
'Values are gettable and settable using both attribute and item syntax. '
'For more info check out the README at \'github.com/mewwts/addict\'.')
setup(
name='addict',
version=addict.__version__,
packages=['addict'],
url='https://github.com/mewwts/addict',
aut... | e6cbf0c51e3bd0f639584a3bbd97c394bd844c57 | setup.py | setup.py | Python |
<|file_sep|>original/app/views/database/index.html
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Bucket Name</th>
</tr>
</thead>
<tbody>
<p>$scope.buckets:</p>
<p>{{JSON.stringify($scope.buckets)}}</p>
<tr data-ng-repeat="buck... | <table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Bucket Name</th>
</tr>
</thead>
<tbody>
<tr data-ng-repeat="bucket in buckets">
<td>{{$index + 1}}</td>
<td>
<a data-ui-sref="collection({ did: bucket.id })... | <|file_sep|>original/app/views/database/index.html
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Bucket Name</th>
</tr>
</thead>
<tbody>
<p>$scope.buckets:</p>
<p>{{JSON.stringify($scope.buckets)}}</p>
<tr data-ng-repeat="buck... | 4f1d9034b11845951b8fd93c4addc2111623c01a | app/views/database/index.html | app/views/database/index.html | HTML |
<|file_sep|>original/smile_base/models/mail_mail.py
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#... | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#####################################################... | <|file_sep|>original/smile_base/models/mail_mail.py
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#... | ed5efcadb03aed8fa48ebde618317d795387d1f5 | smile_base/models/mail_mail.py | smile_base/models/mail_mail.py | Python |
<|file_sep|>original/.github/workflows/package-size-report.yml
<|file_sep|>current/.github/workflows/package-size-report.yml
<|file_sep|>updated/.github/workflows/package-size-report.yml | name: Package Size Report
on:
pull_request:
branches: [ master, develop ]
jobs:
pkg-size-report:
name: Package Size Report
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Package size report
uses: pkg-size/action@v1
env:
... | <|file_sep|>original/.github/workflows/package-size-report.yml
<|file_sep|>current/.github/workflows/package-size-report.yml
<|file_sep|>updated/.github/workflows/package-size-report.yml
name: Package Size Report
on:
pull_request:
branches: [ master, develop ]
jobs:
pkg-size-report:
name: Package Size R... | 2fa7dae6f74609d40dcb20f2fdaa516ad666ccb4 | .github/workflows/package-size-report.yml | .github/workflows/package-size-report.yml | YAML |
<|file_sep|>original/examples/mqtt_auth/mqtt_auth.ino
while ((WiFi.status() != WL_CONNECTED) && (retries < 10)) {
retries++;
delay(500);
Serial.print(".");
}
if (WiFi.status() == WL_CONNECTED) {
Serial.println("");
Serial.println("WiFi connected");
}
client.set_auth("testeruser", "testpas... | while ((WiFi.status() != WL_CONNECTED) && (retries < 10)) {
retries++;
delay(500);
Serial.print(".");
}
if (WiFi.status() == WL_CONNECTED) {
Serial.println("");
Serial.println("WiFi connected");
}
if (client.connect(MQTT::Connect("arduinoClient")
.set_auth("testeruser", "tes... | <|file_sep|>original/examples/mqtt_auth/mqtt_auth.ino
while ((WiFi.status() != WL_CONNECTED) && (retries < 10)) {
retries++;
delay(500);
Serial.print(".");
}
if (WiFi.status() == WL_CONNECTED) {
Serial.println("");
Serial.println("WiFi connected");
}
client.set_auth("testeruser", "testpas... | 717ee6a456bde931b11a55082807e534cd8333d7 | examples/mqtt_auth/mqtt_auth.ino | examples/mqtt_auth/mqtt_auth.ino | Arduino |
<|file_sep|>original/main.lua
require('luvi').bundle.register("luvit-require", "modules/require.lua");
local uv = require('uv')
local require = require('luvit-require')()("bundle:main.lua")
_G.p = require('pretty-print').prettyPrint
local version = require('./package').version
coroutine.wrap(function ()
local log = r... | require('luvi').bundle.register("luvit-require", "modules/require.lua");
local uv = require('uv')
local require = require('luvit-require')()("bundle:main.lua")
_G.p = require('pretty-print').prettyPrint
local version = require('./package').version
coroutine.wrap(function ()
local log = require('./lib/log')
local su... | <|file_sep|>original/main.lua
require('luvi').bundle.register("luvit-require", "modules/require.lua");
local uv = require('uv')
local require = require('luvit-require')()("bundle:main.lua")
_G.p = require('pretty-print').prettyPrint
local version = require('./package').version
coroutine.wrap(function ()
local log = r... | 2b36b3cf6bd015c5ee030c1da4b496ca30de0272 | main.lua | main.lua | Lua |
<|file_sep|>original/docker-compose-clean.yml
cleandev:
build: .
dockerfile: Dockerfile-clean
ports:
- "8000:8000"
- "8080:8080"
- "9876:9876"
volumes:
- ".:/vagrant"
environment:
- PYTHONDONTWRITEBYTECODE=true
- NODE_PATH=/vagrant-dev/node_modules/
- GGRC_DATABASE_URI=mysql+mysqldb://roo... | build: .
dockerfile: Dockerfile-clean
ports:
- "8000:8000"
- "8080:8080"
- "9876:9876"
volumes:
- ".:/vagrant"
environment:
- PYTHONDONTWRITEBYTECODE=true
- NODE_PATH=/vagrant-dev/node_modules/
- GGRC_DATABASE_URI=mysql+mysqldb://root:root@db/ggrcdev?charset=utf8
- GGRC_DATABASE_HOST=d... | <|file_sep|>original/docker-compose-clean.yml
cleandev:
build: .
dockerfile: Dockerfile-clean
ports:
- "8000:8000"
- "8080:8080"
- "9876:9876"
volumes:
- ".:/vagrant"
environment:
- PYTHONDONTWRITEBYTECODE=true
- NODE_PATH=/vagrant-dev/node_modules/
- GGRC_DATABASE_URI=mysql+mysqldb://roo... | 5f893522b59f466401b438458f8071dae78618c3 | docker-compose-clean.yml | docker-compose-clean.yml | YAML |
<|file_sep|>original/README.md
The Digital Methods Initiative Twitter Capture and Analysis Toolset (DMI-TCAT) allows one to retrieve and collect tweets from Twitter and to analyze them in various ways.
Please check https://github.com/digitalmethodsinitiative/dmi-tcat/wiki for further information and installation instr... | # FF-tcat
FF-TCAT (FloodFire Twitter Capture and Analysis Toolset )
This repostories was fork from [DMI-TCAT](https://github.com/digitalmethodsinitiative/dmi-tcat) at May 10, 2015. Our research team add new user interface for using Twitter search API.
---
The Digital Methods Initiative Twitter Capture and Analysis... | <|file_sep|>original/README.md
The Digital Methods Initiative Twitter Capture and Analysis Toolset (DMI-TCAT) allows one to retrieve and collect tweets from Twitter and to analyze them in various ways.
Please check https://github.com/digitalmethodsinitiative/dmi-tcat/wiki for further information and installation instr... | 3da2c93fe8959aaa736df9d089aeb07a37d1e6b4 | README.md | README.md | Markdown |
<|file_sep|>backend/lib/stats/index.js.diff
original:
updated:
var relative_path = __dirname + '/../../../dist/documents/stats.json';
<|file_sep|>original/backend/lib/stats/index.js
var date = new Date();
date = new Date(date.toISOString().slice(0,10));
date.setDate(date.getDate() - nb_days);
return da... | date = new Date(date.toISOString().slice(0,10));
date.setDate(date.getDate() - nb_days);
return date;
}
var nineWeeksAgo = dateDaysAgo(7 * 9);
var yesterday = dateDaysAgo(1);
var today = dateDaysAgo(0);
var relative_path = __dirname + '/../../../dist/documents/stats.json';
Promise.all([
mongodb.getDai... | <|file_sep|>backend/lib/stats/index.js.diff
original:
updated:
var relative_path = __dirname + '/../../../dist/documents/stats.json';
<|file_sep|>original/backend/lib/stats/index.js
var date = new Date();
date = new Date(date.toISOString().slice(0,10));
date.setDate(date.getDate() - nb_days);
return da... | c247ed8bfdd6bfd0103a25254f6c7645eec63469 | backend/lib/stats/index.js | backend/lib/stats/index.js | JavaScript |
<|file_sep|>original/test/reducers/slides/actions/moveSlideDown-spec.ts
<|file_sep|>current/test/reducers/slides/actions/moveSlideDown-spec.ts
<|file_sep|>updated/test/reducers/slides/actions/moveSlideDown-spec.ts | import { expect } from 'chai';
import { MOVE_SLIDE_DOWN } from '../../../../app/constants/slides.constants';
export default function(initialState: any, reducer: any, slide: any) {
const dummySlide1 = {
plugins: ['plugin1'],
state: {
backgroundColor: { r: 255, g: 255, b: 255, a: 100 },
transition:... | <|file_sep|>original/test/reducers/slides/actions/moveSlideDown-spec.ts
<|file_sep|>current/test/reducers/slides/actions/moveSlideDown-spec.ts
<|file_sep|>updated/test/reducers/slides/actions/moveSlideDown-spec.ts
import { expect } from 'chai';
import { MOVE_SLIDE_DOWN } from '../../../../app/constants/slides.constan... | 5db64ce545a4a291fa1944b03de974eae11d94f8 | test/reducers/slides/actions/moveSlideDown-spec.ts | test/reducers/slides/actions/moveSlideDown-spec.ts | TypeScript |
<|file_sep|>string/string-type/app.js.diff
original:
// console.log("Character at: ", );
updated:
// console.log("The First Character : ", );
// console.log("Character at the end: ");
<|file_sep|>string/string-type/app.js.diff
original:
console.log("Index of 'www.':", index);
updated:
// console.log("Index of 'www.':",... | // CharAt
// console.log("The First Character : ", );
// console.log("Character at the end: ");
// index of
let index;
// console.log("Index of 'www.':", index);
let lastIndex;
// console.log("Last index of '.'", lastIndex);
// slice
console.log('==== Slice =====')
// website = "https://www.bots.in.th";
// let fro... | <|file_sep|>string/string-type/app.js.diff
original:
// console.log("Character at: ", );
updated:
// console.log("The First Character : ", );
// console.log("Character at the end: ");
<|file_sep|>string/string-type/app.js.diff
original:
console.log("Index of 'www.':", index);
updated:
// console.log("Index of 'www.':",... | 06716408c13349a134c6021f0ae1b92722d26cd1 | string/string-type/app.js | string/string-type/app.js | JavaScript |
<|file_sep|>example/basic.html.diff
original:
<meta charset="UTF-8">
<title>Basic</title>
<link rel="stylesheet" href="../assets/style.css">
updated:
<meta charset="UTF-8">
<title>Basic</title>
<link rel="stylesheet" href="../assets/style.css">
<|file_sep|>example/basic.html.diff
original:
<h1 cla... | <li><strong>Delete interactions:</strong> Backspace key, Delete key, Cut (Ctrl+X or Context Menu), Drag and Drop, Undo (Ctrl+Z or Context menu).</li>
</ul>
<div class="test-section clearfix">
<div class="col fl">
<h2>Auto resize textarea</h2>
<textarea name="desc" id="desc" class="desc" rows="1"... | <|file_sep|>example/basic.html.diff
original:
<meta charset="UTF-8">
<title>Basic</title>
<link rel="stylesheet" href="../assets/style.css">
updated:
<meta charset="UTF-8">
<title>Basic</title>
<link rel="stylesheet" href="../assets/style.css">
<|file_sep|>example/basic.html.diff
original:
<h1 cla... | 2038b00b4b35952b5d4ac884f7c6b758cc667583 | example/basic.html | example/basic.html | HTML |
<|file_sep|>original/app/views/user/edit-movie.erb
<div id="edit-movie">
<form action='/user/<%= @user.id %>/<%= @movie.name %>' method="POST">
<input type="hidden" name="_method" value="PUT">
<input type="text" name="movie[name]" value="<%= @movie.name %>"><br>
<p>ADD DROP DOWN FOR GENRE<p>
<input ... | <div id="edit-movie">
<form action='/user/<%= @user.id %>/<%= @movie.name %>' method="POST">
<input type="hidden" name="_method" value="PUT">
Name: <input type="text" name="movie[name]" value="<%= @movie.name %>"><br>
Genre:<input type="text" name="genre[name]" value="<%= @movie.genres.first.name %>"><br... | <|file_sep|>original/app/views/user/edit-movie.erb
<div id="edit-movie">
<form action='/user/<%= @user.id %>/<%= @movie.name %>' method="POST">
<input type="hidden" name="_method" value="PUT">
<input type="text" name="movie[name]" value="<%= @movie.name %>"><br>
<p>ADD DROP DOWN FOR GENRE<p>
<input ... | ac4f8061b17af2ced00dab8b690330f81ed75770 | app/views/user/edit-movie.erb | app/views/user/edit-movie.erb | HTML+ERB |
<|file_sep|>original/bot/src/main/java/com/kantenkugel/discordbot/versioncheck/RepoType.java
package com.kantenkugel.discordbot.versioncheck;
import org.apache.commons.lang3.tuple.Pair;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public enum RepoType
{
JCENTER("http://jcenter.bi... | package com.kantenkugel.discordbot.versioncheck;
import org.apache.commons.lang3.tuple.Pair;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public enum RepoType
{
JCENTER("https://jcenter.bintray.com/", Pair.of("jcenter()", null), "bintray"),
MAVENCENTRAL("https://repo.maven.ap... | <|file_sep|>original/bot/src/main/java/com/kantenkugel/discordbot/versioncheck/RepoType.java
package com.kantenkugel.discordbot.versioncheck;
import org.apache.commons.lang3.tuple.Pair;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public enum RepoType
{
JCENTER("http://jcenter.bi... | c632c22c94eb18fa2ebb6c5281656305d31e6ec5 | bot/src/main/java/com/kantenkugel/discordbot/versioncheck/RepoType.java | bot/src/main/java/com/kantenkugel/discordbot/versioncheck/RepoType.java | Java |
<|file_sep|>original/src/_Code.sass
// Code
// ––––––––––––––––––––––––––––––––––––––––––––––––––
code
background: $color-tertiary
border-radius: .4rem
font-size: 86%
margin: 0 .2rem
padding: .2rem .5rem
white-space: nowrap
pre
background: $color-tertiary
border-left: .3rem solid $color-primary
& > code
... | // Code
// ––––––––––––––––––––––––––––––––––––––––––––––––––
code
background: $color-tertiary
border-radius: .4rem
font-size: 86%
margin: 0 .2rem
padding: .2rem .5rem
white-space: nowrap
pre
background: $color-tertiary
border-left: .3rem solid $color-primary
overflow-y: hidden
& > code
border-radius: 0
... | <|file_sep|>original/src/_Code.sass
// Code
// ––––––––––––––––––––––––––––––––––––––––––––––––––
code
background: $color-tertiary
border-radius: .4rem
font-size: 86%
margin: 0 .2rem
padding: .2rem .5rem
white-space: nowrap
pre
background: $color-tertiary
border-left: .3rem solid $color-primary
& > code
... | 12585c15336cc78511652e04d9e1858404e6536a | src/_Code.sass | src/_Code.sass | Sass |
<|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake
# Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "e67dee8bba18786b8fabe8fe212455481ca5c8b3")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_... | # Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "169d63f7c4360e0a1ad9de6917ce734d97113a75")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "") | <|file_sep|>original/cmake/Depthai/DepthaiDeviceSideConfig.cmake
# Maturity level "snapshot" / "release"
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")
# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "e67dee8bba18786b8fabe8fe212455481ca5c8b3")
# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_... | 5bd57d8f8aee7c862f13baf15972ccc314861f98 | cmake/Depthai/DepthaiDeviceSideConfig.cmake | cmake/Depthai/DepthaiDeviceSideConfig.cmake | CMake |
<|file_sep|>libraries/o-error/test/support/index.js.diff
original:
// should set the name to the error's name
expect(e.name).to.equal(expected.name)
updated:
expect(
e.name,
"error should set the name property to the error's name"
).to.equal(expected.name)
<|file_sep|>libraries/o-error/test/support/inde... | expect(
e.stack.split('\n')[0],
'stack should start with the default error message formatting'
).to.match(new RegExp(`^${expected.name}:`))
expect(
e.stack.split('\n')[1],
'first stack frame should be the function where the error was thrown'
).to.match(expected.firstFrameRx)
}
exports.expectFu... | <|file_sep|>libraries/o-error/test/support/index.js.diff
original:
// should set the name to the error's name
expect(e.name).to.equal(expected.name)
updated:
expect(
e.name,
"error should set the name property to the error's name"
).to.equal(expected.name)
<|file_sep|>libraries/o-error/test/support/inde... | 8af22ae8780078c5a5de88d1e26a1655cc7b0616 | libraries/o-error/test/support/index.js | libraries/o-error/test/support/index.js | JavaScript |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.12.7'
- '4.2.2'
- '5.1.0'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.12.7'
- '4.2.2'
- '5.1.0'
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- '0.12.7'
- '4.2.2'
- '5.1.0'
- '6.10.0'
- '7.7.3' | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.12.7'
- '4.2.2'
- '5.1.0'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.12.7'
- '4.2.2'
- '5.1.0'
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- '0.12.7'
- '4.2.2'
- '5.1.0'
- '6.10.0'
- '7.7.3' | 6d67a6fce9d639ccb12435ae799462bcdabcbce5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/braid/info.py
Get the name of the distro.
"""
with quiet():
lsb = run('/usr/bin/lsb_release --id --short', warn_only=True)
if lsb.succeeded:
return lsb.lower()
distros = [
('centos', '/etc/centos-release'),
('fedora', ... | Get the name of the distro.
"""
with quiet():
lsb = run('/usr/bin/lsb_release --id --short', warn_only=True)
if lsb.succeeded:
return lsb.lower()
distros = [
('centos', '/etc/centos-release'),
('fedora', '/etc/fedora-release'),
... | <|file_sep|>original/braid/info.py
Get the name of the distro.
"""
with quiet():
lsb = run('/usr/bin/lsb_release --id --short', warn_only=True)
if lsb.succeeded:
return lsb.lower()
distros = [
('centos', '/etc/centos-release'),
('fedora', ... | 4574d25ade5c18d6c15ac6d427f4fbd4cb2f0f04 | braid/info.py | braid/info.py | Python |
<|file_sep|>original/README.md
# FamilyHistory
My Family Tree saved in ged format
<|file_sep|>current/README.md
# FamilyHistory
My Family Tree saved in ged format
<|file_sep|>updated/README.md | # FamilyHistory
My Family Tree saved in ged format
 | <|file_sep|>original/README.md
# FamilyHistory
My Family Tree saved in ged format
<|file_sep|>current/README.md
# FamilyHistory
My Family Tree saved in ged format
<|file_sep|>updated/README.md
# FamilyHistory
My Family Tree saved in ged format

class UserPreferencesAdmin(admin.ModelAdmin):
list_display = ["user", "show_beta_interface", "airport_ui", "created_date", "modified_date"]
list_filter = [
"show_beta_interface", "airport_ui",
]
@admin.register(HelpLink)
class HelpLinkAdmin(admin.ModelAdmin):
... | <|file_sep|>api/admin.py.diff
original:
from .models import MaintenanceRecord, UserPreferences
updated:
from .models import MaintenanceRecord, UserPreferences, HelpLink
<|file_sep|>original/api/admin.py
from django.contrib import admin
from .models import MaintenanceRecord, UserPreferences
@admin.register(UserPrefer... | 906d60089dbe6b263ae55d91ba73d6b6e41ebbb5 | api/admin.py | api/admin.py | Python |
<|file_sep|>BasicSyntax-MoreExercises/04.PhotoGallery/PhotoGallery.cs.diff
original:
updated:
int photosNumber = int.Parse(Console.ReadLine());
int day = int.Parse(Console.ReadLine());
int month = int.Parse(Console.ReadLine());
int year = int.Parse(Console.ReadLine());
int hours... | string orientation = "square";
if (width > height)
{
orientation = "landscape";
}
else if (height > width)
{
orientation = "portrait";
}
string formatSize = "B";
if (size >= 1000000)
{
size /= 1000000d;
... | <|file_sep|>BasicSyntax-MoreExercises/04.PhotoGallery/PhotoGallery.cs.diff
original:
updated:
int photosNumber = int.Parse(Console.ReadLine());
int day = int.Parse(Console.ReadLine());
int month = int.Parse(Console.ReadLine());
int year = int.Parse(Console.ReadLine());
int hours... | 44aa2a4e76dc6cb857b740f8fabb34e537020c18 | BasicSyntax-MoreExercises/04.PhotoGallery/PhotoGallery.cs | BasicSyntax-MoreExercises/04.PhotoGallery/PhotoGallery.cs | C# |
<|file_sep|>original/requirements.txt
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file requirements.txt requirements.in
#
click==6.7
jinja2==2.9.6
markupsafe==1.0 # via jinja2
<|file_sep|>current/requirements.txt
#
# This file is autogenerated by pip-compile
# T... | #
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file requirements.txt requirements.in
#
click==7.0
jinja2==2.9.6
markupsafe==1.0 # via jinja2 | <|file_sep|>original/requirements.txt
#
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --output-file requirements.txt requirements.in
#
click==6.7
jinja2==2.9.6
markupsafe==1.0 # via jinja2
<|file_sep|>current/requirements.txt
#
# This file is autogenerated by pip-compile
# T... | 2fa3715be7ff74abf449a32ab277f730c9ef6fc1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
sphinx==3.1.1
sphinx_rtd_theme==0.5.0
<|file_sep|>current/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
s... | # ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
sphinx==3.1.2
sphinx_rtd_theme==0.5.0 | <|file_sep|>original/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
sphinx==3.1.1
sphinx_rtd_theme==0.5.0
<|file_sep|>current/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
s... | 0c72cf18b7806bbb6210f71248bdaa15d8a93195 | requirements/docs.txt | requirements/docs.txt | Text |
<|file_sep|>original/releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml
<|file_sep|>current/releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml
<|file_sep|>updated/releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml | ---
upgrade:
- |
We have change some log pathes as below
* Migrate ``heat.engine.clients.keystoneclient`` to
``heat.engine.clients.os.keystone.heat_keystoneclient``
* remove ``heat.all``
* remove ``heat.api``
* remove ``heat.api.cfn``
* remove ``heat.engine`` | <|file_sep|>original/releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml
<|file_sep|>current/releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml
<|file_sep|>updated/releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml
---
upgrade:
- |
We have change some log pathes as below
* Migrate ... | 4099eea873863b25c93adbf6f04ebf2791d13916 | releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml | releasenotes/notes/Change-logger-path-e7a13878e5bb0bc2.yaml | YAML |
<|file_sep|>original/app/views/messages/show.haml
- content_for :breadcrumbs do
= link_to @box.capitalize, messages_path(view: @box)
»
%b= @page_title
.post-header
.padding-15
%span= @page_title
= render partial: 'single', collection: @messages, as: :message
%br
- unless @message.site_message?
= r... | - content_for :breadcrumbs do
= link_to @box.capitalize, messages_path(view: @box)
»
%b= @page_title
.post-header
.padding-15
%span= @page_title
= render partial: 'single', collection: @messages, as: :message
%br
- unless @message.parent.site_message?
= render partial: 'editor' | <|file_sep|>original/app/views/messages/show.haml
- content_for :breadcrumbs do
= link_to @box.capitalize, messages_path(view: @box)
»
%b= @page_title
.post-header
.padding-15
%span= @page_title
= render partial: 'single', collection: @messages, as: :message
%br
- unless @message.site_message?
= r... | ae1b2d95a08ec003e1a9671461d26cf2a58d5610 | app/views/messages/show.haml | app/views/messages/show.haml | Haml |
<|file_sep|>original/requirements.txt
flake8==3.5.0
ipdb==0.11
ipython==7.0.1
pytest==3.8.1
pytest-cov==2.6.0
tox==3.4.0
isort==4.3.3
-e .
<|file_sep|>current/requirements.txt
flake8==3.5.0
ipdb==0.11
ipython==7.0.1
pytest==3.8.1
pytest-cov==2.6.0
tox==3.4.0
isort==4.3.3
-e .
<|file_sep|>updated/requirements.txt | flake8==3.5.0
ipdb==0.11
ipython==7.0.1
pytest==3.8.1
pytest-cov==2.6.0
tox==3.4.0
isort==4.3.4
-e . | <|file_sep|>original/requirements.txt
flake8==3.5.0
ipdb==0.11
ipython==7.0.1
pytest==3.8.1
pytest-cov==2.6.0
tox==3.4.0
isort==4.3.3
-e .
<|file_sep|>current/requirements.txt
flake8==3.5.0
ipdb==0.11
ipython==7.0.1
pytest==3.8.1
pytest-cov==2.6.0
tox==3.4.0
isort==4.3.3
-e .
<|file_sep|>updated/requirements.txt
flake8... | ad7ffe469c6c3457d1482aca88ead6d4140f16a6 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/PackageViewModel/Types/ICredentialManager.cs
using System;
using System.Net;
namespace PackageExplorerViewModel.Types
{
public interface ICredentialManager
{
void TryAddUriCredentials(Uri feedUri);
void Add(ICredentials credentials, Uri feedUri);
ICredentials Get... | using System;
using System.Net;
namespace PackageExplorerViewModel.Types
{
public interface ICredentialManager
{
void Add(ICredentials credentials, Uri feedUri);
ICredentials GetForUri(Uri uri);
}
} | <|file_sep|>original/PackageViewModel/Types/ICredentialManager.cs
using System;
using System.Net;
namespace PackageExplorerViewModel.Types
{
public interface ICredentialManager
{
void TryAddUriCredentials(Uri feedUri);
void Add(ICredentials credentials, Uri feedUri);
ICredentials Get... | 67523e748a1b73f8837f17e8c78d263ab96d780b | PackageViewModel/Types/ICredentialManager.cs | PackageViewModel/Types/ICredentialManager.cs | C# |
<|file_sep|>original/lib/rules/no-trailing-zero.js
'include': false
},
'detect': function (ast, parser) {
var result = [];
ast.traverseByType('number', function (num) {
if (num.content.match(trailingZeroRegex)) {
result = helpers.addUnique(result, {
'ruleId': parser.rule.name,
... | 'include': false
},
'detect': function (ast, parser) {
var result = [];
ast.traverseByType('number', function (num) {
if (num.content.match(trailingZeroRegex)) {
result = helpers.addUnique(result, {
'ruleId': parser.rule.name,
'line': num.start.line,
'column... | <|file_sep|>original/lib/rules/no-trailing-zero.js
'include': false
},
'detect': function (ast, parser) {
var result = [];
ast.traverseByType('number', function (num) {
if (num.content.match(trailingZeroRegex)) {
result = helpers.addUnique(result, {
'ruleId': parser.rule.name,
... | 324c9ab033020c2b6b4681eecbf295bae1823c61 | lib/rules/no-trailing-zero.js | lib/rules/no-trailing-zero.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.