Git on Windows: How do you set up a mergetool?

To follow-up on Charles Bailey’s answer, here’s my git setup that’s using p4merge (free cross-platform 3way merge tool); tested on msys Git (Windows) install: git config –global merge.tool p4merge git config –global mergetool.p4merge.cmd ‘p4merge.exe \”$BASE\” \”$LOCAL\” \”$REMOTE\” \”$MERGED\”‘ or, from a windows cmd.exe shell, the second line becomes : git config –global mergetool.p4merge.cmd “p4merge.exe \”$BASE\” … Read more

How to delete files/subfolders in a specific directory at the command prompt in Windows

rmdir is my all time favorite command for the job. It works for deleting huge files and folders with subfolders. A backup is not created, so make sure that you have copied your files safely before running this command. RMDIR “FOLDERNAME” /S /Q This silently removes the folder and all files and subfolders.

Really killing a process in Windows

“End Process” on the Processes-Tab calls TerminateProcess which is the most ultimate way Windows knows to kill a process. If it doesn’t go away, it’s currently locked waiting on some kernel resource (probably a buggy driver) and there is nothing (short of a reboot) you could do to make the process go away. Have a … Read more

How to install OpenJDK 11 on Windows?

Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location. Set a PATH: Select Control Panel and then System. Click Advanced and then Environment Variables. Add the … Read more

How to recursively delete an entire directory with PowerShell 2.0?

Remove-Item -Recurse -Force some_dir does indeed work as advertised here. rm -r -fo some_dir are shorthand aliases that work too. As far as I understood it, the -Recurse parameter just doesn’t work correctly when you try deleting a filtered set of files recursively. For killing a single dir and everything below it seems to work … Read more

IIS Manager in Windows 10

Thanks to @SLaks comment above I was able to turn on IIS and bring the manager back. Press the Windows Key and type Windows Features, select the first entry Turn Windows Features On or Off. Make sure the box next to IIS is checked. If it is not checked, check it. This might take a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)