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|>README.md.diff
original:
# GreatFET Experimental
updated:
# GreatFET
<|file_sep|>original/README.md
# GreatFET Experimental
Experimental GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on ... | # GreatFET
GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on the HackRF firmware. | <|file_sep|>README.md.diff
original:
# GreatFET Experimental
updated:
# GreatFET
<|file_sep|>original/README.md
# GreatFET Experimental
Experimental GreatFET firmware and software for GreatFET based on the HackRF firmware.
The final firmware architecture for GreatFET is still undecided, but one option is
basing it on ... | 4c51d2cd7d9600e82bb553f21a12480bc7fac99e | README.md | README.md | Markdown |
<|file_sep|>lib/merb-core/rack/adapter/ebb.rb.diff
original:
# :port<Fixnum>:: The port Thin should bind to.
# :app<String>>:: The application name.
updated:
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
<|file_sep|>original/lib/merb-core/rack/adapter/ebb.rb
module... | module Merb
module Rack
class Ebb
# start an Ebb server on given host and port.
# ==== Parameters
# opts<Hash>:: Options for Thin (see below).
#
# ==== Options (opts)
# :host<String>:: The hostname that Thin should serve.
# :port<Fixnum>:: The port Ebb should b... | <|file_sep|>lib/merb-core/rack/adapter/ebb.rb.diff
original:
# :port<Fixnum>:: The port Thin should bind to.
# :app<String>>:: The application name.
updated:
# :port<Fixnum>:: The port Ebb should bind to.
# :app:: The application
<|file_sep|>original/lib/merb-core/rack/adapter/ebb.rb
module... | 8cd7aae5b2d8385eeff04b99bb40b29bb87cdb65 | lib/merb-core/rack/adapter/ebb.rb | lib/merb-core/rack/adapter/ebb.rb | Ruby |
<|file_sep|>original/app/views/active_blog/blog_posts/_sidebar.html.erb
<%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_po... | <%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' title='<%= recent_blog_post.title %>'><%= recent_blo... | <|file_sep|>original/app/views/active_blog/blog_posts/_sidebar.html.erb
<%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_po... | 0cda955e0c6c0d467b8833085edfba462dc7de22 | app/views/active_blog/blog_posts/_sidebar.html.erb | app/views/active_blog/blog_posts/_sidebar.html.erb | HTML+ERB |
<|file_sep|>original/utils/unix/backup-public.sh
<|file_sep|>current/utils/unix/backup-public.sh
<|file_sep|>updated/utils/unix/backup-public.sh | BURL=http://localhost/sites/default/files/public-backups
mkdir -p /tmp/pb
cd /tmp/pb
echo Setting variables for rotating backups ... && M=M$(date +%m) && Q=Q$(( ($(date +%-m)-1)/3+1 )) && YYYY=Y$(date +%Y) && J14=J$(( $(date +%-j) % 14 )) && YYYYMMDD=$(date +%Y-%m-%d) && pwd && mkdir -p $M $Q $YYYY $J14 && echo $YYYYMM... | <|file_sep|>original/utils/unix/backup-public.sh
<|file_sep|>current/utils/unix/backup-public.sh
<|file_sep|>updated/utils/unix/backup-public.sh
BURL=http://localhost/sites/default/files/public-backups
mkdir -p /tmp/pb
cd /tmp/pb
echo Setting variables for rotating backups ... && M=M$(date +%m) && Q=Q$(( ($(date +%-m... | dbbd6c3ef9ad82672f97141b2b9ccfde4d35588d | utils/unix/backup-public.sh | utils/unix/backup-public.sh | Shell |
<|file_sep|>original/utils.lua
if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message,... | if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message, seconds, fn)
local notificat... | <|file_sep|>original/utils.lua
if fullscreenChange then
id = win:id()
win:toggleFullScreen()
os.execute('sleep 3')
win = hs.window.windowForID(id)
if not win then return end
end
win:moveToScreen(screen)
if fullscreenChange then win:toggleFullScreen() end
end
function utils.notify(message,... | 5ea7429209d3fe09edb5d379d8a2ff6fc589488b | utils.lua | utils.lua | Lua |
<|file_sep|>app/views/geckoboard_api/statistics/index.html.haml.diff
original:
.body-content
= govuk_inset_text do
%p
Statistics reports in tabular format.
updated:
.govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
<|file_sep|>app/views/geckoboard_api/stati... | .govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
.govuk-grid-column-two-thirds
%ul.govuk-list.govuk-list--bullet.govuk-list--spaced
- @available_reports.each do |title, url_part|
%li
= link_to(title, send("#{url_part}_geckoboard_api_widg... | <|file_sep|>app/views/geckoboard_api/statistics/index.html.haml.diff
original:
.body-content
= govuk_inset_text do
%p
Statistics reports in tabular format.
updated:
.govuk-grid-row
.govuk-grid-column-two-thirds
%h1.govuk-heading-l
= 'Statistics reports'
<|file_sep|>app/views/geckoboard_api/stati... | 7ac1b4a484052d3897ed76ed716ea8eb0caedd35 | app/views/geckoboard_api/statistics/index.html.haml | app/views/geckoboard_api/statistics/index.html.haml | Haml |
<|file_sep|>original/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_S... | // For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllimport)
#endif
#else
#define WEBSOCKET_SERVER_MODULE_AP... | <|file_sep|>original/src/Application/WebSocketServerModule/WebSocketServerModuleApi.h
// For conditions of distribution and use, see copyright notice in LICENSE
#pragma once
#if defined (_WINDOWS)
#if defined(WEBSOCKET_MODULE_EXPORTS)
#define WEBSOCKET_SERVER_MODULE_API __declspec(dllexport)
#else
#define WEBSOCKET_S... | 2d8090ba343ab90bdd7292bc47beb619c95a01d8 | src/Application/WebSocketServerModule/WebSocketServerModuleApi.h | src/Application/WebSocketServerModule/WebSocketServerModuleApi.h | C |
<|file_sep|>original/recipes/wtforms/meta.yaml
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and ren... | requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
- wtforms.csrf
- wtforms.fields
- wtforms.widgets
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms val... | <|file_sep|>original/recipes/wtforms/meta.yaml
requirements:
build:
- python
- setuptools
run:
- python
test:
imports:
- wtforms
about:
home: http://wtforms.simplecodes.com
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE.txt
summary: 'A flexible forms validation and ren... | 86f1538ebef4f5dc0a3b91dc6ced3234d9ad82fa | recipes/wtforms/meta.yaml | recipes/wtforms/meta.yaml | YAML |
<|file_sep|>core/update_translations.sh.diff
original:
tx pull -l de,el_GR,es,hu_HU,pt,ro,ru,sr,zh_CN,vi,th_TH,fa,fr
updated:
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
<|file_sep|>core/update_translations.sh.diff
original:
mv "$translations/hu_HU.properties" "$i18n/displayStrings_hu.properties"
updated:
<|file... | #!/usr/bin/env bash
cd $(dirname $0)
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
translations="translations/bisq-desktop.displaystringsproperties"
i18n="src/main/resources/i18n"
mv "$translations/de.properties" "$i18n/displayStrings_de.properties"
mv "$translations/el_GR.properties" "$i18n/displayStrings_el.pr... | <|file_sep|>core/update_translations.sh.diff
original:
tx pull -l de,el_GR,es,hu_HU,pt,ro,ru,sr,zh_CN,vi,th_TH,fa,fr
updated:
tx pull -l de,el_GR,es,pt,ru,zh_CN,vi,th_TH,fa,fr
<|file_sep|>core/update_translations.sh.diff
original:
mv "$translations/hu_HU.properties" "$i18n/displayStrings_hu.properties"
updated:
<|file... | ce9aae297d5004700951948df69bab4a6f56280c | core/update_translations.sh | core/update_translations.sh | Shell |
<|file_sep|>original/exercises/bob/src/Example.hs
module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && (all isUpper $ filter isAlpha s) = Yell
... | module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && all isUpper (filter isAlpha s) = Yell
| '?' == last (filter (not . isSpace) s) = Questi... | <|file_sep|>original/exercises/bob/src/Example.hs
module Bob (responseFor) where
import Data.Char (isSpace, isUpper, isAlpha)
data Prompt = Silence | Yell | Question | Other
classify :: String -> Prompt
classify s | all isSpace s = Silence
| any isAlpha s && (all isUpper $ filter isAlpha s) = Yell
... | 66b3c71ee2870a705d71b4b7f1c994500dcbfbcc | exercises/bob/src/Example.hs | exercises/bob/src/Example.hs | Haskell |
<|file_sep|>original/deploy/travis/install-libs-osx.sh
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git cl... | cd cmocka ; mkdir build; cd build
cmake ..
make -j2 && make install
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "d... | <|file_sep|>original/deploy/travis/install-libs-osx.sh
cd ../..
#libredblack
git clone https://github.com/sysrepo/libredblack.git
cd libredblack; ./configure && make && make install
else
echo "Using cached libraries from $INSTALL_PREFIX_DIR"
fi
if [[ "$TRAVIS_BRANCH" == "devel" ]]; then
git cl... | 15b703b0fb908db5d1fc7099d737f48ff7175ec3 | deploy/travis/install-libs-osx.sh | deploy/travis/install-libs-osx.sh | Shell |
<|file_sep|>.emacs.d/config/eric-auth.el.diff
original:
(defvar eric-auth-extension ".el.gpg" "The extension of encrypted files")
updated:
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The file... | (pkg 'epa)
(epa-file-enable)
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The filename to load for passwords and other sensitive information")
(defvar eric-auth nil "The full path + filename... | <|file_sep|>.emacs.d/config/eric-auth.el.diff
original:
(defvar eric-auth-extension ".el.gpg" "The extension of encrypted files")
updated:
(defvar eric-auth-extension "el.gpg" "The extension of encrypted files")
(defvar eric-auth-path "~" "The path where passwd file is stored")
(defvar eric-auth-file "passwd" "The file... | 17bc56445a5a13344f4269b4716676e186ef1e85 | .emacs.d/config/eric-auth.el | .emacs.d/config/eric-auth.el | Emacs Lisp |
<|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": ... | "repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"clean-install": "rm -rf node_modules/ && npm install && npm install --no-save karma@2 jsdom@11 && ln -s ../ node_module... | <|file_sep|>original/package.json
"repository": {
"type": "git",
"url": "git://github.com/badeball/karma-jsdom-launcher.git"
},
"keywords": [
"karma-plugin",
"karma-launcher",
"jsdom"
],
"scripts": {
"test": "mocha --timeout 10000 --slow 5000"
},
"peerDependencies": {
"jsdom": ... | 4505cf04274959c296c87bc6eb11896064a4d304 | package.json | package.json | JSON |
<|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
if (query.__where.length === 1) {
updated:
if (this.__where.length === 1) {
<|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
query.__where[0].push(... | this.__where.push(query);
return query;
};
UpdateQuery.prototype.__execute = function() {
var camlBuilder = new CamlBuilder();
var camlView = camlBuilder.push('View');
var queryTag;
if (this.__where.length === 1) {
queryTag = ca... | <|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
if (query.__where.length === 1) {
updated:
if (this.__where.length === 1) {
<|file_sep|>src/modules/ngSharepointLists/components/queries/updateQuery.js.diff
original:
query.__where[0].push(... | d807f845d0d817fece44b0f137fb2fa4b47cafc4 | src/modules/ngSharepointLists/components/queries/updateQuery.js | src/modules/ngSharepointLists/components/queries/updateQuery.js | JavaScript |
<|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>original/tests/install_test_deps.sh
inetutils-ping \
lsb-release \
kpartx \
python-lzma \
qemu-utils \
... | kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
bzip2 \
debootstrap \
docker \
kpartx \
util-linux \
qemu-img || \
sudo emerge \
app-arch/bzip2 \
app-emul... | <|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>tests/install_test_deps.sh.diff
original:
updated:
bzip2 \
<|file_sep|>original/tests/install_test_deps.sh
inetutils-ping \
lsb-release \
kpartx \
python-lzma \
qemu-utils \
... | d129a9d19af1e3340d2ebaaf3d4944fba23f0f3e | tests/install_test_deps.sh | tests/install_test_deps.sh | Shell |
<|file_sep|>original/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
allow-newer: true
<|file_sep|>current/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- ro... | resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
- pandoc-1.19.2.1
flags:
pandoc:
embed_data_files: true | <|file_sep|>original/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- roman-numerals-0.5.1.5
allow-newer: true
<|file_sep|>current/server/stack.yaml
resolver: lts-9.0
packages: ['.']
extra-deps:
- servant-options-0.1.0.0
- pandoc-crossref-0.2.5.0
- ro... | 045283862e667274483fa1f2589922d8fcae06ab | server/stack.yaml | server/stack.yaml | YAML |
<|file_sep|>original/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
## Testing
```
npm test
```
## Linting
```
npm run lint
```
<|file_sep|>current/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └──... | ```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
**Note:** If you are developing on a Windows machine, you will need to run your command prompt as an administrator so the symlinking step suceeds.
## Testing
```
npm test
```
## Linting
``` | <|file_sep|>original/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └── js
└── dev -> 1.0.0
```
## Testing
```
npm test
```
## Linting
```
npm run lint
```
<|file_sep|>current/DEVELOPMENT.md
```
dist
└── web
└── dropin
├── 1.0.0
│ ├── css
│ └──... | 078475c2acfeee799eb8c3c50e0c1594de48e823 | DEVELOPMENT.md | DEVELOPMENT.md | Markdown |
<|file_sep|>highlights/highlight-filename-from-stdin.coffee.diff
original:
updated:
mystderr = process.stderr
<|file_sep|>original/highlights/highlight-filename-from-stdin.coffee
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin =... | path = require 'path'
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin = process.openStdin()
stdin.setEncoding 'utf8'
mystderr = process.stderr
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exi... | <|file_sep|>highlights/highlight-filename-from-stdin.coffee.diff
original:
updated:
mystderr = process.stderr
<|file_sep|>original/highlights/highlight-filename-from-stdin.coffee
highlighter = new Highlights()
highlighter.requireGrammarsSync
modulePath: require.resolve('./atom-language-perl6/package.json')
stdin =... | 0fdae737038a72858ab1854e18dea72bd845359b | highlights/highlight-filename-from-stdin.coffee | highlights/highlight-filename-from-stdin.coffee | CoffeeScript |
<|file_sep|>original/release.nix
{ src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "... | { src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" "x86_64-darwin" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "295e26b2081552d3a... | <|file_sep|>original/release.nix
{ src ? { outPath = ./.; revCount = 0; gitTag = "dirty"; }
, supportedPlatforms ? [ "x86_64-linux" ]
, supportedCompilers ? [ "ghc7103" ]
}:
with (import <nixpkgs> {}).lib;
let
hnixSrc = (import <nixpkgs> {}).fetchFromGitHub{
owner = "expipiplus1";
repo = "hnix";
rev = "... | cb3eface4e02f6bb2c4514f8ae6cb45192cb577f | release.nix | release.nix | Nix |
<|file_sep|>original/package.json
"url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes"
],
"dependencies": {
"loda... | "url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes",
"class",
"list"
],
"dependencies": {
"lodash.uniq":... | <|file_sep|>original/package.json
"url": "git://github.com/andrezsanchez/css-selector-classes"
},
"author": {
"name": "Andre Z. Sanchez",
"email": "andrezacsanchez@gmail.com",
"url": "http://andrezs.com"
},
"keywords": [
"css",
"selector",
"classes"
],
"dependencies": {
"loda... | 5b942b13cb661e9ecc449a1ace7951bb4f99458a | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- jruby-19mode
- rbx-19mode
- ruby-head | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
- rbx-19mode
- ruby-head
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
... | c25768a9b9e466b997c9ed1ac0644e3947612c3f | .travis.yml | .travis.yml | YAML |
<|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Auto Name:Flavordex
<|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.ultramegasoft.flavordex2.txt
Categories:Writi... | Issue Tracker:https://github.com/ultramega/flavordex/issues
Auto Name:Flavordex
Repo Type:git
Repo:https://github.com/ultramega/flavordex
Build:2.5.0,21
commit=2.5.0
subdir=app
gradle=yes
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
Auto Update Mode:Version %v
Update Check Mode:Tags
Cu... | <|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Auto Name:Flavordex
<|file_sep|>metadata/com.ultramegasoft.flavordex2.txt.diff
original:
updated:
Build:2.5.1,22
commit=2.5.1
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.ultramegasoft.flavordex2.txt
Categories:Writi... | 6c13718d7f27d6bfa6ab17cc66ca0d7846d97070 | metadata/com.ultramegasoft.flavordex2.txt | metadata/com.ultramegasoft.flavordex2.txt | Text |
<|file_sep|>original/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
... | <% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
<% if order.supplier_delivery %>
<strong><%= order.supplier_delivery.name %></st... | <|file_sep|>original/plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %>
<% if order.cycle.delivery_methods.count > 0 %>
<div>
<h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3>
... | cfde6db7a587e3c6c523507d104c74338532db3a | plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb | plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb | HTML+ERB |
<|file_sep|>cmd/playing/main.go.diff
original:
updated:
"reflect"
<|file_sep|>cmd/playing/main.go.diff
original:
"github.com/kr/pretty"
updated:
<|file_sep|>cmd/playing/main.go.diff
original:
func mainImpl() error {
pixels := make(anim1d.Frame, 150)
var p anim1d.Rainbow
updated:
func printFrame(p anim1d.Pattern, ... | )
func printFrame(p anim1d.Pattern, l int) {
// Generate a frame.
pixels := make(anim1d.Frame, l)
p.NextFrame(pixels, 0)
// Convert to apa102 protocol.
var d []byte
apa102.Raster(pixels, &d)
// Print it.
const cols = 16
fmt.Printf("uint8_t %s[] = {", reflect.TypeOf(p).Elem().Name())
for i, b := range d {
... | <|file_sep|>cmd/playing/main.go.diff
original:
updated:
"reflect"
<|file_sep|>cmd/playing/main.go.diff
original:
"github.com/kr/pretty"
updated:
<|file_sep|>cmd/playing/main.go.diff
original:
func mainImpl() error {
pixels := make(anim1d.Frame, 150)
var p anim1d.Rainbow
updated:
func printFrame(p anim1d.Pattern, ... | c24799383bd539dc332fa8612523068a6eb25b45 | cmd/playing/main.go | cmd/playing/main.go | Go |
<|file_sep|>.travis.yml.diff
original:
- "0.12"
updated:
env:
- CXX=clang
<|file_sep|>.travis.yml.diff
original:
compiler: gcc
sudo: false
env:
- CXX=g++-4.8
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- llvm-toolchain-precise-3.6
<|file_sep|>.travis.yml.diff
original:
updated:
... | sudo: false
os:
- linux
- os: osx
osx_image: xcode7.2
before_install:
- node --version
- npm --version
- gcc --version
script:
- npm install
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules | <|file_sep|>.travis.yml.diff
original:
- "0.12"
updated:
env:
- CXX=clang
<|file_sep|>.travis.yml.diff
original:
compiler: gcc
sudo: false
env:
- CXX=g++-4.8
updated:
<|file_sep|>.travis.yml.diff
original:
updated:
- llvm-toolchain-precise-3.6
<|file_sep|>.travis.yml.diff
original:
updated:
... | 46e7113e3dc2ec3c527f7af4126284d0ccfe82b2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF ... | * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may not ... | <|file_sep|>original/log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF ... | 0e9e331569cd019f9c101b2b218b6005af9adb92 | log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java | log4j-api/src/main/java/org/apache/logging/log4j/util/package-info.java | Java |
<|file_sep|>original/composer.json
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs... | "type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs/knp-menu-bundle": "^3.1",... | <|file_sep|>original/composer.json
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Darvin Studio",
"email": "info@darvin-studio.ru",
"homepage": "https://www.darvin-studio.ru"
}
],
"require": {
"knplabs... | 633cb6fd494aee689a09cde1bdefc7cc2cef35d3 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- gb test -v cmd/grobi
- go run build.go
<|file_sep|>current/... | language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- go run build.go | <|file_sep|>original/.travis.yml
language: go
sudo: false
go:
- 1.4.3
- 1.5.1
install:
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go get github.com/constabulary/gb/...
- gb info
- gb vendor restore
script:
- gb test -v cmd/grobi
- go run build.go
<|file_sep|>current/... | c0cefc7934a84e3d84e9d917e125a7abc7363bb8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/main.js.diff
original:
require(['modules/log', 'views/mainView'], function(log, MainView) {
updated:
require(['modules/log', 'modules/acsConnector', 'modules/credentials', 'views/mainView'], function(log, acs, credentials, MainView) {
<|file_sep|>src/main.js.diff
original:
updated:
var user = null... | });
mainView = new MainView();
$('#main-elt').append(mainView.render().el);
// Try to log to the ACS server
credentials.load(function(user_param) {
user = user_param;
log.debug("Main", "User found", user);
if(user.host.length > 0 && ... | <|file_sep|>src/main.js.diff
original:
require(['modules/log', 'views/mainView'], function(log, MainView) {
updated:
require(['modules/log', 'modules/acsConnector', 'modules/credentials', 'views/mainView'], function(log, acs, credentials, MainView) {
<|file_sep|>src/main.js.diff
original:
updated:
var user = null... | 9d38a99b63e49f99abf1508a13e4c0aa9703d527 | src/main.js | src/main.js | JavaScript |
<|file_sep|>original/tests/e2e/scenarios/metrics-server/run-test.sh
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_... | # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_ROOT=$(git rev-parse --show-toplevel);
source "${REPO_ROOT}"/tests/e... | <|file_sep|>original/tests/e2e/scenarios/metrics-server/run-test.sh
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
REPO_... | 7936cc48c5e412564de4cc27ce04e0826bfdcae4 | tests/e2e/scenarios/metrics-server/run-test.sh | tests/e2e/scenarios/metrics-server/run-test.sh | Shell |
<|file_sep|>original/routes.json
[
{
"path": "/",
"page": "./pages/home",
"chunk": "main",
"data": {
"articles": "GET https://gist.githubusercontent.com/koistya/a32919e847531320675764e7308b796a/raw/articles.json"
}
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "mai... | [
{
"path": "/",
"page": "./pages/home",
"chunk": "main"
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "main"
},
{
"path": "/about",
"page": "./pages/about"
},
{
"path": "/tasks/:status(pending|completed)?",
"page": "./pages/home"
}
] | <|file_sep|>original/routes.json
[
{
"path": "/",
"page": "./pages/home",
"chunk": "main",
"data": {
"articles": "GET https://gist.githubusercontent.com/koistya/a32919e847531320675764e7308b796a/raw/articles.json"
}
},
{
"path": "/error",
"page": "./pages/error",
"chunk": "mai... | 82efd6cdba23b6bd145534aec71f4f8d42bb7553 | routes.json | routes.json | JSON |
<|file_sep|>original/.eslintrc.js
"sinon": false,
"$": false,
"ko": false,
"_": false,
"L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configu... | "L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configuring-rules
"rules": {
// First option can be off, warn, or error
"comma-dangle": ["warn", "always-m... | <|file_sep|>original/.eslintrc.js
"sinon": false,
"$": false,
"ko": false,
"_": false,
"L": true,
"it": false,
"describe": false,
"beforeEach": false,
},
// http://eslint.org/docs/rules/
// http://eslint.org/docs/user-guide/configuring#configu... | 3a66c5a0f85f2c06f88c0d560a29e9020c01d096 | .eslintrc.js | .eslintrc.js | JavaScript |
<|file_sep|>original/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>current/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>updated/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff | Index: tools/clang/lib/Sema/Sema.cpp
===================================================================
--- tools/clang/lib/Sema/Sema.cpp (revision 47812)
+++ tools/clang/lib/Sema/Sema.cpp (working copy)
@@ -572,7 +572,8 @@
if (TUKind == TU_Prefix) {
// Translation unit prefixes don't need any of the checkin... | <|file_sep|>original/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>current/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
<|file_sep|>updated/interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff
Index: tools/clang/lib/Sema/Sema.cpp
=================================================... | fa23cc2a0b7bdaa3e54f5c652cbc214b9b6fd813 | interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff | interpreter/cling/patches/enable_ActOnEndOfTU_cling.diff | Diff |
<|file_sep|>lib/utils.js.diff
original:
getVersion: function () {
updated:
getVersion: function () {
<|file_sep|>original/lib/utils.js
var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
... | var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
FS.statSync(packagePath);
return require(packagePath).version;
}
catch (err) {}
return 'Unknown';
},
respond... | <|file_sep|>lib/utils.js.diff
original:
getVersion: function () {
updated:
getVersion: function () {
<|file_sep|>original/lib/utils.js
var Path = require('path'),
FS = require('fs');
module.exports = {
getVersion: function () {
var packagePath = Path.join(process.cwd(), 'package.json');
try {
... | c12d3e9aec0be48ee407e993fc8a96cba6401c81 | lib/utils.js | lib/utils.js | JavaScript |
<|file_sep|>README.md.diff
original:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library.
updated:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for ... | Jue
===
Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.
It is designed with Android compatibility in mind and we encourage you to use it in your apps!
Documentatio... | <|file_sep|>README.md.diff
original:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for tutorials to learn how to use this library.
updated:
If this is your first time using the library, have a look at the [wiki pages](https://github.com/Q42/Jue/wiki) for ... | a71e09ed3062fa594f39cb13da899ad5c415b345 | README.md | README.md | Markdown |
<|file_sep|>app/assets/stylesheets/base/_header-footer-fixes.scss.diff
original:
updated:
a {
line-height: inherit;
}
<|file_sep|>original/app/assets/stylesheets/base/_header-footer-fixes.scss
img {
margin-bottom: -3px;
}
}
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#... | }
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#footer {
a {
line-height: inherit;
}
font-family: Roboto;
margin-bottom: -22px;
.list-heading {
font-weight: 600;
}
}
#menu {
.list-header:after {
box-sizing: initial;
}
} | <|file_sep|>app/assets/stylesheets/base/_header-footer-fixes.scss.diff
original:
updated:
a {
line-height: inherit;
}
<|file_sep|>original/app/assets/stylesheets/base/_header-footer-fixes.scss
img {
margin-bottom: -3px;
}
}
.account-links {
li:nth-child(3) a:before {
height: 0 !important;
}
}
#... | af2970efd086384cbd945fd6731d2ddd73a1c921 | app/assets/stylesheets/base/_header-footer-fixes.scss | app/assets/stylesheets/base/_header-footer-fixes.scss | SCSS |
<|file_sep|>original/.github/workflows/chores.yaml
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_... | RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MA... | <|file_sep|>original/.github/workflows/chores.yaml
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_... | c0e957b1bf2c8a2682093ebb2940731e1dcb7c78 | .github/workflows/chores.yaml | .github/workflows/chores.yaml | YAML |
<|file_sep|>src/src/Main.java.diff
original:
updated:
import java.io.IOException;
<|file_sep|>src/src/Main.java.diff
original:
if(args.length != 2) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
updated:
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и... |
import java.io.IOException;
public class Main {
public static void main(String[] args) {
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
return;
Tournament tournament = new Tournament(args[0], args[1], args[2]);
try {
i... | <|file_sep|>src/src/Main.java.diff
original:
updated:
import java.io.IOException;
<|file_sep|>src/src/Main.java.diff
original:
if(args.length != 2) // принимаем 3 аргумента - имя пользователя, игру и имя файла кода
updated:
if(args.length != 3) // принимаем 3 аргумента - имя пользователя, игру и... | 4d78da3f59dc7b1fd2cc8f366ac8d627ac7de9c8 | src/src/Main.java | src/src/Main.java | Java |
<|file_sep|>original/spec/amakanize/series_name_spec.rb
let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE 2週間でわかる?SE入門",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ... | let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ! School idol diary ~星空凛~" => "ラブライブ! School idol diary",
"僕だけが... | <|file_sep|>original/spec/amakanize/series_name_spec.rb
let(:series_name) do
described_class.new(raw)
end
describe "#to_s" do
subject do
series_name.to_s
end
{
"なれる!SE 2週間でわかる?SE入門 (電撃文庫)" => "なれる!SE 2週間でわかる?SE入門",
"やはり俺の青春ラブコメはまちがっている。4" => "やはり俺の青春ラブコメはまちがっている。",
"ラブライブ... | 9f3c97745722e7fa9e51f305a41cd54c510e0908 | spec/amakanize/series_name_spec.rb | spec/amakanize/series_name_spec.rb | Ruby |
<|file_sep|>original/numba/cuda/simulator/cudadrv/driver.py
class FakeDriver(object):
def get_device_count(self):
return 1
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launchin... |
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launching kernels directly is not supported in the simulator'
raise RuntimeError(msg)
USE_NV_BINDING = False | <|file_sep|>original/numba/cuda/simulator/cudadrv/driver.py
class FakeDriver(object):
def get_device_count(self):
return 1
driver = FakeDriver()
Linker = None
class LinkerError(RuntimeError):
pass
class CudaAPIError(RuntimeError):
pass
def launch_kernel(*args, **kwargs):
msg = 'Launchin... | d4d517611104a8b42ccc79a310c510edd5f0eae5 | numba/cuda/simulator/cudadrv/driver.py | numba/cuda/simulator/cudadrv/driver.py | Python |
<|file_sep|>Assets/Scripts/Controls/Hourglass.cs.diff
original:
updated:
public GameObject cutsceneObject;
<|file_sep|>original/Assets/Scripts/Controls/Hourglass.cs
using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public Animator cutScene;
public override void Activate() ... | using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public GameObject cutsceneObject;
public Animator cutScene;
void Start() {
//cutScene = cutsceneObject.GetComponent<Animator>();
}
public override void Activate() {
UtilControls.Freeze();
cut... | <|file_sep|>Assets/Scripts/Controls/Hourglass.cs.diff
original:
updated:
public GameObject cutsceneObject;
<|file_sep|>original/Assets/Scripts/Controls/Hourglass.cs
using UnityEngine;
using System.Collections;
public class Hourglass : Trigger {
public Animator cutScene;
public override void Activate() ... | bac654e3aa91077c4fd81e66ea21fff1e5c1d40b | Assets/Scripts/Controls/Hourglass.cs | Assets/Scripts/Controls/Hourglass.cs | C# |
<|file_sep|>original/alpha/apps/kaltura/lib/propel/propel-gen.php
if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 2)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$plu... | if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 4)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$pluginConfig/build.properties";
if (!file_exists($buildProps))
{
... | <|file_sep|>original/alpha/apps/kaltura/lib/propel/propel-gen.php
if ($pluginDir[0] == ".")
{
continue;
}
$path = "$pluginsFolder/$pluginDir";
if (!is_dir($path))
{
continue;
}
if ($level < 2)
{
searchFolder($path, $level + 1);
}
$pluginConfig = "$path/config";
$buildProps = "$plu... | 6f52f0beec0fc54c90ba3a509633fdcb872d86a6 | alpha/apps/kaltura/lib/propel/propel-gen.php | alpha/apps/kaltura/lib/propel/propel-gen.php | PHP |
<|file_sep|>src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt.diff
original:
0.25 0.0 0.9 0.0
3.0 0.0 0.9 0.0
updated:
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
<|file_sep|>original/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt
0.0 0.0 0.0 0.0
0.25 0.0 ... | 0.0 0.0 0.0 0.0
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
5.0 0.5 0.4 0.0
9.0 0.0 0.0 1.0 | <|file_sep|>src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt.diff
original:
0.25 0.0 0.9 0.0
3.0 0.0 0.9 0.0
updated:
0.5 0.0 0.5 0.0
3.0 0.0 0.5 0.0
<|file_sep|>original/src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt
0.0 0.0 0.0 0.0
0.25 0.0 ... | 6670593955725a268eed6fd9d1f1e5742960e4c4 | src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt | src/unit_VEHICLE/data/generic/driver/Sample_Maneuver.txt | Text |
<|file_sep|>original/tests/Nsautoload/Tests/CacheTest.php
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader n... |
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader not found');
}
if (!extension_load... | <|file_sep|>original/tests/Nsautoload/Tests/CacheTest.php
require_once __DIR__.'/AutoloadTest.php';
class CacheTest extends \PHPUnit_Framework_TestCase
{
public function setUp()
{
if (!class_exists('Symfony\Component\ClassLoader\ApcClassLoader')) {
$this->markTestSkipped('Class loader n... | 88bb08fa4e25e596d8665f1ed9647578d93c42a0 | tests/Nsautoload/Tests/CacheTest.php | tests/Nsautoload/Tests/CacheTest.php | PHP |
<|file_sep|>original/Node/NodeReferenceTrait.php
<|file_sep|>current/Node/NodeReferenceTrait.php
<|file_sep|>updated/Node/NodeReferenceTrait.php | <?php
/**
* This file is part of the Clastic package.
*
* (c) Dries De Peuter <dries@nousefreak.be>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Clastic\NodeBundle\Node;
use Clastic\NodeBundle\Entity\Node;
/**
* @auth... | <|file_sep|>original/Node/NodeReferenceTrait.php
<|file_sep|>current/Node/NodeReferenceTrait.php
<|file_sep|>updated/Node/NodeReferenceTrait.php
<?php
/**
* This file is part of the Clastic package.
*
* (c) Dries De Peuter <dries@nousefreak.be>
* For the full copyright and license information, please view the LIC... | 8f13d8cb8976b374694aa9c22fd7f20b6503920e | Node/NodeReferenceTrait.php | Node/NodeReferenceTrait.php | PHP |
<|file_sep|>original/docs/similarprojects.rst
Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flas... | Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flask-Peewee <https://flask-peewee.readthedocs.org... | <|file_sep|>original/docs/similarprojects.rst
Similar projects
================
If Flask-Restless doesn't work for you, here are some similar Python packages
that intend to simplify the creation of ReSTful APIs (in various combinations
of Web frameworks and database backends):
- `Eve <http://python-eve.org>`_
- `Flas... | d9398de3dbe438b4457fff86dc14730ddf6c8717 | docs/similarprojects.rst | docs/similarprojects.rst | reStructuredText |
<|file_sep|>.travis.yml.diff
original:
updated:
- hhvm-nightly
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer i... | - 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
script:
- vendor/bin/phpunit -c phpunit.xml.travisci
-matrix:... | <|file_sep|>.travis.yml.diff
original:
updated:
- hhvm-nightly
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
branches:
except:
- v0.5
- v0.6
- php5.2_backport
- documentation
services: redis-server
before_script:
- composer self-update
- composer i... | 0533b50c6b7235b57661f9e97730f06a1bd0f27e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/tasks/release.rake
<|file_sep|>current/lib/tasks/release.rake
<|file_sep|>updated/lib/tasks/release.rake | desc "Release a new project version"
task :release do
require 'pathname'
require 'yaml'
require 'more_core_extensions/all'
version = ENV["RELEASE_VERSION"]
if version.nil? || version.empty?
STDERR.puts "ERROR: You must set the env var RELEASE_VERSION to the proper value."
exit 1
end
branch = `gi... | <|file_sep|>original/lib/tasks/release.rake
<|file_sep|>current/lib/tasks/release.rake
<|file_sep|>updated/lib/tasks/release.rake
desc "Release a new project version"
task :release do
require 'pathname'
require 'yaml'
require 'more_core_extensions/all'
version = ENV["RELEASE_VERSION"]
if version.nil? || ve... | f6b385e5ca935ae071c29a1a8da2d925c03b3208 | lib/tasks/release.rake | lib/tasks/release.rake | Ruby |
<|file_sep|>io/curses/output.go.diff
original:
"code.google.com/p/goncurses"
updated:
<|file_sep|>original/io/curses/output.go
package curses
// Handles all output.
import (
"code.google.com/p/goncurses"
"github.com/discoviking/roguemike/io"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func In... | package curses
// Handles all output.
import (
"github.com/discoviking/roguemike/io"
"github.com/rthornton128/goncurses"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func Init() error {
s, err := goncurses.Init()
screen = s
if err != nil {
return err
}
goncurses.Raw(true)
goncurses.Echo... | <|file_sep|>io/curses/output.go.diff
original:
"code.google.com/p/goncurses"
updated:
<|file_sep|>original/io/curses/output.go
package curses
// Handles all output.
import (
"code.google.com/p/goncurses"
"github.com/discoviking/roguemike/io"
)
var screen *goncurses.Window
var Input chan *io.UpdateBundle
func In... | 67414dd968fe19234658385b3ef1fca06240ef55 | io/curses/output.go | io/curses/output.go | Go |
<|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
using System.Threading.Tasks;
updated:
using System;
using System.Threading.Tasks;
<|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
updated:
using CroquetAustralia.Doma... |
public TournamentEntryController(IEventsQueue eventsQueue)
{
_eventsQueue = eventsQueue;
}
[HttpPost]
[Route("add-entry")]
public async Task AddEntryAsync(SubmitEntry command)
{
// todo: allow javascript to send null
if (comma... | <|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
using System.Threading.Tasks;
updated:
using System;
using System.Threading.Tasks;
<|file_sep|>source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs.diff
original:
updated:
using CroquetAustralia.Doma... | a23f8baf25f006956fc66bdcbc9515644450abd4 | source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs | source/CroquetAustralia.WebApi/Controllers/TournamentEntryController.cs | C# |
<|file_sep|>bower.json.diff
original:
"jquery": "1.12.0",
updated:
"jquery": "1.12.2",
<|file_sep|>original/bower.json
"skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3... | "skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3.6",
"jquery": "1.12.2",
"html5shiv": "3.7.3",
"respondJs": "1.4.2",
"jquery-placeholder": "2.3.1"
},
"reso... | <|file_sep|>bower.json.diff
original:
"jquery": "1.12.0",
updated:
"jquery": "1.12.2",
<|file_sep|>original/bower.json
"skeleton",
"scaffolding",
"scaffold",
"theme",
"themes",
"kickstart",
"kickstarter",
"micromata",
"workflow"
],
"dependencies": {
"bootstrap": "~3.3... | 3b2d8ca68c5a82d1d66f8d4055ee82f98d226e9b | bower.json | bower.json | JSON |
<|file_sep|>original/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_mediu... | # Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgr... | <|file_sep|>original/.travis.yml
# Build matrix / environment variable are explained on:
# http://about.travis-ci.org/docs/user/build-configuration/
# This file can be validated on:
# http://lint.travis-ci.org/
# New APT install:
# http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_mediu... | e4f3a64be196b217731550dbb990c314b97f1d33 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/initializers/sidekiq.rb
require 'sidekiq/middleware/i18n'
host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: h... | host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: host, port: port, db: db, password: password }
end
Sidekiq.configure_client do |config|... | <|file_sep|>original/config/initializers/sidekiq.rb
require 'sidekiq/middleware/i18n'
host = ENV.fetch('REDIS_HOST') { 'localhost' }
port = ENV.fetch('REDIS_PORT') { 6379 }
password = ENV.fetch('REDIS_PASSWORD') { false }
db = ENV.fetch('REDIS_DB') { 0 }
Sidekiq.configure_server do |config|
config.redis = { host: h... | b8edab77c3082800c4d452bcc4cf67dcdb5f0f77 | config/initializers/sidekiq.rb | config/initializers/sidekiq.rb | Ruby |
<|file_sep|>tasks/watch.js.diff
original:
tasks: ["scsslint:all", "copy:source", "sass:compile"]
updated:
tasks: ["scsslint:all", "sass:compile"]
<|file_sep|>original/tasks/watch.js
module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "copy:source", "sass:compile"]
},... | module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "sass:compile"]
},
js: {
files: ["js/**/*.js", "tests/**/*.js"],
tasks: ["jshint:all", "requirejs:compile", "test:js"]
},
images: {
files: ["assets/**/*"],
tasks: ["copy:assets"]
}
} | <|file_sep|>tasks/watch.js.diff
original:
tasks: ["scsslint:all", "copy:source", "sass:compile"]
updated:
tasks: ["scsslint:all", "sass:compile"]
<|file_sep|>original/tasks/watch.js
module.exports = {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["scsslint:all", "copy:source", "sass:compile"]
},... | a0fed449494a90a841d62a273e6b040bf687e972 | tasks/watch.js | tasks/watch.js | JavaScript |
<|file_sep|>original/gulpfile.js
//https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch ... | //https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch']));
// Task for serving blog wi... | <|file_sep|>original/gulpfile.js
//https://nvbn.github.io/2015/06/19/jekyll-browsersync/
var gulp = require('gulp');
var shell = require('gulp-shell');
var browserSync = require('browser-sync').create();
// Task for building blog when something changed:
gulp.task('build', shell.task(['bundle exec jekyll build --watch ... | 3446e462c4e77869ca8d2cac7131d8c61180c45d | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>app/controllers/api/v1/causes_controller.rb.diff
original:
updated:
Volunteermatch.call_events(params[:id])
<|file_sep|>original/app/controllers/api/v1/causes_controller.rb
module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
... | module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
causes = Cause.all
render json: causes
end
def show
Volunteermatch.call_events(params[:id])
cause = Cause.find_by_id(params[:id])
render json: caus... | <|file_sep|>app/controllers/api/v1/causes_controller.rb.diff
original:
updated:
Volunteermatch.call_events(params[:id])
<|file_sep|>original/app/controllers/api/v1/causes_controller.rb
module Api
module V1
class CausesController < ApplicationController
extend Volunteermatch
def index
... | 0fcbeae20f23965239355529c1dfa81e9b8dbe2f | app/controllers/api/v1/causes_controller.rb | app/controllers/api/v1/causes_controller.rb | Ruby |
<|file_sep|>app/assets/javascripts/mails_viewer.js.diff
original:
updated:
$(document).on('click', '.mail a.preview', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$(document).on('click', '.mail a.raw', function(){
$.get($(this).attr('href'), functio... | });
$(document).on('click', '.mail a.raw', function(){
$.get($(this).attr('href'), function(data){
$('#raw div').text(data);
});
return false;
});
$("table").dataTable({
"aaSorting": [[3, "desc"]],
"aoColumns": [
null,
null,
null,
null,
{ "bSortable": fa... | <|file_sep|>app/assets/javascripts/mails_viewer.js.diff
original:
updated:
$(document).on('click', '.mail a.preview', function() {
console.log(this);
$(this).colorbox({width:"80%", height:"80%", iframe:true});
});
$(document).on('click', '.mail a.raw', function(){
$.get($(this).attr('href'), functio... | 7c3092b600df6e7c3d3f359804935c69c85d582c | app/assets/javascripts/mails_viewer.js | app/assets/javascripts/mails_viewer.js | JavaScript |
<|file_sep|>original/Context/ChannelNotFoundException.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class Chann... | * For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class ChannelNotFoundException extends \RuntimeException
{
/**
... | <|file_sep|>original/Context/ChannelNotFoundException.php
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Channel\Context;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
class Chann... | 1b31048ac9d97b210265c3925281c30b082c7e19 | Context/ChannelNotFoundException.php | Context/ChannelNotFoundException.php | PHP |
<|file_sep|>original/Chapter-5/README.md
<|file_sep|>current/Chapter-5/README.md
<|file_sep|>updated/Chapter-5/README.md | ## Chapter 5: Base classes for managing x86 architecture
Now that we now how to compile our C++ kernel and boot the binary using GRUB, we can start to do some nice stuffs in C/C++. | <|file_sep|>original/Chapter-5/README.md
<|file_sep|>current/Chapter-5/README.md
<|file_sep|>updated/Chapter-5/README.md
## Chapter 5: Base classes for managing x86 architecture
Now that we now how to compile our C++ kernel and boot the binary using GRUB, we can start to do some nice stuffs in C/C++. | 82107d428ca8ec41e4e9d981d6a8eec7c214ea3e | Chapter-5/README.md | Chapter-5/README.md | Markdown |
<|file_sep|>original/pkg/analyzer_cli/pubspec.yaml
name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.... | name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.0
bazel_worker: ^0.1.0
cli_util: ^0.0.1
linte... | <|file_sep|>original/pkg/analyzer_cli/pubspec.yaml
name: analyzer_cli
version: 1.1.2
author: Dart Team <misc@dartlang.org>
description: Command line interface for the Dart Analyzer.
homepage: https://github.com/dart-lang/analyzer_cli
environment:
sdk: '>=1.12.0 <2.0.0'
dependencies:
analyzer: ^0.27.0
args: ^0.13.... | 6682e745267bbdc34a2ef54ba1b39d81768fdf97 | pkg/analyzer_cli/pubspec.yaml | pkg/analyzer_cli/pubspec.yaml | YAML |
<|file_sep|>original/website/source/docs/provisioners/local-exec.html.markdown
The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# lo... | The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# local-exec Provisioner
The `local-exec` provisioner invokes a local executable a... | <|file_sep|>original/website/source/docs/provisioners/local-exec.html.markdown
The `local-exec` provisioner invokes a local executable after a resource is created. This invokes a process on the machine running Terraform, not on the resource. See the `remote-exec` provisioner to run commands on the resource.
---
# lo... | d31656af9138b39b2c0eaae480c9b694f5cc9bc4 | website/source/docs/provisioners/local-exec.html.markdown | website/source/docs/provisioners/local-exec.html.markdown | Markdown |
<|file_sep|>original/lib/tasks/redmine_audit.rake
require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:bundle_audit users="1,23, 56" RA... | require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:audit users="1,23, 56" RAILS_ENV="production"
END_DESC
namespace :redmine do
# ... | <|file_sep|>original/lib/tasks/redmine_audit.rake
require 'redmine_audit/advisory'
require 'redmine_audit/database'
desc <<-END_DESC
Check redmine vulnerabilities.
Available options:
* users => comma separated list of user/group ids who should be notified
Example:
rake redmine:bundle_audit users="1,23, 56" RA... | 8716da8d1606c1bb6bef4892a3b065b461aadd28 | lib/tasks/redmine_audit.rake | lib/tasks/redmine_audit.rake | Ruby |
<|file_sep|>original/app/src/main/res/layout/activity_purchasehasbeenmade.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayo... | <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:layout_margin="10dp">
<TextView
androi... | <|file_sep|>original/app/src/main/res/layout/activity_purchasehasbeenmade.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayo... | 9b5661e19686aaf7c68a3b7910aad863cbd0cd89 | app/src/main/res/layout/activity_purchasehasbeenmade.xml | app/src/main/res/layout/activity_purchasehasbeenmade.xml | XML |
<|file_sep|>original/tester/project.cmake
## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQlite3)
#tba... | ## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQLite3)
#tbag_modules__include_project (Preview)
| <|file_sep|>original/tester/project.cmake
## Tbag CMake subproject.
tbag_modules__include_project (Default)
# Extension.
tbag_modules__include_project (GTest)
tbag_modules__include_project (UV)
tbag_modules__include_project (TinyXML2)
tbag_modules__include_project (Spdlog)
tbag_modules__include_project (SQlite3)
#tba... | bd98814d0a5a2135aca0a9b5156e3fcdccf57696 | tester/project.cmake | tester/project.cmake | CMake |
<|file_sep|>Resources/views/Default/navigation.html.twig.diff
original:
updated:
{% if knp_menu_get('main').currentItem %}
<|file_sep|>original/Resources/views/Default/navigation.html.twig
<div class="cmf-breadcrumb">
<ul>
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
... | <div class="cmf-breadcrumb">
<ul>
{% if knp_menu_get('main').currentItem %}
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
<li><a href="{{url}}">{{ title }}</a></li>
{% endfor %}
{% endif %}
</ul>
</div>
<h2 class="offset">Main navigation</... | <|file_sep|>Resources/views/Default/navigation.html.twig.diff
original:
updated:
{% if knp_menu_get('main').currentItem %}
<|file_sep|>original/Resources/views/Default/navigation.html.twig
<div class="cmf-breadcrumb">
<ul>
{% for title, url in knp_menu_get('main').currentItem.breadcrumbsArray %}
... | 3206263f778d9f2faf71628c7c6c9b36add12fa5 | Resources/views/Default/navigation.html.twig | Resources/views/Default/navigation.html.twig | Twig |
<|file_sep|>original/src/Utils/ArrayUtil.php
<|file_sep|>current/src/Utils/ArrayUtil.php
<|file_sep|>updated/src/Utils/ArrayUtil.php | <?php
namespace UWaterlooAPI\Utils;
class ArrayUtil
{
public static function getVal(array $array, ...$keys)
{
foreach ($keys as $key) {
$array = $array[$key];
}
return $array;
}
/**
* Filters elements from an array of associative arrays that don't contain a c... | <|file_sep|>original/src/Utils/ArrayUtil.php
<|file_sep|>current/src/Utils/ArrayUtil.php
<|file_sep|>updated/src/Utils/ArrayUtil.php
<?php
namespace UWaterlooAPI\Utils;
class ArrayUtil
{
public static function getVal(array $array, ...$keys)
{
foreach ($keys as $key) {
$array = $array[$ke... | 3f04456a9697c696ba07374d97094703a5d6ac55 | src/Utils/ArrayUtil.php | src/Utils/ArrayUtil.php | PHP |
<|file_sep|>t/live/juice_cgi.js.diff
original:
var cgi = require('juice/engine/cgi');
function application(env) {
updated:
function doneChore(env, task_id) {
<|file_sep|>t/live/juice_cgi.js.diff
original:
yield "Hi!";
yield "<h2>Title</h2>";
updated:
<|file_sep|>t/live/juice_cgi.js.diff
original:
updated... | 200,
{contentType: 'text/html'},
function() {
yield "<b>Hi!</b>";
yield "<pre>Script url args are " + env.PATH_INFO + "</pre>";
yield "<pre>This script is rooted at " + env.SCRIPT_NAME + "</pre>";
yield "<h2>Title \u2603</h2>";
}
];
}
var juice = require('lib/juice');
var ap... | <|file_sep|>t/live/juice_cgi.js.diff
original:
var cgi = require('juice/engine/cgi');
function application(env) {
updated:
function doneChore(env, task_id) {
<|file_sep|>t/live/juice_cgi.js.diff
original:
yield "Hi!";
yield "<h2>Title</h2>";
updated:
<|file_sep|>t/live/juice_cgi.js.diff
original:
updated... | d77304df34c4c164c7d490c73801013f92f69e08 | t/live/juice_cgi.js | t/live/juice_cgi.js | JavaScript |
<|file_sep|>README.md.diff
original:
A chrome extension for mapping Google devsites in mainland China:
updated:
A chrome extension for mapping Google devsites in mainland China, such as:
<|file_sep|>original/README.md
# google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China:
- "de... | # google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China, such as:
- "developers.google.com" -> "developers.google.cn"
- "firebase.google.com" -> "firebase.google.cn",
- "developer.android.com" -> "developer.android.google.cn"
- "angular.io" -> "angular.cn" | <|file_sep|>README.md.diff
original:
A chrome extension for mapping Google devsites in mainland China:
updated:
A chrome extension for mapping Google devsites in mainland China, such as:
<|file_sep|>original/README.md
# google-cn-devsites-extension
A chrome extension for mapping Google devsites in mainland China:
- "de... | 9ec7806ce02ac7553ff61a46aa2fda95619aaf56 | README.md | README.md | Markdown |
<|file_sep|>original/composer.json
"license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": ... | "license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.0.x|5.1.x|5.2.*",
"symfo... | <|file_sep|>original/composer.json
"license": "MIT",
"keywords": ["laravel", "stack", "stackphp", "middleware"],
"authors": [
{
"name": "Barry vd. Heuvel",
"email": "barryvdh@gmail.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": ... | 7e76508c06a9a2f67de2ffbe5eb14a3c784f8977 | composer.json | composer.json | JSON |
<|file_sep|>original/docs/GettingStarted.md
category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from t... | category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from the Mac App Store.
3. [Homebrew](http://brew.... | <|file_sep|>original/docs/GettingStarted.md
category: Quick Start
permalink: docs/getting-started.html
next: tutorial
---
## Requirements
1. OS X - This repo only contains the iOS implementation right now, and Xcode only runs on Mac.
2. New to Xcode? [Download it](https://developer.apple.com/xcode/downloads/) from t... | b5775737307b7b0806aa25a7c174e690454dcce4 | docs/GettingStarted.md | docs/GettingStarted.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create da... | language: node_js
node_js:
- 0.10
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create database versiondb;' -U postgres
env:
- DATABASE_URL="postgres://postgres@localhost/versiondb"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- 0.8
- 0.6
before_script:
- psql -c 'create da... | 5826b00cc2c82f444f937840756ac56ed58b9cda | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/plugin-koa/src/request-info.js.diff
original:
referer: request.headers.referer,
clientIp: ctx.ip,
updated:
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
<|file_sep|>original/pack... | const url = `${ctx.request.href}`
return {
url,
path: request.url,
httpMethod: request.method,
headers: request.headers,
httpVersion: request.httpVersion,
query: ctx.request.query,
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ?... | <|file_sep|>packages/plugin-koa/src/request-info.js.diff
original:
referer: request.headers.referer,
clientIp: ctx.ip,
updated:
referer: request.headers.referer || request.headers.referrer,
clientIp: ctx.ip || (request.connection ? request.connection.remoteAddress : undefined),
<|file_sep|>original/pack... | c4e1ab35435aa59f5bbd14896fbe967cdeab587d | packages/plugin-koa/src/request-info.js | packages/plugin-koa/src/request-info.js | JavaScript |
<|file_sep|>original/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>current/requi... | --requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.5.0
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0 | <|file_sep|>original/requirements-dev.txt
--requirement requirements.txt
# Development
pyramid-debugtoolbar==4.3
waitress==1.0.2
# Testing
nose==1.3.7
nose-testconfig==0.10
coverage==4.4.1
WebTest==2.0.28
# Linting
flake8==3.4.1
# Documentation
Sphinx==1.6.3
sphinxcontrib-httpdomain==1.5.0
<|file_sep|>current/requi... | 8176f8a74fcb9ea7beb5411d136c9d5a51bf965d | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/src/server/src/healthcheck/topology-loaded.indicator.ts
const layerEntries = (await Promise.all(
Object.entries(layers).map(([layerId, topology]) => {
return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// ... | return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// immediately when provided at least one, so this shouldn't block
void Promise.race([topology, Promise.resolve(undefined)]).then(topology => {
resolve([layerId, t... | <|file_sep|>original/src/server/src/healthcheck/topology-loaded.indicator.ts
const layerEntries = (await Promise.all(
Object.entries(layers).map(([layerId, topology]) => {
return new Promise((resolve, reject) => {
// Promise.race should return the first already resolved promise
// ... | d5f285e74ed5d448d7f506b8a03610bcc8af9981 | src/server/src/healthcheck/topology-loaded.indicator.ts | src/server/src/healthcheck/topology-loaded.indicator.ts | TypeScript |
<|file_sep|>original/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>current/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>updated/README.md | # interview-riddles
A collection of interview riddles with their solutions
All the videos for the files are here:
https://www.youtube.com/playlist?list=PLtm06noQc9vmHGUVoafpM4L6aGjTsdVP0 | <|file_sep|>original/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>current/README.md
# interview-riddles
A collection of interview riddles with their solutions
<|file_sep|>updated/README.md
# interview-riddles
A collection of interview riddles with their solutions
All... | eaad49d69c69baa32748594c8f74977d1e3a8c18 | README.md | README.md | Markdown |
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
updated:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.compliance=1.7
updated:
org.eclipse.jdt... | eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.complianc... | <|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
updated:
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
<|file_sep|>.settings/org.eclipse.jdt.core.prefs.diff
original:
org.eclipse.jdt.core.compiler.compliance=1.7
updated:
org.eclipse.jdt... | ecea184d06a9c7373be2903faecd55205ef11b7b | .settings/org.eclipse.jdt.core.prefs | .settings/org.eclipse.jdt.core.prefs | INI |
<|file_sep|>original/docs/configuration/encryption.md
meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some ... | meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some sensitive information in the database, such a keys.
B... | <|file_sep|>original/docs/configuration/encryption.md
meta_title: "Encryption configuration in Polyaxon - Configuration"
meta_description: "Polyaxon's Encryption configuration."
tags:
- configuration
- polyaxon
- kubernetes
- docker-compose
sidebar: "configuration"
---
Polyaxon might need to save some ... | ac5d43d069d0d3ff60d3cb3718c8c09c28bfb701 | docs/configuration/encryption.md | docs/configuration/encryption.md | Markdown |
<|file_sep|>knox/settings.py.diff
original:
from rest_framework.settings import api_settings, APISettings
updated:
from rest_framework.settings import APISettings
<|file_sep|>original/knox/settings.py
from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from re... | from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from rest_framework.settings import APISettings
USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
DEFAULTS = {
'SECURE_HASH_ALGORITHM': 'cryptography.hazmat.primitives.hashes.SHA512',
'AUTH_TOKEN... | <|file_sep|>knox/settings.py.diff
original:
from rest_framework.settings import api_settings, APISettings
updated:
from rest_framework.settings import APISettings
<|file_sep|>original/knox/settings.py
from datetime import timedelta
from django.conf import settings
from django.test.signals import setting_changed
from re... | 586fab3cdc9e059c082bf209a6113b6bb06f2119 | knox/settings.py | knox/settings.py | Python |
<|file_sep|>original/radian-emacs/radian-yank.el
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection wil... | ;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection will actually
;; cause the region to be deleted, as ... | <|file_sep|>original/radian-emacs/radian-yank.el
;; killed. (Otherwise, in both cases the selection is deselected and
;; the normal function of the key is performed.)
(delete-selection-mode 1)
;; Make delete-selection-mode work properly with Paredit (so that, for
;; example, pressing DEL while there is a selection wil... | f9b5b5fe70b7ed95b9cefc071fe80d2b482aa986 | radian-emacs/radian-yank.el | radian-emacs/radian-yank.el | Emacs Lisp |
<|file_sep|>core/cognactime.js.diff
original:
updated:
, path = require('path')
<|file_sep|>original/core/cognactime.js
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', './views')
ct.se... | ct.use(require('morgan')('combined', {'stream': log.stream}))
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', path.join(__dirname, '../views'))
ct.set('view engine', 'hbs')
// Set core routes
ct.... | <|file_sep|>core/cognactime.js.diff
original:
updated:
, path = require('path')
<|file_sep|>original/core/cognactime.js
// Set static
ct.use('/static', express.static('public'))
// Set view engine
ct.engine('hbs', expresshbs({
defaultLayout: 'main',
extname: '.hbs'
}))
ct.set('views', './views')
ct.se... | 4c0de17f4577f94ad8903f8fd5b65d384895f4ff | core/cognactime.js | core/cognactime.js | JavaScript |
<|file_sep|>original/test.sh
#!/bin/sh
bash
ps -l
(sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/us... | (sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/usr/sbin/useradd -m test
/usr/sbin/userdel -r test
l... | <|file_sep|>original/test.sh
#!/bin/sh
bash
ps -l
(sleep 10)&
coproc { sleep 10;echo $BASH_SUBSHELL;sleep 6; }
echo $TEST_VARIABLE
TEST_VARIABLE=HELLO
echo $TEST_VARIABLE
export my_test_variable
unset my_test_variable
echo $PATH
PATH=$PATH:/Users
mytest=(1 2 3 4 5)
echo ${mytest[2]}
echo ${mytest[*]
useradd -m test
/us... | 5730477f8081e2989b08ad8ec05ae7d9b3681313 | test.sh | test.sh | Shell |
<|file_sep|>original/roles/web/tasks/setup_openbr.yml
---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages
<|file_sep|>current/roles/web/tasks/setup_openbr.y... | ---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr mode=a+rx
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages | <|file_sep|>original/roles/web/tasks/setup_openbr.yml
---
- name: Install OpenBR/OpenCV Headers, Libraries
copy: src=files/openbr/usr/ dest=/usr
- name: Install OpenBR Python Wrapper
copy: src=files/openbr/brpy dest=/webapps/vida/local/lib/python2.7/site-packages
<|file_sep|>current/roles/web/tasks/setup_openbr.y... | e6e20151fb892e8244a25b537fedb81101a6f348 | roles/web/tasks/setup_openbr.yml | roles/web/tasks/setup_openbr.yml | YAML |
<|file_sep|>original/src/main/resources/development.logger.xml
<configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<log... | <configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<logger name="com.google.inject.internal" ... | <|file_sep|>original/src/main/resources/development.logger.xml
<configuration>
<include resource="common.stdout.logger.xml" />
<logger name="application" level="DEBUG" />
<logger name="ch.qos.logback" level="OFF" />
<log... | 94c4d782765618b52532f0b53a57bb7e8a4bae13 | src/main/resources/development.logger.xml | src/main/resources/development.logger.xml | XML |
<|file_sep|>original/README.md
=======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
======... | =======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
====================
Playing an audi... | <|file_sep|>original/README.md
=======================
1. Get the source code: `git clone https://github.com/sbooth/SFBAudioEngine.git`
2. Download the dependencies and unpack in the project's root: https://files.sbooth.org/SFBAudioEngine-dependencies.tar.bz2
3. Open the project and build!
Using SFBAudioEngine
======... | a0b98b8bd6e9dca106b2d44eaf8e97beb7955b2a | README.md | README.md | Markdown |
<|file_sep|>original/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol") unless m.user.nick.downcase == "matezoide"
end
end
<|file_sep|>current/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin... | require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol")
end
end | <|file_sep|>original/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin
match /^!yolol/i
def execute(m)
m.reply("yolol") unless m.user.nick.downcase == "matezoide"
end
end
<|file_sep|>current/plugins/yolol-plugin.rb
require 'cinch'
class YololPlugin
include Cinch::Plugin... | 3d0d188178c5898d1778ac249236b4487e70a9a6 | plugins/yolol-plugin.rb | plugins/yolol-plugin.rb | Ruby |
<|file_sep|>test/serializers/attributes_test.rb.diff
original:
updated:
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
<|file_sep|>original/test/serializers/attributes_test.rb
en... |
def test_required_fields
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(fields: [:name, :description], required_fields: [:name]))
end
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Descri... | <|file_sep|>test/serializers/attributes_test.rb.diff
original:
updated:
def test_include_nil_false
assert_equal({name: 'Name 1', description: 'Description 1'},
@profile_serializer.attributes(include_nil: false))
<|file_sep|>original/test/serializers/attributes_test.rb
en... | dced147952d208fb365322a6d7535e01888131f4 | test/serializers/attributes_test.rb | test/serializers/attributes_test.rb | Ruby |
<|file_sep|>original/src/client/scripts/pages/authentification.react.js
Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p class... | Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p className="lead">Please fulfill the informations on the other window</p>
... | <|file_sep|>original/src/client/scripts/pages/authentification.react.js
Utils.Socket.emit('youtube/auth');
},
render() {
if (this.state.loading) {
return (
<div className="text-page">
<div className="jumbotron">
<h1 className="display-3">YouWatch</h1>
<p class... | 9d4f87b885465c2010f53cfecbbd5d8f24811521 | src/client/scripts/pages/authentification.react.js | src/client/scripts/pages/authentification.react.js | JavaScript |
<|file_sep|>src/types/radio/view.html.diff
original:
<md-radio-group ng-model="model[options.key]">
updated:
<md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<|file_sep|>src/types/radio/view.html.diff
original:
ng-disabled="(to.options[$index].disabled || to.options[$ind... | <md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<md-radio-button
ng-repeat="option in to.options track by $index"
aria-label="{{to.options[$index].ariaLabel}}"
class="{{to.options[$index].className}}"
ng-disabled="(to.options[$index].disabled... | <|file_sep|>src/types/radio/view.html.diff
original:
<md-radio-group ng-model="model[options.key]">
updated:
<md-radio-group ng-model="model[options.key]" ng-disabled="to.disabled || to.ngDisabled">
<|file_sep|>src/types/radio/view.html.diff
original:
ng-disabled="(to.options[$index].disabled || to.options[$ind... | 5de959ed6573c810c39510db6f0e05ae79db1b1e | src/types/radio/view.html | src/types/radio/view.html | HTML |
<|file_sep|>original/openpathsampling/engines/toy/snapshot.py
"""
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
import openpathsampling.engines.features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
... | """
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
from openpathsampling.engines import features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
toy_feats.coordinates,
toy_feats.instantaneous_temper... | <|file_sep|>original/openpathsampling/engines/toy/snapshot.py
"""
@author: JD Chodera
@author: JH Prinz
"""
from openpathsampling.engines import BaseSnapshot, SnapshotFactory
import openpathsampling.engines.features as feats
from . import features as toy_feats
@feats.attach_features([
toy_feats.velocities,
... | 364cb2307021cc11de5a31f577e12a5f3e1f6bf6 | openpathsampling/engines/toy/snapshot.py | openpathsampling/engines/toy/snapshot.py | Python |
<|file_sep|>original/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>current/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>updated/setup/python-setu... | #!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
pip install pillow
easy_install -U distribute
pip install matplotlib
pip install nose
# to test: python
# >>> import numpy
# >>> import matplotlib
# >>> import nose | <|file_sep|>original/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>current/setup/python-setup.sh
#!/bin/sh
apt-get install python-pip -y
apt-get install python3-pip -y
apt-get install python-dev
<|file_sep|>updated/setup/python-setu... | 9732429f074430a05f2bac7e10ccbef1c5e3d971 | setup/python-setup.sh | setup/python-setup.sh | Shell |
<|file_sep|>original/requirements.txt
boto3==1.4.4
botocore==1.5.81
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
fu... | boto3==1.4.4
botocore==1.5.82
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
futures==3.1.1
gunicorn==19.7.1
idna==2.... | <|file_sep|>original/requirements.txt
boto3==1.4.4
botocore==1.5.81
certifi==2017.4.17
chardet==3.0.4
dj-database-url==0.4.2
dj-static==0.0.6
Django==1.11.3
django-grappelli==2.10.1
django-haystack==2.5.1
django-linkcheck==1.4
django-s3-folder-storage==0.5
django-storages==1.6.3
docutils==0.13.1
elasticsearch==2.4.1
fu... | 0ea4df6e2f3f5ebecc1461a69f0d4a98a607cd61 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>current/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>updated/spec/helpers/spec_helper.js | (function(once) { if(once) return function() {};
global.itBehavesLikeAnAdapter = require('./adapter_helper');
global._specHelper = true;
beforeEach(function() {
});
afterEach(function() {
Document.Adapter.clear();
});
module.exports = global._specHelper
})(global._specHelper); | <|file_sep|>original/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>current/spec/helpers/spec_helper.js
beforeEach(function () {
});
<|file_sep|>updated/spec/helpers/spec_helper.js
(function(once) { if(once) return function() {};
global.itBehavesLikeAnAdapter = require('./adapter_helper');
glo... | 243934e6bbb3649863ba27ce79e817002c165667 | spec/helpers/spec_helper.js | spec/helpers/spec_helper.js | JavaScript |
<|file_sep|>original/src/js/helpers/prepare.js
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.data = el.node.getAttributeNames().reduce((acc, attr) => {
ret... | if (options.initClassName) {
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.options = {
once,
mirror,
animatedClassNames,
id
};
... | <|file_sep|>original/src/js/helpers/prepare.js
el.node.classList.add(options.initClassName);
}
el.position = {
in: getPositionIn(el.node, options.offset),
out: mirror && getPositionOut(el.node, options.offset)
};
el.data = el.node.getAttributeNames().reduce((acc, attr) => {
ret... | f49e4db8c5be936ecf711a8cda3e86d425f7e96d | src/js/helpers/prepare.js | src/js/helpers/prepare.js | JavaScript |
<|file_sep|>recipes/phreeqc4rkt/meta.yaml.diff
original:
host:
- python
updated:
<|file_sep|>original/recipes/phreeqc4rkt/meta.yaml
sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
host:
- python
... | sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
run_constrained: # [osx]
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
test:
requires:
... | <|file_sep|>recipes/phreeqc4rkt/meta.yaml.diff
original:
host:
- python
updated:
<|file_sep|>original/recipes/phreeqc4rkt/meta.yaml
sha256: 2ffb155dcc5dc12405c5276f438dabdba0e3e5b2eaaa4a34b45cb184c7311392
build:
number: 0
requirements:
build:
- {{ compiler('cxx') }}
- cmake
host:
- python
... | d520980ed63e9e4cb46210881f066781dd62c8ac | recipes/phreeqc4rkt/meta.yaml | recipes/phreeqc4rkt/meta.yaml | YAML |
<|file_sep|>original/lib/System/Unix/Unix.h
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===------------------------------------------------------... | //===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===----------------------------------------------------------------------===//
#include "llvm/Config/... | <|file_sep|>original/lib/System/Unix/Unix.h
//===----------------------------------------------------------------------===//
//=== WARNING: Implementation here must contain only generic UNIX code that
//=== is guaranteed to work on all UNIX variants.
//===------------------------------------------------------... | 194ca80fdbb4e15db7527aaeff6ba1e36fd27fb0 | lib/System/Unix/Unix.h | lib/System/Unix/Unix.h | C |
<|file_sep|>original/contents/patterns/inactive.html
<header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use the inactive state to disable access to a certain feature or part of the interface but still want to maintain visibility to the user.
</p>
<% include ../includes/patterns/inactive/ina... | <header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use when you want to disable access to an interface feature or element, but still want to maintain the element’s visibility to the user.
</p>
<% include ../includes/patterns/inactive/inactive-usage.html %>
<h2>Style</h2>
<% include ../i... | <|file_sep|>original/contents/patterns/inactive.html
<header>
<h1>Inactive</h1>
</header>
<section>
<h2>Usage</h2>
<p>
Use the inactive state to disable access to a certain feature or part of the interface but still want to maintain visibility to the user.
</p>
<% include ../includes/patterns/inactive/ina... | b47493087c55b5a59451fb5863ca95914bbcd926 | contents/patterns/inactive.html | contents/patterns/inactive.html | HTML |
<|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
updated:
use Youshido\GraphQL\Field\InputField;
use Youshido\GraphQL\Config\Field\FieldConfig;
use ProcessWire\GraphQL\Type\Scalar\SelectorType;
<|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
return "All the sibling pages of this page... | public function getDescription()
{
return "All the sibling pages of this page. Optionally filter them with selector. Returns a PageArray.";
}
public function build(FieldConfig $config)
{
$config->addArgument(new InputField([
'name' => SelectorType::ARGUMENT_NAME,
'type' => new SelectorTyp... | <|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
updated:
use Youshido\GraphQL\Field\InputField;
use Youshido\GraphQL\Config\Field\FieldConfig;
use ProcessWire\GraphQL\Type\Scalar\SelectorType;
<|file_sep|>src/Field/Page/PageSiblingsField.php.diff
original:
return "All the sibling pages of this page... | 159276307e9954f2b04fabf7d8e875529132ea03 | src/Field/Page/PageSiblingsField.php | src/Field/Page/PageSiblingsField.php | PHP |
<|file_sep|>knights/library.py.diff
original:
Container for registering tags and filters
updated:
Container for registering tags and helpers
<|file_sep|>original/knights/library.py
from functools import partial
class Library:
'''
Container for registering tags and filters
'''
def __init__(self... | from functools import partial
class Library:
'''
Container for registering tags and helpers
'''
def __init__(self):
self.tags = {}
self.helpers = {}
def tag(self, func=None, name=None):
if func is None:
return partial(self.tag, name=name)
if name is No... | <|file_sep|>knights/library.py.diff
original:
Container for registering tags and filters
updated:
Container for registering tags and helpers
<|file_sep|>original/knights/library.py
from functools import partial
class Library:
'''
Container for registering tags and filters
'''
def __init__(self... | 0a0d6b87aac75f298194b43cfcea67b0d1651a97 | knights/library.py | knights/library.py | Python |
<|file_sep|>original/CHANGELOG.md
<|file_sep|>current/CHANGELOG.md
<|file_sep|>updated/CHANGELOG.md | # Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).
## Unreleased
### Added
- [TT-1392] Changelog file | <|file_sep|>original/CHANGELOG.md
<|file_sep|>current/CHANGELOG.md
<|file_sep|>updated/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This changelog adheres to [Keep a CHANGELOG](http://keepachangelo... | 27041eb9d755cb73901c36100e0058480a7cb76b | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/README.md
[](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`<link rel="import" href=... | [](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`bower install text-fill`
`<link rel="import" href="../... | <|file_sep|>original/README.md
[](https://travis-ci.org/armyofgnomes/text-fill)
# text-fill
Web component to resize text to fill a container
Inspired by https://github.com/jquery-textfill/jquery-textfill
To use:
`<link rel="import" href=... | 969d3ce03a9d6e87619bdce9e9af9ec5f6d10849 | README.md | README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.