diff --git a/assets/css/basic.scss b/assets/css/basic.scss index ebcef7b..ed21bc2 100644 --- a/assets/css/basic.scss +++ b/assets/css/basic.scss @@ -7,7 +7,7 @@ body { padding: 0; background-color: var(--background); color: var(--foreground); - font-family: 'Ubuntu', sans-serif; + font-family: 'Ubuntu', 'Twemoji' sans-serif; max-width: 1000px; margin: 0 auto; box-shadow: 0px -30px 20px rgba(0, 0, 0, 0.5); @@ -33,7 +33,7 @@ a, .link{ } .h1{ - font-family: 'Mononoki Bold', 'Fira Code SemiBold' ; + font-family: 'Mononoki Bold', 'Fira Code SemiBold', 'Twemoji' ; font-size: 2em; } diff --git a/assets/css/fonts.scss b/assets/css/fonts.scss index c9caa6b..9a808f9 100644 --- a/assets/css/fonts.scss +++ b/assets/css/fonts.scss @@ -24,3 +24,9 @@ url('../fonts/mononoki-Regular.ttf') format('truetype'), url('../fonts/mononoki-Regular.woff2') format('woff2'), url('../fonts/mononoki-Regular.woff') format('woff'); } + + +@font-face { + font-family: 'Twemoji'; +src: url('../fonts/Twemoji.ttf') format('truetype'); +} diff --git a/assets/css/variables.scss b/assets/css/variables.scss index 8795c9f..3a48993 100644 --- a/assets/css/variables.scss +++ b/assets/css/variables.scss @@ -32,5 +32,5 @@ $ascii-line-height: 1.115em; $ascii-line-height-mobile: 1.112em; $header-color: var(--green); -$main-font: 'Mononoki', monospace; +$main-font: 'Mononoki', 'Twemoji', monospace; $link-color: var(--cyan); diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a1d338e..1529a3f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,16 +1,25 @@ -{{$horhik := "░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░░░░█░█░█░█░▀▀█\n░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░░▄▀▄░░█░░▄▀░\n░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░▀░░▀░▀░░▀░░▀▀▀\n"}} -{{$portfolio := "░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█\n░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█\n░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀\n"}} -{{$blog := "░█▀▄░█░░░█▀█░█▀▀\n ░█▀▄░█░░░█░█░█░█\n ░▀▀░░▀▀▀░▀▀▀░▀▀▀\n"}} - +{{$horhik := "░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░░░░█░█░█░█░▀▀█\n░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░░▄▀▄░░█░░▄▀░\n░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░▀░░▀░▀░░▀░░▀▀▀"}} +{{$portfolio := "░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█\n░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█\n░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀"}} +{{$blog := "░█▀▄░█░░░█▀█░█▀▀\n ░█▀▄░█░░░█░█░█░█\n ░▀▀░░▀▀▀░▀▀▀░▀▀▀"}} +{{$sec := .FirstSection}}
- +
- -
- -
-

Posts

- -
- - - -
+
+
+ + - - - - -
- -1 of 1 - -
- -
- - - -
+ - - + diff --git a/public/posts/index.xml b/public/posts/index.xml index a2633af..b2746bf 100644 --- a/public/posts/index.xml +++ b/public/posts/index.xml @@ -1,12 +1,12 @@ - Posts on Horhik.xyz + Blog on Horhik.xyz https://site.horhik.xyz/posts/ - Recent content in Posts on Horhik.xyz + Recent content in Blog on Horhik.xyz Hugo -- gohugo.io en-us - Thu, 21 Jan 2021 10:26:19 +0300 + Sun, 06 Jun 2021 00:00:00 +0000 PyAutoGUI for simplifying anki routine https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/ @@ -16,14 +16,5 @@ I had been adding some cards to Anki. It was lowercase word and word with stress in russian. - - Second Test Post - https://site.horhik.xyz/posts/second-test-post/ - Sun, 03 Jan 2021 01:24:34 +0200 - - https://site.horhik.xyz/posts/second-test-post/ - heeeya - - diff --git a/public/posts/pyautogui-for-simplifying-anki-routine/index.html b/public/posts/pyautogui-for-simplifying-anki-routine/index.html index b7f8bd2..4b8d4c3 100644 --- a/public/posts/pyautogui-for-simplifying-anki-routine/index.html +++ b/public/posts/pyautogui-for-simplifying-anki-routine/index.html @@ -19,13 +19,48 @@ -
- - O. George’s site + + + + +
+ +
@@ -38,28 +73,28 @@ It was lowercase word and word with stress in russian. like торты тОрты.

