Add to archive (Tar) files by mask

In Linux (Debian, Ubuntu) it’s very cool to use bash and command line. Recently I wanted to add to archive approximately 3000 ‘jpg’ files, which were named like ‘test_2024_06_10 11:22:00’. I didn’t want to select so many files manually, so I did it from command line. This is how my command line text looked like: Read more»

Linux

Extend Windows Server trial

Windows

For local development I often need Windows server and I use trial version. As six months came through, I need to buy or extend it. Of course, I prefer to extend 🙂 Open PowerShell as administrator and execute the command: slmgr -rearm To continue the trial for your Microsoft Office, you can use OSPPREARM.EXEcd %SystemDrive%\Program […] Read more»

Windows

CDN with International flags in SVG

flags

I found a very cool collection of flags in SVG format. It can be used as CDN or added to a project with npm. The library is called ‘flag-icons’. The flags are in 2 formats – 4×4 and 1×1. Read more»

React

Run PostgreSQL in Docker

To Run PostgreSQL in Docker I use an official image ‘postgres’ from https://hub.docker.com/_/postgres. You can start it as it’s described in the documentation, but I prefer to use docker-compose. For me it’s more flexible and allows to avoid of errors when start form command line. Read more»

Web server

Flexible and simple Export to Excel for .Net

Once again I have to make Export of to Excel. And this time there are requirements to the template – colors, formatting and others. Not so long ago I implemented the export to Excel with XLSX package for React, and it was rendered at client. This solution is good but has many constraints. So, I […] Read more»

.Net & C#

Add new value to $PATH variable in Linux (Debian, CentOS, Ubuntu)

With SSH you sometimes need to add new value to the $PATH variable. When your application is not in the directory, which exists in the $PATH array. If you don’t want to write down the full path in the command line, for example, ‘/home/user/myapps/makephoto’, you can add ‘/home/user/myapps/’ to $PATH and then you can execute […] Read more»

Linux

Popular Posts