Thursday, March 31, 2022

Securing Postfix With TLS

Encrypting data transfer over HTTP protocol is slowly becoming a common practice. Web browsers vendors, general security knowledge, and services like Let’s Encrypt help a lot. There are, of course, a lot of legacy systems with no encryption or an insecure configuration. However, in my opinion, the situation is a lot better than with the good, old, simple mail transfer protocol. So, if you have an SMTP service and it is not yet secured with TLS, you should do it, especially since it is not as straightforward as it seems initially.

Read more…

Wednesday, February 2, 2022

How to Move Subdirectory Into New Git Repository?

I have had to move one of the subdirectories of a Git repository to a new one. I needed to keep the commits history on the new repository. But, of course, only that relevant part of history for my subfolder. Looking on the Internet for a solution, I have found a lot of articles suggesting filter-branch, but it turns out it is not the best solution. At least for me.

Read more…

Friday, January 7, 2022

How to Use PlatformIO Core?

PlatformIO provides an integrated development environment for developing embedded solutions supporting, as of the start of 2022, 51 platforms and 28 frameworks for over 1000 different boards. It is called PlatformIO IDE, and in my opinion, it is the best free and open-source solution for developing embedded solutions. Especially in comparison to such bad products like Arduino IDE.

Read more…

Friday, November 12, 2021

JavaScript Static Code Analysis

JavaScript is one of the most popular programming languages. Depending on the ranking we check, it could be 7th (TIOBE Index), 3rd (PYPL index), or even the 1st (JetBrains) most popular. It is a high-level and multi-paradigm language with dynamic typing. In my experience, it could be very poorly written with a lot of inconsistencies - take a look at some prevalent libraries and modules in the NPM repository.

Read more…

Monday, September 20, 2021

CSS, SCSS and Sass Static Code Analysis

Cascading Style Sheets is the most widespread style sheet language. It is one of the three pillars of modern web development. Although CSS is not the most complicated language, it could still gain a lot from SAST (Static Analysis Software Testing) tools. The standard tool used for code analysis for CSS, or Sass used as a preprocessor, by all professionals is Stylelint.

Read more…

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 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 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. With some configuration changes, one could use all of them 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 replaces 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…
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.