Monday, January 05, 2026

Adding to a the CLAUDE code a visual and audio notification that the task is completed

 # One time install a module using andministrator powershell 

`Install-Module -Name BurntToast`

 notice: will ask stupid questions.

 

 ## Copy Files: 

  • play-done.bat 
  • TaskDone.png 
  • done.mp3  

 to the `./clause` directory of the project. in the directory where the  `CLAUDE.md` is

 

 add to `CLAUDE.md` 

 

`When you complete a task, run: ./claude/play-done.bat`

the play-done.bat file

Wednesday, September 03, 2025

Laptop Disk IO progress..

 measured on 2025-09-03

my new work laptop 



my old friend Lenovo W520 from the IBM labs days.




Monday, August 18, 2025

when need to clone a system disk with Windows 11

 use tool MultiDrive https://multidrive.io/ - it can clone a disk to disk with both on USB or VHDX file to physical drive. 


I used version 1.1.0 2025-07-08 

this will give you a cloned disk that might not boot! 

then follow the guide https://woshub.com/how-to-repair-uefi-bootloader-in-windows-8/

this is by far best guide I have seen to fix the boot of windows 10 or 11


Thursday, March 28, 2024

 how to give access to private packages in the github packages 

specific biz.daich.common and other 

followed this answer https://github.com/orgs/community/discussions/26634

created github user daichReadOnly 

gave it access to the biz.daich repo. Note that there is no such thing as Read Only Caloborator on the private repository. So daichReadOnly has write access.

Under this user created a CLASSIC TOKEN with read:packages only permissions and no expiration date

the result will be some token of the form 

ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXX

then run 

docker run jcansdale/gpr encode <THE TOKEN>

as result get something like 

-------------


<repository>

<id>github-biz.daich</id>

<url>https://public:&#103;hp_XXXXXXXXX@maven.pkg.github.com/BorisDaich/biz.daich</url>

</repository>


-------------


to put it in the <repositories> section of a POM.XML that need to pull in the packages


tested to work.

Thursday, July 20, 2023

CH340 setup on RPI 4 with Ubuntu 64bit

 CH340 setup on RPI 4 with Ubuntu 64bit 


based on : 

Remove the Brile for the blind - it will mess up work with COM port and CH340.
sudo apt remove -y brltty
(source https://askubuntu.com/questions/1403705/dev-ttyusb0-not-present-in-ubuntu-22-04)


source: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all


  • cd into the directory where the files are saved
  • make clean
  • make
  • sudo make load
  • sudo rmmod ch341 to uninstall the broken driver
  • lsmod | grep ch34 to list what modules are currently installed
  • Plug and unplug your CH340 device again on the USB port
  • dmesg
    • Expected output (should show "ch34x" now):
[  xxx] ch34x ttyUSB0: ch34x converter now disconnected from ttyUSB0
[  xxx] ch34x 3-2:1.0: device disconnected

Depending on your root permissions, you may need to configure the serial port with the following two commands. Make sure to adjust the $username with respect to the user ID that is currently logged in.

sudo usermod -a -G dialout $username 
sudo chmod a+rw /dev/ttyUSB0

Wednesday, July 19, 2023

cloning bootable SSD / HDD / NVME

 cloning bootable SSD / HDD / NVME  

* target disk - make it GPT 

* tool used AoMei Partition Assistan 10.1.0

* the system clone wizard does not work !


Use bootable USB tool to clone 4 usual windows 10 / 11 partitions one by one 

this way the partitions will keep it content type and status 

then 

* open command prompt 


diskpart the target disk

list volumes 

IMPORTANT - not partitions but volumes 

select volume X

 assign letter=N:

exit 

>N:

check the letter that the target system disk has  assuming C: but if D: does not matter

>bcdboot C:\windows /s N: /f UEFI


reboot 


* On Boot will give a boot options menu. 

* Usually first will work but - try other.

* when booted ok 

* run msconfig as Administrator 

* -> boot tab - delete the not working boot options. 

reboot


DONE


=====

when moving from MBR to GPT drive 

need to create a EFI partition - this one is exactly what works and takes few minutes https://www.tenforums.com/installation-upgrade/52837-moving-recreating-efi-partition.html#post698559

Can be done from any WinPE not only Windows install media

- Boot the computer using the Windows 7/8/8.1/10 installation media.
- On the first screen, press SHIFT+F10 to bring up the command prompt.
- Run the following commands at the command prompt.

diskpart
list disk
select disk # Note: Select the disk where you want to add the EFI System partition.
list partition
select partition # Note: Select the Windows OS partition (# number) or your data partition.
shrink desired=100
create partition efi size=100
format quick fs=fat32
assign letter=s

list partition
list volume Note: Note the volume letter where the Windows OS is installed.
exit

bcdboot X:\windows /s S:
Note: Replace "X" with the volume letter of the Windows OS partition.

BCDBoot copies the boot files from the Windows partition to the EFI System partition and creates the BCD store in the same partition.

Remove the Windows installation media and restart the computer into your BIOS settings and set the SSD as the First Boot Device.



Followers