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/scripts/hook-pre-commit.sh #!/usr/bin/env bash # Load common source ${PWD}/scripts/common.sh # Constants if [[ $BASE_PROJECT == *".git"* ]]; then BASE_PROJECT=$(dirname "$BASE_PROJECT") fi cd ${BASE_PROJECT} # Validate project ./sbt ";compile;test;scalastyle" if [ $? -ne 0 ] then error "The ...
#!/usr/bin/env bash # Load common source ${PWD}/scripts/common.sh # Constants if [[ $BASE_PROJECT == *".git"* ]]; then BASE_PROJECT=$(dirname "$BASE_PROJECT") fi cd ${BASE_PROJECT} # Validate project ./sbt ";compile;test;scalastyle" if [ $? -ne 0 ] then error "The project isn't valid" exit 1 else info "The p...
<|file_sep|>original/scripts/hook-pre-commit.sh #!/usr/bin/env bash # Load common source ${PWD}/scripts/common.sh # Constants if [[ $BASE_PROJECT == *".git"* ]]; then BASE_PROJECT=$(dirname "$BASE_PROJECT") fi cd ${BASE_PROJECT} # Validate project ./sbt ";compile;test;scalastyle" if [ $? -ne 0 ] then error "The ...
004bdecab32f6dff3bb501e727b0cdf4ad87d363
scripts/hook-pre-commit.sh
scripts/hook-pre-commit.sh
Shell
<|file_sep|>original/spec/spec_helper.rb require 'kameleon' require 'capybara/dsl' require 'capybara/rspec/matchers' Dir["#{File.expand_path("../", __FILE__)}/support/**/*.rb"].each { |f| require f } require 'sample_rack_app/hey' RSpec.configure do |config| Capybara.default_driver = :selenium config.before(:all...
require 'kameleon' require 'capybara/dsl' require 'capybara/rspec/matchers' Dir["#{File.expand_path("../", __FILE__)}/support/**/*.rb"].each { |f| require f } require 'sample_rack_app/hey' RSpec.configure do |config| config.before(:all) do DeferredGarbageCollection.start end config.after(:all) do Defe...
<|file_sep|>original/spec/spec_helper.rb require 'kameleon' require 'capybara/dsl' require 'capybara/rspec/matchers' Dir["#{File.expand_path("../", __FILE__)}/support/**/*.rb"].each { |f| require f } require 'sample_rack_app/hey' RSpec.configure do |config| Capybara.default_driver = :selenium config.before(:all...
058857ed703d57b880a6d82e572c2dc787eb3730
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/release-notes/4.0.0rc4.md <|file_sep|>current/release-notes/4.0.0rc4.md <|file_sep|>updated/release-notes/4.0.0rc4.md
# Cucumber-ruby 4.0rc4 is out We're super excited to announce the latest (and, as we hope, last) release candidate for Cucumber-ruby 4. This new release introduces the following changes: - a new formatter for `Cucumber::Messages` - `log` and `attach` methods for step definitions - `cucumber-compatibility-kit` compl...
<|file_sep|>original/release-notes/4.0.0rc4.md <|file_sep|>current/release-notes/4.0.0rc4.md <|file_sep|>updated/release-notes/4.0.0rc4.md # Cucumber-ruby 4.0rc4 is out We're super excited to announce the latest (and, as we hope, last) release candidate for Cucumber-ruby 4. This new release introduces the following ...
ccab5ea9ed8fd6005c9c9368b474eb1666c30d81
release-notes/4.0.0rc4.md
release-notes/4.0.0rc4.md
Markdown
<|file_sep|>original/.travis.yml - tools - build-tools-$ANDROID_BUILD_TOOLS_VERSION - $ANDROID_TARGET - extra-google-google_play_services - extra-android-support - extra licenses: - 'android-sdk-license-.+' before_install: - echo yes | android update sdk --all --filter build-tools-$ANDROID...
- tools - build-tools-$ANDROID_BUILD_TOOLS_VERSION - $ANDROID_TARGET - extra-google-google_play_services - extra-android-support - extra licenses: - 'android-sdk-license-.+' before_install: - echo yes | android update sdk --all --filter build-tools-$ANDROID_BUILD_TOOLS_VERSION --no-ui --fo...
<|file_sep|>original/.travis.yml - tools - build-tools-$ANDROID_BUILD_TOOLS_VERSION - $ANDROID_TARGET - extra-google-google_play_services - extra-android-support - extra licenses: - 'android-sdk-license-.+' before_install: - echo yes | android update sdk --all --filter build-tools-$ANDROID...
b4d8707a263fdde472033d0178bbc52adcd36763
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/lib.rs //! for sample in stream.iter() { //! // Iterate over each decoded sample //! } //! } //! Err(error) => println!("{}", error), //! } //! ``` #[macro_use] extern crate nom; #[macro_use] mod utility; pub mod metadata; mod frame; mod subframe; pub mod stream; pub us...
//! //! for sample in stream.iter() { //! // Iterate over each decoded sample //! } //! } //! Err(error) => println!("{}", error), //! } //! ``` #[macro_use] extern crate nom; #[macro_use] mod utility; pub mod metadata; mod frame; mod subframe; pub mod stream; pub use metadata::{metadata_parser...
<|file_sep|>original/src/lib.rs //! for sample in stream.iter() { //! // Iterate over each decoded sample //! } //! } //! Err(error) => println!("{}", error), //! } //! ``` #[macro_use] extern crate nom; #[macro_use] mod utility; pub mod metadata; mod frame; mod subframe; pub mod stream; pub us...
ebde1656a2bd0e84d3b32c4270f9a385c42a030a
src/lib.rs
src/lib.rs
Rust
<|file_sep|>original/app/Providers/RouteServiceProvider.php /** * Define your route model bindings, pattern filters, etc. * * @param \Illuminate\Routing\Router $router * @return void */ public function boot(Router $router) { parent::boot($router); // } /** * Define the routes for the applicatio...
/** * Define your route model bindings, pattern filters, etc. * * @param \Illuminate\Routing\Router $router * @return void */ public function boot(Router $router) { parent::boot($router); // delay loading this stuff after app has booted, // to allow all modules to load their stuff first (e.g. ...
<|file_sep|>original/app/Providers/RouteServiceProvider.php /** * Define your route model bindings, pattern filters, etc. * * @param \Illuminate\Routing\Router $router * @return void */ public function boot(Router $router) { parent::boot($router); // } /** * Define the routes for the applicatio...
505081adcece65b15c4e8bd0fe6148519356db0d
app/Providers/RouteServiceProvider.php
app/Providers/RouteServiceProvider.php
PHP
<|file_sep|>messageboard/views.py.diff original: updated: from django.core.files.temp import NamedTemporaryFile <|file_sep|>original/messageboard/views.py permission_classes = (permissions.IsAuthenticated,) queryset = Message.objects.all() @list_route(methods=['get'], permission_classes=[permissions.Allow...
queryset = Message.objects.all() @list_route(methods=['get'], permission_classes=[permissions.AllowAny]) def all(self, request): messages = Message.objects.all() serializer = MessageSerializer(messages, many=True) return Response(serializer.data) def perform_create(self, serial...
<|file_sep|>messageboard/views.py.diff original: updated: from django.core.files.temp import NamedTemporaryFile <|file_sep|>original/messageboard/views.py permission_classes = (permissions.IsAuthenticated,) queryset = Message.objects.all() @list_route(methods=['get'], permission_classes=[permissions.Allow...
b2803c40b2fcee7ab466c83fc95bb693a28576d0
messageboard/views.py
messageboard/views.py
Python
<|file_sep|>original/angular/core/components/group_page/group_page.haml .loading-wrapper.lmo-two-column-layout %loading{ng-if: "!groupPage.group"} %main.group-page.lmo-row{ng-if: "groupPage.group"} %outlet{name: "before-group-page", model: "groupPage.group"} %group_theme{group: "groupPage.group", home-page:...
.loading-wrapper.lmo-two-column-layout %loading{ng-if: "!groupPage.group"} %main.group-page.lmo-row{ng-if: "groupPage.group"} %outlet{name: "before-group-page", model: "groupPage.group"} %group_theme{group: "groupPage.group", home-page: "true"} .lmo-row .lmo-group-column-left %description_...
<|file_sep|>original/angular/core/components/group_page/group_page.haml .loading-wrapper.lmo-two-column-layout %loading{ng-if: "!groupPage.group"} %main.group-page.lmo-row{ng-if: "groupPage.group"} %outlet{name: "before-group-page", model: "groupPage.group"} %group_theme{group: "groupPage.group", home-page:...
a52c08800ab1c2989b3399688debf3554a6462fc
angular/core/components/group_page/group_page.haml
angular/core/components/group_page/group_page.haml
Haml
<|file_sep|>original/assets/src/images.ts const DOMURL = window.URL || window; const image = new Image(); const blob = new Blob([svg.outerHTML], {type: 'image/svg+xml'}); const url = DOMURL.createObjectURL(blob); image.src = url; const promise: Promise<Image> = new Promise((resolve, reject) => { wi...
const DOMURL = window.URL || window; const image = new Image(); const blob = new Blob([svg.outerHTML], {type: 'image/svg+xml'}); const url = DOMURL.createObjectURL(blob); image.src = url; const promise: Promise<Image> = new Promise((resolve) => { image.onload = () => resolve(image); }); return...
<|file_sep|>original/assets/src/images.ts const DOMURL = window.URL || window; const image = new Image(); const blob = new Blob([svg.outerHTML], {type: 'image/svg+xml'}); const url = DOMURL.createObjectURL(blob); image.src = url; const promise: Promise<Image> = new Promise((resolve, reject) => { wi...
e88192e981de0fa19e3be3eb2d440003a4a8d246
assets/src/images.ts
assets/src/images.ts
TypeScript
<|file_sep|>src/languages/cpp.js.diff original: // Export updated: <|file_sep|>src/languages/cpp.js.diff original: updated: <|file_sep|>src/languages/cpp.js.diff original: 'keyword': /\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decl...
define(function() { return function(Prism) { Prism.languages.cpp = Prism.languages.extend('c', { 'keyword': /\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|delete\[\]|do|double|dynamic_cast|else|enum|explicit|e...
<|file_sep|>src/languages/cpp.js.diff original: // Export updated: <|file_sep|>src/languages/cpp.js.diff original: updated: <|file_sep|>src/languages/cpp.js.diff original: 'keyword': /\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decl...
f69c8cd62d72edc9ea94fd9ba71a3b6d5f1a7cc3
src/languages/cpp.js
src/languages/cpp.js
JavaScript
<|file_sep|>infra/config/cq.cfg.diff original: git_repo_url: "https://github.com/luci/recipes-py.git" updated: git_repo_url: "https://chromium.googlesource.com/infra/luci/recipes-py" <|file_sep|>infra/config/cq.cfg.diff original: updated: gerrit {} <|file_sep|>original/infra/config/cq.cfg version: 1 cq_name: "recipe_...
version: 1 cq_name: "recipe_engine" git_repo_url: "https://chromium.googlesource.com/infra/luci/recipes-py" cq_status_url: "https://chromium-cq-status.appspot.com" gerrit {} rietveld { url: "https://codereview.chromium.org" } verifiers { gerrit_cq_ability { committer_list: "project-infra-committers" dry_ru...
<|file_sep|>infra/config/cq.cfg.diff original: git_repo_url: "https://github.com/luci/recipes-py.git" updated: git_repo_url: "https://chromium.googlesource.com/infra/luci/recipes-py" <|file_sep|>infra/config/cq.cfg.diff original: updated: gerrit {} <|file_sep|>original/infra/config/cq.cfg version: 1 cq_name: "recipe_...
38808d03185eb33394da0feffbd9b4a7eceb4829
infra/config/cq.cfg
infra/config/cq.cfg
INI
<|file_sep|>.appveyor.yml.diff original: updated: install: - cmd: python -m pip install tox <|file_sep|>original/.appveyor.yml version: "{build}" build_script: - cmd: |- python -m virtualenv .v .v\Scripts\pip.exe install -r requirements/dev.txt .v\Scripts\python.exe manage.py migrate <|file_sep|>current/...
version: "{build}" install: - cmd: python -m pip install tox build_script: - cmd: python -m tox
<|file_sep|>.appveyor.yml.diff original: updated: install: - cmd: python -m pip install tox <|file_sep|>original/.appveyor.yml version: "{build}" build_script: - cmd: |- python -m virtualenv .v .v\Scripts\pip.exe install -r requirements/dev.txt .v\Scripts\python.exe manage.py migrate <|file_sep|>current/...
a161395df6cd596905dc4005973ea17611bbc3cd
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/README.md # Vagrant Box A LAMP Vagrant box for web development. ## Status Work in progress. ## Contents * Apache 2.4 * PHP 5.5 (FPM) * MySQL 5.6 * Cron * Dovecot + Postfix * Image Magick * Locale * SQLite * Zip ## Prerequisites * Vagrant >= 1.6.0 * VirtualBox or VMWare Workstation/Fusion * Libra...
# Vagrant Box A LAMP Vagrant box for web development. ## Status Work in progress. ## Contents * Apache 2.4 * PHP 5.5 (FPM) * MySQL 5.6 * Memcached * Cron * Dovecot + Postfix * Image Magick * Locale * SQLite * Zip ## Prerequisites * Vagrant >= 1.6.0 * VirtualBox or VMWare Workstation/Fusion
<|file_sep|>original/README.md # Vagrant Box A LAMP Vagrant box for web development. ## Status Work in progress. ## Contents * Apache 2.4 * PHP 5.5 (FPM) * MySQL 5.6 * Cron * Dovecot + Postfix * Image Magick * Locale * SQLite * Zip ## Prerequisites * Vagrant >= 1.6.0 * VirtualBox or VMWare Workstation/Fusion * Libra...
33be5fee672536681e1ed09f0b93f5a91f940672
README.md
README.md
Markdown
<|file_sep|>original/app/reports/research_matters_exporter.rb <|file_sep|>current/app/reports/research_matters_exporter.rb <|file_sep|>updated/app/reports/research_matters_exporter.rb
require 'csv' class ResearchMattersExporter STUDENT_INCLUDES = %w[school absences discipline_incidents event_notes] def initialize @school = School.find_by_local_id('HEA') @students = @school.students.includes(STUDENT_INCLUDES) @focal_time_period_start = DateTime.new(2017, 8, 28) @focal_time_per...
<|file_sep|>original/app/reports/research_matters_exporter.rb <|file_sep|>current/app/reports/research_matters_exporter.rb <|file_sep|>updated/app/reports/research_matters_exporter.rb require 'csv' class ResearchMattersExporter STUDENT_INCLUDES = %w[school absences discipline_incidents event_notes] def initial...
f20b3c0ff3c42a89e52961e360c33d1a01578449
app/reports/research_matters_exporter.rb
app/reports/research_matters_exporter.rb
Ruby
<|file_sep|>original/content/post/2016-12-16-libvirt_initial_setup.markdown <|file_sep|>current/content/post/2016-12-16-libvirt_initial_setup.markdown <|file_sep|>updated/content/post/2016-12-16-libvirt_initial_setup.markdown
+++ keywords = [ ] categories = [ ] title = "Initial Fedora libvirt Setup" description = "" date = "2016-12-16T09:36:35-05:00" +++ There are always a few things I need to do to get libvirt working with a non-root user on Fedora that I need to do, and typically results in some Google researching. Here are some notes o...
<|file_sep|>original/content/post/2016-12-16-libvirt_initial_setup.markdown <|file_sep|>current/content/post/2016-12-16-libvirt_initial_setup.markdown <|file_sep|>updated/content/post/2016-12-16-libvirt_initial_setup.markdown +++ keywords = [ ] categories = [ ] title = "Initial Fedora libvirt Setup" description = "" ...
2f291091ea43f1100a95cfd8a692f32d0034a407
content/post/2016-12-16-libvirt_initial_setup.markdown
content/post/2016-12-16-libvirt_initial_setup.markdown
Markdown
<|file_sep|>original/.travis.yml dist: trusty sudo: false group: beta language: node_js node_js: - node addons: firefox: latest-esr cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console...
dist: trusty group: beta language: node_js node_js: - node addons: firefox: latest-esr cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console.log(process.version)') ]; then npm rebuild -...
<|file_sep|>original/.travis.yml dist: trusty sudo: false group: beta language: node_js node_js: - node addons: firefox: latest-esr cache: directories: - node_modules - "$HOME/.cache/bower" before_install: - "if [ -d node_modules ] && [ x$(cat node_modules/.last-node-version 2>/dev/null) != x$(node -e 'console...
f51ce069c7e23ab6a9d370313758f664211e5f84
.travis.yml
.travis.yml
YAML
<|file_sep|>original/codeship-steps.yml - name: download_cache service: cache command: true - name: trigger_build service: herokudeployment command: true - service: integrationtest command: deploy_to_heroku_app codeship-heroku-deployment - service: herokudeployment tag: master type: push image_name: cod...
- name: download_cache service: cache command: true - name: trigger_build service: herokudeployment command: true - service: integrationtest command: deploy_to_heroku_app codeship-heroku-deployment - service: integrationtest command: heroku run ls -a codeship-heroku-deployment - service: herokudeployment ...
<|file_sep|>original/codeship-steps.yml - name: download_cache service: cache command: true - name: trigger_build service: herokudeployment command: true - service: integrationtest command: deploy_to_heroku_app codeship-heroku-deployment - service: herokudeployment tag: master type: push image_name: cod...
c049b24db6fab48d23d5da3fe78ed1b0b0598742
codeship-steps.yml
codeship-steps.yml
YAML
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
# Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the wo...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
1d69a68f4c0213e4c6dc76bec42064fecac4893a
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>original/modules/EnsEMBL/Web/Utils/Syslog.pm package EnsEMBL::Web::Utils::Syslog; use strict; use warnings; use Exporter qw(import); our @EXPORT_OK = qw(syslog); use SiteDefs; sub syslog { my ($str) = @_; my $cmd = $SiteDefs::SYSLOG_COMMAND; return unless $cmd; if(ref($cmd) eq 'CODE') { $...
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute 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/licen...
<|file_sep|>original/modules/EnsEMBL/Web/Utils/Syslog.pm package EnsEMBL::Web::Utils::Syslog; use strict; use warnings; use Exporter qw(import); our @EXPORT_OK = qw(syslog); use SiteDefs; sub syslog { my ($str) = @_; my $cmd = $SiteDefs::SYSLOG_COMMAND; return unless $cmd; if(ref($cmd) eq 'CODE') { $...
8635625e3d51e8874c93c54aa5608bbd67e9c719
modules/EnsEMBL/Web/Utils/Syslog.pm
modules/EnsEMBL/Web/Utils/Syslog.pm
Perl
<|file_sep|>original/openassessment/fileupload/backends/__init__.py """ File Upload backends. """ from django.conf import settings from . import django_storage, filesystem, s3, swift def get_backend(): # Use S3 backend by default (current behaviour) backend_setting = getattr(settings, "ORA2_FILEUPLOAD_BACK...
""" File Upload backends. """ from django.conf import settings from . import django_storage, filesystem, s3, swift def get_backend(): # .. setting_name: ORA2_FILEUPLOAD_BACKEND # .. setting_default: s3 # .. setting_description: The backend used to upload the ora2 submissions attachments # the s...
<|file_sep|>original/openassessment/fileupload/backends/__init__.py """ File Upload backends. """ from django.conf import settings from . import django_storage, filesystem, s3, swift def get_backend(): # Use S3 backend by default (current behaviour) backend_setting = getattr(settings, "ORA2_FILEUPLOAD_BACK...
adb658a874a7d0437607bf828e99adf2dee74438
openassessment/fileupload/backends/__init__.py
openassessment/fileupload/backends/__init__.py
Python
<|file_sep|>original/README.md # linux-setup Scripts for getting my linux environment set up from scratch <|file_sep|>current/README.md # linux-setup Scripts for getting my linux environment set up from scratch <|file_sep|>updated/README.md
# linux-setup Scripts for getting my linux environment set up from scratch. This is focused on using zsh, Vim, Golang and Docker in Ubuntu Linux. ## Installation + Be sure curl is installed ``` sudo apt-get install curl ``` + Run the install script ``` sh -c "$(curl -fsSL https://raw.githubusercontent.com/mapitman/...
<|file_sep|>original/README.md # linux-setup Scripts for getting my linux environment set up from scratch <|file_sep|>current/README.md # linux-setup Scripts for getting my linux environment set up from scratch <|file_sep|>updated/README.md # linux-setup Scripts for getting my linux environment set up from scratch. T...
43a4f9249d69bb783db78e41aa78b1ede6eb8af6
README.md
README.md
Markdown
<|file_sep|>original/toolkit/mtk/mtk-label.js [ "TextWrapping", "QueueResize" ], [ "TextDecorations", "QueueResize" ], [ "Foreground" ] ]); if (typeof settings == "string") { this.Text = settings; } this.Override ("OnStyleSet", function () { this.FontFamily...
[ "TextWrapping", "QueueResize" ], [ "TextDecorations", "QueueResize" ], [ "Foreground" ] ]); if (typeof settings == "string") { this.Text = settings; } this.Override ("OnStyleSet", function () { this.FontFamily = MtkStyle.Font.Family; this.FontSize...
<|file_sep|>original/toolkit/mtk/mtk-label.js [ "TextWrapping", "QueueResize" ], [ "TextDecorations", "QueueResize" ], [ "Foreground" ] ]); if (typeof settings == "string") { this.Text = settings; } this.Override ("OnStyleSet", function () { this.FontFamily...
2e0edbf8ef4b89f88331e2095edb88320e8ce386
toolkit/mtk/mtk-label.js
toolkit/mtk/mtk-label.js
JavaScript
<|file_sep|>original/.pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black args: [--safe, --quiet] exclude: tests/testdata|doc/ - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: trailing-whitespace ...
repos: - repo: https://github.com/asottile/pyupgrade rev: v2.10.0 hooks: - id: pyupgrade exclude: tests/testdata args: [ --py36-plus ] - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black args: [--safe, --quiet] exclude: tests/testdata|doc/ - r...
<|file_sep|>original/.pre-commit-config.yaml repos: - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black args: [--safe, --quiet] exclude: tests/testdata|doc/ - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: trailing-whitespace ...
8e93ff4bddbf3dde4ac6e68fb8fe7d4f15d282e5
.pre-commit-config.yaml
.pre-commit-config.yaml
YAML
<|file_sep|>original/LICENSE.txt Copyright (c) 2014-2015 Xavier Dutreilh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
Copyright (c) 2014-2016 Xavier Dutreilh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
<|file_sep|>original/LICENSE.txt Copyright (c) 2014-2015 Xavier Dutreilh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, ...
157c89e567a756aa4651904c7e684d806d020719
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>tut2/script.js.diff original: if (++changeCounter === 10) { updated: if (lastField === element) { ++changeCounter; } else { changeCounter = 0; } if (changeCounter === 10) { <|file_sep|>tut2/script.js.diff original: // Should the counter be reset after the alert? ...
element.style.backgroundColor = '#eee'; } if (lastField === element) { ++changeCounter; } else { changeCounter = 0; } if (changeCounter === 10) { alert('You have clicked 10 times on the field!'); changeCounter = 0; } lastField = element; } function se...
<|file_sep|>tut2/script.js.diff original: if (++changeCounter === 10) { updated: if (lastField === element) { ++changeCounter; } else { changeCounter = 0; } if (changeCounter === 10) { <|file_sep|>tut2/script.js.diff original: // Should the counter be reset after the alert? ...
247f05947c3c2731c3659c79043b559902321821
tut2/script.js
tut2/script.js
JavaScript
<|file_sep|>original/app.rb require 'bundler' require 'active_support' require 'kubr' # Setup load paths Bundler.require $: << File.expand_path('../', __FILE__) Kubr.configure do |config| config.url = "#{ENV['KUBERNETES_API_ENDPOINT']}/api/v1beta1" end # Require base require 'sinatra/base' require 'app/models' re...
require 'bundler' require 'active_support' require 'kubr' # Setup load paths Bundler.require $: << File.expand_path('../', __FILE__) Kubr.configure do |config| config.url = "#{ENV['KUBERNETES_API_ENDPOINT']}/api/v1beta1" config.username = ENV['API_USERNAME'] config.password = ENV['API_PASSWORD'] end # Require ...
<|file_sep|>original/app.rb require 'bundler' require 'active_support' require 'kubr' # Setup load paths Bundler.require $: << File.expand_path('../', __FILE__) Kubr.configure do |config| config.url = "#{ENV['KUBERNETES_API_ENDPOINT']}/api/v1beta1" end # Require base require 'sinatra/base' require 'app/models' re...
25a868593ee70bae69bcb93cdab4103097b3ee1a
app.rb
app.rb
Ruby
<|file_sep|>convert-bookmarks.py.diff original: from datetime import datetime, timezone from bson import json_util updated: <|file_sep|>convert-bookmarks.py.diff original: updated: <|file_sep|>convert-bookmarks.py.diff original: parser.add_argument('-m', '--mongodb', action='store_true', dest='mongo', ...
args = parser.parse_args() for filename in args.filenames: soup = BeautifulSoup(open(filename, encoding='utf8'), "html5lib") for link in soup.find_all('a'): bookmark = {} # url and title bookmark['url'] = link.get('href') bookmark['title'] = link.string.strip() if link.string\ ...
<|file_sep|>convert-bookmarks.py.diff original: from datetime import datetime, timezone from bson import json_util updated: <|file_sep|>convert-bookmarks.py.diff original: updated: <|file_sep|>convert-bookmarks.py.diff original: parser.add_argument('-m', '--mongodb', action='store_true', dest='mongo', ...
345056a7a6a801013cdc340f0f9cd8b4f5d48173
convert-bookmarks.py
convert-bookmarks.py
Python
<|file_sep|>original/app/models/manageiq/providers/amazon/cloud_manager/refresh_worker.rb class ManageIQ::Providers::Amazon::CloudManager::RefreshWorker < ManageIQ::Providers::BaseManager::RefreshWorker require_nested :Runner # overriding queue_name_for_ems so PerEmsWorkerMixin picks up *all* of the # Amazon-man...
class ManageIQ::Providers::Amazon::CloudManager::RefreshWorker < ManageIQ::Providers::BaseManager::RefreshWorker require_nested :Runner # overriding queue_name_for_ems so PerEmsWorkerMixin picks up *all* of the # Amazon-manager types from here. # This way, the refresher for Amazon's CloudManager will refresh *...
<|file_sep|>original/app/models/manageiq/providers/amazon/cloud_manager/refresh_worker.rb class ManageIQ::Providers::Amazon::CloudManager::RefreshWorker < ManageIQ::Providers::BaseManager::RefreshWorker require_nested :Runner # overriding queue_name_for_ems so PerEmsWorkerMixin picks up *all* of the # Amazon-man...
2e56319ef71bbb2b2dc34347e7ab282833843eb0
app/models/manageiq/providers/amazon/cloud_manager/refresh_worker.rb
app/models/manageiq/providers/amazon/cloud_manager/refresh_worker.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby branches: only: - master script: - bundle exec rake rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - 2.7 - 3.0 <|file_sep|>current/.travis.yml language: ruby branches: only: - master script: - bundle exec rake rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6...
language: ruby branches: only: - master script: - bundle exec rake rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - 2.7
<|file_sep|>original/.travis.yml language: ruby branches: only: - master script: - bundle exec rake rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6 - 2.7 - 3.0 <|file_sep|>current/.travis.yml language: ruby branches: only: - master script: - bundle exec rake rvm: - 2.2 - 2.3 - 2.4 - 2.5 - 2.6...
1a8781163cfc127b959da9dea38b661844b412b6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/priv/templates/boot_loader.eex #!/bin/sh set -e SCRIPT_DIR="$(cd $(dirname "$0") && pwd -P)" RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" RELEASES_DIR="$RELEASE_ROOT_DIR/releases" REL_NAME="<%= rel_name %>" REL_VSN=$(cat $RELEASES_DIR/start_erl.data | cut -d' ' -f2) ERTS_VSN=$(cat $RELEASES_DI...
#!/bin/sh set -e SCRIPT_DIR="$(cd $(dirname "$0") && pwd -P)" RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" RELEASES_DIR="$RELEASE_ROOT_DIR/releases" REL_NAME="<%= rel_name %>" REL_VSN=$(cat "$RELEASES_DIR"/start_erl.data | cut -d' ' -f2) ERTS_VSN=$(cat "$RELEASES_DIR"/start_erl.data | cut -d' ' -f1) _cleanup() {...
<|file_sep|>original/priv/templates/boot_loader.eex #!/bin/sh set -e SCRIPT_DIR="$(cd $(dirname "$0") && pwd -P)" RELEASE_ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" RELEASES_DIR="$RELEASE_ROOT_DIR/releases" REL_NAME="<%= rel_name %>" REL_VSN=$(cat $RELEASES_DIR/start_erl.data | cut -d' ' -f2) ERTS_VSN=$(cat $RELEASES_DI...
ec52bbeeba78c74bf60df2b6ef2f86496d5eedba
priv/templates/boot_loader.eex
priv/templates/boot_loader.eex
HTML+EEX
<|file_sep|>original/package.json { "name": "@visualasparagus/mailchimp", "version": "0.1.5", "description": "Forwards an email onwards to MailChimp API v3.0. First checks existing status of the email address", "repository": { "type": "git", "url": "https://github.com/visualasparagus/mailchimp.git" },...
{ "name": "@visualasparagus/mailchimp", "version": "0.1.6", "description": "Forwards an email onwards to MailChimp API v3.0. First checks existing status of the email address", "repository": { "type": "git", "url": "https://github.com/visualasparagus/mailchimp.git" }, "bugs": "https://github.com/vis...
<|file_sep|>original/package.json { "name": "@visualasparagus/mailchimp", "version": "0.1.5", "description": "Forwards an email onwards to MailChimp API v3.0. First checks existing status of the email address", "repository": { "type": "git", "url": "https://github.com/visualasparagus/mailchimp.git" },...
7244ca344ad5d05bc08d53b377034ca053df1e35
package.json
package.json
JSON
<|file_sep|>original/Portal/Portal.h // // Portal.h // Portal // // Created by Guido Marucci Blas on 3/14/17. // Copyright © 2017 Guido Marucci Blas. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Portal. FOUNDATION_EXPORT double PortalVersionNumber; //! Project version string for...
// Portal.h // Portal // // Created by Guido Marucci Blas on 3/14/17. // Copyright © 2017 Guido Marucci Blas. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Portal. FOUNDATION_EXPORT double PortalVersionNumber; //! Project version string for Portal. FOUNDATION_EXPORT const unsigne...
<|file_sep|>original/Portal/Portal.h // // Portal.h // Portal // // Created by Guido Marucci Blas on 3/14/17. // Copyright © 2017 Guido Marucci Blas. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Portal. FOUNDATION_EXPORT double PortalVersionNumber; //! Project version string for...
759f87259e5cfada2a9d84118e26d21d227e3718
Portal/Portal.h
Portal/Portal.h
C
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md
## Description Please, provide here a short description. Consider including things like: - An overview of why the work is taking place (with any relevant links); don’t assume familiarity with the history. - Major changes made and a high-level idea of the chosen approach. - All the compromises made (in _performance, re...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md ## Description Please, provide here a short description. Consider including things like: - An overview of why the work is taking place (with any relevant lin...
bb5d2578f8470a1e9fa5dfd5dfbbe5e24ed1dec7
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/project/plugins.sbt addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.0") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatr...
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.0") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.7.0") val sbtSoftwareMillVersio...
<|file_sep|>original/project/plugins.sbt addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.0") addSbtPlugin("org.scala-js" % "sbt-jsdependencies" % "1.0.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") addSbtPlugin("com.eed3si9n" % "sbt-projectmatr...
1ad7560bb4da8d7f2266bed99f245e76567d6e8b
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: Automates regenerating the tags file by using Git's post hook functionality. <|file_sep|>README.md.diff original: Add this line to your application's Gemfile: gem 'tag_o_matic' And then execute: $ bundle Or install it yourself as: ...
Automates regenerating the tags file by using Git's post hook functionality. ## Installation ``` $ gem install tag_o_matic ``` ## Usage In any Git repository run: ``` $ tagomatic install ``` This will install a post-hook and regenerate tags for the `app, lib and config` directories. ## TODO:
<|file_sep|>README.md.diff original: TODO: Write a gem description updated: Automates regenerating the tags file by using Git's post hook functionality. <|file_sep|>README.md.diff original: Add this line to your application's Gemfile: gem 'tag_o_matic' And then execute: $ bundle Or install it yourself as: ...
e2364f77967d32c17ceca66ff70a446854416548
README.md
README.md
Markdown
<|file_sep|>original/server/discord/utils/dmail/index.js const config = require('config'); const check = id => new Promise((resolve, reject) => { r.table('registrations') .get(id) .run(r.conn, (err1, res) => { if (err1) { reject('Could not search RethonkDB'); } else if (!res) { reject(`You o...
const config = require('config'); const check = id => new Promise((resolve, reject) => { r.table('registrations') .get(id) .run(r.conn, (err1, res) => { if (err1) { reject('Could not search RethonkDB'); } else if (!res) { reject(`You or the guild are not registered! Please register for ${con...
<|file_sep|>original/server/discord/utils/dmail/index.js const config = require('config'); const check = id => new Promise((resolve, reject) => { r.table('registrations') .get(id) .run(r.conn, (err1, res) => { if (err1) { reject('Could not search RethonkDB'); } else if (!res) { reject(`You o...
29ed8407f945a36d0c2ad41eebd48d4ac7ef29db
server/discord/utils/dmail/index.js
server/discord/utils/dmail/index.js
JavaScript
<|file_sep|>original/test/tsan/Darwin/external-dups.cc <|file_sep|>current/test/tsan/Darwin/external-dups.cc <|file_sep|>updated/test/tsan/Darwin/external-dups.cc
// RUN: %clangxx_tsan %s -o %t // RUN: %deflake %run %t 2>&1 | FileCheck %s #include <thread> #import "../test.h" extern "C" { void *__tsan_external_register_tag(const char *object_type); void *__tsan_external_assign_tag(void *addr, void *tag); void __tsan_external_read(void *addr, void *caller_pc, void *tag); void ...
<|file_sep|>original/test/tsan/Darwin/external-dups.cc <|file_sep|>current/test/tsan/Darwin/external-dups.cc <|file_sep|>updated/test/tsan/Darwin/external-dups.cc // RUN: %clangxx_tsan %s -o %t // RUN: %deflake %run %t 2>&1 | FileCheck %s #include <thread> #import "../test.h" extern "C" { void *__tsan_external_reg...
f94bfbbbbb7189d9e50ddf589a7567770859d0c0
test/tsan/Darwin/external-dups.cc
test/tsan/Darwin/external-dups.cc
C++
<|file_sep|>original/rdiodj/static/css/style.css padding-right: 20px; } } .container .credit { margin: 20px 0; } /* Search View */ .dropdown img { margin-right: 10px; width: 50px; } .dropdown .name { font-weight: bold; } .dropdown .artist { font-size: 12px; } <|file_sep|>current/rdiodj/static/css/st...
.container .credit { margin: 20px 0; } /* Search View */ .dropdown img { margin-right: 10px; width: 50px; } .dropdown .name { font-weight: bold; } .dropdown .artist { font-size: 12px; } .presence { margin-top: 20px; }
<|file_sep|>original/rdiodj/static/css/style.css padding-right: 20px; } } .container .credit { margin: 20px 0; } /* Search View */ .dropdown img { margin-right: 10px; width: 50px; } .dropdown .name { font-weight: bold; } .dropdown .artist { font-size: 12px; } <|file_sep|>current/rdiodj/static/css/st...
b77d24a91a9ad7bb6b76780843a39cadc1741d61
rdiodj/static/css/style.css
rdiodj/static/css/style.css
CSS
<|file_sep|>original/docs/editor_manual/documents_images_snippets/images.rst Images ~~~~~~ If you want to edit, add or remove images from the CMS outside of the individual pages you can do so from the Images interface. This is accessed from the left-hand menu. .. image:: ../../_static/images/screen31_images_page.png ...
Images ~~~~~~ If you want to edit, add or remove images from the CMS outside of the individual pages you can do so from the Images interface. This is accessed from the left-hand menu. .. image:: ../../_static/images/screen31_images_page.png * Clicking an image will allow you to edit the data associated with it. This...
<|file_sep|>original/docs/editor_manual/documents_images_snippets/images.rst Images ~~~~~~ If you want to edit, add or remove images from the CMS outside of the individual pages you can do so from the Images interface. This is accessed from the left-hand menu. .. image:: ../../_static/images/screen31_images_page.png ...
cbe5c109dc183ff63ad74fe24c3f4a6e3090f800
docs/editor_manual/documents_images_snippets/images.rst
docs/editor_manual/documents_images_snippets/images.rst
reStructuredText
<|file_sep|>original/backends/unittest.sh <|file_sep|>current/backends/unittest.sh <|file_sep|>updated/backends/unittest.sh
#!/bin/bash ######################################################################### # Author: Kai Ren # Created Time: 2013-04-15 07:35:51 # File Name: ./unittest.sh # Description: ######################################################################### rm -rf /mnt/test/ldb1 rm -rf /mnt/test/ldb2 rm -rf /mnt/test/sp...
<|file_sep|>original/backends/unittest.sh <|file_sep|>current/backends/unittest.sh <|file_sep|>updated/backends/unittest.sh #!/bin/bash ######################################################################### # Author: Kai Ren # Created Time: 2013-04-15 07:35:51 # File Name: ./unittest.sh # Description: ############...
0517df7fea14b091986d7f1bd89b522f5ed74582
backends/unittest.sh
backends/unittest.sh
Shell
<|file_sep|>original/bbb-make-sdcard.sh <|file_sep|>current/bbb-make-sdcard.sh <|file_sep|>updated/bbb-make-sdcard.sh
#!/bin/sh # This is a script for making a beaglebone SD card if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi read -p "This will obliterate the partition table on $1... Are you sure? (y/n)" -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]] then umount $1"1" umount $1"2" # Create the pa...
<|file_sep|>original/bbb-make-sdcard.sh <|file_sep|>current/bbb-make-sdcard.sh <|file_sep|>updated/bbb-make-sdcard.sh #!/bin/sh # This is a script for making a beaglebone SD card if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi read -p "This will obliterate the partition table...
c1d424805cfa4b60829e3343620e0e928df17611
bbb-make-sdcard.sh
bbb-make-sdcard.sh
Shell
<|file_sep|>Regions/src/main/java/au/com/mineauz/minigamesregions/actions/ActionInterface.java.diff original: updated: import au.com.mineauz.minigames.Minigames; import au.com.mineauz.minigames.minigame.Minigame; import au.com.mineauz.minigames.script.ScriptObject; <|file_sep|>original/Regions/src/main/java/au/com/min...
import au.com.mineauz.minigamesregions.Node; import au.com.mineauz.minigamesregions.Region; public abstract class ActionInterface { public abstract String getName(); public abstract String getCategory(); public abstract void describe(Map<String, Object> out); public abstract boolean useInRegions(); public abstrac...
<|file_sep|>Regions/src/main/java/au/com/mineauz/minigamesregions/actions/ActionInterface.java.diff original: updated: import au.com.mineauz.minigames.Minigames; import au.com.mineauz.minigames.minigame.Minigame; import au.com.mineauz.minigames.script.ScriptObject; <|file_sep|>original/Regions/src/main/java/au/com/min...
b1afe320e765b8910953e710f21ac8acef67f533
Regions/src/main/java/au/com/mineauz/minigamesregions/actions/ActionInterface.java
Regions/src/main/java/au/com/mineauz/minigamesregions/actions/ActionInterface.java
Java
<|file_sep|>original/test/CXX/temp/temp.names/p4.cpp <|file_sep|>current/test/CXX/temp/temp.names/p4.cpp <|file_sep|>updated/test/CXX/temp/temp.names/p4.cpp
// RUN: %clang_cc1 -fsyntax-only -verify %s struct meta { template<typename U> struct apply { typedef U* type; }; }; template<typename T, typename U> void f(typename T::template apply<U>::type); void test_f(int *ip) { f<meta, int>(ip); }
<|file_sep|>original/test/CXX/temp/temp.names/p4.cpp <|file_sep|>current/test/CXX/temp/temp.names/p4.cpp <|file_sep|>updated/test/CXX/temp/temp.names/p4.cpp // RUN: %clang_cc1 -fsyntax-only -verify %s struct meta { template<typename U> struct apply { typedef U* type; }; }; template<typename T, typename U>...
35911ce76bed5fa64dcc368cbd81f6ec7b71aa75
test/CXX/temp/temp.names/p4.cpp
test/CXX/temp/temp.names/p4.cpp
C++
<|file_sep|>packages/ng/ngx-export-log.yaml.diff original: hash: 2658a5694aa44bcc36b29f42db0115edf9776eb2a036319dfb00dcc567cff114 updated: hash: 965848a91b544080b7f3bf95248b81ed77fe98edf0aecd3ce226ba47a73fda73 <|file_sep|>packages/ng/ngx-export-log.yaml.diff original: updated: ### 1.5.1 - Fixed dynamic linker err...
- Auto-generate haddocks for generated functions. basic-deps: bytestring: -any base: '>=4.8 && <5' ngx-export: '>=1.7.1' ngx-export-tools: '>=0.4.9.0' template-haskell: '>=2.11.0' all-versions: - '1.5' - 1.5.1 author: Alexey Radkov <alexey.radkov@gmail.com> latest: 1.5.1 description-type: haddock descript...
<|file_sep|>packages/ng/ngx-export-log.yaml.diff original: hash: 2658a5694aa44bcc36b29f42db0115edf9776eb2a036319dfb00dcc567cff114 updated: hash: 965848a91b544080b7f3bf95248b81ed77fe98edf0aecd3ce226ba47a73fda73 <|file_sep|>packages/ng/ngx-export-log.yaml.diff original: updated: ### 1.5.1 - Fixed dynamic linker err...
47fdb783038203760935d6b2c0d9db8768d8a9c9
packages/ng/ngx-export-log.yaml
packages/ng/ngx-export-log.yaml
YAML
<|file_sep|>src/main/java/tv/mapper/roadstuff/network/BrushPacket.java.diff original: import net.minecraft.item.ItemStack; updated: <|file_sep|>src/main/java/tv/mapper/roadstuff/network/BrushPacket.java.diff original: updated: <|file_sep|>src/main/java/tv/mapper/roadstuff/network/BrushPacket.java.diff original: ...
} public static BrushPacket decode(PacketBuffer buffer) { int pattern = buffer.readInt(); int paint = buffer.readInt(); BrushPacket instance = new BrushPacket(pattern, paint); return instance; } public static void handle(BrushPacket packet, Supplier<NetworkEvent.Con...
<|file_sep|>src/main/java/tv/mapper/roadstuff/network/BrushPacket.java.diff original: import net.minecraft.item.ItemStack; updated: <|file_sep|>src/main/java/tv/mapper/roadstuff/network/BrushPacket.java.diff original: updated: <|file_sep|>src/main/java/tv/mapper/roadstuff/network/BrushPacket.java.diff original: ...
149f3b5d110b5f774f39eb8d0c35386aebd1adf8
src/main/java/tv/mapper/roadstuff/network/BrushPacket.java
src/main/java/tv/mapper/roadstuff/network/BrushPacket.java
Java
<|file_sep|>original/app/views/layouts/mobile/_fonts_async.html.haml :javascript (function(){ if (document.documentElement.className.indexOf('ie8') === -1 && document.documentElement.className.indexOf('ie9') === -1) { var xhr = new XMLHttpRequest(); var cdnPath = "#{font_path('fonts.css'...
:javascript (function(){ if (document.documentElement.className.indexOf('ie8') === -1 && document.documentElement.className.indexOf('ie9') === -1) { var xhr = new XMLHttpRequest(); var cdnPath = "#{font_path('fonts.css')}"; // Use www to avoid CORS issues // This config shoul...
<|file_sep|>original/app/views/layouts/mobile/_fonts_async.html.haml :javascript (function(){ if (document.documentElement.className.indexOf('ie8') === -1 && document.documentElement.className.indexOf('ie9') === -1) { var xhr = new XMLHttpRequest(); var cdnPath = "#{font_path('fonts.css'...
016c37527db01415c4cebf9f181a233825204ed5
app/views/layouts/mobile/_fonts_async.html.haml
app/views/layouts/mobile/_fonts_async.html.haml
Haml
<|file_sep|>dependencies/cme.yaml.diff original: styles/cme-disclosure.css: admin/styles/inquisition-edit.css: updated: packages/cme/styles/cme-front-matter-display.css: admin/packages/cme/styles/cme-credit-edit.css: <|file_sep|>original/dependencies/cme.yaml ## ## Static Web-resource dependencies for C...
## ## Static Web-resource dependencies for CME ## ## Copyright (c) 2011-2014 silverorange ## CME: Depends: - Inquisiton Provides: # Style-Sheets packages/cme/styles/cme-front-matter-display.css: admin/packages/cme/styles/cme-credit-edit.css: # JavaScript packages/cme/javascript/cme-evalua...
<|file_sep|>dependencies/cme.yaml.diff original: styles/cme-disclosure.css: admin/styles/inquisition-edit.css: updated: packages/cme/styles/cme-front-matter-display.css: admin/packages/cme/styles/cme-credit-edit.css: <|file_sep|>original/dependencies/cme.yaml ## ## Static Web-resource dependencies for C...
1a456eb1a3f1ef1759d4ee28e4b4559bc9ec6a72
dependencies/cme.yaml
dependencies/cme.yaml
YAML
<|file_sep|>original/scripts/send_invites.sh <|file_sep|>current/scripts/send_invites.sh <|file_sep|>updated/scripts/send_invites.sh
#! /bin/bash source /home/deploy/.bashrc cd /home/deploy/Env/booksonas source bin/activate cd /home/deploy/bockus python manage.py send_invites --settings=bockus.prod_settings deactivate
<|file_sep|>original/scripts/send_invites.sh <|file_sep|>current/scripts/send_invites.sh <|file_sep|>updated/scripts/send_invites.sh #! /bin/bash source /home/deploy/.bashrc cd /home/deploy/Env/booksonas source bin/activate cd /home/deploy/bockus python manage.py send_invites --settings=bockus.prod_settings deactivat...
6c5375ed14eff029e9339c482514f3ed6fd48d54
scripts/send_invites.sh
scripts/send_invites.sh
Shell
<|file_sep|>osu.Framework/OS/HeadlessGameHost.cs.diff original: updated: using System.Collections.Generic; <|file_sep|>osu.Framework/OS/HeadlessGameHost.cs.diff original: updated: using osu.Framework.Input.Handlers; <|file_sep|>original/osu.Framework/OS/HeadlessGameHost.cs using (UpdateMonitor.BeginC...
{ UpdateScheduler.Update(); } using (UpdateMonitor.BeginCollecting(PerformanceCollectionType.Update)) { UpdateSubTree(); using (var buffer = DrawRoots.Get(UsageType.Write)) ...
<|file_sep|>osu.Framework/OS/HeadlessGameHost.cs.diff original: updated: using System.Collections.Generic; <|file_sep|>osu.Framework/OS/HeadlessGameHost.cs.diff original: updated: using osu.Framework.Input.Handlers; <|file_sep|>original/osu.Framework/OS/HeadlessGameHost.cs using (UpdateMonitor.BeginC...
c7dc3c80a9f7f8f67c01b8f800907edf501e851c
osu.Framework/OS/HeadlessGameHost.cs
osu.Framework/OS/HeadlessGameHost.cs
C#
<|file_sep|>LICENSE.md.diff original: Copyright 2013 GitHub Inc. updated: Copyright (c) 2014 GitHub Inc. <|file_sep|>LICENSE.md.diff original: 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 updated:...
Copyright (c) 2014 GitHub Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublic...
<|file_sep|>LICENSE.md.diff original: Copyright 2013 GitHub Inc. updated: Copyright (c) 2014 GitHub Inc. <|file_sep|>LICENSE.md.diff original: 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 updated:...
0cd691baa1d69ad687f0ddc8680ed0058cf6ab00
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>original/database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php <|file_sep|>current/database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php <|file_sep|>updated/database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddTotalPointsToSnapshots extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('sprint_snapshots', function($t) { $t->integer('total_points'); }); ...
<|file_sep|>original/database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php <|file_sep|>current/database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php <|file_sep|>updated/database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php <?php use Illuminate\Database\Schema\Blu...
c75bab30f33ae75a96bf80aeee35d836a5a2ea8a
database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php
database/migrations/2015_06_22_125033_add_total_points_to_snapshots.php
PHP
<|file_sep|>original/scripts/commands/cfn/stack-set-instances.bash while getopts "a:r:" opt; do case "$opt" in a) STACK_SET_ACCOUNT="--stack-instance-account $OPTARG" ;; r) STACK_SET_REGION="--stack-instance-region $OPTARG" ;; esac done shift $(($OPTIND-1)) split_args "$@" STACKSET_LISTING=$(a...
while getopts "a:r:" opt; do case "$opt" in a) STACK_SET_ACCOUNT="--stack-instance-account $OPTARG" ;; r) STACK_SET_REGION="--stack-instance-region $OPTARG" ;; esac done shift $(($OPTIND-1)) split_args "$@" STACKSET_LISTING=$(awscli cloudformation list-stack-sets --status ACTIVE --output text ...
<|file_sep|>original/scripts/commands/cfn/stack-set-instances.bash while getopts "a:r:" opt; do case "$opt" in a) STACK_SET_ACCOUNT="--stack-instance-account $OPTARG" ;; r) STACK_SET_REGION="--stack-instance-region $OPTARG" ;; esac done shift $(($OPTIND-1)) split_args "$@" STACKSET_LISTING=$(a...
e24e5ff5e510cab05cc503de0a5c42e84ae508a8
scripts/commands/cfn/stack-set-instances.bash
scripts/commands/cfn/stack-set-instances.bash
Shell
<|file_sep|>original/_posts/2015-10-14-friday-hacks-100-Oct-16.md <|file_sep|>current/_posts/2015-10-14-friday-hacks-100-Oct-16.md <|file_sep|>updated/_posts/2015-10-14-friday-hacks-100-Oct-16.md
--- layout: friday_hack title: "Friday Hacks #100, Oct 16" date: 2015-10-14 17:48:00 author: Jeremias --- NUS Hackers is celebrating our 100th Friday Hacks! {% capture venue %} {{ 'Seminar Room 3, Town Plaza, University Town' }} {% endcapture %} {% include friday_hack_header.html %} Facebook Event link: https://...
<|file_sep|>original/_posts/2015-10-14-friday-hacks-100-Oct-16.md <|file_sep|>current/_posts/2015-10-14-friday-hacks-100-Oct-16.md <|file_sep|>updated/_posts/2015-10-14-friday-hacks-100-Oct-16.md --- layout: friday_hack title: "Friday Hacks #100, Oct 16" date: 2015-10-14 17:48:00 author: Jeremias --- NUS Hackers is ...
60ad909bd8455333779b5fa64fdf6950eaa92673
_posts/2015-10-14-friday-hacks-100-Oct-16.md
_posts/2015-10-14-friday-hacks-100-Oct-16.md
Markdown
<|file_sep|>original/test/integration/braid/system_start_stop_test.clj <|file_sep|>current/test/integration/braid/system_start_stop_test.clj <|file_sep|>updated/test/integration/braid/system_start_stop_test.clj
(ns integration.braid.system-start-stop-test (:require [braid.core :refer :all] [clojure.test :refer :all])) (deftest start-stop (is (start! 0)) (is (stop!)))
<|file_sep|>original/test/integration/braid/system_start_stop_test.clj <|file_sep|>current/test/integration/braid/system_start_stop_test.clj <|file_sep|>updated/test/integration/braid/system_start_stop_test.clj (ns integration.braid.system-start-stop-test (:require [braid.core :refer :all] [clojure.test...
bdf9e625b7a1618f57ac3412c8db45254eb3d01d
test/integration/braid/system_start_stop_test.clj
test/integration/braid/system_start_stop_test.clj
Clojure
<|file_sep|>tests/bootstrap.php.diff original: // include the composer autoloader and add our tests directory updated: // include the composer autoloader <|file_sep|>original/tests/bootstrap.php <?php error_reporting(E_ALL | E_STRICT); // include the composer autoloader and add our tests directory $autoloader = requi...
<?php error_reporting(E_ALL | E_STRICT); // include the composer autoloader $autoloader = require __DIR__.'/../vendor/autoload.php'; // autoload abstract TestCase classes in test directory $autoloader->add('Omnipay', __DIR__);
<|file_sep|>tests/bootstrap.php.diff original: // include the composer autoloader and add our tests directory updated: // include the composer autoloader <|file_sep|>original/tests/bootstrap.php <?php error_reporting(E_ALL | E_STRICT); // include the composer autoloader and add our tests directory $autoloader = requi...
ee5dc926bb1c9f54030be9ec10451daaf85c24b6
tests/bootstrap.php
tests/bootstrap.php
PHP
<|file_sep|>original/locales/en.yml en: lita: handlers: snoo: help: snoo_url_key: "reddit URL" snoo_url_value: "Retrieve the original reddit post for URL." snoo_sub_key: "/r/SUBREDDIT [n]" snoo_sub_value: "Return the top (or nth) post in SUBREDDIT." <|file_sep...
en: lita: handlers: snoo: help: snoo_url_key: "reddit URL" snoo_url_value: "Retrieve the original reddit post for URL." snoo_sub_key: "/r/SUBREDDIT [N|QUERY]" snoo_sub_value: "Return the top (or Nth) post in SUBREDDIT / Search for QUERY within SUBREDDIT."
<|file_sep|>original/locales/en.yml en: lita: handlers: snoo: help: snoo_url_key: "reddit URL" snoo_url_value: "Retrieve the original reddit post for URL." snoo_sub_key: "/r/SUBREDDIT [n]" snoo_sub_value: "Return the top (or nth) post in SUBREDDIT." <|file_sep...
394d80d454c2bc0d324794248fc841423248ab44
locales/en.yml
locales/en.yml
YAML
<|file_sep|>spec/job_spec.rb.diff original: Delayed::Job.db_time_now.zone.should == 'EST' updated: %w(EST EDT).should include(Delayed::Job.db_time_now.zone) <|file_sep|>original/spec/job_spec.rb context "db_time_now" do it "should return time in current time zone if set" do Time.zone = 'Eastern...
context "db_time_now" do it "should return time in current time zone if set" do Time.zone = 'Eastern Time (US & Canada)' %w(EST EDT).should include(Delayed::Job.db_time_now.zone) end it "should return UTC time if that is the AR default" do Time.zone = nil ActiveRecord::Base.d...
<|file_sep|>spec/job_spec.rb.diff original: Delayed::Job.db_time_now.zone.should == 'EST' updated: %w(EST EDT).should include(Delayed::Job.db_time_now.zone) <|file_sep|>original/spec/job_spec.rb context "db_time_now" do it "should return time in current time zone if set" do Time.zone = 'Eastern...
0bb9b3e9ad27afdff0c051cdb225700534b2729a
spec/job_spec.rb
spec/job_spec.rb
Ruby
<|file_sep|>original/environment.yml name: eigenmodes-nanodisc-with-particle dependencies: - python - ipython - jupyter - matplotlib>=1.5 - numpy <|file_sep|>current/environment.yml name: eigenmodes-nanodisc-with-particle dependencies: - python - ipython - jupyter - matplotlib>=1.5 - numpy <|file_se...
name: eigenmodes-nanodisc-with-particle dependencies: - python - ipython - jupyter - matplotlib>=1.5 - numpy - pandas - statsmodels
<|file_sep|>original/environment.yml name: eigenmodes-nanodisc-with-particle dependencies: - python - ipython - jupyter - matplotlib>=1.5 - numpy <|file_sep|>current/environment.yml name: eigenmodes-nanodisc-with-particle dependencies: - python - ipython - jupyter - matplotlib>=1.5 - numpy <|file_se...
e7717b36edd8b240aec6a17662af3eb68161c93d
environment.yml
environment.yml
YAML
<|file_sep|>original/README.md # zabbix-containers-sender [![Build Status](https://travis-ci.org/dockermeetupsinbordeaux/docker-zabbix-sender.svg) Leverage Docker statistic streams to push containers info to Zabbix <|file_sep|>current/README.md # zabbix-containers-sender [![Build Status](https://travis-ci.org/dockermee...
# zabbix-containers-sender [![Build Status](https://travis-ci.org/dockermeetupsinbordeaux/docker-zabbix-sender.svg)](https://travis-ci.org/dockermeetupsinbordeaux/docker-zabbix-sender/settings) Leverage Docker statistic streams to push containers info to Zabbix
<|file_sep|>original/README.md # zabbix-containers-sender [![Build Status](https://travis-ci.org/dockermeetupsinbordeaux/docker-zabbix-sender.svg) Leverage Docker statistic streams to push containers info to Zabbix <|file_sep|>current/README.md # zabbix-containers-sender [![Build Status](https://travis-ci.org/dockermee...
52d9347d57883d4d431d283390d4a63246bdeed9
README.md
README.md
Markdown
<|file_sep|>original/requirements/doc.txt sphinx==1.6.2 alagitpull==0.0.9 releases==1.3.1 <|file_sep|>current/requirements/doc.txt sphinx==1.6.2 alagitpull==0.0.9 releases==1.3.1 <|file_sep|>updated/requirements/doc.txt
sphinx==1.6.2 alagitpull==0.0.10 releases==1.3.1
<|file_sep|>original/requirements/doc.txt sphinx==1.6.2 alagitpull==0.0.9 releases==1.3.1 <|file_sep|>current/requirements/doc.txt sphinx==1.6.2 alagitpull==0.0.9 releases==1.3.1 <|file_sep|>updated/requirements/doc.txt sphinx==1.6.2 alagitpull==0.0.10 releases==1.3.1
402c25a89e598e6775d6eb3f79ec6a121e74e9f7
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/website/src/app/project/processes/process/create/components/processing-settings.directive.js formatYear: 'yy', startingDay: 1 }; ctrl.openDatePicker = openDatePicker; ctrl.updateSettingProperty = (property) => { if (!property.value) { return; ...
formatYear: 'yy', startingDay: 1 }; ctrl.openDatePicker = openDatePicker; ctrl.updateSettingProperty = (property) => { if (!property.value) { return; } if (property._type === "date") { console.dir(property); return; } ...
<|file_sep|>original/website/src/app/project/processes/process/create/components/processing-settings.directive.js formatYear: 'yy', startingDay: 1 }; ctrl.openDatePicker = openDatePicker; ctrl.updateSettingProperty = (property) => { if (!property.value) { return; ...
31fc439c5df65318caa60ee9a65e13a98fbe72fa
website/src/app/project/processes/process/create/components/processing-settings.directive.js
website/src/app/project/processes/process/create/components/processing-settings.directive.js
JavaScript
<|file_sep|>original/android/src/main/java/cn/qiuxiang/react/amap3d/AMapOverlay.kt package cn.qiuxiang.react.amap3d import android.content.Context import com.facebook.react.views.view.ReactViewGroup class AMapOverlay(context: Context) : ReactViewGroup(context) { private var updateHandler: (() -> Unit)? = null ...
package cn.qiuxiang.react.amap3d import android.content.Context import com.facebook.react.views.view.ReactViewGroup class AMapOverlay(context: Context) : ReactViewGroup(context) { private var updateHandler: (() -> Unit)? = null fun onUpdate(handler: () -> Unit) { updateHandler = handler } fu...
<|file_sep|>original/android/src/main/java/cn/qiuxiang/react/amap3d/AMapOverlay.kt package cn.qiuxiang.react.amap3d import android.content.Context import com.facebook.react.views.view.ReactViewGroup class AMapOverlay(context: Context) : ReactViewGroup(context) { private var updateHandler: (() -> Unit)? = null ...
2bfbf65050aaca0dc45970f8e1a7bc0400581f73
android/src/main/java/cn/qiuxiang/react/amap3d/AMapOverlay.kt
android/src/main/java/cn/qiuxiang/react/amap3d/AMapOverlay.kt
Kotlin
<|file_sep|>original/features/support/helpers/login_helper.rb <|file_sep|>current/features/support/helpers/login_helper.rb <|file_sep|>updated/features/support/helpers/login_helper.rb
module RoomsFeatures module LoginHelper def omniauth_hash hash = OmniAuth::AuthHash.new(provider: :nyulibraries, uid: 'dev123') hash.info = omniauth_info hash.extra = omniauth_extra hash end def non_aleph_omniauth_hash hash = OmniAuth::AuthHash.new(provider: :nyulibraries, u...
<|file_sep|>original/features/support/helpers/login_helper.rb <|file_sep|>current/features/support/helpers/login_helper.rb <|file_sep|>updated/features/support/helpers/login_helper.rb module RoomsFeatures module LoginHelper def omniauth_hash hash = OmniAuth::AuthHash.new(provider: :nyulibraries, uid: 'dev...
030366cad0af389a1b568c1d061831c94ee45517
features/support/helpers/login_helper.rb
features/support/helpers/login_helper.rb
Ruby
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 - 2.2.0 - 2.1.0 - 2.0.0 - jruby-9.0.4.0 <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 - 2.2.0 - 2.1.0 - 2.0.0 - jruby-9.0.4.0 <|file_sep|>updated/.travis.yml
language: ruby cache: bundler rvm: - 2.3.0
<|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 - 2.2.0 - 2.1.0 - 2.0.0 - jruby-9.0.4.0 <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: - 2.3.0 - 2.2.0 - 2.1.0 - 2.0.0 - jruby-9.0.4.0 <|file_sep|>updated/.travis.yml language: ruby cache: bundler rvm: ...
da99df628dbc00d5050b8958f2bf9520b3ea16f3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/ResetCredentialResponse.java import javax.validation.constraints.NotNull; /** * Response object used for resetting a credential. * * @author Roman Strobl, roman.strobl@wultra.com */ @Data public c...
import javax.validation.constraints.NotNull; /** * Response object used for resetting a credential. * * @author Roman Strobl, roman.strobl@wultra.com */ @Data public class ResetCredentialResponse { @NotNull private String userId; @NotNull private String credentialName; private String username;...
<|file_sep|>original/powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/ResetCredentialResponse.java import javax.validation.constraints.NotNull; /** * Response object used for resetting a credential. * * @author Roman Strobl, roman.strobl@wultra.com */ @Data public c...
a4ddbef6c955296a8d06f6cd1d0a22d5a02f76a1
powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/ResetCredentialResponse.java
powerauth-nextstep-model/src/main/java/io/getlime/security/powerauth/lib/nextstep/model/response/ResetCredentialResponse.java
Java
<|file_sep|>original/.travis.yml language: ruby before_install: - gem install bundler rvm: - "2.1.2" - "1.9.3" - "1.8.7" <|file_sep|>current/.travis.yml language: ruby before_install: - gem install bundler rvm: - "2.1.2" - "1.9.3" - "1.8.7" <|file_sep|>updated/.travis.yml
language: ruby before_install: - gem install bundler rvm: - "2.4.3" - "2.2.5" - "2.1.2" - "1.9.3" - "1.8.7"
<|file_sep|>original/.travis.yml language: ruby before_install: - gem install bundler rvm: - "2.1.2" - "1.9.3" - "1.8.7" <|file_sep|>current/.travis.yml language: ruby before_install: - gem install bundler rvm: - "2.1.2" - "1.9.3" - "1.8.7" <|file_sep|>updated/.travis.yml language: ruby before_install: ...
fc4962f5d0804c4c9c292844deaafedb358e3ea9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/R/prepare_data.r #' @examples #' data(gopherlice) #' library(ape) #' gdist <- cophenetic(gophertree) #' ldist <- cophenetic(licetree) #' D <- prepare_paco_data(gdist, ldist, gl_links) prepare_paco_data <- function(H, P, HP) { if(NROW(H) != NCOL(H)) stop("H should be a square matrix") i...
#' ldist <- cophenetic(licetree) #' D <- prepare_paco_data(gdist, ldist, gl_links) prepare_paco_data <- function(H, P, HP) { if(NROW(H) != NCOL(H)) stop("H should be a square matrix") if(NROW(P) != NCOL(P)) stop("P should be a square matrix") if(NROW(H) != NROW(HP)){ warning("The HP matrix sh...
<|file_sep|>original/R/prepare_data.r #' @examples #' data(gopherlice) #' library(ape) #' gdist <- cophenetic(gophertree) #' ldist <- cophenetic(licetree) #' D <- prepare_paco_data(gdist, ldist, gl_links) prepare_paco_data <- function(H, P, HP) { if(NROW(H) != NCOL(H)) stop("H should be a square matrix") i...
5308a8aa38973009530b9073e13c1f9eca2ba449
R/prepare_data.r
R/prepare_data.r
R
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.5 django-appconf==1.0.2 django-bootstrap3==9.0.0 django-filter==1.0.4 djangorestframework==3.6.4 ete3==3.0.0b35 psycopg2==2.7.3.1 python-nexus==1.53 six==1.11.0 coverage==4.4.1 flake8==3.4.1 newick==0.8.0 clldutils==1.13.7 attrs==17.2.0 <|file_sep|>curren...
pydplace==0.4 Django==1.11.5 django-appconf==1.0.2 django-bootstrap3==9.0.0 django-filter==1.0.4 djangorestframework==3.6.4 ete3==3.0.0b35 psycopg2==2.7.3.1 python-nexus==1.53 six==1.11.0 coverage==4.4.1 flake8==3.4.1 newick==0.8.0 clldutils==1.13.10 attrs==17.2.0
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.5 django-appconf==1.0.2 django-bootstrap3==9.0.0 django-filter==1.0.4 djangorestframework==3.6.4 ete3==3.0.0b35 psycopg2==2.7.3.1 python-nexus==1.53 six==1.11.0 coverage==4.4.1 flake8==3.4.1 newick==0.8.0 clldutils==1.13.7 attrs==17.2.0 <|file_sep|>curren...
2fc91ccafc048604be4b78dbba8e08edea5e89b8
requirements.txt
requirements.txt
Text
<|file_sep|>jstests/tests/home/test_models.js.diff original: updated: <|file_sep|>jstests/tests/home/test_models.js.diff original: updated: <|file_sep|>jstests/tests/home/test_models.js.diff original: updated: assert.equal(model.selected_index, null); <|file_sep|>original/jstests/tests/home/test_model...
"home/models" ], function (models) { "use strict"; QUnit.module("home.models"); QUnit.test("instantiation", function (assert) { var model = new models.ApplicationListModel(); assert.equal(model.app_list.length, 0); assert.equal(model.selected_index, null); model.update...
<|file_sep|>jstests/tests/home/test_models.js.diff original: updated: <|file_sep|>jstests/tests/home/test_models.js.diff original: updated: <|file_sep|>jstests/tests/home/test_models.js.diff original: updated: assert.equal(model.selected_index, null); <|file_sep|>original/jstests/tests/home/test_model...
a79b4223bc9192f244caac3d3529609ec6ca5ecb
jstests/tests/home/test_models.js
jstests/tests/home/test_models.js
JavaScript
<|file_sep|>original/src/wirecloud/fixtures/initial_data.xml <|file_sep|>current/src/wirecloud/fixtures/initial_data.xml <|file_sep|>updated/src/wirecloud/fixtures/initial_data.xml
<?xml version="1.0" encoding="utf-8"?> <django-objects version="1.0"> <object pk="1" model="wirecloud.market"> <field type="CharField" name="name">local</field> <field type="TextField" name="options">{"url": null, "type":"wirecloud", "label":"local"}</field> </object> </django-objects>
<|file_sep|>original/src/wirecloud/fixtures/initial_data.xml <|file_sep|>current/src/wirecloud/fixtures/initial_data.xml <|file_sep|>updated/src/wirecloud/fixtures/initial_data.xml <?xml version="1.0" encoding="utf-8"?> <django-objects version="1.0"> <object pk="1" model="wirecloud.market"> <field type="C...
067547f6370b7f33745138d71be13a59054ce0dd
src/wirecloud/fixtures/initial_data.xml
src/wirecloud/fixtures/initial_data.xml
XML
<|file_sep|>original/bin/requirements.txt cachetools==4.2.4 certifi==2021.10.8 chardet==4.0.0 coverage==6.1.1 google-api-core==2.2.2 google-api-python-client==2.29.0 google-auth==2.3.3 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.2 idna==3.3 oauth2client==4.1.3...
cachetools==4.2.4 certifi==2021.10.8 chardet==4.0.0 coverage==6.1.1 google-api-core==2.2.2 google-api-python-client==2.30.0 google-auth==2.3.3 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.2 idna==3.3 oauth2client==4.1.3 oauthlib==3.1.1 packaging==21.2 protobuf=...
<|file_sep|>original/bin/requirements.txt cachetools==4.2.4 certifi==2021.10.8 chardet==4.0.0 coverage==6.1.1 google-api-core==2.2.2 google-api-python-client==2.29.0 google-auth==2.3.3 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.2 idna==3.3 oauth2client==4.1.3...
323b1a324e4ab1ab132241134aff5d7f62c67369
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>original/index.html <!-- Create the editor container --> <div id="editor"> <p>Hello World!</p> <p>Some initial <strong>bold</strong> text</p> <p><br></p> </div> <!-- Include the Quill library --> <script src="node_modules/quill/dist/quill.js"></script> <!-- Initialize Quill editor --> <script type=...
<!-- Create the editor container --> <div id="editor"> <p>Hello World!</p> <p>Some initial <strong>bold</strong> text</p> <p><br></p> </div> <!-- Include the Quill library --> <script src="node_modules/quill/dist/quill.js"></script> <!-- Initialize Quill editor --> <script type="text/javascript"> let quill = n...
<|file_sep|>original/index.html <!-- Create the editor container --> <div id="editor"> <p>Hello World!</p> <p>Some initial <strong>bold</strong> text</p> <p><br></p> </div> <!-- Include the Quill library --> <script src="node_modules/quill/dist/quill.js"></script> <!-- Initialize Quill editor --> <script type=...
19909c0546e6e3ed6c2c8c0ec07b916a4baf2f3f
index.html
index.html
HTML
<|file_sep|>original/includes/LinearAllocator.h #include "Allocator.h" #ifndef LINEARALLOCATOR_H #define LINEARALLOCATOR_H class LinearAllocator : public Allocator { private: /* Offset from the start of the memory block */ long m_offset; public: /* Allocation of real memory */ LinearAllocator(const long totalSize...
#include "Allocator.h" #ifndef LINEARALLOCATOR_H #define LINEARALLOCATOR_H class LinearAllocator : public Allocator { protected: /* Offset from the start of the memory block */ long m_offset; public: /* Allocation of real memory */ LinearAllocator(const long totalSize); /* Frees all memory */ virtual ~LinearAl...
<|file_sep|>original/includes/LinearAllocator.h #include "Allocator.h" #ifndef LINEARALLOCATOR_H #define LINEARALLOCATOR_H class LinearAllocator : public Allocator { private: /* Offset from the start of the memory block */ long m_offset; public: /* Allocation of real memory */ LinearAllocator(const long totalSize...
af86cde8375d92cc310f16fd4bb0c2a87d6c4eb7
includes/LinearAllocator.h
includes/LinearAllocator.h
C
<|file_sep|>original/bin/rum_bases_covered.pl <|file_sep|>current/bin/rum_bases_covered.pl <|file_sep|>updated/bin/rum_bases_covered.pl
#!/usr/bin/env perl use strict; use warnings; if (@ARGV != 1) { die "Usage: $0 COV_FILE\nWhere COV_FILE is a RUM_Unique.cov or RUM_NU.cov file\n\n"; } open my $in, '<', $ARGV[0]; my $bases = 0; # Skip the header <$in>; while (defined(my $line = <$in>)) { my ($chr, $start, $end) = split /\t/, $line; $b...
<|file_sep|>original/bin/rum_bases_covered.pl <|file_sep|>current/bin/rum_bases_covered.pl <|file_sep|>updated/bin/rum_bases_covered.pl #!/usr/bin/env perl use strict; use warnings; if (@ARGV != 1) { die "Usage: $0 COV_FILE\nWhere COV_FILE is a RUM_Unique.cov or RUM_NU.cov file\n\n"; } open my $in, '<', $ARGV[...
465563d25f41618765095b8c7d55381aa90ba804
bin/rum_bases_covered.pl
bin/rum_bases_covered.pl
Perl
<|file_sep|>original/app/views/devise/registrations/_homeform.erb <%= form_for('registrations', :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div> <%= f.select :role, User.roles, :prompt => true %> <p>This is your role withing the start...
<%= form_for('registrations', :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div> <%= f.select :role, User.roles, :prompt => true %> <p>This is your role within the startup community.</p> </div> <div> <%= f.text_field :ful...
<|file_sep|>original/app/views/devise/registrations/_homeform.erb <%= form_for('registrations', :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div> <%= f.select :role, User.roles, :prompt => true %> <p>This is your role withing the start...
a44dbc6672a6d99bb1e8ca0bf3a6690dbc2b2266
app/views/devise/registrations/_homeform.erb
app/views/devise/registrations/_homeform.erb
HTML+ERB
<|file_sep|>original/Slim/Handlers/Strategies/RequestResponse.php * * @param array|callable $callable * @param ServerRequestInterface $request * @param ResponseInterface $response * @param array $routeArguments * * @return mixed */ public functio...
* * @param array|callable $callable * @param ServerRequestInterface $request * @param ResponseInterface $response * @param array $routeArguments * * @return mixed */ public function __invoke( callable $callable, ServerRequestInter...
<|file_sep|>original/Slim/Handlers/Strategies/RequestResponse.php * * @param array|callable $callable * @param ServerRequestInterface $request * @param ResponseInterface $response * @param array $routeArguments * * @return mixed */ public functio...
88b6a312dd36344fb50abd745d71d1b0159aa65a
Slim/Handlers/Strategies/RequestResponse.php
Slim/Handlers/Strategies/RequestResponse.php
PHP
<|file_sep|>original/composer.json "type": "campaignchain-channel", "homepage": "http://www.campaignchain.com", "license": "Apache-2.0", "authors": [ { "name": "Sandro Groganz", "email": "sandro@campaignchain.com" } ], "require": { "campaignchain/c...
"type": "campaignchain-channel", "homepage": "http://www.campaignchain.com", "license": "Apache-2.0", "authors": [ { "name": "Sandro Groganz", "email": "sandro@campaignchain.com" } ], "require": { "campaignchain/core": "1.0.0@beta | 1.0.0@rc", ...
<|file_sep|>original/composer.json "type": "campaignchain-channel", "homepage": "http://www.campaignchain.com", "license": "Apache-2.0", "authors": [ { "name": "Sandro Groganz", "email": "sandro@campaignchain.com" } ], "require": { "campaignchain/c...
42c56cc0016a54825c47471eb9d01734f305d815
composer.json
composer.json
JSON
<|file_sep|>config.ru.diff original: updated: use Rack::ContentType <|file_sep|>original/config.ru Dir.chdir(File.dirname(__FILE__)) require File.expand_path('../config/boot', __FILE__) maps = { '/' => ApplicationController, '/openid' => OpenidController, '/users' => UsersController, '/logins' => ...
Dir.chdir(File.dirname(__FILE__)) require File.expand_path('../config/boot', __FILE__) use Rack::ContentType maps = { '/' => ApplicationController, '/openid' => OpenidController, '/users' => UsersController, '/logins' => LoginsController } maps.each do |path, controller| map(path){ run controller...
<|file_sep|>config.ru.diff original: updated: use Rack::ContentType <|file_sep|>original/config.ru Dir.chdir(File.dirname(__FILE__)) require File.expand_path('../config/boot', __FILE__) maps = { '/' => ApplicationController, '/openid' => OpenidController, '/users' => UsersController, '/logins' => ...
492a73338a01fac56e0192e4b0e596b98012991c
config.ru
config.ru
Ruby
<|file_sep|>original/webapp/cached.py class cached(object): def __init__(self, *args, **kwargs): self.cached_function_responses = {} self.default_max_age = kwargs.get("default_cache_max_age", timedelta(seconds=int(os.environ['CACHE_AGE']))) def __call__(self, func): def inner(*args, *...
import os class cached(object): def __init__(self, *args, **kwargs): self.cached_function_responses = {} self.default_max_age = kwargs.get("default_cache_max_age", timedelta(seconds=int(os.environ['CACHE_AGE']))) def __call__(self, func): def inner(*args, **kwargs): param ...
<|file_sep|>original/webapp/cached.py class cached(object): def __init__(self, *args, **kwargs): self.cached_function_responses = {} self.default_max_age = kwargs.get("default_cache_max_age", timedelta(seconds=int(os.environ['CACHE_AGE']))) def __call__(self, func): def inner(*args, *...
658f0f6825b4f4a226349fcee63a0c5fbbd5ba9e
webapp/cached.py
webapp/cached.py
Python
<|file_sep|>original/manifests/cf-manifest/env-specific/prod.yml --- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 45 router_instances: 18 api_instances: 6 doppler_instances: 39 log_api_instances: 6 scheduler_instances: 4 cc_worker_instances: 4 cc_hourly_rate_limit: 60000 cc_staging_timeout_...
--- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 45 router_instances: 24 api_instances: 6 doppler_instances: 39 log_api_instances: 6 scheduler_instances: 4 cc_worker_instances: 4 cc_hourly_rate_limit: 60000 cc_staging_timeout_in_seconds: 2700 paas_region_name: ireland prometheus_disk_size:...
<|file_sep|>original/manifests/cf-manifest/env-specific/prod.yml --- uaa_instances: 3 nats_instances: 3 diego_api_instances: 3 cell_instances: 45 router_instances: 18 api_instances: 6 doppler_instances: 39 log_api_instances: 6 scheduler_instances: 4 cc_worker_instances: 4 cc_hourly_rate_limit: 60000 cc_staging_timeout_...
192f70d1cc1782064d533e9715d6128055c028d5
manifests/cf-manifest/env-specific/prod.yml
manifests/cf-manifest/env-specific/prod.yml
YAML
<|file_sep|>src/electron/Settings.js.diff original: debug('Hydrate store', toJS(this.store)); updated: debug('Hydrate store', this.type, toJS(this.store)); <|file_sep|>original/src/electron/Settings.js return this.store[key]; } _merge(settings) { return Object.assign(this.defaultState, this.store, ...
return this.store[key]; } _merge(settings) { return Object.assign(this.defaultState, this.store, settings); } _hydrate() { this.store = this._merge(readJsonSync(this.settingsFile)); debug('Hydrate store', this.type, toJS(this.store)); } _writeFile() { outputJsonSync(this.settingsFile,...
<|file_sep|>src/electron/Settings.js.diff original: debug('Hydrate store', toJS(this.store)); updated: debug('Hydrate store', this.type, toJS(this.store)); <|file_sep|>original/src/electron/Settings.js return this.store[key]; } _merge(settings) { return Object.assign(this.defaultState, this.store, ...
b089a6dc52cbfbbcd6ad1fb93d8009d7795fee3a
src/electron/Settings.js
src/electron/Settings.js
JavaScript
<|file_sep|>original/go1.x/build/Dockerfile FROM lambci/lambda-base:build # https://golang.org/doc/devel/release.html ENV GOLANG_VERSION=1.14.2 \ GOPATH=/go \ PATH=/go/bin:/usr/local/go/bin:$PATH \ AWS_EXECUTION_ENV=AWS_Lambda_go1.x WORKDIR /go/src/handler RUN rm -rf /var/runtime /var/lang && \ curl ht...
FROM lambci/lambda-base:build # https://golang.org/doc/devel/release.html ENV GOLANG_VERSION=1.14.4 \ GOPATH=/go \ PATH=/go/bin:/usr/local/go/bin:$PATH \ AWS_EXECUTION_ENV=AWS_Lambda_go1.x WORKDIR /go/src/handler RUN rm -rf /var/runtime /var/lang && \ curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz |...
<|file_sep|>original/go1.x/build/Dockerfile FROM lambci/lambda-base:build # https://golang.org/doc/devel/release.html ENV GOLANG_VERSION=1.14.2 \ GOPATH=/go \ PATH=/go/bin:/usr/local/go/bin:$PATH \ AWS_EXECUTION_ENV=AWS_Lambda_go1.x WORKDIR /go/src/handler RUN rm -rf /var/runtime /var/lang && \ curl ht...
966b646f986e8c9888512b7e260b853fe1125b65
go1.x/build/Dockerfile
go1.x/build/Dockerfile
unknown
<|file_sep|>Cargo.toml.diff original: tokio-core = { git = "https://github.com/tokio-rs/tokio-core" } futures = { git = "https://github.com/alexcrichton/futures-rs" } updated: tokio-core = "0.1" futures = "0.1" <|file_sep|>original/Cargo.toml license = "MIT/Apache-2.0" repository = "https://github.com/alexcrichton/toki...
license = "MIT/Apache-2.0" repository = "https://github.com/alexcrichton/tokio-signal" homepage = "https://github.com/alexcrichton/tokio-signal" documentation = "https://alexcrichton.github.io/tokio-signal" description = """ An implementation of an asynchronous Unix signal handling backed futures. """ [dependencies] t...
<|file_sep|>Cargo.toml.diff original: tokio-core = { git = "https://github.com/tokio-rs/tokio-core" } futures = { git = "https://github.com/alexcrichton/futures-rs" } updated: tokio-core = "0.1" futures = "0.1" <|file_sep|>original/Cargo.toml license = "MIT/Apache-2.0" repository = "https://github.com/alexcrichton/toki...
3486a61a0f2acc368ca511327098fab1332d05d5
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/app/controllers/users_controller.rb def show @user = User.find(params[:id]) end def new end def create @user = User.new(user_params) if @user.save session[:user_id] = @user.id redirect_to @user else render 'new' end end private def user_para...
def show @user = User.find(params[:id]) end def new end def create @user = User.new(user_params) if @user.save log_in @user redirect_to @user else render 'new' end end private def user_params params.require(:user).permit(:name, :email, :password, :password_c...
<|file_sep|>original/app/controllers/users_controller.rb def show @user = User.find(params[:id]) end def new end def create @user = User.new(user_params) if @user.save session[:user_id] = @user.id redirect_to @user else render 'new' end end private def user_para...
8e1a4fdf55384b820d430d3855995948e7aa8b20
app/controllers/users_controller.rb
app/controllers/users_controller.rb
Ruby
<|file_sep|>original/spec/vm/core_spec.rb def out Operand.out end def add(value) UnaryInstruction.new(:add, value) end let(:core) { Core.new([], instance_double(CliBus)) } context "binary instructions" do context "add instruction" do it "increments a value when adding by one" do...
def out Operand.out end def add(value) UnaryInstruction.new(:add, value) end let(:core) { Core.new(0, instructions: [], bus: instance_double(CliBus)) } context "binary instructions" do context "add instruction" do it "increments a value when adding by one" do expect { co...
<|file_sep|>original/spec/vm/core_spec.rb def out Operand.out end def add(value) UnaryInstruction.new(:add, value) end let(:core) { Core.new([], instance_double(CliBus)) } context "binary instructions" do context "add instruction" do it "increments a value when adding by one" do...
9c8145bedddf96e38005bddc917f5f6b997db643
spec/vm/core_spec.rb
spec/vm/core_spec.rb
Ruby
<|file_sep|>package.json.diff original: "version": "1.0.2", updated: "version": "1.0.3", <|file_sep|>original/package.json { "name": "leowiki", "version": "1.0.2", "description": "Wikipedia page-viewer", "main": "leowiki.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "ins...
{ "name": "leowiki", "version": "1.0.3", "description": "Wikipedia page-viewer", "main": "leowiki.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "prepare": "require-self" }, "repository": { "type": "git", "url": "git+https://github.com/leo60228/leowiki.git" }, ...
<|file_sep|>package.json.diff original: "version": "1.0.2", updated: "version": "1.0.3", <|file_sep|>original/package.json { "name": "leowiki", "version": "1.0.2", "description": "Wikipedia page-viewer", "main": "leowiki.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "ins...
f6a6469dbd32c651953200e5f470038e90ec86e7
package.json
package.json
JSON
<|file_sep|>go/README.md.diff original: updated: ======= <|file_sep|>original/go/README.md #### OSX * brew install go hg glide * cd web-languages-benchmark/go * glide in * glide install ### Run Go Server (build binary and run server) * go build -o bin/main * ./bin/main & ### Make a test call using cUrl curl localh...
======= #### OSX * brew install go hg glide * cd web-languages-benchmark/go * glide in * glide install ### Run Go Server (build binary and run server) * cd /WORKSPACE/web-languages-benchmark/go * go build -o bin/main * ./bin/main & ### Make a test call using cUrl curl localhost:8086/taxi-position --request PUT -d '...
<|file_sep|>go/README.md.diff original: updated: ======= <|file_sep|>original/go/README.md #### OSX * brew install go hg glide * cd web-languages-benchmark/go * glide in * glide install ### Run Go Server (build binary and run server) * go build -o bin/main * ./bin/main & ### Make a test call using cUrl curl localh...
fd08072b703fc241adaa90447dd3e64c7cef9fb5
go/README.md
go/README.md
Markdown
<|file_sep|>original/res/menu/activity_imageviewer.xml ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns...
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <it...
<|file_sep|>original/res/menu/activity_imageviewer.xml ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns...
6d90a0884d410ceaee0e0d2f73fdc0dfc236de3f
res/menu/activity_imageviewer.xml
res/menu/activity_imageviewer.xml
XML
<|file_sep|>original/metadata/org.tamanegi.atmosphere.txt License:PublicDomain Web Site:http://www.tamanegi.org/prog/android-apps Source Code:https://github.com/lllllT/AtmosphereLogger Issue Tracker:https://github.com/lllllT/AtmosphereLogger/issues Auto Name:AtmosphereLogger Summary:Logs atmospheric pressure Descripti...
License:PublicDomain Web Site:http://www.tamanegi.org/prog/android-apps Source Code:https://github.com/lllllT/AtmosphereLogger Issue Tracker:https://github.com/lllllT/AtmosphereLogger/issues Auto Name:AtmosphereLogger Summary:Logs atmospheric pressure Description: Logs atmospheric pressure by using Android device's ba...
<|file_sep|>original/metadata/org.tamanegi.atmosphere.txt License:PublicDomain Web Site:http://www.tamanegi.org/prog/android-apps Source Code:https://github.com/lllllT/AtmosphereLogger Issue Tracker:https://github.com/lllllT/AtmosphereLogger/issues Auto Name:AtmosphereLogger Summary:Logs atmospheric pressure Descripti...
2fb6f32314cec545438578afe4b32ce8d9f6eaa7
metadata/org.tamanegi.atmosphere.txt
metadata/org.tamanegi.atmosphere.txt
Text
<|file_sep|>original/tests/NullableTests.hs import Foreign.Inference.Interface import Foreign.Inference.Preprocessing import Foreign.Inference.Analysis.Nullable main :: IO () main = do args <- getArgs let pattern = case args of [] -> "tests/nullable/*.c" [infile] -> infile ds <- loadDependencies'...
import Foreign.Inference.Interface import Foreign.Inference.Preprocessing import Foreign.Inference.Analysis.Nullable main :: IO () main = do args <- getArgs let pattern = case args of [] -> "tests/nullable/*.c" [infile] -> infile ds <- loadDependencies' [] ["tests/nullable"] ["base", "c"] let t...
<|file_sep|>original/tests/NullableTests.hs import Foreign.Inference.Interface import Foreign.Inference.Preprocessing import Foreign.Inference.Analysis.Nullable main :: IO () main = do args <- getArgs let pattern = case args of [] -> "tests/nullable/*.c" [infile] -> infile ds <- loadDependencies'...
4c551fa4d1fc01d4da41a08b2af2bcbe6b257f54
tests/NullableTests.hs
tests/NullableTests.hs
Haskell
<|file_sep|>original/requirements-dev.txt -r requirements-test.txt black==21.11b1 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4.1 mypy==0.910 Sphinx==4.1.2 sqlalchemy2-stubs==0.0.2a19 <|file_sep|>current/requirements-dev.txt -r requirements-test.txt black==21.11b1 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0...
-r requirements-test.txt black==21.11b1 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4.1 mypy==0.910 Sphinx==4.3.0 sqlalchemy2-stubs==0.0.2a19
<|file_sep|>original/requirements-dev.txt -r requirements-test.txt black==21.11b1 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0.4.1 mypy==0.910 Sphinx==4.1.2 sqlalchemy2-stubs==0.0.2a19 <|file_sep|>current/requirements-dev.txt -r requirements-test.txt black==21.11b1 Flask-DebugToolbar==0.11.0 flask-shell-ipython==0...
0bcb5bdab69d4b7162a42bf88f85f99143b2526d
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java.diff original: updated: // In order to run the tests on a real device, the device and the host // running the tests must be on the same network. This variable should // contain the externally-visible IP of the host. ...
import org.openqa.selenium.environment.webserver.Jetty7AppServer; public class AndroidTestEnvironment implements TestEnvironment { private AppServer appServer; // In order to run the tests on a real device, the device and the host // running the tests must be on the same network. This variable should // contai...
<|file_sep|>java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java.diff original: updated: // In order to run the tests on a real device, the device and the host // running the tests must be on the same network. This variable should // contain the externally-visible IP of the host. ...
c2b526d5cb32c70ee44cbd9e6c8aeb911a5e08d4
java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java
java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java
Java
<|file_sep|>share/spice/rfc/rfc.js.diff original: return Spice.failed('rfc'); updated: return Spice.failed('request_for_comments'); <|file_sep|>original/share/spice/rfc/rfc.js (function (env) { "use strict"; env.ddg_spice_rfc = function(api_result) { if (!api_result || api_resul...
(function (env) { "use strict"; env.ddg_spice_rfc = function(api_result) { if (!api_result || api_result.error || api_result.message == "no results.") { return Spice.failed('request_for_comments'); } Spice.add({ id: "rfc", name: "Answer", ...
<|file_sep|>share/spice/rfc/rfc.js.diff original: return Spice.failed('rfc'); updated: return Spice.failed('request_for_comments'); <|file_sep|>original/share/spice/rfc/rfc.js (function (env) { "use strict"; env.ddg_spice_rfc = function(api_result) { if (!api_result || api_resul...
3a449b052e3080c7af175012b8bfdf2e221568c3
share/spice/rfc/rfc.js
share/spice/rfc/rfc.js
JavaScript
<|file_sep|>app/views/partials/_page_the_law_navigation.html.erb.diff original: <li> updated: <li class="<%= 'active' if index == 1 %>"> <|file_sep|>app/views/partials/_page_the_law_navigation.html.erb.diff original: <li> updated: <li class="<%= 'active' if index == 2 %>"> <|file_sep|>app/views/partials...
</li> <li class="<%= 'active' if index == 3 %>"> <a href="<%= the_law_3_path() %>">Tipos de contratos: por el proceso</a> </li> <li class="<%= 'active' if index == 4 %>"> <a href="<%= the_law_4_path() %>">¿Cuándo se permite el uso del procedimiento negociado?</a> </li> <li class="<%=...
<|file_sep|>app/views/partials/_page_the_law_navigation.html.erb.diff original: <li> updated: <li class="<%= 'active' if index == 1 %>"> <|file_sep|>app/views/partials/_page_the_law_navigation.html.erb.diff original: <li> updated: <li class="<%= 'active' if index == 2 %>"> <|file_sep|>app/views/partials...
abffb47cf6bb03fd96b1fee5d5e55b6a9bd28408
app/views/partials/_page_the_law_navigation.html.erb
app/views/partials/_page_the_law_navigation.html.erb
HTML+ERB
<|file_sep|>original/plugins/guests/suse/cap/change_host_name.rb module VagrantPlugins module GuestSuse module Cap class ChangeHostName def self.change_host_name(machine, name) machine.communicate.tap do |comm| # Only do this if the hostname is not already set if !c...
module VagrantPlugins module GuestSuse module Cap class ChangeHostName def self.change_host_name(machine, name) machine.communicate.tap do |comm| # Only do this if the hostname is not already set if !comm.test("sudo hostname | grep '#{name}'") comm.sud...
<|file_sep|>original/plugins/guests/suse/cap/change_host_name.rb module VagrantPlugins module GuestSuse module Cap class ChangeHostName def self.change_host_name(machine, name) machine.communicate.tap do |comm| # Only do this if the hostname is not already set if !c...
497ebb0f72c2a5dfe211a211348c4149830bff79
plugins/guests/suse/cap/change_host_name.rb
plugins/guests/suse/cap/change_host_name.rb
Ruby
<|file_sep|>original/plugin/default-plugins/playground/frontend/utils/variationsToProps.js /* eslint-disable no-param-reassign */ import mapValues from 'lodash/mapValues'; import isObject from 'lodash/isObject'; const MATCH_FIRST_CURLY_BRACES_REGEX = /^\{/; const MATCH_LAST_CURLY_BRACES_REGEX = /\};$/; const PROPS_REG...
/* eslint-disable no-param-reassign */ import mapValues from 'lodash/mapValues'; import isObject from 'lodash/isObject'; const MATCH_FIRST_CURLY_BRACES_REGEX = /^\s*\{/; const MATCH_LAST_CURLY_BRACES_REGEX = /\};\s*$/; const PROPS_REGEX = /\s*props: /; const LAST_COMMA_REGEX = /,\s*$/; // Remove all the superflous st...
<|file_sep|>original/plugin/default-plugins/playground/frontend/utils/variationsToProps.js /* eslint-disable no-param-reassign */ import mapValues from 'lodash/mapValues'; import isObject from 'lodash/isObject'; const MATCH_FIRST_CURLY_BRACES_REGEX = /^\{/; const MATCH_LAST_CURLY_BRACES_REGEX = /\};$/; const PROPS_REG...
43a37d50c2b74f1d0e7d4d2456d6e27f65fd5f25
plugin/default-plugins/playground/frontend/utils/variationsToProps.js
plugin/default-plugins/playground/frontend/utils/variationsToProps.js
JavaScript
<|file_sep|>original/README.md ### Open Cosmics: cosmic-ray physics for everyone It is a project for CERN WebFest. You can find more info about the project [here](https://webfest.web.cern.ch/content/open-cosmics-cosmic-ray-physics-everyone) This repository includes only NodeJS based backend app and AngularJS based fr...
### Open Cosmics: cosmic-ray physics for everyone It is a project for CERN WebFest. You can find more info about the project [here](https://webfest.web.cern.ch/content/open-cosmics-cosmic-ray-physics-everyone) This repository includes only NodeJS/Express based web app that communicates with MongoDB by using Mongoose ...
<|file_sep|>original/README.md ### Open Cosmics: cosmic-ray physics for everyone It is a project for CERN WebFest. You can find more info about the project [here](https://webfest.web.cern.ch/content/open-cosmics-cosmic-ray-physics-everyone) This repository includes only NodeJS based backend app and AngularJS based fr...
63b04ae61f933445f0681c5ddee068c18f93420b
README.md
README.md
Markdown
<|file_sep|>original/README.rst gir-dylan ========= These are Dylan bindings for the ``gobject-introspection`` library: https://live.gnome.org/GObjectIntrospection To build them, you will need to build and install the gobject-introspection library first. You will also need OpenDylan 2012.1 or later. TODO ---- * Rem...
gir-dylan ========= These are Dylan bindings for the ``gobject-introspection`` library: https://live.gnome.org/GObjectIntrospection To build them, you will need to build and install the gobject-introspection library first. You will also need OpenDylan 2012.1 or later. TODO ---- * Remove struct definitions. We don't...
<|file_sep|>original/README.rst gir-dylan ========= These are Dylan bindings for the ``gobject-introspection`` library: https://live.gnome.org/GObjectIntrospection To build them, you will need to build and install the gobject-introspection library first. You will also need OpenDylan 2012.1 or later. TODO ---- * Rem...
35e60e630be87ebbb9dbe2253aeea2e58a61a616
README.rst
README.rst
reStructuredText
<|file_sep|>original/omnibus/kitchen.yml forward_agent: yes customize: cpus: 4 memory: 4096 synced_folders: - ['..', '/home/vagrant/chef-server'] provisioner: name: chef_zero product_name: chef product_version: 14.5.33 platforms: - name: ubuntu-18.04 run_list: apt::default - name: ubun...
forward_agent: yes customize: cpus: 4 memory: 4096 synced_folders: - ['..', '/home/vagrant/chef-server'] provisioner: name: chef_zero product_name: chef product_version: 14.11.13 platforms: - name: ubuntu-18.04 run_list: apt::default - name: ubuntu-16.04 run_list: apt::default - ...
<|file_sep|>original/omnibus/kitchen.yml forward_agent: yes customize: cpus: 4 memory: 4096 synced_folders: - ['..', '/home/vagrant/chef-server'] provisioner: name: chef_zero product_name: chef product_version: 14.5.33 platforms: - name: ubuntu-18.04 run_list: apt::default - name: ubun...
e56c356366edd4b569fb91c50295078dbdbb01f6
omnibus/kitchen.yml
omnibus/kitchen.yml
YAML
<|file_sep|>original/.fixtures.yml fixtures: symlinks: zfs: "#{source_dir}" forge_modules: stdlib: repo: "puppetlabs/stdlib" ref: "4.13.0" apt: repo: "puppetlabs/apt" ref: "2.2.0" kmod: repo: "camptocamp/kmod" ref: "2.0.0" yumrepo_core: repo: "puppetlabs...
symlinks: zfs: "#{source_dir}" forge_modules: stdlib: repo: "puppetlabs/stdlib" ref: "4.13.0" apt: repo: "puppetlabs/apt" ref: "2.2.0" kmod: repo: "camptocamp/kmod" ref: "2.0.0" augeas_core: repo: "puppetlabs/augeas_core" ref: "1.0.1" yumrepo_c...
<|file_sep|>original/.fixtures.yml fixtures: symlinks: zfs: "#{source_dir}" forge_modules: stdlib: repo: "puppetlabs/stdlib" ref: "4.13.0" apt: repo: "puppetlabs/apt" ref: "2.2.0" kmod: repo: "camptocamp/kmod" ref: "2.0.0" yumrepo_core: repo: "puppetlabs...
d651c36be00d1c6ac2af069f1f45d424cbdd7148
.fixtures.yml
.fixtures.yml
YAML