-░░░░░░░░░░░█░█░▄▀▄░█░█░░░░░░░░░░░░░ -░░░░░░░░░░░░▀█░█░█░░▀█░░░░░░░░░░░░░ -░░░░░░░░░░░░░▀░░▀░░░░▀░░░░░░░░░░░░░ -░█▀█░█▀█░▀█▀░░░█▀▀░█▀█░█░█░█▀█░█▀▄░ -░█░█░█░█░░█░░░░█▀▀░█░█░█░█░█░█░█░█░ -░▀░▀░▀▀▀░░▀░░░░▀░░░▀▀▀░▀▀▀░▀░▀░▀▀░░ --
diff --git a/.gitignore b/.gitignore index 0624271..2738153 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *# *~ ./public +public diff --git a/public/404.html b/public/404.html deleted file mode 100644 index c033bf8..0000000 --- a/public/404.html +++ /dev/null @@ -1,110 +0,0 @@ - - -
- - - -- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
-░░░░░░░░░░░█░█░▄▀▄░█░█░░░░░░░░░░░░░ -░░░░░░░░░░░░▀█░█░█░░▀█░░░░░░░░░░░░░ -░░░░░░░░░░░░░▀░░▀░░░░▀░░░░░░░░░░░░░ -░█▀█░█▀█░▀█▀░░░█▀▀░█▀█░█░█░█▀█░█▀▄░ -░█░█░█░█░░█░░░░█▀▀░█░█░█░█░█░█░█░█░ -░▀░▀░▀▀▀░░▀░░░░▀░░░▀▀▀░▀▀▀░▀░▀░▀▀░░ --
- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
Decentralized messenger over Freenet network
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
App for creating Anki flashcards
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
Snake game written with P5js
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
TODO app with timer written on React
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
- ░█▄█░█░█░█▀▀░▀█▀░█▀▀ -░█░█░█░█░▀▀█░░█░░█░░ -░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀ - - -- -
- ░█▄█░█░█░█▀▀░▀█▀░█▀▀ -░█░█░█░█░▀▀█░░█░░█░░ -░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀ - - -- -
“софт должен просто работать”
- -Made with BespokeSynth
- - - -- ░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█ -░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█ -░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀ - - -- -
- ░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█ -░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█ -░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀ - - -- -
- ░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█ -░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█ -░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀ - - -- -
Decentralized messenger over Freenet network
-App for creating Anki flashcards
-TODO app with timer written on React
-Snake game written with P5js
-- ░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█ -░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█ -░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀ - - -- -
The simple snake game which working on both desktop 🖥 and mobile 📲
- -On mobile there’s a support for playing via swipes 👆
- -- ░█▀█░█▀█░█▀▄░▀█▀░█▀▀░█▀█░█░░░▀█▀░█▀█ -░█▀▀░█░█░█▀▄░░█░░█▀▀░█░█░█░░░░█░░█░█ -░▀░░░▀▀▀░▀░▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀ - - -- -
- ░█▀▄░█░░░█▀█░█▀▀ - ░█▀▄░█░░░█░█░█░█ - ░▀▀░░▀▀▀░▀▀▀░▀▀▀ - -- -
- ░█▀▄░█░░░█▀█░█▀▀ - ░█▀▄░█░░░█░█░█░█ - ░▀▀░░▀▀▀░▀▀▀░▀▀▀ - -- -
I had been adding some cards to Anki. -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
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:
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
-
-
-while(true)
was my mistake. I launched script in terminal, with sleep
3 seconds before.
-But i couldn’t shut script down without any strange effect when i opening not only 2 windows in my Window Manager.
-Some strange things happen before I cached terminal and pressed Ctrl+C
- ░█▀▄░█░░░█▀█░█▀▀ - ░█▀▄░█░░░█░█░█░█ - ░▀▀░░▀▀▀░▀▀▀░▀▀▀ - -- -
- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
Decentralized messenger over Freenet network
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
Snake game written with P5js
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
TODO app with timer written on React
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
Snake game written with P5js
-- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
- ░█░█░▀█▀░░░░░░░▀█▀░▀░█▄█░░░█▀█░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█ -░█▀█░░█░░░░░░░░░█░░░░█░█░░░█▀█░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄ -░▀░▀░▀▀▀░▄▀░░░░▀▀▀░░░▀░▀░░░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀ - - -- -
Snake game written with P5js
-