If you receive error on rebase in terminal like Run It can show error and after creating dir /run/user/1000 with previous command, this can be corrected with setting correct env var VSCODE_IPC_HOOK_CLI Link
Author Archives: admin
Remove noise when no audio on Linux
Disable power save for the audio device system-wide by running the command Make changes permanent How to Fix Static Noise Issue in Linux
Unable to Execute Windows Binary in from WSL when systemd enabled
Change content of /usr/lib/binfmt.d/WSLInterop.conf from :WSLInterop:M::MZ::/init:F to :WSLInterop:M::MZ::/init:PF and restart sudo systemctl restart systemd-binfmt Link
listen EACCES: permission denied 0.0.0.0
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)
How to delete a git tag locally and remote
# 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
Disable beep sound in WSL terminal on Windows
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. …
Continue reading “Disable beep sound in WSL terminal on Windows”
Compact (release disk space) from wsl vhd image
wsl –shutdown diskpart # open window Diskpart select vdisk file=”C:\WSL-Distros\…\ext4.vhdx” attach vdisk readonly compact vdisk detach vdisk exit this issue
PhpStorm (Idea) with Docker: BindException: Address already in use
Install WSL on non-C drive
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 …
Share files from Windows 10 to Ubuntu
https://itectec.com/ubuntu/ubuntu-access-windows-10-shared-folder-from-ubuntu-18-04/