I’m lazy and i wrote two simple scripts. All what i have to do is input words with stress into a file.
First script for creating file with list of sequence of word with stress and lowercase word

-
+
-
1
+
1
 2
 3
 4
 5
 
-
import os
-f = open("/home/horhik/text.txt", 'r+')
-lines = f.readlines()
-for ind, line in enumerate(lines):
-    print(line.lower(), " ", line)
+
import os
+f = open("/home/horhik/text.txt", 'r+')
+lines = f.readlines()
+for ind, line in enumerate(lines):
+    print(line.lower(), " ", line)
 

After, i just pushed output to file and opened it it Emacs.

Second script automatizing adding cards to Anki.
I split my window by Anki “add card” window and Emacs. As i use evil mode in Emacs, script looks like that:

-
+
-
 1
+
 1
  2
  3
  4
@@ -80,25 +115,25 @@ I split my window by Anki “add card” window and 19
 
-
import pyautogui
+
import pyautogui
 
-import os
-while(True):
-    pyautogui.hotkey("winleft", 'j') # toggle window
-    pyautogui.press(["v", "$", "y"]) # copy string
-    pyautogui.hotkey("winleft", 'j') # toggle window
-    pyautogui.hotkey("ctrl", 'v')    # past text
-    pyautogui.press("tab")           # next input field
-    pyautogui.hotkey("winleft", 'j') # toggle window
-    pyautogui.press(["j","0", "w", "v" , "$", "y", "0", "j", "j" ])
-						         # move to next line beginning, copy it and go to next occurence
-    pyautogui.hotkey("winleft", 'j') # toggle window
-    pyautogui.hotkey("ctrl", 'v')    # paste text
-    pyautogui.press("tab")           # ...
-    pyautogui.press("tab")           # ...
-    pyautogui.press("tab")           # ...
-    pyautogui.press("tab")           # ... way to submit button
-    pyautogui.press("space")         # pressing submit button
+import os
+while(True):
+    pyautogui.hotkey("winleft", 'j') # toggle window
+    pyautogui.press(["v", "$", "y"]) # copy string
+    pyautogui.hotkey("winleft", 'j') # toggle window
+    pyautogui.hotkey("ctrl", 'v')    # past text
+    pyautogui.press("tab")           # next input field
+    pyautogui.hotkey("winleft", 'j') # toggle window
+    pyautogui.press(["j","0", "w", "v" , "$", "y", "0", "j", "j" ])
+						         # move to next line beginning, copy it and go to next occurence
+    pyautogui.hotkey("winleft", 'j') # toggle window
+    pyautogui.hotkey("ctrl", 'v')    # paste text
+    pyautogui.press("tab")           # ...
+    pyautogui.press("tab")           # ...
+    pyautogui.press("tab")           # ...
+    pyautogui.press("tab")           # ... way to submit button
+    pyautogui.press("space")         # pressing submit button
 

while(true) was my mistake. I launched script in terminal, with sleep 3 seconds before.
@@ -113,7 +148,7 @@ Some strange things happen before I cached terminal and pressed Ctrl+C

