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/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
# Crontab Resource Implements a resource that reports new versions when the current time matches the crontab expression ## Source Configuration * `expression`: *Required.* The crontab expression: field allowed values ----- -------------- minute 0-59 hour 0-23 day ...
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md # Crontab Resource Implements a resource that reports new versions when the current time matches the crontab expression ## Source Configuration * `expression`: *Required.* The crontab expression: field allowed v...
47f224b9464fd5f402e85c406124ca2f28209369
README.md
README.md
Markdown
<|file_sep|>original/hieradata/common/modules/ssh.yaml --- ssh::client::storeconfigs_enabled: false ssh::server::storeconfigs_enabled: false ssh::server::options: PermitRootLogin: 'no' PasswordAuthentication: 'no' <|file_sep|>current/hieradata/common/modules/ssh.yaml --- ssh::client::storeconfigs_enabled: false ssh...
--- ssh::client::storeconfigs_enabled: false ssh::server::storeconfigs_enabled: false ssh::server::options: PermitRootLogin: 'no' PasswordAuthentication: 'no' UseDNS: 'no'
<|file_sep|>original/hieradata/common/modules/ssh.yaml --- ssh::client::storeconfigs_enabled: false ssh::server::storeconfigs_enabled: false ssh::server::options: PermitRootLogin: 'no' PasswordAuthentication: 'no' <|file_sep|>current/hieradata/common/modules/ssh.yaml --- ssh::client::storeconfigs_enabled: false ssh...
957b110e138a52dcb8484ab5d9b4647cdb8e0740
hieradata/common/modules/ssh.yaml
hieradata/common/modules/ssh.yaml
YAML
<|file_sep|>app/views/appointments/booking_manager_appointment_changed.html.erb.diff original: <h2>The appointment was changed by an agent</h2> updated: <%= h2 do %> The appointment was changed by an agent <% end %> <|file_sep|>app/views/appointments/booking_manager_appointment_changed.html.erb.diff original: <ul> up...
<%= h2 do %> The appointment was changed by an agent <% end %> <%= p do %> Reference number: <br> <strong class="emphasize"> <%= @appointment.reference %> </strong> <% end %> <%= p do %> The following details were changed: <% end %> <%= ul do %> <% @appointment.audits.last.audited_changes.keys.map(...
<|file_sep|>app/views/appointments/booking_manager_appointment_changed.html.erb.diff original: <h2>The appointment was changed by an agent</h2> updated: <%= h2 do %> The appointment was changed by an agent <% end %> <|file_sep|>app/views/appointments/booking_manager_appointment_changed.html.erb.diff original: <ul> up...
a5b285b1096905b1058d5143ab4681c691cf6747
app/views/appointments/booking_manager_appointment_changed.html.erb
app/views/appointments/booking_manager_appointment_changed.html.erb
HTML+ERB
<|file_sep|>original/content/faq/exchanges.md --- title: Where can I buy or sell LBC? category: getstarted --- We are listed on several exchanges. You can buy or sell credits at one of these: - [Bittrex](https://bittrex.com/Market/Index?MarketName=BTC-LBC) - [Poloniex](https://poloniex.com/exchange#btc_lbc) - [Shapes...
--- title: Where can I buy or sell LBC? category: getstarted --- We are listed on several exchanges. You can buy or sell credits at one of these: - [Bittrex](https://bittrex.com/Market/Index?MarketName=BTC-LBC) - [Poloniex](https://poloniex.com/exchange#btc_lbc) - [Shapeshift](https://shapeshift.io) - [Changelly](htt...
<|file_sep|>original/content/faq/exchanges.md --- title: Where can I buy or sell LBC? category: getstarted --- We are listed on several exchanges. You can buy or sell credits at one of these: - [Bittrex](https://bittrex.com/Market/Index?MarketName=BTC-LBC) - [Poloniex](https://poloniex.com/exchange#btc_lbc) - [Shapes...
e7ae9ae658b8f732ed9527ce4539e9818ef98b5b
content/faq/exchanges.md
content/faq/exchanges.md
Markdown
<|file_sep|>original/playbooks/vagrant-devstack.yml ENABLE_LEGACY_ORA: !!null EDXAPP_LMS_BASE: 127.0.0.1:8000 EDXAPP_OAUTH_ENFORCE_SECURE: false roles: - edx_ansible - edxlocal - mongo - edxapp - oraclejdk - elasticsearch - forum - ecommerce - role: notifier NOTIF...
COMMON_SSH_PASSWORD_AUTH: "yes" ENABLE_LEGACY_ORA: !!null EDXAPP_LMS_BASE: 127.0.0.1:8000 EDXAPP_OAUTH_ENFORCE_SECURE: false roles: - edx_ansible - edxlocal - mongo - edxapp - oraclejdk - elasticsearch - forum - ecommerce - role: notifier NOTIFIER_DIGEST_TASK_...
<|file_sep|>original/playbooks/vagrant-devstack.yml ENABLE_LEGACY_ORA: !!null EDXAPP_LMS_BASE: 127.0.0.1:8000 EDXAPP_OAUTH_ENFORCE_SECURE: false roles: - edx_ansible - edxlocal - mongo - edxapp - oraclejdk - elasticsearch - forum - ecommerce - role: notifier NOTIF...
d3bd0a2fbe29180bdee9ea02b2143556b1578d0e
playbooks/vagrant-devstack.yml
playbooks/vagrant-devstack.yml
YAML
<|file_sep|>original/varnish/default.vcl backend default { .host = "127.0.0.1"; .port = "80"; } sub vcl_fetch { set obj.ttl = 12h; } sub vcl_recv { set req.http.Host = "www.trevorparker.com"; if (req.http.X-Forwarded-Proto !~ "(?i)https") { set req.http.x-Redir-Url = "https://www.trevorparker.com" + req...
backend default { .host = "127.0.0.1"; .port = "80"; } sub vcl_fetch { set beresp.ttl = 1h; } sub vcl_recv { set req.http.Host = "www.trevorparker.com"; if (req.http.X-Forwarded-Proto !~ "(?i)https") { set req.http.x-Redir-Url = "https://www.trevorparker.com" + req.url; error 750 req.http.x-Redir-Ur...
<|file_sep|>original/varnish/default.vcl backend default { .host = "127.0.0.1"; .port = "80"; } sub vcl_fetch { set obj.ttl = 12h; } sub vcl_recv { set req.http.Host = "www.trevorparker.com"; if (req.http.X-Forwarded-Proto !~ "(?i)https") { set req.http.x-Redir-Url = "https://www.trevorparker.com" + req...
c86207293e913a0c8590e90a0cd2eacb928c77ad
varnish/default.vcl
varnish/default.vcl
VCL
<|file_sep|>original/app/templates/views/add-service.html </h1> <p> Be specific to your service. Remember that there might be other people in your organisation using GOV.UK Notify. </p> <p> Users will see this: </p> <ul class="list-bullet bottom-gutter"> <li> a...
{% block maincolumn_content %} <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-large"> When people receive notifications, who should they be from? </h1> <form autocomplete="off" method="post"> {{ textbox(form.name, hint="You can change this later") }} {{ pa...
<|file_sep|>original/app/templates/views/add-service.html </h1> <p> Be specific to your service. Remember that there might be other people in your organisation using GOV.UK Notify. </p> <p> Users will see this: </p> <ul class="list-bullet bottom-gutter"> <li> a...
5087157d2b352626389a3a1c3171377f7c108d1a
app/templates/views/add-service.html
app/templates/views/add-service.html
HTML
<|file_sep|>original/README.md # Google Toolbox for Mac - Session Fetcher # **Project site** <https://github.com/google/gtm-session-fetcher><br> **Discussion group** <http://groups.google.com/group/google-toolbox-for-mac> `GTMSessionFetcher` makes it easy for Cocoa applications to perform http operations. The fetcher...
# Google Toolbox for Mac - Session Fetcher # **Project site** <https://github.com/google/gtm-session-fetcher><br> **Discussion group** <http://groups.google.com/group/google-toolbox-for-mac> [![Build Status](https://travis-ci.org/google/gtm-session-fetcher.svg?branch=master)](https://travis-ci.org/google/gtm-session-...
<|file_sep|>original/README.md # Google Toolbox for Mac - Session Fetcher # **Project site** <https://github.com/google/gtm-session-fetcher><br> **Discussion group** <http://groups.google.com/group/google-toolbox-for-mac> `GTMSessionFetcher` makes it easy for Cocoa applications to perform http operations. The fetcher...
1cbe4c7782e2ac54d450993f3290fe91a704a10d
README.md
README.md
Markdown
<|file_sep|>proxy_action/static/src/js/proxy_view.js.diff original: updated: var core = require('web.core') var _t = core._t <|file_sep|>proxy_action/static/src/js/proxy_view.js.diff original: updated: self.do_notify(_t('Proxy action executing'), _t('Your action is being executed')); <|file_sep|>p...
self.do_notify(_t('Proxy action executing'), _t('Your action is being executed')); action.action_list.forEach(function (task) { $.ajax({ url: task['url'], type: 'POST', data: JSON.stringify(task['params']), ...
<|file_sep|>proxy_action/static/src/js/proxy_view.js.diff original: updated: var core = require('web.core') var _t = core._t <|file_sep|>proxy_action/static/src/js/proxy_view.js.diff original: updated: self.do_notify(_t('Proxy action executing'), _t('Your action is being executed')); <|file_sep|>p...
6ebd664db92aba5c41a5ce7805961b52eee7e9bf
proxy_action/static/src/js/proxy_view.js
proxy_action/static/src/js/proxy_view.js
JavaScript
<|file_sep|>original/requirements/default.txt behave == 1.2.5 biobox-py == 0.3.1 docker-py == 1.8.1 dockerpty == 0.3.2 docopt == 0.6.2 fn == 0.4.3 pytest == 2.9.1 pyyaml == 3.11 requests[security] == 2.7.0 scripttest == 1...
behave == 1.2.5 biobox-py == 0.3.2 docker-py == 1.8.1 dockerpty == 0.3.2 docopt == 0.6.2 fn == 0.4.3 pytest == 2.9.1 pyyaml == 3.11 requests[security] == 2.7.0 scripttest == 1.3
<|file_sep|>original/requirements/default.txt behave == 1.2.5 biobox-py == 0.3.1 docker-py == 1.8.1 dockerpty == 0.3.2 docopt == 0.6.2 fn == 0.4.3 pytest == 2.9.1 pyyaml == 3.11 requests[security] == 2.7.0 scripttest == 1...
091b98270c0af7bed6ad6b7c344263ade7785133
requirements/default.txt
requirements/default.txt
Text
<|file_sep|>original/app/templates/_gulpfile.js * * You can also add your own additional gulp tasks if you like. */ var taskConfig = { component: { name: '<%= componentName %>', dependencies: [ 'classnames', 'react' ], lib: 'lib' }, example: { src: 'example/src', dist: 'example/dist', files...
* * You can also add your own additional gulp tasks if you like. */ var taskConfig = { component: { name: '<%= componentName %>', dependencies: [ 'classnames', 'react', 'react-dom' ], lib: 'lib' }, example: { src: 'example/src', dist: 'example/dist', files: [ 'index.html',
<|file_sep|>original/app/templates/_gulpfile.js * * You can also add your own additional gulp tasks if you like. */ var taskConfig = { component: { name: '<%= componentName %>', dependencies: [ 'classnames', 'react' ], lib: 'lib' }, example: { src: 'example/src', dist: 'example/dist', files...
46e06ea9ff9e4d06520b5539da8b94f28ea30ebd
app/templates/_gulpfile.js
app/templates/_gulpfile.js
JavaScript
<|file_sep|>original/requirements.txt pip==10.0.1 setuptools==39.2.0 wheel==0.31.1 twine==1.11.0 django<2.1 django-rosetta==0.8.1 requests==2.18.4 polib==1.1.0 coverage==4.5.1 <|file_sep|>current/requirements.txt pip==10.0.1 setuptools==39.2.0 wheel==0.31.1 twine==1.11.0 django<2.1 django-rosetta==0.8.1 requests==2.1...
pip==10.0.1 setuptools==39.2.0 wheel==0.31.1 twine==1.11.0 django<2.1 django-rosetta==0.8.1 requests==2.19.1 polib==1.1.0 coverage==4.5.1
<|file_sep|>original/requirements.txt pip==10.0.1 setuptools==39.2.0 wheel==0.31.1 twine==1.11.0 django<2.1 django-rosetta==0.8.1 requests==2.18.4 polib==1.1.0 coverage==4.5.1 <|file_sep|>current/requirements.txt pip==10.0.1 setuptools==39.2.0 wheel==0.31.1 twine==1.11.0 django<2.1 django-rosetta==0.8.1 requests==2.1...
e67453c41cc3f938d3c4c7e0e7f0b4648e8964cb
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 notifications: irc: channels: - "irc.freenode.org#projecthydra" <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 notifications: irc: channels: - "irc.freenode.org#projecthydra" <|file_sep|>u...
language: ruby cache: bundler rvm: - 2.3.0
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 notifications: irc: channels: - "irc.freenode.org#projecthydra" <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 notifications: irc: channels: - "irc.freenode.org#projecthydra" <|file_sep|>u...
1240bc350c4ed24d06c2f2c49b139f119c1b8334
.travis.yml
.travis.yml
YAML
<|file_sep|>index.js.diff original: var cwd = process.cwd(); var gitroot = path.join(cwd, ".git") updated: var args = process.argv.slice(2); <|file_sep|>index.js.diff original: try { fs.readdirSync(gitroot); } catch (error) { console.error('Run this script from the root of the repository.'.red); process.exi...
if (args.length > 0) { // Check if it's project root try { var gitroot = path.join(process.cwd(), ".git") fs.readdirSync(gitroot); } catch (error) { console.error('Run this script from the root of the repository.'.red); process.exit(1); } // Check if config file...
<|file_sep|>index.js.diff original: var cwd = process.cwd(); var gitroot = path.join(cwd, ".git") updated: var args = process.argv.slice(2); <|file_sep|>index.js.diff original: try { fs.readdirSync(gitroot); } catch (error) { console.error('Run this script from the root of the repository.'.red); process.exi...
c2148930b2a73d74754917485f0e0318117f3019
index.js
index.js
JavaScript
<|file_sep|>original/Cargo.toml [package] name = "indicatif" description = "A progress bar and cli reporting library for Rust" version = "0.15.0" keywords = ["cli", "progress", "pb", "colors", "progressbar"] authors = ["Armin Ronacher <armin.ronacher@active-4.com>"] license = "MIT" repository = "https://github.com/mits...
[package] name = "indicatif" description = "A progress bar and cli reporting library for Rust" version = "0.15.0" keywords = ["cli", "progress", "pb", "colors", "progressbar"] authors = ["Armin Ronacher <armin.ronacher@active-4.com>", "Dirkjan Ochtman <dirkjan@ochtman.nl>"] license = "MIT" repository = "https://github....
<|file_sep|>original/Cargo.toml [package] name = "indicatif" description = "A progress bar and cli reporting library for Rust" version = "0.15.0" keywords = ["cli", "progress", "pb", "colors", "progressbar"] authors = ["Armin Ronacher <armin.ronacher@active-4.com>"] license = "MIT" repository = "https://github.com/mits...
807bee6d2e6e2f08f74d4898e738041bf5da2120
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/congress.gemspec # encoding: utf-8 require File.expand_path('../lib/congress/version', __FILE__) Gem::Specification.new do |gem| gem.add_dependency 'faraday', '~> 0.7' gem.add_dependency 'faraday_middleware', '~> 0.7' gem.add_dependency 'hashie', '~> 2.0' gem.add_dependency 'multi_json', '...
# encoding: utf-8 require File.expand_path('../lib/congress/version', __FILE__) Gem::Specification.new do |gem| gem.add_dependency 'faraday', '~> 0.7' gem.add_dependency 'faraday_middleware', '~> 0.7' gem.add_dependency 'hashie', '~> 2.0' gem.add_dependency 'multi_json', '~> 1.0' gem.add_dependency 'rash', '...
<|file_sep|>original/congress.gemspec # encoding: utf-8 require File.expand_path('../lib/congress/version', __FILE__) Gem::Specification.new do |gem| gem.add_dependency 'faraday', '~> 0.7' gem.add_dependency 'faraday_middleware', '~> 0.7' gem.add_dependency 'hashie', '~> 2.0' gem.add_dependency 'multi_json', '...
fd260024f176031719829a6e676ddceb007b0b67
congress.gemspec
congress.gemspec
Ruby
<|file_sep|>src/AppTypes.hs.diff original: import Data.Time.Clock.POSIX (getPOSIXTime) updated: <|file_sep|>src/AppTypes.hs.diff original: data AppState = AppState { time :: Double, validAst :: Block, timeAtStart :: Double } updated: data AppState = AppState { validAst :: Block } <|file_sep|>original/src/AppTyp...
module AppTypes where import Language.LanguageAst ( Block(..) ) data AppState = AppState { validAst :: Block } makeAppState :: AppState makeAppState = AppState { validAst = Block [] }
<|file_sep|>src/AppTypes.hs.diff original: import Data.Time.Clock.POSIX (getPOSIXTime) updated: <|file_sep|>src/AppTypes.hs.diff original: data AppState = AppState { time :: Double, validAst :: Block, timeAtStart :: Double } updated: data AppState = AppState { validAst :: Block } <|file_sep|>original/src/AppTyp...
8f97a6dfdc3bbdedfdaa482aa44461c0edc5177e
src/AppTypes.hs
src/AppTypes.hs
Haskell
<|file_sep|>original/py2js.py def main(): parser = OptionParser(usage="%prog [options] filename", description="Python to JavaScript compiler.") parser.add_option("--include-builtins", action="store_true", dest="include_builtins", default=False, help="include py-builtins.js libra...
def main(): parser = OptionParser(usage="%prog [options] filename", description="Python to JavaScript compiler.") parser.add_option("--include-builtins", action="store_true", dest="include_builtins", default=False, help="include py-builtins.js library in the output") options...
<|file_sep|>original/py2js.py def main(): parser = OptionParser(usage="%prog [options] filename", description="Python to JavaScript compiler.") parser.add_option("--include-builtins", action="store_true", dest="include_builtins", default=False, help="include py-builtins.js libra...
8ce70e6b1af50f59102ccc33086a47fb36037fec
py2js.py
py2js.py
Python
<|file_sep|>original/.github/workflows/maven.yml jobs: build: runs-on: ubuntu-latest continue-on-error: ${{ matrix.experimental }} strategy: matrix: java: [ 8, 11, 14 ] experimental: [false] include: - java: 15-ea experimental: true ...
jobs: build: runs-on: ubuntu-latest continue-on-error: ${{ matrix.experimental }} strategy: matrix: java: [ 8, 11, 14 ] experimental: [false] include: - java: 15-ea experimental: true steps: - uses: actions/checkout@v2.3.1 -...
<|file_sep|>original/.github/workflows/maven.yml jobs: build: runs-on: ubuntu-latest continue-on-error: ${{ matrix.experimental }} strategy: matrix: java: [ 8, 11, 14 ] experimental: [false] include: - java: 15-ea experimental: true ...
ef54ac3502efd360051f8a3c31433ad17ea33001
.github/workflows/maven.yml
.github/workflows/maven.yml
YAML
<|file_sep|>README.md.diff original: updated: [Installation](#installation) - [Usage](#usage) - [Contributing](#contributing) - [License: MIT](#license) <|file_sep|>original/README.md // Join a room mp.join('tastycat').then((room) => { mp.chat(`Hello ${room.name}! :wave:`) }) // Add an example chat command "!id" m...
// Add an example chat command "!id" mp.on('chat', (message) => { if (/^!id/.test(message.message)) { message.reply(`Your user ID is ${message.uid}.`) } }) ``` Full API documentation is available in [docs/API.md][]. ## Contributing Issues/PRs are appreciated! To build the library, run: ``` npm run build ``...
<|file_sep|>README.md.diff original: updated: [Installation](#installation) - [Usage](#usage) - [Contributing](#contributing) - [License: MIT](#license) <|file_sep|>original/README.md // Join a room mp.join('tastycat').then((room) => { mp.chat(`Hello ${room.name}! :wave:`) }) // Add an example chat command "!id" m...
87e19bb7d693c35c53b1baf1cd01508cee2a4bac
README.md
README.md
Markdown
<|file_sep|>original/.gitlab-ci.yml stages: - build variables: REGISTRY: hub.alterway.fr .build_push_template: &build_push_definition stage: build only: - preprod - master script: - docker build --pull -t $REGISTRY/php:${CI_JOB_NAME:1} ${CI_JOB_NAME:1}/ >> /dev/null - docker push $REGISTRY/p...
stages: - build .build_push_template: &build_push_definition stage: build only: - preprod - master script: - docker build --pull -t $REGISTRY/php:${CI_JOB_NAME:1} ${CI_JOB_NAME:1}/ >> /dev/null - docker push $REGISTRY/php:${CI_JOB_NAME:1} > /dev/null - docker tag $REGISTRY/php:${CI_JOB_NA...
<|file_sep|>original/.gitlab-ci.yml stages: - build variables: REGISTRY: hub.alterway.fr .build_push_template: &build_push_definition stage: build only: - preprod - master script: - docker build --pull -t $REGISTRY/php:${CI_JOB_NAME:1} ${CI_JOB_NAME:1}/ >> /dev/null - docker push $REGISTRY/p...
54f4e83b443cc9bd997b119bb03ce87fd5e23462
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>appveyor.yml.diff original: updated: - RUST_VERSION: nightly - RUST_VERSION: 1.0.0-beta <|file_sep|>original/appveyor.yml - gh-pages platform: - x64 environment: RUST_INSTALL_DIR: C:\Rust matrix: - RUST_INSTALL_TRIPLE: i686-pc-windows-gnu - RUST_INSTALL_TRIPLE: x86_64-pc-windows-...
platform: - x64 environment: RUST_INSTALL_DIR: C:\Rust matrix: - RUST_INSTALL_TRIPLE: i686-pc-windows-gnu - RUST_INSTALL_TRIPLE: x86_64-pc-windows-gnu - RUST_VERSION: nightly - RUST_VERSION: 1.0.0-beta install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-$Env:RUST_VERSION...
<|file_sep|>appveyor.yml.diff original: updated: - RUST_VERSION: nightly - RUST_VERSION: 1.0.0-beta <|file_sep|>original/appveyor.yml - gh-pages platform: - x64 environment: RUST_INSTALL_DIR: C:\Rust matrix: - RUST_INSTALL_TRIPLE: i686-pc-windows-gnu - RUST_INSTALL_TRIPLE: x86_64-pc-windows-...
d9ac6b4ff3c04e2d5489ebf806c0c94bd4c2d1b3
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/modules/module_oraakkeli.py import urllib def command_oraakkeli(bot, user, channel, args): """Asks a question from the oracle (http://www.lintukoto.net/viihde/oraakkeli/)""" if not args: return args = urllib.quote_plus(args) answer = getUrl("http://www.lintukoto.net/viihde/oraa...
import urllib def command_oraakkeli(bot, user, channel, args): """Asks a question from the oracle (http://www.lintukoto.net/viihde/oraakkeli/)""" if not args: return args = urllib.quote_plus(args) answer = getUrl("http://www.lintukoto.net/viihde/oraakkeli/index.php?kysymys=%s&html=0" % args).getCon...
<|file_sep|>original/modules/module_oraakkeli.py import urllib def command_oraakkeli(bot, user, channel, args): """Asks a question from the oracle (http://www.lintukoto.net/viihde/oraakkeli/)""" if not args: return args = urllib.quote_plus(args) answer = getUrl("http://www.lintukoto.net/viihde/oraa...
c7621bd5c5e48c8d45ae70836b681b715348d0ba
modules/module_oraakkeli.py
modules/module_oraakkeli.py
Python
<|file_sep|>original/lib/capture.js function loop() { if (attempt >= 10000) { console.error('Took too long to open page'); phantom.exit(1); } var ready = page.evaluate(widgetsReady); if (ready) { // Give things a second to settle down setTimeout(function () { page.render(imagePath); ...
function loop() { if (attempt >= 10000) { console.error('Took too long to open page'); phantom.exit(1); } var ready = page.evaluate(widgetsReady); if (ready) { // Give things a second to settle down setTimeout(function () { page.render(imagePath); phantom.exit(0); }, 3e3) } e...
<|file_sep|>original/lib/capture.js function loop() { if (attempt >= 10000) { console.error('Took too long to open page'); phantom.exit(1); } var ready = page.evaluate(widgetsReady); if (ready) { // Give things a second to settle down setTimeout(function () { page.render(imagePath); ...
ce0083e48b19bb661637999ae2596897f80fa719
lib/capture.js
lib/capture.js
JavaScript
<|file_sep|>setup.sh.diff original: this script creates a working directory for the EffectiveTTV production updated: this script creates a working directory for EffectiveTTV production <|file_sep|>setup.sh.diff original: updated: pip install --user tempdir <|file_sep|>original/setup.sh set -o xtrace export SCRAM_ARC...
export SCRAM_ARCH=slc6_amd64_gcc491 scramv1 project CMSSW_7_4_7 cd CMSSW_7_4_7/src set +o xtrace eval $(scramv1 runtime -sh) set -o xtrace git cms-init > /dev/null git clone git@github.com:annawoodard/EffectiveTTVProduction.git EffectiveTTVProduction/EffectiveTTVProduction scram b -j 32 pip install --user tempdir )...
<|file_sep|>setup.sh.diff original: this script creates a working directory for the EffectiveTTV production updated: this script creates a working directory for EffectiveTTV production <|file_sep|>setup.sh.diff original: updated: pip install --user tempdir <|file_sep|>original/setup.sh set -o xtrace export SCRAM_ARC...
5e72ce93f7312f0048141cbabdcf297d606f9a84
setup.sh
setup.sh
Shell
<|file_sep|>original/test/stream/http/ready_test.rb <|file_sep|>current/test/stream/http/ready_test.rb <|file_sep|>updated/test/stream/http/ready_test.rb
# encoding: UTF-8 require 'vines' require 'minitest/autorun' class HttpReadyTest < MiniTest::Unit::TestCase def setup @stream = MiniTest::Mock.new @state = Vines::Stream::Http::Ready.new(@stream, nil) end def test_missing_body_raises_error node = node('<presence type="unavailable"/>') assert_ra...
<|file_sep|>original/test/stream/http/ready_test.rb <|file_sep|>current/test/stream/http/ready_test.rb <|file_sep|>updated/test/stream/http/ready_test.rb # encoding: UTF-8 require 'vines' require 'minitest/autorun' class HttpReadyTest < MiniTest::Unit::TestCase def setup @stream = MiniTest::Mock.new @stat...
d64d3d79fb0f08bd8bc6dde11dcc36c86706ec35
test/stream/http/ready_test.rb
test/stream/http/ready_test.rb
Ruby
<|file_sep|>README.rst.diff original: .. image:: https://pypip.in/version/oslo.log/badge.svg updated: .. image:: https://img.shields.io/pypi/v/oslo.log.svg <|file_sep|>original/README.rst ================================ oslo.log -- Oslo Logging Library ================================ .. image:: https://pypip.in/vers...
================================ oslo.log -- Oslo Logging Library ================================ .. image:: https://img.shields.io/pypi/v/oslo.log.svg :target: https://pypi.python.org/pypi/oslo.log/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/oslo.log.svg :target: https://pypi.python....
<|file_sep|>README.rst.diff original: .. image:: https://pypip.in/version/oslo.log/badge.svg updated: .. image:: https://img.shields.io/pypi/v/oslo.log.svg <|file_sep|>original/README.rst ================================ oslo.log -- Oslo Logging Library ================================ .. image:: https://pypip.in/vers...
bf0c020f4a84e931bad2d1c09ca494b06e34622f
README.rst
README.rst
reStructuredText
<|file_sep|>original/src/modules/ngSharepoint/app.js angular .module('ngSharepoint', []) .run(function($sp, $spLoader) { if ($sp.getAutoload()) { if ($sp.getConnectionMode() === 'JSOM') { $spLoader.loadScripts('SP.Core', ['//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js', 'S...
angular .module('ngSharepoint', []) .run(function($sp, $spLoader) { if ($sp.getAutoload()) { if ($sp.getConnectionMode() === 'JSOM') { var scripts = [ '//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js', 'SP.Runtime.js', ...
<|file_sep|>original/src/modules/ngSharepoint/app.js angular .module('ngSharepoint', []) .run(function($sp, $spLoader) { if ($sp.getAutoload()) { if ($sp.getConnectionMode() === 'JSOM') { $spLoader.loadScripts('SP.Core', ['//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js', 'S...
4516a7ced770f11f0febe8aec0615ddbb8f6674b
src/modules/ngSharepoint/app.js
src/modules/ngSharepoint/app.js
JavaScript
<|file_sep|>original/requirements/base.txt Django==1.11.15 requests==2.9.1 djangorestframework==3.6.3 django-rest-swagger==2.1.2 django-haystack==2.8.0 elasticsearch>=1.0.0,<2.0.0 django-cors-headers==2.4.0 PyJWT==0.3.0 MySQL-python==1.2.5 # GPL License gunicorn==19.1.1 # MIT path.py==3.0.1 python-dateutil==2.4.0 ...
Django==1.11.15 requests==2.9.1 djangorestframework==3.6.3 django-rest-swagger==2.1.2 django-haystack==2.8.0 elasticsearch>=1.0.0,<2.0.0 django-cors-headers==2.4.0 PyJWT==0.3.0 MySQL-python==1.2.5 # GPL License gunicorn==19.1.1 # MIT path.py==3.0.1 python-dateutil==2.4.0 newrelic==4.8.0.110 # New Relic ...
<|file_sep|>original/requirements/base.txt Django==1.11.15 requests==2.9.1 djangorestframework==3.6.3 django-rest-swagger==2.1.2 django-haystack==2.8.0 elasticsearch>=1.0.0,<2.0.0 django-cors-headers==2.4.0 PyJWT==0.3.0 MySQL-python==1.2.5 # GPL License gunicorn==19.1.1 # MIT path.py==3.0.1 python-dateutil==2.4.0 ...
0f099ec31e45e0598b952b1ba5ed5a08a9a27e13
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
#!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml $testdir/$tested result=$(($result || $?)) do...
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
3fad612c877fe83b65b190cff827bbd9145cae40
.travis/run-tests.sh
.travis/run-tests.sh
Shell
<|file_sep|>original/src/resource.js import {Container} from './'; export default class Resource { /** * @param {Object} params */ constructor({service, name, identifierName, collectionRoot, itemRoot}) { this.service = service; this.name = name; this.identifierName = identifierName; this.collectionRoot =...
* @param {Object} params */ constructor({service, name, identifierName, collectionRoot, itemRoot}) { this.service = service; this.name = name; this.identifierName = identifierName; this.collectionRoot = collectionRoot; this.itemRoot = itemRoot; this.descriptor = Container.get(this.service); this.at...
<|file_sep|>original/src/resource.js import {Container} from './'; export default class Resource { /** * @param {Object} params */ constructor({service, name, identifierName, collectionRoot, itemRoot}) { this.service = service; this.name = name; this.identifierName = identifierName; this.collectionRoot =...
31f63019c61dcfa851687841e253b3c4e9aef4e5
src/resource.js
src/resource.js
JavaScript
<|file_sep|>original/setup.py license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cssmin', 'jsmin', 'Flask-Login', 'Flask-Cache', ...
include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cssmin', 'jsmin', 'Flask-Login', 'Flask-Cache', 'Flask-DebugToolbar', 'Flask-Themes2', ...
<|file_sep|>original/setup.py license='BSD', include_package_data=True, zip_safe=False, long_description=open('README.rst').read(), install_requires=[ 'Flask', 'Flask-WTF', 'Flask-Assets', 'cssmin', 'jsmin', 'Flask-Login', 'Flask-Cache', ...
5b18412ffd0d1521f9817d422bc337afa9b03d6c
setup.py
setup.py
Python
<|file_sep|>original/app/lib/utils.js return String(n) === str && n >= 0; }; /** * Capitalize a name correctly * @return {string} Name with every part capitalized */ String.prototype.nameCapitalize = function () { return this.toLowerCase().replace(/(^|[\s'-])([a-z])/g, function (m, p1, p2) { return ...
}; /** * Ensures that the numeric is two-characters long * Else adds a trailing 0 * @return {string} The padded number */ Number.prototype.pad2 = function (nu) { return (this < 10) ? '0' + this : '' + this; }; /** * Generates a random string, alpha-numeric * @param {number} size The string size * @ret...
<|file_sep|>original/app/lib/utils.js return String(n) === str && n >= 0; }; /** * Capitalize a name correctly * @return {string} Name with every part capitalized */ String.prototype.nameCapitalize = function () { return this.toLowerCase().replace(/(^|[\s'-])([a-z])/g, function (m, p1, p2) { return ...
b56cb03c19dda1c34e4b310be615008dd2a5ecf8
app/lib/utils.js
app/lib/utils.js
JavaScript
<|file_sep|>original/README.md * [Cache Dependency](docs/cacheDependency.md) * [Creat Delayed Load Procedural](docs/create-dlp.md) ### Python Panel * [Cache Manager](docs/cacheManager.md) ![alt tag](docs/img/ss_cache_manager_0001.png) ## Install 1. Clone or Download this repository to your place you want to downlo...
* [Cache Dependency](docs/cacheDependency.md) * [Creat Delayed Load Procedural](docs/create-dlp.md) ### Python Panel * [Cache Manager](docs/cacheManager.md) ![alt tag](docs/img/ss_cache_manager_0001.png) ### Scripts * [Color Nodes(OnCreated)](docs/color-nodes.md) ## Install 1. Clone or Download this repository t...
<|file_sep|>original/README.md * [Cache Dependency](docs/cacheDependency.md) * [Creat Delayed Load Procedural](docs/create-dlp.md) ### Python Panel * [Cache Manager](docs/cacheManager.md) ![alt tag](docs/img/ss_cache_manager_0001.png) ## Install 1. Clone or Download this repository to your place you want to downlo...
a7a6d37a331ae269853692bea69545aa9b18f61e
README.md
README.md
Markdown
<|file_sep|>original/public/css/main.css <|file_sep|>current/public/css/main.css <|file_sep|>updated/public/css/main.css
body { font-family: sans-serif; color: #777; } .header { min-height: 80px; margin: 0; color:#fff; padding: 50px 20px 30px; text-align: center; border-bottom:1px solid #eee; } .header h1 { margin: 0.2em 0; font-size:3em; } .header h2 { font-w...
<|file_sep|>original/public/css/main.css <|file_sep|>current/public/css/main.css <|file_sep|>updated/public/css/main.css body { font-family: sans-serif; color: #777; } .header { min-height: 80px; margin: 0; color:#fff; padding: 50px 20px 30px; text-align: center; border-bottom:...
a47e962745300a0697c070429bcdf12d2cdd3b12
public/css/main.css
public/css/main.css
CSS
<|file_sep|>original/README.md # play-ws-loadbalancer Client site load balancer for Play 2 WS module based on Netflix' Ribbon. [![Build Status](https://travis-ci.org/jehrhardt/play-ws-loadbalancer.svg?branch=master)](https://travis-ci.org/jehrhardt/play-ws-loadbalancer) [![Download](https://api.bintray.com/packages/je...
# play-ws-loadbalancer Client site load balancer for Play 2 WS module based on Netflix' Ribbon. [![Build Status](https://travis-ci.org/jehrhardt/play-ws-loadbalancer.svg?branch=master)](https://travis-ci.org/jehrhardt/play-ws-loadbalancer)[![Download](https://api.bintray.com/packages/jehrhardt/maven/play-ws-loadbalanc...
<|file_sep|>original/README.md # play-ws-loadbalancer Client site load balancer for Play 2 WS module based on Netflix' Ribbon. [![Build Status](https://travis-ci.org/jehrhardt/play-ws-loadbalancer.svg?branch=master)](https://travis-ci.org/jehrhardt/play-ws-loadbalancer) [![Download](https://api.bintray.com/packages/je...
2a3190b9e0a82a0276b491fa4ac96b1b8cfa6ab6
README.md
README.md
Markdown
<|file_sep|>original/README.md Bluetooth-Manager-for-Glass =========================== Easily add and remove Bluetooth devices from Google Glass. No need for the Settings.apk anymore. Requires Android Studio 0.4.3. <|file_sep|>current/README.md Bluetooth-Manager-for-Glass =========================== Easily add and r...
Bluetooth-Manager-for-Glass =========================== Easily add and remove Bluetooth devices from Google Glass. No need for the Settings.apk anymore. Requires Android Studio 0.5.3.
<|file_sep|>original/README.md Bluetooth-Manager-for-Glass =========================== Easily add and remove Bluetooth devices from Google Glass. No need for the Settings.apk anymore. Requires Android Studio 0.4.3. <|file_sep|>current/README.md Bluetooth-Manager-for-Glass =========================== Easily add and r...
6104de5f47cd07e54f4f35503ab5900adcf8b246
README.md
README.md
Markdown
<|file_sep|>original/bnw_handlers/command_userinfo.py subscribers_only = list(subscribers - subscriptions) subscribers_only.sort() subscriptions_only = list(subscriptions - subscribers) subscriptions_only.sort() messages_count = int((yield objs.Message.count({'user': user}))) comments_count = in...
subscribers_only.sort() subscriptions_only = list(subscriptions - subscribers) subscriptions_only.sort() messages_count = int((yield objs.Message.count({'user': user}))) comments_count = int((yield objs.Comment.count({'user': user}))) vcard = user_obj.get('vcard', {}) about = user_obj.get('s...
<|file_sep|>original/bnw_handlers/command_userinfo.py subscribers_only = list(subscribers - subscriptions) subscribers_only.sort() subscriptions_only = list(subscriptions - subscribers) subscriptions_only.sort() messages_count = int((yield objs.Message.count({'user': user}))) comments_count = in...
724b80b44229b531d7a11cb7cc9f6ad88d9aedb0
bnw_handlers/command_userinfo.py
bnw_handlers/command_userinfo.py
Python
<|file_sep|>original/lib/metasploit_data_models/active_record_models/vuln_attempt.rb module MetasploitDataModels::ActiveRecordModels::VulnAttempt def self.included(base) base.class_eval { belongs_to :vuln, :class_name => "Mdm::VulnAttempt", :counter_cache => :vuln_attempt_count validates :vuln_id, :pr...
module MetasploitDataModels::ActiveRecordModels::VulnAttempt def self.included(base) base.class_eval { belongs_to :vuln, :class_name => "Mdm::Vuln", :counter_cache => :vuln_attempt_count validates :vuln_id, :presence => true } end end
<|file_sep|>original/lib/metasploit_data_models/active_record_models/vuln_attempt.rb module MetasploitDataModels::ActiveRecordModels::VulnAttempt def self.included(base) base.class_eval { belongs_to :vuln, :class_name => "Mdm::VulnAttempt", :counter_cache => :vuln_attempt_count validates :vuln_id, :pr...
73c3fca9f9afc46eba2a3986bebea079185d4d0f
lib/metasploit_data_models/active_record_models/vuln_attempt.rb
lib/metasploit_data_models/active_record_models/vuln_attempt.rb
Ruby
<|file_sep|>original/db/migrate/20111016150725_extend_page_part_content_limit.rb class ExtendPagePartContentLimit < ActiveRecord::Migration def self.up if ActiveRecord::Base.connection.adapter_name =~ /m[sy]sql/i # Make sure text longer than 64kB is not cropped in MySQL and MSSQL # See https://github....
class ExtendPagePartContentLimit < ActiveRecord::Migration def self.up if ActiveRecord::Base.connection.adapter_name =~ /m[sy]sql/i # Make sure text longer than 64kB is not cropped in MySQL and MSSQL # See https://github.com/radiant/radiant-sheets-extension/issues/10 change_column :page_parts, :...
<|file_sep|>original/db/migrate/20111016150725_extend_page_part_content_limit.rb class ExtendPagePartContentLimit < ActiveRecord::Migration def self.up if ActiveRecord::Base.connection.adapter_name =~ /m[sy]sql/i # Make sure text longer than 64kB is not cropped in MySQL and MSSQL # See https://github....
2ab309b42ad968b78b38caa9ad721ca70844a715
db/migrate/20111016150725_extend_page_part_content_limit.rb
db/migrate/20111016150725_extend_page_part_content_limit.rb
Ruby
<|file_sep|>original/evt-bridge-converter/src/main/java/com/github/aureliano/evtbridge/converter/helper/ConversionHelper.java <|file_sep|>current/evt-bridge-converter/src/main/java/com/github/aureliano/evtbridge/converter/helper/ConversionHelper.java <|file_sep|>updated/evt-bridge-converter/src/main/java/com/github/a...
package com.github.aureliano.evtbridge.converter.helper; import java.util.Map; import com.github.aureliano.evtbridge.converter.ConfigurationConverter; import com.github.aureliano.evtbridge.converter.ConfigurationSourceType; import com.github.aureliano.evtbridge.converter.exception.ConfigurationConverterException; imp...
<|file_sep|>original/evt-bridge-converter/src/main/java/com/github/aureliano/evtbridge/converter/helper/ConversionHelper.java <|file_sep|>current/evt-bridge-converter/src/main/java/com/github/aureliano/evtbridge/converter/helper/ConversionHelper.java <|file_sep|>updated/evt-bridge-converter/src/main/java/com/github/a...
ce3e4b6aa94e9c41e8fdd12d5738593cf9bb1ea5
evt-bridge-converter/src/main/java/com/github/aureliano/evtbridge/converter/helper/ConversionHelper.java
evt-bridge-converter/src/main/java/com/github/aureliano/evtbridge/converter/helper/ConversionHelper.java
Java
<|file_sep|>original/karma.conf.js // Convert files with webpack and load sourcemaps 'app/**/*.test.*': ['webpack', 'sourcemap'] }, browsers: [ // Run tests using PhantomJS 'PhantomJS' ], singleRun: true, // Configure code coverage reporter coverageReporter: { di...
// Run tests using PhantomJS 'PhantomJS' ], singleRun: true, // Configure code coverage reporter coverageReporter: { dir: 'build/coverage/', type: 'html' }, // Test webpack config webpack: require('./webpack.test'), // Hide webpack build information from outpu...
<|file_sep|>original/karma.conf.js // Convert files with webpack and load sourcemaps 'app/**/*.test.*': ['webpack', 'sourcemap'] }, browsers: [ // Run tests using PhantomJS 'PhantomJS' ], singleRun: true, // Configure code coverage reporter coverageReporter: { di...
290d9eb3b238fdf18c947416d46968bfc6c25228
karma.conf.js
karma.conf.js
JavaScript
<|file_sep|>original/templates/index.html <link rel="stylesheet" href="/css/style.css"> </head> <body> <div id="chatframe"> <span id="username">{{ username }}</span> <ul id="messages" ref="messageDisplay"></ul> <form method="POST" action="/message/" @submi...
<link rel="stylesheet" href="/css/style.css"> </head> <body> <div id="chatframe"> <span id="username">{{ username }}</span> <ul id="messages" ref="messageDisplay"></ul> <form method="POST" action="/message/" @submit.prevent="sendMessage"> <...
<|file_sep|>original/templates/index.html <link rel="stylesheet" href="/css/style.css"> </head> <body> <div id="chatframe"> <span id="username">{{ username }}</span> <ul id="messages" ref="messageDisplay"></ul> <form method="POST" action="/message/" @submi...
965e2708797450b4ac45664cd958311985c3a68f
templates/index.html
templates/index.html
HTML
<|file_sep|>original/lib/merb_datamapper/version.rb module Merb module DataMapper VERSION = '1.1.0'.freeze DM_VERSION_REQUIREMENT = '>= 0.10'.freeze end end <|file_sep|>current/lib/merb_datamapper/version.rb module Merb module DataMapper VERSION = '1.1.0'.freeze DM_VE...
module Merb module DataMapper VERSION = '1.1.0'.freeze DM_VERSION_REQUIREMENT = '~> 0.10'.freeze end end
<|file_sep|>original/lib/merb_datamapper/version.rb module Merb module DataMapper VERSION = '1.1.0'.freeze DM_VERSION_REQUIREMENT = '>= 0.10'.freeze end end <|file_sep|>current/lib/merb_datamapper/version.rb module Merb module DataMapper VERSION = '1.1.0'.freeze DM_VE...
b55953313da07ec3da379fb34eeccd7342f9e3ff
lib/merb_datamapper/version.rb
lib/merb_datamapper/version.rb
Ruby
<|file_sep|>original/.travis.yml # Additional components #- extra-google-google_play_services #- extra-google-m2repository #- extra-android-m2repository #- addon-google_apis-google-19 # Specify at least one system image, # if you need to run emulator(s) during your tests #- sys-img-arm...
#- extra-google-google_play_services #- extra-google-m2repository #- extra-android-m2repository #- addon-google_apis-google-19 # Specify at least one system image, # if you need to run emulator(s) during your tests #- sys-img-armeabi-v7a-android-22 #- sys-img-x86-android-17 sudo: true ...
<|file_sep|>original/.travis.yml # Additional components #- extra-google-google_play_services #- extra-google-m2repository #- extra-android-m2repository #- addon-google_apis-google-19 # Specify at least one system image, # if you need to run emulator(s) during your tests #- sys-img-arm...
1e0d4ec82a0a1e5f292edcea6f7af7c5f5da13bb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/runBenchmark.sh #!/bin/sh cd `dirname $0` git fetch > benchmark.log && \ git rebase origin/master >> benchmark.log && \ rm -rf build >> benchmark.log && \ ./gradlew clean >> benchmark.log && \ ./gradlew --no-parallel --no-daemon jmh >> benchmark.log && \ ./gradlew --no-parallel --no-daemon publis...
#!/bin/sh cd `dirname $0` git fetch > benchmark.log && \ git rebase origin/master >> benchmark.log && \ rm -rf build >> benchmark.log && \ ./gradlew clean >> benchmark.log && \ ./gradlew --no-parallel --no-daemon jmh >> benchmark.log && \ ./gradlew --no-parallel --no-daemon publishResults processResults >> benchmark....
<|file_sep|>original/runBenchmark.sh #!/bin/sh cd `dirname $0` git fetch > benchmark.log && \ git rebase origin/master >> benchmark.log && \ rm -rf build >> benchmark.log && \ ./gradlew clean >> benchmark.log && \ ./gradlew --no-parallel --no-daemon jmh >> benchmark.log && \ ./gradlew --no-parallel --no-daemon publis...
ee708c93883a86439b7a734cb70e1ab0b8df6359
runBenchmark.sh
runBenchmark.sh
Shell
<|file_sep|>original/package.json { "name": "easeljs", "npmName": "easeljs", "version": "1.0.1", "description": "EaselJS is a library for building high-performance interactive 2D content in HTML5. It provides a feature-rich display list to allow you to manipulate and animate graphics. It also provides a robust...
{ "name": "easeljs", "npmName": "easeljs", "version": "1.0.1", "description": "EaselJS is a library for building high-performance interactive 2D content in HTML5. It provides a feature-rich display list to allow you to manipulate and animate graphics. It also provides a robust interactive model for mouse and t...
<|file_sep|>original/package.json { "name": "easeljs", "npmName": "easeljs", "version": "1.0.1", "description": "EaselJS is a library for building high-performance interactive 2D content in HTML5. It provides a feature-rich display list to allow you to manipulate and animate graphics. It also provides a robust...
0a7a7ac92b572d46571acf3f28a8f298b35d9640
package.json
package.json
JSON
<|file_sep|>original/scripts/update_deps.sh echo "Fetching ${TOOL}..." git clone https://github.com/hashicorp/${TOOL} cd ${TOOL} ## Clean out earlier vendoring rm -rf Godeps vendor ## Get govendor go get github.com/kardianos/govendor ## Init govendor init ## Filter out tags in testing packages sed -i -e 's/test/tes...
## Get Vault mkdir -p src/github.com/hashicorp cd src/github.com/hashicorp echo "Fetching ${TOOL}..." git clone https://github.com/hashicorp/${TOOL} cd ${TOOL} ## Clean out earlier vendoring rm -rf Godeps vendor ## Get govendor go get github.com/kardianos/govendor ## Init govendor init ## Fetch deps echo "Fetching ...
<|file_sep|>original/scripts/update_deps.sh echo "Fetching ${TOOL}..." git clone https://github.com/hashicorp/${TOOL} cd ${TOOL} ## Clean out earlier vendoring rm -rf Godeps vendor ## Get govendor go get github.com/kardianos/govendor ## Init govendor init ## Filter out tags in testing packages sed -i -e 's/test/tes...
4c6d6a539fd66bc3d4d1390afebafddda389be2e
scripts/update_deps.sh
scripts/update_deps.sh
Shell
<|file_sep|>original/src/script_generate_qrcodes.php <|file_sep|>current/src/script_generate_qrcodes.php <|file_sep|>updated/src/script_generate_qrcodes.php
<?php /* * CodeMOOC TreasureHuntBot * =================== * UWiClab, University of Urbino * =================== * Generates QR Code package for a given game. */ require_once(dirname(__FILE__) . '/game.php'); require_once(dirname(__FILE__) . '/lib.php'); require_once(dirname(__FILE__) . '/model/context.php'); re...
<|file_sep|>original/src/script_generate_qrcodes.php <|file_sep|>current/src/script_generate_qrcodes.php <|file_sep|>updated/src/script_generate_qrcodes.php <?php /* * CodeMOOC TreasureHuntBot * =================== * UWiClab, University of Urbino * =================== * Generates QR Code package for a given game...
8c377f10a2a94d6a22a06e1ad5c4c53e335b1b72
src/script_generate_qrcodes.php
src/script_generate_qrcodes.php
PHP
<|file_sep|>original/src/model/fancy/localstorage.js * model/fancy/localstorage.js */ var localStorageModel = baseModel.extend({ /** * To use, extend this model and specify key as a property. * * For example: * var metrics = tbone.models.localStorage.make({ key: 'metrics' }); * metrics.i...
* model/fancy/localstorage.js */ var localStorageModel = baseModel.extend({ /** * To use, extend this model and specify key as a property. * * For example: * var metrics = tbone.models.localStorage.make({ key: 'metrics' }); * metrics.increment('pageloads'); * console.log(metrics.que...
<|file_sep|>original/src/model/fancy/localstorage.js * model/fancy/localstorage.js */ var localStorageModel = baseModel.extend({ /** * To use, extend this model and specify key as a property. * * For example: * var metrics = tbone.models.localStorage.make({ key: 'metrics' }); * metrics.i...
871ad701060b88092b4ffdef204798da950fb130
src/model/fancy/localstorage.js
src/model/fancy/localstorage.js
JavaScript
<|file_sep|>original/addon/templates/components/power-select-typeahead/trigger.hbs <input type="text" value={{if extra.labelPath (get selected extra.labelPath) selected}} class="ember-power-select-typeahead-input" oninput={{action handleInput}} onkeydown={{action "handleKeydown"}} onmousedown={{action "stopPr...
<input type="text" value={{if extra.labelPath (get selected extra.labelPath) selected}} class="ember-power-select-typeahead-input" oninput={{action handleInput}} onfocus={{action handleFocus}} onkeydown={{action "handleKeydown"}} onmousedown={{action "stopPropagation"}}> {{#if loading}} <span class="ember...
<|file_sep|>original/addon/templates/components/power-select-typeahead/trigger.hbs <input type="text" value={{if extra.labelPath (get selected extra.labelPath) selected}} class="ember-power-select-typeahead-input" oninput={{action handleInput}} onkeydown={{action "handleKeydown"}} onmousedown={{action "stopPr...
9f2dbd35622dfc9c0d45943d758e7895b0602a66
addon/templates/components/power-select-typeahead/trigger.hbs
addon/templates/components/power-select-typeahead/trigger.hbs
Handlebars
<|file_sep|>original/server.js var router = require('./config/routes.js'); var host = process.env.HOST; var port = process.env.PORT || 4000; var app = express(); middleware.configure(app); router.route(app); host ? app.listen(port, host) : app.listen(port); setTimeout(function(){ var outgoingPaymentsMonitor = chil...
var router = require('./config/routes.js'); var host = process.env.HOST; var port = process.env.PORT || 4000; var app = express(); middleware.configure(app); router.route(app); host ? app.listen(port, host) : app.listen(port); var incomingPaymentsMonitor = childProcess.spawn("node", ["workers/listener.js"]); incomin...
<|file_sep|>original/server.js var router = require('./config/routes.js'); var host = process.env.HOST; var port = process.env.PORT || 4000; var app = express(); middleware.configure(app); router.route(app); host ? app.listen(port, host) : app.listen(port); setTimeout(function(){ var outgoingPaymentsMonitor = chil...
0e54f763654fc79af4005e49dae810c1478fe128
server.js
server.js
JavaScript
<|file_sep|>original/src/AppGet/PackageRepository/AppGetServerClient.cs using NLog; namespace AppGet.PackageRepository { public class AppGetServerClient : IPackageRepository { private readonly IHttpClient _httpClient; private readonly Logger _logger; private readonly HttpRequestBuilder ...
using NLog; namespace AppGet.PackageRepository { public class AppGetServerClient : IPackageRepository { private readonly IHttpClient _httpClient; private readonly Logger _logger; private readonly HttpRequestBuilder _requestBuilder; private const string API_ROOT = "https://appge...
<|file_sep|>original/src/AppGet/PackageRepository/AppGetServerClient.cs using NLog; namespace AppGet.PackageRepository { public class AppGetServerClient : IPackageRepository { private readonly IHttpClient _httpClient; private readonly Logger _logger; private readonly HttpRequestBuilder ...
66c96fe5001ba98bb7f47baad383a35c5bf0ff0f
src/AppGet/PackageRepository/AppGetServerClient.cs
src/AppGet/PackageRepository/AppGetServerClient.cs
C#
<|file_sep|>original/README.md # raspdiagd **Raspberry Pi Diagnostics Gatherer** This repository provides a number of python-based daemons that gather some system diagnostics. Although specifically targeted at Raspberry Pi flavours of Debian, most will probably work on any Debian-based Linux distro. The result of each...
**Raspberry Pi Diagnostics Gatherer** This repository provides a number of python-based daemons that gather some system diagnostics. Although specifically targeted at Raspberry Pi flavours of Debian, most will probably work on any Debian-based Linux distro. The result of each deamon is a file containing comma-separate...
<|file_sep|>original/README.md # raspdiagd **Raspberry Pi Diagnostics Gatherer** This repository provides a number of python-based daemons that gather some system diagnostics. Although specifically targeted at Raspberry Pi flavours of Debian, most will probably work on any Debian-based Linux distro. The result of each...
4793a67852b756d11d47ea7242e49f4faab118c3
README.md
README.md
Markdown
<|file_sep|>original/.ko.yaml defaultBaseImage: gcr.io/distroless/static:nonroot <|file_sep|>current/.ko.yaml defaultBaseImage: gcr.io/distroless/static:nonroot <|file_sep|>updated/.ko.yaml
defaultBaseImage: gcr.io/distroless/static:nonroot baseImageOverrides: github.com/tektoncd/operator/cmd/openshift/operator: registry.access.redhat.com/ubi8/ubi-minimal github.com/tektoncd/operator/cmd/openshift/webhook: registry.access.redhat.com/ubi8/ubi-minimal
<|file_sep|>original/.ko.yaml defaultBaseImage: gcr.io/distroless/static:nonroot <|file_sep|>current/.ko.yaml defaultBaseImage: gcr.io/distroless/static:nonroot <|file_sep|>updated/.ko.yaml defaultBaseImage: gcr.io/distroless/static:nonroot baseImageOverrides: github.com/tektoncd/operator/cmd/openshift/operator: regi...
29aff0f5629a15702bca610c44f9d0eb950c908f
.ko.yaml
.ko.yaml
YAML
<|file_sep|>app/scripts/app.js.diff original: updated: .when('', { redirectTo: '/404' }) <|file_sep|>original/app/scripts/app.js controller: 'HomeCtrl' }) .when('/about', { templateUrl: 'views/about.html', controller: 'AboutCtrl' }) ...
controller: 'HomeCtrl' }) .when('/about', { templateUrl: 'views/about.html', controller: 'AboutCtrl' }) .when('/404', { templateUrl: '404.html', }) .when('', { redirectTo: '/404' }) .otherwise({ r...
<|file_sep|>app/scripts/app.js.diff original: updated: .when('', { redirectTo: '/404' }) <|file_sep|>original/app/scripts/app.js controller: 'HomeCtrl' }) .when('/about', { templateUrl: 'views/about.html', controller: 'AboutCtrl' }) ...
53c073bdcb67f849e858f304c2752970ab84c9db
app/scripts/app.js
app/scripts/app.js
JavaScript
<|file_sep|>original/src/resources/jsonparser.js import {fields} from './elements/index'; /** * Parse an object into a {@link Field}. * @param {String} id The ID for the field. * @param {Object} obj The parameters for the field. * @param {Field} [parent] The parent of the new field. * @return {Fiel...
import {fields} from './elements/index'; /** * Parse an object into a {@link Field}. * @param {String} id The ID for the field. * @param {Object} obj The parameters for the field. * @param {Field} [parent] The parent of the new field. * @return {Field} The field created from the given dat...
<|file_sep|>original/src/resources/jsonparser.js import {fields} from './elements/index'; /** * Parse an object into a {@link Field}. * @param {String} id The ID for the field. * @param {Object} obj The parameters for the field. * @param {Field} [parent] The parent of the new field. * @return {Fiel...
8c9575c121c343574f3aee579a52d3cae685a0cd
src/resources/jsonparser.js
src/resources/jsonparser.js
JavaScript
<|file_sep|>original/Kudu.TestHarness/ApplicationManagerExtensions.cs using System; namespace Kudu.TestHarness { public static class ApplicationManagerExtensions { public static GitDeploymentResult GitDeploy(this ApplicationManager appManager, string localRepoPath, string localBranchName = "master", s...
using System; namespace Kudu.TestHarness { public static class ApplicationManagerExtensions { public static GitDeploymentResult GitDeploy(this ApplicationManager appManager, string localRepoPath, string localBranchName = "master", string remoteBranchName = "master") { GitDeployment...
<|file_sep|>original/Kudu.TestHarness/ApplicationManagerExtensions.cs using System; namespace Kudu.TestHarness { public static class ApplicationManagerExtensions { public static GitDeploymentResult GitDeploy(this ApplicationManager appManager, string localRepoPath, string localBranchName = "master", s...
198cd9950d121927e5194939b0b331f1699e8031
Kudu.TestHarness/ApplicationManagerExtensions.cs
Kudu.TestHarness/ApplicationManagerExtensions.cs
C#
<|file_sep|>original/doc/adr/0006-use-prometheus-for-exposing-metrics.md <|file_sep|>current/doc/adr/0006-use-prometheus-for-exposing-metrics.md <|file_sep|>updated/doc/adr/0006-use-prometheus-for-exposing-metrics.md
# 6. Use Prometheus for exposing metrics Date: 2017-09-06 ## Status Accepted ## Context We need to know what the application is doing in a more light weight way than scraping logs. We need to be able to monitor KPIs of the application in order to understand the health of the application. This will allow us to reac...
<|file_sep|>original/doc/adr/0006-use-prometheus-for-exposing-metrics.md <|file_sep|>current/doc/adr/0006-use-prometheus-for-exposing-metrics.md <|file_sep|>updated/doc/adr/0006-use-prometheus-for-exposing-metrics.md # 6. Use Prometheus for exposing metrics Date: 2017-09-06 ## Status Accepted ## Context We need ...
e1704a326d5d963044e998f4b5d178cd85b85950
doc/adr/0006-use-prometheus-for-exposing-metrics.md
doc/adr/0006-use-prometheus-for-exposing-metrics.md
Markdown
<|file_sep|>original/muon-inmem/src/test/groovy/io/muoncore/protocol/reactivestream/server/ChannelFunctionExecShimBecauseGroovyCantCallLambda.java <|file_sep|>current/muon-inmem/src/test/groovy/io/muoncore/protocol/reactivestream/server/ChannelFunctionExecShimBecauseGroovyCantCallLambda.java <|file_sep|>updated/muon-...
package io.muoncore.protocol.reactivestream.server; import io.muoncore.channel.ChannelConnection; /* * workaround for inability to directly invoke lambdas from groovy without the dynamic coercion * * When performing spock argument capture, the actual lambda appears in a groovy context. * * Requiring this shim be...
<|file_sep|>original/muon-inmem/src/test/groovy/io/muoncore/protocol/reactivestream/server/ChannelFunctionExecShimBecauseGroovyCantCallLambda.java <|file_sep|>current/muon-inmem/src/test/groovy/io/muoncore/protocol/reactivestream/server/ChannelFunctionExecShimBecauseGroovyCantCallLambda.java <|file_sep|>updated/muon-...
6231b9c1a9509ce56f3f843480d4467f864019a2
muon-inmem/src/test/groovy/io/muoncore/protocol/reactivestream/server/ChannelFunctionExecShimBecauseGroovyCantCallLambda.java
muon-inmem/src/test/groovy/io/muoncore/protocol/reactivestream/server/ChannelFunctionExecShimBecauseGroovyCantCallLambda.java
Java
<|file_sep|>Site/Views/ProductItem.cshtml.diff original: <h3> updated: @*<h3> <|file_sep|>original/Site/Views/ProductItem.cshtml } <div class="clearfix"> @Html.Partial("LeftNavigation",@Model.Content) <div class="" style="float: left;width: 75%;padding-left: 30px;"> <h3> ...
} <div class="clearfix"> @Html.Partial("LeftNavigation",@Model.Content) <div class="" style="float: left;width: 75%;padding-left: 30px;"> @*<h3> @Model.Content.GetTitleOrName() </h3> <p> @Convert.ToDateTime(Model.Content.UpdateDate).ToString("D") ...
<|file_sep|>Site/Views/ProductItem.cshtml.diff original: <h3> updated: @*<h3> <|file_sep|>original/Site/Views/ProductItem.cshtml } <div class="clearfix"> @Html.Partial("LeftNavigation",@Model.Content) <div class="" style="float: left;width: 75%;padding-left: 30px;"> <h3> ...
d8868dd2792b5b1760177ee04a8c24599b2bc354
Site/Views/ProductItem.cshtml
Site/Views/ProductItem.cshtml
C#
<|file_sep|>README.md.diff original: Cobweb is a base-class utility library for .NET updated: Cobweb is a base-class utility library suite for .NET <|file_sep|>original/README.md Cobweb ====== Cobweb is a base-class utility library for .NET ## Installation From Package Manager Console: ```bash PM> install-package c...
Cobweb ====== Cobweb is a base-class utility library suite for .NET ## Installation From Package Manager Console: ```bash PM> install-package cobweb ``` ## License Cobweb is copyright of Arana Software, released under the [BSD License](http://opensource.org/licenses/BSD-3-Clause).
<|file_sep|>README.md.diff original: Cobweb is a base-class utility library for .NET updated: Cobweb is a base-class utility library suite for .NET <|file_sep|>original/README.md Cobweb ====== Cobweb is a base-class utility library for .NET ## Installation From Package Manager Console: ```bash PM> install-package c...
b338acddead2eb647cbe058ff3e5746e644ea501
README.md
README.md
Markdown
<|file_sep|>original/project/Build.scala ), name := "Toolbelt", organization := "com.taig.android", publishArtifact in ( Compile, packageDoc ) := false, scalaVersion := "2.11.4", scalacOptions ++= Seq( "-deprecation", "-feature", "-language:dynamics", "-language:existentials", "-la...
), name := "Toolbelt", organization := "com.taig.android", publishArtifact in ( Compile, packageDoc ) := false, scalaVersion := "2.11.4", scalacOptions ++= Seq( "-deprecation", "-feature", "-language:dynamics", "-language:existentials", "-language:implicitConversions", "-langua...
<|file_sep|>original/project/Build.scala ), name := "Toolbelt", organization := "com.taig.android", publishArtifact in ( Compile, packageDoc ) := false, scalaVersion := "2.11.4", scalacOptions ++= Seq( "-deprecation", "-feature", "-language:dynamics", "-language:existentials", "-la...
c06c994bf12b3e9b69bd9d05338c8ba30d4dbe95
project/Build.scala
project/Build.scala
Scala
<|file_sep|>original/chapter1/temp-rev.c <|file_sep|>current/chapter1/temp-rev.c <|file_sep|>updated/chapter1/temp-rev.c
#include <stdio.h> main() { float fahr, celsius; float lower, upper, step; lower = 0; upper = 300; step = 20; celsius = lower; printf("%6s\t%3s\n", "celsius", "fahr"); while (celsius <= upper) { fahr = celsius * (9.0/5.0) + 32.0; printf("%6.1f\t%3.0f\n", celsius, fah...
<|file_sep|>original/chapter1/temp-rev.c <|file_sep|>current/chapter1/temp-rev.c <|file_sep|>updated/chapter1/temp-rev.c #include <stdio.h> main() { float fahr, celsius; float lower, upper, step; lower = 0; upper = 300; step = 20; celsius = lower; printf("%6s\t%3s\n", "celsius", "fahr"...
939eaa5c04c3953bf85a361d14f14a9f8cbb5fe0
chapter1/temp-rev.c
chapter1/temp-rev.c
C
<|file_sep|>docs/app/helpers/dynamic-code-snippet.js.diff original: updated: let hasValue = propertyValue !== undefined && propertyValue !== null; <|file_sep|>docs/app/helpers/dynamic-code-snippet.js.diff original: new RegExp(`(<\\w*[^>]*\\s@[^=]+=){{${property}}}([^>]*>)`, 'g'), type === 'stri...
: '$1$3' ); source = source.replace( new RegExp(`{{${property}}}`, 'g'), propertyValue ); source = source.replace( new RegExp(`=${property}`, 'g'), `=${quotedValue}` ); break; default: source = source.repla...
<|file_sep|>docs/app/helpers/dynamic-code-snippet.js.diff original: updated: let hasValue = propertyValue !== undefined && propertyValue !== null; <|file_sep|>docs/app/helpers/dynamic-code-snippet.js.diff original: new RegExp(`(<\\w*[^>]*\\s@[^=]+=){{${property}}}([^>]*>)`, 'g'), type === 'stri...
d951b08c9983e10ade9fad1540241ecf193116a5
docs/app/helpers/dynamic-code-snippet.js
docs/app/helpers/dynamic-code-snippet.js
JavaScript
<|file_sep|>original/src/Message.java } public int getT() { return t; } public void setT(int t) { this.t = t; } public void brodcastMessage(int pid, int p, CommMatrix cm, Message m) { int start = (p == Protocol.Ricart) ? 2 : (cm.getSize() / 2) + 1; int end = (p == Protocol.Ricart) ? (cm.getSize() / 2)...
} public int getT() { return t; } public void setT(int t) { this.t = t; } public void brodcastMessage(int pid, int p, CommMatrix cm, Message m) { int start = (p == Protocol.Ricart) ? 2 : (cm.getSize() / 2) + 1; int end = (p == Protocol.Ricart) ? (cm.getSize() / 2) + 1 : cm.getSize(); for (int i = st...
<|file_sep|>original/src/Message.java } public int getT() { return t; } public void setT(int t) { this.t = t; } public void brodcastMessage(int pid, int p, CommMatrix cm, Message m) { int start = (p == Protocol.Ricart) ? 2 : (cm.getSize() / 2) + 1; int end = (p == Protocol.Ricart) ? (cm.getSize() / 2)...
e3bb3775d26cb5c40281ecc1884ccffe30d460dc
src/Message.java
src/Message.java
Java
<|file_sep|>original/composer.json "type": "library", "license": "Apache-2.0", "authors": [ { "name": "Bastian Hofmann", "email": "bastian.hofmann@researchgate.net", "homepage": "http://www.bastianhofmann.de" } ], "require": { "php": ">=7.2.0", "laminas/laminas-code": "^3.0.0...
"type": "library", "license": "Apache-2.0", "authors": [ { "name": "Bastian Hofmann", "email": "bastian.hofmann@researchgate.net", "homepage": "http://www.bastianhofmann.de" } ], "require": { "php": "^7.2", "laminas/laminas-code": "^3.0.0", "doctrine/annotations": "^1.0.0...
<|file_sep|>original/composer.json "type": "library", "license": "Apache-2.0", "authors": [ { "name": "Bastian Hofmann", "email": "bastian.hofmann@researchgate.net", "homepage": "http://www.bastianhofmann.de" } ], "require": { "php": ">=7.2.0", "laminas/laminas-code": "^3.0.0...
2a83411f6a27566cd8099d082cbdd801c347d5c8
composer.json
composer.json
JSON
<|file_sep|>original/client/src/components/users/User.js const edit = (event) => { event.preventDefault(); onEdit(event, user) } const deleteItem = () => { onDelete(user.id) } return ( <div className="driver-card card"> <h2>{user.username}</h2> <p>{user.role} | {user.email}</p> ...
const edit = (event) => { event.preventDefault(); onEdit(event, user) } const deleteItem = () => { onDelete(user.id) } return ( <div className="user-card card"> <h2>{user.username}</h2> <p>{user.role} | {user.email}</p> <ButtonGroup> <Button bsStyle="primary" onClic...
<|file_sep|>original/client/src/components/users/User.js const edit = (event) => { event.preventDefault(); onEdit(event, user) } const deleteItem = () => { onDelete(user.id) } return ( <div className="driver-card card"> <h2>{user.username}</h2> <p>{user.role} | {user.email}</p> ...
75fc63e295ce32d6d913fc7606c44a3e4c3048bd
client/src/components/users/User.js
client/src/components/users/User.js
JavaScript
<|file_sep|>original/source/manual/republishing-content.html.md --- owner_slack: "#govuk-2ndline" title: Republish content section: Publishing layout: manual_layout parent: "/manual.html" last_reviewed_on: 2019-01-24 review_in: 6 months --- Sometimes it may be necessary to republish content to make it show up on the w...
--- owner_slack: "#govuk-2ndline" title: Republish content section: Publishing layout: manual_layout parent: "/manual.html" last_reviewed_on: 2019-08-07 review_in: 6 months --- Sometimes it may be necessary to republish content to make it show up on the website. This process varies per app. ## Whitehall If the docum...
<|file_sep|>original/source/manual/republishing-content.html.md --- owner_slack: "#govuk-2ndline" title: Republish content section: Publishing layout: manual_layout parent: "/manual.html" last_reviewed_on: 2019-01-24 review_in: 6 months --- Sometimes it may be necessary to republish content to make it show up on the w...
4322d58617c7b38e0cebbfa7304aeedcb281ede9
source/manual/republishing-content.html.md
source/manual/republishing-content.html.md
Markdown
<|file_sep|>original/core/random/default_spec.rb Random::DEFAULT.should respond_to(:rand) end ruby_version_is ''...'3.0' do it "returns a Random instance" do Random::DEFAULT.should be_an_instance_of(Random) end end ruby_version_is '3.0' do it "returns a Random instance" do Random::...
Random::DEFAULT.should respond_to(:rand) end ruby_version_is ''...'3.0' do it "returns a Random instance" do Random::DEFAULT.should be_an_instance_of(Random) end end ruby_version_is '3.0' do it "refers to the Random class" do Random::DEFAULT.should.equal?(Random) end end i...
<|file_sep|>original/core/random/default_spec.rb Random::DEFAULT.should respond_to(:rand) end ruby_version_is ''...'3.0' do it "returns a Random instance" do Random::DEFAULT.should be_an_instance_of(Random) end end ruby_version_is '3.0' do it "returns a Random instance" do Random::...
90db1fa418dba94c4bb5b50a47ce28b06e797875
core/random/default_spec.rb
core/random/default_spec.rb
Ruby
<|file_sep|>original/requirements-test.txt pyyaml==5.1.2 dateutils==0.6.6 # Unit testing pytest==5.2.2 pytest-mock==1.11.2 pytest-benchmark==3.2.2 coverage==4.5.4 mock==3.0.5 # Code style flake8==3.7.9 # black isort==4.3.21 pre-commit==1.18.3 # For advanced unittesting secp256k1 <|file_sep|>current/requirements-test...
pyyaml==5.1.2 dateutils==0.6.6 # Unit testing pytest==5.2.2 pytest-mock==1.11.2 pytest-benchmark==3.2.2 coverage==4.5.4 mock==3.0.5 # Code style flake8==3.7.9 # black isort==4.3.21 pre-commit==1.20.0 # For advanced unittesting secp256k1
<|file_sep|>original/requirements-test.txt pyyaml==5.1.2 dateutils==0.6.6 # Unit testing pytest==5.2.2 pytest-mock==1.11.2 pytest-benchmark==3.2.2 coverage==4.5.4 mock==3.0.5 # Code style flake8==3.7.9 # black isort==4.3.21 pre-commit==1.18.3 # For advanced unittesting secp256k1 <|file_sep|>current/requirements-test...
916c2c6480044d8643ca2d44adc364503e8a947a
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>original/app/src/main/res/layout/row_scan.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="16dp"> <TextView android:id="@+id/time" android:layout_width="wrap_content" android:la...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="16dp"> <TextView android:id="@+id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLef...
<|file_sep|>original/app/src/main/res/layout/row_scan.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="16dp"> <TextView android:id="@+id/time" android:layout_width="wrap_content" android:la...
5857e8c39431f87e43670154431096b16d697979
app/src/main/res/layout/row_scan.xml
app/src/main/res/layout/row_scan.xml
XML
<|file_sep|>original/categories/euler/prob028-shlomif.pl in the same way? Expected result: 669171001 =end pod my Int $sum = 0; my Int $num = 1; $sum += $num; for 2, 4 ... 1000 -> $step { for 0 .. 3 { $num += $step; $sum += $num; } } say "Sum = $sum"; # vim: expandtab shiftwidth=4 ft=perl6...
in the same way? Expected result: 669171001 =end pod my Int $sum = 0; my Int $num = 1; $sum += $num; for 2, 4 ... 1000 -> $step { for 0 .. 3 { $num += $step; $sum += $num; } } say $sum; # vim: expandtab shiftwidth=4 ft=perl6
<|file_sep|>original/categories/euler/prob028-shlomif.pl in the same way? Expected result: 669171001 =end pod my Int $sum = 0; my Int $num = 1; $sum += $num; for 2, 4 ... 1000 -> $step { for 0 .. 3 { $num += $step; $sum += $num; } } say "Sum = $sum"; # vim: expandtab shiftwidth=4 ft=perl6...
cbdefc88cd714f64d71799db690a3a4ea1258f0c
categories/euler/prob028-shlomif.pl
categories/euler/prob028-shlomif.pl
Perl
<|file_sep|>vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb.diff original: :conditions => current_user.has_role?(:superuser) ? nil : ["restricted IS NOT ?", true] updated: :conditions => cu...
def find_all_refinery_settings @refinery_settings = RefinerySetting.find :all, :order => "name ASC", :conditions => current_user.has_role?(:superuser) ? nil : ["restricted <> ?", true] end def paginate_all_refinery_s...
<|file_sep|>vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb.diff original: :conditions => current_user.has_role?(:superuser) ? nil : ["restricted IS NOT ?", true] updated: :conditions => cu...
12db7eec5bdd98f58119591b7b0d222f87585fac
vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb
vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb
Ruby
<|file_sep|>original/lib/Yucca/Component/Selector/Ids.php public function rewind() { reset($this->ids); } /** * */ public function count() { count($this->ids); } /** * @return null */ public function currentShardingKey() { return null...
public function rewind() { reset($this->ids); } /** * */ public function count() { return count($this->ids); } /** * @return null */ public function currentShardingKey() { return null; } }
<|file_sep|>original/lib/Yucca/Component/Selector/Ids.php public function rewind() { reset($this->ids); } /** * */ public function count() { count($this->ids); } /** * @return null */ public function currentShardingKey() { return null...
e7db9a9e58e58a6e402981fcf4366f41c54dab9b
lib/Yucca/Component/Selector/Ids.php
lib/Yucca/Component/Selector/Ids.php
PHP
<|file_sep|>original/.travis.yml sudo: false language: ruby env: - CODECLIMATE_REPO_TOKEN=c860bbaeb7a143f5ab6078e680fa1e210cfe39ab6a0a7a9f21f43162a30911f0 rvm: - 2.0 - 2.1 - 2.2.3 - jruby-9.0.0.0 - rbx-2.5.8 allow_failures: - rvm: rbx-2.5.8 <|file_sep|>current/.travis.yml sudo: false language: ruby env: ...
sudo: false language: ruby env: - CODECLIMATE_REPO_TOKEN=c860bbaeb7a143f5ab6078e680fa1e210cfe39ab6a0a7a9f21f43162a30911f0 rvm: - 2.0 - 2.1 - 2.2.3 - jruby-9.0.4.0 - rbx-2.5.8 allow_failures: - rvm: rbx-2.5.8
<|file_sep|>original/.travis.yml sudo: false language: ruby env: - CODECLIMATE_REPO_TOKEN=c860bbaeb7a143f5ab6078e680fa1e210cfe39ab6a0a7a9f21f43162a30911f0 rvm: - 2.0 - 2.1 - 2.2.3 - jruby-9.0.0.0 - rbx-2.5.8 allow_failures: - rvm: rbx-2.5.8 <|file_sep|>current/.travis.yml sudo: false language: ruby env: ...
ac29834809a34d14bcf2ca8ce8f21e5d4f250e66
.travis.yml
.travis.yml
YAML
<|file_sep|>original/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot <|file_sep|>current/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot <|file_sep|>updated/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot
*** Variables *** ${NeutronNorthbound} /controller/nb/v2/neutron ${NetworkNorthbound} ${NeutronNorthbound}/networks ${SubnetNorthbound} ${NeutronNorthbound}/subnets ${PortNorthbound} ${NeutronNorthbound}/ports *** Settings *** Suite Setup Create Session ODL http://${CONTROLLER}:${PORT} h...
<|file_sep|>original/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot <|file_sep|>current/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot <|file_sep|>updated/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot *** Variables *** ${NeutronNorthbound} /c...
7024c2f1461ac80296d12fd17f8a5ca8412320cc
testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot
testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot
RobotFramework
<|file_sep|>original/autoload/airline/extensions/neomake.vim let s:spc = g:airline_symbols.space function! airline#extensions#neomake#apply(...) let w:airline_section_warning = get(w:, 'airline_section_warning', g:airline_section_warning) let w:airline_section_warning .= s:spc.'%{neomake#statusline#LoclistStat...
" vim: ts=4 sw=4 et if exists('g:neomake_airline') && g:neomake_airline == 0 finish endif let s:spc = g:airline_symbols.space function! airline#extensions#neomake#apply(...) let w:airline_section_warning = get(w:, 'airline_section_warning', g:airline_section_warning) let w:airline_section_warning .= s:sp...
<|file_sep|>original/autoload/airline/extensions/neomake.vim let s:spc = g:airline_symbols.space function! airline#extensions#neomake#apply(...) let w:airline_section_warning = get(w:, 'airline_section_warning', g:airline_section_warning) let w:airline_section_warning .= s:spc.'%{neomake#statusline#LoclistStat...
6d3f920eab29161d48297315aa934f94953a95f2
autoload/airline/extensions/neomake.vim
autoload/airline/extensions/neomake.vim
VimL
<|file_sep|>original/.travis.yml language: node_js node_js: - stable - 4 script: - npm test cache: yarn after_success: - npm run coveralljs <|file_sep|>current/.travis.yml language: node_js node_js: - stable - 4 script: - npm test cache: yarn after_success: - npm run coveralljs <|file_sep|>updated...
language: node_js node_js: - stable - 9 - 8 - 7 - 6 - 5 - 4 script: - npm test cache: yarn after_success: - npm run coveralljs
<|file_sep|>original/.travis.yml language: node_js node_js: - stable - 4 script: - npm test cache: yarn after_success: - npm run coveralljs <|file_sep|>current/.travis.yml language: node_js node_js: - stable - 4 script: - npm test cache: yarn after_success: - npm run coveralljs <|file_sep|>updated...
a7def460cd27aa92de64b105b4563809bc1a68d9
.travis.yml
.travis.yml
YAML
<|file_sep|>bakery/static_urls.py.diff original: from django.conf.urls import patterns, url updated: from django.conf.urls import url from bakery.static_views import serve <|file_sep|>bakery/static_urls.py.diff original: urlpatterns = patterns( "bakery.static_views", url(r"^(.*)$", "serve", { updated: urlpatter...
from django.conf import settings from django.conf.urls import url from bakery.static_views import serve urlpatterns = [ url(r"^(.*)$", serve, { "document_root": settings.BUILD_DIR, 'show_indexes': True, 'default': 'index.html' }), ]
<|file_sep|>bakery/static_urls.py.diff original: from django.conf.urls import patterns, url updated: from django.conf.urls import url from bakery.static_views import serve <|file_sep|>bakery/static_urls.py.diff original: urlpatterns = patterns( "bakery.static_views", url(r"^(.*)$", "serve", { updated: urlpatter...
fa20d5b6a9b636fec7fc542cf899bf86c00dd8de
bakery/static_urls.py
bakery/static_urls.py
Python
<|file_sep|>original/AUTHORS.rst Author: * Selwin Ong (@selwin) Contributors: * Gilang Chandrasa (@gchandrasa) * Steven -only- (@SeiryuZ) * Wouter de Vries (@wadevries) <|file_sep|>current/AUTHORS.rst Author: * Selwin Ong (@selwin) Contributors: * Gilang Chandrasa (@gchandrasa) * Steven -only- (@SeiryuZ) * Wouter...
Author: * Selwin Ong (@selwin) Contributors: * Gilang Chandrasa (@gchandrasa) * Steven -only- (@SeiryuZ) * Wouter de Vries (@wadevries) * Yuri Prezument (@yprez)
<|file_sep|>original/AUTHORS.rst Author: * Selwin Ong (@selwin) Contributors: * Gilang Chandrasa (@gchandrasa) * Steven -only- (@SeiryuZ) * Wouter de Vries (@wadevries) <|file_sep|>current/AUTHORS.rst Author: * Selwin Ong (@selwin) Contributors: * Gilang Chandrasa (@gchandrasa) * Steven -only- (@SeiryuZ) * Wouter...
f46cd11b54ded42424b2a2342b3591922d61c5fb
AUTHORS.rst
AUTHORS.rst
reStructuredText
<|file_sep|>original/hieradata/class/ci_agent.yaml --- mongodb::server::version: '3.2.7' mongodb::server::development: true mongodb::server::replicaset_members: "%{::hostname}": govuk_ci::agent::postgresql::mapit_role_password: 'mapit' postgresql::globals::version: '9.3' govuk_mysql::server::innodb_flush_log_at_trx_...
govuk_ci::agent::postgresql::mapit_role_password: 'mapit' postgresql::globals::version: '9.3' govuk_mysql::server::innodb_flush_log_at_trx_commit: 0 govuk_elasticsearch::minimum_master_nodes: '1' govuk_elasticsearch::version: '1.7.5' govuk_elasticsearch::number_of_replicas: '0' icinga::client::check_cputype::cputype...
<|file_sep|>original/hieradata/class/ci_agent.yaml --- mongodb::server::version: '3.2.7' mongodb::server::development: true mongodb::server::replicaset_members: "%{::hostname}": govuk_ci::agent::postgresql::mapit_role_password: 'mapit' postgresql::globals::version: '9.3' govuk_mysql::server::innodb_flush_log_at_trx_...
962e4d1e6183e6012b15a3588adfb526dc287c35
hieradata/class/ci_agent.yaml
hieradata/class/ci_agent.yaml
YAML
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --dev --prefer-source - mkdir -p tests/build/logs script: - phpunit - ./vendor/bin/phpcs --standard=PSR2 ./src/ after_script: - wget https://scrutinizer-ci.com/ocular.phar...
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 before_script: - composer self-update - composer install --dev --prefer-source - mkdir -p tests/build/logs script: - phpunit - ./vendor/bin/phpcs --standard=PSR2 ./src/ after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code...
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 before_script: - composer self-update - composer install --dev --prefer-source - mkdir -p tests/build/logs script: - phpunit - ./vendor/bin/phpcs --standard=PSR2 ./src/ after_script: - wget https://scrutinizer-ci.com/ocular.phar...
8d4e427c15cf7e01979422ac8e5eb0f5e86477e9
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/li/linguistic-ordinals.yaml.diff original: hash: c47a9c6c60f5b9b6b771799170bb65e9caf02a2138867665ee7f888206e5e13b updated: hash: 47b1bc4b80213409a01542e53656c7a9cf1aad4f55133b8817fa97d40540ec71 <|file_sep|>packages/li/linguistic-ordinals.yaml.diff original: updated: - '0.1.0.2' <|file_sep|>origina...
hash: 47b1bc4b80213409a01542e53656c7a9cf1aad4f55133b8817fa97d40540ec71 test-bench-deps: {} maintainer: elliot.robinson@argiopetech.com synopsis: Express Integral types as linguistic ordinals (1st, 2nd, 3rd, etc) changelog: '' basic-deps: base: ! '>=4.7 && <5.0' text: ! '>=1.1 && <1.3' all-versions: - '0.1.0.0' - '0...
<|file_sep|>packages/li/linguistic-ordinals.yaml.diff original: hash: c47a9c6c60f5b9b6b771799170bb65e9caf02a2138867665ee7f888206e5e13b updated: hash: 47b1bc4b80213409a01542e53656c7a9cf1aad4f55133b8817fa97d40540ec71 <|file_sep|>packages/li/linguistic-ordinals.yaml.diff original: updated: - '0.1.0.2' <|file_sep|>origina...
ecfdccf5de680b2c391c833ff62bcf94b1f63e94
packages/li/linguistic-ordinals.yaml
packages/li/linguistic-ordinals.yaml
YAML
<|file_sep|>examples/apps/embedded/embedded.cpp.diff original: // FIXME: hack to work around the fact that plugins expect a desktop sized widget QSize desktopSize = QApplication::desktop()->size(); imWidget->setMinimumSize(desktopSize.width(), desktopSize.height() - 150); updated: <|file_sep|>...
// Clicking the button will steal focus from the text edit, thus hiding // the virtual keyboard: QPushButton *hideVkb = new QPushButton("Hide virtual keyboard"); vbox->addWidget(hideVkb); QTextEdit *textEdit = new QTextEdit; vbox->addWidget(textEdit); QWidget *imWidget = Maliit::InputMeth...
<|file_sep|>examples/apps/embedded/embedded.cpp.diff original: // FIXME: hack to work around the fact that plugins expect a desktop sized widget QSize desktopSize = QApplication::desktop()->size(); imWidget->setMinimumSize(desktopSize.width(), desktopSize.height() - 150); updated: <|file_sep|>...
2cf94f18ec6939b51d60f583bacb3592f948a53f
examples/apps/embedded/embedded.cpp
examples/apps/embedded/embedded.cpp
C++
<|file_sep|>models/ArticlePage.js.diff original: updated: import titleCase from '@utils/titleCase' <|file_sep|>models/ArticlePage.js.diff original: import { GET } from './fetch' updated: import { GET, POST } from './fetch' <|file_sep|>models/ArticlePage.js.diff original: }) updated: }).views(self => ({ get displayNa...
const response = yield GET(`/api/page/${slug}`) switch (response.status) { case 200: self.update(yield response.json()); break default: } }), update(values) { Object.assign(self, { ...DEFAULTS, ...values }) }, save: flow(function* () { const response = yield POST(`/api/page/${s...
<|file_sep|>models/ArticlePage.js.diff original: updated: import titleCase from '@utils/titleCase' <|file_sep|>models/ArticlePage.js.diff original: import { GET } from './fetch' updated: import { GET, POST } from './fetch' <|file_sep|>models/ArticlePage.js.diff original: }) updated: }).views(self => ({ get displayNa...
f06e0aed7519369956334af955e068a6b6541432
models/ArticlePage.js
models/ArticlePage.js
JavaScript
<|file_sep|>original/metadata/org.androidpn.client.txt Build:0.5.6,20160303 commit=v0.5.6-r2 subdir=app gradle=yes rm=app/src/main/lib/asmack.* Build:0.5.7,20160308 commit=v0.5.7-r1 subdir=app gradle=yes Build:0.5.8,20160310 commit=v0.5.8 subdir=app gradle=yes Auto Update Mod...
rm=app/src/main/lib/asmack.* Build:0.5.7,20160308 commit=v0.5.7-r1 subdir=app gradle=yes Build:0.5.8,20160310 commit=v0.5.8 subdir=app gradle=yes Build:0.5.10,20160415 commit=0.5.10 subdir=app gradle=yes Auto Update Mode:None Update Check Mode:Tags Current Version:0.5.10 Curr...
<|file_sep|>original/metadata/org.androidpn.client.txt Build:0.5.6,20160303 commit=v0.5.6-r2 subdir=app gradle=yes rm=app/src/main/lib/asmack.* Build:0.5.7,20160308 commit=v0.5.7-r1 subdir=app gradle=yes Build:0.5.8,20160310 commit=v0.5.8 subdir=app gradle=yes Auto Update Mod...
22f9b90f88ea0c839d46b97e69132a1471c43daf
metadata/org.androidpn.client.txt
metadata/org.androidpn.client.txt
Text
<|file_sep|>original/Web/js/init.js var rohbot = new RohBot("wss://fpp.literallybrian.com/ws/"); var chatMgr = new ChatManager(rohbot); var ui = new UserInterface(rohbot, chatMgr); function send(room, message) { ui.sendPressed.dispatch(room, message); } function join(room) { if (chatMgr.getChat(room) == null...
var rohbot = new RohBot("wss://fpp.literallybrian.com/ws/"); var chatMgr = new ChatManager(rohbot); var ui = new UserInterface(rohbot, chatMgr); function send(room, message) { ui.sendPressed.trigger(room, message); } function join(room) { if (chatMgr.getChat(room) == null) send("home", "/join " + roo...
<|file_sep|>original/Web/js/init.js var rohbot = new RohBot("wss://fpp.literallybrian.com/ws/"); var chatMgr = new ChatManager(rohbot); var ui = new UserInterface(rohbot, chatMgr); function send(room, message) { ui.sendPressed.dispatch(room, message); } function join(room) { if (chatMgr.getChat(room) == null...
d6b932f10b21660cab77c93d79f00d2bfbb29ab3
Web/js/init.js
Web/js/init.js
JavaScript
<|file_sep|>original/.travis.yml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage os: osx osx_image: xcode8.3 language: objective-c # cache: cocoapods podfile: Example/Podfile before_install: # - brew update # - brew outdated xctool || brew upgrade xctool - ge...
# references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage os: osx osx_image: xcode8.3 language: objective-c # cache: cocoapods podfile: Example/Podfile before_install: # - brew update # - brew outdated xctool || brew upgrade xctool - gem install xcpretty - gem install ...
<|file_sep|>original/.travis.yml # references: # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage os: osx osx_image: xcode8.3 language: objective-c # cache: cocoapods podfile: Example/Podfile before_install: # - brew update # - brew outdated xctool || brew upgrade xctool - ge...
58d9998a5533b5cf5f4317dce07104f40e0ecb18
.travis.yml
.travis.yml
YAML
<|file_sep|>original/wegas-core/src/main/resources/dbchangelogs/1505981350.xml <|file_sep|>current/wegas-core/src/main/resources/dbchangelogs/1505981350.xml <|file_sep|>updated/wegas-core/src/main/resources/dbchangelogs/1505981350.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> <chan...
<|file_sep|>original/wegas-core/src/main/resources/dbchangelogs/1505981350.xml <|file_sep|>current/wegas-core/src/main/resources/dbchangelogs/1505981350.xml <|file_sep|>updated/wegas-core/src/main/resources/dbchangelogs/1505981350.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="ht...
07d49040ce98e7f9bb848f69bc3c71d187405a4e
wegas-core/src/main/resources/dbchangelogs/1505981350.xml
wegas-core/src/main/resources/dbchangelogs/1505981350.xml
XML
<|file_sep|>original/requirements.txt Django>=2.2.4,<3.3 markdown==3.2.1 Pillow==2.6.1 docutils==0.17.1 feedparser==5.2.1 pytz==2014.7 regex==2014.10.24 textile==2.2.1 mkdocs==1.2.2 django-markdown-deux==1.0.5 psycopg2==2.8 <|file_sep|>current/requirements.txt Django>=2.2.4,<3.3 markdown==3.2.1 Pillow==2.6.1 docutils==...
Django>=2.2.4,<3.3 pytest pytest-django pytest-flakes markdown==3.2.1 Pillow==2.6.1 docutils==0.17.1 feedparser==5.2.1 pytz==2014.7 regex==2014.10.24 textile==2.2.1 mkdocs==1.2.2 django-markdown-deux==1.0.5 psycopg2==2.8
<|file_sep|>original/requirements.txt Django>=2.2.4,<3.3 markdown==3.2.1 Pillow==2.6.1 docutils==0.17.1 feedparser==5.2.1 pytz==2014.7 regex==2014.10.24 textile==2.2.1 mkdocs==1.2.2 django-markdown-deux==1.0.5 psycopg2==2.8 <|file_sep|>current/requirements.txt Django>=2.2.4,<3.3 markdown==3.2.1 Pillow==2.6.1 docutils==...
fbb5387ccee448b95b7478775bfbf789cf71e37a
requirements.txt
requirements.txt
Text
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties # Version values used in build-init templates # Generated file, please to not edit scalatest=3.0.5 scala-xml=1.1.0 scala-library=2.11.12 testng=6.10 slf4j=1.7.25 guava=23.0 commons-math=3.6.1 ...
# Version values used in build-init templates # Generated file, please to not edit scalatest=3.0.5 scala-xml=1.1.0 scala-library=2.11.12 testng=6.10 slf4j=1.7.25 guava=23.0 commons-math=3.6.1 scala=2.11 groovy=2.4.15 junit=4.12 spock=1.1-groovy-2.4
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties # Version values used in build-init templates # Generated file, please to not edit scalatest=3.0.5 scala-xml=1.1.0 scala-library=2.11.12 testng=6.10 slf4j=1.7.25 guava=23.0 commons-math=3.6.1 ...
72a9340d50688f574b76fb8d2e9694486da7e44c
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
INI
<|file_sep|>original/.mvn/extensions.xml base-parent (https://github.com/hazendaz/base-parent) Copyright 2011-2021 Hazendaz. All rights reserved. This program and the accompanying materials are made available under the terms of The Apache Software License, Version 2.0 which accompanies this distr...
base-parent (https://github.com/hazendaz/base-parent) Copyright 2011-2021 Hazendaz. All rights reserved. This program and the accompanying materials are made available under the terms of The Apache Software License, Version 2.0 which accompanies this distribution, and is available at https://...
<|file_sep|>original/.mvn/extensions.xml base-parent (https://github.com/hazendaz/base-parent) Copyright 2011-2021 Hazendaz. All rights reserved. This program and the accompanying materials are made available under the terms of The Apache Software License, Version 2.0 which accompanies this distr...
e87d62bd142f7bbba271f72297ec0ec9215355b2
.mvn/extensions.xml
.mvn/extensions.xml
XML
<|file_sep|>css/style.css.diff original: padding-top: 20px; updated: padding-top: 30px; <|file_sep|>css/style.css.diff original: top: -10px; right: -10px; updated: top: -20px; right: -20px; <|file_sep|>original/css/style.css } #targetDiv { border: 1px dashed #333333; height: 92vh; overflow:scroll; ...
#targetDiv { border: 1px dashed #333333; height: 92vh; overflow:scroll; box-sizing: border-box; padding: 0 20px 20px; background-color: white; } .toggle { position: absolute; top: -20px; right: -20px; font-size: .9rem; width: 10rem; height: 3rem; padding: 8px; box-sizing: border-box; }
<|file_sep|>css/style.css.diff original: padding-top: 20px; updated: padding-top: 30px; <|file_sep|>css/style.css.diff original: top: -10px; right: -10px; updated: top: -20px; right: -20px; <|file_sep|>original/css/style.css } #targetDiv { border: 1px dashed #333333; height: 92vh; overflow:scroll; ...
0896debfc8bf3db7b133fcd35b419d18ada06317
css/style.css
css/style.css
CSS
<|file_sep|>original/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytest-cov==2.5.0 pytest-sugar==0.8.0 pytest-mock==1.6.0 sphinx==1.5.5 aiohttp==2.0.7 yarl==0.10.2 multidict==2.1.4 -e . <|file_sep|>current/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.7 pytest-aioht...
flake8==3.3.0 docutils==0.13.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytest-cov==2.5.1 pytest-sugar==0.8.0 pytest-mock==1.6.0 sphinx==1.5.5 aiohttp==2.0.7 yarl==0.10.2 multidict==2.1.4 -e .
<|file_sep|>original/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytest-cov==2.5.0 pytest-sugar==0.8.0 pytest-mock==1.6.0 sphinx==1.5.5 aiohttp==2.0.7 yarl==0.10.2 multidict==2.1.4 -e . <|file_sep|>current/requirements.txt flake8==3.3.0 docutils==0.13.1 pytest==3.0.7 pytest-aioht...
8c7160612d8bdaaf48895d9fd59da1668d35edb4
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/pages/Flipper.jsx import React from 'react' import Img from 'gatsby-image' import './Flipper.scss' const Flipper = ({ name, logo, text }) => ( <div className="Flipper"> <div className="Flipper-Inner"> <div className="Flipper-Front"> <Img fluid={logo} alt...
import React from 'react' import Img from 'gatsby-image' import './Flipper.scss' const Flipper = ({ name, logo, text }) => ( <div className="Flipper"> <div className="Flipper-Inner"> <div className="Flipper-Front"> <Img fluid={logo} alt={name} fixed={typeof window === 'undefined...
<|file_sep|>original/src/pages/Flipper.jsx import React from 'react' import Img from 'gatsby-image' import './Flipper.scss' const Flipper = ({ name, logo, text }) => ( <div className="Flipper"> <div className="Flipper-Inner"> <div className="Flipper-Front"> <Img fluid={logo} alt...
7ae7df8398ac9b59e7b4ddf9dc4bc9f9aefd7d13
src/pages/Flipper.jsx
src/pages/Flipper.jsx
JSX
<|file_sep|>original/processor/src/test/java/io/michaelrocks/lightsaber/processor/commons/CompositeVisitorHelperTest.java <|file_sep|>current/processor/src/test/java/io/michaelrocks/lightsaber/processor/commons/CompositeVisitorHelperTest.java <|file_sep|>updated/processor/src/test/java/io/michaelrocks/lightsaber/proc...
/* * Copyright 2015 Michael Rozumyanskiy * * 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 a...
<|file_sep|>original/processor/src/test/java/io/michaelrocks/lightsaber/processor/commons/CompositeVisitorHelperTest.java <|file_sep|>current/processor/src/test/java/io/michaelrocks/lightsaber/processor/commons/CompositeVisitorHelperTest.java <|file_sep|>updated/processor/src/test/java/io/michaelrocks/lightsaber/proc...
4f896c1c3eee8f7875e9224151d6a5d9570e34a0
processor/src/test/java/io/michaelrocks/lightsaber/processor/commons/CompositeVisitorHelperTest.java
processor/src/test/java/io/michaelrocks/lightsaber/processor/commons/CompositeVisitorHelperTest.java
Java
<|file_sep|>original/build.sh for CONTAINER_NAME in ${DISTRIBUTION}* do for file in "${files[@]}" do cp ${file} "./${CONTAINER_NAME}/" done if [ -d "${CONTAINER_NAME}" ]; then LEGACY_ID=$(docker images | grep $CONTAINER_NAME | awk '{print $3}') echo "###############################...
for CONTAINER_NAME in ${DISTRIBUTION}* do for file in "${files[@]}" do cp ${file} "./${CONTAINER_NAME}/" done if [ -d "${CONTAINER_NAME}" ]; then LEGACY_ID=$(docker images | grep $CONTAINER_NAME | awk '{print $3}') echo "#############################################################...
<|file_sep|>original/build.sh for CONTAINER_NAME in ${DISTRIBUTION}* do for file in "${files[@]}" do cp ${file} "./${CONTAINER_NAME}/" done if [ -d "${CONTAINER_NAME}" ]; then LEGACY_ID=$(docker images | grep $CONTAINER_NAME | awk '{print $3}') echo "###############################...
4afcc554c08f16308c175535845f04c0de5666e6
build.sh
build.sh
Shell
<|file_sep|>original/app/components/renderForQuestions/answerState.ts import {Response} from "quill-marking-logic" interface Attempt { response: Response } function getAnswerState(attempt): boolean { return (attempt.response.optimal && attempt.response.author === undefined && attempt.author === undefined) } expo...
import {Response} from "quill-marking-logic" interface Attempt { response: Response } function getAnswerState(attempt: Attempt|undefined): boolean { if (attempt) { return (!!attempt.response.optimal && attempt.response.author === undefined) } return false } export default getAnswerState;
<|file_sep|>original/app/components/renderForQuestions/answerState.ts import {Response} from "quill-marking-logic" interface Attempt { response: Response } function getAnswerState(attempt): boolean { return (attempt.response.optimal && attempt.response.author === undefined && attempt.author === undefined) } expo...
1e8e3923b3bfa621ab506bd5ef344ba04ed41d92
app/components/renderForQuestions/answerState.ts
app/components/renderForQuestions/answerState.ts
TypeScript
<|file_sep|>README.md.diff original: Rindel is a functional reactive programming language that compiles to Javascript. updated: ## Overview **Warning: Rindel is not yet ready for public consumption!** <|file_sep|>README.md.diff original: Check out a [demo](http://www.rindel-lang.org/). updated: Rindel is a [functional ...
# Rindel ## Overview **Warning: Rindel is not yet ready for public consumption!** Rindel is a [functional reactive programming](http://en.wikipedia.org/wiki/Functional_reactive_programming) language that compiles to Javascript. Like other functional reactive programming languages, Rindel lets you manipulate time-var...
<|file_sep|>README.md.diff original: Rindel is a functional reactive programming language that compiles to Javascript. updated: ## Overview **Warning: Rindel is not yet ready for public consumption!** <|file_sep|>README.md.diff original: Check out a [demo](http://www.rindel-lang.org/). updated: Rindel is a [functional ...
b123d4a8f9edea8fdd968aeb2101d49560dba0da
README.md
README.md
Markdown