diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-10-24 00:17:47 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-10-24 00:17:47 +0300 |
commit | a39f1b469eec43cd8b1eb5abb451e9914621fc4a (patch) | |
tree | 8cd009694b17c6631c38bb1bb42aabc61df04553 | |
parent | 159150afc918cf13f353ffbcc5abd3ab1b62432c (diff) | |
download | eug-vs-xyz-astro.tar.gz |
feat!: use relative linksastro
-rw-r--r-- | public/style.css | 2 | ||||
-rw-r--r-- | src/layouts/BaseLayout.astro | 2 | ||||
-rw-r--r-- | src/pages/articles/taskwarrior.md | 3 | ||||
-rw-r--r-- | src/pages/blog/2021-07-15.md | 6 | ||||
-rw-r--r-- | src/pages/blog/2021-08-14.md | 2 | ||||
-rw-r--r-- | src/pages/blog/2021-08-18.md | 2 | ||||
-rw-r--r-- | src/pages/blog/2021-09-10.md | 6 | ||||
-rw-r--r-- | src/pages/blog/2021-09-21.md | 4 | ||||
-rw-r--r-- | src/pages/blog/2022-03-24.md | 2 | ||||
-rw-r--r-- | src/pages/blog/2022-03-26.md | 4 | ||||
-rw-r--r-- | src/pages/blog/2022-04-02.md | 36 | ||||
-rw-r--r-- | src/pages/blog/2022-04-18.md | 4 | ||||
-rw-r--r-- | src/pages/blog/2022-04-24.md | 4 | ||||
-rw-r--r-- | src/pages/blog/index.md | 42 | ||||
-rwxr-xr-x | src/pages/index.md | 8 |
15 files changed, 65 insertions, 62 deletions
diff --git a/public/style.css b/public/style.css index db40b6a..97afdb5 100644 --- a/public/style.css +++ b/public/style.css @@ -1,6 +1,6 @@ @font-face { font-family: "Bitter"; - src: url(/public/fonts/Bitter-Regular.woff) format("truetype"); + src: url(/fonts/Bitter-Regular.woff) format("truetype"); } html { font-family: "Open Sans", sans-serif; diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a9f68c3..793c713 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -2,7 +2,7 @@ <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> - <link rel="shortcut icon" type="image/jpg" href="/public/icon-64.png"/> + <link rel="shortcut icon" type="image/jpg" href="/icon-64.png"/> <link rel="stylesheet" href="/style.css" /> </head> <body> diff --git a/src/pages/articles/taskwarrior.md b/src/pages/articles/taskwarrior.md index 02681d9..1c717c4 100644 --- a/src/pages/articles/taskwarrior.md +++ b/src/pages/articles/taskwarrior.md @@ -1,3 +1,6 @@ +--- +layout: ../../layouts/BlogLayout.astro +--- # TaskWarrior :taskwarrior: is all you need to be productive Nowadays there is an **ocean** of different productivity tools, systems and methodologies. The secret is - you only need one! diff --git a/src/pages/blog/2021-07-15.md b/src/pages/blog/2021-07-15.md index bbe1666..da239d4 100644 --- a/src/pages/blog/2021-07-15.md +++ b/src/pages/blog/2021-07-15.md @@ -19,7 +19,7 @@ It's in itself a separate topic for discussion, but what's important for today i a huge collection of stickers as there is in **Telegram**. I'm a big fan of **Wojak** stickers and many other ones, so I had to do something about it. -![stickerpicker](/public/stickerpicker.png) +![stickerpicker](/stickerpicker.png) # Matrix Stickerpicker Stickers work in a slightly weird way in **Matrix**. Basically you have to deploy your own sticker "server" @@ -128,7 +128,7 @@ For that I've created a new SSH key and added it to `CircleCI` secrets so that i git config --global user.email "eug-vs@keemail.me" git config --global user.name "eug-vs" git add . - git commit -m "feat: add stickerpacks with CircleCI [ci [skip](skip.md)]" + git commit -m "feat: add stickerpacks with CircleCI [ci [skip](skip)]" git push -u ``` @@ -139,6 +139,6 @@ need to check the **new** packs in the `telegram-packs.txt` - the script is actu And that's it! Now every time I add new URLs to the `telegram-packs.txt`, they will automatically appear in my widget within a minute or so. Enjoy your stickers! -![wojak-brain-chair](/public/wojak-brainchair.png) +![wojak-brain-chair](/wojak-brainchair.png) You can find full version of the config here: https://github.com/eug-vs/stickerpicker/blob/master/.circleci/config.yml diff --git a/src/pages/blog/2021-08-14.md b/src/pages/blog/2021-08-14.md index 58eac63..d3593a0 100644 --- a/src/pages/blog/2021-08-14.md +++ b/src/pages/blog/2021-08-14.md @@ -62,7 +62,7 @@ On the first two lines I just create variables for input and output images. Then Now let's have a closer look at the recipe for creating `out/%.png` from `src/%.*`. I use `magick` on the input file (denoted by `$<`), then pass a whole bunch of parameters to it, and finally provide the output file (`$@`). If you are confused by `$<` and `$@`, check out [Makefile cheatsheet](https://devhints.io/makefile). -![imagemagick-logo](/public/imagemagick.png) +![imagemagick-logo](/imagemagick.png) ## Removing the background diff --git a/src/pages/blog/2021-08-18.md b/src/pages/blog/2021-08-18.md index 74abe3c..941a51b 100644 --- a/src/pages/blog/2021-08-18.md +++ b/src/pages/blog/2021-08-18.md @@ -79,6 +79,6 @@ When you are solving real-life problems, you are not in algorithms class and you ## Now imagine writing and compiling a C++ program for that! I can only describe it with this image: -![meme](/public/brainlet-dreams-big-brain.png) +![meme](/brainlet-dreams-big-brain.png) Programming languages are tools, and different situations require different tools. diff --git a/src/pages/blog/2021-09-10.md b/src/pages/blog/2021-09-10.md index e40e802..9efa37e 100644 --- a/src/pages/blog/2021-09-10.md +++ b/src/pages/blog/2021-09-10.md @@ -14,12 +14,12 @@ During this summer I have: # Productivity Here's my TaskWarrior burndown: -![burndown](/public/summer-2021/burndown.png) +![burndown](/summer-2021/burndown.png) I'm pretty happy with how it looks, definitely can spot some progress going on. # Lifestyle It was very active! I got into kayaking which was unforgettable :fire:, big thanks to my friends! -![bonfire](/public/summer-2021/bonfire.jpg) +![bonfire](/summer-2021/bonfire.jpg) -![kayaking](/public/summer-2021/kayaking.jpg) +![kayaking](/summer-2021/kayaking.jpg) diff --git a/src/pages/blog/2021-09-21.md b/src/pages/blog/2021-09-21.md index 798ca03..38cbc57 100644 --- a/src/pages/blog/2021-09-21.md +++ b/src/pages/blog/2021-09-21.md @@ -4,11 +4,11 @@ layout: ../../layouts/BlogLayout.astro # I'm back on Carnivore! :meat_on_bone: This weekend I bought a new high-quality pan and now I just can't resist going back to carnivore diet. -![pan](/public/pan.png) +![pan](/pan.png) You really see the difference in the cooking process - the surface is big, heat is distributed evenly, it produces less smoke - it all adds up to a much better cooking experience :fire: -![meat](/public/meat.png) +![meat](/meat.png) I've been thinking of going back to carnivore for a long time already, but this pan finally pushed me to do it. I'm not going **full carnivore** though, this is the list of the food I'm planning to eat: - All sorts of meat :meat_on_bone: diff --git a/src/pages/blog/2022-03-24.md b/src/pages/blog/2022-03-24.md index 2838d66..d620b8a 100644 --- a/src/pages/blog/2022-03-24.md +++ b/src/pages/blog/2022-03-24.md @@ -11,7 +11,7 @@ It includes: - My [homelab infrastructure](https://git.eug-vs.xyz/eug-vs/infrastructure/) (subject for the upcoming blog post) - And [more](https://git.eug-vs.xyz)... -![git remote meme](/public/git-remote-meme.png) +![git remote meme](/git-remote-meme.png) I'm using [cgit](https://git.zx2c4.com/cgit/) as a web fronted to it. There still is some misconfiguration here and there, but it works. Check it out! diff --git a/src/pages/blog/2022-03-26.md b/src/pages/blog/2022-03-26.md index f958ae3..f1b92d3 100644 --- a/src/pages/blog/2022-03-26.md +++ b/src/pages/blog/2022-03-26.md @@ -11,7 +11,7 @@ I use Docker on my daily job and I can't imagine it otherwise. But here, in my t Docker requires your servers to run a *daemon* - e.g extra software layer (and it's dependencies) between your applications and the metal. It will run in the background and make your fan work a bit louder :helicopter: in the upcoming summer nights to compensate for those extra couple degrees. -![meme](/public/docker-on-rpi.jpg) +![meme](/docker-on-rpi.jpg) # Introducting Ansible :ansible: [Here it comes](https://ansible.com) - **agent-less** deployment tool that doesn't require your server to run anymore bullshit than good old Python :python: and open SSH port. @@ -23,7 +23,7 @@ Ansible is not the tool you should learn, it's so simple that you can use it rig # Examples from my infrastructure :raspberry-pi: Ansible has a bunch of built-in convenience commands that make your life even more enjoyable. -![meme](/public/pepe-smug.png) +![meme](/pepe-smug.png) This is how easy it is to setup a cron-job: ```YAML diff --git a/src/pages/blog/2022-04-02.md b/src/pages/blog/2022-04-02.md index fd9a99f..289c08a 100644 --- a/src/pages/blog/2022-04-02.md +++ b/src/pages/blog/2022-04-02.md @@ -30,57 +30,57 @@ If you want to replicate a setup on the screenshot - lookup it's date and checko ## i3 I've been happy user of `i3` with a lot of "ricing" for a long time. I liked transparent windows, blur and shadows: -![screenshot](/public/desktop-screenshots/2020-12-08_01-49-30.jpg) +![screenshot](/desktop-screenshots/2020-12-08_01-49-30.jpg) -![screenshot](/public/desktop-screenshots/2021-01-06_18-57-32.jpg) +![screenshot](/desktop-screenshots/2021-01-06_18-57-32.jpg) ## DWM But then I decided to switch to suckless `dwm`. The functional approach was so much better then manual window management in i3 - as a perfectionist I always spent extra time arranging windows "in a cool way". DWM solved this problem entirely, but I still couldn't live without beautiful wallpaper and gaps. -![screenshot](/public/desktop-screenshots/2021-03-10_21-14-09.jpg) +![screenshot](/desktop-screenshots/2021-03-10_21-14-09.jpg) -![screenshot](/public/desktop-screenshots/2021-03-27_01-26-27.jpg) +![screenshot](/desktop-screenshots/2021-03-27_01-26-27.jpg) -![screenshot](/public/desktop-screenshots/2021-04-26_00-06-32.jpg) +![screenshot](/desktop-screenshots/2021-04-26_00-06-32.jpg) -![screenshot](/public/desktop-screenshots/2021-06-04_08-52-16.jpg) +![screenshot](/desktop-screenshots/2021-06-04_08-52-16.jpg) -![screenshot](/public/desktop-screenshots/2021-06-25_16-19-05.jpg) +![screenshot](/desktop-screenshots/2021-06-25_16-19-05.jpg) -![screenshot](/public/desktop-screenshots/2021-06-28_19-12-39.jpg) +![screenshot](/desktop-screenshots/2021-06-28_19-12-39.jpg) -![screenshot](/public/desktop-screenshots/2021-07-15_14-20-16.jpg) +![screenshot](/desktop-screenshots/2021-07-15_14-20-16.jpg) ## Fuck gaps! After ~4 months of `dwm` (and ~year of using minimal window managers) I realized - gaps are just taking too much of my screen real estate! Let's try removing them entirely: -![screenshot](/public/desktop-screenshots/2021-07-22_09-50-48.jpg) +![screenshot](/desktop-screenshots/2021-07-22_09-50-48.jpg) As a bonus you stop caring about your nice wallpaper because you only see it once - when you first boot your machine. You can also get rid of your composite manager now. Finally, get rid of that bright orange: -![screenshot](/public/desktop-screenshots/2021-08-14_02-29-30.jpg) +![screenshot](/desktop-screenshots/2021-08-14_02-29-30.jpg) -![screenshot](/public/desktop-screenshots/2021-10-07_13-11-59.jpg) +![screenshot](/desktop-screenshots/2021-10-07_13-11-59.jpg) -![screenshot](/public/desktop-screenshots/2021-10-17_16-17-55.jpg) +![screenshot](/desktop-screenshots/2021-10-17_16-17-55.jpg) -![screenshot](/public/desktop-screenshots/2021-11-06_15-24-35.jpg) +![screenshot](/desktop-screenshots/2021-11-06_15-24-35.jpg) -![screenshot](/public/desktop-screenshots/2021-12-05_21-38-36.jpg) +![screenshot](/desktop-screenshots/2021-12-05_21-38-36.jpg) That setup was untouched for 4 months! Finally rollback some patches to get that beautiful default status bar (that color though!): -![screenshot](/public/desktop-screenshots/2022-03-21_20-01-58.jpg) +![screenshot](/desktop-screenshots/2022-03-21_20-01-58.jpg) ## Current state That lived for 3 more months and now I use gray as the accent color and all my borders are black! Also I decreased the number of available tags. -![screenshot](/public/desktop-screenshots/2022-04-02_14-59-33.jpg) +![screenshot](/desktop-screenshots/2022-04-02_14-59-33.jpg) Most of the time I hide status-bar anyway. -![screenshot](/public/desktop-screenshots/2022-04-01_18-44-17.jpg) +![screenshot](/desktop-screenshots/2022-04-01_18-44-17.jpg) diff --git a/src/pages/blog/2022-04-18.md b/src/pages/blog/2022-04-18.md index 07ba19b..21439ff 100644 --- a/src/pages/blog/2022-04-18.md +++ b/src/pages/blog/2022-04-18.md @@ -47,5 +47,5 @@ Well, everything above was "head-on" way. Taking a closer look to the upstream r https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/1.patch # See also - - [Running Gentoo :gentoo: on multiple workstations](2022-04-17.md) - - [DWM - useless gaps are useless!](2022-04-02.md) + - [Running Gentoo :gentoo: on multiple workstations](2022-04-17) + - [DWM - useless gaps are useless!](2022-04-02) diff --git a/src/pages/blog/2022-04-24.md b/src/pages/blog/2022-04-24.md index 8100ea8..c0cd834 100644 --- a/src/pages/blog/2022-04-24.md +++ b/src/pages/blog/2022-04-24.md @@ -42,7 +42,7 @@ src_install() { } ``` -I'm often switching machines when developing my program, so I want to make sure that all dependencies are easily installable. Since I've recently [switched my last workstation to Gentoo](./2022-04-17.md), sharing packages can't be easier for me! As you can see, I'm just passing a link to a release tarball, specifying stuff like license and keywords and some metadata. All magic is of course happening inside the functions, which are as easy as calling `make install` with some environmental overrides. There's also a default implementation for these functions, and in many cases you don't even need to override them. Now I can install my package as usual `emerge -av media-libs/raylib`, and Portage will do the job. Everything's as it should be - a *package manager* is *managing a package*. +I'm often switching machines when developing my program, so I want to make sure that all dependencies are easily installable. Since I've recently [switched my last workstation to Gentoo](./2022-04-17), sharing packages can't be easier for me! As you can see, I'm just passing a link to a release tarball, specifying stuff like license and keywords and some metadata. All magic is of course happening inside the functions, which are as easy as calling `make install` with some environmental overrides. There's also a default implementation for these functions, and in many cases you don't even need to override them. Now I can install my package as usual `emerge -av media-libs/raylib`, and Portage will do the job. Everything's as it should be - a *package manager* is *managing a package*. Another example would be `libspotify`, which is a *proprietary program* that enables other programs to use Spotify API: @@ -76,7 +76,7 @@ src_uninstall() { } ``` -It's a bit trickier: we don't need to compile it, so we explicitly say that we are doing nothing in `src_compile` function. We also [apply a patch](./2022-04-18.md) so that we can more precisely specify destination directory. It's also important to match the keywords - since this binary is precompiled for `amd64` architecture I specify the corresponding keyword and install it under `/usr/lib64`. Now I can stream my Spotify playlists from my `mopidy` server! +It's a bit trickier: we don't need to compile it, so we explicitly say that we are doing nothing in `src_compile` function. We also [apply a patch](./2022-04-18) so that we can more precisely specify destination directory. It's also important to match the keywords - since this binary is precompiled for `amd64` architecture I specify the corresponding keyword and install it under `/usr/lib64`. Now I can stream my Spotify playlists from my `mopidy` server! These examples are not perfect, and they are not trying to be! I've created them for personal use, but they can give you an idea about the whole process. But you can of course get them from [my overlay](https://git.eug-vs.xyz/eug-vs/ebuild-repository/). There's also a package for [openring](https://git.sr.ht/~sircmpwn/openring) and my own build of `dwmblocks`. diff --git a/src/pages/blog/index.md b/src/pages/blog/index.md index 56fc6ca..2f15a79 100644 --- a/src/pages/blog/index.md +++ b/src/pages/blog/index.md @@ -7,50 +7,50 @@ layout: ../../layouts/BlogLayout.astro ### October -- [Tell your designer that you use Tailwind :tailwind:](2022-10-16.md) +- [Tell your designer that you use Tailwind :tailwind:](2022-10-16) ### September -- [Plaintext accounting :hledger: is cool](2022-09-30.md) -- [Branching sucks. Trunk-based development :git: will boost your project!](2022-09-26.md) +- [Plaintext accounting :hledger: is cool](2022-09-30) +- [Branching sucks. Trunk-based development :git: will boost your project!](2022-09-26) ### April -- [Creating Gentoo :gentoo: ebuilds is easy as fuck!](2022-04-24.md) -- [Patching Gentoo :gentoo: packages in the wild](2022-04-18.md) -- [Running Gentoo :gentoo: on multiple workstations](2022-04-17.md) -- [DWM - useless gaps are useless!](2022-04-02.md) +- [Creating Gentoo :gentoo: ebuilds is easy as fuck!](2022-04-24) +- [Patching Gentoo :gentoo: packages in the wild](2022-04-18) +- [Running Gentoo :gentoo: on multiple workstations](2022-04-17) +- [DWM - useless gaps are useless!](2022-04-02) ### March -- [Agent-less infrastructure management with Ansible :ansible:](2022-03-26.md) -- [Here comes my git server :fire:](2022-03-24.md) -- [Жыве Беларусь! :belarus:](2022-03-17.md) +- [Agent-less infrastructure management with Ansible :ansible:](2022-03-26) +- [Here comes my git server :fire:](2022-03-24) +- [Жыве Беларусь! :belarus:](2022-03-17) ### February -- [Слава Україні! :ukraine:](2022-02-26.md) +- [Слава Україні! :ukraine:](2022-02-26) ## 2021 ### October -- [Pistol :gun: - yet another ASCII renderer](2021-10-28.md) -- [Ray marching in Rust :rust: !](2021-10-27.md) -- [You should start using `ssh-copy-id` now!](2021-10-06.md) +- [Pistol :gun: - yet another ASCII renderer](2021-10-28) +- [Ray marching in Rust :rust: !](2021-10-27) +- [You should start using `ssh-copy-id` now!](2021-10-06) ### September -- [I'm back on Carnivore! :meat_on_bone:](2021-09-21.md) -- [Summer 2021 - retrospective](2021-09-10.md) +- [I'm back on Carnivore! :meat_on_bone:](2021-09-21) +- [Summer 2021 - retrospective](2021-09-10) ### August -- [Python :python: in real life](2021-08-18.md) -- [Using imagemagick :imagemagick: to crop soy faces](2021-08-14.md) +- [Python :python: in real life](2021-08-18) +- [Using imagemagick :imagemagick: to crop soy faces](2021-08-14) ### July -- [CircleCI :circleci: in daily life: how I improved Matrix stickerpicker](2021-07-15.md) -- [What's wrong with Numerology](2021-07-03.md) -- [My plans for this website](2021-07-02.md) +- [CircleCI :circleci: in daily life: how I improved Matrix stickerpicker](2021-07-15) +- [What's wrong with Numerology](2021-07-03) +- [My plans for this website](2021-07-02) diff --git a/src/pages/index.md b/src/pages/index.md index 90ff30c..07b8064 100755 --- a/src/pages/index.md +++ b/src/pages/index.md @@ -7,7 +7,7 @@ I'm **Eugene** - software developer, enthusiast, free spirit and a cool guy. Her # About this website This website runs on my local [Raspberry Pi :raspberry-pi:](https://www.raspberrypi.org/) along with many other services. -It's nothing more than a series of interlinked wiki pages that I write in **Markdown** :markdown: when I'm too lazy to do something productive. Checkout more info on my [blog post](/blog/2021-07-02.md). +It's nothing more than a series of interlinked wiki pages that I write in **Markdown** :markdown: when I'm too lazy to do something productive. Checkout more info on my [blog post](/blog/2021-07-02). No bullshit, ads, trackers or client-side JavaScript here. @@ -21,10 +21,10 @@ You can find my projects on my [:git: git server](https://git.eug-vs.xyz). I'm an CTO of the web-marketplace startup called :barter: Barter: https://barter-eco.com # Recent blog posts - - [See all...](./blog/index.md) + - [See all...](./blog) # Articles - - [TaskWarrior :taskwarrior: is all you need to be productive!](./articles/taskwarrior.md) + - [TaskWarrior :taskwarrior: is all you need to be productive!](./articles/taskwarrior) # Contacts - :email: eugene@eug-vs.xyz @@ -40,7 +40,7 @@ I accept tips via **Brave Rewards**. [How to send a tip?](https://support.brave. ## :monero: Monero My Monero donation address: -![monero-qr](/public/monero-qr.png) +![monero-qr](/monero-qr.png) `48WZbWqmbyuKhoFkbac4mNYSSFop5LqJz2PFsW1PMLgdYrGpvvZtTrwUgQs5Tgf5EXJWcgmp53TdxBnTapajAbMuLuGqBf2` |