+ diff --git a/public/sitemap.xml b/public/sitemap.xml index 9d469b6..4990d5a 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -2,17 +2,32 @@ - https://site.horhik.xyz/ - 2021-01-21T10:26:19+03:00 - https://site.horhik.xyz/posts/ - 2021-01-21T10:26:19+03:00 + 2021-06-06T00:00:00+00:00 + + https://site.horhik.xyz/ + 2021-06-06T00:00:00+00:00 + + https://site.horhik.xyz/portfolio/ + 2021-06-06T00:00:00+00:00 + + https://site.horhik.xyz/portfolio/hole/ + 2021-05-01T00:00:00+03:00 https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/ 2021-01-21T10:26:19+03:00 - https://site.horhik.xyz/posts/second-test-post/ - 2021-01-03T01:24:34+02:00 + https://site.horhik.xyz/portfolio/ankilan/ + 2020-05-01T00:00:00+03:00 + + https://site.horhik.xyz/portfolio/tasquare/ + 2020-01-01T00:00:00+03:00 + + https://site.horhik.xyz/portfolio/snake/ + 2019-11-01T00:00:00+03:00 + + https://site.horhik.xyz/home/ + 0 https://site.horhik.xyz/categories/ diff --git a/public/tags/index.html b/public/tags/index.html index a45f22a..2cf1fa0 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -19,13 +19,48 @@ -
- - O. George’s site + + + + +
+ +
@@ -54,13 +89,23 @@ @@ -71,7 +116,7 @@ + diff --git a/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content index 3a93050..9bb3755 100644 --- a/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content +++ b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content @@ -44,12 +44,16 @@ src: url("../fonts/mononoki-Regular.eot"); src: url("../fonts/mononoki-Regular.eot") format("embedded-opentype"), url("../fonts/mononoki-Regular.ttf") format("truetype"), url("../fonts/mononoki-Regular.woff2") format("woff2"), url("../fonts/mononoki-Regular.woff") format("woff"); } +@font-face { + font-family: 'Twemoji'; + src: url("../fonts/Twemoji.ttf") format("truetype"); } + body { margin: 0; padding: 0; background-color: var(--background); color: var(--foreground); - font-family: 'Ubuntu', sans-serif; + font-family: 'Ubuntu', 'Twemoji' sans-serif; max-width: 1000px; margin: 0 auto; box-shadow: 0px -30px 20px rgba(0, 0, 0, 0.5); @@ -68,11 +72,11 @@ a, .link { box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); } .h1 { - font-family: 'Mononoki Bold', 'Fira Code SemiBold'; + font-family: 'Mononoki Bold', 'Fira Code SemiBold', 'Twemoji'; font-size: 2em; } p code, quote code, q code { - font-family: "Mononoki", monospace; + font-family: "Mononoki", "Twemoji", monospace; background: var(--selection); color: var(--cyan); border-radius: 3px; @@ -216,7 +220,7 @@ p code, quote code, q code { display: block; } .copyright { - font-family: "Mononoki", monospace; + font-family: "Mononoki", "Twemoji", monospace; margin-left: 20px; } .portfolio { @@ -235,7 +239,7 @@ p code, quote code, q code { box-shadow: 4px 4px 32px rgba(0, 0, 0, 0.34); border-radius: 10px; background: var(--background); - font-family: "Mononoki", monospace; + font-family: "Mononoki", "Twemoji", monospace; text-align: center; margin: 20px 0; max-width: 70vw; @@ -328,7 +332,7 @@ p code, quote code, q code { .blog-header { color: var(--green); - font-family: "Mononoki", monospace; + font-family: "Mononoki", "Twemoji", monospace; font-size: 2em; display: inline-flex; justify-content: center; @@ -340,7 +344,7 @@ p code, quote code, q code { font-size: 22px; font-family: Ubuntu; } .blog-post time { - font-family: "Mononoki", monospace; + font-family: "Mononoki", "Twemoji", monospace; display: flex; align-content: center; justify-content: center;