You can run the following command to stop apache service in Ubuntu:More
The best programming blog.
Covering a wide array of programming topics.
Ubuntu Disable apache service to auto start on startup
Following is the command to disable apache service to autostart on start up: Output:More
How to list running services in Ubuntu
You can run the following command to list all the running services in Ubuntu: Output:More
Configure aws cloudwatch agent run at startup
You can run the following command in Ubuntu to make AWS Cloudwatch agent service auto start after the machine reboots: Output:More
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
Angular TestBed.get is deprecated
Warning: Solution: The solution is to use TestBed.inject instead of TestBed.get. Example: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
Angular Error: pipe paginate could not be found in component
If you are getting the following error while running ng test: The solution is to import NgxPaginationModule in your spec file of your component: The complete file will look like this:More