find . -type f -name '*.php' -newermt "$(date -d "$(date +%y-%m-1) - 1 month" +%y-%m-%d)"
2023-01-16
How to find files modified last month
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:
2020-09-25
Windows 10 JumpListItems_Maximum
In the Registry Editor, use the left sidebar to navigate to the following key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Right-click the Advanced folder and choose New > DWORD (32-bit) Value. Name the new value JumpListItems_Maximum and then double-click the value to open its properties window.
In the value’s properties window, select “Decimal” under Base and then enter the number of recent items you want your jumplists to show in the “Value data” box. We’ve found that 15-20 is a pretty good number that still lets the whole jump list show on most displays.
https://www.howtogeek.com/267705/how-to-increase-the-number-of-jump-list-items-in-windows-10/2020-08-03
How to Reset Windows 10 Start Menu Layout to Default
Very simple, but very effective and useful method to restore default Start Menu layout in Windows 10.
- Open
regedit.exe - Navigate to:
\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache - Delete (or rename) DefaultAccount key.
