From adb9b3fe169a92ea2da7b8c804c8b91f966c21a4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 7 May 2020 01:48:11 +0000 Subject: remove everything except Jekyll theme stuff I tagged the previous commit to explain what's going on. --- .gitattributes | 3 - .gitignore | 1 - .travis.yml | 31 --- Gemfile | 5 - Gemfile.lock | 253 ------------------- README.md | 111 -------- _config.yml | 71 ------ _config_dev.yml | 4 - _drafts/.gitkeep | 0 _includes/common/header.html | 6 +- _notes/bash.md | 66 ----- _notes/latex.md | 39 --- _notes/markdown.md | 44 ---- _posts/2015-07-03-std-call-once-bug.md | 258 ------------------- _posts/2017-01-07-building-boost.md | 248 ------------------ ...06-24-static-vs-inline-vs-unnamed-namespaces.md | 279 --------------------- _posts/2018-02-18-peculiar-indentation.md | 106 -------- _posts/2019-09-30-recurring-decimals.md | 93 ------- _posts/2020-02-24-ssh-tunnel-windows.md | 154 ------------ _posts/2020-05-06-docker-bind-mounts.md | 176 ------------- .../inline/shared.hpp | 6 - .../inline/weird/another.cpp | 11 - .../inline/weird/another.hpp | 3 - .../inline/weird/main.cpp | 13 - .../separate_method_definitions/another.cpp | 6 - .../separate_method_definitions/another.hpp | 3 - .../separate_method_definitions/main.cpp | 8 - .../separate_method_definitions/shared.hpp | 12 - .../static/main.cpp | 10 - .../static/proxy.cpp | 6 - .../static/proxy.hpp | 3 - .../static/shared.hpp | 6 - .../static_and_inline/main.cpp | 10 - .../static_and_inline/proxy.cpp | 6 - .../static_and_inline/proxy.hpp | 3 - .../static_and_inline/shared.hpp | 6 - .../unnamed_namespace_and_inline/main.cpp | 10 - .../unnamed_namespace_and_inline/proxy.cpp | 6 - .../unnamed_namespace_and_inline/proxy.hpp | 3 - .../unnamed_namespace_and_inline/shared.hpp | 10 - .../unnamed_namespaces/ok/another.cpp | 19 -- .../unnamed_namespaces/ok/another.hpp | 3 - .../unnamed_namespaces/ok/main.cpp | 22 -- .../unnamed_namespaces/weird/another.cpp | 15 -- .../unnamed_namespaces/weird/another.hpp | 3 - .../unnamed_namespaces/weird/main.cpp | 18 -- all/index.html | 21 -- assets/css/common/footer.css | 30 +++ assets/css/common/misc.css | 50 ++++ assets/css/snippets.css | 8 + assets/css/syntax.css | 66 +++++ build.sh | 20 -- categories/c++/index.html | 4 - categories/haskell/index.html | 4 - categories/math/index.html | 4 - css/common/footer.css | 30 --- css/common/misc.css | 50 ---- css/snippets.css | 8 - css/syntax.css | 66 ----- img/ssh_tunnel_services.png | Bin 65871 -> 0 bytes index.html | 25 -- notes/index.html | 21 -- serve.bat | 1 - serve.sh | 23 -- 64 files changed, 157 insertions(+), 2443 deletions(-) delete mode 100644 .gitignore delete mode 100644 .travis.yml delete mode 100644 Gemfile delete mode 100644 Gemfile.lock delete mode 100644 README.md delete mode 100644 _config.yml delete mode 100644 _config_dev.yml delete mode 100644 _drafts/.gitkeep delete mode 100644 _notes/bash.md delete mode 100644 _notes/latex.md delete mode 100644 _notes/markdown.md delete mode 100644 _posts/2015-07-03-std-call-once-bug.md delete mode 100644 _posts/2017-01-07-building-boost.md delete mode 100644 _posts/2017-06-24-static-vs-inline-vs-unnamed-namespaces.md delete mode 100644 _posts/2018-02-18-peculiar-indentation.md delete mode 100644 _posts/2019-09-30-recurring-decimals.md delete mode 100644 _posts/2020-02-24-ssh-tunnel-windows.md delete mode 100644 _posts/2020-05-06-docker-bind-mounts.md delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/shared.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/weird/another.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/weird/another.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/inline/weird/main.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/separate_method_definitions/another.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/separate_method_definitions/another.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/separate_method_definitions/main.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/separate_method_definitions/shared.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static/main.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static/proxy.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static/proxy.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static/shared.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static_and_inline/main.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static_and_inline/proxy.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static_and_inline/proxy.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/static_and_inline/shared.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespace_and_inline/main.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespace_and_inline/proxy.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespace_and_inline/proxy.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespace_and_inline/shared.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespaces/ok/another.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespaces/ok/another.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespaces/ok/main.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespaces/weird/another.cpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespaces/weird/another.hpp delete mode 100644 _posts/snippets/static_vs_inline_vs_unnamed_namespaces/unnamed_namespaces/weird/main.cpp delete mode 100644 all/index.html create mode 100644 assets/css/common/footer.css create mode 100644 assets/css/common/misc.css create mode 100644 assets/css/snippets.css create mode 100644 assets/css/syntax.css delete mode 100755 build.sh delete mode 100644 categories/c++/index.html delete mode 100644 categories/haskell/index.html delete mode 100644 categories/math/index.html delete mode 100644 css/common/footer.css delete mode 100644 css/common/misc.css delete mode 100644 css/snippets.css delete mode 100644 css/syntax.css delete mode 100644 img/ssh_tunnel_services.png delete mode 100644 index.html delete mode 100644 notes/index.html delete mode 100644 serve.bat delete mode 100755 serve.sh diff --git a/.gitattributes b/.gitattributes index 91bfadd..176a458 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1 @@ * text=auto - -*.bat text eol=crlf -*.sh text eol=lf diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 57510a2..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_site/ diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 704ca11..0000000 --- a/.travis.yml +++ /dev/null @@ -1,31 +0,0 @@ -os: linux -dist: bionic -language: ruby - -# Travis doesn't build gh-pages by default: -# https://docs.travis-ci.com/user/customizing-the-build/#building-specific-branches -branches: - only: - - gh-pages - - /.*/ - -jobs: - fast_finish: true - - include: - - stage: Build - name: Build using Bundler - install: bundle install --jobs=3 --retry=3 - script: bundle exec jekyll build --config _config.yml,_config_dev.yml --drafts - - name: Build using latest github-pages - install: - # `jekyll build` seems to be using Bundler if Gemfile is present: - - rm -f -- Gemfile Gemfile.lock - - gem install github-pages - script: jekyll build - - stage: Verify - name: Check integrity - install: bundle install --jobs=3 --retry=3 - script: - - nohup bundle exec jekyll serve --config _config.yml,_config_dev.yml --drafts & - - sleep 3 && wget --no-verbose --recursive --convert-links --adjust-extension --directory-prefix=/tmp -- http://localhost:4000/ diff --git a/Gemfile b/Gemfile deleted file mode 100644 index f037f19..0000000 --- a/Gemfile +++ /dev/null @@ -1,5 +0,0 @@ -source 'https://rubygems.org' -gem 'github-pages', '200' -# For some reason, I get `LoadError` if I omit the gems below. -gem 'json' -gem 'bigdecimal' diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 0e91adb..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,253 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - activesupport (4.2.11.1) - i18n (~> 0.7) - minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) - tzinfo (~> 1.1) - addressable (2.7.0) - public_suffix (>= 2.0.2, < 5.0) - bigdecimal (1.4.4) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.11.1) - colorator (1.1.0) - commonmarker (0.17.13) - ruby-enum (~> 0.5) - concurrent-ruby (1.1.5) - dnsruby (1.61.3) - addressable (~> 2.5) - em-websocket (0.5.1) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0.6.0) - ethon (0.12.0) - ffi (>= 1.3.0) - eventmachine (1.2.7) - execjs (2.7.0) - faraday (0.16.2) - multipart-post (>= 1.2, < 3) - ffi (1.11.1) - forwardable-extended (2.6.0) - gemoji (3.0.1) - github-pages (200) - activesupport (= 4.2.11.1) - github-pages-health-check (= 1.16.1) - jekyll (= 3.8.5) - jekyll-avatar (= 0.6.0) - jekyll-coffeescript (= 1.1.1) - jekyll-commonmark-ghpages (= 0.1.5) - jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.11.0) - jekyll-gist (= 1.5.0) - jekyll-github-metadata (= 2.12.1) - jekyll-mentions (= 1.4.1) - jekyll-optional-front-matter (= 0.3.0) - jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.2.0) - jekyll-redirect-from (= 0.14.0) - jekyll-relative-links (= 0.6.0) - jekyll-remote-theme (= 0.4.0) - jekyll-sass-converter (= 1.5.2) - jekyll-seo-tag (= 2.5.0) - jekyll-sitemap (= 1.2.0) - jekyll-swiss (= 0.4.0) - jekyll-theme-architect (= 0.1.1) - jekyll-theme-cayman (= 0.1.1) - jekyll-theme-dinky (= 0.1.1) - jekyll-theme-hacker (= 0.1.1) - jekyll-theme-leap-day (= 0.1.1) - jekyll-theme-merlot (= 0.1.1) - jekyll-theme-midnight (= 0.1.1) - jekyll-theme-minimal (= 0.1.1) - jekyll-theme-modernist (= 0.1.1) - jekyll-theme-primer (= 0.5.3) - jekyll-theme-slate (= 0.1.1) - jekyll-theme-tactile (= 0.1.1) - jekyll-theme-time-machine (= 0.1.1) - jekyll-titles-from-headings (= 0.5.1) - jemoji (= 0.10.2) - kramdown (= 1.17.0) - liquid (= 4.0.0) - listen (= 3.1.5) - mercenary (~> 0.3) - minima (= 2.5.0) - nokogiri (>= 1.10.4, < 2.0) - rouge (= 2.2.1) - terminal-table (~> 1.4) - github-pages-health-check (1.16.1) - addressable (~> 2.3) - dnsruby (~> 1.60) - octokit (~> 4.0) - public_suffix (~> 3.0) - typhoeus (~> 1.3) - html-pipeline (2.12.0) - activesupport (>= 2) - nokogiri (>= 1.4) - http_parser.rb (0.6.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - jekyll (3.8.5) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (~> 1.14) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-avatar (0.6.0) - jekyll (~> 3.0) - jekyll-coffeescript (1.1.1) - coffee-script (~> 2.2) - coffee-script-source (~> 1.11.1) - jekyll-commonmark (1.3.1) - commonmarker (~> 0.14) - jekyll (>= 3.7, < 5.0) - jekyll-commonmark-ghpages (0.1.5) - commonmarker (~> 0.17.6) - jekyll-commonmark (~> 1) - rouge (~> 2) - jekyll-default-layout (0.1.4) - jekyll (~> 3.0) - jekyll-feed (0.11.0) - jekyll (~> 3.3) - jekyll-gist (1.5.0) - octokit (~> 4.2) - jekyll-github-metadata (2.12.1) - jekyll (~> 3.4) - octokit (~> 4.0, != 4.4.0) - jekyll-mentions (1.4.1) - html-pipeline (~> 2.3) - jekyll (~> 3.0) - jekyll-optional-front-matter (0.3.0) - jekyll (~> 3.0) - jekyll-paginate (1.1.0) - jekyll-readme-index (0.2.0) - jekyll (~> 3.0) - jekyll-redirect-from (0.14.0) - jekyll (~> 3.3) - jekyll-relative-links (0.6.0) - jekyll (~> 3.3) - jekyll-remote-theme (0.4.0) - addressable (~> 2.0) - jekyll (~> 3.5) - rubyzip (>= 1.2.1, < 3.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.5.0) - jekyll (~> 3.3) - jekyll-sitemap (1.2.0) - jekyll (~> 3.3) - jekyll-swiss (0.4.0) - jekyll-theme-architect (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-cayman (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-dinky (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-hacker (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-leap-day (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-merlot (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-midnight (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-minimal (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-modernist (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-primer (0.5.3) - jekyll (~> 3.5) - jekyll-github-metadata (~> 2.9) - jekyll-seo-tag (~> 2.0) - jekyll-theme-slate (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-tactile (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-theme-time-machine (0.1.1) - jekyll (~> 3.5) - jekyll-seo-tag (~> 2.0) - jekyll-titles-from-headings (0.5.1) - jekyll (~> 3.3) - jekyll-watch (2.2.1) - listen (~> 3.0) - jemoji (0.10.2) - gemoji (~> 3.0) - html-pipeline (~> 2.2) - jekyll (~> 3.0) - json (2.2.0) - kramdown (1.17.0) - liquid (4.0.0) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) - mercenary (0.3.6) - mini_portile2 (2.4.0) - minima (2.5.0) - jekyll (~> 3.5) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - minitest (5.12.2) - multipart-post (2.1.1) - nokogiri (1.10.4) - mini_portile2 (~> 2.4.0) - octokit (4.14.0) - sawyer (~> 0.8.0, >= 0.5.3) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (3.1.1) - rb-fsevent (0.10.3) - rb-inotify (0.10.0) - ffi (~> 1.0) - rouge (2.2.1) - ruby-enum (0.7.2) - i18n - ruby_dep (1.5.0) - rubyzip (2.0.0) - safe_yaml (1.0.5) - sass (3.7.4) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.8.2) - addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - thread_safe (0.3.6) - typhoeus (1.3.1) - ethon (>= 0.9.0) - tzinfo (1.2.5) - thread_safe (~> 0.1) - unicode-display_width (1.6.0) - -PLATFORMS - ruby - -DEPENDENCIES - bigdecimal - github-pages (= 200) - json - -BUNDLED WITH - 1.16.2 diff --git a/README.md b/README.md deleted file mode 100644 index 68da3b5..0000000 --- a/README.md +++ /dev/null @@ -1,111 +0,0 @@ -Egor's blog -=========== - -Egor's blog on programming. -Hosted on [GitHub Pages] at https://egor-tensin.github.io/blog/. - -[GitHub Pages]: https://pages.github.com - -Prerequisites -------------- - -[Jekyll] is used to build a set of static HTML pages from a collection of -templates and resources. -[Bundler] is used to manage project's dependencies. -Make sure you have the `bundler` gem installed; project dependencies can then -be installed by executing - - bundle install - -in the project's root directory. - -[Jekyll]: https://jekyllrb.com/ -[Bundler]: http://bundler.io/ - -Usage ------ - -To run a local web server, execute - - bundle exec jekyll serve --watch --drafts --config _config.yml,_config_dev.yml - -in the project's root directory. -You can then review your changes at http://localhost:4000/. - -If you can't get Jekyll to properly `--watch` for file modifications on -Windows, try adding `--force_polling` to `jekyll`s options: - - bundle exec jekyll serve --watch --force_polling --drafts --config _config.yml,_config_dev.yml - -It might still not work though, but you can always re-run `jekyll` manually. - -Note that `_config_dev.yml` is included to rewrite some of the `site` fields -from `_config.yml` during development. -In particular, it - -* sets `minified_externals` to `false` so that the properly formatted versions -of external CSS stylesheets and JavaScript files are included instead of the -`min`ified versions, -* sets `include_comments` to `false` to exclude the Disqus comments section -from the posts, -* sets `baseurl` to an empty string so that the website can be accessed from -local web server's root directory (i.e. from http://localhost:4000/ instead of -http://localhost:4000/blog/). - -### Access via file:// - -Jekyll doesn't provide native support for generating a static website which can -be browsed without running an instance of Jekyll's web server. -One easy workaround is to `wget` the website and convert the links: - - wget --convert-links --recursive http://localhost:4000/ - -### Typesetting math - -[MathJax] can be used to typeset mathematics using LaTeX. -To use MathJax, set `mathjax` to `true` in page's front matter. -Then you can do things like this: - -``` -This is an inline formula: $$y = kx + b$$. -This is a formula in a separate block: - -$$ -y = kx + b -$$ -``` - -[MathJax]: https://www.mathjax.org/ - -#### GitHub workarounds - -MathJax version 3 is used, which is unsupported by Kramdown (which produces -`