RSSAmplifier

Blog

markentier.tech

About people, tech, and code

markentier.techRSS feed ↗37 posts

Latest posts

cargo upgrade on Windows

I use Windows 11 as my main OS on my home PC, so I have to tweak some of my commands for that environment. The previously mentioned cargo upgrade is no exception. Installation (Windows) cargo install cargo-edit ` --no-default-features ` -F upgrade,vendored-libgit2 ` --bin cargo-upgrade Note: Every time you see a \ somewhere, replace it with ` to make it work in Powershell. You can also install…

Self-signed certificates with mkcert

In a previous sticky I briefly put down how to get a quick'n'dirty self-signed TLS 1 certificate, but also mentioned mkcert.dev , which makes it a bit better for some use cases. Install mkcert # Windows, with scoop (it's like homebrew) scoop bucket add extras # skip if you have done this already scoop install mkcert Non-Windows users find more ways under mkcert install . Prepare mkcert -install…

Sticky Notes: Self-signed Certificate

Sometimes I need a TLS 1 certificate, for some local HTTPS or other services/protocols with some level of security to play nicely. Make sure you have openssl installed on your computer. Then run: openssl req -nodes -new -x509 \ -keyout server.key -out server.crt \ -subj '/C=EU/L=Berlin/O=MarkentierTech/CN=myservice' Notes: replace values for the parameters ( C , L , O , CN ) to your needs a…

Sticky Notes: cargo upgrade

While cargo already has most common commands integrated, one I miss from cargo-edit is cargo upgrade . It's super convenient if you want to bump all dependencies at once to the latest (in)compatible version. This is how to install just this single executable: cargo install cargo-edit \ --no-default-features \ -F upgrade,vendored-libgit2 \ --bin cargo-upgrade Notes: --no-default-features to avoid…

Capture The IP

Instead of following through with Advent of Code … again, my brain thought differently: why not implement ipv4.games in Rust?

Halftime

The average life span of a human is around 80 years. Today marks my halftime. I have no freaking clue what to do with that second half. No plot twist here.

Speedy Rust builds under WSL2

Developing on Windows & Linux? Using WSL2 but repos are on NTFS disk? Having slow build times? Then compile elsewhere!

(blank)

This page is intentionally left blank.

Multi-arch container images for Docker and Kubernetes

You run clusters on Raspberry Pis and Intel NUCs? You love ARM, but also need to provide images for your PC friends? Fret no more, learn about manifest lists and how BuildKit makes your life easier.

git's autocrlf=true considered harmful

To quote from a StackOverflow answer: »Never turn autocrlf on, it causes nothing but headaches and sorrows.« There's not much to add to that statement, so I provide some background to line breaks in general. No typewriters were harmed in the process.

Clean up unmerged branches on GitHub automatically

GitHub can automatically delete merged head branches of pull requests only. And I have a tiny GitHub Action for you to clean up the unmerged ones.

Tired

This year I managed to write at least one—hopefully interesting—article per month. Now it's August, and I'm tired. Not only physically, but also mentally.

Rust Safety and Security

Lately I see people complaining about "the Rust community" to confuse memory safety with general safety and security. But do "they" really?

Meritocracy

I don't know who needs to hear that, but meritocracy is not a desirable goal. It is not fair, it creates inequality, and it is harmful to inclusion and diversity. It is a dystopia and satire.

Whiteboards

Something missing in my life is that huge blank canvas and a marker in my hand. And a team around it to draft ideas and be creative. A tiny love letter to whiteboards. 💌

Self-Care

I don't think anyone should feel bad about leaving bad and toxic workplaces. While it is lovely if you care about the people you leave behind, do not forget: you always have to take care of yourself first. Otherwise you won't be able to help others in the future. Sadly enough I have to remind myself about this. Although I probably try to care about others and other things to distract myself about…

[Tiny Bits] Windows shortcut key symbol ⊞

After reading some documentation of some PowerToys utilities I noticed that Microsoft found a pretty neat trick to use a unicode character as symbol for their Windows shortcut key: ⊞ Win

Responsive TOC leader lines with CSS

Not long ago I replaced my homepage of an image based overview with a very slim Table Of Contents version. The trickiest part was to make that responsive. I finally found a solution. As usual: no JavaScript involved.

Using git with multiple profiles & GPG/SSH keys

I work across 2 computers and 3 OS, all with nearly same development setup. For work I need some special care for my git config, since I want/need access to personal repositories.

Rust/Wasm on AWS Lambda@Edge

Ever felt limited by the languages on AWS Lambda@Edge? Wanted to run Rust for your CloudFront triggers, but re:Invent 2020 disappointed you in that matter? Let me show you one way of how you can still get it done.

Most Popular Language: Rust

Someone regularly reminds me of this fact. So that I do not forget, I write it down.

Is Microsoft eating the Software World?

Usually the answer to such indicative title questions is No, but perhaps this time the answer is … Maybe yes?

Raspberry Pi 400

Raspberry Pi 400 was released, an (almost) all-in-one desktop computer kit. And the new package just reminded me of my first computer, the Amiga 500.

Medium Icon SVG

Medium got a new logo. And vector graphics are kinda my thing. So I took a look at their icon's SVG source. It's pretty small, but you know, it can be shrunken further.

How I wrote JavaScript to avoid JavaScript

Web technologies have come so far, that you realize: not everything needs to be done in JavaScript nowadays anymore.

Faster git status under WSL2

With WSL2 filesystem performance degraded for the mount points of the Windows host. Here's a tip to speed up git status again.

Rust 2021

Collecting my thoughts around what I would want from Rust in 2021.

Beginnings

They say, change is painful. You must become vulnerable. I hate being vulnerable. And yet I have to expose myself to change something …

Notes: Nokogiri installation errors on macos

Quick answer:bundle config build.nokogiri --use-system-libraries && bundle install

Minimalism, Focus, Clean

Start with whatever you have, but don't stop reaching for something better. Why I love minimalistic and simplistic web designs.

TIL: rebeccapurple

While polishing my theme, I discovered Rebecca. I love it, when technology gets some human touch.

Hitchhiker's Guide To Structured Data

A tiny journey to the building blocks of the semantic web and how they make our lives much easier.

Progressive Web App

This site is a Progressive Web App now, too. What does it mean and why are PWAs so cool? Main reason: it is about speed!

From cobalt.rs to zola (née gutenberg)

I wish I could have the features of both tools, but for now I will use zola over cobalt. A tiny migration and feature comparison story.

How to build a static site/blog

A comment on my previous post »Push, rinse, repeat …« made me think about that you might want to know how this blog is being built and deployed.

Push, rinse, repeat, …

I haven't bootstrapped a blog or static site for quite some time.

Hello, code!

Nothing but initialization of yet another tech blog.