The best programming blog.

Covering a wide array of programming topics.

VMWare Fusion File not found error MAC M1

Error: File not found while installing VMWare Fusion on MAC M11 The solution is to delete all the following folders/files: ~/Applications/VMware Fusion Tech Preview ~/Applications/VMware Fusion ~/Applications/VMware ~/Library/Logs/VMware ~/Library/Logs/VMware/VMware Fusion Services.log ~/Library/Preferences/VMware ~/Library/Preferences/VMware Fusion ~/Library/Application Support/VMware Above, Library folder can be accessed via Finder > Macintosh HD > Library. Reinstall the VMWare Fusion again on…More

createSpyObj requires a non-empty array

Error while running ng test with karma: Problem: The problem could be that you are creating a spy object like this: or Solution is to pass the method names to your SpyObj constructor. Here is an example on how to dop that: Above, the second argument of the createSpyObj is the array of methods you…More

How to make a div with rounded corners

Using the CSS border-radius property, rounded edges can be added to divs. The border-radius attribute is used to provide an HTML element with rounded corners. Each corner’s degree of rounding can be independently set, or all corners can share the same value. The following is an illustration of how to make a div with rounded…More

MySQL alter column data type

The ALTER TABLE statement in MySQL can be used to change the data type of a column in an existing table. The following is the fundamental syntax for changing the data type of a column: Following is the query to alter the data type of an existing column in a table in MySQL You would…More