When start some windows app, node for ex. you can see error like: – listen EACCES: permission denied 0.0.0.0:5555 netsh int ipv4 show dynamicport tcp verified that the range trampled commonly-used ports netsh int ipv4 set dynamic tcp start=10000 num=20000 to reset it to something else (Change default port range)
# delete local tag ‘12345’git tag -d 12345# delete remote tag ‘12345’ (eg, GitHub version too)git push origin :refs/tags/12345# alternative approachgit push –delete origin tagNamegit tag -d tagName
To disable the beep in bash you need to uncomment (or add if not already there) the line set bell-style none in your /etc/inputrc file.Note: Since it is a protected file you need to be a privileged user to edit it (i.e. launch your text editor with something like sudo <editor> /etc/inputrc). To disable the beep also in vim you need to add set visualbell in your ~/.vimrc file. …
wsl –shutdown diskpart # open window Diskpart select vdisk file=”C:\WSL-Distros\…\ext4.vhdx” attach vdisk readonly compact vdisk detach vdisk exit this issue
Open Powershell: Run Set-Location DriveLetter: where DriveLetter is the drive where WSL will be installed Then create a directory for WSL with New-Item WSL -Type Directory Now set location there with Set-Location .\WSL Now download the appx package with Invoke-WebRequest -Uri appx_package_url -OutFile Linux.appx -UseBasicParsing Now we will unpack appx with Copy-Item .\Linux.appx .\Linux2.appx and then Rename-Item .\Linux2.appx -Newname “Linux2.zip” and then Expand-Archive .\Linux2.zip Now Get-Childitem -Filter *.exe and …
For removing orphaned files from c:\windows\installer you can use PatchCleaner. There is two options: delete or move orphaned files to some directory.
lib /def:some.def /out:some.lib or in x64 lib /def:some.def /machine:x64 /out:some.lib
1. exports extract the functions and classes in *.dll by:$> dumpbin.exe /exports libsample.dll /out:libsample.def 2. function names edit libsample.def and remove everything except function names (keep C++ name mangling chars). then add EXPORTS as the first line. as: 3. make *.lib run this line depending on architecture:$> lib.exe /def:libsample.def /machine:arm /out:libsample.lib source