Skip to main content

Posts

Showing posts with the label Issues & Fixes

Git commands and errors

 The “ nothing added to commit but untracked files present ” error is raised when you create new files in your local working copy of a repository and forget to add them to the staging area before you pull a new version of the repository.   List All Branches To see local branches, run this command: git branch. To see remote branches, run this command: git branch -r. To see all local and remote branches, run this command: git branch -a.   To delete a local branch in Git, you simply run: git branch -d <branch-name> ... git branch -D <branch-name> ...  Show all your stashes You can show all your stashes with git stash list. Maybe you can write a script to show both git stash list   and git log and use it with an alias. STASH RELATED QUERIES  Q) How to discard the particular stash? Q) How to discard the particular files in the stash? Q) How to modify the particular files in the stash? Q) How to remove/delete the stash? Q) How to revert the stash? Q...

How To Fix “100% Disk Usage Issue On Windows 10 Or 11”

Brief The below mentioned approach solved "100% Disk Usage Issue On Windows 10 in my Sony VAIO" laptop. Reload The Search Index After Deleting It Windows Search Index is one of the most prevalent causes of high disc utilization. It is responsible for swiftly locating files and directories by analyzing the disc and converting it into an index. However, certain Windows 10 vulnerabilities might enable the search index to perform unlimited loops, forcing the disc to overflow. To fix this problem, go to Start and enter “Indexing.” Select I ndexing Options from the drop-down menu. Select Advanced from the drop-down menu. Then you have to select Rebuild . Choose OK when asked. This will wipe and reconstruct the index, perhaps resolving the factor that causes the hard drive to overheat. It, unfortunately, may just keep it from entering a ‘search loop’ for a short time, until Windows is restarted. Thankfully, there is a process of turning off the Windows Search Index completely. Refe...

How to Connect One Router to Another to Expand a Network? Two router configuration i.e. Primary Router and Secondary Router.

Brief Two router configuration i.e. Primary Router and Secondary Router. Below are the steps: Gather Your Equipment Identify the routers with which you will be working. Have a computer available to set up the routers. Have one Ethernet cable (also called "network cables") available for each device. Make sure you have enough power outlets available to plug in two routers, plus any additional devices. Unplug the power from both routers. Set Up Router 1 Run an Ethernet cable from the WAN port of Router 1 to the WAN/Internet port of the high-speed modem. Run an Ethernet cable from one of Router 1’s LAN ports to the computer’s Ethernet port. Turn on the modem and router. Open a web browser. Bring up the router’s admin interface in your web browser. Log in using the router admin username and password combo. Make sure that DHCP is enabled on Router 1. Test your network and internet connection. Remove the Ethernet cable between the Router 1 and the computer. ...

Headphone Jack Sound Problem (Worked For Me)

There are 5 ways. Try one by one and hope it will work for you too. For me ( Clean the headphone jack) worked. Make sure your headphones aren’t broken Check to see if the smartphone is connected to a different device via Bluetooth Clean the headphone jack Check audio settings and restart device Time to call the repairman Link https://www.androidauthority.com/headphone-jack-not-working-783743/

Kotlin Errors and Possible Solutions Part (1)

1)  Can anybody help me with this issue? Error: Could not find or load main class kotlin.function.MainFunctionKt Scenario: I have created below project structure. package name "kotlin.function" ClassName: MainFunction.kt Only One Method: fun main(args: Array<String>) { println("Hello") } Solution : 2) Error: Only kotlin standard library is allowed to use kotlin package. Solution: