-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
260 lines (245 loc) · 7.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!DOCTYPE html>
<html lang="en" id="html">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Oleksandr Kryvonos</title>
</head>
<style>
.lisperanto-patreon{
background:rgb(255, 66, 77);
color:#fff;
border-radius: 3rem;
padding: 0.5rem;
border: 0.2rem solid rgb(255, 66, 77);
display: inline-block;
}
</style>
<style>
.mypage-discord{
background:#404eed;
color:#fff;
border-radius: 3rem;
padding: 0.5rem;
border: 0.2rem solid #404eed;
display: inline-block;
}
</style>
<style>
.prevent-select {
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
</style>
<style>
p {
padding-left: 1rem;
}
</style>
<style>
body.transition
{
transition: color 0.8s ease-in-out;
transition: background-color 0.8s ease-in-out;
}
a.transition
{
transition: color 0.8s ease-in-out;
transition: background-color 0.8s ease-in-out;
}
</style>
<style>
body.dark
{
background-color: #333;
color: darkorange;
}
a.dark
{
color: lightblue;
}
</style>
<style>
body.print
{
background-color: white;
color: black;
}
a.print
{
color: blue;
}
</style>
<style>
.mypage-discord > a
{
color: inherit;
}
.lisperanto-patreon > a
{
color: inherit;
}
</style>
<script>
my_page = {};
</script>
<script>
my_page.load_darkness_from_storage = function(dafault_value)
{
if(window.localStorage )
{
const darkness = window.localStorage.getItem("darkness");
if (darkness == null || typeof(darkness) === "undefined")
{
my_page.darkness = dafault_value;
}
else
{
my_page.darkness = JSON.parse(darkness);
}
}
};
</script>
<script>
my_page.turn_darkness_theme = function(darkness)
{
if (darkness)
{
var print = Array.from(document.getElementsByClassName("print"));
for(var element of print)
{
element.classList.replace("print", "dark");
}
}
else
{
var dark = Array.from(document.getElementsByClassName("dark"));
for(var element of dark)
{
element.classList.replace("dark", "print");
}
}
};
</script>
<script>
my_page.delayed_transition = function()
{
var themed = Array.from(document.getElementsByClassName("themed"));
for(var element of themed)
{
element.classList.add("transition");
}
};
</script>
<script>
my_page.on_load = function()
{
var current_date = new Date();
const hours = current_date.getHours() + 1;
var is_it_dark = false;
if (hours < 8 || hours > 20)
{
is_it_dark = true;
}
my_page.load_darkness_from_storage(is_it_dark);
my_page.turn_darkness_theme(my_page.darkness);
setTimeout(my_page.delayed_transition, 1000);
};
</script>
<script>
my_page.set_darkness = function(should_it_be_dark)
{
my_page.darkness = should_it_be_dark;
if ( window.localStorage)
{
window.localStorage.setItem("darkness", JSON.stringify(should_it_be_dark))
}
my_page.turn_darkness_theme(my_page.darkness);
};
</script>
<script>
my_page.swith_darkness = function()
{
my_page.set_darkness(!my_page.darkness);
}
</script>
<body
style="margin: 0px;"
class="dark themed"
onload="my_page.on_load()">
<div
class="prevent-select"
style="
max-width: 100%;
padding:1rem;
">
<span class="prevent-select"
style="
border-style: solid;
border-width: 0.2rem;
border-radius: 0.2rem;
border-color: orange;
padding: 0.2rem;
cursor: pointer;"
onclick="my_page.swith_darkness(true)">change colour theme</span>
<span
class="lisperanto-patreon">
<a
href="https://www.patreon.com/o_kryvonos"
target="_blank"
rel="noopener noreferrer"
onclick="lisperanto.stopPropagation(event)"
>
Support on Patreon
</a></span>
<span
class="mypage-discord">
<a href="https://discord.gg/W5HFSKVXgc">Join Discord</a>
</span>
</div>
<div style="margin: auto; max-width: 60rem;">
<h1>Oleksandr Kryvonos - a software engineer from Odesa, Ukraine 🇺🇦 <br/>
with education in applied mathematics.<br/>
Currently located in Munich, Germany
<div></div>
</h1>
<h2>My projects <i>[update from 2023-02-13]</i>:</h2>
<p><span><a class="dark themed"
href="https://uprun.github.io/inku/">Inku</a> - awesome blue-board for blueprints or rather for blue-and-yellow-prints [2023-02-13]</span>
</p>
<p><span><a class="dark themed"
href="https://uprun.github.io/canvas-typewriter/canvas-documents.html">canvas documents</a> - another canvas experiment for me ... and I am not sure if this is the way to go for me. I think I will pause with canvases for some time. [2023-02-07]</span>
</p>
<p><span><a class="dark themed"
href="https://uprun.github.io/canvas-typewriter/canvas-typewriter.html">canvas typewriter</a> - type like on a typewriter but on draggable canvas.</span>
</p>
<p><span><a class="dark themed"
href="https://webpad.com.ua">WebPad</a> - a simple note taking app where every word is a hashtag by default.</span>
<p><i>Or in other words: an app for non-hierarchical associative web of notes (hence the name, but also runs in the browser)</i></p>
</p>
<p><a class="dark themed" href="https://uprun.github.io/lisperanto">Lisperanto</a>
- a spatial canvas and text editor with history of edits.
<p><i>(yes - as simple as it could possibly be, but good idea takes time to evolve)</i></p>
<p><i>Previously known as:</i>
<s>Lisperanto - in browser IDE for Lisp-like language</s> </p>
</p>
<h2>Blog-posts:</h2>
<p><span><a class="dark themed"
href="fenix/D3_1.html">revieved first steps in 3d written in Pascal</a> [2024-10-17]</span>
</p>
<p><span><a class="dark themed"
href="bare-pixel.html">bare pixels on canvas Pascal style drawing</a> [2024-10-15]</span>
</p>
<p><span><a class="dark themed"
href="list-of-cozy-games.html">List of cozy games</a> [2024-09-04]</span>
</p>
<p><span><a class="dark themed"
href="Samsung-tablet-as-drawing-tablet-for-MacOS.html">Samsung tablet as a drawing tablet for MacOS</a> [2023-02-11]</span>
</p>
<p><span><a class="dark themed"
href="How-to-find-information-in-thousands-of-notes.html">How to find information in thousands of notes?</a> [2023-02-12]</span>
</p>
</div>
</body>
</html>