diff --git a/DIRECTORY_TREE.md b/DIRECTORY_TREE.md index 1e8463a..71f5693 100644 --- a/DIRECTORY_TREE.md +++ b/DIRECTORY_TREE.md @@ -3,9 +3,6 @@
. ├─ jekyll_site -│ ├─ _includes -│ │ ├─ counters_body.html -│ │ └─ counters_head.html │ ├─ css/pomodoro5.css │ ├─ en │ │ ├─ 2023 diff --git a/LICENSE.md b/LICENSE.md index 6d4e1db..3957dce 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -© Головин Г.Г., 2021-2023 +© Головин Г.Г., 2021-2024 Опубликовано под [Открытой лицензией 1.1](OPEN_LICENSE.txt) @@ -8,7 +8,7 @@ --- -© Golovin G.G., translation from Russian, 2021-2023 +© Golovin G.G., translation from Russian, 2021-2024 Published under the [Open License 1.1](OPEN_LICENSE.txt) diff --git a/build.sh b/build.sh index 46b2fe9..2d45470 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,6 @@ rm -rf _site_older rm -rf _site_color echo "Сборка старого помидора." mkdir -p _site_older -cp -r jekyll_site/_includes _site_older cp -r jekyll_site/ru _site_older cp -r jekyll_site/en _site_older cp -r jekyll_site/ru/index.md _site_older @@ -18,7 +17,6 @@ cp -r _site .. cd .. echo "Сборка цветного помидора." mkdir -p _site_color -cp -r jekyll_site/_includes _site_color cp -r jekyll_site/ru _site_color cp -r jekyll_site/en _site_color cp -r jekyll_site/ru/index.md _site_color diff --git a/jekyll_site/_config_color.yml b/jekyll_site/_config_color.yml index 1fdccb9..04109d8 100644 --- a/jekyll_site/_config_color.yml +++ b/jekyll_site/_config_color.yml @@ -20,6 +20,8 @@ author: "Головин Г.Г." author_translated: "Golovin G.G." # дополнение к подписи в футере для переведённых страниц translation_caption: "translation from Russian" +# номер счётчика для страниц +yandex_metrika: "95699485" # тема оформления для сборки theme: color-tomato-theme # макет для сборки diff --git a/jekyll_site/_config_older.yml b/jekyll_site/_config_older.yml index f6a94b9..e091d3f 100644 --- a/jekyll_site/_config_older.yml +++ b/jekyll_site/_config_older.yml @@ -20,6 +20,8 @@ author: "Головин Г.Г." author_translated: "Golovin G.G." # дополнение к подписи в футере для переведённых страниц translation_caption: "translation from Russian" +# номер счётчика для страниц +yandex_metrika: "95699485" # тема оформления для сборки theme: older-tomato-theme # макет для сборки diff --git a/jekyll_site/_includes/counters_body.html b/jekyll_site/_includes/counters_body.html deleted file mode 100644 index df971c1..0000000 --- a/jekyll_site/_includes/counters_body.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/jekyll_site/_includes/counters_head.html b/jekyll_site/_includes/counters_head.html deleted file mode 100644 index cd30d6f..0000000 --- a/jekyll_site/_includes/counters_head.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/jekyll_site/en/2023/01/04/drawing-simple-captcha.md b/jekyll_site/en/2023/01/04/drawing-simple-captcha.md index 5a97f7a..ef93134 100644 --- a/jekyll_site/en/2023/01/04/drawing-simple-captcha.md +++ b/jekyll_site/en/2023/01/04/drawing-simple-captcha.md @@ -16,10 +16,10 @@ and digits with the *Comic Sans* font — we will draw a simple captcha for a we {% include picture.html id="captcha.png" src="/img/captcha.png" alt="Drawing simple captcha" %} -We'll also consider special characters, but we won't use them, because it will be difficult for -the user to guess them with such a text decoration. For example, the plus `+` is still possible -to guess, but the minus `-` or the underscore `_` is already with difficulty, and even if you -guess right, then to find these buttons with difficulty, especially on the phone. Therefore, +We'll also consider special characters, but we won't use them, because it will be difficult for the +user to guess special characters with such a text decoration. For example, the plus `+` is still +possible to guess, but the minus `-` or the underscore `_` is already with difficulty, and even if +you guess right, then to find these buttons with difficulty, especially on the phone. Therefore, for captcha we'll use a combination of only capital latin letters and digits. Rendering special characters in a monospaced font: [Drawing heart in console]({{ '/en/2023/03/08/drawing-heart-in-console.html#text-as-picture-and-picture-as-text' | relative_url }}). diff --git a/jekyll_site/en/2023/03/08/drawing-heart-in-console.md b/jekyll_site/en/2023/03/08/drawing-heart-in-console.md index 12c3e40..23bb943 100644 --- a/jekyll_site/en/2023/03/08/drawing-heart-in-console.md +++ b/jekyll_site/en/2023/03/08/drawing-heart-in-console.md @@ -1,7 +1,7 @@ --- title: Drawing heart in console description: Let's write two versions of the algorithm in Java to output a heart to the console in the form of a text image — let's congratulate women on the eighth of... -sections: [Geometric figures,Font rendering,Text image] +sections: [Geometric figures,Text image,Font rendering] tags: [java,awt,console,rhombus,circumference,circle,text,image,font] canonical_url: /en/2023/03/08/drawing-heart-in-console.html url_translated: /ru/2023/03/08/drawing-heart-in-console.html diff --git a/jekyll_site/en/index.md b/jekyll_site/en/index.md index 0d16f38..f4d4abe 100644 --- a/jekyll_site/en/index.md +++ b/jekyll_site/en/index.md @@ -58,10 +58,10 @@ Let's write an algorithm for displaying text as an image using the Java AWT libr and font can be any, but for this example we will use a combination of uppercase latin letters and digits with the *Comic Sans* font — we will draw a simple captcha for a website or blog. -We'll also consider special characters, but we won't use them, because it will be difficult for -the user to guess them with such a text decoration. For example, the plus `+` is still possible -to guess, but the minus `-` or the underscore `_` is already with difficulty, and even if you -guess right, then to find these buttons with difficulty, especially on the phone. Therefore, +We'll also consider special characters, but we won't use them, because it will be difficult for the +user to guess special characters with such a text decoration. For example, the plus `+` is still +possible to guess, but the minus `-` or the underscore `_` is already with difficulty, and even if +you guess right, then to find these buttons with difficulty, especially on the phone. Therefore, for captcha we'll use a combination of only capital latin letters and digits. {%- endcapture %} {%- assign articles = articles | push: article_brief %} diff --git a/jekyll_site/ru/2023/01/03/drawing-simple-captcha.md b/jekyll_site/ru/2023/01/03/drawing-simple-captcha.md index ddeba0d..0bed469 100644 --- a/jekyll_site/ru/2023/01/03/drawing-simple-captcha.md +++ b/jekyll_site/ru/2023/01/03/drawing-simple-captcha.md @@ -15,11 +15,10 @@ date: 2023.01.03 {% include picture.html id="captcha.png" src="/img/captcha.png" alt="Рисуем простую капчу" %} -Спецсимволы тоже рассмотрим, но пользоваться ими не будем, потому что угадать их с таким оформлением -текста будет сложно для пользователя. Например, плюс `+` угадать ещё можно, а вот минус `-` или -нижнее подчёркивание `_` уже с трудом, и даже если угадаешь, тогда найти эти кнопки с трудом, -особенно на телефоне. Поэтому для капчи будем использовать комбинацию только из заглавных -латинских букв и цифр. +Спецсимволы тоже рассмотрим, но использовать их не будем, потому что угадать спецсимволы пользователю +будет сложно с таким оформлением текста. Например, плюс `+` угадать ещё можно, а вот минус `-` или +нижнее подчёркивание `_` уже с трудом, и даже если угадаешь, тогда найти эти кнопки с трудом, особенно +на телефоне. Поэтому для капчи будем использовать комбинацию только из заглавных латинских букв и цифр. Отрисовка спецсимволов моноширинным шрифтом: [Рисуем сердечко в консоли]({{ '/ru/2023/03/08/drawing-heart-in-console.html#text-as-picture-and-picture-as-text' | relative_url }}). diff --git a/jekyll_site/ru/2023/03/08/drawing-heart-in-console.md b/jekyll_site/ru/2023/03/08/drawing-heart-in-console.md index 29f8899..2731fd6 100644 --- a/jekyll_site/ru/2023/03/08/drawing-heart-in-console.md +++ b/jekyll_site/ru/2023/03/08/drawing-heart-in-console.md @@ -1,7 +1,7 @@ --- title: Рисуем сердечко в консоли description: Напишем два варианта алгоритма на Java для вывода сердечка в консоль в форме текстового изображения — поздравим женщин с восьмым марта. Нарисуем график... -sections: [Геометрические фигуры,Отрисовка шрифта,Текстовое изображение] +sections: [Геометрические фигуры,Текстовое изображение,Отрисовка шрифта] tags: [java,awt,консоль,ромб,окружность,круг,текст,изображение,шрифт] canonical_url: /ru/2023/03/08/drawing-heart-in-console.html url_translated: /en/2023/03/08/drawing-heart-in-console.html diff --git a/jekyll_site/ru/index.md b/jekyll_site/ru/index.md index 6349487..dca52a5 100644 --- a/jekyll_site/ru/index.md +++ b/jekyll_site/ru/index.md @@ -56,11 +56,10 @@ JavaScript, чтобы далеко не ходить. Символы и шрифт могут быть любыми, но для этого примера будем использовать комбинацию заглавных латинских букв и цифр со шрифтом *Comic Sans* — будем рисовать простую капчу для сайта или блога. -Спецсимволы тоже рассмотрим, но пользоваться ими не будем, потому что угадать их с таким оформлением -текста будет сложно для пользователя. Например, плюс `+` угадать ещё можно, а вот минус `-` или -нижнее подчёркивание `_` уже с трудом, и даже если угадаешь, тогда найти эти кнопки с трудом, -особенно на телефоне. Поэтому для капчи будем использовать комбинацию только из заглавных -латинских букв и цифр. +Спецсимволы тоже рассмотрим, но использовать их не будем, потому что угадать спецсимволы пользователю +будет сложно с таким оформлением текста. Например, плюс `+` угадать ещё можно, а вот минус `-` или +нижнее подчёркивание `_` уже с трудом, и даже если угадаешь, тогда найти эти кнопки с трудом, особенно +на телефоне. Поэтому для капчи будем использовать комбинацию только из заглавных латинских букв и цифр. {%- endcapture %} {%- assign articles = articles | push: article_brief %} {%- include main_page.html articles = articles -%}