WebSockets for dummies

A simple write up on what is WebSocket protocol and how does it work. WebSocket protocol enables two way real-time communication between a client and a server over a TCP connection. One well known example where WebSockets are beneficial is a chat applications. By implementing chat over WebSocket protocol we get a live view of a chat window without having to re-load the browser page int order to fetch the new messages....

Note stock photo

I built a perfect note taking system

Shopping lists, class notes, technical documentation, time and place of important appointment - all of these things are difficult to keep in our heads, therefore we tend to write things down. It doesn’t matter who you are and which field are you working in, you probably have some kind of note taking system in place. It could be a physical notebook, a pile of post-it notes, the default ’notes’ app in your phone or perhaps more sophisticated piece of software with advanced note management features....

Linux From Scratch logo

I built Linux from scratch

Linux From Scratch or LFS is a project that provides and maintains a set of instructions of how to build your own Linux system from scratch. I am always curious to understand how things work ‘under the hood’, and since I’m a daily Linux user i decided to take on the challenge to try and complete building Linux From Scratch. Not your ordinary Linux distro Some people think that LFS is similar to other minimal Linux distros like gentoo, however there’s a big difference between installing a complete distribution and building your own system....

June 27, 2023 2 min
ansible logo

From Disaster to Efficiency: Automating My Raspberry Pi Setup After SD Card Failure

The surprise On one nice spring evening, I was away from home and wanted to check some of my old photos. I have my photo library service hosted on my lan, which i access through WirGuard VPN when I’m away. As per usual I launched the WireGuard app on my phone, turned the VPN on, but to my surprise the photo service wasn’t reachable. Weird. I played with it for a while restarted my phone, nothing helped....

jenkins logo

Automating deployment for new blog posts with CI/CD pipeline.

In my first post mentioned that i have ideas for improvements of my blog infrastructure. I figured it’s time to introduce them. This will be a write-up of how i automated the process of updating this blog by hosting it as an image in docker hub and using Jenkins CI/CD tool. Setting up jenkins container and nodes First things first, we need jenkins instance running somewhere. I chose to run it on my server in a docker container....

wireshark logo

Recreating a video from captured network traffic

A few days ago i stumbled upon the idea to recreate a video from traffic captured in PCAP file. It may be a common knowledge that this is possible, but it felt like the coolest thing i’ve done in a while. If you’re interested on how it was done continue reading. Capturing traffic For capturing traffic i used a wireshark - a free and open source tool for capturing and analyzing network traffic....

HUGO logo

How i set up my self-hosted hugo blog

Hello World! My first blog post will be about how i set up and hosted my site with hugo, docker and nginx. There are many platforms to write a blog on - you can create your website from scratch or use a wordpress site, you can write on already established platforms like medium or dev. I did’t chose to write on those platforms as i wanted to learn something new. I have heard some good things about hugo and i decided to give it a shot....