Initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/resources
|
||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "themes/hermit"]
|
||||||
|
path = themes/hermit
|
||||||
|
url = https://github.com/vojta001/hermit.git
|
||||||
45
config.json
Normal file
45
config.json
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"baseURL": "https://vkane.cz",
|
||||||
|
"languageCode": "en",
|
||||||
|
"title": "Vojtěch Káně",
|
||||||
|
"theme": "hermit",
|
||||||
|
|
||||||
|
"author": {
|
||||||
|
"name": "Vojtěch Káně"
|
||||||
|
},
|
||||||
|
|
||||||
|
"markup": {
|
||||||
|
"goldmark": {
|
||||||
|
"renderer": {
|
||||||
|
"unsafe": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"params": {
|
||||||
|
"homeSubtitle": "A CS student, a scout and a technology enthusiast",
|
||||||
|
"dateform": "2006-01-02",
|
||||||
|
"dateformShort": "02.01.",
|
||||||
|
"dateformNumTime": "2006-01-02 15:04",
|
||||||
|
"social": [
|
||||||
|
{
|
||||||
|
"name": "github",
|
||||||
|
"url": "https://github.com/vojta001"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gitlab",
|
||||||
|
"url": "https://gitlab.com/vojta001"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "twitter",
|
||||||
|
"url": "https://twitter.com/VojtechKane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "email",
|
||||||
|
"url": "mailto:vojtech@vkane.cz"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"enableRobotsTXT": true
|
||||||
|
}
|
||||||
12
content/about.md
Normal file
12
content/about.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
title: "About"
|
||||||
|
menu: "main"
|
||||||
|
weight: 2
|
||||||
|
---
|
||||||
|
Hi, my name is Vojtěch Káně. I am a CS student proudly studying the [Faculty of Mathematics and Physics of the Charles University](https://www.mff.cuni.cz).
|
||||||
|
|
||||||
|
Computer science is my passion. While being mainly a software person — I love coding, testing, automating etc., I also enjoy hacking hardware from time to time.
|
||||||
|
|
||||||
|
I believe in the power of community. I use a lot of open-source tools and I also try to give back as much as possible. I report and fix bugs, improve documentation, and answer questions in forums.
|
||||||
|
|
||||||
|
I love educating myself as well as others. That's why I am an active scout leader and also one of the founding members of [Pátek](https://patek.cz). It is an incredible society of smart people with whom I proudly work on [PSC](https://gitlab.com/patek-devs/psc).
|
||||||
14
content/blogroll/_index.md
Normal file
14
content/blogroll/_index.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
menu: main
|
||||||
|
title: Blogroll
|
||||||
|
weight: 4
|
||||||
|
outputs: [ "HTML" ]
|
||||||
|
_build:
|
||||||
|
render: true
|
||||||
|
cascade:
|
||||||
|
_build:
|
||||||
|
render: false
|
||||||
|
list: true
|
||||||
|
---
|
||||||
|
|
||||||
|
This is a list of blogs I find interesting, so if you follow my blog, you might want to check these as well.
|
||||||
6
content/blogroll/kev-quirk.md
Normal file
6
content/blogroll/kev-quirk.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "Kev Quirk's blog"
|
||||||
|
date: 2021-05-25T19:42:57+02:00
|
||||||
|
blogUrl: "https://kevq.uk/blog"
|
||||||
|
---
|
||||||
|
Kev Quirk's blog was one of the sources of inspiration for my one especially by encouraging to write a lot and not to fear imperfections. He is the author of [#100DaysToOffload](https://100daystooffload.com/).
|
||||||
6
content/blogroll/tweag-io-nix.md
Normal file
6
content/blogroll/tweag-io-nix.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "Tweag I/O - Nix blog"
|
||||||
|
date: 2021-05-25T20:19:39+02:00
|
||||||
|
blogUrl: "https://www.tweag.io/blog/tags/nix"
|
||||||
|
---
|
||||||
|
If you are, like me, interested in Nix(OS), this blog is a must. Tweag I/O is the employer of [Eelco Dolstra](https://edolstra.github.io) and therefore the blog contains many interesting and important posts (e.g. [Nix flakes introduction](https://www.tweag.io/blog/2020-05-25-flakes)).
|
||||||
7
content/contact.md
Normal file
7
content/contact.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: Contact me
|
||||||
|
menu: main
|
||||||
|
weight: 3
|
||||||
|
---
|
||||||
|
|
||||||
|
No matter whether it is a blog post comment, a question, or possibly a job offer :), I am looking forward to hearing from you. Just write me an email at [vojtech@vkane.cz](mailto:vojtech@vkane.cz), or contact me on Matrix [@vojta001:vkane.cz](https://matrix.to/#/@vojta001:vkane.cz).
|
||||||
5
content/posts/_index.md
Normal file
5
content/posts/_index.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
menu: main
|
||||||
|
title: Blog
|
||||||
|
weight: 1
|
||||||
|
---
|
||||||
8
content/posts/intro.md
Normal file
8
content/posts/intro.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: "What? A blog?"
|
||||||
|
date: 2021-05-25T14:17:27+02:00
|
||||||
|
---
|
||||||
|
|
||||||
|
**Yes**! This is not a personal diary to be filled with fears and desires from the bottom of my heart, this is (or will be) a collection of technical notes, opinions, and dead ends I have discovered during my computer science adventures.
|
||||||
|
|
||||||
|
The internet is already full of high-quality content, so why make another? Because the world is a complex place with so many variables and pitfalls, so while my posts might not be the most accurate or the most detailed, they might match the situation of the readers and therefore be helpful. I have read many articles showing the obvious, but without them, I would have never realized.
|
||||||
14
content/projects/_index.md
Normal file
14
content/projects/_index.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
menu: main
|
||||||
|
title: My work
|
||||||
|
weight: 3
|
||||||
|
outputs: [ "HTML" ]
|
||||||
|
_build:
|
||||||
|
render: true
|
||||||
|
cascade:
|
||||||
|
_build:
|
||||||
|
render: false
|
||||||
|
list: true
|
||||||
|
---
|
||||||
|
|
||||||
|
Here I present projects I've created or contributed to. Most of them are open-source and I would be very glad to merge your pull requests into them.
|
||||||
7
content/projects/psc.md
Normal file
7
content/projects/psc.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: Pátek Show Controller
|
||||||
|
date: 2021-06-01T16:35:44+02:00
|
||||||
|
source: https://gitlab.com/patek-devs/psc
|
||||||
|
---
|
||||||
|
|
||||||
|
Pátek Show Controller, PSC, or P8 are names of my, and some other members' of Pátek, device capable of controlling lights, music, special effects and other stage equipment. Our main goal was to make it as user-friendly as possible while keeping powerful tunables for experts. We won [atthack 2019 in Brno](https://jaczech.org/novinky/posts/2019/december/att-hackathon-2019-technologie-budoucnosti) with the idea and have been working on it since then. The pace isn't very fast as we are all busy students, but the project is far from being dead.
|
||||||
8
content/projects/tinyquiz.md
Normal file
8
content/projects/tinyquiz.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: Tinyquiz
|
||||||
|
date: 2021-06-01T16:16:59+02:00
|
||||||
|
source: https://github.com/vojta001/tinyquiz
|
||||||
|
demo: https://tinyquiz.vkane.cz
|
||||||
|
---
|
||||||
|
|
||||||
|
Tinyquiz is an open-source online quiz platform I wrote as a semester programming project for [Programming I](https://is.cuni.cz/studium/predmety/index.php?do=predmet&kod=NPRX030) course. It is inpired by [Kahoot](https://kahoot.com), but does not require anyone to sign up (including the organizer) and can be easily self hosted.
|
||||||
45
flake.lock
generated
Normal file
45
flake.lock
generated
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"hermit": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1622561639,
|
||||||
|
"narHash": "sha256-Zw/+3EE6DAQ4NS1i22vadXwDEo6CnJkByy7IpdGuRYM=",
|
||||||
|
"owner": "vojta001",
|
||||||
|
"repo": "hermit",
|
||||||
|
"rev": "56843f347a642324970ba30d58f23c64e037bb7c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "vojta001",
|
||||||
|
"ref": "tmp",
|
||||||
|
"repo": "hermit",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1622059058,
|
||||||
|
"narHash": "sha256-t1/ZMtyxClVSfcV4Pt5C1YpkeJ/UwFF3oitLD7Ch/UA=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "84aa23742f6c72501f9cc209f29c438766f5352d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"hermit": "hermit",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
32
flake.nix
Normal file
32
flake.nix
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
description = "vkane.cz";
|
||||||
|
|
||||||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
|
||||||
|
inputs.hermit = {
|
||||||
|
url = "github:vojta001/hermit/tmp";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs, hermit }:
|
||||||
|
let
|
||||||
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
website = pkgs.stdenv.mkDerivation {
|
||||||
|
pname = "vkane.cz";
|
||||||
|
version = "";
|
||||||
|
src = self;
|
||||||
|
preConfigure = ''
|
||||||
|
rm --dir --force themes/hermit
|
||||||
|
ln --symbolic '${hermit}' themes/hermit
|
||||||
|
''; # TODO
|
||||||
|
buildPhase = ''
|
||||||
|
'${pkgs.hugo}'/bin/hugo --buildExpired --buildFuture --destination "$out" --minify --path-warnings --i18n-warnings
|
||||||
|
'';
|
||||||
|
dontInstall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
24
layouts/blogroll/list.html
Normal file
24
layouts/blogroll/list.html
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{{ define "header" }}
|
||||||
|
{{ partialCached "header.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "main" }}
|
||||||
|
<main class="site-main section-inner thin animated fadeIn faster">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{- if .Content }}
|
||||||
|
<div class="content">
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- range .Pages }}
|
||||||
|
<article class="content" style="border-bottom: 2px solid $text;{{/* TODO move to stylesheet */}}">
|
||||||
|
<a href="{{.Params.blogUrl}}"><h2 class="title">{{.Title}}</h2></a>
|
||||||
|
<p>{{.Content}}</p>
|
||||||
|
</article>
|
||||||
|
{{- end }}
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "footer" }}
|
||||||
|
{{ partialCached "footer.html" . }}
|
||||||
|
{{ end }}
|
||||||
28
layouts/projects/list.html
Normal file
28
layouts/projects/list.html
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{{ define "header" }}
|
||||||
|
{{ partialCached "header.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "main" }}
|
||||||
|
<main class="site-main section-inner thin animated fadeIn faster">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{- if .Content }}
|
||||||
|
<div class="content">
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
{{- end }}
|
||||||
|
{{- range .Pages }}
|
||||||
|
<article class="content" style="border-bottom: 2px solid $text;{{/* TODO move to stylesheet */}}">
|
||||||
|
<h2 class="title">{{.Title}}</h2>
|
||||||
|
<ul>
|
||||||
|
{{ with .Params.source }}<li><a href="{{ . }}">Source code</a></li>{{ end }}
|
||||||
|
{{ with .Params.demo }}<li><a href="{{ . }}">Demo</a></li>{{ end }}
|
||||||
|
</ul>
|
||||||
|
<p>{{.Content}}</p>
|
||||||
|
</article>
|
||||||
|
{{- end }}
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "footer" }}
|
||||||
|
{{ partialCached "footer.html" . }}
|
||||||
|
{{ end }}
|
||||||
1
themes/hermit
Submodule
1
themes/hermit
Submodule
Submodule themes/hermit added at 56843f347a
Reference in New Issue
Block a user