-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
91 lines (77 loc) · 3.61 KB
/
about.html
File metadata and controls
91 lines (77 loc) · 3.61 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>About - linux-user36</title>
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"/>
<link rel="stylesheet" type="text/css" href="./internal/style.css"/>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700"/>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,700;1,400;1,700"/>
</head>
<body>
<header>
<div class="navbar">
<a href=".">Home</a>
<a href="./news">News</a>
<div class="dropdown">
<a class="dropdown-option" href="./projects.html">Projects</a>
<div class="dropdown-content">
<a href="./yedex">Yedex</a>
<a href="./other-projects/mineclone.html">MineClone</a>
</div>
</div>
<a class="active" href="./about.html">About</a>
</div>
</header>
<div class="content">
<h1>About</h1>
<p>Hey, there! I’m <code>linux_user36</code>, but you can simply call me <strong>Linus</strong>. I originally started programming with the goal of making games, but have slowly drifted off to making Android apps. Also, I’m quite good at <em>not</em> finishing any of my projects.</p>
<p class="author">~ Linus, August 28, 2021</p>
<h2 id="links">Links</h2>
<ul>
<li><a href="https://stackoverflow.com/u/12344762" target="_blank">Stack Overflow</a></li>
<li><a href="https://github.com/linux-user36" target="_blank">GitHub</a></li>
<li><a href="./history.html">History</a> – A short autobiography of mine</li>
</ul>
<h2 id="contact">Contact</h2>
<p>If you want to contact me, write an e-mail to <strong id="mail" onclick="if(address==null)innerHTML=decipher('\x33\x36', '\x2a\x71')">[Click for mail address]</strong>, or type your message below and click <strong>“Submit”</strong>. I’ll try my best to answer as soon as possible!</p>
<p style="text-align:center">
<textarea id="feedback" rows="8" cols="40" maxlength="500" onkeydown="count()" onkeyup="count()" placeholder="Write your feedback here ..."></textarea><br/>
<button id="submit" onclick="submit()">Submit</button>
<code id="counter"></code>
<script type="text/javascript">
var address = null;
function submit() {
var message = document.getElementById('feedback').value;
var len = message.trim().length;
if (len < 20)
document.getElementById('counter').innerHTML = len == 0 ? 'Please type something first' : 'Please type some more';
else if (len / (message.trim().match(/\s+/g) || []).length > 20)
document.getElementById('counter').innerHTML = 'Please add more spaces';
else document.location.href = `mailto:${decipher("\x33\24\x36\x2a", "\x71\x2a")}?body=${encodeURI(message)}&subject=Feedback%20for%20linux_user36`;
address = null; // It all makes sense in the end ...
}
function count() {
var field = document.getElementById('feedback');
var max = field.getAttribute('maxlength');
document.getElementById('counter').innerHTML = max - field.value.length + "/" + max;
}
// Debugging this function was quite strenuous. Hope no web scraper finds my e-mail address now :)
function decipher(a, b) {
for (;;) {
if (address != null)
return address.replace(/&q%/, String.fromCharCode(0o144 - 0o124 << 0x2));
a = '\x6c\x69\x6e\x7d' + '\x2a\x78\x2d\x24' + '\x2f\x73\x65\x72' + a;
b += '\x25\x67\x6d\x24' + '\x78\x2a\x2e\x6e' + '\x65\x74\x24\x2a';
address = (a + '\x24\x26' + b).replace(/[*$]+/g, new String()).replace(/[\57\175]/g, 'u');
}
}
count();
</script>
</p>
</div>
<footer>
<div class="copyright"></div>
</footer>
</body>
</html>