~prokop/rdck.dev

a6dfb6d3353ac1f328aecb0e039ff4de1cf272bc — Prokop Randacek 17 days ago 71b940a master
fix navbar wrapping
4 files changed, 18 insertions(+), 19 deletions(-)

M _drafts/cpp_slow_haha.md
M _layouts/default.html
M content/fun.md
M deploy.sh
M _drafts/cpp_slow_haha.md => _drafts/cpp_slow_haha.md +9 -10
@@ 44,13 44,12 @@ Nobody but human labour.

## Translations units of transgress

Splitting C projects into multiple files
works in a quite primitive way.
When writting a particular file which should be part of a project, you just
*declare* functions from other source files that you fancy. The
compilation process is then split in two. First you somewhat *prepare*
individual files into a intermediate form (`.c` -> `.o`). When you got all of
these, you *link* them together.
Splitting C projects into multiple files works in a quite primitive way. When
writting a particular file which should be part of a project, you just
*declare* functions from other source files that you fancy. The compilation
process is then split in two. First you somewhat *prepare* individual files
into a intermediate form (`.c` -> `.o`). When you got all of these, you *link*
them together.

### a.c
```c


@@ 90,15 89,15 @@ begging of all files, we just *include* the header files of source files we
want.

### b.c
```
```c
int get_num() { return 34; }
```
### b.h
```
```c
int get_num();
```
### a.c
```
```c
#include "b.h"

int main() {

M _layouts/default.html => _layouts/default.html +7 -7
@@ 7,13 7,13 @@
		<meta name="keyworlds"   content="Prokop Randacek">
		<meta name="description" content="Prokop Randacek's personal website">
		<meta name="viewport"    content="width=device-width, initial-scale=1.0">
		{%- if page.noindex == 1 -%}
		{% if page.noindex == 1 %}
		<meta name="robots" content="noindex">
		{% endif %}
		<link rel="stylesheet" href="/assets/styles.css" type="text/css">
		{%- if page.katex == 1 -%}
		{% if page.katex == 1 %}
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css" integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" crossorigin="anonymous">
		{%- endif -%}
		{% endif %}
		<link rel="icon" href="/assets/favicon16.webp" type="image/webp" sizes="16x16">
		<link rel="icon" href="/assets/favicon32.webp" type="image/webp" sizes="32x32">
		<link rel="icon" href="/assets/favicon64.webp" type="image/webp" sizes="64x64">


@@ 24,10 24,10 @@
			<a href="/" class="title"><h1>rdck.dev</h1></a>
			<nav>
			{% assign sections_sorted = site.pages | sort: 'order' %}
			{%- for p in sections_sorted -%}
			{%- if p.order and p.title and p.title != 404 -%}
				<a href="{{p.url}}">{{p.title}}</a>
			{%- endif -%}
			{% for p in sections_sorted %}
			{% if p.order and p.title and p.title != 404 %}
				<a href="{{p.url}}">{{p.title}}</a>&#32;
			{% endif %}
			{% endfor %}
			</nav>
		</header>

M content/fun.md => content/fun.md +1 -1
@@ 1,6 1,6 @@
---
permalink: /fun
title: Fun stuff
title: Fun&nbsp;stuff
layout: default
order: 3
---

M deploy.sh => deploy.sh +1 -1
@@ 7,7 7,7 @@ popd

bundle exec jekyll build

rsync -avh _site/ prokop@rdck.dev:www --delete
rsync -avhc _site/ prokop@rdck.dev:www --delete

ssh -t prokop@rdck.dev 'ln -sf ~/public ~/www/dl'