Linux

CPU burn in linux/virtual environment.

Below you can find python script to burn cpu (for expamle, when testing alerting) in virtual (and physical) environment. Script is scaling (automatically) for number of CPU presented for the OS burn_cpu.py To run script use the following command: python3 burn_cpu.py

Linux

Compare md5 between linux and macos

The md5 can be calculated against the file in order to compare two files or to be sure that the file you are dealing with is the one you wanted (if something for example is downloaded to your local server/computer from Internet). In all (I know) linux distribution you can …

Free(BSD)

Converting MOV File to Smaller Size: A Guide to Converting to MP4

If, like me, you happen to be recording your desktop, which is quite simple and convenient on any current operating system (including ChromeOS or MacOS), sooner or later you may run into a disk space issue. From time to time, when I’m working on new configurations or playing around with …

Free(BSD)

MacOS helpful tricks and some other findings.

MacOS in excellent, proven modern (but with long history) operating system. It is extremely stable – 50-60 days uptime shouldn’t surprise. It is with POSIX implementation, secure, standarised Unix. All the features implemented in that OS over the years should make most users happy, regardless advances or beginners.You can like …

Linux

LXC container for lab environment.

Power of the containers (mainly based on docker) has been proved many, many times. But what in the scenario you have very, very limited resources in your virtual lab and lets say, small debian installation with very few GB of RAM and 1 CPU. With LXC you can use this …

Linux

Create debian usb bootable USB stick under macOS.

To create debian bootable disk you can use tools already available in macOS. We are going to use: If you need to remove partition from your external drive and “Disk Utility” is no able to do that, you can use the following example: diskutil eraseDisk JHFS+ UntitledUFS disk4.That would destroy …

Azure

Azure SAP HANA compatibility

SAP HANA Large instance in Azure is now in “sunset mode” and new customers cannot use this type of deployment. To deploy new HANA installation one of the many Azure VM SKU can be used. The biggest one (as of Jan, 28, 2022) with spectacular 24TB(!) of RAM and 896 …

Azure

gmail, filter forwarded email

If you need to have for some reason more than one gmail account (ie. working for more companies) but you are checking just one mailbox regularly then below is the solution that might work for you as it did for me. In that way, all incoming messages to your source …

Free(BSD)

lftp – advanced s/ftp/s client.

If you are dealing with ftp, ftps or sftp file transfer very likely you already have some favorite client for that purpose. I usually use FileZilla which works fantastic in graphical interface regardless it is on Linux/FreeBSD/MacOS or even Windows. For cli my first choice is lftp[1] whenever it is …

Linux

Problem z python pod Ubuntu 20.04

Jeśli uruchomienie programu pod Ubuntu kończy się komunikatem o braku python-a: to należy zweryfikować, czy python został zainstalowany. Najprawdopodobniej tak. Jeśli wywołasz polecenie python w konsoli wówczas otrzymasz coś podobnego do: W Ubuntu 20.04 domyślną wersją interpretera python jest python3 (python3.8). Aby zaktualizować system o informację, że python to python3 …