After installing cypress on windows if a user is getting the below error message to open cypress then need to perform step 1 and step 2 to resolve the cypress verification time out issue
Package.json is a file found in all npm packages and is normally found in the project root.
It contains various metadata about the project.
This file provides information to npm so that it can identify the project and handle its dependencies.
It can also contain other metadata, such as a project description, the project’s version.
A Node.js project’s package.json file is usually found in the root directory.
This example of package.json file used for writing code using cypress
{“devDependencies”: {“cypress”: “9.5.2”}}
What are devDependencies in the package.json file?
Dependencies are specified with a simple hash of package name to version range. The version range is a string that has one or more space-separated descriptions. Dependencies can also be identified with a tarball or gitUrl.
devDependencies: Packages that are only needed for local development and testing.
What is tarball?
The tarball is a compressed file format. You need to unpack it before running the npm command.
What is "dependencies" in package.json file?
"dependencies": Packages required by your application in production.
If you spend time on the internet and browse websites. Then this post will assist you in determining where you spend the majority of your productive time.
So to identify result like below follow the steps as mentioned
To analyze the google chrome history browser file here are the steps.
Step 4) Copy History File to any other Location you want
Step 5) Now open the history file in DBBrowser SQLite. By Clicking on Open Database menu and providing History file where you copied in step 4.
Run below Query in Execute SQL Tab
SELECT
SUBSTR(SUBSTR(url, INSTR(url, '//') + 2), 0, INSTR(SUBSTR(url, INSTR(url, '//') + 2), '/')) AS domain,
SUM(visit_count) AS total_visits
FROM urls
WHERE url LIKE 'http%'
GROUP BY domain
ORDER BY total_visits DESC;
By Executing the above query you will get results like how many times you are visiting a specific website.
Also we by using SQL Queries we are able to fetch the time invested on each website.
Once the Downloaded file is ready for example Git-2.34.1-64-bit.exe then double click on it.
Click on the Next button for General Public license Window
Select Destination Location folder where git has to install locally and Click on the Next button.
Click on the Next button
Click on the Next Button to select program shortcut.
Select any Default Editor option from the dropdown. (Whichever editor is available on the system) and Click on the Next button.
Click on the Next button and let git decide to use the default branch name.
Click next to adjust path environment (Keep recommended as it is)
Keep Default option selected for “Use Open bundled SSH”, “Use the open SSL Library” “Checkout Windows-style” Use MiniTty, and continue to click on the Next button unless you get the install button. Click on Install Button and wait for setup to complete.
Provide necessary information like new username (check for existence), Email Address, and Password
GitHub Will ask to verify the Account. After successful verification account will get created. The free account gives 500 MB space.
Note down your username and password.
Let’s create a simple project locally and upload it on github.
Create a Folder in any drive locally.
Here we are creating a folder in E Drive
E:\Github_C_Program
Open Visual Studio Code and using “File -> Select Folder” Menu select the folder which you created ( for example above we are selecting E:\Github_C_Program)
Click on New File and Add any html, java, php, c language code in that file and name is accordinly.
Here we have created c program file and added some code in the file
Now we need to upload the above C Project to Github. To perform that we need to
Initialize Repository
Commit Code
Config git (First Time)
Add Remote (Location)
Push Code to Git Hub
First time it will ask to provide GH login password
If require PUsh code again.
Click on Source Control and Click on Initialize Repository.
The system will display similar files which are available in the projects folder
Click on the Commit button (Richt Check Sign) and provide the necessary comment in the message section.
Click on Yes Button so that it will ask always before committing.
The system will throw an error message as git is not configured with VS Code.
In this situation click on Open Git Log button. An editor will display log information in Output Tab like below
To config studio with git permanently you need to run the below command on the Git Command prompt.
git config –global user.email “you@example.com”
git config –global user.name “Your Name”
Make sure to replace the correct email ID which you used while creating GitHub Account
Type Git CMD” in Search and open Git CMD Prompt. By replacing the appropriate email id and Name run the command one by one like below.
Now Go to Visual Studio Editor Again and click on commit again. If you observe code is committed successfully locally.
to Push it to Git Hub we need to create one Repository. To do this login to https://github.com/. We have already created a username and password in earlier steps. Click on the New Repository menu as shown below.
Provide Repository Name same as project Name like below
After Clicking on Create New Repository Button GitHub will display the below message.
Copy the Above highlighted line ( Make sure it should contain your project name and username) and past it on visual studio code terminal and press enter. like below
Now Visual Studio Code is now aware of where it has to push the code. So click on the menu mentioned below to push the code
The first time it will ask you user name and password again. You can provide it if asked.
To conclude after performing every step as mentioned as shown above it will be easy to configure Visual studio code with GitHub.