j1-template 2020.0.20 → 2021.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/blocks/ads/ad.html +2 -2
- data/_includes/themes/j1/blocks/footer/boxes/about_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +3 -3
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/generator.html +2 -2
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +11 -11
- data/_includes/themes/j1/layouts/content_generator_collection.html +2 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +4 -4
- data/_includes/themes/j1/layouts/content_generator_post.html +64 -162
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +2 -2
- data/_includes/themes/j1/modules/attics/generator.html +1 -1
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +15 -1
- data/_includes/themes/j1/modules/connectors/ads +2 -2
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +2 -4
- data/_includes/themes/j1/modules/connectors/analytics +2 -2
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +38 -25
- data/_includes/themes/j1/modules/connectors/comments +2 -2
- data/_includes/themes/j1/modules/connectors/translator +2 -2
- data/_includes/themes/j1/modules/navigator/generator.html +17 -8
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +36 -26
- data/_includes/themes/j1/procedures/global/attributes_loader.proc +117 -0
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +4 -3
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +17 -13
- data/_includes/themes/j1/procedures/global/get_documents_dir.proc +1 -1
- data/_includes/themes/j1/procedures/global/set_env_entry_document.proc +3 -3
- data/_includes/themes/j1/procedures/global/setup.proc +9 -9
- data/_includes/themes/j1/procedures/layouts/content_writer.proc +1 -2
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_calendar.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_list.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +18 -17
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +9 -5
- data/_layouts/default.html +3 -3
- data/_layouts/home.html +2 -2
- data/apps/public/cc/cc.yml +37 -38
- data/assets/data/authclient.html +2 -2
- data/assets/data/banner.html +25 -21
- data/assets/data/carousel.json +8 -16
- data/assets/data/cookiebar.html +15 -11
- data/assets/data/fam.html +124 -0
- data/assets/data/footer.html +1 -1
- data/assets/data/galleries.json +1 -1
- data/assets/data/gallery_customizer.html +19 -7
- data/assets/data/mdi_icons.json +1 -1
- data/assets/data/menu.html +2 -2
- data/assets/data/mmenu.html +2 -2
- data/assets/data/mmenu_sidebar.html +4 -4
- data/assets/data/mmenu_toc.html +1 -1
- data/assets/data/panel.html +113 -67
- data/assets/data/quicklinks.html +16 -16
- data/assets/data/themes.json +9 -9
- data/assets/data/twa_v1.json +1 -1
- data/assets/error_pages/HTTP204.html +1 -0
- data/assets/error_pages/HTTP400.html +3 -2
- data/assets/error_pages/HTTP401.html +3 -2
- data/assets/error_pages/HTTP403.html +3 -2
- data/assets/error_pages/HTTP404.html +3 -2
- data/assets/error_pages/HTTP500.html +3 -2
- data/assets/error_pages/HTTP501.html +3 -2
- data/assets/error_pages/HTTP502.html +3 -2
- data/assets/error_pages/HTTP503.html +3 -2
- data/assets/error_pages/HTTP520.html +3 -2
- data/assets/error_pages/HTTP521.html +3 -2
- data/assets/error_pages/HTTP533.html +3 -2
- data/assets/themes/j1/adapter/js/algolia.js +2 -2
- data/assets/themes/j1/adapter/js/attic.js +2 -2
- data/assets/themes/j1/adapter/js/bmd.js +1 -1
- data/assets/themes/j1/adapter/js/carousel.js +401 -38
- data/assets/themes/j1/adapter/js/clipboard.js +3 -3
- data/assets/themes/j1/adapter/js/cookiebar.js +1 -1
- data/assets/themes/j1/adapter/js/{ssm.js → fam.js} +252 -142
- data/assets/themes/j1/adapter/js/framer.js +74 -58
- data/assets/themes/j1/adapter/js/gallery_customizer.js +4 -3
- data/assets/themes/j1/adapter/js/j1.js +25 -19
- data/assets/themes/j1/adapter/js/jf_gallery.js +4 -4
- data/assets/themes/j1/adapter/js/lightbox.js +2 -2
- data/assets/themes/j1/adapter/js/logger.js +2 -2
- data/assets/themes/j1/adapter/js/{searcher.js → lunr_search.js} +68 -65
- data/assets/themes/j1/adapter/js/mmenu.js +16 -10
- data/assets/themes/j1/adapter/js/navigator.js +63 -57
- data/assets/themes/j1/adapter/js/rouge.js +246 -0
- data/assets/themes/j1/adapter/js/rtable.js +183 -0
- data/assets/themes/j1/adapter/js/themer.js +63 -110
- data/assets/themes/j1/adapter/js/toccer.js +72 -32
- data/assets/themes/j1/core/css/animate.css +15 -15
- data/assets/themes/j1/core/css/{icons-fontawesome.css → icon-fonts/fontawesome.css} +17 -17
- data/assets/themes/j1/core/css/{icons-fontawesome.min.css → icon-fonts/fontawesome.min.css} +0 -0
- data/assets/themes/j1/core/css/{icons-iconify.css → icon-fonts/iconify.css} +15 -15
- data/assets/themes/j1/core/css/{icons-iconify.min.css → icon-fonts/iconify.min.css} +0 -0
- data/assets/themes/j1/core/css/{icons-materialdesign.css → icon-fonts/materialdesign.css} +17 -17
- data/assets/themes/j1/core/css/{icons-materialdesign.min.css → icon-fonts/materialdesign.min.css} +0 -0
- data/assets/themes/j1/core/css/{icons-twemoji.css → icon-fonts/twemoji.css} +18 -18
- data/assets/themes/j1/core/css/{icons-twemoji.min.css → icon-fonts/twemoji.min.css} +0 -0
- data/assets/themes/j1/core/css/{bootstrap.css → themes/bootstrap/bootstrap.css} +19 -16
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +6 -0
- data/assets/themes/j1/core/css/{uno-dark.css → themes/uno-dark/bootstrap.css} +429 -323
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +6 -0
- data/assets/themes/j1/core/css/{uno.css → themes/uno-light/bootstrap.css} +1654 -1290
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +8 -0
- data/assets/themes/j1/core/css/vendor.css +101 -71
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +6 -11
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.full.js +6930 -0
- data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +6 -0
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +120 -75
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/cash/js/cash.js +1374 -0
- data/assets/themes/j1/modules/cash/js/cash.min.js +42 -0
- data/assets/themes/j1/modules/clipboard/css/theme/uno.css +2 -2
- data/assets/themes/j1/modules/clipboard/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/fam/css/uno/fam.css +369 -0
- data/assets/themes/j1/modules/fam/js/fam.js +477 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +1 -1
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.js → resizer.js} +0 -0
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.map → resizer.map} +0 -0
- data/assets/themes/j1/modules/iframeResizer/js/{iframeResizer.min.js → resizer.min.js} +0 -0
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.css +443 -0
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery/js/jquery.js +7 -4
- data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -2
- data/assets/themes/j1/modules/jquery/js/jqueryUI.js +18701 -0
- data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +13 -0
- data/assets/themes/j1/modules/jquery/js/require.js +2145 -0
- data/assets/themes/j1/modules/jquery/js/require.min.js +5 -0
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +5 -4
- data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/kofax.7z +0 -0
- data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
- data/assets/themes/j1/modules/lunrSearch/css/lunr_search.css +32 -0
- data/assets/themes/j1/modules/lunrSearch/css/lunr_search.min.css +25 -0
- data/assets/themes/j1/modules/lunrSearch/js/dateformat.js +125 -0
- data/assets/themes/j1/modules/lunrSearch/js/dateformat.min.js +14 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.js +3475 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr.min.js +51 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr_search.js +184 -0
- data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +17 -0
- data/assets/themes/j1/modules/lunrSearch/js/mustache.js +772 -0
- data/assets/themes/j1/modules/lunrSearch/js/mustache.min.js +772 -0
- data/assets/themes/j1/modules/lunrSearch/js/uri.js +2340 -0
- data/assets/themes/j1/modules/lunrSearch/js/uri.min.js +93 -0
- data/assets/themes/j1/modules/materialize/js/anime.js +1283 -0
- data/assets/themes/j1/modules/materialize/js/anime.min.js +34 -0
- data/assets/themes/j1/modules/materialize/js/autocomplete.js +450 -0
- data/assets/themes/j1/modules/materialize/js/buttons.js +409 -0
- data/assets/themes/j1/modules/materialize/js/cards.js +40 -0
- data/assets/themes/j1/modules/materialize/js/carousel.js +717 -0
- data/assets/themes/j1/modules/materialize/js/cash-dom.js +1044 -0
- data/assets/themes/j1/modules/materialize/js/cash.js +960 -0
- data/assets/themes/j1/modules/materialize/js/characterCounter.js +136 -0
- data/assets/themes/j1/modules/materialize/js/chips.js +481 -0
- data/assets/themes/j1/modules/materialize/js/collapsible.js +275 -0
- data/assets/themes/j1/modules/materialize/js/component.js +44 -0
- data/assets/themes/j1/modules/materialize/js/datepicker.js +975 -0
- data/assets/themes/j1/modules/materialize/js/dropdown.js +617 -0
- data/assets/themes/j1/modules/materialize/js/forms.js +275 -0
- data/assets/themes/j1/modules/materialize/js/global.js +427 -0
- data/assets/themes/j1/modules/materialize/js/materialbox.js +453 -0
- data/assets/themes/j1/modules/materialize/js/modal.js +382 -0
- data/assets/themes/j1/modules/materialize/js/parallax.js +138 -0
- data/assets/themes/j1/modules/materialize/js/pushpin.js +145 -0
- data/assets/themes/j1/modules/materialize/js/range.js +263 -0
- data/assets/themes/j1/modules/materialize/js/ripple.js +335 -0
- data/assets/themes/j1/modules/materialize/js/scrollspy.js +295 -0
- data/assets/themes/j1/modules/materialize/js/select.js +432 -0
- data/assets/themes/j1/modules/materialize/js/sidenav.js +580 -0
- data/assets/themes/j1/modules/materialize/js/slider.js +359 -0
- data/assets/themes/j1/modules/materialize/js/tabs.js +402 -0
- data/assets/themes/j1/modules/materialize/js/tapTarget.js +314 -0
- data/assets/themes/j1/modules/materialize/js/timepicker.js +647 -0
- data/assets/themes/j1/modules/materialize/js/toasts.js +310 -0
- data/assets/themes/j1/modules/materialize/js/tooltip.js +303 -0
- data/assets/themes/j1/modules/materialize/js/waves.js +335 -0
- data/assets/themes/j1/modules/materialize/scss/components/_badges.scss +55 -0
- data/assets/themes/j1/modules/materialize/scss/components/_buttons.scss +322 -0
- data/assets/themes/j1/modules/materialize/scss/components/_cards.scss +195 -0
- data/assets/themes/j1/modules/materialize/scss/components/_carousel.scss +90 -0
- data/assets/themes/j1/modules/materialize/scss/components/_chips.scss +90 -0
- data/assets/themes/j1/modules/materialize/scss/components/_collapsible.scss +91 -0
- data/assets/themes/j1/modules/materialize/scss/components/_color-classes.scss +32 -0
- data/assets/themes/j1/modules/materialize/scss/components/_color-variables.scss +370 -0
- data/assets/themes/j1/modules/materialize/scss/components/_datepicker.scss +191 -0
- data/assets/themes/j1/modules/materialize/scss/components/_dropdown.scss +85 -0
- data/assets/themes/j1/modules/materialize/scss/components/_global.scss +769 -0
- data/assets/themes/j1/modules/materialize/scss/components/_grid.scss +156 -0
- data/assets/themes/j1/modules/materialize/scss/components/_icons-material-design.scss +5 -0
- data/assets/themes/j1/modules/materialize/scss/components/_materialbox.scss +43 -0
- data/assets/themes/j1/modules/materialize/scss/components/_modal.scss +94 -0
- data/assets/themes/j1/modules/materialize/scss/components/_navbar.scss +208 -0
- data/assets/themes/j1/modules/materialize/scss/components/_normalize.scss +447 -0
- data/assets/themes/j1/modules/materialize/scss/components/_preloader.scss +334 -0
- data/assets/themes/j1/modules/materialize/scss/components/_pulse.scss +34 -0
- data/assets/themes/j1/modules/materialize/scss/components/_sidenav.scss +216 -0
- data/assets/themes/j1/modules/materialize/scss/components/_slider.scss +92 -0
- data/assets/themes/j1/modules/materialize/scss/components/_table_of_contents.scss +33 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tabs.scss +99 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tapTarget.scss +103 -0
- data/assets/themes/j1/modules/materialize/scss/components/_timepicker.scss +183 -0
- data/assets/themes/j1/modules/materialize/scss/components/_toast.scss +58 -0
- data/assets/themes/j1/modules/materialize/scss/components/_tooltip.scss +32 -0
- data/assets/themes/j1/modules/materialize/scss/components/_transitions.scss +13 -0
- data/assets/themes/j1/modules/materialize/scss/components/_typography.scss +60 -0
- data/assets/themes/j1/modules/materialize/scss/components/_variables.scss +349 -0
- data/assets/themes/j1/modules/materialize/scss/components/_waves.scss +114 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_checkboxes.scss +200 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_file-input.scss +44 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_forms.scss +22 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_input-fields.scss +354 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_radio-buttons.scss +115 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_range.scss +161 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_select.scss +180 -0
- data/assets/themes/j1/modules/materialize/scss/components/forms/_switches.scss +89 -0
- data/assets/themes/j1/modules/materialize/scss/materialize.scss +41 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +11 -11
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.min.css +386 -12
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +16 -12
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.min.css +189 -8
- data/assets/themes/j1/modules/popper/js/popper.js +1 -1
- data/assets/themes/j1/modules/popper/js/popper.js.map +1 -1
- data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -1
- data/assets/themes/j1/modules/rouge/js/select.js +25 -0
- data/assets/themes/j1/modules/rtable/LICENSE +22 -0
- data/assets/themes/j1/modules/rtable/README.md +418 -0
- data/assets/themes/j1/modules/rtable/css/tablesaw.stackonly.css +148 -0
- data/assets/themes/j1/modules/rtable/css/theme/uno.css +191 -0
- data/assets/themes/j1/modules/rtable/css/theme/uno.min.css +191 -0
- data/assets/themes/j1/modules/rtable/js/rtable.js +692 -0
- data/assets/themes/j1/modules/rtable/js/rtable.min.js +690 -0
- data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +18 -0
- data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +2371 -0
- data/assets/themes/j1/modules/{bsThemeSwitcher → themeSwitcher}/js/switcher.js +4 -5
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +26 -0
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +1 -1
- data/lib/j1/commands/generate.rb +6 -6
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/config.rb +2 -2
- data/lib/starter_web/Gemfile +12 -16
- data/lib/starter_web/_config.yml +81 -10
- data/lib/starter_web/_data/apps/carousel.yml +167 -346
- data/lib/starter_web/_data/apps/defaults/carousel.yml +87 -86
- data/lib/starter_web/_data/apps/justified_gallery.yml +44 -10
- data/lib/starter_web/_data/blocks/banner.yml +32 -27
- data/lib/starter_web/_data/blocks/defaults/banner.yml +14 -13
- data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -2
- data/lib/starter_web/_data/blocks/footer.yml +1 -1
- data/lib/starter_web/_data/blocks/panel.yml +24 -25
- data/lib/starter_web/_data/{template_settings.yml → j1_config.yml} +63 -10
- data/lib/starter_web/_data/layouts/collection.yml +6 -6
- data/lib/starter_web/_data/layouts/home.yml +19 -10
- data/lib/starter_web/_data/layouts/page.yml +9 -0
- data/lib/starter_web/_data/layouts/post.yml +9 -0
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +3 -1
- data/lib/starter_web/_data/modules/defaults/{ssm.yml → fam.yml} +12 -15
- data/lib/starter_web/_data/modules/defaults/lunr_search.yml +171 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -5
- data/lib/starter_web/_data/modules/defaults/themer.yml +8 -13
- data/lib/starter_web/_data/modules/defaults/toccer.yml +4 -2
- data/lib/starter_web/_data/modules/fam.yml +192 -0
- data/lib/starter_web/_data/modules/{back2top.yml → lunr_search.yml} +15 -9
- data/lib/starter_web/_data/modules/navigator.yml +2 -2
- data/lib/starter_web/_data/modules/navigator_menu.yml +13 -7
- data/lib/starter_web/_data/modules/themer.yml +0 -18
- data/lib/starter_web/_data/modules/toccer.yml +0 -73
- data/lib/starter_web/_data/resources.yml +193 -99
- data/lib/starter_web/_includes/attributes.asciidoc +194 -0
- data/lib/starter_web/_includes/breadcrumbs.html +11 -0
- data/lib/starter_web/_includes/documents/licenses/mit.asciidoc +19 -0
- data/lib/starter_web/{collections/posts/private → _includes/documents}/readme +0 -0
- data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +45 -0
- data/lib/starter_web/_includes/tables/template_variables.asciidoc +46 -0
- data/lib/starter_web/_plugins/debug.rb +0 -1
- data/lib/starter_web/_plugins/filters.rb +0 -1
- data/lib/starter_web/_plugins/{lorem-inline.rb → lorem_inline.rb} +1 -2
- data/lib/starter_web/_plugins/lunr_index.rb +313 -0
- data/lib/starter_web/_plugins/prettify.rb +0 -3
- data/lib/starter_web/_plugins/simple_search_filter.rb +0 -1
- data/lib/starter_web/_plugins/symlink_watcher.rb +2 -3
- data/lib/starter_web/assets/images/modules/attics/banner/lunr-banner-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/tldr-1920x800.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +48 -43
- data/lib/starter_web/assets/images/pages/winlogbeat/coordinate-map.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/kibana-powershell.jpg +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/option_ignore_outgoing.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/winlogbeat-dashboard.png +0 -0
- data/lib/starter_web/assets/images/quotes/colored-1.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/colored-2.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/default.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/light-blue.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/people.jpg +0 -0
- data/lib/starter_web/collections/posts/{protected → private/_posts}/readme +0 -0
- data/{assets/README.md → lib/starter_web/collections/posts/protected/_posts/readme} +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +77 -80
- data/lib/starter_web/collections/posts/public/featured/_posts/2018-05-01-confusion-about-base-url.adoc +21 -10
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +41 -31
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +32 -27
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +38 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/{000_includes → _includes/documents}/unsplash-badge.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +144 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +146 -0
- data/lib/starter_web/collections/posts/public/{wikipedia/_posts/000_includes → series/_posts/_includes}/attributes.asciidoc +9 -18
- data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/100-docker-using-shared-folders.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/documents/loop.sh +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/{000_includes → _includes}/tables/debug_variables.asciidoc +0 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +16 -8
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +2 -7
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +2 -6
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/attributes.asciidoc +37 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/index.html +16 -10
- data/lib/starter_web/package.json +8 -4
- data/lib/starter_web/pages/protected/site_search.adoc +8 -19
- data/lib/starter_web/pages/public/about/about_site.adoc +0 -2
- data/lib/starter_web/pages/public/about/become_a_patron.adoc +1 -3
- data/lib/starter_web/pages/public/blog/navigator/archive.html +34 -9
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +40 -16
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +32 -8
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +8 -4
- data/lib/starter_web/pages/public/blog/navigator/index.html +6 -3
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +15 -21
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +32 -27
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +32 -27
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/attributes.asciidoc +15 -13
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +31 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/documents/200_preparations.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/documents/300_first_awesome_web.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/{000_includes → _includes}/parts.asciidoc +1 -1
- data/lib/starter_web/{collections/posts/public/wikipedia/_posts/000_includes → pages/public/learn/kickstarter/web_in_a_day/_includes}/tables/debug_variables.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +82 -134
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +37 -45
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +48 -60
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +74 -80
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +64 -84
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +34 -42
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +281 -91
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +138 -52
- data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +236 -0
- data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +294 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/attributes.asciidoc +10 -29
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/100_gistblock.asciidoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_left_warning.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_bottom_right_danger.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_central_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_full_height_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_full_height_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_table_3_column.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_left_info.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/410_top_right_success.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/{000_includes → _includes}/documents/419_advanced_modals_demo.asciidoc +0 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/learn/{whats_up.adoc → where_to_go.adoc} +31 -46
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +3 -2
- data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +7 -12
- data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +2 -1
- data/lib/starter_web/pages/public/legal/de/500_support.adoc +2 -1
- data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +32 -28
- data/lib/starter_web/pages/public/legal/en/100_impress.adoc +12 -8
- data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +17 -12
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +38 -36
- data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +15 -6
- data/lib/starter_web/pages/public/legal/en/500_support.adoc +12 -4
- data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +68 -68
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/attributes.asciidoc +22 -8
- data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +19 -0
- data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/{000_includes → _includes}/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +2074 -1854
- data/lib/starter_web/pages/public/previewer/iframer.adoc +48 -41
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +15 -7
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +21 -26
- data/lib/starter_web/pages/public/previewer/rouge.adoc +439 -0
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +21 -27
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +226 -151
- data/assets/data/jupyter/notebooks/_html/template.full.head.html +0 -75
- data/assets/data/jupyter/notebooks/_html/visualisation.html +0 -968
- data/assets/data/jupyter/notebooks/html/template.html +0 -50
- data/assets/data/jupyter/notebooks/html/visualisation.ok.html +0 -949
- data/assets/data/jupyter/notebooks/tutorial.ipynb +0 -169
- data/assets/data/jupyter/notebooks/visualisation.ipynb +0 -9413
- data/assets/data/search.json +0 -165
- data/assets/data/ssm.html +0 -242
- data/assets/themes/j1/adapter/js/back2top.js +0 -231
- data/assets/themes/j1/core/css/bootstrap.min.css +0 -6
- data/assets/themes/j1/core/css/theme-extensions.css +0 -9797
- data/assets/themes/j1/core/css/theme-extensions.min.css +0 -1
- data/assets/themes/j1/core/css/uno-dark.min.css +0 -6
- data/assets/themes/j1/core/css/uno.min.css +0 -8
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css +0 -10278
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.css.map +0 -1
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css +0 -7
- data/assets/themes/j1/modules/bootstrap/css/bootstrap.min.css.map +0 -1
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +0 -4420
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.js.map +0 -1
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +0 -7
- data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +0 -1
- data/assets/themes/j1/modules/bsDatepicker/css/datepicker.css +0 -203
- data/assets/themes/j1/modules/bsDatepicker/css/theme/uno.css +0 -235
- data/assets/themes/j1/modules/bsDatepicker/js/datepicker.js +0 -509
- data/assets/themes/j1/modules/bsDatepicker/less/datepicker.less +0 -122
- data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.min.js +0 -19
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.js +0 -468
- data/assets/themes/j1/modules/jekyllSearch/js/simple-jekyll-search.min.js +0 -6
- data/assets/themes/j1/modules/jqMouseWheel/README.md +0 -76
- data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.js +0 -221
- data/assets/themes/j1/modules/jqMouseWheel/js/jquery.mousewheel.min.js +0 -9
- data/assets/themes/j1/modules/noUISlider/LICENSE +0 -13
- data/assets/themes/j1/modules/noUISlider/css/nouislider.css +0 -260
- data/assets/themes/j1/modules/noUISlider/css/nouislider.min.css +0 -1
- data/assets/themes/j1/modules/noUISlider/js/nouislider.js +0 -2312
- data/assets/themes/j1/modules/noUISlider/js/nouislider.min.js +0 -3
- data/assets/themes/j1/modules/polyfills/js/msie.js +0 -140
- data/assets/themes/j1/modules/tocbot/css/theme/uno.css +0 -82
- data/assets/themes/j1/modules/tocbot/css/theme/uno.min.css +0 -15
- data/assets/themes/j1/modules/tocbot/css/tocbot.css +0 -75
- data/assets/themes/j1/modules/tocbot/css/tocbot.min.css +0 -19
- data/assets/themes/j1/modules/tocbot/js/tocbot.js +0 -19
- data/assets/themes/j1/modules/tocbot/js/tocbot.min.js +0 -19
- data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -146
- data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +0 -132
- data/lib/starter_web/_data/modules/defaults/stickybits.yml +0 -36
- data/lib/starter_web/_data/modules/ssm.yml +0 -142
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/default.png +0 -0
- data/lib/starter_web/assets/images/quotes/people.png +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/000_includes/attributes.asciidoc +0 -47
- data/lib/starter_web/collections/posts/public/series/_posts/000_includes/attributes.asciidoc +0 -66
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +0 -502
- data/lib/starter_web/pages/public/000_nav_pagination_tester.adoc +0 -297
- data/lib/starter_web/pages/public/learn/examples/floating_ad.adoc +0 -221
- data/lib/starter_web/pages/public/learn/examples/floating_div.adoc +0 -209
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
- data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/attributes.asciidoc +0 -69
- data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/000_includes/documents/100_buttons.asciidoc +0 -170
- data/lib/starter_web/pages/public/learn/roundtrip/510_mdb_preview/mdb_previewer.adoc +0 -52
- data/lib/starter_web/pages/public/learn/roundtrip/bs_tour.js +0 -98
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/attributes.asciidoc +0 -117
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -27
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +0 -47
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
- data/lib/starter_web/pages/public/learn/vtutorials/000_test_youtube_video.adoc +0 -141
- data/lib/starter_web/pages/public/learn/vtutorials/100_basic_video.adoc +0 -109
@@ -1,132 +0,0 @@
|
|
1
|
-
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/modules/defaults/cookie_consent.yml
|
3
|
-
# Default configuration settings for J1 Cookie Consent module
|
4
|
-
#
|
5
|
-
# Product/Info:
|
6
|
-
# https://jekyll.one
|
7
|
-
#
|
8
|
-
# Copyright (C) 2020 Juergen Adams
|
9
|
-
#
|
10
|
-
# J1 Template is licensed under the MIT License.
|
11
|
-
# See: https://github.com/jekyll-one/J1 Template/blob/master/LICENSE
|
12
|
-
# ------------------------------------------------------------------------------
|
13
|
-
|
14
|
-
# ------------------------------------------------------------------------------
|
15
|
-
# About this configuration (used for J1 CC only)
|
16
|
-
#
|
17
|
-
about_config:
|
18
|
-
title: Cookie Consent
|
19
|
-
scope: Default settings
|
20
|
-
location: _data/modules/defaults/cookie_consent.yml
|
21
|
-
|
22
|
-
# ------------------------------------------------------------------------------
|
23
|
-
# Default settings
|
24
|
-
#
|
25
|
-
defaults:
|
26
|
-
|
27
|
-
enabled: false
|
28
|
-
|
29
|
-
xhr_container_id: cookie_consent_modals
|
30
|
-
xhr_data_path: /assets/data/cookie_consent/index.html
|
31
|
-
|
32
|
-
modal_type: full
|
33
|
-
modal_position: top
|
34
|
-
stop_scrolling: true
|
35
|
-
consent_modal_id: cookie_consent_modals
|
36
|
-
consent_modals_title: Privacy
|
37
|
-
whitelisted_pages: [
|
38
|
-
/,
|
39
|
-
/pages/public/about/site/,
|
40
|
-
/pages/public/about/become_a_patron/
|
41
|
-
/pages/public/legal/en/impress/,
|
42
|
-
/pages/public/legal/en/privacy/,
|
43
|
-
/pages/public/legal/en/license_agreement/
|
44
|
-
]
|
45
|
-
|
46
|
-
strict: false # all pages requires a consent (currently NOT supported)
|
47
|
-
show_consent_icon: true # show the consent icon (in quicklinks)
|
48
|
-
show_consent_on_pending: false # on first visit, whitelisted pages does NOT require a consent (overloaded by strict)
|
49
|
-
delete_cookies_on_decline: false # currently NOT supported
|
50
|
-
|
51
|
-
categories:
|
52
|
-
enabled: true
|
53
|
-
category_title: Cookie usage by category
|
54
|
-
category_description: Usage Information
|
55
|
-
category_description_text: Cookies are used for content pages if marked
|
56
|
-
category_session: Session
|
57
|
-
category_persistent: Persistent
|
58
|
-
category_first_party: 1st Party
|
59
|
-
category_second_party: 2nd Party
|
60
|
-
|
61
|
-
buttons:
|
62
|
-
policy_button: true
|
63
|
-
policy_button_text: Cookie Policy
|
64
|
-
accept_button: true
|
65
|
-
accept_button_text: Yes, I accept cookies
|
66
|
-
decline_button: true
|
67
|
-
decline_button_text: No, I refuse cookies
|
68
|
-
|
69
|
-
policy_about: >
|
70
|
-
This website uses cookies to ensure vistors get the best experience
|
71
|
-
on our content, presented user-friendly, more effective and safer.
|
72
|
-
|
73
|
-
cookie_policy_title: Cookie Policy
|
74
|
-
cookie_policy_tagline: >
|
75
|
-
Based on EU legislation on cookies.
|
76
|
-
See
|
77
|
-
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:32009L0136:EN:NOT[Directive 2009/136/EC, window="_blank"] (ePrivacy Directive),
|
78
|
-
https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32018R1725[Regulation (EU) 2018/1725, window="_blank"] (Data protection)
|
79
|
-
for more details
|
80
|
-
|
81
|
-
cookie_policy_text: >
|
82
|
-
The operators of this website take protection of your personal data extremely
|
83
|
-
seriously. We treat your personal data as confidential and comply with the
|
84
|
-
data protection legislation and this privacy policy.
|
85
|
-
|
86
|
-
|
87
|
-
A cookie is a commonly used automated data collection tool. Cookies are
|
88
|
-
small text files that are placed on your computer or device by websites
|
89
|
-
that you visit in order to make websites work, or work more efficiently.
|
90
|
-
|
91
|
-
|
92
|
-
NOTE: If you do not wish to receive cookies you may be able to refuse them by
|
93
|
-
adjusting your browser settings to reject cookies. If you do so, we may be
|
94
|
-
unable to offer you some of our functionalities, services or support.
|
95
|
-
If you have previously visited our websites, you may also have to delete
|
96
|
-
any existing cookies from your browser.
|
97
|
-
|
98
|
-
|
99
|
-
We, may our partners, make use of cookies, web beacons, pixel tags,
|
100
|
-
scripts or other similar technologies on our websites to improve the
|
101
|
-
browsing experience of our pages. We use different kinds of cookies.
|
102
|
-
|
103
|
-
|
104
|
-
Cookies are classified by its *lifespan* and the *domain* to which it
|
105
|
-
belongs.
|
106
|
-
|
107
|
-
|
108
|
-
Session Cookie::
|
109
|
-
Classified by *lifespan*. Necessary to provide you with services and
|
110
|
-
features available through our websites. Without these cookies, services
|
111
|
-
you may need, such as shopping carts or e-billing, cannot be provided.
|
112
|
-
|
113
|
-
|
114
|
-
Persistent Cookie::
|
115
|
-
Classified by *lifespan*. Necessary to provide you with services and
|
116
|
-
features available through our websites. Without these cookies, services
|
117
|
-
you may need, such as shopping carts or e-billing, cannot be provided.
|
118
|
-
|
119
|
-
|
120
|
-
First-party Cookie::
|
121
|
-
Classified by the *domain*. Collect information that is either used in
|
122
|
-
aggregate form to help us understand how the website is being used or how
|
123
|
-
effective our marketing campaigns are, or to help us customize the website
|
124
|
-
for you.
|
125
|
-
|
126
|
-
|
127
|
-
Second-party Cookie::
|
128
|
-
Classified by the *domain*. Used to make advertising messages more
|
129
|
-
relevant to you.
|
130
|
-
|
131
|
-
# ------------------------------------------------------------------------------
|
132
|
-
# END config
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/modules/defaults/stickybits.yml
|
3
|
-
# Default configuration settings for J1 Stickybits module
|
4
|
-
#
|
5
|
-
# Product/Info:
|
6
|
-
# https://jekyll.one
|
7
|
-
#
|
8
|
-
# Copyright (C) 2020 Juergen Adams
|
9
|
-
#
|
10
|
-
# J1 Template is licensed under the MIT License.
|
11
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
-
# ------------------------------------------------------------------------------
|
13
|
-
|
14
|
-
# ------------------------------------------------------------------------------
|
15
|
-
# About this configuration (used for J1 CC only)
|
16
|
-
#
|
17
|
-
about_config:
|
18
|
-
|
19
|
-
title: Stickybits
|
20
|
-
scope: Default settings
|
21
|
-
location: _data/modules/defaults/stickybits.yml
|
22
|
-
|
23
|
-
# ------------------------------------------------------------------------------
|
24
|
-
# User configuration settings
|
25
|
-
#
|
26
|
-
defaults:
|
27
|
-
|
28
|
-
enabled: true
|
29
|
-
selector: .sticky
|
30
|
-
offset: 0
|
31
|
-
useFixed: false
|
32
|
-
useStickyClasses: true # default: false
|
33
|
-
verticalPosition: bottom
|
34
|
-
|
35
|
-
# ------------------------------------------------------------------------------
|
36
|
-
# END config
|
@@ -1,142 +0,0 @@
|
|
1
|
-
# ------------------------------------------------------------------------------
|
2
|
-
# ~/_data/modules/ssc.yml
|
3
|
-
# User Configuration of the SSC Module (Sticky Side Menu)
|
4
|
-
#
|
5
|
-
# Product/Info:
|
6
|
-
# https://jekyll.one
|
7
|
-
#
|
8
|
-
# Copyright (C) 2020 Juergen Adams
|
9
|
-
#
|
10
|
-
# J1 Template is licensed under the MIT License.
|
11
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
-
#
|
13
|
-
# ------------------------------------------------------------------------------
|
14
|
-
# NOTE:
|
15
|
-
#
|
16
|
-
# ------------------------------------------------------------------------------
|
17
|
-
|
18
|
-
# ------------------------------------------------------------------------------
|
19
|
-
# About this configuration (used for J1 CC only)
|
20
|
-
#
|
21
|
-
about_config:
|
22
|
-
title: Sticky Side Menu
|
23
|
-
scope: User settings
|
24
|
-
location: _data/modules/ssm.yml
|
25
|
-
|
26
|
-
# ------------------------------------------------------------------------------
|
27
|
-
# User settings
|
28
|
-
#
|
29
|
-
settings:
|
30
|
-
enabled: true
|
31
|
-
mode: icon # icon|menu
|
32
|
-
|
33
|
-
# ----------------------------------------------------------------------------
|
34
|
-
# CONTAINER elements
|
35
|
-
#
|
36
|
-
items:
|
37
|
-
|
38
|
-
# --------------------------------------------------------------------------
|
39
|
-
# TOPLEVEL items
|
40
|
-
#
|
41
|
-
- item: Reload Page
|
42
|
-
enabled: true
|
43
|
-
id: ssm_reload_page
|
44
|
-
href:
|
45
|
-
target:
|
46
|
-
event_handler: reload_page
|
47
|
-
icon: reload
|
48
|
-
icon_classes:
|
49
|
-
|
50
|
-
- item: Table of Contents
|
51
|
-
enabled: true
|
52
|
-
id: ssm_toc
|
53
|
-
href:
|
54
|
-
target:
|
55
|
-
event_handler: open_ssm_toc
|
56
|
-
icon: wrap
|
57
|
-
icon_classes:
|
58
|
-
|
59
|
-
- item: To Top
|
60
|
-
enabled: true
|
61
|
-
id: ssm_scroll_to_top
|
62
|
-
event_handler: scroll_to_top
|
63
|
-
href:
|
64
|
-
target:
|
65
|
-
icon: step-backward-2
|
66
|
-
icon_classes: mdi-rotate-90
|
67
|
-
|
68
|
-
- item: Previous Section
|
69
|
-
enabled: true
|
70
|
-
id: ssm_previous_section
|
71
|
-
event_handler: scroll_previous_section
|
72
|
-
href:
|
73
|
-
target:
|
74
|
-
icon: step-backward
|
75
|
-
icon_classes: mdi-rotate-90
|
76
|
-
|
77
|
-
- item: Next Section
|
78
|
-
enabled: true
|
79
|
-
id: ssm_next_section
|
80
|
-
event_handler: scroll_next_section
|
81
|
-
href:
|
82
|
-
target:
|
83
|
-
icon: step-forward
|
84
|
-
icon_classes: mdi-rotate-90
|
85
|
-
|
86
|
-
- item: To Bottom
|
87
|
-
enabled: true
|
88
|
-
id: ssm_scroll_to_bottom
|
89
|
-
event_handler: scroll_to_bottom
|
90
|
-
href:
|
91
|
-
target:
|
92
|
-
icon: step-forward-2
|
93
|
-
icon_classes: mdi-rotate-90
|
94
|
-
|
95
|
-
- item: Leave a Comment
|
96
|
-
enabled: false
|
97
|
-
id: ssm_scroll_to_comments
|
98
|
-
event_handler: scroll_to_comments
|
99
|
-
href:
|
100
|
-
target:
|
101
|
-
icon: comment
|
102
|
-
icon_classes:
|
103
|
-
|
104
|
-
- item: Tester
|
105
|
-
enabled: false
|
106
|
-
id: ssm_test
|
107
|
-
href:
|
108
|
-
target:
|
109
|
-
event_handler: alert_me
|
110
|
-
icon: alert
|
111
|
-
icon_classes:
|
112
|
-
|
113
|
-
# --------------------------------------------------------------------------
|
114
|
-
# MENU items
|
115
|
-
#
|
116
|
-
- item: Social Share
|
117
|
-
enabled: false
|
118
|
-
icon: menu
|
119
|
-
icon_classes:
|
120
|
-
sublevel:
|
121
|
-
|
122
|
-
- title: Facebook
|
123
|
-
enabled: true
|
124
|
-
id: ssm_facebook
|
125
|
-
href: https://www.facebook.com/sharer/sharer.php?u=http://demo.enigmaweb.com.au/
|
126
|
-
target:
|
127
|
-
event_handler: window.open(this.href, 'facebook', 'left=60,top=40,width=500,height=500,toolbar=1,resizable=0'); return false;
|
128
|
-
icon: facebook
|
129
|
-
icon_classes:
|
130
|
-
|
131
|
-
- title: Twitter
|
132
|
-
enabled: true
|
133
|
-
id: ssm_twitter
|
134
|
-
href: https://twitter.com/home?status=http://demo.enigmaweb.com.au/
|
135
|
-
target:
|
136
|
-
event_handler: window.open(this.href, 'twitter', 'left=60,top=40,width=500,height=500,toolbar=1,resizable=0'); return false;
|
137
|
-
icon: twitter
|
138
|
-
icon_classes:
|
139
|
-
|
140
|
-
|
141
|
-
# ------------------------------------------------------------------------------
|
142
|
-
# END config
|
Binary file
|
Binary file
|
Binary file
|
data/lib/starter_web/collections/posts/public/featured/_posts/000_includes/attributes.asciidoc
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
// ~/document_base_folder/000_includes
|
2
|
-
// Asciidoc attribute includes: attributes.asciidoc
|
3
|
-
// -----------------------------------------------------------------------------
|
4
|
-
|
5
|
-
// URLs - Internal references and/or sources on the Internet
|
6
|
-
// -----------------------------------------------------------------------------
|
7
|
-
tag::urls[]
|
8
|
-
|
9
|
-
:parker-blog: https://byparker.com/blog/2014/clearing-up-confusion-around-baseurl/
|
10
|
-
|
11
|
-
end::urls[]
|
12
|
-
|
13
|
-
|
14
|
-
// Tags - Asciidoc attributes used internally
|
15
|
-
// -----------------------------------------------------------------------------
|
16
|
-
tag::tags[]
|
17
|
-
|
18
|
-
:figure-caption: Figure
|
19
|
-
|
20
|
-
end::tags[]
|
21
|
-
|
22
|
-
|
23
|
-
// Data - Data elements for Asciidoctor extensions
|
24
|
-
// -----------------------------------------------------------------------------
|
25
|
-
tag::data[]
|
26
|
-
|
27
|
-
:docker-windows-kinematic-alpha-data: "blog/series/j1_using_docker/kinematic_alpha.1280x600.png, Docker UI Kinematic on Windows"
|
28
|
-
|
29
|
-
end::data[]
|
30
|
-
|
31
|
-
|
32
|
-
// Product|Author - Document (e.g release) and Author information
|
33
|
-
// -----------------------------------------------------------------------------
|
34
|
-
tag::product_info[]
|
35
|
-
|
36
|
-
:license: MIT License
|
37
|
-
:revdate: 2018
|
38
|
-
:revnumber: 1.0.0
|
39
|
-
|
40
|
-
end::product_info[]
|
41
|
-
|
42
|
-
tag::authors[]
|
43
|
-
|
44
|
-
:uri-author-juergen-adams: https://jekyll.one
|
45
|
-
|
46
|
-
end::authors[]
|
47
|
-
|
data/lib/starter_web/collections/posts/public/series/_posts/000_includes/attributes.asciidoc
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
// ~/document_base_folder/000_includes
|
2
|
-
// Asciidoc attribute includes: attributes.asciidoc
|
3
|
-
// -----------------------------------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// URLs - Internal references and/or sources on the Internet
|
7
|
-
// -----------------------------------------------------------------------------
|
8
|
-
tag::urls[]
|
9
|
-
|
10
|
-
:blogging-on-github-part-2: http://digitaldrummerj.me/blogging-on-github-part-2-your-first-post/
|
11
|
-
:blogging-on-github-part-3: http://digitaldrummerj.me//blogging-on-github-part-3-adding-comments/
|
12
|
-
:blogging-on-github-part-4: http://digitaldrummerj.me//blogging-on-github-part-4-creating-additional-pages/
|
13
|
-
|
14
|
-
:docker-install-toolbox-on-windows: https://docs.docker.com/toolbox/toolbox_install_windows/
|
15
|
-
:virtualbox-install-on-windows: https://www.virtualbox.org/wiki/Downloads
|
16
|
-
|
17
|
-
end::urls[]
|
18
|
-
|
19
|
-
// Tags - Asciidoc attributes used internally
|
20
|
-
// -----------------------------------------------------------------------------
|
21
|
-
tag::tags[]
|
22
|
-
|
23
|
-
:debug: false
|
24
|
-
|
25
|
-
:window: window="_blank"
|
26
|
-
:figure-caption: Figure
|
27
|
-
:y: icon:check[role="green"]
|
28
|
-
:n: icon:times[role="red"]
|
29
|
-
:c: icon:file-alt[role="blue"]
|
30
|
-
:arrow-r: icon:arrow-right[role="blue"]
|
31
|
-
:arrow-l: icon:arrow-left[role="blue"]
|
32
|
-
:arrow-t: icon:arrow-top[role="blue"]
|
33
|
-
:arrow-d: icon:arrow-down[role="blue"]
|
34
|
-
:beginner: icon:battery-quarter[role="md-blue"]
|
35
|
-
:inter: icon:battery-half[role="md-blue"]
|
36
|
-
:advanced: icon:battery-full[role="md-blue"]
|
37
|
-
:emdash: —
|
38
|
-
|
39
|
-
end::tags[]
|
40
|
-
|
41
|
-
|
42
|
-
// Data - Data elements for Asciidoctor extensions
|
43
|
-
// -----------------------------------------------------------------------------
|
44
|
-
tag::data[]
|
45
|
-
|
46
|
-
:data-docker-windows-kinematic-alpha: "collections/blog/series/j1_using_docker/kinematic_alpha.1280x600.png, Docker UI Kinematic on Windows"
|
47
|
-
|
48
|
-
end::data[]
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
// Product|Author - Document (e.g release) and Author information
|
53
|
-
// -----------------------------------------------------------------------------
|
54
|
-
tag::product_info[]
|
55
|
-
|
56
|
-
:license: MIT License
|
57
|
-
:revdate: 2018
|
58
|
-
:revnumber: 1.0.0
|
59
|
-
|
60
|
-
end::product_info[]
|
61
|
-
|
62
|
-
tag::authors[]
|
63
|
-
|
64
|
-
:uri-author-juergen-adams: https://jekyll.one
|
65
|
-
|
66
|
-
end::authors[]
|
@@ -1,502 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Using Docker
|
3
|
-
tagline: docker on windows
|
4
|
-
description: Docker on Windows
|
5
|
-
|
6
|
-
date: 2018-11-01 00:00:00 +0100
|
7
|
-
series: Docker
|
8
|
-
adsense: false
|
9
|
-
comments: false
|
10
|
-
toc: true
|
11
|
-
|
12
|
-
tags: [ Tutorial, kickstarter ]
|
13
|
-
index: [ Docker, Windows, Shared, Folder, Folders ]
|
14
|
-
categories: []
|
15
|
-
|
16
|
-
regenerate: false
|
17
|
-
|
18
|
-
resources: []
|
19
|
-
resource_options:
|
20
|
-
- toccer:
|
21
|
-
collapseDepth: 3
|
22
|
-
- attic:
|
23
|
-
padding_top: 400
|
24
|
-
padding_bottom: 50
|
25
|
-
opacity: 0.5
|
26
|
-
slides:
|
27
|
-
- url: /assets/images/modules/attics/banner/docker-1280x600-bw.jpg
|
28
|
-
alt: docker_banner_r-1280x500-bw
|
29
|
-
---
|
30
|
-
|
31
|
-
// NOTE: General Asciidoc page attributes settings
|
32
|
-
// -----------------------------------------------------------------------------
|
33
|
-
:page-liquid:
|
34
|
-
|
35
|
-
|
36
|
-
// Additional Asciidoc page attributes goes here
|
37
|
-
// -----------------------------------------------------------------------------
|
38
|
-
:page-imagesdir: {{page.images.dir}}/j1_using_docker
|
39
|
-
|
40
|
-
// Place an excerpt at the most top position
|
41
|
-
// -----------------------------------------------------------------------------
|
42
|
-
How to run Docker smooth on Windows? Sounds like a quite simple question
|
43
|
-
follwed by a simple answer: go for *Docker for Windows*. Unfortunately,
|
44
|
-
the answer is *not* that easy. As often: it depends (on the use case).
|
45
|
-
|
46
|
-
[role="clearfix mb-3"]
|
47
|
-
excerpt__end
|
48
|
-
|
49
|
-
// Liquid procedures
|
50
|
-
// -----------------------------------------------------------------------------
|
51
|
-
{% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%}
|
52
|
-
|
53
|
-
// Initialize entry document paths
|
54
|
-
//
|
55
|
-
{% include {{set_env_entry_document}} init_folders=all %}
|
56
|
-
|
57
|
-
// Load tags and urls
|
58
|
-
//
|
59
|
-
include::{includedir}/attributes.asciidoc[tag=tags]
|
60
|
-
include::{includedir}/attributes.asciidoc[tag=urls]
|
61
|
-
include::{includedir}/attributes.asciidoc[tag=data]
|
62
|
-
|
63
|
-
// Additional debug output (if :debug: set to true)
|
64
|
-
// -----------------------------------------------------------------------------
|
65
|
-
:debug: false
|
66
|
-
include::{tabledir}/debug_variables.asciidoc[]
|
67
|
-
|
68
|
-
// Page content
|
69
|
-
// -----------------------------------------------------------------------------
|
70
|
-
//include::{documentsdir}/100-docker-using-shared-folders.asciidoc[]
|
71
|
-
|
72
|
-
|
73
|
-
[[readmore]]
|
74
|
-
== Docker smooth on Windows
|
75
|
-
|
76
|
-
// [role="mb-3"]
|
77
|
-
// image::/assets/images/collections/blog/series/j1_using_docker/windows_docker_banner.1280x500.png[{{page.title}}]
|
78
|
-
|
79
|
-
In general, two incarnations of Docker for Windows are available:
|
80
|
-
|
81
|
-
* Legacy solution: *Docker Toolbox*
|
82
|
-
* Native solution: *Docker for Windows*
|
83
|
-
|
84
|
-
Before the native version of Docker *Docker for Windows* was available,
|
85
|
-
a *cross-platform* solution called *Docker Toolbox* could be used.
|
86
|
-
*Docker Toolbox* is a bundle of *current* Docker software based on
|
87
|
-
*Docker Machine* combined with the *Docker Engine* bundled with
|
88
|
-
*VirtualBox* as a Hypervisor to run Linux boxes as virtual machines
|
89
|
-
on Windows.
|
90
|
-
|
91
|
-
What the Docker team recomments: Update to the newer package, if possible.
|
92
|
-
This should be discussed, especially for Windows, in more detail ...
|
93
|
-
|
94
|
-
[WARNING]
|
95
|
-
====
|
96
|
-
*The Docker Team mentions the following about Docker Toolbox:*
|
97
|
-
|
98
|
-
Docker Toolbox is for *older Windows* systems (or *Apple MacOS* versions)
|
99
|
-
that *does not meet* the requirements of the *native* Docker version.
|
100
|
-
====
|
101
|
-
|
102
|
-
Docker won't never run *natively* on Windows. The *Container Technology*
|
103
|
-
used by Docker depends on *Linux* (at least on a Unix flavour of the host
|
104
|
-
operating system). For all non-Linux (or Unix) platforms, a *Hypervisor* is
|
105
|
-
needed to make it possible to run the needed *Linux OS* for Docker.
|
106
|
-
|
107
|
-
Yes, Windows support a *native* Hypervisor layer: `Hyper-V`. Using the Windows
|
108
|
-
component `Hyper-V`, any operating system can be run as *virtual machines* on
|
109
|
-
Windows. But it should be kept in mind: the Hypervisor layer is *always* needed;
|
110
|
-
as well as for the so-called the *native* Docker version on Windows. But:
|
111
|
-
real *native* Docker versions does *not* need a Hypervisor layer; they run
|
112
|
-
containers direcly on the host OS! This should be kept on mind.
|
113
|
-
|
114
|
-
They are some pittfals using *Docker for Windows* if you go for:
|
115
|
-
|
116
|
-
* Stability - found quite often issues running containers on *Docker for Windows*.
|
117
|
-
If you're not a Windows specialist, it is hard to findout issues for `Hyper-V`
|
118
|
-
, the VM and|or both.
|
119
|
-
* Flexibility - it is *NOT* possible to use the Hypervisor `Hyper-V` in
|
120
|
-
parallel to *VirtualBox* as an alternative
|
121
|
-
* Incompatibility - on some Windows installations, and for sure they met the
|
122
|
-
requirements of the *native* Docker version, the installaton was *NOT*
|
123
|
-
successful and Docker fails to start
|
124
|
-
|
125
|
-
Again: the software included in the *Docker Toolbox* are *current* versions.
|
126
|
-
The latest Toolbox contains:
|
127
|
-
|
128
|
-
* the Docker Engine Docker, version 18.03.0-ce, build 0520e24302
|
129
|
-
* the Docker Machine, version 0.14.0, build 89b8332
|
130
|
-
* the Docker Composer, version 1.20.1, build 5d8c71b2
|
131
|
-
* a current MINGW64-based GNU bash, version 4.4.19(2)-release (x86_64-pc-msys)
|
132
|
-
|
133
|
-
For all the people having their (IT) roots on Unix respectively Linux, the
|
134
|
-
*Docker Toolbox* is the better solution on Windows (for now). No need to go
|
135
|
-
for the Windows Hypervisor `Hyper-V` - Oracle *VirtualBox* can be used
|
136
|
-
instead; as quite often used for testing and development.
|
137
|
-
|
138
|
-
Let's have a look how to *Manage Linux on Windows*, to use Docker on the
|
139
|
-
Windows platform.
|
140
|
-
|
141
|
-
== Installing Docker Toolbox
|
142
|
-
|
143
|
-
As discussed ealier, *Docker Toolbox* is using *VirtualBox* for the
|
144
|
-
Hypervisor to create the Linux VMs needed. To get the latest version,
|
145
|
-
install VirtualBox first (Docker Toolbox includes a installer package
|
146
|
-
for VBox but not nessesarily at their latets version).
|
147
|
-
|
148
|
-
Go for the link:{virtualbox-install-on-windows}[VirtualBox Download Page]
|
149
|
-
and select under *VirtualBox 5.x.y platform packages* the latest version
|
150
|
-
for Windows (Windows hosts). Install the package - the installation process
|
151
|
-
is quite simple supported by an build in installer wizard.
|
152
|
-
|
153
|
-
If done, go for the installation of the Toolbox. A current package can be
|
154
|
-
retrieved from link:{docker-install-toolbox-on-windows}[Docker Documents].
|
155
|
-
The page includes all the info needed to install the software.
|
156
|
-
|
157
|
-
NOTE: For the installation of the *Docker Toolbox*, please deselect the
|
158
|
-
installation of *VirtualBox* included as the software has been already
|
159
|
-
installed.
|
160
|
-
|
161
|
-
NOTE: The commandline interface used by *Docker Toolbox* is based on
|
162
|
-
*Git MSYS-git UNIX tools*. If you have *Git* installed already for your
|
163
|
-
Windows host, please deselect the installation of *Git* included.
|
164
|
-
|
165
|
-
*Docker Toolbox* comes with *NO* graphical user interface (GUI). To manage
|
166
|
-
Docker, the included GNU bash of the *Git MSYS-git UNIX tools* shoud be used.
|
167
|
-
A very first version of a (native) Docker UI on Windows is *Kitematic*,
|
168
|
-
currently in a alpha version included.
|
169
|
-
|
170
|
-
ifdef::backend-html5[]
|
171
|
-
.Docker UI Kinematic on Windows
|
172
|
-
lightbox::docker-windows-kinematic-alpha[800, {data-docker-windows-kinematic-alpha}]
|
173
|
-
endif::[]
|
174
|
-
|
175
|
-
TIP: You should check *Kitematic*. If started for *Docker Toolbox* on Windows,
|
176
|
-
change (the Hypervisor) to Virtualbox.
|
177
|
-
|
178
|
-
For Windows users a commandline interface to manage a complex system like
|
179
|
-
Docker may sound a bit stone age. It's not for good reasons:
|
180
|
-
|
181
|
-
* the knowlegde of the base Docker commands is essential to understand the
|
182
|
-
Container Technology better
|
183
|
-
|
184
|
-
* Blalal blaaa
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
== Manage Linux on Windows
|
189
|
-
|
190
|
-
VirtualBox is a greate piece of software for desktop and workstation
|
191
|
-
virtualization. A huge number of IT specialist and developers are using VB
|
192
|
-
for: testing and development environments. Sometimes for production
|
193
|
-
environments – if it's applicable.
|
194
|
-
|
195
|
-
One good idea for VirtualBox is, if you are Web|App developer for Linux you
|
196
|
-
can keep *Windows* as your primary OS - yeah, yeah those people are living on
|
197
|
-
our planet! One can install a Linux distribution of choice in VirtualBox VM
|
198
|
-
and reap both benefits of Windows as primary OS and Linux as a server
|
199
|
-
platform for good reasons.
|
200
|
-
|
201
|
-
=== Create a Linux VM
|
202
|
-
|
203
|
-
lorem:sentences[5]
|
204
|
-
|
205
|
-
lorem:sentences[3]
|
206
|
-
|
207
|
-
|
208
|
-
=== Sharing Data
|
209
|
-
|
210
|
-
For (real) native Docker installations, it is easy to share data between then
|
211
|
-
host OS and containers managed by Docker. It is simple this:
|
212
|
-
|
213
|
-
[source, sh]
|
214
|
-
----
|
215
|
-
docker run --rm \
|
216
|
-
--volume=$PWD:/srv/jekyll \
|
217
|
-
-p 35729:35729 -p 40000:40000 \
|
218
|
-
-it jekyll-one/j1:latest \
|
219
|
-
j1 serve --incremental --livereload
|
220
|
-
----
|
221
|
-
|
222
|
-
The container, instructed by `--volume=$PWD:/srv/jekyll` shares the
|
223
|
-
filesystem of the host - the *native* way to bring in data into a
|
224
|
-
container for processing. In the example a static Jekyll Web is created
|
225
|
-
by J1 Template (j1), served by the ports 35729 for livereload and 40000
|
226
|
-
serving the web.
|
227
|
-
|
228
|
-
For the Windows platform, using a virtual Linux Box for Docker containers,
|
229
|
-
this is *NOT* possible. The virtual system is managed by Virtualbox and no
|
230
|
-
direct relationship is in between the VBox and the host operating system
|
231
|
-
Windows! No (direct) access to the host filesystem is possible. Bad luck so
|
232
|
-
far.
|
233
|
-
|
234
|
-
Generally spoken, there are 3 ways of sharing files between a Windows host
|
235
|
-
and Linux guest boxes; keep files:
|
236
|
-
|
237
|
-
* in the guest (Linux) and share them with host through Samba
|
238
|
-
* on host (Windows) and use VirtualBox *Shared Folders*
|
239
|
-
* on host (Windows) and mount Windows *Public Folders* via CIFS
|
240
|
-
from within guest (Linux)
|
241
|
-
|
242
|
-
For all people experienced on the Linux platform, the first option is
|
243
|
-
probably the easiest. But it has it’s drawbacks. In most cases for testing,
|
244
|
-
it's *NOT* wanted to keep files in a VM. In case of corruption of the VM,
|
245
|
-
reinstallation needs, or whatever yor data is *lost* in most cases. Truly,
|
246
|
-
not an option.
|
247
|
-
|
248
|
-
Typically developers want them kept on native Windows *disks* as they are
|
249
|
-
expected as more safely stored on physical devices and easier to backup.
|
250
|
-
So first option is clearly out.
|
251
|
-
|
252
|
-
*Shared Folders* are really a great idea. After installing the *VirtualBox
|
253
|
-
Guest Additions* (which brings the mount.vboxsf binary and vboxsf kernel
|
254
|
-
module) the guest can mount automatically a Windows OS folder inside the VM.
|
255
|
-
Some klicks further the guest start's, mount the *shared folder* in guest and
|
256
|
-
voila: you're done! Sounds really great.
|
257
|
-
|
258
|
-
But there's a catch – performance. Shared Folders are really, really horrible
|
259
|
-
slow. Which in turn kills the idea of programming and testing code without
|
260
|
-
loosing hair because of the slowness. You can find tons of articles around
|
261
|
-
slow shared folders on the Internet; both for the Big Dogs: VMware and
|
262
|
-
VirtualBox. But no solution. Since decades.
|
263
|
-
|
264
|
-
Analyzing the performance, it's obvious that kernel spends really large
|
265
|
-
amount of time in IO mode – so the vboxsf CIFS emulation of VirtualBoxis
|
266
|
-
behaving something like a slug. Birds love slugs but IT professionals don’t
|
267
|
-
like that, do they?
|
268
|
-
|
269
|
-
It seems that the only viable solution is sharing folders though Windows and
|
270
|
-
mounting them via CIFS on the guest, the virtual Linux box. This way, a
|
271
|
-
similiar flexible solution for sharing folders can be achived but at a much
|
272
|
-
better performance.
|
273
|
-
|
274
|
-
|
275
|
-
=== Performance tests
|
276
|
-
|
277
|
-
Anyway, *shared folders* will be always slow as the are of type *NAS* - network
|
278
|
-
attached storage. For a local network nowadays, typically at Gigabit level and
|
279
|
-
quite low in latency, an acceptable performance cab be achived.
|
280
|
-
|
281
|
-
I did some simple tests to show the performance differences. There are three
|
282
|
-
directories I did for my tests:
|
283
|
-
|
284
|
-
* /mnt/media/repo1, data on a physical (local) disk on the host
|
285
|
-
* /mnt/media/repo2, data on a physical (local) disk in the guest
|
286
|
-
* /mnt/media/repo3, data on a Windows share mounted via cifs in the guest
|
287
|
-
|
288
|
-
I've been using simple (bash) script based on *dd* commands for testing.
|
289
|
-
The *dd* commands used as a base are shown below. For sure not a quite
|
290
|
-
sophisticated test scenario but it's giving a general impression what can
|
291
|
-
achived in real world.
|
292
|
-
|
293
|
-
NOTE: For multi-platform testing, on Windows the `dd` command is used as well.
|
294
|
-
For *Docker Toolbox*, beside the GNU bash, a full set of *GNU CoreUtils* are
|
295
|
-
available as well (accessible out of the *Docker Quickstart Terminal*). The
|
296
|
-
used (bash) test script needs to be run out of *Docker Quickstart Terminal*.
|
297
|
-
Download the tester script from here.
|
298
|
-
|
299
|
-
The test script *docker_perf_test.sh* supports a test scenario for
|
300
|
-
*General System Performance*. This is focussing on pure CPU|Memory power.
|
301
|
-
On both systems (host and guest) these tests are using pure *kernel services*
|
302
|
-
for creating input and output data. One is creating random input data as
|
303
|
-
fast as possible, the other discards everything it gets as fast as it can.
|
304
|
-
|
305
|
-
.General System Performance
|
306
|
-
[source, sh]
|
307
|
-
----
|
308
|
-
dd if=/dev/urandom of=/dev/null bs=1M count=10000
|
309
|
-
----
|
310
|
-
|
311
|
-
Please see those tests for *General System Performance* for the background
|
312
|
-
*What could be achived in therory*. These tests may helpful to compare your
|
313
|
-
current setup for the host and the guest same way.
|
314
|
-
|
315
|
-
As mentioned, all tests for *docker_perf_test.sh* are based on the `dd`
|
316
|
-
command. For *real world* measures, standard *dd tests* are used. You'll
|
317
|
-
find a lot of those on the Internet. All tests for *docker_perf_test.sh* are
|
318
|
-
changed (from `/dev/zero`) to `/dev/urandom` for the input to put some
|
319
|
-
*pressure* on the CPU while processing data for reading or writing from the
|
320
|
-
filesystem to be checked. All the tests are *rules of thumb*, no technical
|
321
|
-
measures.
|
322
|
-
|
323
|
-
NOTE: Zum Messen der Schreibperformance liest man die zu Schreibenden
|
324
|
-
Daten am besten aus /dev/zero und schreibt eine normale Datei im Filesystem
|
325
|
-
(z.B. mit of=/root/testfile). Die folgenden Beispiele verwenden ein Testdatei,
|
326
|
-
um irrtümlichen Datenverlust zu vermeiden. Die dabei erzielbare Performance
|
327
|
-
Werte sind etwas geringer (da dadurch auch Metadaten im Filesystem geschrieben
|
328
|
-
werden).
|
329
|
-
|
330
|
-
Find the base `dd` commands for read an write performance tests below. The
|
331
|
-
exported shared folder on Windows is *C:\Users\Public* mapped to the Unix
|
332
|
-
(POSIX) folder scheme of */c/Users/Public* on the guest OS.
|
333
|
-
|
334
|
-
.Write Performance - Windows host (local disk), Linux guest (shared disk)
|
335
|
-
[source, sh]
|
336
|
-
----
|
337
|
-
dd if=/dev/urandom bs=1M count=1024 | split -b 1M - name.
|
338
|
-
----
|
339
|
-
.Write Performance (local disk), Linux guest
|
340
|
-
[source, sh]
|
341
|
-
----
|
342
|
-
dd if=/dev/urandom of=/var/tmp/test/samplefile bs=1M count=1024
|
343
|
-
----
|
344
|
-
|
345
|
-
.Read Performance - Windows host (local disk), Linux guest (shared disk)
|
346
|
-
[source, sh]
|
347
|
-
----
|
348
|
-
dd if=/c/Users/Public/test/samplefile of=/dev/null bs=1M count=1024 iflag=direct
|
349
|
-
----
|
350
|
-
.Read Performance (local disk), Linux guest
|
351
|
-
[source, sh]
|
352
|
-
----
|
353
|
-
dd if=/var/tmp/test/samplefile of=/dev/null bs=1M count=1024 iflag=direct
|
354
|
-
----
|
355
|
-
|
356
|
-
Have a look at the table below for the measures found on a *Windows 10*
|
357
|
-
desktop host (Intel Core Quad Q9550) using a *SATA-300* disk for the local
|
358
|
-
physical disk and a Gigabit network interface (*Realtek PCIe GBE* familiy)
|
359
|
-
running a *CentOS 7 Linux* (version 3.10.0-862) as a guest:
|
360
|
-
|
361
|
-
.Data transfer rates for 1 GB of data
|
362
|
-
[cols="2,2,4,3, options="header", role="table-responsive, full-width"]
|
363
|
-
|===============================================================================
|
364
|
-
|direction |mountpoint |source |througput [MB/s]
|
365
|
-
|
366
|
-
|`read`
|
367
|
-
|/mnt/media/repo1
|
368
|
-
|physical (local) disk on the *host*
|
369
|
-
|85.20
|
370
|
-
|
371
|
-
|`read`
|
372
|
-
|/mnt/media/repo2
|
373
|
-
|physical (local) disk on the *guest*
|
374
|
-
|147.00
|
375
|
-
|
376
|
-
|`read`
|
377
|
-
|/mnt/media/repo3
|
378
|
-
|shared disk on the *guest*
|
379
|
-
|30.3
|
380
|
-
|
381
|
-
|`write`
|
382
|
-
|/mnt/media/repo1
|
383
|
-
|physical (local) disk on the *host*
|
384
|
-
|234.00
|
385
|
-
|
386
|
-
|`write`
|
387
|
-
|/mnt/media/repo2
|
388
|
-
|physical (local) disk on the *guest*
|
389
|
-
|34.00
|
390
|
-
|
391
|
-
|`write`
|
392
|
-
|/mnt/media/repo3
|
393
|
-
|shared disk on the *guest*
|
394
|
-
|39.9
|
395
|
-
|
396
|
-
|===============================================================================
|
397
|
-
|
398
|
-
WARNING: Bei Verwendung von if=/dev/zero und bs=1G benötigt das Linuxsystem
|
399
|
-
1GB freien Platz im RAM. Falls Ihr Testsystem nicht ausreichend RAM ...
|
400
|
-
|
401
|
-
NOTE: Um praxisnahe Ergebnisse zu erhalten empfehlen wir die beschrieben Tests
|
402
|
-
mehrmals (z.B. 3 bis 10x) durchzuführen. Damit können Sie Ausreißer rechtzeitig
|
403
|
-
erkennen.
|
404
|
-
|
405
|
-
|
406
|
-
lorem:sentences[5]
|
407
|
-
|
408
|
-
== Publish a Shared Folder
|
409
|
-
|
410
|
-
lorem:sentences[5]
|
411
|
-
|
412
|
-
lorem:sentences[3]
|
413
|
-
|
414
|
-
|
415
|
-
== Mount Shared Folders on Linux
|
416
|
-
|
417
|
-
lorem:sentences[5]
|
418
|
-
|
419
|
-
=== Installing CIFS
|
420
|
-
|
421
|
-
For the Linux VM, a current Ubunt Server of version 18.06 is used. To mount
|
422
|
-
CIFS shares, the package `cifs-utils` needs to be installed:
|
423
|
-
|
424
|
-
[source, bash]
|
425
|
-
----
|
426
|
-
sudo apt-get -y install cifs-utils
|
427
|
-
----
|
428
|
-
|
429
|
-
Mounting filesystems in general, therefor the same to the CIFS share, are
|
430
|
-
done as root. This ends up in the situation this folder cannot (accessed??)
|
431
|
-
written as normal user.
|
432
|
-
|
433
|
-
. Create the `cifs` group
|
434
|
-
+
|
435
|
-
[source, bash]
|
436
|
-
----
|
437
|
-
sudo groupadd cifs
|
438
|
-
----
|
439
|
-
|
440
|
-
[start=2]
|
441
|
-
. Add your user to the `cifs` group
|
442
|
-
+
|
443
|
-
[source, bash]
|
444
|
-
----
|
445
|
-
sudo usermod -aG cifs $USER
|
446
|
-
----
|
447
|
-
|
448
|
-
[start=3]
|
449
|
-
. Create the mountpoint (to be used by Docker) as root
|
450
|
-
+
|
451
|
-
[source, bash]
|
452
|
-
----
|
453
|
-
mkdir -p /c/Users/Public
|
454
|
-
----
|
455
|
-
|
456
|
-
[start=4]
|
457
|
-
. Change the ownership of the mountpoint
|
458
|
-
+
|
459
|
-
[source, bash]
|
460
|
-
----
|
461
|
-
chown -R root:cifs /c/Users/Public
|
462
|
-
----
|
463
|
-
|
464
|
-
[start=5]
|
465
|
-
. Create a credentials file to place user|password data safe.
|
466
|
-
+
|
467
|
-
[source, bash]
|
468
|
-
----
|
469
|
-
touch ~/.smbcredentials
|
470
|
-
----
|
471
|
-
|
472
|
-
.smbcredentials
|
473
|
-
----
|
474
|
-
username=<your_windows_user>
|
475
|
-
password=<windows_user_password>
|
476
|
-
----
|
477
|
-
|
478
|
-
=== Mount the share manually
|
479
|
-
|
480
|
-
To enable non-authorized users to read and write the shared files, specify
|
481
|
-
user and group ID that the mounted shares folders should use. This would
|
482
|
-
allow particular users and group members to read|write to the share.
|
483
|
-
|
484
|
-
To do so, the following options are used for a public mount:
|
485
|
-
|
486
|
-
* username
|
487
|
-
* password
|
488
|
-
* uid
|
489
|
-
* gid
|
490
|
-
|
491
|
-
Add the Windows host IP address to the hosts file
|
492
|
-
|
493
|
-
./etc/hosts
|
494
|
-
<ip_v4_address> <name_of_the windows_box> <alias_name>
|
495
|
-
|
496
|
-
|
497
|
-
=== Mount the share at boot-time
|
498
|
-
|
499
|
-
lorem:sentences[3]
|
500
|
-
|
501
|
-
./etc/fstab
|
502
|
-
//win10pc/Public /c/Users/Public cifs uid=1000,gid=5555,credentials=/home/jadams/.smbcredentials,iocharset=utf8,rw 0 0
|