2023-10-04

How To Upgrade To Debian 12 Bookworm From Debian 11 Bullseye

Recenly I wanted to upgrade one of my virtual machines from Debian 11.1 (bullseye) to Debian 12 (bookworm). But how to do that when it is not Ubuntu, which I use quite often?

Well, I have found a very informative tutorial, step by step - with almost guaranteed success ratio ;-)

See more:
https://ostechnix.com/upgrade-to-debian-12-from-debian-11/

2023-05-05

Secure Apache with Let's Encrypt on Ubuntu 22.04

TUTORIAL: How To Secure Apache with Let's Encrypt on Ubuntu 22.04

Perfect tutorial with perfect outcome! The crucial thing is indeed to have VirtualHost configured on HTTP port 80 in Apache first. With these instructions getting auto-renewable SSL certificate for a website is really easy. Big THANK YOU to the authors :)

2023-01-16

How to find files modified last month

Very interesting use of Linux date program, especially parameters to calculate start of last month. It's clever and it works!
find . -type f -name '*.php' -newermt "$(date -d "$(date +%y-%m-1) - 1 month" +%y-%m-%d)"

2022-09-21

Install Google Chrome on Ubuntu 20.04

New virtual machine and new Kubuntu installation. Good days ahead again!

I just found out that old ways of using apt-key program are replaced in new Ubuntu Linux releases by Apt directory /etc/apt/trusted.gpg.d/. It is similar to another Apt directory /etc/apt/sources.list.d/ with files describing software repositories.
Good opportunity to learn something new :)

To install official Google Chrome including automatic updates, I used following tutorial:

Install Google Chrome on Ubuntu 20.04

2021-11-10

How to restore full context menus in Windows 11

Original article:

Related blog post:

Registry files
win11_classic_context_menu.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
@=""

[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""
undo_win11_classic_context_menu.reg
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]

2021-02-05

Git line endings CR-LF

There is a need in some developer teams to use the same settings for line endings of text files that are checked out or commited to Git repositories.
For this there are two options in git config that can be applied:

  • core.safecrlf=false
  • core.autocrlf=input

I am using these settings with great success to achieve the ultimate goal: use Unix line endings whenever possible, even when developing on Windows machine.


2020-12-20

Keyboard without AltGr - now what?

Recently I found myself using temporarily a keyboard without "right Alt" key, also called "AltGr" (graphical Alt). However I needed that to work to enter characters in the locale I am in.
So I thought: is there any hope? SharpKeys to the rescue!

TL;DR

I ended up with single entry in the Windows Registry, with necessary system restart afterwards. Then to my surprise IT JUST WORKED! (TM) 😁

Following is the exported registry data with Scancode Map key:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,38,e0,5d,e0,00,00,00,00

References: