Sunday, February 28, 2021

8 Git Best Practices

The purpose of version control systems is to keep a history of a file’s changes or a very complex system consisting of thousands of files. That is it. Nothing more. When you are using it on your own, you could use it as you want, as long as it still serves its purpose and you could recall a specific version in history. However, when using distributed version control systems (DVCS), like Git, you should decide on some best practices, especially when using it as a team.

Read more…

Wednesday, February 17, 2021

Static Code Analysis for Laravel

Today I will show you what type of static code analysis tools I use for Laravel based projects. All of them, with some configuration changes, one could use with any PHP project, such as those using Symfony. Static code analysis is a source code structure analysis and test without running or compiling the code. Although it will not find all potential problems and bugs and is not replacing code review, it could be beneficial, especially in bigger teams.

Read more…

Sunday, December 13, 2020

The Problem With Nginx Add_header

I often have a problem using nginx’s add_header directive, especially with a complex configuration, including multiple virtual hosts. When I test the configuration, everything seems okay, and the nginx does not complain about any syntax. However, when checking the HTTP headers returned by the web server, it looks like it does not work.

Read more…

Friday, August 28, 2020

Internet of Things - Let's Build Something!

Over a year ago, I had done a workshop about the Internet of Things. I had targeted this workshop for programmers working with a different technology stack and with a wide range of skills but with little or no knowledge of electronics and IoT in general. The idea behind this project was to create a small, working example of an IoT device and source code written for both the embedded device and the server-side. During prototyping, we used low-cost, ready-to-use, and easy-to-assemble modules.

Read more…

Monday, April 6, 2020

Altered Carbon Season 2 Review

The ending of season one left no doubts - Takeshi Kovacs lives, and we will see more of his adventures in the next season. Thirty years after the Bancroft case, another Meth locates Kovacs and offers him a job and a new sleeve. Once again, Takeshi would have a chance to see Quellcrist Falconer. A new sleeve means the new look of the main character, and a different actor is playing the leading role. That important story component allows TV series showrunners to introduce new actors or actresses for the leading role, which has some Doctor Who vibe. Something not so familiar in popular TV series, even those sci-fi.

Read more…

Saturday, March 21, 2020

The Most Useful OpenSSL Commands

OpenSSL is one of the most useful applications available on all major platforms. It is an open-source implementation of SSL and TLS protocols and cryptography algorithms. Useful on enterprise-level and for your personal needs. And this is my list of the most useful OpenSSL commands.

Read more…

Thursday, March 12, 2020

Sex Education Season 2 Review

I was not sure what to expect from the new second season of Netflix’s Sex Education. At first sight, the series setting looks like a teen series from the 80s and 90s, but in reality, it is likely aiming at adults as a prime audience. The first season was a well-tailored comedy/drama about conflicts, growing up, being an adult, and a parent. Although the primary theme is sex, it is not in any way vulgar or, what would even worse, embarrassing. It was not the best tv series ever but a good one which I enjoyed.

Read more…

Sunday, February 23, 2020

PHPUnit Code Coverage and SonarQube

SonarQube is a wonderful tool for static code analysis and code review. Of course, it is not an all in one tool which replaces all other tools used in code review toolchain. SonarQube has a whole section dedicated to code coverage, but it analyzes code coverage, not run any tests.

Read more…

Sunday, January 19, 2020

How to Decrease the Size of Docker Images?

Creating new docker images based on some official Linux distributions or modifying existing ones increase their size. Sometimes, the difference between the new and the old ones dramatically exceeds the size of new packages or modifications. The reason behind that is mostly the way how images structure looks like and how Docker uses images and containers.

Read more…
This site uses cookies to analyze traffic and for ads measurement purposes according to your browser settings. Access to those cookies is shared with Google to generate usage statistics and detect and address abuse. Learn more about how we use cookies.