prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/provider/lib/tasks/rcov.rake <|file_sep|>current/provider/lib/tasks/rcov.rake <|file_sep|>updated/provider/lib/tasks/rcov.rake
begin require 'rcov/rcovtask' rescue LoadError raise 'Could not find the rcov gem, please run `gem install rcov` to get some metrics' end namespace :test do namespace :coverage do desc "Delete aggregate coverage data." task :clean do rm_f "reports/coverage/coverage.data" end d...
<|file_sep|>original/provider/lib/tasks/rcov.rake <|file_sep|>current/provider/lib/tasks/rcov.rake <|file_sep|>updated/provider/lib/tasks/rcov.rake begin require 'rcov/rcovtask' rescue LoadError raise 'Could not find the rcov gem, please run `gem install rcov` to get some metrics' end namespace :test do na...
31169636451be6e600b216016714441b9e9b27d5
provider/lib/tasks/rcov.rake
provider/lib/tasks/rcov.rake
Ruby
<|file_sep|>original/composer.json "authors": [ { "name": "Anthony Lawrence", "email": "freelancer@anthonylawrence.me.uk" } ], "support": { "issues": "https://github.com/A-Lawrence/VatsimXML/issues", "wiki": "https://github.com/A-Lawrence/VatsimXML/wik...
"authors": [ { "name": "Anthony Lawrence", "email": "freelancer@anthonylawrence.me.uk" } ], "support": { "issues": "https://github.com/A-Lawrence/VatsimXML/issues", "wiki": "https://github.com/A-Lawrence/VatsimXML/wiki" }, "require": { ...
<|file_sep|>original/composer.json "authors": [ { "name": "Anthony Lawrence", "email": "freelancer@anthonylawrence.me.uk" } ], "support": { "issues": "https://github.com/A-Lawrence/VatsimXML/issues", "wiki": "https://github.com/A-Lawrence/VatsimXML/wik...
4acc81205fe51006c39e144e50bd2c1e4967f393
composer.json
composer.json
JSON
<|file_sep|>.travis.yml.diff original: - 2.0.0 - 2.1 - 2.2 - 2.3.3 - 2.4.0 updated: - 2.6.0 - 2.7.0 - 3.0.0 <|file_sep|>original/.travis.yml - 2.3.3 - 2.4.0 - jruby-9.1.7.0 - ruby-head sudo: false bundler_args: --without development --retry=3 --jobs=3 before_install: - gem update --system ...
- 2.7.0 - 3.0.0 - jruby-9.1.7.0 - ruby-head sudo: false bundler_args: --without development --retry=3 --jobs=3 before_install: - gem update --system - gem update bundler env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" matrix: allow_failures: - rvm: ruby-head fast_finish: true
<|file_sep|>.travis.yml.diff original: - 2.0.0 - 2.1 - 2.2 - 2.3.3 - 2.4.0 updated: - 2.6.0 - 2.7.0 - 3.0.0 <|file_sep|>original/.travis.yml - 2.3.3 - 2.4.0 - jruby-9.1.7.0 - ruby-head sudo: false bundler_args: --without development --retry=3 --jobs=3 before_install: - gem update --system ...
41001eb745909f10a8870592295e0c8a19671de2
.travis.yml
.travis.yml
YAML
<|file_sep|>ci/cmake-preloads/config-ios.txt.diff original: message("PRELOADING android cache") updated: message("PRELOADING iOS cache") <|file_sep|>original/ci/cmake-preloads/config-ios.txt message("PRELOADING android cache") set (CMAKE_TOOLCHAIN_FILE "cmake/iOSToolchain.cmake" CACHE PATH "ToolChain file") set (FREERD...
message("PRELOADING iOS cache") set (CMAKE_TOOLCHAIN_FILE "cmake/iOSToolchain.cmake" CACHE PATH "ToolChain file") set (FREERDP_IOS_EXTERNAL_SSL_PATH $ENV{FREERDP_IOS_EXTERNAL_SSL_PATH} CACHE PATH "android ssl") set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "build type") set (IOS_PLATFORM "SIMULATOR" CACHE STRING "iso plat...
<|file_sep|>ci/cmake-preloads/config-ios.txt.diff original: message("PRELOADING android cache") updated: message("PRELOADING iOS cache") <|file_sep|>original/ci/cmake-preloads/config-ios.txt message("PRELOADING android cache") set (CMAKE_TOOLCHAIN_FILE "cmake/iOSToolchain.cmake" CACHE PATH "ToolChain file") set (FREERD...
f3c29852498c78b6b74227c8e7cf7fe3f08dc8d2
ci/cmake-preloads/config-ios.txt
ci/cmake-preloads/config-ios.txt
Text
<|file_sep|>original/README.md Options: -h, --help show this help message and exit -u username, --username=username Username -p passwd, --password=passwd Password -b bank, --bank=bank Choose which bank you want to use. Defau...
Options: -h, --help show this help message and exit -u username, --username=username Username -p passwd, --password=passwd Password -b bank, --bank=bank Choose which bank you want to use. Default first bank -B, --list-...
<|file_sep|>original/README.md Options: -h, --help show this help message and exit -u username, --username=username Username -p passwd, --password=passwd Password -b bank, --bank=bank Choose which bank you want to use. Defau...
3f3580702339242b712018a758c94ee9a4cb6f8f
README.md
README.md
Markdown
<|file_sep|>original/test/performance/bharshbarg/arr-forall.chpl // // Measures both array iteration and array access time // use Memory, Time, Types; config const zipIter = false; config const memFraction = 16; config const printPerf = false; type elemType = uint(8); const totalMem = here.physicalMemory(unit = Mem...
// // Measures both array iteration and array access time // use Memory, Time, Types; config const zipIter = false; config const memFraction = 100; config const printPerf = false; type elemType = uint(8); const totalMem = here.physicalMemory(unit = MemUnits.Bytes); const n = (totalMem / numBytes(elemType)) / memFra...
<|file_sep|>original/test/performance/bharshbarg/arr-forall.chpl // // Measures both array iteration and array access time // use Memory, Time, Types; config const zipIter = false; config const memFraction = 16; config const printPerf = false; type elemType = uint(8); const totalMem = here.physicalMemory(unit = Mem...
947542f4a2cf5e8b5c08a18cf918e3ccca560886
test/performance/bharshbarg/arr-forall.chpl
test/performance/bharshbarg/arr-forall.chpl
Chapel
<|file_sep|>original/hammerspoon/hammerspoon.symlink/modules/modals.lua <|file_sep|>current/hammerspoon/hammerspoon.symlink/modules/modals.lua <|file_sep|>updated/hammerspoon/hammerspoon.symlink/modules/modals.lua
local f20modal = hs.hotkey.modal.new('cmd', 'f20') function f20modal:entered() hs.timer.doAfter(1, function() f20modal:exit() end) -- hs.alert'Entered mode' end -- function f20modal:exited() -- hs.alert'Exited mode' -- end -- iTunes f20modal:bind('', 'f1', function() hs.itunes.previous(); f20modal:exit() end)...
<|file_sep|>original/hammerspoon/hammerspoon.symlink/modules/modals.lua <|file_sep|>current/hammerspoon/hammerspoon.symlink/modules/modals.lua <|file_sep|>updated/hammerspoon/hammerspoon.symlink/modules/modals.lua local f20modal = hs.hotkey.modal.new('cmd', 'f20') function f20modal:entered() hs.timer.doAfter(1, fu...
8624acc0a4f84c92b57c629428cb15a087079f75
hammerspoon/hammerspoon.symlink/modules/modals.lua
hammerspoon/hammerspoon.symlink/modules/modals.lua
Lua
<|file_sep|>original/.travis.yml bundler_args: --without development before_install: gem install bundler cache: bundler env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby rvm: - jruby-18mode - jruby-19mode - jruby-9000 - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - jruby-head ...
bundler_args: --without development before_install: gem install bundler cache: bundler env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby rvm: - jruby-19mode - jruby-9000 - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - jruby-head - rbx - ruby-head matrix: allow_failures:
<|file_sep|>original/.travis.yml bundler_args: --without development before_install: gem install bundler cache: bundler env: global: - JRUBY_OPTS="$JRUBY_OPTS --debug" language: ruby rvm: - jruby-18mode - jruby-19mode - jruby-9000 - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.5 - 2.3.1 - jruby-head ...
76feeea8149b68ed932b964d4b3a994f42400a87
.travis.yml
.travis.yml
YAML
<|file_sep|>original/viper/interpreter/prelude/operators.py return a + b def minus(a: int, b: int) -> int: return a - b def times(a: int, b: int) -> int: return a * b def divide(a: int, b: int) -> float: return a / b env = { '+': ForeignCloVal(plus, {}), '-': ForeignCloVal(minus, {}), ...
return a + b def minus(a: int, b: int) -> int: return a - b def times(a: int, b: int) -> int: return a * b def divide(a: int, b: int) -> float: return a / b env = { '+': ForeignCloVal(plus, {}), '-': ForeignCloVal(minus, {}), '*': ForeignCloVal(times, {}), '/': ForeignCloVal(divi...
<|file_sep|>original/viper/interpreter/prelude/operators.py return a + b def minus(a: int, b: int) -> int: return a - b def times(a: int, b: int) -> int: return a * b def divide(a: int, b: int) -> float: return a / b env = { '+': ForeignCloVal(plus, {}), '-': ForeignCloVal(minus, {}), ...
99c3eba0d6384cd42c90ef347823e6d66659d6e3
viper/interpreter/prelude/operators.py
viper/interpreter/prelude/operators.py
Python
<|file_sep|>original/README.md # dfst-docker Materials for providing Docker containers for the DFST components See the DFST Docker manual at {put URL for online docs here} <|file_sep|>current/README.md # dfst-docker Materials for providing Docker containers for the DFST components See the DFST Docker manual at {put U...
# dfst-docker Materials for providing Docker containers for the DFST components See the DFST Docker manual at [http://www.dita-for-small-teams.org/dfst-docker/]http://www.dita-for-small-teams.org/dfst-docker/
<|file_sep|>original/README.md # dfst-docker Materials for providing Docker containers for the DFST components See the DFST Docker manual at {put URL for online docs here} <|file_sep|>current/README.md # dfst-docker Materials for providing Docker containers for the DFST components See the DFST Docker manual at {put U...
41e1566d6c093b5df199e7aa83995b20ea46c846
README.md
README.md
Markdown
<|file_sep|>original/package.json { "name": "saleor", "version": "0.0.0", "main": "Gruntfile.js", "repository": { "type": "git", "url": "git://github.com/mirumee/saleor.git" }, "author": "Mirumee Software", "license": "BSD", "bugs": { "url": "https://github.com/mirumee/saleor/issues" }, ...
{ "name": "saleor", "version": "0.0.0", "main": "Gruntfile.js", "repository": { "type": "git", "url": "git://github.com/mirumee/saleor.git" }, "author": "Mirumee Software", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/mirumee/saleor/issues" }, "homepage": "http://getsa...
<|file_sep|>original/package.json { "name": "saleor", "version": "0.0.0", "main": "Gruntfile.js", "repository": { "type": "git", "url": "git://github.com/mirumee/saleor.git" }, "author": "Mirumee Software", "license": "BSD", "bugs": { "url": "https://github.com/mirumee/saleor/issues" }, ...
f85d94993be8aac411fb8fb2eb164d1ef41bd7c6
package.json
package.json
JSON
<|file_sep|>_no/dep/cop.md.diff original: updated: udver: '2' <|file_sep|>_no/dep/cop.md.diff original: A copula is the relation between the complement of a copular verb and the copular verb *være* "to be". The copula is treated as a dependent of the lexical verb. updated: A copula is the relation between a non-verbal...
--- layout: relation title: 'cop' shortdef: 'copula' udver: '2' --- A copula is the relation between a non-verbal predicate and the copular verb *være* "to be". ~~~ sdparse Det er ovnsbakt piggvar \n It is ovenbaked turbot cop(piggvar, er) ~~~ Note that there are occurrences of *være* "to be" which do not give rise ...
<|file_sep|>_no/dep/cop.md.diff original: updated: udver: '2' <|file_sep|>_no/dep/cop.md.diff original: A copula is the relation between the complement of a copular verb and the copular verb *være* "to be". The copula is treated as a dependent of the lexical verb. updated: A copula is the relation between a non-verbal...
c8950f616f4b956413a1254eb745c984260eb686
_no/dep/cop.md
_no/dep/cop.md
Markdown
<|file_sep|>original/package.json { "name": "swaggerify", "description": "Swagger definition helpers", "author": "Juho Vepsalainen <bebraw@gmail.com>", "version": "0.2.0", "dependencies": { "annofp": "^0.4.2", "change-case": "^2.2.0", "require-dir": "^0.1.0" }, "devDependencies": {}, "reposi...
{ "name": "swaggerify", "description": "Swagger definition helpers", "author": "Juho Vepsalainen <bebraw@gmail.com>", "version": "0.2.0", "dependencies": { "annofp": "^0.4.2", "change-case": "^2.2.0", "require-dir": "^1.0.0" }, "devDependencies": {}, "repository": { "type": "git", "u...
<|file_sep|>original/package.json { "name": "swaggerify", "description": "Swagger definition helpers", "author": "Juho Vepsalainen <bebraw@gmail.com>", "version": "0.2.0", "dependencies": { "annofp": "^0.4.2", "change-case": "^2.2.0", "require-dir": "^0.1.0" }, "devDependencies": {}, "reposi...
00770dfea97f53843e4eda71b21d71a50c4e0a20
package.json
package.json
JSON
<|file_sep|>original/client/imports/app/shared/info-graph-settings-modal.component.html <form class="modal__dialog__form" [formGroup]="infoGraphForm"> <label for="name">Titel</label> <input formControlName="name" name="name" type="text" placeholder="Titel des Informationsnetzes"> <label for="des...
<form class="modal__dialog__form" [formGroup]="infoGraphForm"> <label for="name">Titel</label> <input formControlName="name" name="name" type="text" placeholder="Titel des Informationsnetzes"> <label for="description">Beschreibung</label> <textarea formControlName="description" name="descr...
<|file_sep|>original/client/imports/app/shared/info-graph-settings-modal.component.html <form class="modal__dialog__form" [formGroup]="infoGraphForm"> <label for="name">Titel</label> <input formControlName="name" name="name" type="text" placeholder="Titel des Informationsnetzes"> <label for="des...
a73f979774b5dd76e93190066647bf5ac10a938e
client/imports/app/shared/info-graph-settings-modal.component.html
client/imports/app/shared/info-graph-settings-modal.component.html
HTML
<|file_sep|>src/store.js.diff original: updated: const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose <|file_sep|>original/src/store.js export const injectReducer = (store, { key, reducer }) => { store.asyncReducers[key] = reducer store.replaceReducer(makeRootReducer(store.reduc...
export const injectReducer = (store, { key, reducer }) => { store.asyncReducers[key] = reducer store.replaceReducer(makeRootReducer(store.reducers, store.asyncReducers)) } export const createStore = (initialState = {}, reducers = {}, middlewares = {}, enhancers = {}) => { const composeEnhancers = window.__...
<|file_sep|>src/store.js.diff original: updated: const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose <|file_sep|>original/src/store.js export const injectReducer = (store, { key, reducer }) => { store.asyncReducers[key] = reducer store.replaceReducer(makeRootReducer(store.reduc...
ca68678fc52b5a4b46ed1b8e207a827c6b5c07b8
src/store.js
src/store.js
JavaScript
<|file_sep|>lib/libF77/d_lg10.c.diff original: #define log10e 0.43429448190325182765 updated: <|file_sep|>lib/libF77/d_lg10.c.diff original: double log(); updated: double log10(); <|file_sep|>original/lib/libF77/d_lg10.c #include "f2c.h" #define log10e 0.43429448190325182765 #ifdef KR_headers double log(); double d...
#include "f2c.h" #ifdef KR_headers double log10(); double d_lg10(x) doublereal *x; #else #undef abs #include "math.h" double d_lg10(doublereal *x) #endif { return( log10(*x) ); }
<|file_sep|>lib/libF77/d_lg10.c.diff original: #define log10e 0.43429448190325182765 updated: <|file_sep|>lib/libF77/d_lg10.c.diff original: double log(); updated: double log10(); <|file_sep|>original/lib/libF77/d_lg10.c #include "f2c.h" #define log10e 0.43429448190325182765 #ifdef KR_headers double log(); double d...
139936b34a895520e9ee8b9a6d3f774754cdcc48
lib/libF77/d_lg10.c
lib/libF77/d_lg10.c
C
<|file_sep|>original/service-pusher/pom.xml <groupId>info.bitrich.xchange-stream</groupId> <version>4.3.17-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>service-pusher</artifactId> <dependencies> <dependency> <groupId>info.bitrich.xchan...
<groupId>info.bitrich.xchange-stream</groupId> <version>4.3.17-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>service-pusher</artifactId> <dependencies> <dependency> <groupId>info.bitrich.xchange-stream</groupId> <artifactId>...
<|file_sep|>original/service-pusher/pom.xml <groupId>info.bitrich.xchange-stream</groupId> <version>4.3.17-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>service-pusher</artifactId> <dependencies> <dependency> <groupId>info.bitrich.xchan...
0644ec9067879d9ef6fab6738913f4105d532521
service-pusher/pom.xml
service-pusher/pom.xml
XML
<|file_sep|>original/test/util.py '''Helper code for theanets unit tests.''' import numpy as np class MNIST(object): NUM_DIGITS = 100 DIGIT_SIZE = 784 def setUp(self): # we just create some random "mnist digit" data of the right shape. np.random.seed(3) self.images = np.random.ra...
'''Helper code for theanets unit tests.''' import numpy as np class MNIST(object): NUM_DIGITS = 100 DIGIT_SIZE = 784 def setUp(self): # we just create some random "mnist digit" data of the right shape. np.random.seed(3) self.images = np.random.randn(MNIST.NUM_DIGITS, MNIST.DIGIT_...
<|file_sep|>original/test/util.py '''Helper code for theanets unit tests.''' import numpy as np class MNIST(object): NUM_DIGITS = 100 DIGIT_SIZE = 784 def setUp(self): # we just create some random "mnist digit" data of the right shape. np.random.seed(3) self.images = np.random.ra...
447f19638c43cf273b6922796a203d33407bc29e
test/util.py
test/util.py
Python
<|file_sep|>original/ghost/database-info/package.json "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", ...
"scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public"...
<|file_sep|>original/ghost/database-info/package.json "scripts": { "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", ...
12f823c6776ca51034e009714aea06a32e8b289d
ghost/database-info/package.json
ghost/database-info/package.json
JSON
<|file_sep|>lib/src/utils/MuiPickersUtilsProvider.jsx.diff original: updated: /* eslint-disable react/no-unused-prop-types */ <|file_sep|>lib/src/utils/MuiPickersUtilsProvider.jsx.diff original: children: PropTypes.element.isRequired, updated: children: PropTypes.oneOfType([ PropTypes.element.isRequi...
} static defaultProps = { locale: undefined, moment: undefined, } static getDerivedStateFromProps({ utils: Utils, locale, moment }) { return { utils: new Utils({ locale, moment }), }; } state = { utils: null, } render() { return <Provider value={this.state.utils}> {this...
<|file_sep|>lib/src/utils/MuiPickersUtilsProvider.jsx.diff original: updated: /* eslint-disable react/no-unused-prop-types */ <|file_sep|>lib/src/utils/MuiPickersUtilsProvider.jsx.diff original: children: PropTypes.element.isRequired, updated: children: PropTypes.oneOfType([ PropTypes.element.isRequi...
b10fc99d4f7023ba569a9028ef8a84c1e50da30d
lib/src/utils/MuiPickersUtilsProvider.jsx
lib/src/utils/MuiPickersUtilsProvider.jsx
JSX
<|file_sep|>original/Setup/src/backend-db/post_install.sh #!/bin/bash -eu [[ "${BASH_SOURCE[0]}" != "${0}" ]] || { echo "$0: This script should be sourced, not executed!" exit 1 } sudo service apache2 reload return 0 <|file_sep|>current/Setup/src/backend-db/post_install.sh #!/bin/bash -eu [[ "${BASH_SOURCE[0]}...
#!/bin/bash -eu [[ "${BASH_SOURCE[0]}" != "${0}" ]] || { echo "$0: This script should be sourced, not executed!" exit 1 } # recordings are saved in /data/eyra, need to make sure our server # has permissions to write there. if [ ! -d "/data" ]; then sudo mkdir "/data" fi if [ ! -d "/data/eyra" ]; then ...
<|file_sep|>original/Setup/src/backend-db/post_install.sh #!/bin/bash -eu [[ "${BASH_SOURCE[0]}" != "${0}" ]] || { echo "$0: This script should be sourced, not executed!" exit 1 } sudo service apache2 reload return 0 <|file_sep|>current/Setup/src/backend-db/post_install.sh #!/bin/bash -eu [[ "${BASH_SOURCE[0]}...
affe07cd62da4f696cd8a9926c0f977a0bced991
Setup/src/backend-db/post_install.sh
Setup/src/backend-db/post_install.sh
Shell
<|file_sep|>nosewatch/plugin.py.diff original: argv.remove('--with-watch') updated: try: argv.remove('--with-watch') except ValueError: pass <|file_sep|>original/nosewatch/plugin.py """ Plugin that use watchdog for continuous tests run. """ name = 'watch' ...
""" name = 'watch' is_watching = False sys = sys def call(self, args): Popen(args).wait() def finalize(self, result): argv = list(self.sys.argv) try: argv.remove('--with-watch') except ValueError: pass watchcmd = 'clear && ' + ' '...
<|file_sep|>nosewatch/plugin.py.diff original: argv.remove('--with-watch') updated: try: argv.remove('--with-watch') except ValueError: pass <|file_sep|>original/nosewatch/plugin.py """ Plugin that use watchdog for continuous tests run. """ name = 'watch' ...
cfbe762a0e752dcb58edbbd0835371ecc300d3f4
nosewatch/plugin.py
nosewatch/plugin.py
Python
<|file_sep|>original/app/views/includes/elements_tracking.html <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(w...
<!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-MNK4G3" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0...
<|file_sep|>original/app/views/includes/elements_tracking.html <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(w...
c631d9941b0b2a93a2f52a43a43fffff4acaadb0
app/views/includes/elements_tracking.html
app/views/includes/elements_tracking.html
HTML
<|file_sep|>original/ruby/interpreter.rb num_input = num_output = true if arg[/n/] num_input = true if arg[/i/] num_output = true if arg[/o/] false else true end } source = ARGF.gets.chomp if print_mirrored puts (mirror_r ? mirror_right(source) : mirror_left(source...
num_input = num_output = true if arg[/n/] num_input = true if arg[/i/] num_output = true if arg[/o/] false else true end } source = (ARGF.gets || "").chomp if print_mirrored puts (mirror_r ? mirror_right(source) : mirror_left(source)) exit end if mirrored ...
<|file_sep|>original/ruby/interpreter.rb num_input = num_output = true if arg[/n/] num_input = true if arg[/i/] num_output = true if arg[/o/] false else true end } source = ARGF.gets.chomp if print_mirrored puts (mirror_r ? mirror_right(source) : mirror_left(source...
9a7bb5416048c036ded246591c8557d37f1e3377
ruby/interpreter.rb
ruby/interpreter.rb
Ruby
<|file_sep|>original/ansible/roles/tomcat/defaults/main.yml #Default variables # These can be overridden in the parent playbook tomcat_parent: /opt tomcat_instance: tomcat tomcat_instance_dir: "{{tomcat_parent}}/{{tomcat_instance}}" download_dir: /var/tmp/staging tomcat_base_port: 8000 tomcat_admin_port: "{{ tomcat_ba...
#Default variables # These can be overridden in the parent playbook tomcat_parent: /opt tomcat_instance: tomcat tomcat_instance_dir: "{{tomcat_parent}}/{{tomcat_instance}}" download_dir: /var/tmp/staging tomcat_base_port: 8000 tomcat_admin_port: "{{ tomcat_base_port + 5}}" tomcat_http_port: "{{ tomcat_base_port + 80}}...
<|file_sep|>original/ansible/roles/tomcat/defaults/main.yml #Default variables # These can be overridden in the parent playbook tomcat_parent: /opt tomcat_instance: tomcat tomcat_instance_dir: "{{tomcat_parent}}/{{tomcat_instance}}" download_dir: /var/tmp/staging tomcat_base_port: 8000 tomcat_admin_port: "{{ tomcat_ba...
2b6ce39ae7dd624c1689a4357a50571039d73132
ansible/roles/tomcat/defaults/main.yml
ansible/roles/tomcat/defaults/main.yml
YAML
<|file_sep|>original/metadata.rb name 'chef-logstash' maintainer 'Wouter de Vos' maintainer_email 'oss@rein.io' license 'MIT' description 'Installs/Configures Logstash from the official packages.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '...
name 'chef-logstash' maintainer 'Wouter de Vos' maintainer_email 'oss@rein.io' license 'MIT' description 'Installs/Configures Logstash from the official packages.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.1.0' %w{ ubuntu debian redhat ...
<|file_sep|>original/metadata.rb name 'chef-logstash' maintainer 'Wouter de Vos' maintainer_email 'oss@rein.io' license 'MIT' description 'Installs/Configures Logstash from the official packages.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '...
f7239f462ae42a141b3d49b403da282b43b5b55c
metadata.rb
metadata.rb
Ruby
<|file_sep|>lib/seed/configuration.rb.diff original: @schema_version ||= Digest::SHA1.hexdigest(ActiveRecord::Migrator.get_all_versions.sort.join) updated: @schema_version ||= Digest::SHA1.hexdigest(get_all_versions.sort.join) <|file_sep|>original/lib/seed/configuration.rb end def database_options ...
end # ${Rails.root}/tmp/dump/123456789.sql' def current_version_path base_path.join(schema_version.to_s + '.sql') end def make_tmp_dir FileUtils.mkdir_p(base_path) unless File.exist?(base_path) end private def get_all_versions if ::Gem::Version.new(::ActiveRecord::V...
<|file_sep|>lib/seed/configuration.rb.diff original: @schema_version ||= Digest::SHA1.hexdigest(ActiveRecord::Migrator.get_all_versions.sort.join) updated: @schema_version ||= Digest::SHA1.hexdigest(get_all_versions.sort.join) <|file_sep|>original/lib/seed/configuration.rb end def database_options ...
d35aff06e1909e49181ef95d5a1c43fdde6e0564
lib/seed/configuration.rb
lib/seed/configuration.rb
Ruby
<|file_sep|>t/eval.t.diff original: #!perl -T updated: #!perl <|file_sep|>t/eval.t.diff original: updated: use Template::ShowStartStop; use Template::Test; <|file_sep|>t/eval.t.diff original: use Test::More tests => 3; updated: $Template::Test::DEBUG = 1; <|file_sep|>t/eval.t.diff original: BEGIN { use_ok( 'Template'...
$Template::Test::DEBUG = 1; my $tt = Template->new({ CONTEXT => Template::ShowStartStop->new, }); my $vars = { fragment => "The cat sat on the [% place %]", }; my $block = q{[% thing = 'doohickey' %]}; test_expect(\*DATA, $tt, $vars); #TODO: { # See RT # 13225 # local $TODO = 'Problem identified but not fixed'...
<|file_sep|>t/eval.t.diff original: #!perl -T updated: #!perl <|file_sep|>t/eval.t.diff original: updated: use Template::ShowStartStop; use Template::Test; <|file_sep|>t/eval.t.diff original: use Test::More tests => 3; updated: $Template::Test::DEBUG = 1; <|file_sep|>t/eval.t.diff original: BEGIN { use_ok( 'Template'...
5dd68caaea46ae9f1def7d743690bfd818ef1352
t/eval.t
t/eval.t
Perl
<|file_sep|>original/requirements.txt Jinja2==2.11.1 openpyxl==3.0.3 requests==2.22.0 <|file_sep|>current/requirements.txt Jinja2==2.11.1 openpyxl==3.0.3 requests==2.22.0 <|file_sep|>updated/requirements.txt
Jinja2==2.11.1 openpyxl==3.0.3 requests==2.23.0
<|file_sep|>original/requirements.txt Jinja2==2.11.1 openpyxl==3.0.3 requests==2.22.0 <|file_sep|>current/requirements.txt Jinja2==2.11.1 openpyxl==3.0.3 requests==2.22.0 <|file_sep|>updated/requirements.txt Jinja2==2.11.1 openpyxl==3.0.3 requests==2.23.0
031f4ce6624978e1f7f107f5ae2f776a2329c44a
requirements.txt
requirements.txt
Text
<|file_sep|>original/package.json { "name": "wafer", "version": "0.1.0", "private": true, "dependencies": { "bootstrap": "^4.0.0-alpha.6", "font-awesome": "^4.6.3", "jquery": ">=1.9.1", "tether": "^1.4.0" }, "scripts": { "postinstall" : "rsync -r --del node_modules/* static/vendor/" } ...
{ "name": "wafer", "version": "0.1.0", "private": true, "dependencies": { "bootstrap": "^4.0.0-alpha.6", "font-awesome": "^4.6.3", "jquery": ">=1.9.1", "tether": "^1.4.0" }, "scripts": { "postinstall" : "rsync -a --delete node_modules/* static/vendor/" } }
<|file_sep|>original/package.json { "name": "wafer", "version": "0.1.0", "private": true, "dependencies": { "bootstrap": "^4.0.0-alpha.6", "font-awesome": "^4.6.3", "jquery": ">=1.9.1", "tether": "^1.4.0" }, "scripts": { "postinstall" : "rsync -r --del node_modules/* static/vendor/" } ...
11b1f7ad12710a35be4b7130bb2061f2d8ef9bee
package.json
package.json
JSON
<|file_sep|>original/CHANGES.rst <|file_sep|>current/CHANGES.rst <|file_sep|>updated/CHANGES.rst
===================== django-setman Changes ===================== 0.2 (current) ------------- + Added labels support for ``choices`` value in ``ChoiceSetting``. + Use "Revert" mode in Django admin panel without including ``setman.urls`` urlpatternsin root URLConf module. + Added ``get_config`` helper function. 0.1...
<|file_sep|>original/CHANGES.rst <|file_sep|>current/CHANGES.rst <|file_sep|>updated/CHANGES.rst ===================== django-setman Changes ===================== 0.2 (current) ------------- + Added labels support for ``choices`` value in ``ChoiceSetting``. + Use "Revert" mode in Django admin panel without includin...
48841df4994fb1c2220c09535beea68e732c8948
CHANGES.rst
CHANGES.rst
reStructuredText
<|file_sep|>original/pkgs/development/libraries/cfitsio/default.nix { fetchurl, stdenv }: stdenv.mkDerivation { name = "cfitsio-3.43"; src = fetchurl { url = "ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3430.tar.gz"; sha256 = "1rw481bv5srfmldf1h8bqmyljjh0siqh87xh6rip67ms59ssxpn8"; }; # Shar...
{ fetchurl, stdenv }: stdenv.mkDerivation { name = "cfitsio-3.43"; src = fetchurl { url = "ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3430.tar.gz"; sha256 = "07fghxh5fl8nqk3q0dh8rvc83npnm0hisxzcj16a6r7gj5pmp40l"; }; # Shared-only build buildFlags = "shared"; patchPhase = '' sed -e '/^i...
<|file_sep|>original/pkgs/development/libraries/cfitsio/default.nix { fetchurl, stdenv }: stdenv.mkDerivation { name = "cfitsio-3.43"; src = fetchurl { url = "ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3430.tar.gz"; sha256 = "1rw481bv5srfmldf1h8bqmyljjh0siqh87xh6rip67ms59ssxpn8"; }; # Shar...
55b4a2b670d57bb77d9950609683b2340f8b8b1a
pkgs/development/libraries/cfitsio/default.nix
pkgs/development/libraries/cfitsio/default.nix
Nix
<|file_sep|>src/documentation/pages/Overlay/examples/OverlayDarkExample.hbs.diff original: var OverlayExample = document.querySelector('.docs-OverlayDarkExample'); var Overlay = new fabric['Overlay'](OverlayExample.querySelector('.ms-Overlay')); var OverlayButton = OverlayExample.querySelector('.docs-OverlayDarkE...
<div class="docs-OverlayDarkExample"> {{> OverlayElem props=OverlayModels.dark }} <button class="ms-Button docs-OverlayDarkExample-button">Show the dark overlay</button> </div> <script type="text/javascript"> var OverlayDarkExample = document.querySelector('.docs-OverlayDarkExample'); var OverlayDark = new fab...
<|file_sep|>src/documentation/pages/Overlay/examples/OverlayDarkExample.hbs.diff original: var OverlayExample = document.querySelector('.docs-OverlayDarkExample'); var Overlay = new fabric['Overlay'](OverlayExample.querySelector('.ms-Overlay')); var OverlayButton = OverlayExample.querySelector('.docs-OverlayDarkE...
77f039e6b09c9592e4c5c5b60e6358fc525ea384
src/documentation/pages/Overlay/examples/OverlayDarkExample.hbs
src/documentation/pages/Overlay/examples/OverlayDarkExample.hbs
Handlebars
<|file_sep|>test/Linker/targettriple.ll.diff original: ; RUN: (echo foo ;cat %t.a.err) | FileCheck --check-prefix=WARN-A %s updated: ; RUN: cat %t.a.err | FileCheck --check-prefix=WARN-A %s --allow-empty <|file_sep|>test/Linker/targettriple.ll.diff original: updated: ; RUN: llvm-link %s %S/Inputs/targettriple-c.ll -S ...
; REQUIRES: shell ; RUN: llvm-link %s %S/Inputs/targettriple-a.ll -S -o - 2>%t.a.err | FileCheck %s ; RUN: cat %t.a.err | FileCheck --check-prefix=WARN-A %s --allow-empty ; RUN: llvm-link %s %S/Inputs/targettriple-b.ll -S -o - 2>%t.b.err | FileCheck %s ; RUN: cat %t.b.err | FileCheck --check-prefix=WARN-B %s ; RUN: ll...
<|file_sep|>test/Linker/targettriple.ll.diff original: ; RUN: (echo foo ;cat %t.a.err) | FileCheck --check-prefix=WARN-A %s updated: ; RUN: cat %t.a.err | FileCheck --check-prefix=WARN-A %s --allow-empty <|file_sep|>test/Linker/targettriple.ll.diff original: updated: ; RUN: llvm-link %s %S/Inputs/targettriple-c.ll -S ...
f3fae65fcc1bc4a38da42f227d78d8e69407ef0e
test/Linker/targettriple.ll
test/Linker/targettriple.ll
LLVM
<|file_sep|>original/.travis.yml language: python python: - "3.4" install: "pip install -r requirements.txt --use-mirrors" script: py.test notifications: email: recipients: - code@iatistandard.org on_success: change on_failure: always <|file_sep|>current/.travis.yml language: python python: - "3...
language: python python: - "3.4" install: "pip install -r requirements.txt" script: py.test notifications: email: recipients: - code@iatistandard.org on_success: change on_failure: always
<|file_sep|>original/.travis.yml language: python python: - "3.4" install: "pip install -r requirements.txt --use-mirrors" script: py.test notifications: email: recipients: - code@iatistandard.org on_success: change on_failure: always <|file_sep|>current/.travis.yml language: python python: - "3...
0eaf9e06d5dccfbaa685e08fa132a8dd945035f9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/styles/file-list.less display: block; padding: @component-padding; text-align: center; color: @text-color-subtle; font-style: italic; } } .git-StagedChanges, .git-UnstagedChanges { &.is-focused { .git-FilePatch.is-selected { background: @background-color-highlight...
display: block; padding: @component-padding; text-align: center; color: @text-color-subtle; font-style: italic; } } .git-StagedChanges, .git-UnstagedChanges { &.is-focused { .git-FilePatchListItem.is-selected { background: @background-color-highlight; color: @text-color-highligh...
<|file_sep|>original/styles/file-list.less display: block; padding: @component-padding; text-align: center; color: @text-color-subtle; font-style: italic; } } .git-StagedChanges, .git-UnstagedChanges { &.is-focused { .git-FilePatch.is-selected { background: @background-color-highlight...
9b615633360379a0c7f05ef280359896008a8240
styles/file-list.less
styles/file-list.less
Less
<|file_sep|>plugins/inputs/kafka_consumer/README.md.diff original: ## Maximum number of metrics to buffer between collection intervals metric_buffer = 100000 updated: <|file_sep|>original/plugins/inputs/kafka_consumer/README.md ## an array of Zookeeper connection strings zookeeper_peers = ["localhost:2181"] ...
## an array of Zookeeper connection strings zookeeper_peers = ["localhost:2181"] ## Zookeeper Chroot zookeeper_chroot = "" ## the name of the consumer group consumer_group = "telegraf_metrics_consumers" ## Offset (must be either "oldest" or "newest") offset = "oldest" ## Data format to consume. ## ...
<|file_sep|>plugins/inputs/kafka_consumer/README.md.diff original: ## Maximum number of metrics to buffer between collection intervals metric_buffer = 100000 updated: <|file_sep|>original/plugins/inputs/kafka_consumer/README.md ## an array of Zookeeper connection strings zookeeper_peers = ["localhost:2181"] ...
deaa3985e74c9002b08b5c798c73e5c8bb0cbea0
plugins/inputs/kafka_consumer/README.md
plugins/inputs/kafka_consumer/README.md
Markdown
<|file_sep|>original/LICENSE.txt Copyright (c) 2011-2014 Tony Arcieri, Donovan Keme Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to ...
Copyright (c) 2011-2016 Tony Arcieri, Donovan Keme Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
<|file_sep|>original/LICENSE.txt Copyright (c) 2011-2014 Tony Arcieri, Donovan Keme Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to ...
7d9226bc92b34af3dc37363382287df7266aa63b
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml <|file_sep|>current/releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml <|file_sep|>updated/releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml
--- features: - | A new ``auto`` value for the configuration option ``upgrade_levels.compute`` is accepted, that allows automatic determination of the compute service version to use for RPC communication. By default, we still use the newest version if not set in the config, a specific version if a...
<|file_sep|>original/releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml <|file_sep|>current/releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml <|file_sep|>updated/releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml --- features: - | A new ``auto`` value for t...
7fc982e19f94a4624d54c3ac113057bed7750ec4
releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml
releasenotes/notes/compute_upgrade_levels_auto-97acebc7b45b76df.yaml
YAML
<|file_sep|>original/rail-fence-cipher/rail_fence_cipher.py # File: rail_fence_cipher.py # Purpose: Implement encoding and decoding for the rail fence cipher. # Programmer: Amal Shehu # Course: Exercism # Date: Friday 30 September 2016, 08:35 PM <|file_sep|>current/rail-fence-cipher/rail_fence_c...
# File: rail_fence_cipher.py # Purpose: Implement encoding and decoding for the rail fence cipher. # Programmer: Amal Shehu # Course: Exercism # Date: Friday 30 September 2016, 08:35 PM class Rail(): """Implementation of Rail Fence Cipher.""" def __init__(self, text, rail_count): ...
<|file_sep|>original/rail-fence-cipher/rail_fence_cipher.py # File: rail_fence_cipher.py # Purpose: Implement encoding and decoding for the rail fence cipher. # Programmer: Amal Shehu # Course: Exercism # Date: Friday 30 September 2016, 08:35 PM <|file_sep|>current/rail-fence-cipher/rail_fence_c...
20b1505a316fc47049470f998741f00569df818f
rail-fence-cipher/rail_fence_cipher.py
rail-fence-cipher/rail_fence_cipher.py
Python
<|file_sep|>src/alertmessages/alertmessages.js.diff original: angular.module('polestar') updated: angular.module('vlui') <|file_sep|>original/src/alertmessages/alertmessages.js 'use strict'; angular.module('polestar') .directive('alertMessages', function(Alerts) { return { templateUrl: 'components/alertmes...
'use strict'; angular.module('vlui') .directive('alertMessages', function(Alerts) { return { templateUrl: 'alertmessages/alertmessages.html', restrict: 'E', scope: {}, link: function(scope /*, element, attrs*/) { scope.Alerts = Alerts; } }; });
<|file_sep|>src/alertmessages/alertmessages.js.diff original: angular.module('polestar') updated: angular.module('vlui') <|file_sep|>original/src/alertmessages/alertmessages.js 'use strict'; angular.module('polestar') .directive('alertMessages', function(Alerts) { return { templateUrl: 'components/alertmes...
1339e64703a6b5cf592fb1d521890b642b037e8a
src/alertmessages/alertmessages.js
src/alertmessages/alertmessages.js
JavaScript
<|file_sep|>original/config/application.rb # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Collections class Application < Rails::Application # Settings in config/environments/* take precedence over those spe...
module Collections class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. # Set Time.zone default to th...
<|file_sep|>original/config/application.rb # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module Collections class Application < Rails::Application # Settings in config/environments/* take precedence over those spe...
89284b09cb6364d6ed364ff519a2b6b920173254
config/application.rb
config/application.rb
Ruby
<|file_sep|>original/requirements.txt mkdocs==1.0.4 mkdocs-material==4.3.0 pygments==2.2.0 pymdown-extensions==5.0.0 <|file_sep|>current/requirements.txt mkdocs==1.0.4 mkdocs-material==4.3.0 pygments==2.2.0 pymdown-extensions==5.0.0 <|file_sep|>updated/requirements.txt
mkdocs==1.0.4 mkdocs-material==4.4.0 pygments==2.2.0 pymdown-extensions==5.0.0
<|file_sep|>original/requirements.txt mkdocs==1.0.4 mkdocs-material==4.3.0 pygments==2.2.0 pymdown-extensions==5.0.0 <|file_sep|>current/requirements.txt mkdocs==1.0.4 mkdocs-material==4.3.0 pygments==2.2.0 pymdown-extensions==5.0.0 <|file_sep|>updated/requirements.txt mkdocs==1.0.4 mkdocs-material==4.4.0 pygments==2.2...
ce7bff0066703aac70bccd85c73ca52b6e1b78d0
requirements.txt
requirements.txt
Text
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
jobs: - job: displayName: macOS-10.13 pool: vmImage: 'macOS-10.13' strategy: matrix: Python27: python.version: '2.7' Python36: python.version: '3.6' Python37: python.version: '3.7' steps: - bash: echo "##vso[task.prependpath]$CONDA/bin" displayName: Add c...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml jobs: - job: displayName: macOS-10.13 pool: vmImage: 'macOS-10.13' strategy: matrix: Python27: python.version: '2.7' Python36: python.version: '3.6' ...
b87e4bf3b41e0f41a9ed73008349acf636998bd5
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>lib/background-size.js.diff original: updated: var siteFooter = fs.readFileSync('./templates/footer.html', 'utf8') <|file_sep|>original/lib/background-size.js var cssstats = require('cssstats') var module = require('tachyons-background-size/package.json') var moduleCss = fs.readFileSync('node_modules/tach...
var module = require('tachyons-background-size/package.json') var moduleCss = fs.readFileSync('node_modules/tachyons-background-size/tachyons-background-size.min.css', 'utf8') var moduleObj = cssstats(moduleCss) var moduleSize = filesize(moduleObj.gzipSize) var srcCSS = fs.readFileSync('./src/_background-size.css', 'u...
<|file_sep|>lib/background-size.js.diff original: updated: var siteFooter = fs.readFileSync('./templates/footer.html', 'utf8') <|file_sep|>original/lib/background-size.js var cssstats = require('cssstats') var module = require('tachyons-background-size/package.json') var moduleCss = fs.readFileSync('node_modules/tach...
392894fd311e3ac0cc2dc9110c338c5b3d05769f
lib/background-size.js
lib/background-size.js
JavaScript
<|file_sep|>original/ox_herd/ui/flask_web_ui/ox_herd/templates/launch_job.html {% extends "ox_layout.html" %} {% block body %} <div class="w3-light-grey w3-margin-bottom"> <h2>Launch Job</h2> {% if jid %} Launched new job with id {{ jid }}. {% else %} Enter job id to launch: <form action={{url_for('ox_herd.l...
{% extends "ox_layout.html" %} {% block body %} <div class="w3-light-grey w3-margin-bottom content"> <h2>Launch Job</h2> {% if jid %} Launched new job with id {{ jid }}. {% else %} Enter job id to launch: <form action={{url_for('ox_herd.launch_job')}} method="get"> <div> <div class="tooltip"> job i...
<|file_sep|>original/ox_herd/ui/flask_web_ui/ox_herd/templates/launch_job.html {% extends "ox_layout.html" %} {% block body %} <div class="w3-light-grey w3-margin-bottom"> <h2>Launch Job</h2> {% if jid %} Launched new job with id {{ jid }}. {% else %} Enter job id to launch: <form action={{url_for('ox_herd.l...
6b301a51671da17362f49beaad466db2ee66605a
ox_herd/ui/flask_web_ui/ox_herd/templates/launch_job.html
ox_herd/ui/flask_web_ui/ox_herd/templates/launch_job.html
HTML
<|file_sep|>original/README.md Picture Typing ============= Picture Typing: Keyboards for Toddlers Hit a key, get a picture. Created for kids to enjoy typing, especially for working on chromium on a Raspberry Pi in kiosk mode. <|file_sep|>current/README.md Picture Typing ============= Picture Typing: Keyboards for T...
Picture Typing ============= Picture Typing: Keyboards for Toddlers Hit a key, get a picture. Created for kids to enjoy typing, especially for working on chromium on a Raspberry Pi in kiosk mode. TODO ==== [ ] explain image directory structure [ ] sample images? [ ] license (BSD?)
<|file_sep|>original/README.md Picture Typing ============= Picture Typing: Keyboards for Toddlers Hit a key, get a picture. Created for kids to enjoy typing, especially for working on chromium on a Raspberry Pi in kiosk mode. <|file_sep|>current/README.md Picture Typing ============= Picture Typing: Keyboards for T...
cbc845f994884f267f1102e5fdd0aff9ecb2091b
README.md
README.md
Markdown
<|file_sep|>go/ws_2/src/github.com/bdastur/aws/s3helper.go.diff original: "arn:aws:iam::4xxxx9:role/SoeRolee") updated: "arn:aws:iam::461168169469:role/SSOAdmin1Role") <|file_sep|>go/ws_2/src/github.com/bdastur/aws/s3helper.go.diff original: fmt.Printf("* %s created on %s \n ", updated: fmt.Printf("Bucket %s cr...
s3svc := s3.New(sess, &aws.Config{Credentials: creds}) result, err := s3svc.ListBuckets(nil) if err != nil { fmt.Println("Failed to list s3 buckets.", err) } for _, b := range result.Buckets { fmt.Printf("Bucket %s created on %s \n ", aws.StringValue(b.Name), aws.TimeValue(b.CreationDate)) bucketname...
<|file_sep|>go/ws_2/src/github.com/bdastur/aws/s3helper.go.diff original: "arn:aws:iam::4xxxx9:role/SoeRolee") updated: "arn:aws:iam::461168169469:role/SSOAdmin1Role") <|file_sep|>go/ws_2/src/github.com/bdastur/aws/s3helper.go.diff original: fmt.Printf("* %s created on %s \n ", updated: fmt.Printf("Bucket %s cr...
a8193acb0ac722ae0817343104b529680ddaa8d9
go/ws_2/src/github.com/bdastur/aws/s3helper.go
go/ws_2/src/github.com/bdastur/aws/s3helper.go
Go
<|file_sep|>plugins/zsh_reload/zsh_reload.plugin.zsh.diff original: zsh_cache=$HOME/.zsh_cache mkdir -p $zsh_cache updated: <|file_sep|>plugins/zsh_reload/zsh_reload.plugin.zsh.diff original: compinit -d $zsh_cache/zcomp-$HOST for f in $HOME/.zshrc $zsh_cache/zcomp-$HOST; do zrecompile -p $f && rm -f $f.zwc.o...
# reload zshrc function src() { autoload -U compinit zrecompile compinit -d "$ZSH/cache/zcomp-$HOST" for f in ~/.zshrc "$ZSH/cache/zcomp-$HOST"; do zrecompile -p $f && command rm -f $f.zwc.old done source ~/.zshrc }
<|file_sep|>plugins/zsh_reload/zsh_reload.plugin.zsh.diff original: zsh_cache=$HOME/.zsh_cache mkdir -p $zsh_cache updated: <|file_sep|>plugins/zsh_reload/zsh_reload.plugin.zsh.diff original: compinit -d $zsh_cache/zcomp-$HOST for f in $HOME/.zshrc $zsh_cache/zcomp-$HOST; do zrecompile -p $f && rm -f $f.zwc.o...
9af218a0ed896020e79a39895d31d5c3348e20dd
plugins/zsh_reload/zsh_reload.plugin.zsh
plugins/zsh_reload/zsh_reload.plugin.zsh
Shell
<|file_sep|>app/views/layouts/_header.html.haml.diff original: %span.site-name Growstuff updated: .d-none.d-md-block %span.site-name Growstuff .nav= render 'crops/search_bar' <|file_sep|>original/app/views/layouts/_header.html.haml %nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.justify-content-b...
%nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.justify-content-between .nav %a.navbar-brand{ href: root_path } = image_tag("pear.png", class: 'logo', alt: 'Growstuff brand logo (drawing of a pear)') .d-none.d-md-block %span.site-name Growstuff .nav= render 'crops/search_bar' .nav %bu...
<|file_sep|>app/views/layouts/_header.html.haml.diff original: %span.site-name Growstuff updated: .d-none.d-md-block %span.site-name Growstuff .nav= render 'crops/search_bar' <|file_sep|>original/app/views/layouts/_header.html.haml %nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.justify-content-b...
325729751a1c9bedd7d59e017e515b28b056ef6b
app/views/layouts/_header.html.haml
app/views/layouts/_header.html.haml
Haml
<|file_sep|>original/src/null-grammar.coffee Grammar = require './grammar' # A grammar with no patterns that is always available module.exports = class NullGrammar extends Grammar constructor: (registry) -> name = 'Null Grammar' scopeName = 'text.plain.null-grammar' super(registry, {name, scopeName}) ...
Grammar = require './grammar' # A grammar with no patterns that is always available from a {GrammarRegistry} module.exports = class NullGrammar extends Grammar constructor: (registry) -> name = 'Null Grammar' scopeName = 'text.plain.null-grammar' super(registry, {name, scopeName}) getScore: -> 0
<|file_sep|>original/src/null-grammar.coffee Grammar = require './grammar' # A grammar with no patterns that is always available module.exports = class NullGrammar extends Grammar constructor: (registry) -> name = 'Null Grammar' scopeName = 'text.plain.null-grammar' super(registry, {name, scopeName}) ...
6775a62e781054d767a8b1fd07add30b3dc478b4
src/null-grammar.coffee
src/null-grammar.coffee
CoffeeScript
<|file_sep|>original/lib/cli/index.js */ exports.run = function(argv) { program .usage('[FILES...]') .version(packageJson.version); program.parse(argv); if(program.args.length === 0) { program.displayUsage(); process.exit(1); } // Base test running case for(var i = 0, len = program.args...
*/ exports.run = function(argv) { program .usage('[FILES...]') .version(packageJson.version); program.parse(argv); if(program.args.length === 0) { program.help(); } // Base test running case for(var i = 0, len = program.args.length; i < len; i++) { var fileName = program.args[i]; va...
<|file_sep|>original/lib/cli/index.js */ exports.run = function(argv) { program .usage('[FILES...]') .version(packageJson.version); program.parse(argv); if(program.args.length === 0) { program.displayUsage(); process.exit(1); } // Base test running case for(var i = 0, len = program.args...
53374261765f24b58db7bc71337d9f7eb7900433
lib/cli/index.js
lib/cli/index.js
JavaScript
<|file_sep|>README.md.diff original: The Data Science Toolbox is both (1) a collection of command-line tools that facilitate the obtaining, scrubbing, and exploring of data and (2) a Vagrant environment for installing these command-line tools. updated: *On Wednesday Feb 12 at 12:10pm, we're going to talk about rethink...
==================== *On Wednesday Feb 12 at 12:10pm, we're going to talk about rethinking the Data Science Toolbox at [Strata BoF table 3](http://strataconf.com/strata2014/public/schedule/detail/33601). Come and join us when you: - Are a teacher, author, or company and you would like to enable your students, reader...
<|file_sep|>README.md.diff original: The Data Science Toolbox is both (1) a collection of command-line tools that facilitate the obtaining, scrubbing, and exploring of data and (2) a Vagrant environment for installing these command-line tools. updated: *On Wednesday Feb 12 at 12:10pm, we're going to talk about rethink...
455ef00f943cc375b3c82d628dba9160d1c5538d
README.md
README.md
Markdown
<|file_sep|>original/pkg/apis/storage/v1/doc.go Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is ...
<|file_sep|>original/pkg/apis/storage/v1/doc.go Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
5de60655cd7172d6c153283489ebd361c26a5819
pkg/apis/storage/v1/doc.go
pkg/apis/storage/v1/doc.go
Go
<|file_sep|>original/package.json { "name": "gamecollection-cli", "version": "1.1.0", "description": "CLI tool to do create, read and delete operations at your game collection", "main": "gamecli", "bin": { "gamecollection": "./index.js" }, "author": "Patrick Kraaij", "license": "MIT", "repository"...
{ "name": "gamecollection-cli", "version": "2.0.0", "description": "CLI tool to do create, read and delete operations at your game collection", "main": "gamecli", "bin": { "gamecollection": "./index.js" }, "author": "Patrick Kraaij", "license": "MIT", "repository": { "type": "git", "url": ...
<|file_sep|>original/package.json { "name": "gamecollection-cli", "version": "1.1.0", "description": "CLI tool to do create, read and delete operations at your game collection", "main": "gamecli", "bin": { "gamecollection": "./index.js" }, "author": "Patrick Kraaij", "license": "MIT", "repository"...
a1c853c335a5f7aaaeaf88ff81f0b038c594faf8
package.json
package.json
JSON
<|file_sep|>original/package.json "main": "redis-sync.js", "repository": { "type": "git", "url": "https://github.com/pconstr/redis-sync" }, "engines": { "node": ">=0.4.0 <0.9.0" }, "author": "Carlos Guerreiro <carlos@perceptiveconstructs.com (http://perceptiveconstructs.com)", "dependencies": ...
"main": "redis-sync.js", "repository": { "type": "git", "url": "https://github.com/pconstr/redis-sync" }, "engines": { "node": ">=0.4.0 <0.9.0" }, "author": "Carlos Guerreiro <carlos@perceptiveconstructs.com (http://perceptiveconstructs.com)", "dependencies": {"rdb-parser": "jmealo/rdb-parser"...
<|file_sep|>original/package.json "main": "redis-sync.js", "repository": { "type": "git", "url": "https://github.com/pconstr/redis-sync" }, "engines": { "node": ">=0.4.0 <0.9.0" }, "author": "Carlos Guerreiro <carlos@perceptiveconstructs.com (http://perceptiveconstructs.com)", "dependencies": ...
18a661f71601fb1aa7182464a6daad82bc273817
package.json
package.json
JSON
<|file_sep|>cli.go.diff original: updated: //DoubleMinus is the argument to determine if the flag package has stopped parsing //after seeing this argument. <|file_sep|>original/cli.go package cli import "flag" const DoubleMinus = "--" //ParameterFlagMode determines how arguments are parsed for SubCommands. type Par...
package cli import "flag" //DoubleMinus is the argument to determine if the flag package has stopped parsing //after seeing this argument. const DoubleMinus = "--" //Output values that affect error and help output. // //These variables may be changed to affect the output of this package. var ( //UsageFormat is used...
<|file_sep|>cli.go.diff original: updated: //DoubleMinus is the argument to determine if the flag package has stopped parsing //after seeing this argument. <|file_sep|>original/cli.go package cli import "flag" const DoubleMinus = "--" //ParameterFlagMode determines how arguments are parsed for SubCommands. type Par...
470f338da0105f37c0e7b66a2ca63fea5da5138e
cli.go
cli.go
Go
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>Heall</title> <%= javascript_include_tag 'application','jquery', 'data-turbolinks-track' => true %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= csrf...
<!DOCTYPE html> <html> <head> <title>Heall</title> <%= javascript_include_tag 'application','jquery', 'data-turbolinks-track' => true %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= csrf_meta_tags %> <link href="https://fonts.googleapis.com...
<|file_sep|>original/app/views/layouts/application.html.erb <!DOCTYPE html> <html> <head> <title>Heall</title> <%= javascript_include_tag 'application','jquery', 'data-turbolinks-track' => true %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= csrf...
93b07caa9e43566f58c033eb30ba0c32511b91ed
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>src/chicken-o-clock.c.diff original: updated: static Window *main_window; static void main_window_load(){ } static void main_window_unload(){ } <|file_sep|>src/chicken-o-clock.c.diff original: updated: main_window = window_create(); window_set_window_handlers(main_window, (WindowHandlers) { ...
static void init(){ main_window = window_create(); window_set_window_handlers(main_window, (WindowHandlers) { .load = main_window_load, .unload = main_window_unload }); window_stack_push(main_window, true); } static void deinit(){ window_destroy(main_window); } int main(void){ init(); a...
<|file_sep|>src/chicken-o-clock.c.diff original: updated: static Window *main_window; static void main_window_load(){ } static void main_window_unload(){ } <|file_sep|>src/chicken-o-clock.c.diff original: updated: main_window = window_create(); window_set_window_handlers(main_window, (WindowHandlers) { ...
fa36679e7d19880c54a222262e6cbd8a46b845cc
src/chicken-o-clock.c
src/chicken-o-clock.c
C
<|file_sep|>tests/Functional/NavigationTest.php.diff original: updated: $encodedUsername = htmlentities( $user->username, ENT_COMPAT | ENT_HTML401 | ENT_QUOTES ); <|file_sep|>original/tests/Functional/NavigationTest.php public function testUserAccountNavigation() { ...
public function testUserAccountNavigation() { $user = factory(User::class)->create(); $encodedUsername = htmlentities( $user->username, ENT_COMPAT | ENT_HTML401 | ENT_QUOTES ); $this->actingAs($user) ->get('/') ->assertSee($encoded...
<|file_sep|>tests/Functional/NavigationTest.php.diff original: updated: $encodedUsername = htmlentities( $user->username, ENT_COMPAT | ENT_HTML401 | ENT_QUOTES ); <|file_sep|>original/tests/Functional/NavigationTest.php public function testUserAccountNavigation() { ...
f81322c055cf5aacf1ccad0d381e085b8aa54a7e
tests/Functional/NavigationTest.php
tests/Functional/NavigationTest.php
PHP
<|file_sep|>original/.travis.yml language: python python: 3.4 env: - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 install: - pip install -U tox script: - tox <|file_sep|>current/.travis.yml language: python python: 3.4 env: - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 install: - pip install -U tox scrip...
language: python python: 3.5 env: - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 install: - pip install -U tox script: - tox
<|file_sep|>original/.travis.yml language: python python: 3.4 env: - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 install: - pip install -U tox script: - tox <|file_sep|>current/.travis.yml language: python python: 3.4 env: - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 install: - pip install -U tox scrip...
62517e3e3f759f9f11761ac16ce4256f6833a7ae
.travis.yml
.travis.yml
YAML
<|file_sep|>Toolbelt/Toolbelt/GCD.swift.diff original: public func dispatch_after(delay : NSTimeInterval, block: dispatch_block_t) { dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(delay * Double(NSEC_PER_SEC))), dispatch_get_main_queue(), block) } updated: <|file_sep|>original/Toolbelt/Toolbelt/GCD.swift ...
return dispatch_get_main_queue() case .UserInteractive: return dispatch_get_global_queue(QOS_CLASS_USER_INTERACTIVE, 0) case .UserInitiated: return dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0) case .Utility: return dispatch_get_global_que...
<|file_sep|>Toolbelt/Toolbelt/GCD.swift.diff original: public func dispatch_after(delay : NSTimeInterval, block: dispatch_block_t) { dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(delay * Double(NSEC_PER_SEC))), dispatch_get_main_queue(), block) } updated: <|file_sep|>original/Toolbelt/Toolbelt/GCD.swift ...
53d597c47886f27abe6dce38dc7bd52d44fd2f8f
Toolbelt/Toolbelt/GCD.swift
Toolbelt/Toolbelt/GCD.swift
Swift
<|file_sep|>original/.gitlab-ci.yml <|file_sep|>current/.gitlab-ci.yml <|file_sep|>updated/.gitlab-ci.yml
dependency_scanning: image: docker:stable variables: DOCKER_DRIVER: overlay2 allow_failure: true services: - docker:stable-dind script: - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - docker run --env DEP_SCAN_DISABLE_REMOTE_CHECKS="...
<|file_sep|>original/.gitlab-ci.yml <|file_sep|>current/.gitlab-ci.yml <|file_sep|>updated/.gitlab-ci.yml dependency_scanning: image: docker:stable variables: DOCKER_DRIVER: overlay2 allow_failure: true services: - docker:stable-dind script: - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed ...
14f271afa3e4f67cb09dd07efb3ef1ae8a3619e8
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>tests/phpmdruleset.xml.diff original: updated: <exclude name="CamelCaseMethodName"/> <|file_sep|>tests/phpmdruleset.xml.diff original: updated: <|file_sep|>original/tests/phpmdruleset.xml xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/rules...
<rule ref="rulesets/cleancode.xml" /> <rule ref="rulesets/codesize.xml" /> <rule ref="rulesets/design.xml" /> <rule ref="rulesets/naming.xml" /> <rule ref="rulesets/unusedcode.xml" /> <rule ref="rulesets/controversial.xml"> <exclude name="CamelCasePropertyName"/> <exclude name="C...
<|file_sep|>tests/phpmdruleset.xml.diff original: updated: <exclude name="CamelCaseMethodName"/> <|file_sep|>tests/phpmdruleset.xml.diff original: updated: <|file_sep|>original/tests/phpmdruleset.xml xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/rules...
83649a63d4230dc2fdaa7804fb58ee3dabbfb019
tests/phpmdruleset.xml
tests/phpmdruleset.xml
XML
<|file_sep|>original/examples/caching_middleware.clj (reset! http-cache (cache/miss @http-cache cache-key resp)) (client req resp nil)) (do (client req resp nil))))))))) (defn wrap-caching-middleware [client] (fn ([req] (cached-response client req)...
(client req resp nil))))))))) (defn wrap-caching-middleware [client] (fn ([req] (cached-response client req)))) (defn example [& uri] (http/with-additional-middleware [#'wrap-caching-middleware] (http/get (or uri "https://api.github.com") { :debug true ...
<|file_sep|>original/examples/caching_middleware.clj (reset! http-cache (cache/miss @http-cache cache-key resp)) (client req resp nil)) (do (client req resp nil))))))))) (defn wrap-caching-middleware [client] (fn ([req] (cached-response client req)...
a82ef8220358f38e765c2ea27148a153bc9ef214
examples/caching_middleware.clj
examples/caching_middleware.clj
Clojure
<|file_sep|>original/testlib/README.md <|file_sep|>current/testlib/README.md <|file_sep|>updated/testlib/README.md
# Spine testlib This module stores utilities for testing the Spine framework. The utilities include common base classes for tests like [utility class test](src/main/java/io/spine/testing/UtilityClassTest.java), custom [assert statements](src/main/java/io/spine/testing/Verify.java), common test [display names](src...
<|file_sep|>original/testlib/README.md <|file_sep|>current/testlib/README.md <|file_sep|>updated/testlib/README.md # Spine testlib This module stores utilities for testing the Spine framework. The utilities include common base classes for tests like [utility class test](src/main/java/io/spine/testing/UtilityClass...
449918495c369ffc68aebc5b15a2d34a12c11af9
testlib/README.md
testlib/README.md
Markdown
<|file_sep|>mockingjays.js.diff original: exports = { start: function(options) { console.log('Starting with options', options); } updated: Server = require('./src/server'); Mockingjay = require('./src/mockingjay'); DefaultOptions = require('./src/default_options'); var Mockingjays = function() {} /** * Start...
Mockingjay = require('./src/mockingjay'); DefaultOptions = require('./src/default_options'); var Mockingjays = function() {} /** * Start creates a Mockingjays Server and starts proxying * or mocking responses based on previous training. * * @param options - An {Object} with options * :cacheDir - Path to...
<|file_sep|>mockingjays.js.diff original: exports = { start: function(options) { console.log('Starting with options', options); } updated: Server = require('./src/server'); Mockingjay = require('./src/mockingjay'); DefaultOptions = require('./src/default_options'); var Mockingjays = function() {} /** * Start...
04383ba250012999ed2e45d6f3cca1b7c4b4a4ab
mockingjays.js
mockingjays.js
JavaScript
<|file_sep|>original/src/atom/range.coffee Point = require 'point' _ = require 'underscore' module.exports = class Range constructor: (pointA = new Point(0, 0), pointB = new Point(0, 0)) -> pointA = Point.fromObject(pointA) pointB = Point.fromObject(pointB) if pointA.compare(pointB) <= 0 @start =...
Point = require 'point' _ = require 'underscore' module.exports = class Range @fromObject: (object) -> if _.isArray(object) new Range(object...) else object constructor: (pointA = new Point(0, 0), pointB = new Point(0, 0)) -> pointA = Point.fromObject(pointA) pointB = Point.fromObjec...
<|file_sep|>original/src/atom/range.coffee Point = require 'point' _ = require 'underscore' module.exports = class Range constructor: (pointA = new Point(0, 0), pointB = new Point(0, 0)) -> pointA = Point.fromObject(pointA) pointB = Point.fromObject(pointB) if pointA.compare(pointB) <= 0 @start =...
3cc559fd9c775bb3aa7a7b2c37e579546ab6ef87
src/atom/range.coffee
src/atom/range.coffee
CoffeeScript
<|file_sep|>examples/tddbin-standalone.js.diff original: updated: var Shortcut = require('../src/keyboard-shortcut/shortcut'); <|file_sep|>examples/tddbin-standalone.js.diff original: [[metaKey, 'S'], executeTestCode, 'Save+Run'], [[metaKey, 'D'], providedByAceEditor(), 'Delete line'], [[metaKey, 'Shift', 'D'], ...
var shortcuts = [ new Shortcut([metaKey, 'S'], executeTestCode, 'Save+Run'), new Shortcut([metaKey, 'D'], providedByAceEditor(), 'Delete line'), new Shortcut([metaKey, 'Shift', 'D'], providedByAceEditor(), 'Duplicate line'), new Shortcut([metaKey, '/'], providedByAceEditor(), 'Comment in/out line'), new Shor...
<|file_sep|>examples/tddbin-standalone.js.diff original: updated: var Shortcut = require('../src/keyboard-shortcut/shortcut'); <|file_sep|>examples/tddbin-standalone.js.diff original: [[metaKey, 'S'], executeTestCode, 'Save+Run'], [[metaKey, 'D'], providedByAceEditor(), 'Delete line'], [[metaKey, 'Shift', 'D'], ...
9a074d9e7ec9de9a3bc3122f400994e371859dc2
examples/tddbin-standalone.js
examples/tddbin-standalone.js
JavaScript
<|file_sep|>original/lib/Jivoo/View/Compile/TextNode.php } public function __get($property) { switch ($property) { case 'text': return $this->$property; } return parent::__get($property); } public function __toString() { $text = $this->text; if (trim($text) == '') retur...
} public function __get($property) { switch ($property) { case 'text': return $this->$property; } return parent::__get($property); } public function __toString() { $text = $this->text; if (trim($text) == '') return "\n"; if ($text[0] == ' ') $text = "\n " . lt...
<|file_sep|>original/lib/Jivoo/View/Compile/TextNode.php } public function __get($property) { switch ($property) { case 'text': return $this->$property; } return parent::__get($property); } public function __toString() { $text = $this->text; if (trim($text) == '') retur...
eb92c8db926413bc3d3daee5e0c1a7e3fca2fe44
lib/Jivoo/View/Compile/TextNode.php
lib/Jivoo/View/Compile/TextNode.php
PHP
<|file_sep|>.travis.yml.diff original: - "2.7" updated: <|file_sep|>original/.travis.yml - PANDAS=rel # - PANDAS=0.24 # - PANDAS=0.23 - PANDAS=0.22 # Testing `force_tuple_columns` seem to require pandas 0.22--0.20. # # See: [[./src/dictsdiff/core.py::def force_tuple_columns]] # https://github.com/pa...
# - PANDAS=0.23 - PANDAS=0.22 # Testing `force_tuple_columns` seem to require pandas 0.22--0.20. # # See: [[./src/dictsdiff/core.py::def force_tuple_columns]] # https://github.com/pandas-dev/pandas/issues/16769 # - PANDAS=0.21 # - PANDAS=0.20 - PANDAS=0.19 jobs: include: # Python 2.7 is support...
<|file_sep|>.travis.yml.diff original: - "2.7" updated: <|file_sep|>original/.travis.yml - PANDAS=rel # - PANDAS=0.24 # - PANDAS=0.23 - PANDAS=0.22 # Testing `force_tuple_columns` seem to require pandas 0.22--0.20. # # See: [[./src/dictsdiff/core.py::def force_tuple_columns]] # https://github.com/pa...
1f47acfa41fc4ea4f9bd51c9cc8735fbe5727dab
.travis.yml
.travis.yml
YAML
<|file_sep|>services/flickr.py.diff original: # (None, 'access only your public photos'), # ('read', 'access your public and private photos'), # ('write', 'upload, edit and replace your photos'), updated: (None, 'access only your public photos'), ('read', 'access your public and ...
(None, 'access only your public photos'), ('read', 'access your public and private photos'), ('write', 'upload, edit and replace your photos'), ('delete', 'upload, edit, replace and delete your photos'), ] permissions_widget = 'radio' https = False def get_authorize_par...
<|file_sep|>services/flickr.py.diff original: # (None, 'access only your public photos'), # ('read', 'access your public and private photos'), # ('write', 'upload, edit and replace your photos'), updated: (None, 'access only your public photos'), ('read', 'access your public and ...
40ca8cde872704438fecd22ae98bc7db610de1f9
services/flickr.py
services/flickr.py
Python
<|file_sep|>original/froide/problem/utils.py def inform_managers(report): admin_url = settings.SITE_URL + reverse( 'admin:problem_problemreport_change', args=(report.id,)) mail_managers( _('New problem: {label} [#{reqid}]').format( label=report.get_kind_display(), reqid...
def inform_managers(report): admin_url = settings.SITE_URL + reverse( 'admin:problem_problemreport_change', args=(report.id,)) mail_managers( _('New problem: {label} [#{reqid}]').format( label=report.get_kind_display(), reqid=report.message.request_id ), ...
<|file_sep|>original/froide/problem/utils.py def inform_managers(report): admin_url = settings.SITE_URL + reverse( 'admin:problem_problemreport_change', args=(report.id,)) mail_managers( _('New problem: {label} [#{reqid}]').format( label=report.get_kind_display(), reqid...
65daee8f169e8bb6e721ce016c7bcf6cb9893016
froide/problem/utils.py
froide/problem/utils.py
Python
<|file_sep|>original/pltpreview/view.py plt.show(blocking) return mpl_image def plot(*args, **kwargs): """Plot using matplotlib's ``plot`` function. Pass it *args* and *kwargs*. *kwargs* are infected with *blocking* and if False or not specified, the call is nonblocking. *title* is also alowed to...
plt.show(blocking) return mpl_image def plot(*args, **kwargs): """Plot using matplotlib's ``plot`` function. Pass it *args* and *kwargs*. *kwargs* are infected with *blocking* and if False or not specified, the call is nonblocking. *title* is also alowed to be in *kwargs* which sets the figur...
<|file_sep|>original/pltpreview/view.py plt.show(blocking) return mpl_image def plot(*args, **kwargs): """Plot using matplotlib's ``plot`` function. Pass it *args* and *kwargs*. *kwargs* are infected with *blocking* and if False or not specified, the call is nonblocking. *title* is also alowed to...
0e30e73ffa928b11fd6ee6c0ea12709100623e5f
pltpreview/view.py
pltpreview/view.py
Python
<|file_sep|>original/composer.json "name": "Thijs Van der Schaeghe", "email": "info@catlab.be" } ], "autoload": { "psr-4": { "CatLab\\Charon\\Laravel\\": "src/" } }, "require": { "catlabinteractive/charon": "~1.1.0", "catlabinte...
"name": "Thijs Van der Schaeghe", "email": "info@catlab.be" } ], "autoload": { "psr-4": { "CatLab\\Charon\\Laravel\\": "src/" } }, "require": { "catlabinteractive/charon": "~1.1.10", "catlabinteractive/base-laravel": "^5.2" ...
<|file_sep|>original/composer.json "name": "Thijs Van der Schaeghe", "email": "info@catlab.be" } ], "autoload": { "psr-4": { "CatLab\\Charon\\Laravel\\": "src/" } }, "require": { "catlabinteractive/charon": "~1.1.0", "catlabinte...
a602962bd9328e1355a21e9722ebc0d143165b62
composer.json
composer.json
JSON
<|file_sep|>original/app/styles/_ripple.scss .ripple { display: block; position: fixed; background: rgba(0, 0, 0, 0.2); border-radius: 100px; width: 200px; height: 200px; transform: scale(0); } @keyframes ripple { 100% { opacity: 0; transform: scale(1); } } .rippling { animation: ripple 0.35s line...
.ripple { display: block; position: fixed; background: rgba(0, 0, 0, 0.2); border-radius: 100px; width: 200px; height: 200px; transform: scale(0); pointer-events: none; } @keyframes ripple { 100% { opacity: 0; transform: scale(1); } } .rippling { animation: ripple 0.35s linear; }
<|file_sep|>original/app/styles/_ripple.scss .ripple { display: block; position: fixed; background: rgba(0, 0, 0, 0.2); border-radius: 100px; width: 200px; height: 200px; transform: scale(0); } @keyframes ripple { 100% { opacity: 0; transform: scale(1); } } .rippling { animation: ripple 0.35s line...
51d65a5bb1474e6ec667700306d35717b6111440
app/styles/_ripple.scss
app/styles/_ripple.scss
SCSS
<|file_sep|>original/src/main/kotlin/main/main.kt import com.google.gson.Gson import controllers.SqliteController import models.User import spark.ModelAndView import spark.template.handlebars.HandlebarsTemplateEngine import java.util.* fun main(args : Array<String>) { port(3000) staticFiles.location("/public"...
import com.google.gson.Gson import controllers.SqliteController import models.User import spark.ModelAndView import spark.template.handlebars.HandlebarsTemplateEngine import java.util.* fun main(args : Array<String>) { port(3000) staticFiles.location("/public") //allow routes to match with trailing slash...
<|file_sep|>original/src/main/kotlin/main/main.kt import com.google.gson.Gson import controllers.SqliteController import models.User import spark.ModelAndView import spark.template.handlebars.HandlebarsTemplateEngine import java.util.* fun main(args : Array<String>) { port(3000) staticFiles.location("/public"...
1c14c4ac824f2242cc8beeb14f836ee4a9e030cc
src/main/kotlin/main/main.kt
src/main/kotlin/main/main.kt
Kotlin
<|file_sep|>scripts/single-page.js.diff original: console.log("I'm a blog link!", targetURI); updated: <|file_sep|>original/scripts/single-page.js cache: false, url: targetURI }).done(function(response) { $('main').html(response); }); }); $('a.blog-link').on('click', function(event) ...
var targetURI = event.target.dataset.pagePartial; $.ajax({ cache: false, url: targetURI }).done(function(response) { $('main').html(response); }); }); $('a.blog-link').on('click', function(event) { event.preventDefault(); var targetURI = event.target.dataset.pagePartial; ...
<|file_sep|>scripts/single-page.js.diff original: console.log("I'm a blog link!", targetURI); updated: <|file_sep|>original/scripts/single-page.js cache: false, url: targetURI }).done(function(response) { $('main').html(response); }); }); $('a.blog-link').on('click', function(event) ...
5f6fad16ad94b01ee9770f8ac10ed1336068736d
scripts/single-page.js
scripts/single-page.js
JavaScript
<|file_sep|>original/script/lib/config.py #!/usr/bin/env python import platform import sys NODE_VERSION = 'v0.11.13' BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = '5d5539f8232bb4d0253438216de11a99159b3c4d' ARCH = { 'cygwin': '32bit', 'darwin': '64bi...
#!/usr/bin/env python import platform import sys NODE_VERSION = 'v0.11.13' BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = '99d263cbd842ba57331ddb975aad742470a4cff4' ARCH = { 'cygwin': '32bit', 'darwin': '64bit', 'linux2': platform.architecture()[...
<|file_sep|>original/script/lib/config.py #!/usr/bin/env python import platform import sys NODE_VERSION = 'v0.11.13' BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent' LIBCHROMIUMCONTENT_COMMIT = '5d5539f8232bb4d0253438216de11a99159b3c4d' ARCH = { 'cygwin': '32bit', 'darwin': '64bi...
cc29f43a351f1e0418edaceb830e5b189d31b3ad
script/lib/config.py
script/lib/config.py
Python
<|file_sep|>.zuul.yaml.diff original: - openstack-python35-jobs updated: <|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - lib-forward-testing - lib-forward-testing-python3 - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-pyt...
- project: templates: - check-requirements - lib-forward-testing - lib-forward-testing-python3 - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - openstack-python36-jobs - openstack-python37-jobs - periodic-stable-jobs - pu...
<|file_sep|>.zuul.yaml.diff original: - openstack-python35-jobs updated: <|file_sep|>original/.zuul.yaml - project: templates: - check-requirements - lib-forward-testing - lib-forward-testing-python3 - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-pyt...
747dd06db7737a73fb789b201e655f4526ea5146
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>lifter-data/social-media.csv.diff original: updated: Jeanine Whittaker,jwhitt206 <|file_sep|>lifter-data/social-media.csv.diff original: updated: Maliek Derstine,maliekderstine <|file_sep|>lifter-data/social-media.csv.diff original: updated: Odell Manuel,odellmanuelelitepowerlifter <|file_sep|>lifter-dat...
Cynthia Leu,cynthialeu Dan Green,dangreenpowerlifter Donnie Thompson,thompsonfatpad Eric Lilliebridge,ericlilliebridge Jeanine Whittaker,jwhitt206 Jennifer Thompson,jenthompson132 Jesse Burdick,jesseburdick Jesse Norris,jessenorr Jordan Feigenbaum,jordan_barbellmedicine Kevin Oak,oakstrong Kim Tran,agentvalentine Malie...
<|file_sep|>lifter-data/social-media.csv.diff original: updated: Jeanine Whittaker,jwhitt206 <|file_sep|>lifter-data/social-media.csv.diff original: updated: Maliek Derstine,maliekderstine <|file_sep|>lifter-data/social-media.csv.diff original: updated: Odell Manuel,odellmanuelelitepowerlifter <|file_sep|>lifter-dat...
fb6683cad66bc4077fe3cbfa81feaee709ae52f3
lifter-data/social-media.csv
lifter-data/social-media.csv
CSV
<|file_sep|>.travis.yml.diff original: - '0.11' - '0.10' updated: - '10.15.2' <|file_sep|>original/.travis.yml language: node_js node_js: - '0.11' - '0.10' before_install: - npm install -g gulp@3.9.1 - npm link gulp script: - gulp build after_success: - gulp deploy --apikey=$GITAPIKEY --build=$TRAVIS_...
language: node_js node_js: - '10.15.2' before_install: - npm install -g npm@latest - npm install -g gulp@3.9.1 - npm link gulp script: - gulp build after_success: - gulp deploy --apikey=$GITAPIKEY --build=$TRAVIS_BUILD_NUMBER addons: sauce_connect: false
<|file_sep|>.travis.yml.diff original: - '0.11' - '0.10' updated: - '10.15.2' <|file_sep|>original/.travis.yml language: node_js node_js: - '0.11' - '0.10' before_install: - npm install -g gulp@3.9.1 - npm link gulp script: - gulp build after_success: - gulp deploy --apikey=$GITAPIKEY --build=$TRAVIS_...
0dbf7796e946842bf8b55f6fadb35d7b38d8d4e8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/components/HeaderImg.js import React from 'react'; class HeaderImg extends React.Component { render() { return ( <div className="header-img"> <img className="imgix-fluid" data-src="//assets.imgix.net/examples/octopus.jpg?fit=crop&crop=faces" /> </div> ); } } expor...
import React from 'react'; class HeaderImg extends React.Component { render() { return ( <div className="header-img"> <img className="imgix-fluid" data-src="https://wordanddeedindia.imgix.net/images/child.jpg?fit=crop&crop=faces" /> </div> ); } } export default HeaderImg;
<|file_sep|>original/components/HeaderImg.js import React from 'react'; class HeaderImg extends React.Component { render() { return ( <div className="header-img"> <img className="imgix-fluid" data-src="//assets.imgix.net/examples/octopus.jpg?fit=crop&crop=faces" /> </div> ); } } expor...
3a78b371cb69bf85f6da47c1c546988478a51581
components/HeaderImg.js
components/HeaderImg.js
JavaScript
<|file_sep|>original/tests/lib/db/mdb2schemamanager.php * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace Test\DB; class MDB2SchemaManager extends \PHPUnit_Framework_TestCase { public function tearDown() { \OC_DB::dropTable('table...
* This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace Test\DB; class MDB2SchemaManager extends \PHPUnit_Framework_TestCase { public function tearDown() { // do not drop the table for Oracle as it will create a bogus transaction // t...
<|file_sep|>original/tests/lib/db/mdb2schemamanager.php * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace Test\DB; class MDB2SchemaManager extends \PHPUnit_Framework_TestCase { public function tearDown() { \OC_DB::dropTable('table...
04c982a96e19f2254739c24ee8c6b568edcb4190
tests/lib/db/mdb2schemamanager.php
tests/lib/db/mdb2schemamanager.php
PHP
<|file_sep|>original/app/views/shared/_breadcrumbs.html.erb <nav class="breadcrumbs" role="navigation" aria-label="<%= t('breadcrumbs.aria_label') %>"> <ul class="unstyled-list"> <li class="breadcrumbs__item"><%= link_to(t('layouts.home'), root_path) %></li> <% categories.each do |category| %> <li clas...
<nav class="breadcrumbs" role="navigation" aria-label="<%= t('breadcrumbs.aria_label') %>"> <ul class="unstyled-list"> <li class="breadcrumbs__item" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <%= link_to root_path, itemprop: "url" do %> <span itemprop="title"><%= t('layouts.home') %><...
<|file_sep|>original/app/views/shared/_breadcrumbs.html.erb <nav class="breadcrumbs" role="navigation" aria-label="<%= t('breadcrumbs.aria_label') %>"> <ul class="unstyled-list"> <li class="breadcrumbs__item"><%= link_to(t('layouts.home'), root_path) %></li> <% categories.each do |category| %> <li clas...
9626c5d3d61c87fca44e668d7c389bd260f557d5
app/views/shared/_breadcrumbs.html.erb
app/views/shared/_breadcrumbs.html.erb
HTML+ERB
<|file_sep|>test.js.diff original: var libs = ['estimation', 'db', 'badges', 'packages']; updated: var libs = ['estimation', 'db', 'badges', 'packages', 'update']; <|file_sep|>original/test.js /** * Run all module tests. */ exports.test = function(callback) { log.debug('Running tests'); var tests = {}; var libs...
/** * Run all module tests. */ exports.test = function(callback) { log.debug('Running tests'); var tests = {}; var libs = ['estimation', 'db', 'badges', 'packages', 'update']; var factors = ['issues', 'versions', 'downloads']; var bin = ['all']; libs.forEach(function(lib) { tests[lib] = require('./lib...
<|file_sep|>test.js.diff original: var libs = ['estimation', 'db', 'badges', 'packages']; updated: var libs = ['estimation', 'db', 'badges', 'packages', 'update']; <|file_sep|>original/test.js /** * Run all module tests. */ exports.test = function(callback) { log.debug('Running tests'); var tests = {}; var libs...
2c02dfeadda3ddf2cb4f547bc27a7706fd61f0e4
test.js
test.js
JavaScript
<|file_sep|>original/spec/controllers/organizations_controller_spec.rb require 'spec_helper' describe OrganizationsController do describe 'POST create' do it 'creates an organization with omniauth credentials' do OmniAuth.config.mock_auth[:stripe_connect] = OmniAuth::AuthHash.new({ 'uid' => 'X', ...
it 'creates an organization with omniauth credentials' do OmniAuth.config.mock_auth[:stripe_connect] = OmniAuth::AuthHash.new({ 'uid' => 'X', 'info' => { 'stripe_publishable_key' => 'X' }, 'credentials' => { 'token' => 'X' } }) request.env["omniauth.auth"] = OmniAuth.config...
<|file_sep|>original/spec/controllers/organizations_controller_spec.rb require 'spec_helper' describe OrganizationsController do describe 'POST create' do it 'creates an organization with omniauth credentials' do OmniAuth.config.mock_auth[:stripe_connect] = OmniAuth::AuthHash.new({ 'uid' => 'X', ...
8d7c2011726029d93ae52e704625c1661cdef33d
spec/controllers/organizations_controller_spec.rb
spec/controllers/organizations_controller_spec.rb
Ruby
<|file_sep|>original/dev.nrepl/deps.edn {:paths ["src"], :deps {cider/cider-nrepl {:mvn/version "0.18.0"}, refactor-nrepl/refactor-nrepl {:mvn/version "2.4.0"}, org.clojure/tools.nrepl {:mvn/version "0.2.13"}}} <|file_sep|>current/dev.nrepl/deps.edn {:paths ["src"], :deps {cider/cider-nrepl {:mvn/version "0.18....
{:paths ["src"], :deps {cider/cider-nrepl {:mvn/version "0.18.0"}, cider/piggieback {:mvn/version "0.3.10"} refactor-nrepl/refactor-nrepl {:mvn/version "2.4.0"}, org.clojure/tools.nrepl {:mvn/version "0.2.13"}}}
<|file_sep|>original/dev.nrepl/deps.edn {:paths ["src"], :deps {cider/cider-nrepl {:mvn/version "0.18.0"}, refactor-nrepl/refactor-nrepl {:mvn/version "2.4.0"}, org.clojure/tools.nrepl {:mvn/version "0.2.13"}}} <|file_sep|>current/dev.nrepl/deps.edn {:paths ["src"], :deps {cider/cider-nrepl {:mvn/version "0.18....
e2d459ff324894ecc20706ee4c7885ba34913334
dev.nrepl/deps.edn
dev.nrepl/deps.edn
edn
<|file_sep|>original/roles/nchc.rb default_attributes( :accounts => { :users => { :steven => { :status => :administrator }, :ceasar => { :status => :administrator } } }, :hosted_by => "NCHC", :location => "Hsinchu, Taiwan", :networking => { :nameservers => ["8.8.8.8", "8.8.4.4"], :...
default_attributes( :accounts => { :users => { :steven => { :status => :administrator }, :ceasar => { :status => :administrator } } }, :hosted_by => "NCHC", :location => "Hsinchu, Taiwan", :networking => { :nameservers => ["140.110.16.1", "140.110.4.1"], :roles => { :external...
<|file_sep|>original/roles/nchc.rb default_attributes( :accounts => { :users => { :steven => { :status => :administrator }, :ceasar => { :status => :administrator } } }, :hosted_by => "NCHC", :location => "Hsinchu, Taiwan", :networking => { :nameservers => ["8.8.8.8", "8.8.4.4"], :...
c210291c6bfe5ff623ad94c1e08d151c523f8072
roles/nchc.rb
roles/nchc.rb
Ruby
<|file_sep|>original/package.json { "name": "autocomplete", "version": "0.33.1", "main": "./lib/autocomplete", "description": "Display possible completions in the editor with `ctrl-space`.", "activationEvents": { "autocomplete:toggle": ".editor" }, "repository": "https://github.com/atom/autocomplete",...
{ "name": "autocomplete", "version": "0.33.1", "main": "./lib/autocomplete", "description": "Display possible completions in the editor with `ctrl-space`.", "activationCommands": { "atom-text-editor": ["autocomplete:toggle"] }, "repository": "https://github.com/atom/autocomplete", "engines": { "...
<|file_sep|>original/package.json { "name": "autocomplete", "version": "0.33.1", "main": "./lib/autocomplete", "description": "Display possible completions in the editor with `ctrl-space`.", "activationEvents": { "autocomplete:toggle": ".editor" }, "repository": "https://github.com/atom/autocomplete",...
62e717a9584a6648a04b716462af83313668ce46
package.json
package.json
JSON
<|file_sep|>original/zoom.go // Copyright 2015 Alex Browne. All rights reserved. // Use of this source code is governed by the MIT // license, which can be found in the LICENSE file. // Package zoom A blazing-fast datastore and querying engine for // Go built on Redis. It supports models of any arbitrary struct // ty...
// Copyright 2015 Alex Browne. All rights reserved. // Use of this source code is governed by the MIT // license, which can be found in the LICENSE file. // Package zoom is a blazing-fast datastore and querying engine for // Go built on Redis. It supports models of any arbitrary struct // type and provides basic quer...
<|file_sep|>original/zoom.go // Copyright 2015 Alex Browne. All rights reserved. // Use of this source code is governed by the MIT // license, which can be found in the LICENSE file. // Package zoom A blazing-fast datastore and querying engine for // Go built on Redis. It supports models of any arbitrary struct // ty...
a79cee721980a5c4ae084fd1684c51330dc27ef7
zoom.go
zoom.go
Go
<|file_sep|>original/.github/ISSUE_TEMPLATE/question---suggestion---other.md --- name: Question / Suggestion / Other about: Anything that isn't exactly a bug or feature --- <|file_sep|>current/.github/ISSUE_TEMPLATE/question---suggestion---other.md --- name: Question / Suggestion / Other about: Anything that isn't e...
--- name: Question / Suggestion / Other about: Anything that isn't exactly a bug or feature --- <!-- If it's a simple question, you may be able to get help over at https://gitter.im/csgodemos/demoinfo-lib -->
<|file_sep|>original/.github/ISSUE_TEMPLATE/question---suggestion---other.md --- name: Question / Suggestion / Other about: Anything that isn't exactly a bug or feature --- <|file_sep|>current/.github/ISSUE_TEMPLATE/question---suggestion---other.md --- name: Question / Suggestion / Other about: Anything that isn't e...
26b1a4580a7eb123ad86325aea83736dccb3cb88
.github/ISSUE_TEMPLATE/question---suggestion---other.md
.github/ISSUE_TEMPLATE/question---suggestion---other.md
Markdown
<|file_sep|>original/index.html layout: default --- <div class="wrap"> <h1> Past projects </h1> <h2> #1: Green Tread's online store </h2> <h3> Sep 2015- Jan 2016 </h3> <p id="intro"> • Project name: Tyre Buyers' Paradise <br> • Challenge: How can an Estonia-based tyre company attract sales in Finland? <br> • Ro...
--- <div class="wrap"> <h1> Past projects </h1> <h2> #1: Green Tread's online store </h2> <h3> Sep 2015- Jan 2016 </h3> <p id="intro"> • Project name: Tyre Buyers' Paradise <br> • Challenge: How can an Estonia-based tyre company attract sales in Finland? <br> • Role: Examine the web store and find out ways it c...
<|file_sep|>original/index.html layout: default --- <div class="wrap"> <h1> Past projects </h1> <h2> #1: Green Tread's online store </h2> <h3> Sep 2015- Jan 2016 </h3> <p id="intro"> • Project name: Tyre Buyers' Paradise <br> • Challenge: How can an Estonia-based tyre company attract sales in Finland? <br> • Ro...
45ca743bf036e0ad5c6d52f7f6c22cce0d71f155
index.html
index.html
HTML
<|file_sep|>original/Tests/CMakeLists.txt project(XLibTests) include_directories("${GTEST_INCLUDE_DIR}" "${GMOCK_INCLUDE_DIR}" "${CMAKE_SOURCE_DIR}/XLib") link_directories("${GTEST_LIB_DIR}" "${GMOCK_LIB_DIR}") file(GLOB_RECURSE CPP_FILES "${CMAKE_CURRENT_SOURCE_DIR}" "*.cpp") source_group("Test" FILES ${CPP_FILES}) ...
project(XLibTests) CreateTests(XLib_ "${CMAKE_SOURCE_DIR}/XLib" XLib)
<|file_sep|>original/Tests/CMakeLists.txt project(XLibTests) include_directories("${GTEST_INCLUDE_DIR}" "${GMOCK_INCLUDE_DIR}" "${CMAKE_SOURCE_DIR}/XLib") link_directories("${GTEST_LIB_DIR}" "${GMOCK_LIB_DIR}") file(GLOB_RECURSE CPP_FILES "${CMAKE_CURRENT_SOURCE_DIR}" "*.cpp") source_group("Test" FILES ${CPP_FILES}) ...
c7b6900b763595873ee6870c44265f0ebb12f973
Tests/CMakeLists.txt
Tests/CMakeLists.txt
Text
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Node.js # Build a general Node.js project with npm. # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript trigger: - master pool: vmImage: 'ubuntu-latest' steps: - task: NodeTool@0 inputs: versionSpec: '10.x' displa...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Node.js # Build a general Node.js project with npm. # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript...
922d679b5fbdd1b80343ea38ee7afa8ba7acb38a
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/app/views/backend/snippets/edit.html.erb <% breadcrumb.add @model.description, edit_backend_snippet_path(@model) %> <% breadcrumb.add t('b.edit') %> <%= render 'backend/breadcrumbs' %> <%= render 'backend/snippets/tabs', active: :general %> <%= render 'backend/snippets/form', identifier: false %> ...
<% breadcrumb.add @model.description, edit_backend_snippet_path(@model) %> <% breadcrumb.add t('b.edit') %> <%= render 'backend/breadcrumbs' %> <%= render 'backend/snippets/tabs', active: :general %> <%= render 'backend/snippets/form' %>
<|file_sep|>original/app/views/backend/snippets/edit.html.erb <% breadcrumb.add @model.description, edit_backend_snippet_path(@model) %> <% breadcrumb.add t('b.edit') %> <%= render 'backend/breadcrumbs' %> <%= render 'backend/snippets/tabs', active: :general %> <%= render 'backend/snippets/form', identifier: false %> ...
9ee61a8adf27440ebec4879706eb45cd5cd35ecd
app/views/backend/snippets/edit.html.erb
app/views/backend/snippets/edit.html.erb
HTML+ERB
<|file_sep|>original/tests/test_package.py <|file_sep|>current/tests/test_package.py <|file_sep|>updated/tests/test_package.py
import argparse import mock import os import tempfile import unittest import shutil import re import sys from dogen.plugins.repo import Repo from dogen.generator import Generator class TestPackage(unittest.TestCase): def setUp(self): self.workdir = tempfile.mkdtemp(prefix='test_repo_plugin') self....
<|file_sep|>original/tests/test_package.py <|file_sep|>current/tests/test_package.py <|file_sep|>updated/tests/test_package.py import argparse import mock import os import tempfile import unittest import shutil import re import sys from dogen.plugins.repo import Repo from dogen.generator import Generator class Test...
20f7b0296f0e7139a69f94ca8c80c9ad1b73c011
tests/test_package.py
tests/test_package.py
Python
<|file_sep|>original/test/tests/python-imports/container.py isCaveman = platform.python_version_tuple()[0] == '2' if not isWindows: import curses import readline if isCaveman: import gdbm else: import dbm.gnu if isNotPypy: # PyPy and Python 2 don't support lzma ...
import readline if isCaveman: import gdbm else: import dbm.gnu if isNotPypy: # PyPy and Python 2 don't support lzma import lzma assert(lzma.decompress(lzma.compress(b'IT WORKS IT WORKS IT WORKS')) == b'IT WORKS IT WORKS IT WORKS') import bz2 ass...
<|file_sep|>original/test/tests/python-imports/container.py isCaveman = platform.python_version_tuple()[0] == '2' if not isWindows: import curses import readline if isCaveman: import gdbm else: import dbm.gnu if isNotPypy: # PyPy and Python 2 don't support lzma ...
e5876287aacda81bac2d9937e285d132c7133094
test/tests/python-imports/container.py
test/tests/python-imports/container.py
Python
<|file_sep|>original/test/unit/registration/test_ants.py import logging logger = logging.getLogger(__name__) import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..', '..')) from qipipe.registration import ants # The test parent directory. ROOT = os.path.normpath(os.path.join(os.path.dirname(_...
import logging logger = logging.getLogger(__name__) import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..', '..')) from qipipe.registration import ants # The test parent directory. ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), '..', '..')) # The test fixture. FIXTURE = os.p...
<|file_sep|>original/test/unit/registration/test_ants.py import logging logger = logging.getLogger(__name__) import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..', '..')) from qipipe.registration import ants # The test parent directory. ROOT = os.path.normpath(os.path.join(os.path.dirname(_...
c1d906da71571552de92f028c91b3fc2ec2d28de
test/unit/registration/test_ants.py
test/unit/registration/test_ants.py
Python
<|file_sep|>original/package.json "url": "git://github.com/jhudson8/backbone-query-parameters.git" }, "homepage": "https://github.com/jhudson8/backbone-query-parameters", "keywords": [ "backbone", "router", "backbone.router", "history", "pushstate", "querystring" ], "author": "Joe ...
"url": "git://github.com/jhudson8/backbone-query-parameters.git" }, "homepage": "https://github.com/jhudson8/backbone-query-parameters", "keywords": [ "backbone", "router", "backbone.router", "history", "pushstate", "querystring" ], "author": "Joe Hudson", "license": "BSD3", "d...
<|file_sep|>original/package.json "url": "git://github.com/jhudson8/backbone-query-parameters.git" }, "homepage": "https://github.com/jhudson8/backbone-query-parameters", "keywords": [ "backbone", "router", "backbone.router", "history", "pushstate", "querystring" ], "author": "Joe ...
f8f01584edd7e269dd2a955388e586dc361b54b1
package.json
package.json
JSON