# Log

🪵 A living log combining my main feeds: articles, micro and photos.

### Recently in July '21

This year has been passing way too fast. In the beginning, I felt the urge to finish the academic year. Now, I’m only one month away to the beginning of my (hopefully) last year of university. Exciting projects may happen this year and I’m here for it.

July was quite a nice month. In the beginning of the month, I came to Portugal. Then, my boyfriend and I visited Lisbon for roughly a week, which allowed me to see some of my friends, and then we went to Porto, where we had a nice boat ride.

Since then, I’ve been staying at my parents, and, I’m not going to lie, there’s not much to do, but it’s been good nevertheless. I will be soon returning to the Netherlands, so we don’t need to rush.

I’m hoping for a calmer academic year, but is it going to happen? Let’s slowly enjoy the rest of the summer.

### Recently in June '21

June is done, exams are done, first year of my master’s degree is finished. Yay! I really don’t have many updates, besides the fact that I will be working on an exiting project next year at university.

Now, it’s time to rest and go back home.

How much can I bet that I will leave @TUeindhoven without ever having an on-campus class? I was hoping next year would be different. Do I believe it? No.

Now, if you decide to curl my website curl -L hacdias.com, you’ll get the same contents as my humans.txt file. Just a fun feature for curl users!

### Recently in May '21

As I usually say, one more month has passed and we’re already in June! If everything goes on well, this is the last month of classes and exams of my Master’s first year.

It’s been very busy, and I’m pretty sure this month will be even more. There’s assignments to deliver almost every week for the many courses I have and I have to start preparing for the exams too.

In other news, I visited Den Haag, Maastricht and Tilburg! I also managed to dedicate more time to photography and revamp my photos page. But let’s be honest: I’m always changing something on this website so it’s not as if that’s news.

I leave you with one of my favorite pictures of the month, but I invite you to check out the other ones!

A few days ago I saw a blog post by GitHub announcing their support for security keys in SSH operations. After a bit of search, I discovered that OpenSSL 8.2, released last year, lets us use our FIDO2 devices (such as Yubikeys) to “unlock” our SSH private keys. This way, we don’t need the cumbersome GPG <-> SSH relation.

I tried it, and it was nice. I don’t know if I’m going to start using it right away because not every place uses OpenSSL 8.2+ yet, but soon, very soon.

### cd subdirectory alias with completions in zsh

For quite some time, I’ve had a helper function on my ZSH config to quickly be able to cd to specific directories. It looked something like this:

function cdc() {
cd "$HOME/Code/$1"
}


So simply typing cdc or even cdc hacdias/hacdias.com would work perfectly. But there was a problem: I was seeing myself just typing cdc, pressing enter, and then “cding” to the right directory. This mostly happened because there was no autocomplete with this function.

Yesterday I decided to investigate how to enable autocomplete for this function and it’s actually pretty straightforward. To do so, you need to implement a definition function. It is standard to call it _{name of alias}. Hence, in our case, it would be _cdc.