how to clear win11 win+R history - history

how to delete the history when type "/" on win+R
delete regedit runMenu dont work

Related

How to run 'node' and 'npm' commands outside of the nodejs folder that was downloaded from nodejs.org

So, I installed node.js in a computer and saved the nodejs folder in program files folder.
However, I am not able to run an node or npm command in cmd unless the path I am in is either Program Files or in Program Files. How do I use the commands everywhere?
Thanks in advance!
Well, you need to add the directory to your Path environment variable.
Usually, nodejs does this for you during the installation but if you forgot to select that option, you can always add it manually:
Open the Start menu in Windows, type "env" and select "Edit the system environment variables", you end up on the "Advanced" tab of the System properties dialog. On this tab, you can see four buttons, the last of which says "Environment variables"
Click that button to open the environment variables dialog, in which you will see two panels, the upper being the variables for your current user, the lower one being the system-wide variables.
In both panels, you can find a variable named "Path". Select the one you want to edit (user-wide or system-wide) and click on "Edit".
In the Edit dialogue, you see a list of Windows paths currently in the "Path" variable. You'll want to click on "New", which creates a new entry and then click on "Find..." to open a window to let you select a folder on your system. There, find and select the folder you installed nodejs to, that is, the folder containing the "node.exe" executable as well as the "npm" and "npx" scripts.
Save everything, fire up a CMD or PowerShell and test by entering node --version
Alternatively, just re-install node and during the installation, watch out for a checkbox say something the likes of "Add installation folder to %PATH%".
If you use Windows.
From www.howtogeek.com:
The Windows System PATH tells your PC where it can find specific directories that contain executable files. ipconfig.exe, for example, is found in the C:\Windows\System32 directory, which is a part of the system PATH by default. When you type ipconfig into a Command Prompt, Windows doesn’t need to know where that EXE is–it’ll check all the folders in its PATH until it finds the right one.
So we have to add the path of the nodejs installation folder(which contains node.exe and npm.exe files) in the path environment variable.
So windows button on keyboard and search edit the system environment variables.
Open it and then in the System Variables settings search Path
Click edit and then insert in a new line:
C:\Program Files\nodejs\
Or where you have installed node.
(if you go in this dir you see the npm.cmd and node.exe files).
Restart.
Now try npm or node commands on cmd everywhere you want.

P4V / Helix -- Missing "Checkout and Open" for unsynced files

Before reinstalling P4V, I could right-click a file and go to Checkout and Open -- this would auto-sync the file, check it out and open it. Now however, I have to Get Latest Version before I have the option to Checkout and Open -- can I change this back to how it was somehow?

Vuforia Rajawali Android - How to build the gradle in git?

I'm new to VuforiaRajawali and I'm trying to build and run the example from the site. The problem is when I'm using the command:
C:/.../RajawaliVuforia/RajawaliVuforia/ ./gradlew clean assembleRelease uploadArchives
, I'm always getting the error task 'clean' not found in root project RajawaliVuforia.
If it's possible, please help!
Thanks!
I Guessed that You are using a windows
so
Try the following after installing Git
1- Create a new folder.
2- Enter the created folder then hold Shift Key+ Right click in an EMPTY AREA.
3- select "Open command window here" from the appearing context menu.
4- type or copy pasting the command "git clone https://github.com/Rajawali/RajawaliVuforia.git"
5- Press enter and wait while the git cloning Rajawali.
6- Right Click to (This PC) for windows 8 or above (Computer or My Computer)windows 7 and select Properties.
7- from the left panel select Advanced system settings.
8- from the popped up window click "Environment Variables..." at the bottom.
9- at the top of the new popped window under User variables for [user name]
click on New... and type in
variable name: "ANDROID_HOME".
variable value: [the full Path to android SDK]
10- go the the created folder you will found a folder with name "RajawaliVuforia"
Open it again you will found 3 folders and one has the same name "RajawaliVuforia" Open it and while press Shift Key Right click on an Empty Area and from the context menu select "Open command window here"
write or paste the command "gradlew clean assembleRelease uploadArchives" Press enter.
11- wait for the command to end Now you Are Done you can open the project using android studio

Macvim Nerdtree File Path Issue

I am using Macvim some how about a year ago I got Nerdtree working for file browsing.
When I save a file I get a error that says,
Error detected while processing function checksyntax#Check:
E344 Can't find directory "/Users/MyMac/NERD_tree_1" in cdpath
E472 Command failed
Then I go in to finder and check and the new file is there.
But it is not updated in my Nerdtree till I open a new instance of macvim.
Any Ideas how I can fix this? Or where to look?
I obviously need to update this file path,
Where can this be done at?
You can press r to refresh the current directory's listing or R to refresh the root directory's listing

Restoring VIM to default state

I'm really frustrated with getting going using VIM. I'm just trying to do some minor customizations to the vimrc file. I made some minor changes, but they didn't do what I had hoped. So, I went back in and removed the lines that I had added, reverting back to my original file. Now, I can't even get into VIM! When I type "vim filename.xxx" from the terminal, I just go right back to a command prompt. No error message, no file opens, nothing. It's as if I just hit the enter key.
I tried uninstalling and reinstalling VIM, but same results. Does anyone know what I can do to get VIM back to its original state? I'm using Ubuntu 11.
I would suggest first uninstalling but purging, reinstalling, and making sure your local user edits are removed.
Purge to remove the package config files: sudo apt-get purge vim.
Clean out any personalizations: rm -Rf ~/.vim ~/.vimrc ~/.viminfo.
Reinstall Vim again: sudo apt-get install vim.
Try removing the ~/.vimrc and ~/.viminfo files and the ~/.vim directory. These usually contain configuration information so getting rid of them should give you a fresh start

Resources