blob: e3586ff8b8122c6e5b1abbf5a28b34e320d866f8 (
plain)
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
|
{{ template "base.html" . }}
{{ define "content" }}
<section>
<mark><small><i>You do not learn by relaxing. You learn by violently assaulting your problem until it surrenders its mysteries to you.</i></small></mark>
</section>
<a class="promobox" href="https://mitjafelicijan.github.io/binary-visualization/" target="_blank">
Examine graphical representations of binary files using diagrams that
illustrate connections between pairs of bytes (digraphs) and triplets of
bytes (trigraphs).
</a>
<section class="quick-jump">
<input list="qj-posts" placeholder="Search for posts">
<datalist id="qj-posts">
{{ range .Pages }}
{{ if and (eq .Type "post") (not .Draft) }}
<option data-url="{{ .RelPermalink }}">{{ .Title }}</option>
{{ end }}
{{ end }}
</datalist>
<input list="qj-notes" placeholder="Search for notes">
<datalist id="qj-notes">
{{ range .Pages }}
{{ if and (eq .Type "note") (not .Draft) }}
<option data-url="{{ .RelPermalink }}">{{ .Title }}</option>
{{ end }}
{{ end }}
</datalist>
</section>
<script>
document.querySelectorAll("section.quick-jump input[list]").forEach(s => {
s.addEventListener("change", e => {
const input = e.target;
const datalist = e.target.list;
for (var j = 0; j < datalist.options.length; j++) {
if (input.value == datalist.options[j].value) {
console.log(input.value, datalist.options[j].dataset.url);
window.location.href = `/${datalist.options[j].dataset.url}`;
}
}
});
});
</script>
<section>
<h2>More long form, ramblings etc</h2>
<ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="More long form, ramblings etc">
<meta itemprop="name" content="More long form, ramblings etc">
{{ range .Pages }}
{{ if and (eq .Type "post") (not .Draft) }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
</section>
<section>
<h2>Notes?! Maybe useful</h2>
<ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Notes?! Maybe useful">
<meta itemprop="name" content="Notes?! Maybe useful">
{{ range .Pages }}
{{ if and (eq .Type "note") (not .Draft) }}
<li>
{{ range .Meta.tags }}
<mark>{{ . }}</mark>
{{ end }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
</ul>
</section>
<section>
<h2>Small side projects I work/worked on</h2>
<ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Side projects">
<meta itemprop="name" content="Side projects">
<li role="listitem"><a href="https://github.com/mitjafelicijan/makext" target="_blank">makext</a> — QOL Extensions for GNU Make</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/binary-visualization" target="_blank">binary-visualization</a> — Visualizations and exploration of binary files</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/p9tree" target="_blank">p9tree</a> — Tree utility for 9front/Plan9 operating systems</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/errand" target="_blank">errand</a> — Task runner for the command line</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/i3blocks" target="_blank">i3blocks</a> — Minimal i3blocks indicators</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/cord.h" target="_blank">cord.h</a> — Small C library for handling strings</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/mprogress" target="_blank">mprogress</a> — Tiny utility that displays progress bar in terminal</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/qli" target="_blank">qli</a> — Quantum Lorem Ipsum generator for command line</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/journalctl-proxy" target="_blank">journalctl-proxy</a> — Exposes your systemd logs to web via web interface</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/redis-marshal" target="_blank">redis-marshal</a> — Lightweight Redis UI tool</li>
<li role="listitem"><a href="https://github.com/mitjafelicijan/dna-encoding" target="_blank">dna-encoding</a> — Tools for encoding files to DNA sequences</li>
</ul>
</section>
{{ end }}
|